Browse Source

复查,移除老菜单代码和rrs订阅地图

tags/6.2.0
xushubieli 2 years ago
parent
commit
e08f3178f3
36 changed files with 65 additions and 581 deletions
  1. +1
    -1
      src/admin/css/frame.css
  2. +0
    -6
      src/admin/inc/inc_action_info.php
  3. +0
    -1
      src/admin/inc/inc_menu.php
  4. +0
    -1
      src/admin/inc/inc_menu_map.php
  5. +0
    -123
      src/admin/js/context_menu.js
  6. +0
    -1
      src/admin/js/contextmenu.css
  7. +0
    -25
      src/admin/js/list.js
  8. +0
    -12
      src/admin/makehtml_rss.php
  9. +0
    -25
      src/admin/makehtml_rss_action.php
  10. +5
    -5
      src/admin/templets/article_coonepage_rule.htm
  11. +1
    -108
      src/admin/templets/catalog_main.htm
  12. +11
    -12
      src/admin/templets/content_i_list.htm
  13. +3
    -4
      src/admin/templets/content_list.htm
  14. +4
    -25
      src/admin/templets/content_s_list.htm
  15. +16
    -17
      src/admin/templets/content_select_list.htm
  16. +3
    -29
      src/admin/templets/content_sg_list.htm
  17. +1
    -1
      src/admin/templets/file_edit.htm
  18. +0
    -62
      src/admin/templets/makehtml_rss.htm
  19. +1
    -1
      src/admin/templets/recycling.htm
  20. +1
    -1
      src/admin/templets/search_keywords_main.htm
  21. +1
    -1
      src/admin/templets/spec_add.htm
  22. +1
    -1
      src/admin/templets/spec_edit.htm
  23. +1
    -1
      src/admin/templets/stepselect_main.htm
  24. +1
    -1
      src/admin/templets/sys_safetest.htm
  25. +1
    -1
      src/admin/templets/tag_test.htm
  26. BIN
      src/static/web/img/mmenubg.gif
  27. BIN
      src/static/web/img/tree_page.gif
  28. BIN
      src/static/web/img/tree_part.gif
  29. +1
    -1
      src/system/datalistcp.class.php
  30. +1
    -1
      src/system/helpers/filter.helper.php
  31. +6
    -6
      src/system/typelink/typeunit.class.admin.php
  32. +4
    -19
      src/system/typelink/typeunit.class.menu.php
  33. +0
    -22
      src/theme/plus/rss.htm
  34. +0
    -34
      src/theme/plus/rssmap.htm
  35. +0
    -32
      src/theme/plus/sitemap.htm
  36. +1
    -1
      src/user/config.php

+ 1
- 1
src/admin/css/frame.css View File

