@@ -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,a:hover{text-decoration:none}ul,li{list-style:none}input[type=text]{padding:.2rem;width:140px;height:20px;line-height:20px;font-size:12px;border-width:1px;border-style:solid;border-color:#fff;background:#fff;vertical-align:middle}input[type=text]:focus{box-shadow:none;outline:none}.head{position:relative;width:100%;height:90px;overflow:hidden;z-index:8}.top{width:100%;height:50px;background:linear-gradient(45deg,#008e38,#57960f 50%);overflow:hidden;clear:both}.top .top_logo{float:left;margin-left:30px}.top .top_dedebiz a{float:left;height:50px;line-height:50px;font-size:18px;font-weight:600;color:#fff}.top .top_version{float:left;margin-top:16px;margin-left:10px;color:#fff}.top .btn-primary{float:left;margin-top:14px;margin-left:10px;padding:2px;line-height:12px;font-size:12px;color:#fff}.top .btn-warning{float:left;margin-top:14px;margin-left:10px;padding:2px;line-height:12px;font-size:12px;color:#fff}.top .top_link{float:right;height:50px;line-height:50px;margin-right:30px}.top .top_link ul li.welcome img{margin-right:10px;width:30px;height:30px;border-radius:50%;vertical-align:middle}.top .top_link ul li{float:left}.top .top_link ul li a{padding-left:20px;color:#fff}.top .top_link ul li a:hover{color:#dee2e6}.topnav{width:100%;height:40px;line-height:40px;background:#424b51;overflow:hidden}.topnav .menuact{float:left;padding-left:30px;overflow:hidden}.topnav .menuact a{padding-right:10px;color:#dee2e6}.topnav .menuact a:hover{color:#fff}.sysmsg{float:right;padding-right:30px;overflow:hidden}.scroll a{padding-left:10px;color:#dee2e6}body.showmenu .left{display:block}body.hidemenu .left{display:none}body.showmenu .right{left:230px}body.hidemenu .right{left:0}.left{position:absolute;top:90px;width:230px;left:0;bottom:0;z-index:7}.menu{height:100%}.menu iframe{width:100%;height:100%;z-index:20}.right{position:absolute;right:0;top:90px;bottom:0;z-index:7}.main{height:100%}.main iframe{width:100%;height:100%;z-index:20}.qucikmenu{position:absolute;right:10px;top:30px;z-index:9;display:none}.qucikmenu ul{width:110px;background:#fff;border:1px solid #e6e6e6}.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:#cdcdcd;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:90px;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{line-height:26px;text-indent:20px;background:url(../../static/web/img/arrr.gif)0 8px no-repeat}.allmenu a{color:#424b51}.allmenu a:hover{color:#dc3545}#login .theme{margin-top:20px;padding:10px;width:70%;clear:both}#login .theme li{margin:10px 0;overflow:hidden}#login .theme span{display:inline-block;float:left;width:150px;line-height:26px;color:#424b51;text-align:right}.allsearch{border:1px solid #fff;border-radius:.2rem}.search{margin-left:10px;width:40px;height:20px;line-height:20px;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}body.showmenu .body-left{display:block}body.hidemenu .body-left{display:none}body.showmenu .body-right{left:250px;transition:all .2s}body.hidemenu .body-right{left:0;transition:all .2s}a,a:hover{text-decoration:none}ul,li{list-style:none}input[type=text]{padding:.2rem;width:140px;height:26px;line-height:26px;font-size:12px;background:#fff;border:0;border-radius:.2rem;vertical-align:middle}input[type=text]:focus{box-shadow:none;outline:none}.body-left{position:absolute;top:60px;width:250px;left:0;bottom:0;z-index:7}.body-right{position:absolute;right:0;top:60px;bottom:0;z-index:7}.main{height:100%}.main iframe{width:100%;height:100%;z-index:20}.menu{height:100%}.menu iframe{width:100%;height:100%;z-index:20}.head{position:relative;width:100%;height:60px;overflow:hidden;z-index:8}.top{width:100%;height:60px;background:linear-gradient(45deg,#008e38,#57960f 50%);box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075)}.top .top-logo{float:left;width:220px;margin-left:30px}.top .top-dedebiz a{float:left;height:60px;line-height:60px;font-size:18px;color:#fff;font-weight:600}.top .top-version a{float:left;height:60px;line-height:60px;font-size:18px;font-weight:600;color:#fff}.top .top-version{float:left;margin-top:20px;margin-left:10px;color:#fff}.top .btn-primary{float:left;margin-top:18px;margin-left:10px;padding:2px;line-height:12px;font-size:12px;color:#fff}.top .btn-warning{float:left;margin-top:18px;margin-left:10px;padding:2px;line-height:12px;font-size:12px;color:#fff}.top .top-item ul li{float:left;padding-left:20px;height:60px;line-height:60px}.top .top-item ul li a{color:#fff}.top .top-item ul li a:hover{color:#dee2e6}.search{margin-left:-20px;height:20px;line-height:20px;font-size:12px;color:#424b51;background:0;border-radius:.2rem;border:0;cursor:pointer}.top .top-admin{float:right;height:60px;line-height:60px;margin-right:30px}.top .top-admin img{margin-right:10px;width:30px;height:30px;border-radius:50%;vertical-align:middle}.top .top-admin ul li{float:left;padding-left:20px;height:60px;line-height:60px}.top .top-admin ul li a{color:#fff}.top .top-admin ul li a:hover{color:#dee2e6}.menu-box{margin:0;padding:0 6px;background:#f8f8f8;overflow:scroll;overflow-x:hidden}.menu-left{padding-top:1rem}.menu-right{width:100%;background:#fff;box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075);border-radius:0 0 .2rem .2rem}a.menu-item div{margin-bottom:6px;padding:6px 0;width:50px;color:#424b51;background:#fff;box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075);border-radius:.2rem 0 0 .2rem;cursor:pointer;text-align:center;transition:all .2s}a.menu-item:hover div{color:#fff;background:#424b51}a.menu-active div{margin-bottom:6px;padding:6px 0;width:50px;color:#fff;background:#424b51;box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075);border-radius:.2rem 0 0 .2rem;text-align:center}dl.bitem{margin:1rem 0 10px 0;padding:0 10px}dl.bitem dt{margin-bottom:10px;padding-left:10px;height:28px;line-height:28px;background:#f8f8f8;border-radius:.2rem;cursor:pointer}dl.bitem dt b{color:#424b51}.sitemu li{padding:0 0 0 24px;display:block;height:26px;line-height:26px}.fllct{float:left}.flrct{float:right}.fa-minus-circle{color:#dc3545}.fa-plus-circle{color:#28a745} |
@@ -135,11 +135,11 @@ if (version_compare(PHP_VERSION, '5.3.0', '<')) { | |||||
$safeMsg[] = 'PHP版本过低会无法正常使用系统,强烈建议升级到PHP7.X'; | $safeMsg[] = 'PHP版本过低会无法正常使用系统,强烈建议升级到PHP7.X'; | ||||
} | } | ||||
if (!DEDEBIZ_SAFE_MODE) { | if (!DEDEBIZ_SAFE_MODE) { | ||||
$safeMsg[] = '系统运行环境为:非安全模式,强烈建议启用安全模式 <a href="index_body.php?dopost=safe_mode" class="btn btn-success btn-sm">查看</a>'; | |||||
$safeMsg[] = '系统运行环境为:非安全模式,强烈建议启用安全模式 <a href="index_body.php?dopost=safe_mode" class="text-danger">[查看]</a>'; | |||||
} | } | ||||
$rs = TestAdminPWD(); | $rs = TestAdminPWD(); | ||||
if ($rs < 0) { | if ($rs < 0) { | ||||
$linkurl = '<a href="sys_admin_user.php" class="btn btn-success btn-sm">修改</a>'; | |||||
$linkurl = '<a href="sys_admin_user.php" class="text-danger">[修改]</span>'; | |||||
switch ($rs) { | switch ($rs) { | ||||
case -1: | case -1: | ||||
$msg = "默认管理员名称admin没有修改,建议您修改 {$linkurl}"; | $msg = "默认管理员名称admin没有修改,建议您修改 {$linkurl}"; | ||||
@@ -1,68 +1,16 @@ | |||||
var $ = jQuery; | |||||
var thespeed = 5; | |||||
var navIE = document.all && navigator.userAgent.indexOf("Firefox") == -1; | |||||
var myspeed = 0; | |||||
$(function () { | $(function () { | ||||
//左侧菜单开关 | //左侧菜单开关 | ||||
LeftMenuToggle(); | LeftMenuToggle(); | ||||
//全部功能开关 | |||||
AllMenuToggle(); | |||||
//取消菜单链接虚线 | |||||
$(".head").find("a").click(function () { $(this).blur() }); | |||||
$(".menu").find("a").click(function () { $(this).blur() }); | |||||
}).keydown(function (event) {//快捷键 | |||||
if (event.keyCode == 116) { | |||||
} | |||||
if (event.keyCode == 27) { | |||||
$("#qucikmenu").slideToggle("fast") | |||||
} | |||||
}); | }); | ||||
function LeftMenuToggle() {//左侧菜单开关 | |||||
function LeftMenuToggle() { | |||||
//左侧菜单开关 | |||||
$("#togglemenu").click(function () { | $("#togglemenu").click(function () { | ||||
if ($("body").attr("class") == "showmenu") { | if ($("body").attr("class") == "showmenu") { | ||||
$("body").attr("class", "hidemenu"); | $("body").attr("class", "hidemenu"); | ||||
$(this).html("<i class='fa fa-bars'></i> 显示菜单"); | |||||
$(this).html('<i class="fa fa-indent"></i>'); | |||||
} else { | } else { | ||||
$("body").attr("class", "showmenu"); | $("body").attr("class", "showmenu"); | ||||
$(this).html("<i class='fa fa-bars'></i> 隐藏菜单"); | |||||
$(this).html('<i class="fa fa-dedent"></i>'); | |||||
} | } | ||||
}); | }); | ||||
} | |||||
function AllMenuToggle() {//全部功能开关 | |||||
mask = $(".pagemask,.iframemask,.allmenu"); | |||||
$("#allmenu").click(function () { | |||||
mask.show(); | |||||
}); | |||||
mask.click(function () { mask.hide(); }); | |||||
} | |||||
function AC(act) { | |||||
mlink = $("a[id='" + act + "']"); | |||||
if (mlink.size() > 0) { | |||||
box = mlink.parents("div[id^='menu_']"); | |||||
boxid = box.attr("id").substring(5, 128); | |||||
if ($("body").attr("class") != "showmenu") $("#togglemenu").click(); | |||||
if (mlink.attr("_url")) { | |||||
$("#menu").find("div[id^=menu]").hide(); | |||||
box.show(); | |||||
mlink.addClass("thisclass").blur().parents("#menu").find("ul li a").not(mlink).removeClass("thisclass"); | |||||
if ($("#mod_" + boxid).attr("class") == "") { | |||||
$("#nav").find("a").removeClass("thisclass"); | |||||
$("#nav").find("a[id='mod_" + boxid + "']").addClass("thisclass").blur(); | |||||
} | |||||
main.location.href = mlink.attr("_url"); | |||||
} else if (mlink.attr("_open") && mlink.attr("_open") != undefined) { | |||||
window.open(mlink.attr("_open")); | |||||
} | |||||
} | |||||
} | |||||
/********************* | |||||
* 滚动按钮设置 | |||||
*********************/ | |||||
function scrollwindow() { | |||||
parent.frames['menu'].scrollBy(0, myspeed); | |||||
} | |||||
function initializeIT() { | |||||
if (myspeed != 0) { | |||||
scrollwindow(); | |||||
} | |||||
} | } |
@@ -9,8 +9,7 @@ function showHide(objname, o) | |||||
{ | { | ||||
obj.style.display = 'none'; | obj.style.display = 'none'; | ||||
o.querySelector("i").className = "fa fa-angle-right" | o.querySelector("i").className = "fa fa-angle-right" | ||||
} | |||||
else{ | |||||
} else { | |||||
obj.style.display = 'block'; | obj.style.display = 'block'; | ||||
o.querySelector("i").className = "fa fa-angle-down" | o.querySelector("i").className = "fa fa-angle-down" | ||||
} | } | ||||
@@ -111,8 +110,8 @@ function ShowMainMenu(n) | |||||
{ | { | ||||
curCt.style.display = 'none'; | curCt.style.display = 'none'; | ||||
targetCt.style.display = 'block'; | targetCt.style.display = 'block'; | ||||
curLink.className = 'mm'; | |||||
targetLink.className = 'mmac'; | |||||
curLink.className = 'menu-item'; | |||||
targetLink.className = 'menu-active'; | |||||
curitem = n; | curitem = n; | ||||
} else { | } else { | ||||
fetch("index_menu_load.php?openitem="+n).then(resp=>resp.text()).then((d)=>{ | fetch("index_menu_load.php?openitem="+n).then(resp=>resp.text()).then((d)=>{ | ||||
@@ -121,8 +120,8 @@ function ShowMainMenu(n) | |||||
{ | { | ||||
curCt.style.display = 'none'; | curCt.style.display = 'none'; | ||||
targetCt.style.display = 'block'; | targetCt.style.display = 'block'; | ||||
curLink.className = 'mm'; | |||||
targetLink.className = 'mmac'; | |||||
curLink.className = 'menu-item'; | |||||
targetLink.className = 'menu-active'; | |||||
curitem = n; | curitem = n; | ||||
} | } | ||||
}); | }); | ||||
@@ -158,7 +158,7 @@ | |||||
<td colspan="2" bgcolor="#fff" style="text-align:left"> | <td colspan="2" bgcolor="#fff" style="text-align:left"> | ||||
<table cellpadding="0" cellspacing="0"> | <table cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="86" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||||
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||||
<td width="86" height="28" align="center" background="../static/web/img/itemnote1.gif">高级选项</td> | <td width="86" height="28" align="center" background="../static/web/img/itemnote1.gif">高级选项</td> | ||||
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td> | <td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td> | ||||
</tr> | </tr> | ||||
@@ -171,7 +171,7 @@ | |||||
<td colspan="2" bgcolor="#fff" style="text-align:left"> | <td colspan="2" bgcolor="#fff" style="text-align:left"> | ||||
<table cellpadding="0" cellspacing="0"> | <table cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="86" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||||
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||||
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级选项</td> | <td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级选项</td> | ||||
<td width="86" height="28" align="center" background="../static/web/img/itemnote1.gif">栏目内容</td> | <td width="86" height="28" align="center" background="../static/web/img/itemnote1.gif">栏目内容</td> | ||||
</tr> | </tr> | ||||
@@ -139,7 +139,7 @@ | |||||
<td colspan="2" bgcolor="#fff" style="text-align:left"> | <td colspan="2" bgcolor="#fff" style="text-align:left"> | ||||
<table cellpadding="0" cellspacing="0"> | <table cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="86" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||||
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||||
<td width="86" height="28" align="center" background="../static/web/img/itemnote1.gif">高级选项</td> | <td width="86" height="28" align="center" background="../static/web/img/itemnote1.gif">高级选项</td> | ||||
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td> | <td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td> | ||||
</tr> | </tr> | ||||
@@ -152,7 +152,7 @@ | |||||
<td colspan="2" bgcolor="#fff" style="text-align:left"> | <td colspan="2" bgcolor="#fff" style="text-align:left"> | ||||
<table cellpadding="0" cellspacing="0"> | <table cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="86" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||||
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||||
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级选项</td> | <td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级选项</td> | ||||
<td width="86" height="28" align="center" background="../static/web/img/itemnote1.gif">栏目内容</td> | <td width="86" height="28" align="center" background="../static/web/img/itemnote1.gif">栏目内容</td> | ||||
</tr> | </tr> | ||||
@@ -23,33 +23,20 @@ | |||||
<?php | <?php | ||||
} | } | ||||
?> | ?> | ||||
<div class="pagemask"></div> | |||||
<iframe class="iframemask"></iframe> | |||||
<div class="allmenu"> | |||||
<div class="allmenu-box"> | |||||
<?php | |||||
echo $mapstring; | |||||
?> | |||||
<br style="clear:both"> | |||||
</div> | |||||
</div> | |||||
<div class="head"> | <div class="head"> | ||||
<div class="top"> | <div class="top"> | ||||
<div class="top_logo"> | |||||
<span class="top_dedebiz"><a target="main" href="index_body.php"><?php echo $cfg_webname; ?>系统</a></span> | |||||
<span class="top_version">V<?php echo $cfg_version_detail; ?></span> | |||||
<div class="top-logo"> | |||||
<span class="top-dedebiz"><a target="main" href="index_body.php"><?php echo $cfg_webname; ?></a></span> | |||||
<span class="top-version">V<?php echo $cfg_version_detail; ?></span> | |||||
<?php if(DEDEBIZ_SAFE_MODE) {?> | <?php if(DEDEBIZ_SAFE_MODE) {?> | ||||
<a target="main" class="btn btn-primary btn-sm" href="index_body.php?dopost=safe_mode">安全</a> | <a target="main" class="btn btn-primary btn-sm" href="index_body.php?dopost=safe_mode">安全</a> | ||||
<?php } else {?> | <?php } else {?> | ||||
<a target="main" class="btn btn-warning btn-sm" href="index_body.php?dopost=safe_mode">非安全</a> | <a target="main" class="btn btn-warning btn-sm" href="index_body.php?dopost=safe_mode">非安全</a> | ||||
<?php }?> | <?php }?> | ||||
</div> | </div> | ||||
<div class="top_link"> | |||||
<div class="top-item"> | |||||
<ul class="mb-0"> | <ul class="mb-0"> | ||||
<li class="welcome"> | |||||
<a target="main" href="sys_admin_user_edit.php?id=<?php echo $cuserLogin->getUserID(); ?>&dopost=edit"><img src="../static/web/img/avatar.png" title="<?php echo $cuserLogin->getUserName(); ?>"><?php echo $cuserLogin->getUserName(); ?><?php if($cuserLogin->getUserType()==10) {echo "管理员";} else if($cuserLogin->getUserType()==5) {echo "频道员";} else {echo "信息员";}?></a> | |||||
<a href="exit.php">退出</a> | |||||
</li> | |||||
<li><a href="javascript:;" id="togglemenu"><i class="fa fa-dedent"></i></li> | |||||
<?php | <?php | ||||
if($cuserLogin->getUserType()>=10){ | if($cuserLogin->getUserType()>=10){ | ||||
?> | ?> | ||||
@@ -61,34 +48,28 @@ | |||||
<li><a target="main" href="makehtml_all.php">更新整站</a></li> | <li><a target="main" href="makehtml_all.php">更新整站</a></li> | ||||
<?php echo ($cfg_mb_open=='Y')?'<li><a href="../user" target="_blank">会员中心</a></li>':''; ?> | <?php echo ($cfg_mb_open=='Y')?'<li><a href="../user" target="_blank">会员中心</a></li>':''; ?> | ||||
<li><a href="../index.php?upcache=1" target="_blank">网站主页</a></li> | <li><a href="../index.php?upcache=1" target="_blank">网站主页</a></li> | ||||
<li> | |||||
<form action="action_search.php" method="post" target="main"> | |||||
<input type="text" name="keyword" placeholder="功能搜索" class="allsearch"> | |||||
<button type="submit" class="search"><i class="fa fa-search" aria-hidden="true"></i></button> | |||||
</form> | |||||
</li> | |||||
</ul> | </ul> | ||||
</div> | </div> | ||||
</div> | |||||
<div class="topnav"> | |||||
<div class="menuact"> | |||||
<a href="javascript:;" id="togglemenu"><i class="fa fa-bars"></i> 隐藏菜单</a> | |||||
<a href="javascript:;" id="allmenu"><i class="fa fa-map-marker"></i> 功能地图</a> | |||||
</div> | |||||
<div id="skin"></div> | |||||
<div class="nav" id="nav"></div> | |||||
<div class="sysmsg"> | |||||
<div class="scroll"> | |||||
<form action="action_search.php" method="post" target="main"> | |||||
<input type="text" name="keyword" placeholder="功能搜索" class="allsearch"> | |||||
<button type="submit" class="search">搜索</button> | |||||
<a href="<?php echo $cfg_biz_gitUrl; ?>" target="_blank"><i class="fa fa-code"></i> 代码托管</a> | |||||
<a href="<?php echo $cfg_biz_helpUrl; ?>" target="_blank"><i class="fa fa-question-circle"></i> 帮助中心</a> | |||||
</form> | |||||
</div> | |||||
<div class="top-admin"> | |||||
<ul class="mb-0"> | |||||
<li class="welcome"><a target="main" href="sys_admin_user_edit.php?id=<?php echo $cuserLogin->getUserID(); ?>&dopost=edit"><img src="../static/web/img/avatar.png" title="<?php echo $cuserLogin->getUserName(); ?>"><?php echo $cuserLogin->getUserName(); ?><?php if($cuserLogin->getUserType()==10) {echo "管理员";} else if($cuserLogin->getUserType()==5) {echo "频道员";} else {echo "信息员";}?></a></li> | |||||
<li><a href="exit.php">退出</a></li> | |||||
</ul> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
<div class="left"> | |||||
<div class="body-left"> | |||||
<div class="menu" id="menu"> | <div class="menu" id="menu"> | ||||
<iframe src="index_menu.php" id="menufra" name="menu" frameborder="0"></iframe> | <iframe src="index_menu.php" id="menufra" name="menu" frameborder="0"></iframe> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
<div class="right"> | |||||
<div class="body-right"> | |||||
<div class="main"> | <div class="main"> | ||||
<iframe src="index_body.php" id="main" name="main" frameborder="0"></iframe> | <iframe src="index_body.php" id="main" name="main" frameborder="0"></iframe> | ||||
</div> | </div> | ||||
@@ -6,120 +6,43 @@ | |||||
<title>系统菜单</title> | <title>系统菜单</title> | ||||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | ||||
<link rel="stylesheet" href="../static/web/css/admin.css"> | <link rel="stylesheet" href="../static/web/css/admin.css"> | ||||
<link rel="stylesheet" href="css/frame.css"> | |||||
<script src="../static/web/js/webajax.js"></script> | <script src="../static/web/js/webajax.js"></script> | ||||
<script src="../static/web/js/jquery.min.js"></script> | <script src="../static/web/js/jquery.min.js"></script> | ||||
<?php echo "<script>var curopenItem = '$openitem';</script>"; ?> | |||||
<script src="js/leftmenu.js"></script> | <script src="js/leftmenu.js"></script> | ||||
<?php echo "<script>var curopenItem = '$openitem';</script>"; ?> | |||||
<base target="main"> | <base target="main"> | ||||
<style> | |||||
body { | |||||
margin: 0; | |||||
padding: 0 6px; | |||||
background: #f8f8f8; | |||||
overflow: scroll; | |||||
overflow-x: hidden | |||||
} | |||||
.mleft { | |||||
padding-top: 1rem | |||||
} | |||||
.mright { | |||||
width: 100%; | |||||
background: #fff; | |||||
box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075); | |||||
border-radius: 0 0 .2rem .2rem | |||||
} | |||||
a.mmac div { | |||||
margin-bottom: 6px; | |||||
padding: 6px 0; | |||||
width: 50px; | |||||
color: #fff; | |||||
background: #424b51; | |||||
box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075); | |||||
border-radius: .2rem 0 0 .2rem; | |||||
text-align: center | |||||
} | |||||
a.mm div { | |||||
margin-bottom: 6px; | |||||
padding: 6px 0; | |||||
width: 50px; | |||||
color: #424b51; | |||||
background: #fff; | |||||
box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075); | |||||
border-radius: .2rem 0 0 .2rem; | |||||
text-align: center; | |||||
cursor: pointer | |||||
} | |||||
a.mm:hover div { | |||||
color: #fff; | |||||
background: #424b51; | |||||
transition: all .2s | |||||
} | |||||
dl.bitem { | |||||
margin: 1rem 0 10px 0; | |||||
padding: 0 10px | |||||
} | |||||
dl.bitem dt { | |||||
margin-bottom: 10px; | |||||
padding-left: 10px; | |||||
height: 28px; | |||||
line-height: 28px; | |||||
background: #f8f8f8; | |||||
border-radius: .2rem; | |||||
cursor: pointer | |||||
} | |||||
dl.bitem dt b { | |||||
color: #424b51 | |||||
} | |||||
.sitemu li { | |||||
padding: 0 0 0 10px; | |||||
display: block; | |||||
height: 26px; | |||||
line-height: 26px | |||||
} | |||||
.fllct { | |||||
float: left | |||||
} | |||||
.flrct { | |||||
float: right | |||||
} | |||||
.fa-minus-circle { | |||||
color: #dc3545 | |||||
} | |||||
.fa-plus-circle { | |||||
color: #28a745 | |||||
} | |||||
</style> | |||||
</head> | </head> | ||||
<body onLoad="CheckOpenMenu();"> | |||||
<body class="menu-box"> | |||||
<table cellspacing="0" cellpadding="0"> | <table cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td valign="top" class="mleft"> | |||||
<a id="link1" class="mmac"> | |||||
<td valign="top" class="menu-left"> | |||||
<a id="link1" class="menu-active"> | |||||
<div onClick="ShowMainMenu(1)"><b>运维</b></div> | <div onClick="ShowMainMenu(1)"><b>运维</b></div> | ||||
</a> | </a> | ||||
<a id="link100" class="mm"> | |||||
<a id="link100" class="menu-item"> | |||||
<div onClick="ShowMainMenu(100)"><b>插件</b></div> | <div onClick="ShowMainMenu(100)"><b>插件</b></div> | ||||
</a> | </a> | ||||
<a id="link5" class="mm"> | |||||
<a id="link5" class="menu-item"> | |||||
<div onClick="ShowMainMenu(5)"><b>更新</b></div> | <div onClick="ShowMainMenu(5)"><b>更新</b></div> | ||||
</a> | </a> | ||||
<a id="link6" class="mm"> | |||||
<a id="link6" class="menu-item"> | |||||
<div onClick="ShowMainMenu(6)"><b>会员</b></div> | <div onClick="ShowMainMenu(6)"><b>会员</b></div> | ||||
</a> | </a> | ||||
<?php | <?php | ||||
if($cuserLogin->getUserType()>=10) { | if($cuserLogin->getUserType()>=10) { | ||||
?> | ?> | ||||
<a id="link7" class="mm"> | |||||
<a id="link7" class="menu-item"> | |||||
<div onClick="ShowMainMenu(7)"><b>模板</b></div> | <div onClick="ShowMainMenu(7)"><b>模板</b></div> | ||||
</a> | </a> | ||||
<a id="link10" class="mm"> | |||||
<a id="link10" class="menu-item"> | |||||
<div onClick="ShowMainMenu(10)"><b>系统</b></div> | <div onClick="ShowMainMenu(10)"><b>系统</b></div> | ||||
</a> | </a> | ||||
<?php | <?php | ||||
} | } | ||||
?> | ?> | ||||
</td> | </td> | ||||
<td valign="top" class="mright"> | |||||
<td valign="top" class="menu-right"> | |||||
<div id="ct1"><?php GetMenus($cuserLogin->getUserRank(),'main'); ?></div> | <div id="ct1"><?php GetMenus($cuserLogin->getUserRank(),'main'); ?></div> | ||||
<div id="ct100"></div> | <div id="ct100"></div> | ||||
<div id="ct3"></div> | <div id="ct3"></div> | ||||
@@ -8,7 +8,7 @@ | |||||
*/ | */ | ||||
//V6安全模式,如果启用安全模式,后台将禁用例如:模板管理、标签管理、数据库管理等存在较高安全风险的功能 | //V6安全模式,如果启用安全模式,后台将禁用例如:模板管理、标签管理、数据库管理等存在较高安全风险的功能 | ||||
define('DEDEBIZ_SAFE_MODE', TRUE); //启用安全模式 | define('DEDEBIZ_SAFE_MODE', TRUE); //启用安全模式 | ||||
// define('DEDEBIZ_SAFE_MODE', FALSE); //关闭安全模式 | |||||
//define('DEDEBIZ_SAFE_MODE', FALSE); //关闭安全模式 | |||||
//生产环境使用`production`,如果采用`dev`模式,会有一些php的报错信息提示,便于开发调试 | //生产环境使用`production`,如果采用`dev`模式,会有一些php的报错信息提示,便于开发调试 | ||||
if (!defined('DEDE_ENVIRONMENT')) { | if (!defined('DEDE_ENVIRONMENT')) { | ||||
define('DEDE_ENVIRONMENT', 'production'); | define('DEDE_ENVIRONMENT', 'production'); | ||||