@@ -1,455 +1,80 @@ | |||
* { | |||
padding:0; | |||
margin:0; | |||
box-sizing:border-box | |||
} | |||
a { | |||
text-decoration:none | |||
} | |||
html,body { | |||
width:100%; | |||
height:100% | |||
} | |||
body { | |||
height:100%; | |||
font-size:12px; | |||
overflow:hidden; | |||
z-index:1 | |||
} | |||
body.showmenu { | |||
background:url(../images/leftmenu_bg.gif) -10px top repeat-y | |||
} | |||
body.hidemenu { | |||
background:none | |||
} | |||
ul { | |||
list-style:none | |||
} | |||
form { | |||
margin:0; | |||
padding:0 | |||
} | |||
.head { | |||
width:100%; | |||
height:76px; | |||
overflow:hidden; | |||
z-index:8; | |||
position:relative | |||
} | |||
.top { | |||
height:46px; | |||
width:100%; | |||
background-image:linear-gradient(135deg,#008E38 0%,#639709 100%); | |||
overflow:hidden; | |||
clear:both | |||
} | |||
.top .top_logo { | |||
float:left; | |||
margin-left:10px; | |||
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:10px; | |||
margin-left:10px; | |||
color:#fff | |||
} | |||
.top .top_link { | |||
float:right | |||
} | |||
.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; | |||
vertical-align:middle | |||
} | |||
.top .top_link ul li { | |||
float:left; | |||
color:#fff | |||
} | |||
.top .top_link ul li a { | |||
color:#fff; | |||
padding-left:10px; | |||
padding-right:10px | |||
} | |||
.top .top_link ul li a:hover { | |||
color:#ccc | |||
} | |||
.top .top_link .quick { | |||
padding:3px 0px 0px 0px; | |||
float:left | |||
} | |||
.top .top_link .quick a { | |||
display:block; | |||
color:#C60; | |||
float:left; | |||
line-height:21px; | |||
height:21px; | |||
overflow:hidden | |||
} | |||
.top .top_link .quick a.ac_qucikmenu { | |||
width:81px; | |||
background:url(../images/quick_bg.gif) left top no-repeat; | |||
letter-spacing:1px; | |||
text-indent:8px | |||
} | |||
.top .top_link .quick a.ac_qucikmenu:hover { | |||
background:url(../images/quick_bg.gif) left bottom no-repeat | |||
} | |||
.top .top_link .quick a.ac_qucikadd { | |||
width:19px; | |||
background:url(../images/quick_bg.gif) right top no-repeat | |||
} | |||
.top .top_link .quick a.ac_qucikadd:hover { | |||
background:url(../images/quick_bg.gif) right bottom no-repeat | |||
} | |||
.topnav { | |||
width:100%; | |||
height:30px; | |||
background:#333; | |||
overflow:hidden; | |||
clear:both | |||
} | |||
.topnav .menuact { | |||
width:168px; | |||
float:left; | |||
padding-left:10px; | |||
overflow:hidden; | |||
padding-top:6px | |||
} | |||
.topnav .menuact a { | |||
overflow:hidden; | |||
color:#eee; | |||
padding-right:10px | |||
} | |||
.topnav .menuact a:hover { | |||
color:#fff | |||
} | |||
.nav { | |||
float:left; | |||
padding-left:2px; | |||
line-height:26px; | |||
color:#999 | |||
} | |||
.nav ul li { | |||
float:left; | |||
display:block; | |||
margin-left:4px | |||
} | |||
.nav ul li a { | |||
padding:0 10px 0px 10px; | |||
color:#FFCC00 | |||
} | |||
.nav ul li a:hover { | |||
color:#fff | |||
} | |||
.nav ul li a.thisclass,.nav ul li a.thisclass:hover { | |||
color:#4E8100; | |||
display:block; | |||
font-weight:bold; | |||
background:#fff; | |||
line-height:23px; | |||
border-top:2px solid #FFDE59; | |||
margin-top:4px; | |||
padding:0 10px 0px 10px | |||
} | |||
.sysmsg { | |||
height:30px; | |||
overflow:hidden; | |||
line-height:30px; | |||
padding-right:10px; | |||
float:right; | |||
color:#999; | |||
width:500px | |||
} | |||
.sysmsg h3 { | |||
font-size:12px; | |||
float:left; | |||
padding-right:6px; | |||
font-weight:normal; | |||
color:#FC0; | |||
display:none | |||
} | |||
.scroll { | |||
float:right; | |||
overflow:hidden; | |||
height:30px | |||
} | |||
.scroll ul li,.sysmsg ul li a { | |||
color:#BBB | |||
} | |||
.scroll ul li { | |||
height:26px; | |||
overflow:hidden; | |||
line-height:26px; | |||
float:right; | |||
clear:both; | |||
padding-left:19px; | |||
background:url(../images/ico-sysmsg.png) 5px 8px no-repeat | |||
} | |||
.scroll ul li a:hover { | |||
text-decoration:underline | |||
} | |||
.scroll a { | |||
padding-left:10px; | |||
color:#fff | |||
} | |||
.scroll a:hover { | |||
text-decoration:underline | |||
} | |||
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% | |||
} | |||
.top_link { | |||
font-size:12px | |||
} | |||
.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 { | |||
height:100%; | |||
width:99.99%; | |||
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 { | |||
height:30px; | |||
line-height:30px; | |||
display:block; | |||
color:#666666; | |||
padding-left:10px; | |||
padding-right:10px | |||
} | |||
.qucikmenu ul li a:hover { | |||
background:#F7F7F7 | |||
} | |||
.pagemask { | |||
width:100%; | |||
height:100%; | |||
background:#000; | |||
position:absolute; | |||
z-index:100; | |||
filter:alpha(opacity=70); | |||
-moz-opacity:0.7; | |||
opacity:0.7; | |||
display:none | |||
} | |||
.iframemask { | |||
position:absolute; | |||
z-index:80; | |||
top:0; | |||
left:0; | |||
background-color:#fff; | |||
border:none; | |||
filter:alpha(opacity=0); | |||
-moz-opacity:0; | |||
opacity:0; | |||
height:100%; | |||
width:100%; | |||
display:none | |||
} | |||
.allmenu { | |||
width:800px; | |||
background:#fff; | |||
border:2px solid #999; | |||
z-index:999; | |||
position:absolute; | |||
left:50%; | |||
top:76px; | |||
margin-left:-400px; | |||
display:none; | |||
padding:10px | |||
} | |||
.allmenu .allmenu-box { | |||
margin:0 auto; | |||
text-align:left; | |||
overflow:hidden; | |||
padding-left:2px | |||
} | |||
.maptop { | |||
float:left; | |||
width:130px; | |||
overflow:hidden; | |||
padding-right:6px; | |||
padding-left:6px; | |||
margin-left:-1px | |||
} | |||
.maptop dt.bigitem { | |||
padding:5px 10px; | |||
background:#333; | |||
color:#fff; | |||
line-height:18px; | |||
font-weight:600 | |||
} | |||
.mapitem dt { | |||
line-height:21px; | |||
font-weight:bold; | |||
text-indent:10px; | |||
background:#EFF1F1 | |||
} | |||
.mapitem ul { | |||
margin-top:10px; | |||
margin-bottom:10px | |||
} | |||
.mapitem ul li { | |||
text-indent:20px; | |||
line-height:24px; | |||
background:url(../images/arrr.gif) 4px 6px no-repeat | |||
} | |||
.allmenu a { | |||
color:#5C604F | |||
} | |||
.allmenu a:hover { | |||
color:#F63 | |||
} | |||
#login .theme { | |||
clear:both; | |||
padding:10px; | |||
width:70%; | |||
margin-top:20px | |||
} | |||
#login .theme li { | |||
margin-bottom:15px; | |||
margin-top:5px; | |||
overflow:hidden | |||
} | |||
#login .theme span { | |||
color:#000000; | |||
width:150px; | |||
display:inline-block; | |||
float:left; | |||
text-align:right; | |||
height:22px; | |||
line-height:22px | |||
} | |||
input { | |||
color:#000; | |||
font-size:12px | |||
} | |||
input[type="text"],input[type="password"] { | |||
width:160px; | |||
border-width:1px; | |||
border-style:solid; | |||
border-color:#fff; | |||
padding:2px 4px; | |||
height:18px; | |||
line-height:18px; | |||
vertical-align:middle; | |||
background:#fff | |||
} | |||
input[type="text"]:focus,input[type="password"]:focus { | |||
border-color:#6FB1DF; | |||
color:#333; | |||
-moz-box-shadow:0 0 3px #A5C760; | |||
-webkit-border-shadow:0 0 3px #A5C760; | |||
box-shadow:0 0 3px #A5C760 | |||
} | |||
* html input.text { | |||
width:223px; | |||
border:1px solid #a7a6aa; | |||
background:#fff url(../images/input.gif) 0 0 no-repeat; | |||
margin-top:-1px; | |||
margin-right:5px; | |||
margin-bottom:0; | |||
margin-left:2px; | |||
padding:3px; | |||
line-height:12px | |||
} | |||
* html input.radio { | |||
margin:-1px 0 0 -2px | |||
} | |||
.allsearch { | |||
float:left; | |||
margin-top:7px!important; | |||
border:1px solid #fff; | |||
border-radius:2px | |||
} | |||
.np { | |||
width:40px; | |||
height:18px; | |||
line-height:18px; | |||
border:none; | |||
color:#fff; | |||
background:#57960f; | |||
cursor:pointer; | |||
margin-left:10px; | |||
border-radius:2px | |||
} | |||
#help { | |||
background:url(../images/dlgtitle.gif) repeat-x scroll 0 0 transparent; | |||
bottom:0; | |||
left:0; | |||
position:absolute; | |||
width:100%; | |||
height:28px; | |||
border-top:1px solid #390; | |||
line-height:28px; | |||
text-align:right; | |||
padding-top:0; | |||
padding-bottom:0 | |||
} | |||
#help #content { | |||
padding-right:12px; | |||
background:url(../images/gtk-edit.png) no-repeat scroll 0px -1px; | |||
padding-left:20px | |||
} | |||
*{padding:0;margin:0;box-sizing:border-box} | |||
a{text-decoration:none} | |||
html,body{width:100%;height:100%} | |||
body{height:100%;font-size:12px;overflow:hidden;z-index:1} | |||
body.showmenu{background:url(../images/leftmenu_bg.gif) -10px top repeat-y} | |||
body.hidemenu{background:none} | |||
ul{list-style:none} | |||
form{margin:0;padding:0} | |||
.head{width:100%;height:76px;overflow:hidden;z-index:8;position:relative} | |||
.top{height:46px;width:100%;background-image:linear-gradient(135deg,#008E38 0%,#639709 100%);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:10px;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;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} | |||
.top .top_link .quick{padding:3px 0px 0px 0px;float:left} | |||
.top .top_link .quick a{display:block;color:#C60;float:left;line-height:21px;height:21px;overflow:hidden} | |||
.top .top_link .quick a.ac_qucikmenu{width:81px;background:url(../images/quick_bg.gif) left top no-repeat;letter-spacing:1px;text-indent:8px} | |||
.top .top_link .quick a.ac_qucikmenu:hover{background:url(../images/quick_bg.gif) left bottom no-repeat} | |||
.top .top_link .quick a.ac_qucikadd{width:19px;background:url(../images/quick_bg.gif) right top no-repeat} | |||
.top .top_link .quick a.ac_qucikadd:hover{background:url(../images/quick_bg.gif) right bottom no-repeat} | |||
.topnav{width:100%;height:30px;background:#333;overflow:hidden;clear:both} | |||
.topnav .menuact{width:168px;float:left;padding-left:30px;overflow:hidden;padding-top:6px} | |||
.topnav .menuact a{overflow:hidden;color:#eee;padding-right:10px} | |||
.topnav .menuact a:hover{color:#fff} | |||
.nav{float:left;padding-left:2px;line-height:26px;color:#999} | |||
.nav ul li{float:left;display:block;margin-left:4px} | |||
.nav ul li a{padding:0 10px 0px 10px;color:#FFCC00} | |||
.nav ul li a:hover{color:#fff} | |||
.nav ul li a.thisclass,.nav ul li a.thisclass:hover{color:#4E8100;display:block;font-weight:bold;background:#fff;line-height:23px;border-top:2px solid #FFDE59;margin-top:4px;padding:0 10px 0px 10px} | |||
.sysmsg{height:30px;overflow:hidden;line-height:30px;padding-right:30px;float:right;color:#999;width:500px} | |||
.sysmsg h3{font-size:12px;float:left;padding-right:6px;font-weight:normal;color:#FC0;display:none} | |||
.scroll{float:right;overflow:hidden;height:30px} | |||
.scroll ul li,.sysmsg ul li a{color:#BBB} | |||
.scroll ul li{height:26px;overflow:hidden;line-height:26px;float:right;clear:both;padding-left:19px;background:url(../images/ico-sysmsg.png) 5px 8px no-repeat} | |||
.scroll ul li a:hover{text-decoration:underline} | |||
.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%} | |||
.top_link{font-size:12px} | |||
.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{height:100%;width:99.99%;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{height:30px;line-height:30px;display:block;color:#666666;padding-left:10px;padding-right:10px} | |||
.qucikmenu ul li a:hover{background:#F7F7F7} | |||
.pagemask{width:100%;height:100%;background:#000;position:absolute;z-index:100;filter:alpha(opacity=70);-moz-opacity:0.7;opacity:0.7;display:none} | |||
.iframemask{position:absolute;z-index:80;top:0;left:0;background-color:#fff;border:none;filter:alpha(opacity=0);-moz-opacity:0;opacity:0;height:100%;width:100%;display:none} | |||
.allmenu{width:800px;background:#fff;border:2px solid #999;z-index:999;position:absolute;left:50%;top:76px;margin-left:-400px;display:none;padding:10px} | |||
.allmenu .allmenu-box{margin:0 auto;text-align:left;overflow:hidden;padding-left:2px} | |||
.maptop{float:left;width:130px;overflow:hidden;padding-right:6px;padding-left:6px;margin-left:-1px} | |||
.maptop dt.bigitem{padding:5px 10px;background:#333;color:#fff;line-height:18px;font-weight:600} | |||
.mapitem dt{line-height:21px;font-weight:bold;text-indent:10px;background:#EFF1F1} | |||
.mapitem ul{margin-top:10px;margin-bottom:10px} | |||
.mapitem ul li{text-indent:20px;line-height:24px;background:url(../images/arrr.gif) 4px 6px no-repeat} | |||
.allmenu a{color:#5C604F} | |||
.allmenu a:hover{color:#F63} | |||
#login .theme{clear:both;padding:10px;width:70%;margin-top:20px} | |||
#login .theme li{margin-bottom:15px;margin-top:5px;overflow:hidden} | |||
#login .theme span{color:#000000;width:150px;display:inline-block;float:left;text-align:right;height:22px;line-height:22px} | |||
input{color:#000;font-size:12px} | |||
input[type="text"],input[type="password"]{width:160px;border-width:1px;border-style:solid;border-color:#fff;padding:2px 4px;height:18px;line-height:18px;vertical-align:middle;background:#fff} | |||
input[type="text"]:focus,input[type="password"]:focus{border-color:#6FB1DF;color:#333;-moz-box-shadow:0 0 3px #A5C760;-webkit-border-shadow:0 0 3px #A5C760;box-shadow:0 0 3px #A5C760} | |||
* html input.text{width:223px;border:1px solid #a7a6aa;background:#fff url(../images/input.gif) 0 0 no-repeat;margin-top:-1px;margin-right:5px;margin-bottom:0;margin-left:2px;padding:3px;line-height:12px} | |||
* html input.radio{margin:-1px 0 0 -2px} | |||
.allsearch{float:left;margin-top:7px!important;border:1px solid #fff;border-radius:2px} | |||
.np{width:40px;height:18px;line-height:18px;border:none;color:#fff;background:#57960f;cursor:pointer;margin-left:10px;border-radius:2px} | |||
#help{background:url(../images/dlgtitle.gif) repeat-x scroll 0 0 transparent;bottom:0;left:0;position:absolute;width:100%;height:28px;border-top:1px solid #390;line-height:28px;text-align:right;padding-top:0;padding-bottom:0} | |||
#help #content{padding-right:12px;background:url(../images/gtk-edit.png) no-repeat scroll 0px -1px;padding-left:20px} |
@@ -1,13 +1,11 @@ | |||
<!DOCTYPE html | |||
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |||
<html xmlns="http://www.w3.org/1999/xhtml"> | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title>文档管理</title> | |||
<link rel="stylesheet" href="../static/css/bootstrap.min.css"> | |||
<link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet"> | |||
<link rel="stylesheet" type="text/css" href="css/base.css"> | |||
<link rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="css/base.css"> | |||
<script language="javascript" src="../static/js/jquery.js"></script> | |||
<script src="../static/js/bootstrap.bundle.js"></script> | |||
<script language="javascript" src="../static/js/dedeajax2.js"></script> | |||
@@ -23,23 +21,17 @@ | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" class="table maintable table-bordered mt-3"> | |||
<tr> | |||
<td align="center"> | |||
<button type='button' class="btn btn-success btn-sm" | |||
onClick="location='catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives';">添加文档</button> | |||
<button type='button' class="btn btn-success btn-sm" onClick="location='catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives';">添加文档</button> | |||
{dede:if $adminid==$mid } | |||
<button type='button' class="btn btn-success btn-sm" | |||
onClick="location='content_list.php?cid={dede:global.cid/}&mid=0';">全部文档</button> | |||
<button type='button' class="btn btn-success btn-sm" onClick="location='content_list.php?cid={dede:global.cid/}&mid=0';">全部文档</button> | |||
{else} | |||
<button type='button' class="btn btn-success btn-sm" | |||
onClick="location='content_list.php?cid={dede:global.cid/}&mid=<?php echo $cuserLogin->getUserID(); ?>';">我的文档</button> | |||
<button type='button' class="btn btn-success btn-sm" onClick="location='content_list.php?cid={dede:global.cid/}&mid=<?php echo $cuserLogin->getUserID(); ?>';">我的文档</button> | |||
{/dede:if} | |||
{dede:global.CheckUserSend/} | |||
<button type='button' class="btn btn-success btn-sm" onClick="location='catalog_main.php';">栏目管理</button> | |||
<button type='button' class="btn btn-success btn-sm" name='bb1' | |||
onClick="location='makehtml_list.php?cid={dede:global.cid/}';">更新列表</button> | |||
<button type='button' class="btn btn-success btn-sm" name='bb2' | |||
onClick="location='makehtml_archives.php?cid={dede:global.cid/}';">更新文档</button> | |||
<button type='button' class="btn btn-success btn-sm" name='bb1' | |||
onClick="location='recycling.php?cid={dede:global.cid/}';">文章回收站</button> | |||
<button type='button' class="btn btn-success btn-sm" name='bb1' onClick="location='makehtml_list.php?cid={dede:global.cid/}';">更新列表</button> | |||
<button type='button' class="btn btn-success btn-sm" name='bb2' onClick="location='makehtml_archives.php?cid={dede:global.cid/}';">更新文档</button> | |||
<button type='button' class="btn btn-success btn-sm" name='bb1' onClick="location='recycling.php?cid={dede:global.cid/}';">文章回收站</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -49,8 +41,7 @@ | |||
<table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#CFCFCF" align="center" | |||
style="margin-top:8px" class="table table-bordered maintable"> | |||
<tr bgcolor="#E7E7E7"> | |||
<td height="28" colspan="10" background="images/tbg.gif" style="padding-left:10px;"> | |||
◆ {dede:global.positionname/}文档列表 (使用鼠标右键弹出菜单) | |||
<td height="28" colspan="10" background="images/tbg.gif" style="padding-left:10px;">◆ {dede:global.positionname/}文档列表 (使用鼠标右键弹出菜单) | |||
</td> | |||
</tr> | |||
<tr align="center" bgcolor="#FBFCE2" height="25"> | |||
@@ -66,8 +57,7 @@ | |||
<td width="12%">操作</td> | |||
</tr> | |||
{dede:datalist} | |||
<tr align='center' bgcolor="#FFFFFF" height="26" align="center" | |||
onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> | |||
<tr align='center' bgcolor="#FFFFFF" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> | |||
<td nowrap> | |||
{dede:field.id/} | |||
</td> | |||
@@ -85,8 +75,7 @@ | |||
{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><a href='content_list.php?cid={dede:field.typeid/}'>{dede:field.typeid function='GetTypename(@me)'/}</a></td> | |||
<td>{dede:field.click/}</td> | |||
<td>{dede:field.ismake function="IsHtmlArchives(@me)"/}</td> | |||
<td>{dede:field.arcrank function="GetRankName(@me)"/}</td> | |||
@@ -126,8 +115,7 @@ | |||
<!-- 搜索表单 --> | |||
<form name='form3' action='content_list.php' method='get'> | |||
<input type='hidden' name='dopost' value='listArchives' /> | |||
<table width='98%' border='0' cellpadding='1' cellspacing='1' bgcolor='#cfcfcf' align="center" | |||
style="margin-top:8px" class="mb-3"> | |||
<table width='98%' border='0' cellpadding='1' cellspacing='1' bgcolor='#cfcfcf' align="center" style="margin-top:8px;border:1px solid #dee2e6" class="mb-3"> | |||
<tr bgcolor='#EEF4EA'> | |||
<td background='images/wbg.gif' align='center'> | |||
<table border='0' cellpadding='0' cellspacing='0' height="32"> | |||
@@ -169,7 +157,5 @@ | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -1,168 +1,138 @@ | |||
<!DOCTYPE html> | |||
<html> | |||
<head> | |||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||
<title><?php echo $cfg_webname; ?>-<?php echo $cfg_soft_enname; ?> <?php echo $cfg_version_detail; ?></title> | |||
<link rel="stylesheet" href="css/frame.css"> | |||
<link rel="stylesheet" href="images/style<?php echo $cfg_admin_skin;?>/style.css"> | |||
<script src="../static/js/jquery.js"></script> | |||
<script src="js/frame.js"></script> | |||
<style> | |||
#skinlist { | |||
display:block; | |||
height:11px; | |||
margin-top:10px; | |||
overflow:hidden; | |||
width:86px | |||
} | |||
#skin div { | |||
float:left | |||
} | |||
#skin li { | |||
cursor:pointer; | |||
float:left; | |||
height:11px; | |||
width:14px | |||
} | |||
#def div,#s1 div,#s2 div,#s3 div,#s4 div { | |||
background-image:url("images/skinbutton.png"); | |||
background-repeat:no-repeat | |||
} | |||
#s1 div { | |||
background-position:0 0px | |||
} | |||
#s2 div { | |||
background-position:0 -11px | |||
} | |||
#s3 div { | |||
background-position:0 -22px | |||
} | |||
#s4 div { | |||
background-position:0 -33px | |||
} | |||
#s1 div.sel { | |||
background:url("images/skinbutton.png") no-repeat scroll -14px top transparent | |||
} | |||
#s2 div.sel { | |||
background:url("images/skinbutton.png") no-repeat scroll -14px -11px transparent | |||
} | |||
#s3 div.sel { | |||
background:url("images/skinbutton.png") no-repeat scroll -14px -22px transparent | |||
} | |||
#s4 div.sel { | |||
background:url("images/skinbutton.png") no-repeat scroll -14px -33px transparent | |||
} | |||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||
<title><?php echo $cfg_webname; ?>后台管理</title> | |||
<link rel="stylesheet" href="css/frame.css"> | |||
<link rel="stylesheet" href="images/style<?php echo $cfg_admin_skin;?>/style.css"> | |||
<script src="../static/js/jquery.js"></script> | |||
<script src="js/frame.js"></script> | |||
<style> | |||
#skinlist{display:block;height:10px;margin-top:10px;overflow:hidden;width:86px} | |||
#skin div{float:left} | |||
#skin li{float:left;width:14px;height:10px;cursor:pointer} | |||
#def div,#s1 div,#s2 div,#s3 div,#s4 div{background-image:url("images/skinbutton.png");background-repeat:no-repeat} | |||
#s1 div{background-position:0 0px} | |||
#s2 div{background-position:0 -11px} | |||
#s3 div{background-position:0 -22px} | |||
#s4 div{background-position:0 -33px} | |||
#s1 div.sel{background:url("images/skinbutton.png") no-repeat scroll -14px top transparent} | |||
#s2 div.sel{background:url("images/skinbutton.png") no-repeat scroll -14px -11px transparent} | |||
#s3 div.sel{background:url("images/skinbutton.png") no-repeat scroll -14px -22px transparent} | |||
#s4 div.sel{background:url("images/skinbutton.png") no-repeat scroll -14px -33px transparent} | |||
</style> | |||
</head> | |||
<body class="showmenu"> | |||
<div class="pagemask"></div> | |||
<iframe class="iframemask"></iframe> | |||
<div class="allmenu"> | |||
<div class="allmenu-box"> | |||
<?php | |||
echo $mapstring; | |||
?> | |||
<br style="clear:both"> | |||
<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> | |||
<div class="head"> | |||
<div class="top"> | |||
<div class="top_logo"><a href="#" onclick="JumpFrame('index_menu.php','index_body.php');"><?php echo $cfg_soft_enname; ?></a></div> | |||
<div class="top_version"><?php echo $cfg_version_detail; ?></div> | |||
<div class="top_link"> | |||
<ul> | |||
<li class="welcome"><img src="/static/img/avatar.png" title="<?php echo $cuserLogin->getUserName(); ?>"><?php echo $cuserLogin->getUserName(); ?><a href="exit.php" target="_top">注销</a></li> | |||
<li><a href="#" onclick="JumpFrame('index_menu.php','index_body.php');">后台主页</a></li> | |||
<li><a href="#" onclick="JumpFrame('catalog_menu.php','public_guide.php');">内容发布</a></li> | |||
<li><a href="#" onclick="JumpFrame('index_menu.php','content_list.php');">内容维护</a></li> | |||
<li><a href="../member" target="_blank">会员中心</a></li> | |||
<li><a href="../index.php?upcache=1" target="_blank">网站主页</a></li> | |||
</ul> | |||
</div> | |||
<div class="head"> | |||
<div class="top"> | |||
<div class="top_logo"><a href="#" onclick="JumpFrame('index_menu.php','index_body.php');"><?php echo $cfg_webname; ?>系统</a></div> | |||
<div class="top_version"><?php echo $cfg_version_detail; ?></div> | |||
<div class="top_link"> | |||
<ul> | |||
<li class="welcome"><img src="/static/img/avatar.png" title="<?php echo $cuserLogin->getUserName(); ?>"><?php echo $cuserLogin->getUserName(); ?><a href="exit.php" target="_top">注销</a></li> | |||
<li><a href="#" onclick="JumpFrame('catalog_menu.php','public_guide.php');">发布文档</a></li> | |||
<li><a href="#" onclick="JumpFrame('index_menu.php','content_list.php');">所有文档</a></li> | |||
<li><a href="#" onclick="JumpFrame('index_menu.php','catalog_main.php');">栏目管理</a></li> | |||
<li><a href="#" onclick="JumpFrame('index_menu.php','file_manage_main.php');">文件管理</a></li> | |||
<li><a href="#" onclick="JumpFrame('index_menu.php','templets_main.php');">模板管理</a></li> | |||
<?php echo ($cfg_mb_open == 'Y')?'<li><a href="../member" target="_blank">会员中心</a></li>':''; ?> | |||
<li><a href="#" onclick="JumpFrame('index_menu.php','makehtml_all.php');">更新网站</a></li> | |||
<li><a href="../index.php?upcache=1" target="_blank">网站主页</a></li> | |||
</ul> | |||
</div> | |||
</div> | |||
<div class="topnav"> | |||
<div class="menuact"> <a href="#" id="togglemenu">隐藏菜单</a> | |||
<?php | |||
if($cuserLogin->getUserType() >= 10) echo '<a href="#" id="allmenu">功能地图</a>'; | |||
?> | |||
</div> | |||
<div id="skin"> | |||
<div></div> | |||
</div> | |||
<div class="nav" id="nav"></div> | |||
<div class="sysmsg"> | |||
<h3>滚动消息:</h3> | |||
<div class="scroll"> | |||
<form action="action_search.php" target="main" method="post"> | |||
<input name="keyword" type="text" value="功能搜索" onfocus="if(this.value=='功能搜索'){this.value='';}" onblur="if(this.value==''){this.value='功能搜索';}" class="allsearch" style="width:160px;"> | |||
<input type="submit" class="np"> | |||
<a href="<?php echo $cfg_biz_gitUrl; ?>" target="_blank">代码托管</a> | |||
<a href="<?php echo $cfg_biz_helpUrl; ?>" target="_blank">帮助中心</a> | |||
</form> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="topnav"> | |||
<div class="menuact"><a href="#" id="togglemenu">隐藏菜单</a> | |||
<?php | |||
if($cuserLogin->getUserType() >= 10) echo '<a href="#" id="allmenu">功能地图</a>'; | |||
?> | |||
</div> | |||
<div id="skin"><div> | |||
</div> | |||
</div> | |||
<div class="nav" id="nav"></div> | |||
<div class="sysmsg"> | |||
<h3>滚动消息:</h3> | |||
<div class="scroll"> | |||
<form action="action_search.php" target="main" method="post"> | |||
<input name="keyword" type="text" value="功能搜索" onfocus="if(this.value=='功能搜索'){this.value='';}" onblur="if(this.value==''){this.value='功能搜索';}" class="allsearch"> | |||
<input name="" type="submit" value="搜索" class="np" /> | |||
<a href='<?php echo $cfg_biz_gitUrl;?>' target='_blank'>代码托管</a> <a href='<?php echo $cfg_biz_helpUrl;?>' | |||
target='_blank'>帮助中心</a> | |||
</form> | |||
<div class="left"> | |||
<div class="menu" id="menu"> | |||
<iframe src="index_menu.php" id="menufra" name="menu" frameborder="0"></iframe> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="left"> | |||
<div class="menu" id="menu"> | |||
<iframe src="index_menu.php" id="menufra" name="menu" frameborder="0"></iframe> | |||
<div class="right"> | |||
<div class="main"> | |||
<iframe id="main" name="main" frameborder="0" src="index_body.php"></iframe> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="right"> | |||
<div class="main"> | |||
<iframe id="main" name="main" frameborder="0" src="index_body.php"></iframe> | |||
<div class="qucikmenu" id="qucikmenu"> | |||
<ul> | |||
<?php | |||
$dtp = new DedeTagparse(); | |||
$dtp->SetNameSpace('menu','<','>'); | |||
$dtp->LoadTemplet($myIcoFile); | |||
if(is_array($dtp->CTags)) | |||
{ | |||
foreach($dtp->CTags as $ctag) | |||
{ | |||
$title = $ctag->GetAtt('title'); | |||
$ico = $ctag->GetAtt('ico'); | |||
$link = $ctag->GetAtt('link'); | |||
echo "<li><a href='{$link}' target='main'>{$title}</a></li>\r\n"; | |||
} | |||
} | |||
?> | |||
</ul> | |||
</div> | |||
<!--<div id="help"><span id="content"><a href="#">栏目管理操作使用说明</a></span></div>--> | |||
</div> | |||
<div class="qucikmenu" id="qucikmenu"> | |||
<ul> | |||
<?php | |||
$dtp = new DedeTagparse(); | |||
$dtp->SetNameSpace('menu','<','>'); | |||
$dtp->LoadTemplet($myIcoFile); | |||
if(is_array($dtp->CTags)) | |||
{ | |||
foreach($dtp->CTags as $ctag) | |||
{ | |||
$title = $ctag->GetAtt('title'); | |||
$ico = $ctag->GetAtt('ico'); | |||
$link = $ctag->GetAtt('link'); | |||
echo "<li><a href='{$link}' target='main'>{$title}</a></li>\r\n"; | |||
} | |||
} | |||
?> | |||
</ul> | |||
</div> | |||
<script language="javascript"> | |||
<script language="javascript"> | |||
function JumpFrame(url1, url2) { | |||
jQuery('#menufra').get(0).src = url1; | |||
jQuery('#main').get(0).src = url2; | |||
jQuery('#menufra').get(0).src = url1; | |||
jQuery('#main').get(0).src = url2; | |||
} | |||
(function ($) { | |||
$("#skinlist>li").click(function () { | |||
var adminskin = $(this).index() + 1; | |||
var csshref = "images/style" + adminskin + "/style.css"; | |||
$("#skinlist>li").each(function () { $(this).children('div').attr('class', '') }); | |||
$("#topdedelogo").attr('src', 'images/style' + adminskin + '/admin_top_logo.gif') | |||
$('link').each(function () { | |||
if ($(this).attr('href').match(/style.css$/)) { | |||
$(this).attr('href', csshref); | |||
} | |||
}); | |||
$(this).children('div').attr('class', 'sel'); | |||
$(window.frames["menu"].document).find("link").each(function () { | |||
if ($(this).attr('href').match(/style.css$/)) { | |||
$(this).attr('href', csshref); | |||
} | |||
}); | |||
$(window.frames["main"].document).find("link").each(function () { | |||
if ($(this).attr('href').match(/style.css$/)) { | |||
$(this).attr('href', csshref); | |||
} | |||
/*(function ($) { | |||
$("#skinlist>li").click(function () { | |||
var adminskin = $(this).index() + 1; | |||
var csshref = "images/style" + adminskin + "/style.css"; | |||
$("#skinlist>li").each(function () { $(this).children('div').attr('class', '') }); | |||
$("#topdedelogo").attr('src', 'images/style' + adminskin + '/admin_top_logo.gif') | |||
$('link').each(function () { | |||
if ($(this).attr('href').match(/style.css$/)) { | |||
$(this).attr('href', csshref); | |||
} | |||
}); | |||
$(this).children('div').attr('class', 'sel'); | |||
$(window.frames["menu"].document).find("link").each(function () { | |||
if ($(this).attr('href').match(/style.css$/)) { | |||
$(this).attr('href', csshref); | |||
} | |||
}); | |||
$(window.frames["main"].document).find("link").each(function () { | |||
if ($(this).attr('href').match(/style.css$/)) { | |||
$(this).attr('href', csshref); | |||
} | |||
}); | |||
$.get('index_body.php?dopost=setskin&cskin=' + adminskin); | |||
}); | |||
$.get('index_body.php?dopost=setskin&cskin=' + adminskin); | |||
}); | |||
})(jQuery); | |||
</script> | |||
})(jQuery);*/ | |||
</script> | |||
</body> | |||
</html> |
@@ -2,105 +2,75 @@ | |||
<html xmlns="http://www.w3.org/1999/xhtml"> | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title>DedeBIZV6系统概况</title> | |||
<title>系统概况</title> | |||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||
<base target="_self"> | |||
<link rel="stylesheet" href="../static/css/bootstrap.min.css"> | |||
<link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet"> | |||
<link rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css"> | |||
<link rel="stylesheet" type="text/css" href="css/base.css" /> | |||
<link rel="stylesheet" type="text/css" href="css/indexbody.css" /> | |||
<link href="images/style<?php echo $cfg_admin_skin;?>/style.css" rel="stylesheet" type="text/css" /> | |||
<script language="javascript" src="../static/js/jquery.js"></script> | |||
<script src="../static/js/bootstrap.bundle.js"></script> | |||
<script language="javascript" src="../static/js/dedeajax2.js"></script> | |||
<script language="javascript" src="js/indexbody.js"></script> | |||
<script language="javascript" src="js/main.js"></script> | |||
<script type="text/javascript"> | |||
function showMore() { | |||
$("#allInfo").toggle(); | |||
$("#allInfoTD").toggle(); | |||
} | |||
$(function () { | |||
$.get("index_testenv.php", function (data) { | |||
if (data !== '') { | |||
$("#__testEvn").html(data); | |||
} | |||
}); | |||
$.get("index_body.php?dopost=get_seo", function (data) { | |||
if (data !== '') { | |||
$("#SEOInfo").html(data); | |||
} | |||
}); | |||
function showMore() { | |||
$("#allInfo").toggle(); | |||
$("#allInfoTD").toggle(); | |||
} | |||
$(function () { | |||
$.get("index_testenv.php", function (data) { | |||
if (data !== '') { | |||
$("#__testEvn").html(data); | |||
} | |||
}); | |||
$.get("index_body.php?dopost=get_seo", function (data) { | |||
if (data !== '') { | |||
$("#SEOInfo").html(data); | |||
} | |||
}); | |||
}); | |||
</script> | |||
<style> | |||
.row { | |||
display: flex; | |||
flex-wrap: wrap; | |||
} | |||
.row>[class*='col-'] { | |||
display: flex; | |||
flex-direction: column; | |||
} | |||
.footer { | |||
padding: 10px; | |||
} | |||
.row{display:flex;flex-wrap:wrap} | |||
.row>[class*='col-']{display:flex;flex-direction:column} | |||
.btn+.btn{margin-left:10px} | |||
</style> | |||
</head> | |||
<body> | |||
<div class="container-fluid"> | |||
<div class="mt-3 mb-3"> | |||
欢迎使用国内流行的内容管理系统(CMS)多端全媒体解决方案 -- <?php echo $cfg_softname; ?> | |||
</div> | |||
<div class="mt-3 mb-3">欢迎使用国内流行的内容管理系统(CMS)多端全媒体解决方案 -- <?php echo $cfg_softname; ?></div> | |||
<div class="row"> | |||
<div id="__testEvn" class="col-md-12"></div> | |||
<!--/#__testEvn--> | |||
<div class="col-md-6 mt-3 updatenews"> | |||
<div class="card"> | |||
<div class="card-header"> | |||
<?php echo $cfg_soft_enname; ?> 更新消息 | |||
</div> | |||
<!--/.card-header--> | |||
<div class="card-header">更新消息</div> | |||
<div class="card-body"> | |||
<div id="updateinfos"> | |||
<?php | |||
echo "<div class='updatedvt py-3'>"; | |||
echo "安全操作:<a href='sys_data.php' class='btn btn-success btn-sm'>数据备份/还原</a> <a href='sys_safetest.php' class='btn btn-success btn-sm'>病毒扫描</a> <a href='sys_repair.php' class='btn btn-success btn-sm'>错误修复</a></div>"; | |||
echo "<iframe name='stafrm' src='{$offUrl}&uptime={$oktime}' frameborder='0' id='stafrm' width='98%' height='100'></iframe>"; | |||
echo "<div class='updatedvt py-3'>"; | |||
echo "安全操作:<a href='sys_data.php' class='btn btn-success btn-sm'>数据备份/还原</a><a href='sys_safetest.php' class='btn btn-success btn-sm'>病毒扫描</a><a href='sys_repair.php' class='btn btn-success btn-sm'>错误修复</a></div>"; | |||
echo "<iframe name='stafrm' src='{$offUrl}&uptime={$oktime}' frameborder='0' id='stafrm' width='98%' height='100'></iframe>"; | |||
?> | |||
</div> | |||
</div> | |||
<!--/.card-body--> | |||
</div> | |||
<!--/.card--> | |||
</div> | |||
<div class="col-md-6 mt-3"> | |||
<div class="card"> | |||
<div class="card-header"> | |||
<?php echo $cfg_soft_enname; ?> 商业服务授权 | |||
</div> | |||
<!--/.card-header--> | |||
<div class="card-body" id="_systeminfo"> | |||
正在载入中... | |||
</div> | |||
<!--/.card-body--> | |||
<div class="card-header">商业服务授权</div> | |||
<div class="card-body" id="_systeminfo">正在载入中...</div> | |||
</div> | |||
<!--/.card--> | |||
</div> | |||
<div class="col-md-6 mt-3"> | |||
<div class="card"> | |||
<div class="card-header"> | |||
快捷操作 | |||
<a href="javascript:AddNew()" class="btn btn-success btn-sm">新增</a> | |||
<a href="javascript:ListAll()" class="btn btn-success btn-sm">管理</a> | |||
<span class="float-right"><a href="javascript:AddNew()" class="btn btn-success btn-sm">新增</a><a href="javascript:ListAll()" class="btn btn-success btn-sm">管理</a></span> | |||
</div> | |||
<!--/.card-header--> | |||
<div class="card-body"> | |||
<ul class="nav"> | |||
<?php | |||
@@ -110,40 +80,34 @@ | |||
if(is_array($dtp->CTags)){ | |||
foreach($dtp->CTags as $ctag){ | |||
$title = $ctag->GetAtt('title'); | |||
$ico = $ctag->GetAtt('ico'); | |||
$link = $ctag->GetAtt('link'); | |||
echo "<li class='nav-item'><a class='nav-link' href='{$link}'><img src='{$ico}'> {$title}</a></li>\r\n"; | |||
echo "<a href='{$link}' class='btn btn-success btn-sm'>{$title}</a>"; | |||
} | |||
} | |||
?> | |||
</ul> | |||
</div> | |||
<!--/.card-body--> | |||
</div> | |||
<!--/.card--> | |||
</div> | |||
<div class="col-md-6 mt-3"> | |||
<div class="card"> | |||
<div class="card-header"> | |||
系统基本信息 | |||
</div> | |||
<!--/.card-header--> | |||
<div class="card-header">系统基本信息</div> | |||
<div class="card-body"> | |||
<table width="98%" class="table table-borderless"> | |||
<tr> | |||
<td width="25%" class='nline' style="text-align:right">您的级别:</td> | |||
<td class='nline'> | |||
<?php | |||
<?php | |||
if($cuserLogin->getUserType()==10) { | |||
echo "总管理员"; | |||
} else if($cuserLogin->getUserType()==5) { | |||
echo "频道总编"; | |||
} else { | |||
} else if($cuserLogin->getUserType()==5) { | |||
echo "频道总编"; | |||
} else { | |||
echo "信息采集员或其它管理员"; | |||
} | |||
?> | |||
<a href="javascript:showMore()" class="btn btn-success btn-sm">查看更多</a></td> | |||
} | |||
?> | |||
<a href="javascript:showMore()" class="btn btn-success btn-sm">查看更多</a></td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" class='nline' id="allInfoTD" style="display:none"> | |||
@@ -151,61 +115,53 @@ | |||
style="display:none"> | |||
<tr> | |||
<td rowspan="5" class='nline' style="text-align:right">PHP环境摘要:</td> | |||
<td class='nline' style="text-align:left"> | |||
PHP版本:<?php echo @phpversion(); ?> GD版本:<?php echo @gdversion(); ?> | |||
</td> | |||
<td class='nline' style="text-align:left">PHP版本:<?php echo @phpversion(); ?> GD版本:<?php echo @gdversion(); ?></td> | |||
</tr> | |||
<tr> | |||
<td class='nline' style="text-align:left">是否安全模式:<font color='red'> | |||
<?php echo ($isSafeMode ? 'On' : 'Off')?></font> | |||
<?php echo ($isSafeMode ? 'On' : 'Off')?></font> | |||
<?php | |||
if($isSafeMode) { | |||
echo "<br> <font color='blue'>由于您的系统以安全模式运行,为了确保程序兼容性,第一次进入本系统时请更改“<a href='sys_info.php'><u>更改系统参数</u></a>”里的FTP选项,并选择用FTP形式创建目录</font>"; | |||
} | |||
?> | |||
if($isSafeMode) { | |||
echo "由于您的系统以安全模式运行,为了确保程序兼容性,第一次进入本系统时请更改“ <a href='sys_info.php' class='btn btn-success btn-smm'>更改系统参数</a> ”里的FTP选项,并选择用FTP形式创建目录"; | |||
} | |||
?> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class='nline' style="text-align:left"> | |||
Register_Globals:<font color='red'> | |||
<?php echo ini_get("register_globals") ? 'On' : 'Off'?></font> | |||
| |||
Magic_Quotes_Gpc:<font color='red'> | |||
<?php echo ini_get("magic_quotes_gpc") ? 'On' : 'Off'?></font> | |||
<span style="margin-right:10px">Register_Globals:<?php echo ini_get("register_globals") ? 'On' : 'Off'?></span> | |||
<span>Magic_Quotes_Gpc:<?php echo ini_get("magic_quotes_gpc") ? 'On' : 'Off'?></span> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class='nline' style="text-align:left"> | |||
支持上传的最大文件:<?php echo ini_get("post_max_size")?></td> | |||
<td class='nline' style="text-align:left">支持上传的最大文件:<?php echo ini_get("post_max_size")?></td> | |||
</tr> | |||
<tr> | |||
<td class='nline' style="text-align:left"> | |||
是否允许打开远程连接:<?php echo ini_get("allow_url_fopen") ? '支持' : '不支持'; ?></td> | |||
<td class='nline' style="text-align:left">是否允许打开远程连接:<?php echo ini_get("allow_url_fopen") ? '支持' : '不支持'; ?></td> | |||
</tr> | |||
<tr> | |||
<td class='nline' style="text-align:right"> 其它必须函数检测:</td> | |||
<td class='nline' style="text-align:left"> | |||
<?php | |||
$needfunc = array('dir','phpinfo'); | |||
$n = 0; | |||
foreach($needfunc as $k) { | |||
if(!function_exists($k)) { | |||
echo "<font color='red'>[{$k}×]</font> "; | |||
$n++; | |||
} | |||
} | |||
if($n==0) { | |||
echo "符合要求"; | |||
} else { | |||
echo "被禁用的函数可能导致部份功能无法使用!"; | |||
} | |||
?> | |||
$needfunc = array('dir','phpinfo'); | |||
$n = 0; | |||
foreach($needfunc as $k) { | |||
if(!function_exists($k)) { | |||
echo "<span class='btn btn-danger'>[{$k}×]</span> "; | |||
$n++; | |||
} | |||
} | |||
if($n==0) { | |||
echo "符合要求"; | |||
} else { | |||
echo "被禁用的函数可能导致部份功能无法使用!"; | |||
} | |||
?> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class='nline' style="text-align:right"> 软件版本信息: </td> | |||
<td class='nline' style="text-align:left"> | |||
版本名称:<?php echo $cfg_soft_enname; ?> 版本号:<?php echo $cfg_version; ?> | |||
<td class='nline' style="text-align:left">版本名称:<?php echo $cfg_soft_enname; ?> 版本号:<?php echo $cfg_version; ?> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -213,33 +169,23 @@ | |||
</tr> | |||
</table> | |||
</div> | |||
<!--/.card-body--> | |||
</div> | |||
<!--/.card--> | |||
</div> | |||
<div class="col-md-6 mt-3"> | |||
<div class="card"> | |||
<div class="card-header"> | |||
信息统计 | |||
</div> | |||
<!--/.card-header--> | |||
<div class="card-header">信息统计</div> | |||
<div class="card-body"> | |||
<dd id='listCount'> | |||
正在载入中... | |||
</dd> | |||
</div> | |||
<!--/.card-body--> | |||
</div> | |||
<!--/.card--> | |||
</div> | |||
<div class="col-md-6 mt-3"> | |||
<div class="card"> | |||
<div class="card-header"> | |||
最新文档 | |||
</div> | |||
<!--/.card-header--> | |||
<div class="card-header">最新文档</div> | |||
<div class="card-body"> | |||
<?php | |||
$query = "SELECT arc.id, arc.arcrank, arc.title, arc.channel, ch.editcon FROM `#@__archives` arc | |||
@@ -271,31 +217,23 @@ | |||
</tr> | |||
<?php | |||
} | |||
} else { | |||
?> | |||
} else { | |||
?> | |||
<tr> | |||
<td class='nline' style="text-align:left"> | |||
暂无新增内容 | |||
</td> | |||
<td class='nline' style="text-align:left">暂无新增内容</td> | |||
</tr> | |||
<?php | |||
} | |||
?> | |||
</table> | |||
</div> | |||
<!--/.card-body--> | |||
</div> | |||
<!--/.card--> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="footer"> | |||
<!-- //底部 --> | |||
<div align="center" class="footer"><?php echo $cfg_powerby; ?> Powered by <a href="http://www.dedebiz.com" title="DedeBiz商业技术支持,提供更专业强大的站点应用开发技术">DedeBIZ <?php echo $cfg_version; ?></div> | |||
<!-- 下面是隐藏的项目 --> | |||
<!--下面是隐藏的项目--> | |||
<div id='loaddiv' style='display:none'> | |||
<p align='center' style='padding-top:200px'><img src='images/loadinglit.gif'> 请稍后,正在下载更新文件列表...</p> | |||
</div> | |||
@@ -308,10 +246,9 @@ | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td height='28' colspan='3' background="images/tbg.gif"> | |||
<div style='float:left'><b>增加快捷操作项</b></div> | |||
<div style='float:left'>增加快捷操作项</div> | |||
<div style='float:right;padding:4px 10px 0 0'> | |||
<a href="javascript:CloseTab('addTab')"><img src="images/close.gif" width="12" | |||
height="12" border="0" /></a> | |||
<a href="javascript:CloseTab('addTab')"><img src="images/close.gif" width="12" height="12" border="0"></a> | |||
</div> | |||
</td> | |||
</tr> | |||
@@ -324,12 +261,6 @@ | |||
<input name="title" type="text" id="title" class='pubinputs' style="width:255px;" /> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="28" width="20%" align="right">ICO图片:</td> | |||
<td width="70%"> | |||
<input name="ico" type="text" id="ico" class='pubinputs' style="width:255px;" /> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="28" width="20%" align="right">链接网址:</td> | |||
<td width="70%"> | |||
@@ -339,8 +270,7 @@ | |||
<tr> | |||
<td height="45"> </td> | |||
<td> | |||
<input type="submit" name="Submit" value="保存项目" class="np coolbg" | |||
style="width:80px;cursor:pointer" /> | |||
<input type="submit" name="Submit" value="保存项目" class="np coolbg" style="width:80px;cursor:pointer" /> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -349,38 +279,33 @@ | |||
</div> | |||
<script> | |||
var dedebizInfo; | |||
function ViewDedeBIZ() { | |||
console.log(dedebizInfo); | |||
ShowMsg(` | |||
<table width="100%" class="table table-borderless"><tbody> | |||
<tr> | |||
<td class="nline" style="text-align:left"> 版本号: </td> | |||
<td class="nline" style="text-align:left"> v${dedebizInfo.result.server_version} </td> | |||
</tr> | |||
<tr> | |||
<td class="nline" style="text-align:left"> 运行时间: </td> | |||
<td class="nline" style="text-align:left"> ${dedebizInfo.result.server_run_time} </td> | |||
</tr> | |||
<tr> | |||
<td class="nline" style="text-align:left"> 服务器系统: </td> | |||
<td class="nline" style="text-align:left"> ${dedebizInfo.result.server_goos}(${dedebizInfo.result.server_goarch}) </td> | |||
</tr> | |||
<tr> | |||
<td class="nline" style="text-align:left"> 内存占用: </td> | |||
<td class="nline" style="text-align:left"> ${dedebizInfo.result.server_memory_usage}% </td> | |||
</tr> | |||
</tbody></table> | |||
<table width="100%" class="table table-borderless"> | |||
<tbody> | |||
<tr> | |||
<td class="nline" style="text-align:left"> 版本号: </td> | |||
<td class="nline" style="text-align:left"> v${dedebizInfo.result.server_version} </td> | |||
</tr> | |||
<tr> | |||
<td class="nline" style="text-align:left"> 运行时间: </td> | |||
<td class="nline" style="text-align:left"> ${dedebizInfo.result.server_run_time} </td> | |||
</tr> | |||
<tr> | |||
<td class="nline" style="text-align:left"> 服务器系统: </td> | |||
<td class="nline" style="text-align:left"> ${dedebizInfo.result.server_goos}(${dedebizInfo.result.server_goarch}) </td> | |||
</tr> | |||
<tr> | |||
<td class="nline" style="text-align:left"> 内存占用: </td> | |||
<td class="nline" style="text-align:left"> ${dedebizInfo.result.server_memory_usage}% </td> | |||
</tr> | |||
</tbody> | |||
</table> | |||
`); | |||
} | |||
// 加载服务信息 | |||
//加载服务信息 | |||
function LoadServer() { | |||
$.get("index_body.php?dopost=system_info", function (data) { | |||
let rsp = JSON.parse(data); | |||
@@ -390,7 +315,7 @@ | |||
infoStr += ` | |||
<tr> | |||
<td class="nline" style="text-align:left"> 授权域名: </td> | |||
<td class="nline" style="text-align:left"> ${rsp.result.domain} <a href="<?php echo $cfg_biz_dedebizUrl;?>/auth/?domain=${rsp.result.domain}"><b>【查看】</b></a> </td> | |||
<td class="nline" style="text-align:left"> ${rsp.result.domain} <a href="<?php echo $cfg_biz_dedebizUrl;?>/auth/?domain=${rsp.result.domain}"><b>【查看】</b></a></td> | |||
</tr> | |||
`; | |||
} | |||
@@ -418,9 +343,8 @@ | |||
</tr> | |||
`; | |||
} | |||
if (rsp.result.core === null || rsp.result.core.code != 200) { | |||
// 下面是DedeBIZ Core组件信息 | |||
//下面是DedeBIZ Core组件信息 | |||
infoStr += ` | |||
<tr> | |||
<td class="nline" style="text-align:left"> 商业组件: </td> | |||
@@ -437,7 +361,6 @@ | |||
`; | |||
} | |||
infoStr += "</tbody></table>"; | |||
$("#_systeminfo").html(infoStr); | |||
} else { | |||
$("#_systeminfo").html(` | |||
@@ -448,7 +371,6 @@ | |||
} | |||
}); | |||
} | |||
$(document).ready(function () { | |||
LoadServer(); | |||
setInterval(function () { | |||
@@ -457,5 +379,4 @@ | |||
}); | |||
</script> | |||
</body> | |||
</html> |
@@ -1,54 +1,33 @@ | |||
<!doctype html> | |||
<html lang="zh-CN"> | |||
<head> | |||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |||
<link rel="stylesheet" href="../static/css/bootstrap.min.css"> | |||
<link rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/css/dede.css"> | |||
<title><?php echo $cfg_webname; ?>后台登录-<?php echo $cfg_soft_enname; ?> <?php echo $cfg_version_detail; ?></title> | |||
<title><?php echo $cfg_webname; ?>后台登录</title> | |||
<style> | |||
body { | |||
font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif; | |||
background-color:#f2f2f2 | |||
} | |||
header { | |||
background-color:#fff | |||
} | |||
header .logo { | |||
width:260px; | |||
padding:1em 0 | |||
} | |||
.login-from { | |||
max-width:620px; | |||
width:100% | |||
} | |||
.login-area { | |||
background-color:#fff; | |||
padding:1em | |||
} | |||
.login-area .btnLogin { | |||
width:100% | |||
} | |||
.login-power { | |||
padding:1em 0 | |||
} | |||
.login-power a,.goindex a { | |||
color:#3DB058 | |||
} | |||
.goindex { | |||
line-height:60px | |||
} | |||
body{font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;background-color:#f2f2f2} | |||
header{background-color:#fff} | |||
header .logo{width:260px;padding:1em 0} | |||
.login-from{max-width:620px;width:100%} | |||
.login-area{background-color:#fff;padding:1em} | |||
.login-area .btnLogin{width:100%} | |||
.login-power{padding:1em 0} | |||
.login-power a,.goindex a{color:#3DB058} | |||
.goindex{line-height:60px} | |||
</style> | |||
</head> | |||
<body> | |||
<header> | |||
<div class="container top"> | |||
<div class="row"> | |||
<div class="col-6"><a href="."><img class="logo" src="../static/img/admin-logo.png" alt="<?php echo $cfg_soft_enname; ?>"></a></div> | |||
<div class="col-6"> | |||
<a href="javascript:;"><img class="logo" src="../static/img/admin-logo.png" title="<?php echo $cfg_soft_enname; ?>"></a> | |||
</div> | |||
<div class="col-6 d-flex justify-content-end goindex"> | |||
<a href="../index.php"><i class="fa fa-home" aria-hidden="true"></i></a> | |||
<a href="../index.php" target="_blank"><i class="fa fa-home" aria-hidden="true"></i></a> | |||
</div> | |||
</div> | |||
</div> | |||
@@ -71,16 +50,22 @@ header .logo { | |||
<label for="iptPassword">密码</label> | |||
<input type="password" name="pwd" class="form-control" id="iptPassword"> | |||
</div> | |||
<?php | |||
if(preg_match("/6/",$safe_gdopen)) | |||
{ | |||
?> | |||
<div class="form-group"> | |||
<label for="iptValidate">验证码</label> | |||
<div class="input-group"> | |||
<input type="text" name="validate" class="form-control" id="iptValidate" style="text-transform:uppercase"> | |||
<img src="../plus/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src='../plus/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码"> | |||
<img src="../plus/vdimgck.php" id="validateimg" onclick="this.src='../plus/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" style="cursor:pointer"> | |||
</div> | |||
</div> | |||
<?php | |||
} | |||
?> | |||
<button type="submit" class="btn btn-success btnLogin">登录</button> | |||
<div class="login-power"><?php echo $cfg_powerby; ?> Powered by <a href="http://www.dedebiz.com" title="DedeBiz商业技术支持,提供更专业强大的站点应用开发技术">DedeBIZ <?php echo $cfg_version; ?></a> | |||
</div> | |||
<div class="login-power"><?php echo $cfg_powerby; ?></div> | |||
</form> | |||
</div> | |||
</main> | |||
@@ -1,29 +1,19 @@ | |||
<!DOCTYPE html | |||
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |||
<html xmlns="http://www.w3.org/1999/xhtml"> | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title>模板管理器</title> | |||
<link rel="stylesheet" href="../static/css/bootstrap.min.css"> | |||
<link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet"> | |||
<link href="css/base.css" rel="stylesheet" type="text/css" /> | |||
<style type="text/css"> | |||
.linerow { | |||
border-bottom: 1px solid #CBD8AC; | |||
} | |||
td { | |||
padding-left: 5px; | |||
} | |||
a.btn { | |||
color: white!important; | |||
} | |||
<style> | |||
.linerow{border-bottom:1px solid #CBD8AC} | |||
td{padding-left:6px} | |||
a.btn{color:white!important} | |||
</style> | |||
<script language="javascript"> | |||
function DelTpl(filename) { | |||
if (window.confirm('你确定要删除这篇文档吗?')) location = 'tpl.php?action=del&acdir=<?php echo $acdir; ?>&filename=' + filename; | |||
if (window.confirm('你确定要删除这篇文档吗')) location = 'tpl.php?action=del&acdir=<?php echo $acdir; ?>&filename=' + filename; | |||
else return false; | |||
} | |||
</script> | |||
@@ -48,14 +38,12 @@ | |||
<tr> | |||
<td colspan='4' height="28" bgcolor="#F9FCEF"> | |||
<div style='float:left'> | |||
<b> | |||
当前位置: | |||
<?php | |||
if($acdir=='plus') echo '插件模板'; | |||
else if($acdir=='system') echo '底层模板'; | |||
else echo '核心模板 > '.$acdir; | |||
?> | |||
</b> | |||
当前位置: | |||
<?php | |||
if($acdir=='plus') echo '插件模板'; | |||
else if($acdir=='system') echo '底层模板'; | |||
else echo '核心模板 > '.$acdir; | |||
?> | |||
</div> | |||
<div style='float:right;padding-right:10px'> | |||
<a class="btn btn-success btn-sm" href='templets_main.php'>默认模板目录</a> | |||
@@ -64,51 +52,39 @@ | |||
</td> | |||
</tr> | |||
<?php | |||
$dh = dir($templetdird); | |||
while($filename=$dh->read()) | |||
{ | |||
if(!preg_match("#\.htm#", $filename)) continue; | |||
$filetime = filemtime($templetdird.'/'.$filename); | |||
$filetime = MyDate("Y-m-d H:i",$filetime); | |||
$fileinfo = (isset($fileinfos[$filename]) ? $fileinfos[$filename] : '未知模板'); | |||
?> | |||
<tr height="26" bgcolor='#FFFFFF' onMouseMove="javascript:this.bgColor='#FCFDEE';" | |||
onMouseOut="javascript:this.bgColor='#FFFFFF';"> | |||
<td> | |||
<a href='<?php echo $templeturld.'/'.$filename; ?>' target='_blank'> | |||
<img src='images/htm.gif' border='0' align='absmiddle' /> <?php echo $filename; ?> | |||
</a> | |||
</td> | |||
$files = scandir($templetdird); | |||
foreach ($files as $filename){ | |||
if(!preg_match("#\.htm#", $filename)) | |||
continue; | |||
$filetime = filemtime($templetdird.'/'.$filename); | |||
$filetime = MyDate("Y-m-d H:i",$filetime); | |||
$fileinfo = (isset($fileinfos[$filename]) ? $fileinfos[$filename] : '未知模板'); | |||
?> | |||
<tr height="26" bgcolor='#FFFFFF' onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> | |||
<td> | |||
<?php echo $fileinfo; ?> | |||
</td> | |||
<td align='center'> | |||
<?php echo $filetime; ?> | |||
<a href='<?php echo $templeturld.'/'.$filename; ?>' target='_blank'><img src='images/htm.gif' border='0' align='absmiddle' /> <?php echo $filename; ?></a> | |||
</td> | |||
<td><?php echo $fileinfo; ?></td> | |||
<td align='center'><?php echo $filetime; ?></td> | |||
<td align='center'> | |||
<a class="btn btn-success btn-sm" href='tpl.php?action=edit&acdir=<?php echo $acdir; ?>&filename=<?php echo $filename; ?>' title="编辑"><i class="fa fa-pencil-square-o" aria-hidden="true"></i></a> | |||
<?php | |||
if(!isset($fileinfos[$filename])) | |||
{ | |||
?> | |||
if(!isset($fileinfos[$filename])) | |||
{ | |||
?> | |||
| | |||
<a href='#' class="btn btn-success btn-sm" onClick="javascript:DelTpl('<?php echo $filename; ?>');" title="删除"><i class="fa fa-trash" aria-hidden="true"></i></a> | |||
<?php | |||
} | |||
?> | |||
} | |||
?> | |||
</td> | |||
</tr> | |||
<?php } ?> | |||
<?php | |||
} | |||
?> | |||
<tr> | |||
<td colspan="4" height='32' bgcolor="#F9FCEF"> | |||
| |||
<a class="btn btn-success" href='tpl.php?action=newfile&acdir=<?php echo $acdir; ?>'>新建模板</a> | |||
| |||
<a class="btn btn-success" href='tpl.php?action=upload&acdir=<?php echo $acdir; ?>'>上传模板</a> | |||
</td> | |||
<td colspan="4" height='36' bgcolor="#F9FCEF"><a class="btn btn-success" href='tpl.php?action=newfile&acdir=<?php echo $acdir; ?>'>新建模板</a> <a class="btn btn-success" href='tpl.php?action=upload&acdir=<?php echo $acdir; ?>'>上传模板</a></td> | |||
</tr> | |||
</table> | |||
</body> | |||
</html> |