@@ -1 +1 @@
*{margin:0;padding:0;letter-spacing:.4px;box-sizing:border-box}body{line-height:1.5;font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;overflow:hidden}body.hidemenu{background:none}a{text-decoration:none}ul{list-style:none}input[type="text"],input[type="password"]{padding:2px 4px;width:140px;height:18px;line-height:18px;font-size:12px;border-width:1px;border-style:solid;border-color:#fff;background:#fff;vertical-align:middle}input[type="text"]:focus,input[type="password"]:focus{box-shadow:none;outline:none}.head{width:100%;height:76px;overflow:hidden;z-index:8;position:relative}.top{height:46px;width:100%;background:linear-gradient(45deg,#008e38,#57960f 50%);overflow:hidden;clear:both}.top .top_logo{float:left;margin-left:30px;height:46px;line-height:46px}.top .top_logo a{font-size:18px;font-weight:600;color:#fff}.top .top_version{display:inline-block;margin-top:12px;margin-left:10px;color:#fff}.top .top_link{float:right;margin-right:30px}.top .top_link ul{float:left;line-height:46px;overflow:hidden}.top .top_link ul li.welcome img{margin-top:-2px;margin-right:10px;width:30px;height:30px;border-radius:50%;vertical-align:middle}.top .top_link ul li{float:left;color:#fff}.top .top_link ul li a{color:#fff;padding-left:20px}.top .top_link ul li a:hover{color:#ccc}.topnav{width:100%;height:30px;line-height:30px;background:#424b51;overflow:hidden;clear:both}.topnav .menuact{float:left;padding-left:30px;overflow:hidden}.topnav .menuact a{padding-right:10px;color:#eee;overflow:hidden}.topnav .menuact a:hover{color:#fff}.sysmsg{padding-right:30px;float:right;color:#999;overflow:hidden}.scroll{float:right;overflow:hidden}.scroll ul li,.sysmsg ul li a{color:#bbb}.scroll a{padding-left:10px;color:#fff}body.showmenu .left{display:block}body.hidemenu .left{display:none}body.showmenu .right{left:220px}body.hidemenu .right{left:0}.left{position:absolute;top:76px;width:220px;left:0;bottom:0;z-index:7}.menu{height:100%}.menu iframe{height:100%;width:99.99%;z-index:20}.right{position:absolute;right:0;top:76px;bottom:0;z-index:7}.main{height:100%}.main iframe{width:99.99%;height:100%;z-index:20}.qucikmenu{position:absolute;right:10px;top:32px;z-index:9;display:none}.qucikmenu ul{width:110px;list-style:none;border:1px solid #E7E7E7;background:#fff}.qucikmenu ul li{display:block;text-align:left}.qucikmenu ul li a{display:block;padding:0 10px;height:30px;line-height:30px;color:#424b51}.qucikmenu ul li a:hover{background:#f8f8f8}.pagemask{position:absolute;display:none;width:100%;height:100%;background:#424b51;opacity:.7;z-index:100}.iframemask{position:absolute;display:none;z-index:80;top:0;left:0;width:100%;height:100%;background:#fff;border:none;opacity:0}.allmenu{position:absolute;display:none;margin-left:-400px;padding:10px;width:800px;top:76px;left:50%;background:#fff;border-radius:.2rem;z-index:999}.allmenu .allmenu-box{margin:0 auto;text-align:left;overflow:hidden;padding-left:2px}.maptop{margin-left:-1px;padding-right:6px;padding-left:6px;float:left;width:130px;overflow:hidden}.maptop dt.bigitem{padding:6px 10px;line-height:18px;color:#fff;background:#424b51}.mapitem dt{line-height:30px;text-indent:10px;background:#EFF1F1}.mapitem ul{margin-top:10px;margin-bottom:10px}.mapitem ul li{text-indent:20px;line-height:24px;background:url(../../static/web/img/arrr.gif)0 8px no-repeat}.allmenu a{color:#5C604F}.allmenu a:hover{color:#F63}#login .theme{padding:10px;margin-top:20px;width:70%;clear:both}#login .theme li{margin-bottom:15px;margin-top:5px;overflow:hidden}#login .theme span{display:inline-block;float:left;width:150px;height:22px;line-height:22px;color:#424b51;text-align:right}.allsearch{float:left;margin-top:6px;border:1px solid #fff;border-radius:.2rem}.np{margin-top:6px;margin-left:10px;width:40px;height:18px;font-size:12px;color:#fff;background:#57960f;border-radius:.2rem;border:0;cursor:pointer}
*{margin:0;padding:0;letter-spacing:.4px;box-sizing:border-box}body{line-height:1.5;font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;overflow:hidden}body.hidemenu{background:none}a{text-decoration:none}ul{list-style:none}input[type="text"],input[type="password"]{padding:2px 4px;width:140px;height:18px;line-height:18px;font-size:12px;border-width:1px;border-style:solid;border-color:#fff;background:#fff;vertical-align:middle}input[type="text"]:focus,input[type="password"]:focus{box-shadow:none;outline:none}.head{width:100%;height:76px;overflow:hidden;z-index:8;position:relative}.top{height:46px;width:100%;background:linear-gradient(45deg,#008e38,#57960f 50%);overflow:hidden;clear:both}.top .top_logo{float:left;margin-left:30px;height:46px;line-height:46px}.top .top_logo a{font-size:18px;font-weight:600;color:#fff}.top .top_version{display:inline-block;margin-top:12px;margin-left:10px;color:#fff}.top .top_link{float:right;margin-right:30px}.top .top_link ul{float:left;line-height:46px;overflow:hidden}.top .top_link ul li.welcome img{margin-top:-2px;margin-right:10px;width:30px;height:30px;border-radius:50%;vertical-align:middle}.top .top_link ul li{float:left;color:#fff}.top .top_link ul li a{color:#fff;padding-left:20px}.top .top_link ul li a:hover{color:#ccc}.topnav{width:100%;height:30px;line-height:30px;background:#424b51;overflow:hidden;clear:both}.topnav .menuact{float:left;padding-left:30px;overflow:hidden}.topnav .menuact a{padding-right:10px;color:#eee;overflow:hidden}.topnav .menuact a:hover{color:#fff}.sysmsg{padding-right:30px;float:right;color:#999;overflow:hidden}.scroll{float:right;overflow:hidden}.scroll ul li,.sysmsg ul li a{color:#bbb}.scroll a{padding-left:10px;color:#fff}body.showmenu .left{display:block}body.hidemenu .left{display:none}body.showmenu .right{left:220px}body.hidemenu .right{left:0}.left{position:absolute;top:76px;width:220px;left:0;bottom:0;z-index:7}.menu{height:100%}.menu iframe{height:100%;width:99.99%;z-index:20}.right{position:absolute;right:0;top:76px;bottom:0;z-index:7}.main{height:100%}.main iframe{width:99.99%;height:100%;z-index:20}.qucikmenu{position:absolute;right:10px;top:32px;z-index:9;display:none}.qucikmenu ul{width:110px;list-style:none;border:1px solid #E7E7E7;background:#fff}.qucikmenu ul li{display:block;text-align:left}.qucikmenu ul li a{display:block;padding:0 10px;height:30px;line-height:30px;color:#424b51}.qucikmenu ul li a:hover{background:#f8f8f8}.pagemask{position:absolute;display:none;width:100%;height:100%;background:#424b51;opacity:.6;z-index:100}.iframemask{position:absolute;display:none;z-index:80;top:0;left:0;width:100%;height:100%;background:#fff;border:none;opacity:0}.allmenu{position:absolute;display:none;margin-left:-400px;padding:10px;width:800px;top:76px;left:50%;background:#fff;border-radius:.2rem;z-index:999}.allmenu .allmenu-box{margin:0 auto;text-align:left;overflow:hidden;padding-left:2px}.maptop{margin-left:-1px;padding-right:6px;padding-left:6px;float:left;width:130px;overflow:hidden}.maptop dt.bigitem{padding:6px 10px;line-height:18px;color:#fff;background:#424b51}.mapitem dt{line-height:30px;text-indent:10px;background:#EFF1F1}.mapitem ul{margin-top:10px;margin-bottom:10px}.mapitem ul li{text-indent:20px;line-height:24px;background:url(../../static/web/img/arrr.gif)0 8px no-repeat}.allmenu a{color:#424b51}.allmenu a:hover{color:#dc3545}#login .theme{padding:10px;margin-top:20px;width:70%;clear:both}#login .theme li{margin-bottom:15px;margin-top:5px;overflow:hidden}#login .theme span{display:inline-block;float:left;width:150px;height:22px;line-height:22px;color:#424b51;text-align:right}.allsearch{float:left;margin-top:6px;border:1px solid #fff;border-radius:.2rem}.np{margin-top:6px;margin-left:10px;width:40px;height:18px;font-size:12px;color:#fff;background:#57960f;border-radius:.2rem;border:0;cursor:pointer}

+ 0
- 6
src/admin/inc/inc_action_info.php View File

@@ -300,12 +300,6 @@ $actionSearch[7] = array(
'linkurl' => 'makehtml_spec.php'
),
5 => array(
'title' => '更新订阅',
'description' => '对全站的RSS进行更新',
'purview' => 'sys_MakeHtml',
'linkurl' => 'makehtml_rss.php'
),
6 => array(
'title' => '更新缓存',
'description' => '更新栏目缓存、更新枚举缓存、清理arclist调用缓存、清理过期会员访问历史、删除过期短信 ',
'purview' => 'sys_ArcBatch',


+ 0
- 1
src/admin/inc/inc_menu.php View File

@@ -107,7 +107,6 @@ $adminMenu1
<m:item name='更新文档' link='makehtml_archives.php' rank='sys_MakeHtml' target='main' />
<m:item name='更新标签' link='makehtml_taglist.php' rank='sys_MakeHtml' target='main' />
<m:item name='更新专题' link='makehtml_spec.php' rank='sys_MakeHtml' target='main' />
<m:item name='更新订阅' link='makehtml_rss.php' rank='sys_MakeHtml' target='main' />
<m:item name='更新缓存' link='sys_cache_up.php' rank='sys_ArcBatch' target='main' />
</m:top>
<m:top item='6_' name='会员管理' display='block' rank='member_List,member_Type'>


+ 0
- 1
src/admin/inc/inc_menu_map.php View File

@@ -69,7 +69,6 @@ $menusMain = "<m:top mapitem='1' item='1_' name='常用操作' display='block'>
<m:item name='更新文档' link='makehtml_archives.php' rank='sys_MakeHtml' target='main' />
<m:item name='更新标签' link='makehtml_taglist.php' rank='sys_MakeHtml' target='main' />
<m:item name='更新专题' link='makehtml_spec.php' rank='sys_MakeHtml' target='main' />
<m:item name='更新订阅' link='makehtml_rss.php' rank='sys_MakeHtml' target='main' />
<m:item name='更新缓存' link='sys_cache_up.php' rank='sys_ArcBatch' target='main' />
</m:top>
<m:top mapitem='5' item='6_' name='会员管理' display='block' rank='member_List,member_Type'>


+ 0
- 123
src/admin/js/context_menu.js View File

@@ -1,123 +0,0 @@
/**
*
* @version $Id: context_menu.js 1 22:28 2010年7月20日Z tianya $
* @package DedeBIZ.Administrator
* @copyright Copyright (c) 2022, DedeBIZ.COM
* @license https://www.dedebiz.com/license
* @link https://www.dedebiz.com
*/
var MenuWidth = 120;
var ItemHeight = 16;
var ItemNumber = 0;
function curNav() {
if (window.navigator.userAgent.indexOf("MSIE") >= 1) return 'IE';
else if (window.navigator.userAgent.indexOf("Firefox") >= 1) return 'FF';
else return 'OT';
}
function insertHtm(op, code, isStart) {
if (curNav() == 'IE') {
op.insertAdjacentHTML(isStart ? "beforeEnd" : "afterEnd", code);
} else {
var range = op.ownerDocument.createRange();
range.setStartBefore(op);
var fragment = range.createContextualFragment(code);
if (isStart) op.insertBefore(fragment, op.firstChild);
else op.appendChild(fragment);
}
}
ContextMenu.WebFX_PopUp = null;
ContextMenu.WbFX_PopUpcss = null;
ContextMenu.intializeContextMenu = function () {
insertHtm(document.body, '<iframe src="" scrolling="no" class="WebFX-ContextMenu" marginwidth="0" marginheight="0" frameborder="0" style="position:absolute;display:none;z-index:50000000;" id="WebFX_PopUp"></iframe>', true);
if (curNav() == 'IE') WebFX_PopUp = document.frames['WebFX_PopUp'];
else WebFX_PopUp = document.getElementById('WebFX_PopUp');
WebFX_PopUpcss = document.getElementById('WebFX_PopUp');
WebFX_PopUpcss.onfocus = function () { WebFX_PopUpcss.style.display = "inline" };
WebFX_PopUpcss.onblur = function () { WebFX_PopUpcss.style.display = "none" };
if (curNav() == 'IE') document.body.attachEvent("onmousedown", function () { WebFX_PopUpcss.style.display = "none" });
else document.addEventListener("onblur", function () { WebFX_PopUpcss.style.display = "none" }, false);
if (curNav() == 'IE') document.attachEvent("onblur", function () { WebFX_PopUpcss.style.display = "none" });
else document.addEventListener("onblur", function () { WebFX_PopUpcss.style.display = "none" }, false);
}
function ContextSeperator() { }
function ContextMenu() { }
ContextMenu.showPopup = function (x, y) {
WebFX_PopUpcss.style.display = "block"
}
ContextMenu.display = function (evt, popupoptions) {
var eobj, x, y;
eobj = evt ? evt : (window.event ? window.event : null);
if (curNav() == 'IE') {
x = eobj.x; y = eobj.y
} else {
x = eobj.pageX; y = eobj.pageY;
}
ContextMenu.populatePopup(popupoptions, window)
ContextMenu.showPopup(x, y);
ContextMenu.fixSize();
ContextMenu.fixPos(x, y);
eobj.cancelBubble = true;
eobj.returnValue = false;
}
//TODO
ContextMenu.getScrollTop = function () {
return document.body.scrollTop;
}
ContextMenu.getScrollLeft = function () {
return document.body.scrollLeft;
}
ContextMenu.fixPos = function (x, y) {
WebFX_PopUpcss.style.top = y + "px";
WebFX_PopUpcss.style.left = x + "px";
}
ContextMenu.fixSize = function () {
WebFX_PopUpcss.style.height = (ItemHeight * ItemNember + 20) + "px";
WebFX_PopUpcss.style.width = MenuWidth + "px";
ItemNember = 0;
}
ContextMenu.populatePopup = function (arr, win) {
var alen, i, tmpobj, doc, height, htmstr;
alen = arr.length;
ItemNember = alen;
if (curNav() == 'IE') doc = WebFX_PopUp.document;
else doc = WebFX_PopUp.contentWindow.document;
doc.body.innerHTML = '';
doc.open();
doc.write('<html><head><link rel="StyleSheet" href="js/contextmenu.css"></head><body></body></html>');
doc.close();
for (i = 0; i < alen; i++) {
if (arr[i].constructor == ContextItem) {
tmpobj = doc.createElement("DIV");
tmpobj.noWrap = true;
tmpobj.className = "WebFX-ContextMenu-Item";
if (arr[i].disabled) {
htmstr = '<span class="WebFX-ContextMenu-DisabledContainer">'
htmstr += arr[i].text + '</span>'
tmpobj.innerHTML = htmstr
tmpobj.className = "WebFX-ContextMenu-Disabled";
tmpobj.onmouseover = function () { this.className = "WebFX-ContextMenu-Disabled-Over" }
tmpobj.onmouseout = function () { this.className = "WebFX-ContextMenu-Disabled" }
} else {
tmpobj.innerHTML = arr[i].text;
tmpobj.onclick = (function (f) {
return function () {
win.WebFX_PopUpcss.style.display = 'none'
if (typeof (f) == "function") { f(); }
};
})(arr[i].action);
tmpobj.onmouseover = function () { this.className = "WebFX-ContextMenu-Over" }
tmpobj.onmouseout = function () { this.className = "WebFX-ContextMenu-Item" }
}
doc.body.appendChild(tmpobj);
} else {
doc.body.appendChild(doc.createElement("DIV")).className = "WebFX-ContextMenu-Separator";
}
}
doc.body.className = "WebFX-ContextMenu-Body";
doc.body.onselectstart = function () { return false; }
}
function ContextItem(str, fnc, disabled) {
this.text = str;
this.action = fnc;
this.disabled = disabled || false;
}

+ 0
- 1
src/admin/js/contextmenu.css View File

@@ -1 +0,0 @@
.WebFX-ContextMenu{border:0;width:10px}.WebFX-ContextMenu-Body{background-color:#EEFFEC;background-image:url(../../static/web/img/mmenubg.gif);margin:0;padding:1px;border:1px solid #E0E7C9}.WebFX-ContextMenu-Separator{font-size:0pt;border:1px dotted #E0E7C9;height:1px;overflow:hidden;margin:3px 1px 3px 1px}.WebFX-ContextMenu-Item{cursor:default;font:menu;font-size:12px;color:black !important;width:100%;padding:2px 20px 2px 16px}.WebFX-ContextMenu-Over{cursor:default;background-color:highlight;font:menu;font-size:12px;width:100%;padding:2px 20px 2px 16px;color:highlighttext}.WebFX-ContextMenu-Disabled{cursor:default;font:menu;width:100%;padding:2px 20px 2px 16px;color:graytext}.WebFX-ContextMenu-Disabled-Over{cursor:default;background-color:highlight;font:menu;width:100%;padding:2px 20px 2px 16px;color:graytext}.WebFX-ContextMenu-Disabled-Over .WebFX-ContextMenu-DisabledContainer{display:block;width:100%;vertical-align:center}.WebFX-ContextMenu-Disabled .WebFX-ContextMenu-DisabledContainer{display:block;background:GrayText;filter:chroma(color=#010101) dropshadow(color=ButtonHighlight,offx=1,offy=1);width:100%;vertical-align:center}

+ 0
- 25
src/admin/js/list.js View File

@@ -68,31 +68,6 @@ function QuickEdit(aid, e, obj)
LoadQuickDiv(e, 'archives_do.php?dopost=quickEdit&aid='+aid+'&rnd='+Math.random(), 'quickEdit', 'auto', '300px');
ChangeFullDiv('show');
}
//上下文菜单
function ShowMenu(evt,obj,aid,atitle)
{
var popupoptions
popupoptions = [
new ContextItem("浏览文档",function(){ viewArc(aid); }),
new ContextItem("编辑属性",function(){ QuickEdit(aid, evt, obj); }),
new ContextItem("编辑文档",function(){ editArc(aid); }),
new ContextSeperator(),
new ContextItem("更新HTML",function(){ updateArc(aid); }),
new ContextItem("审核文档",function(){ checkArc(aid); }),
new ContextItem("推荐文档",function(){ adArc(aid); }),
new ContextItem("删除文档",function(){ delArc(aid); }),
new ContextSeperator(),
new ContextItem("复制(C)",function(){ copyToClipboard(atitle); }),
new ContextItem("重载页面",function(){ location.reload(); }),
new ContextSeperator(),
new ContextItem("全部选择",function(){ selAll(); }),
new ContextItem("取消选择",function(){ noSelAll(); }),
new ContextSeperator(),
new ContextItem("关闭菜单",function(){})
]
ContextMenu.display(evt,popupoptions);
//location="catalog_main.php";
}
//获得选中文件的文件名
function getCheckboxItem()
{


+ 0
- 12
src/admin/makehtml_rss.php View File

@@ -1,12 +0,0 @@
<?php
/**
* 生成RSS地图
*
* @version $Id: makehtml_rss.php 1 11:17 2010年7月19日Z tianya $
* @package DedeBIZ.Administrator
* @copyright Copyright (c) 2022, DedeBIZ.COM
* @license https://www.dedebiz.com/license
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
include DedeInclude('templets/makehtml_rss.htm');

+ 0
- 25
src/admin/makehtml_rss_action.php View File

@@ -1,25 +0,0 @@
<?php
/**
* 生成Rss操作
*
* @version $Id: makehtml_rss.php 1 11:17 2010年7月19日Z tianya $
* @package DedeBIZ.Administrator
* @copyright Copyright (c) 2022, DedeBIZ.COM
* @license https://www.dedebiz.com/license
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_MakeHtml');
require_once(DEDEINC."/archive/rssview.class.php");
if (empty($tid)) $tid = 0;
if (empty($maxrecord)) $maxrecord = 50;
$row = $dsql->GetOne("SELECT id FROM `#@__arctype` WHERE id>'$tid' AND ispart<>2 ORDER BY id ASC LIMIT 0,1;");
if (!is_array($row)) {
echo "<link rel=\"stylesheet\" href=\"{$cfg_cmsurl}/static/web/css/bootstrap.min.css\"><style>.modal {position: static}</style>";
echo "<div class=\"alert alert-success\">完成所有文件更新</div>";
} else {
$rv = new RssView($row['id'], $maxrecord);
$rssurl = $rv->MakeRss(0);
$tid = $row['id'];
ShowMsg("成功更新".$rssurl.",继续执行任务", "makehtml_rss_action.php?tid=$tid&maxrecord=$maxrecord", 0, 100);
}

+ 5
- 5
src/admin/templets/article_coonepage_rule.htm View File

@@ -9,7 +9,7 @@
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src='js/main.js'></script>
<script src="js/main.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script>
function ShowAddNode() {
@@ -91,7 +91,7 @@
</head>
<body>
<table width="100%" cellpadding="2" align="center" cellspacing="1" class="table maintable mt-3 mb-3">
<tr bgcolor="#F3FAD3">
<tr bgcolor="#f8f8f8">
<td height="26" colspan="6">
<div style="float:left;padding-left:6px">单页采集规则管理:</div>
<div style="float:right;padding-right:10px"><a href='javascript:ShowAddNode();'
@@ -100,7 +100,7 @@
</td>
</tr>
<form name="form2">
<tr align="center" bgcolor="#F9FCEF" height="26">
<tr align="center" bgcolor="#F8FCF1" height="26">
<td width="8%">ID</td>
<td width="8%">选择</td>
<td width="20%">网址</td>
@@ -124,7 +124,7 @@
</td>
</tr>
{/dede:datalist}
<tr bgcolor="#F9FCEF">
<tr bgcolor="#F8FCF1">
<td height="26" colspan="6">
<a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a>
<a href="javascript:noSelAll()" class="btn btn-success btn-sm">取消</a>
@@ -132,7 +132,7 @@
</td>
</tr>
</form>
<tr align="right" bgcolor="#F3FAD3">
<tr align="right" bgcolor="#f8f8f8">
<td height="36" colspan="6" align="center">{dede:pagelist listsize='6'/}</td>
</tr>
</table>


+ 1
- 108
src/admin/templets/catalog_main.htm View File

@@ -8,7 +8,6 @@
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="js/global.js"></script>
<script src="js/context_menu.js"></script>
<script src="js/ieemu.js"></script>
<script src="js/dialog.js"></script>
<script src="../static/web/js/webajax.js"></script>
@@ -37,112 +36,6 @@
extendElementModel();
emulateAttachEvent();
}
//普通栏目
function CommonMenu(eobj, obj, tid, tname) {
var popupoptions
popupoptions = [
new ContextItem("增加内容", function() {
location = "catalog_do.php?cid=" + tid + "&dopost=addArchives";
}),
new ContextItem("管理内容", function() {
location = "catalog_do.php?cid=" + tid + "&dopost=listArchives";
}),
new ContextSeperator(),
new ContextItem("预览分类", function() {
window.open("<?php echo $cfg_phpurl; ?>/list.php?tid=" + tid);
}),
new ContextItem("更新HTML", function() {
location = "makehtml_list.php?cid=" + tid;
}),
new ContextItem("获取JS文件", function() {
location = "catalog_do.php?cid=" + tid + "&dopost=GetJs";
}),
new ContextSeperator(),
new ContextItem("增加子类", function() {
location = "catalog_add.php?id=" + tid;
}),
new ContextItem("修改栏目", function() {
location = "catalog_edit.php?id=" + tid;
}),
new ContextSeperator(),
new ContextItem("合并栏目", function() {
location = 'catalog_do.php?dopost=unitCatalog&typeid=' + tid
}),
new ContextItem("移动栏目", function() {
location = 'catalog_do.php?dopost=moveCatalog&typeid=' + tid
}),
new ContextItem("删除栏目", function() {
location = "catalog_del.php?id=" + tid + "&typeoldname=" + tname;
}),
new ContextSeperator(),
new ContextItem("向上排前一级", function() {
location = "catalog_do.php?cid=" + tid + "&dopost=upRank";
}),
new ContextItem("关闭菜单(C)", function() {})
]
ContextMenu.display(eobj, popupoptions)
}
//封面模板
function CommonMenuPart(eobj, obj, tid, tname) {
var popupoptions
popupoptions = [
new ContextItem("管理内容", function() {
location = "catalog_do.php?cid=" + tid + "&dopost=listArchives";
}),
new ContextSeperator(),
new ContextItem("预览分类", function() {
window.open("<?php echo $cfg_phpurl; ?>/list.php?tid=" + tid);
}),
new ContextItem("更新HTML", function() {
location = "makehtml_list.php?cid=" + tid;
}),
new ContextItem("获取JS文件", function() {
location = "catalog_do.php?cid=" + tid + "&dopost=GetJs";
}),
new ContextSeperator(),
new ContextItem("增加子类", function() {
location = "catalog_add.php?id=" + tid;
}),
new ContextItem("修改栏目", function() {
location = "catalog_edit.php?id=" + tid;
}),
new ContextSeperator(),
new ContextItem("移动栏目", function() {
location = 'catalog_move.php?job=movelist&typeid=' + tid
}),
new ContextItem("删除栏目", function() {
location = "catalog_del.php?id=" + tid + "&typeoldname=" + tname;
}),
new ContextSeperator(),
new ContextItem("向上排前一级", function() {
location = "catalog_do.php?cid=" + tid + "&dopost=upRank";
}),
new ContextItem("关闭菜单(C)", function() {})
]
ContextMenu.display(eobj, popupoptions)
}
//跳转栏目
function SingleMenu(eobj, obj, tid, tname) {
var popupoptions
popupoptions = [
new ContextItem("修改栏目", function() {
location = "catalog_edit.php?id=" + tid;
}),
new ContextSeperator(),
new ContextItem("移动栏目", function() {
location = 'catalog_move.php?job=movelist&typeid=' + tid
}),
new ContextItem("删除栏目", function() {
location = "catalog_del.php?id=" + tid + "&typeoldname=" + tname;
}),
new ContextSeperator(),
new ContextItem("向上排前一级", function() {
window.location = "catalog_do.php?cid=" + tid + "&dopost=upRank";
}),
new ContextItem("关闭菜单(C)", function() {})
]
ContextMenu.display(eobj, popupoptions)
}
</script>
<style>
td,
@@ -163,7 +56,7 @@
}
</style>
</head>
<body onLoad="ContextMenu.intializeContextMenu()">
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="maintable mt-3 mb-3">
<tr>
<td height="26" style="background:#f8f8f8;border: 1px solid #dee2e6">


+ 11
- 12
src/admin/templets/content_i_list.htm View File

@@ -12,10 +12,9 @@
<script src="js/main.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src="js/ieemu.js"></script>
<script src="js/context_menu.js"></script>
<script src="js/list.js"></script>
</head>
<body onLoad="ContextMenu.intializeContextMenu()">
<body>
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable mt-3 mb-3">
<tr>
<td>
@@ -48,13 +47,13 @@
</td>
<td width="270"><input type="text" name="keyword" placeholder="请输入关键词" value="{dede:global.keyword/}" style="width:260px"></td>
<td width="170">
<select name='orderby' style="width:160px">
<option value='id'>排序</option>
<option value='pubdate'>更新时间</option>
<option value='sortrank'>置顶权值</option>
<option value='click'>点击量</option>
<option value='scores'>评论积分</option>
<option value='lastpost'>最后评论</option>
<select name="orderby" style="width:160px">
<option value="id">排序</option>
<option value="pubdate">更新时间</option>
<option value="sortrank">置顶权值</option>
<option value="click">点击量</option>
<option value="scores">评论积分</option>
<option value="lastpost">最后评论</option>
</select>
</td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
@@ -66,7 +65,7 @@
</form>
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3">
<tr>
<td height="26" colspan="7" style="margin-left:10px;background:#f8f8f8">{dede:global.positionname/}文档列表(文章标题处右键进行常用操作)</td>
<td height="26" colspan="7" style="margin-left:10px;background:#f8f8f8">{dede:global.positionname/}文档列表</td>
</tr>
<tr align="center" bgcolor="#F8FCF1" height="26">
<td width="12%">文档图片</td>
@@ -83,11 +82,11 @@
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="ilist mb-3">
<tr>
<td width="12%" align="center" class="py-3"><img src="{dede:field.litpic function='CheckPic(@me)'/}" style="max-width:80px;max-height:60px"></td>
<td width="32%" class="pl-3">
<td width="32%" align="left" class="pl-3">
<p>
<input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np">
<i class="btn btn-sm fa fa-cogs" onClick="QuickEdit({dede:field.id/},event,this);" title="编辑属性" style="cursor:pointer"></i>
<a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives" oncontextmenu="ShowMenu(event,this,{dede:field.id/},'{dede:field.title function=" str_replace('\'', '' , @me)" /}')">{dede:field.title/}&nbsp;{dede:field.flag function='IsCommendArchives(@me)'/}</a>
<a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}&nbsp;{dede:field.flag function='IsCommendArchives(@me)'/}</a>
</p>
<span>时间:{dede:field.senddate function='GetDateTimeMk(@me)'/}</span>
</td>


+ 3
- 4
src/admin/templets/content_list.htm View File

@@ -11,11 +11,10 @@
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src="js/ieemu.js"></script>
<script src="js/context_menu.js"></script>
<script src="js/main.js"></script>
<script src="js/list.js"></script>
</head>
<body onLoad="ContextMenu.intializeContextMenu()">
<body>
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable mt-3 mb-3">
<tr>
<td>
@@ -73,7 +72,7 @@
<form name="form2">
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3">
<tr>
<td height="26" colspan="10" style="background:#f8f8f8">{dede:global.positionname/}文档列表(文章标题处右键进行常用操作)</td>
<td height="26" colspan="10" style="background:#f8f8f8">{dede:global.positionname/}文档列表</td>
</tr>
<tr align="center" bgcolor="#F8FCF1" height="26">
<td width="6%">ID</td>
@@ -91,7 +90,7 @@
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>{dede:field.id/}</td>
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np"></td>
<td align="left"><span id="arc{dede:field.id/}"><a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives" oncontextmenu="ShowMenu(event,this,{dede:field.id/},'{dede:field.title function="str_replace('\'','',@me)"/}')">{dede:field.title/}</a></span>{dede:field.flag function='IsCommendArchives(@me)'/}</td>
<td align="left"><span id="arc{dede:field.id/}"><a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}</a></span>{dede:field.flag function='IsCommendArchives(@me)'/}</td>
<td>{dede:field.senddate function='GetDateMk(@me)'/}</td>
<td><a href="content_list.php?cid={dede:field.typeid/}">{dede:field.typeid function='GetTypename(@me)'/}</a></td>
<td>{dede:field.click/}</td>


+ 4
- 25
src/admin/templets/content_s_list.htm View File

@@ -7,7 +7,6 @@
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="js/context_menu.js"></script>
<script src="js/ieemu.js"></script>
<script>
if (moz) {
@@ -43,26 +42,6 @@
if (aid == 0) aid = getOneItem();
location = "archives_do.php?qstr=" + qstr + "&aid=" + aid + "&dopost=delArchives";
}
//上下文菜单
function ShowMenu(evt, obj, aid, atitle) {
var eobj, popupoptions
popupoptions = [
new ContextItem("浏览文档", function () { viewArc(aid); }),
new ContextItem("编辑文档", function () { editArc(aid); }),
new ContextSeperator(),
new ContextItem("更新HTML", function () { updateArc(aid); }),
new ContextItem("审核文档", function () { checkArc(aid); }),
new ContextItem("推荐文档", function () { adArc(aid); }),
new ContextSeperator(),
new ContextItem("删除文档", function () { delArc(aid); }),
new ContextSeperator(),
new ContextItem("全部选择", function () { selAll(); }),
new ContextItem("取消选择", function () { noSelAll(); }),
new ContextSeperator(),
new ContextItem("关闭菜单", function () { })
]
ContextMenu.display(evt, popupoptions)
}
//获得选中文件的文件名
function getCheckboxItem() {
var allSel = "";
@@ -105,7 +84,7 @@
}
</script>
</head>
<body onLoad="ContextMenu.intializeContextMenu()">
<body>
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable mt-3 mb-3">
<tr>
<td>
@@ -139,7 +118,7 @@
</form>
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3">
<tr>
<td height="26" colspan="9" style="margin-left:10px;background:#f8f8f8">文章列表(文章标题处右键进行常用操作)</td>
<td height="26" colspan="9" style="margin-left:10px;background:#f8f8f8">文章列表</td>
</tr>
<form name="form2">
<tr align="center" bgcolor="#F8FCF1" height="26">
@@ -154,10 +133,10 @@
<td width="10%">属性</td>
</tr>
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';" height="26" oncontextmenu="ShowMenu(event,this,{dede:field.id/},'<?php echo urlencode($fields['title'])?>')">
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';" height="26">
<td>{dede:field.id/}</td>
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np"></td>
<td align="left"><a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives" oncontextmenu="ShowMenu(event,this,{dede:field.id/},'<?php echo urlencode($fields['title'])?>')">{dede:field.title/}</a></td>
<td align="left"><a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}</a></td>
<td><?php echo MyDate("Y-m-d H:i",$fields['senddate'])?></td>
<td>{dede:field.typeid function='GetTypename(@me)'/}</td>
<td>{dede:field.click/}</td>


+ 16
- 17
src/admin/templets/content_select_list.htm View File

@@ -53,7 +53,7 @@
<td height="26" colspan="9" background="../static/web/img/tbg.gif">文章列表</td>
</tr>
<form name="form2">
<tr align="center" bgcolor="#F9FCEF" height="26">
<tr align="center" bgcolor="#F8FCF1" height="26">
<td width="6%">ID</td>
<td width="4%">选择</td>
<td width="30%">文章标题</td>
@@ -65,11 +65,10 @@
<td width="13%">属性</td>
</tr>
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'}
<tr align='center'
onMouseOut="javascript:this.bgColor='#ffffff';" height="26">
<tr align="center" onMouseOut="javascript:this.bgColor='#ffffff';" height="26">
<td>{dede:field.id/}</td>
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np"></td>
<td align='left'><a href='archives_do.php?aid={dede:field.id/}&dopost=editArchives'>{dede:field.title/}</a></td>
<td align="left"><a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}</a></td>
<td>{dede:field.senddate function="GetDateMk(@me)" /}</td>
<td>{dede:field.typeid function='GetTypename(@me)'/}</td>
<td>{dede:field.click/}</td>
@@ -78,7 +77,7 @@
<td>{dede:field.flag function="IsCommendArchives(@me)" /}</td>
</tr>
{/dede:datalist}
<tr bgcolor="#F9FCEF">
<tr bgcolor="#F8FCF1">
<td height="26" colspan="9">
<a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a>
<a href="javascript:noSelAll()" class="btn btn-success btn-sm">取消</a>
@@ -86,27 +85,27 @@
</td>
</tr>
</form>
<tr align="right" bgcolor="#EEF4EA">
<tr align="right" bgcolor="#F8FCF1">
<td height="36" colspan="9" align="center">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
<table width='100%' align="center" cellpadding='1' cellspacing='1' bgcolor='#CBD8AC' class="table maintable table-borderless">
<table width="100%" align="center" cellpadding="1" cellspacing="1" class="table maintable table-borderless">
<tr>
<form name='form3' action='content_select_list.php' method='get'>
<input type='hidden' name='f' value='<?php echo $f?>'>
<form name="form3" action="content_select_list.php" method="get">
<input type="hidden" name="f" value="<?php echo $f?>">
<td>
<table width='600' cellpadding='0' cellspacing='0'>
<table width="600" cellpadding="0" cellspacing="0">
<tr>
<td width='260' align='center'>请选择类目:</td>
<td width='260'>
<select name='cid' style='width:160px'>
<option value='0'>选择分类</option>
<td width="260" align="center">请选择类目:</td>
<td width="170">
<select name="cid" style="width:160px">
<option value="0">选择分类</option>
<?php echo $optionarr?>
</select>
</td>
<td width='100'>关键词:</td>
<td width='260'><input type='text' name='keyword' value='<?php echo $keyword?>' style='width:160px'></td>
<td width='100'><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
<td width="90">关键词:</td>
<td width="170"><input type='text' name='keyword' value='<?php echo $keyword?>' style='width:160px'></td>
<td width="90"><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
</td>


+ 3
- 29
src/admin/templets/content_sg_list.htm View File

@@ -11,7 +11,6 @@
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src="js/ieemu.js"></script>
<script src="js/context_menu.js"></script>
<script src="js/main.js"></script>
<script>
if (moz) {
@@ -65,29 +64,6 @@
LoadQuickDiv(e, 'archives_do.php?dopost=moveArchives&qstr=' + qstr + '&channelid=' + cid + '&rnd=' + Math.random(), 'moveArchives', '450px', '180px');
ChangeFullDiv('show');
}
//上下文菜单
function ShowMenu(evt, obj, aid, atitle) {
var popupoptions
popupoptions = [
new ContextItem("浏览文档", function () { viewArc(aid); }),
new ContextItem("编辑文档", function () { editArc(aid); }),
new ContextSeperator(),
new ContextItem("更新HTML", function () { updateArc(aid); }),
new ContextItem("审核文档", function () { checkArc(aid); }),
new ContextItem("推荐文档", function () { adArc(aid); }),
new ContextItem("删除文档", function () { delArc(aid); }),
new ContextSeperator(),
new ContextItem("复制(C)", function () { copyToClipboard(atitle); }),
new ContextItem("重载页面", function () { location.reload(); }),
new ContextSeperator(),
new ContextItem("全部选择", function () { selAll(); }),
new ContextItem("取消选择", function () { noSelAll(); }),
new ContextSeperator(),
new ContextItem("关闭菜单", function () { })
]
ContextMenu.display(evt, popupoptions);
//location="catalog_main.php";
}
//获得选中文件的文件名
function getCheckboxItem() {
var allSel = "";
@@ -143,7 +119,7 @@
}
</script>
</head>
<body onLoad="ContextMenu.intializeContextMenu()">
<body>
<table width="98%" align="center" cellspacing="0" cellpadding="0" class="table maintable mt-3 mb-3">
<tr>
<td>
@@ -183,7 +159,7 @@
</form>
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3">
<tr>
<td height="26" colspan="9" background="../static/web/img/tbg.gif" style="padding-left:10px">{dede:global.positionname/}文档列表(文章标题处右键进行常用操作)</td>
<td height="26" colspan="9" background="../static/web/img/tbg.gif" style="padding-left:10px">{dede:global.positionname/}文档列表</td>
</tr>
<form name="form2">
<tr align="center" bgcolor="#F8FCF1" height="26">
@@ -201,9 +177,7 @@
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>{dede:field.id/}</td>
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.aid/}" class="np"></td>
<td align='left'>
<a href='archives_do.php?aid={dede:field.aid/}&dopost=editArchives' oncontextmenu="ShowMenu(event,this,{dede:field.aid/},'{dede:field.title function=" str_replace('\'', '' , @me)" /}')">{dede:field.title/}{dede:field.flag function='IsCommendArchives(@me)'/}</a>
</td>
<td align="left"><a href="archives_do.php?aid={dede:field.aid/}&dopost=editArchives">{dede:field.title/}{dede:field.flag function='IsCommendArchives(@me)'/}</a></td>
<td>{dede:field.senddate function='GetDateMk(@me)'/}</td>
<td>{dede:field.typename/}</td>
<td>{dede:field.arcrank function="GetRankName(@me)"/}</td>


+ 1
- 1
src/admin/templets/file_edit.htm View File

@@ -9,7 +9,7 @@
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src='js/main.js'></script>
<script src="js/main.js"></script>
<script>
function Post() {
if (document.form1.filename.value == "") {


+ 0
- 62
src/admin/templets/makehtml_rss.htm View File

@@ -1,62 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>更新订阅</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_rss_action.php" method="get" target='stafrm'>
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新订阅</td>
<td width="70%" align="right"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="260" height="26">单个类目最大记录数:</td>
<td><input name="maxrecord" type="text" id="maxrecord" value="50" style="width:60px"> 条</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
</td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" id="mtd">
<div id="mdv" style="width:100%;height:360px">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
</div>
</td>
</tr>
</table>
</body>
</html>

+ 1
- 1
src/admin/templets/recycling.htm View File

@@ -82,7 +82,7 @@
<td width="10%">操作</td>
</tr>
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
<tr align="center" onMouseOut="javascript:this.bgColor='#ffffff';" height="26" oncontextmenu="ShowMenu(event,this,{dede:field.id/},'{dede:field.title function='urlencode(@me)'/}')">
<tr align="center" onMouseOut="javascript:this.bgColor='#ffffff';" height="26">
<td>{dede:field.id/}</td>
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np"></td>
<td align="left"><a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}</a></td>


+ 1
- 1
src/admin/templets/search_keywords_main.htm View File

@@ -11,7 +11,7 @@
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="js/key.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src='js/main.js'></script>
<script src="js/main.js"></script>
<script>
var pageno = 1;
var totalrow = <?php echo $totalRow?>;


+ 1
- 1
src/admin/templets/spec_add.htm View File

@@ -15,7 +15,7 @@
<script src="../static/web/js/moment.min.js"></script>
<script src="../static/web/js/daterangepicker.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src='js/main.js'></script>
<script src="js/main.js"></script>
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<script src="../static/web/js/cropper.min.js"></script>
<script>


+ 1
- 1
src/admin/templets/spec_edit.htm View File

@@ -15,7 +15,7 @@
<script src="../static/web/js/moment.min.js"></script>
<script src="../static/web/js/daterangepicker.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src='js/main.js'></script>
<script src="js/main.js"></script>
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<script src="../static/web/js/cropper.min.js"></script>
<script>


+ 1
- 1
src/admin/templets/stepselect_main.htm View File

@@ -11,7 +11,7 @@
<script src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src='js/main.js'></script>
<script src="js/main.js"></script>
<script>
var loadhtml = "<center><img src='../static/web/img/loadinglit.gif' style='padding:30px' /></center>";
function updateItem(aid) {


+ 1
- 1
src/admin/templets/sys_safetest.htm View File

@@ -9,7 +9,7 @@
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="css/indexbody.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src='js/main.js'></script>
<script src="js/main.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script>
function LoadCtTest() {


+ 1
- 1
src/admin/templets/tag_test.htm View File

@@ -8,7 +8,7 @@
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src='js/main.js'></script>
<script src="js/main.js"></script>
<script>
function SelectTemplets(fname) {
var pos = GetWinPos(800, 600);


BIN
src/static/web/img/mmenubg.gif View File

Before After
Width: 200  |  Height: 400  |  Size: 9.5KB

BIN
src/static/web/img/tree_page.gif View File

Before After
Width: 12  |  Height: 13  |  Size: 134B

BIN
src/static/web/img/tree_part.gif View File

Before After
Width: 16  |  Height: 16  |  Size: 585B

+ 1
- 1
src/system/datalistcp.class.php View File

@@ -186,7 +186,7 @@ class DataListCP
$val = str_replace("flink", "fl*&k", $val);
$ra1 = array('javascript', 'vbscript', 'expression', 'applet', 'meta', 'xml', 'blink', 'link', 'style', 'script', 'embed', 'object', 'iframe', 'frame', 'frameset', 'ilayer', 'layer', 'bgsound', 'title', 'base');
$ra2 = array('onabort', 'onactivate', 'onafterprint', 'onafterupdate', 'onbeforeactivate', 'onbeforecopy', 'onbeforecut', 'onbeforedeactivate', 'onbeforeeditfocus', 'onbeforepaste', 'onbeforeprint', 'onbeforeunload', 'onbeforeupdate', 'onblur', 'onbounce', 'oncellchange', 'onchange', 'onclick', 'oncontextmenu', 'oncontrolselect', 'oncopy', 'oncut', 'ondataavailable', 'ondatasetchanged', 'ondatasetcomplete', 'ondblclick', 'ondeactivate', 'ondrag', 'ondragend', 'ondragenter', 'ondragleave', 'ondragover', 'ondragstart', 'ondrop', 'onerror', 'onerrorupdate', 'onfilterchange', 'onfinish', 'onfocus', 'onfocusin', 'onfocusout', 'onhelp', 'onkeydown', 'onkeypress', 'onkeyup', 'onlayoutcomplete', 'onload', 'onlosecapture', 'onmousedown', 'onmouseenter', 'onmouseleave', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onmousewheel', 'onmove', 'onmoveend', 'onmovestart', 'onpaste', 'onpropertychange', 'onreadystatechange', 'onreset', 'onresize', 'onresizeend', 'onresizestart', 'onrowenter', 'onrowexit', 'onrowsdelete', 'onrowsinserted', 'onscroll', 'onselect', 'onselectionchange', 'onselectstart', 'onstart', 'onstop', 'onsubmit', 'onunload');
$ra2 = array('onabort', 'onactivate', 'onafterprint', 'onafterupdate', 'onbeforeactivate', 'onbeforecopy', 'onbeforecut', 'onbeforedeactivate', 'onbeforeeditfocus', 'onbeforepaste', 'onbeforeprint', 'onbeforeunload', 'onbeforeupdate', 'onblur', 'onbounce', 'oncellchange', 'onchange', 'onclick', 'oncontrolselect', 'oncopy', 'oncut', 'ondataavailable', 'ondatasetchanged', 'ondatasetcomplete', 'ondblclick', 'ondeactivate', 'ondrag', 'ondragend', 'ondragenter', 'ondragleave', 'ondragover', 'ondragstart', 'ondrop', 'onerror', 'onerrorupdate', 'onfilterchange', 'onfinish', 'onfocus', 'onfocusin', 'onfocusout', 'onhelp', 'onkeydown', 'onkeypress', 'onkeyup', 'onlayoutcomplete', 'onload', 'onlosecapture', 'onmousedown', 'onmouseenter', 'onmouseleave', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onmousewheel', 'onmove', 'onmoveend', 'onmovestart', 'onpaste', 'onpropertychange', 'onreadystatechange', 'onreset', 'onresize', 'onresizeend', 'onresizestart', 'onrowenter', 'onrowexit', 'onrowsdelete', 'onrowsinserted', 'onscroll', 'onselect', 'onselectionchange', 'onselectstart', 'onstart', 'onstop', 'onsubmit', 'onunload');
$ra = array_merge($ra1, $ra2);
$found = true;
while ($found == true) {


+ 1
- 1
src/system/helpers/filter.helper.php View File

@@ -63,7 +63,7 @@ if (!function_exists('RemoveXSS')) {
$val = preg_replace('/(&#0{0,8}'.ord($search[$i]).';?)/', $search[$i], $val); //with a ;
}
$ra1 = array('javascript', 'vbscript', 'expression', 'applet', 'meta', 'xml', 'blink', 'link', 'style', 'script', 'embed', 'object', 'iframe', 'frame', 'frameset', 'ilayer', 'layer', 'bgsound', 'title', 'base');
$ra2 = array('onabort', 'onactivate', 'onafterprint', 'onafterupdate', 'onbeforeactivate', 'onbeforecopy', 'onbeforecut', 'onbeforedeactivate', 'onbeforeeditfocus', 'onbeforepaste', 'onbeforeprint', 'onbeforeunload', 'onbeforeupdate', 'onblur', 'onbounce', 'oncellchange', 'onchange', 'onclick', 'oncontextmenu', 'oncontrolselect', 'oncopy', 'oncut', 'ondataavailable', 'ondatasetchanged', 'ondatasetcomplete', 'ondblclick', 'ondeactivate', 'ondrag', 'ondragend', 'ondragenter', 'ondragleave', 'ondragover', 'ondragstart', 'ondrop', 'onerror', 'onerrorupdate', 'onfilterchange', 'onfinish', 'onfocus', 'onfocusin', 'onfocusout', 'onhelp', 'onkeydown', 'onkeypress', 'onkeyup', 'onlayoutcomplete', 'onload', 'onlosecapture', 'onmousedown', 'onmouseenter', 'onmouseleave', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onmousewheel', 'onmove', 'onmoveend', 'onmovestart', 'onpaste', 'onpropertychange', 'onreadystatechange', 'onreset', 'onresize', 'onresizeend', 'onresizestart', 'onrowenter', 'onrowexit', 'onrowsdelete', 'onrowsinserted', 'onscroll', 'onselect', 'onselectionchange', 'onselectstart', 'onstart', 'onstop', 'onsubmit', 'onunload');
$ra2 = array('onabort', 'onactivate', 'onafterprint', 'onafterupdate', 'onbeforeactivate', 'onbeforecopy', 'onbeforecut', 'onbeforedeactivate', 'onbeforeeditfocus', 'onbeforepaste', 'onbeforeprint', 'onbeforeunload', 'onbeforeupdate', 'onblur', 'onbounce', 'oncellchange', 'onchange', 'onclick', 'oncontrolselect', 'oncopy', 'oncut', 'ondataavailable', 'ondatasetchanged', 'ondatasetcomplete', 'ondblclick', 'ondeactivate', 'ondrag', 'ondragend', 'ondragenter', 'ondragleave', 'ondragover', 'ondragstart', 'ondrop', 'onerror', 'onerrorupdate', 'onfilterchange', 'onfinish', 'onfocus', 'onfocusin', 'onfocusout', 'onhelp', 'onkeydown', 'onkeypress', 'onkeyup', 'onlayoutcomplete', 'onload', 'onlosecapture', 'onmousedown', 'onmouseenter', 'onmouseleave', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onmousewheel', 'onmove', 'onmoveend', 'onmovestart', 'onpaste', 'onpropertychange', 'onreadystatechange', 'onreset', 'onresize', 'onresizeend', 'onresizestart', 'onrowenter', 'onrowexit', 'onrowsdelete', 'onrowsinserted', 'onscroll', 'onselect', 'onselectionchange', 'onselectstart', 'onstart', 'onstop', 'onsubmit', 'onunload');
$ra = array_merge($ra1, $ra2);
$found = true;
while ($found == true) {


+ 6
- 6
src/system/typelink/typeunit.class.admin.php View File

@@ -117,7 +117,7 @@ class TypeUnit
//普通列表
if ($ispart == 0) {
echo "<tr>";
echo "<td style='background:#F8FCF1;' class='bline'><table width='98%' cellspacing='0' cellpadding='0'><tr><td width='50%'><i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o' style='cursor:pointer'></i><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_do.php?cid=".$id."&dopost=listArchives' oncontextmenu=\"CommonMenu(event,this,$id,'".urlencode($typeName)."')\">{$nss}".$typeName."[ID:".$id."]</a>(文档:".$this->GetTotalArc($id).")<a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><i class='fa fa-pencil-square-o'></i></a>";
echo "<td style='background:#F8FCF1;' class='bline'><table width='98%' cellspacing='0' cellpadding='0'><tr><td width='50%'><i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o' style='cursor:pointer'></i><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_do.php?cid=".$id."&dopost=listArchives'>{$nss}".$typeName."[ID:".$id."]</a>(文档:".$this->GetTotalArc($id).")<a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><i class='fa fa-pencil-square-o'></i></a>";
echo "</td><td align='right'>";
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览'><i class='btn btn-sm fa fa-globe'></i></a>";
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' title='内容'><i class='btn btn-sm fa fa-list'></i></a>";
@@ -130,7 +130,7 @@ class TypeUnit
//带封面的频道
else if ($ispart == 1) {
echo "<tr>";
echo "<td style='background:#F8FCF1;' class='bline'><table width='98%' cellspacing='0' cellpadding='0'><tr><td width='50%'><i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o' style='cursor:pointer'></i><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_do.php?cid=".$id."&dopost=listArchives' oncontextmenu=\"CommonMenuPart(event,this,$id,'".urlencode($typeName)."')\">{$nss}".$typeName."[ID:".$id."]</a> <a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><i class='fa fa-pencil-square-o'></i></a>";
echo "<td style='background:#F8FCF1;' class='bline'><table width='98%' cellspacing='0' cellpadding='0'><tr><td width='50%'><i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o' style='cursor:pointer'></i><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_do.php?cid=".$id."&dopost=listArchives'>{$nss}".$typeName."[ID:".$id."]</a> <a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><i class='fa fa-pencil-square-o'></i></a>";
echo "</td><td align='right'>";
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览'><i class='btn btn-sm fa fa-globe'></i></a>";
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' title='内容'><i class='btn btn-sm fa fa-list'></i></a>";
@@ -143,7 +143,7 @@ class TypeUnit
//独立页面
else if ($ispart == 2) {
echo "<tr height='26' bgcolor='#F8FCF1'>";
echo "<td class='bline2'><table width='98%' cellspacing='0' cellpadding='0'><tr><td width='50%'><i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o' style='cursor:pointer'></i><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_edit.php?id=".$id."' oncontextmenu=\"SingleMenu(event,this,$id,'".urlencode($typeName)."')\">{$nss}".$typeName."[ID:".$id."]</a><a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><i class='fa fa-pencil-square-o'></i></a>";
echo "<td class='bline2'><table width='98%' cellspacing='0' cellpadding='0'><tr><td width='50%'><i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o' style='cursor:pointer'></i><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_edit.php?id=".$id."'>{$nss}".$typeName."[ID:".$id."]</a><a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><i class='fa fa-pencil-square-o'></i></a>";
echo "</td><td align='right'>";
echo "<a href='{$typeDir}' target='_blank' title='预览'><i class='btn btn-sm fa fa-globe'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' title='修改'><i class='btn btn-sm fa fa-pencil-square-o'></i></a>";
@@ -198,7 +198,7 @@ class TypeUnit
}
//普通列表
if ($ispart == 0) {
echo "<tr height='26' oncontextmenu=\"CommonMenu(event,this,$id,'".urlencode($typeName)."')\">";
echo "<tr height='26'>";
echo "<td class='nbline'>";
echo "<table width='98%' cellspacing='0' cellpadding='0'>";
echo "<tr onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"><td width='50%'>";
@@ -214,7 +214,7 @@ class TypeUnit
}
//封面频道
else if ($ispart == 1) {
echo "<tr height='26' oncontextmenu=\"CommonMenu(event,this,$id,'".urlencode($typeName)."')\">";
echo "<tr height='26'>";
echo "<td class='nbline'><table width='98%' cellspacing='0' cellpadding='0'><tr onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"><td width='50%'>";
echo "$step<i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o' style='cursor:pointer'></i><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_do.php?cid=".$id."&dopost=listArchives'>{$nss}".$typeName."[ID:".$id."]</a><a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><i class='fa fa-pencil-square-o'></i></a>";
echo "</td><td align='right'>";
@@ -228,7 +228,7 @@ class TypeUnit
}
//独立页面
else if ($ispart == 2) {
echo "<tr height='26' oncontextmenu=\"SingleMenu(event,this,$id,'".urlencode($typeName)."')\">";
echo "<tr height='26'>";
echo "<td class='bline2'><table width='98%' cellspacing='0' cellpadding='0'>";
echo "<tr onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"><td width='50%'>";
echo "$step<i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o' style='cursor:pointer'></i><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_do.php?cid=".$id."&dopost=listArchives'>{$nss}".$typeName."[ID:".$id."]</a><a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><i class='fa fa-pencil-square-o'></i></a>";


+ 4
- 19
src/system/typelink/typeunit.class.menu.php View File

@@ -22,7 +22,6 @@ class TypeUnit
var $dsql;
var $aChannels;
var $isAdminAll;
//php5构造函数
function __construct($catlogs = '')
{
@@ -94,21 +93,16 @@ class TypeUnit
$channeltype = $row->channeltype;
//普通栏目
if ($ispart == 0) {
$smenu = " oncontextmenu=\"CommonMenu(event,this,$id,'".urlencode($typeName)."')\"";
}
//封面频道
else if ($ispart == 1) {
$smenu = " oncontextmenu=\"CommonMenuPart(event,this,$id,'".urlencode($typeName)."')\"";
}
//独立页面
//else if($ispart==2)
//{
//$smenu = " oncontextmenu=\"SingleMenu(event,this,$id,'".urlencode($typeName)."')\"";
//}
else if($ispart==2) {
}
//跳转网址
else {
continue;
$smenu = " oncontextmenu=\"JumpMenu(event,this,$id,'".urlencode($typeName)."')\" ";
}
echo "<dl class='topcc'>\r\n";
echo "<dd class='dlf'><img style='cursor:pointer' onClick=\"LoadSuns('suns{$id}',{$id});\" src='/static/web/img/tree_explode.gif'></dd>\r\n";
@@ -156,25 +150,16 @@ class TypeUnit
if (in_array($id, $this->aChannels) || $needcheck === false || $this->isAdminAll === true) {
//普通列表
if ($ispart == 0 || empty($ispart)) {
$smenu = " oncontextmenu=\"CommonMenu(event,this,$id,'".urlencode($typeName)."')\"";
$timg = " <img src='images/tree_page.gif'>";
}
//封面频道
else if ($ispart == 1) {
$smenu = " oncontextmenu=\"CommonMenuPart(event,this,$id,'".urlencode($typeName)."')\"";
$timg = " <img src='/static/web/img/tree_part.gif'>";
}
//独立页面
//else if($ispart==2)
//{
//$timg = " <img src='/static/web/img/tree_page.gif'>";
//$smenu = " oncontextmenu=\"SingleMenu(event,this,$id,'".urlencode($typeName)."')\" ";
//}
else if($ispart==2) {
}
//跳转网址
else {
continue;
$timg = " <img src='/static/web/img/tree_page.gif'>";
$smenu = " oncontextmenu=\"JumpMenu(event,this,$id,'".urlencode($typeName)."')\" ";
}
echo "<table class='sunlist'>\r\n";
echo "<tr>\r\n";


+ 0
- 22
src/theme/plus/rss.htm View File

@@ -1,22 +0,0 @@
<?xml version="1.0" encoding="{dede:global.cfg_soft_lang /}" ?>
<rss version="2.0">
<channel>
<title>{dede:field name='typename'/}</title>
<link>{dede:field name='typelink'/}</link>
<description>{dede:field name='title' function='html2text(@me)'/}</description>
<language>zh-cn</language>
<generator><![CDATA[{dede:field name='powerby'/}]]></generator>
<webmaster>{dede:field name='adminemail'/}</webmaster>
{dede:rssitem}
<item>
<title><![CDATA[[field:title/]]]></title>
<link>[field:fullurl/]</link>
<description><![CDATA[[field:description function='html2text(@me)'/]]]></description>
<pubDate>[field:stime/]</pubDate>
<category>[field:typename/]</category>
<author>[field:writer/]</author>
<comments>[field:source/]</comments>
</item>
{/dede:rssitem}
</channel>
</rss>

+ 0
- 34
src/theme/plus/rssmap.htm View File

@@ -1,34 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="{dede:global name='cfg_soft_lang'/}">
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<title>{dede:global name='cfg_webname'/}-RSS订阅地图</title>
<link href="{dede:global name='cfg_templets_skin'/}/style/dedecms.css" rel="stylesheet" media="screen">
</head>
<body class="mapspage">
<div class="header">
<div class="top w960 center">
<div class="title">
<h1><a href="{dede:global name='cfg_basehost'/}"><img src="{dede:global name='cfg_templets_skin'/}/images/logo.gif"></a></h1>
</div>
</div>
</div>
<div class="w960 clear center mt1">
<div class="sp-title">
<h2>RSS地图</h2>
<span class="more"><a href="{dede:global name='cfg_basehost'/}">返回首页</a></span>
</div>
<div class="linkbox">
{dede:global name='maplist'/}
</div>
</div>
<div class="footer w960 center mt1 clear">
<div class="footer_body">
<p class="powered">
{dede:global.cfg_powerby/} {dede:global.cfg_beian/} Powered by <a href="https://www.dedebiz.com" title="DedeBIZ内容管理系统-国内流行的内容管理系统多端全媒体解决方案" target="_blank">DedeBIZ{dede:global.cfg_version/}</a>
</p>
</div>
</div>
</body>
</html>

+ 0
- 32
src/theme/plus/sitemap.htm View File

@@ -1,32 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="{dede:global name='cfg_soft_lang'/}">
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<title>{dede:global name='cfg_webname'/}-网站地图</title>
<link href="{dede:global name='cfg_templets_skin'/}/style/dedecms.css" rel="stylesheet" media="screen">
</head>
<body class="mapspage">
<div class="header">
<div class="top w960 center">
<div class="title">
<h1><a href="{dede:global name='cfg_basehost'/}"><img src="{dede:global name='cfg_templets_skin'/}/images/logo.gif"></a></h1>
</div>
</div>
</div>
<div class="w960 clear center mt1">
<div class="sp-title">
<h2>网站地图</h2>
<span class="more"><a href="{dede:global name='cfg_basehost'/}">返回首页</a></span>
</div>
{dede:global name='maplist'/}
</div>
<div class="footer w960 center mt1 clear">
<div class="footer_body">
<p class="powered">
{dede:global.cfg_powerby/} {dede:global.cfg_beian/} Powered by <a href="https://www.dedebiz.com" title="DedeBIZ内容管理系统-国内流行的内容管理系统多端全媒体解决方案" target="_blank">DedeBIZ{dede:global.cfg_version/}</a>
</p>
</div>
</div>
</body>
</html>

+ 1
- 1
src/user/config.php View File

@@ -35,7 +35,7 @@ function XSSClean($val)
$val = str_replace("(", "(", $val);
$val = str_replace(")", ")", $val);
$ra1 = array('javascript', 'vbscript', 'expression', 'applet', 'meta', 'xml', 'blink', 'link', 'style', 'script', 'embed', 'object', 'iframe', 'frame', 'frameset', 'ilayer', 'layer', 'bgsound', 'title', 'base');
$ra2 = array('onabort', 'onactivate', 'onafterprint', 'onafterupdate', 'onbeforeactivate', 'onbeforecopy', 'onbeforecut', 'onbeforedeactivate', 'onbeforeeditfocus', 'onbeforepaste', 'onbeforeprint', 'onbeforeunload', 'onbeforeupdate', 'onblur', 'onbounce', 'oncellchange', 'onchange', 'onclick', 'oncontextmenu', 'oncontrolselect', 'oncopy', 'oncut', 'ondataavailable', 'ondatasetchanged', 'ondatasetcomplete', 'ondblclick', 'ondeactivate', 'ondrag', 'ondragend', 'ondragenter', 'ondragleave', 'ondragover', 'ondragstart', 'ondrop', 'onerror', 'onerrorupdate', 'onfilterchange', 'onfinish', 'onfocus', 'onfocusin', 'onfocusout', 'onhelp', 'onkeydown', 'onkeypress', 'onkeyup', 'onlayoutcomplete', 'onload', 'onlosecapture', 'onmousedown', 'onmouseenter', 'onmouseleave', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onmousewheel', 'onmove', 'onmoveend', 'onmovestart', 'onpaste', 'onpropertychange', 'onreadystatechange', 'onreset', 'onresize', 'onresizeend', 'onresizestart', 'onrowenter', 'onrowexit', 'onrowsdelete', 'onrowsinserted', 'onscroll', 'onselect', 'onselectionchange', 'onselectstart', 'onstart', 'onstop', 'onsubmit', 'onunload');
$ra2 = array('onabort', 'onactivate', 'onafterprint', 'onafterupdate', 'onbeforeactivate', 'onbeforecopy', 'onbeforecut', 'onbeforedeactivate', 'onbeforeeditfocus', 'onbeforepaste', 'onbeforeprint', 'onbeforeunload', 'onbeforeupdate', 'onblur', 'onbounce', 'oncellchange', 'onchange', 'onclick', 'oncontrolselect', 'oncopy', 'oncut', 'ondataavailable', 'ondatasetchanged', 'ondatasetcomplete', 'ondblclick', 'ondeactivate', 'ondrag', 'ondragend', 'ondragenter', 'ondragleave', 'ondragover', 'ondragstart', 'ondrop', 'onerror', 'onerrorupdate', 'onfilterchange', 'onfinish', 'onfocus', 'onfocusin', 'onfocusout', 'onhelp', 'onkeydown', 'onkeypress', 'onkeyup', 'onlayoutcomplete', 'onload', 'onlosecapture', 'onmousedown', 'onmouseenter', 'onmouseleave', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onmousewheel', 'onmove', 'onmoveend', 'onmovestart', 'onpaste', 'onpropertychange', 'onreadystatechange', 'onreset', 'onresize', 'onresizeend', 'onresizestart', 'onrowenter', 'onrowexit', 'onrowsdelete', 'onrowsinserted', 'onscroll', 'onselect', 'onselectionchange', 'onselectstart', 'onstart', 'onstop', 'onsubmit', 'onunload');
$ra = array_merge($ra1, $ra2);
$found = true;
while ($found == true) {


Loading…
Cancel
Save