@@ -91,7 +91,7 @@ | |||
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
[<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -43,7 +43,7 @@ | |||
else if(document.all[obj].style.pixelHeight>80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
[<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
</td> | |||
</tr> | |||
</table></td> | |||
@@ -92,7 +92,7 @@ $dsql->Close(); | |||
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
[<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -167,7 +167,7 @@ | |||
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
[<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -1,21 +1,21 @@ | |||
<!DOCTYPE html> | |||
<html> | |||
<head> | |||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||
<title>文档管理</title> | |||
<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="css/base.css"> | |||
<script src="../static/js/jquery.js"></script> | |||
<script src="../static/js/bootstrap.bundle.js"></script> | |||
<script src="../static/js/dedeajax2.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> | |||
<style> | |||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||
<title>文档管理</title> | |||
<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="css/base.css"> | |||
<script src="../static/js/jquery.js"></script> | |||
<script src="../static/js/bootstrap.bundle.js"></script> | |||
<script src="../static/js/dedeajax2.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> | |||
<style> | |||
.btn+.btn{margin-left:10px} | |||
</style> | |||
</style> | |||
</head> | |||
<body leftmargin="8" topmargin="8" background="images/allbg.gif" onLoad="ContextMenu.intializeContextMenu()"> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable table-bordered mt-3"> | |||
@@ -1,11 +1,11 @@ | |||
<!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><?php echo $diy->name; ?></title> | |||
<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="css/base.css"> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title><?php echo $diy->name; ?></title> | |||
<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="css/base.css"> | |||
</head> | |||
<body background="images/allbg.gif" leftmargin="8" topmargin="8"> | |||
<div class="bodytitle mt-3"> | |||
@@ -2,11 +2,11 @@ | |||
<!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 rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="css/base.css"> | |||
<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 rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="css/base.css"> | |||
</head> | |||
<body background="images/allbg.gif" leftmargin="8" topmargin="8"> | |||
<div class="bodytitle mt-3"> | |||
@@ -60,20 +60,20 @@ | |||
var startloop = 1; | |||
var endnum = 0; | |||
ahtml += "<li class='page-item d-none d-sm-block disabled'><span class=\"page-link\">共:" + totalrow + " 条记录/" + pagenum + "页</span></li>"; | |||
if (pageno > 1 && pageno != 1) ahtml += "<li class='page-item d-none d-sm-block disabled'><a href='#' class=\"page-link\" onclick='LoadPage(1)'>首页</a></li>"; | |||
if (pageno > 1) ahtml += "<li class='page-item d-none d-sm-block'><a href='#' class=\"page-link\" onclick='LoadPage(" + (pageno - 1) + ")'>↑上页</a></li> "; | |||
if (pageno > 1 && pageno != 1) ahtml += "<li class='page-item d-none d-sm-block disabled'><a href='javascript:;' class=\"page-link\" onclick='LoadPage(1)'>首页</a></li>"; | |||
if (pageno > 1) ahtml += "<li class='page-item d-none d-sm-block'><a href='javascript:;' class=\"page-link\" onclick='LoadPage(" + (pageno - 1) + ")'>↑上页</a></li> "; | |||
if (startnum >= pagenum - listsize) { | |||
startloop = pagenum - (listsize * 2); | |||
if (startloop < 1) startloop = 1; | |||
for (i = startloop; i <= pagenum; i++) { | |||
if (i == pageno) ahtml += "<li class='page-item d-none d-sm-block disabled'><span class=\"page-link\">" + i + "</span></li>"; | |||
else ahtml += "<li class='page-item d-none d-sm-block'><a class=\"page-link\" href='#' onclick='LoadPage(" + i + ")'>[" + i + "]</a></li>"; | |||
else ahtml += "<li class='page-item d-none d-sm-block'><a class=\"page-link\" href='javascript:;' onclick='LoadPage(" + i + ")'>[" + i + "]</a></li>"; | |||
} | |||
} | |||
else if (pagenum < listsize) { | |||
for (i = 1; i <= pagenum; i++) { | |||
if (i == pageno) ahtml += i + " "; | |||
else ahtml += "<li class='page-item d-none d-sm-block'><a class=\"page-link\" href='#' onclick='LoadPage(" + i + ")'>[" + i + "]</a></li>"; | |||
else ahtml += "<li class='page-item d-none d-sm-block'><a class=\"page-link\" href='javascript:;' onclick='LoadPage(" + i + ")'>[" + i + "]</a></li>"; | |||
} | |||
} | |||
else { | |||
@@ -83,11 +83,11 @@ | |||
if (endnum >= pagenum) endnum = pagenum; | |||
for (i = startloop; i <= endnum; i++) { | |||
if (i == pageno) ahtml += i + " "; | |||
else ahtml += "<li class='page-item d-none d-sm-block'><a class=\"page-link\" href='#' onclick='LoadPage(" + i + ")'>[" + i + "]</a></li>"; | |||
else ahtml += "<li class='page-item d-none d-sm-block'><a class=\"page-link\" href='javascript:;' onclick='LoadPage(" + i + ")'>[" + i + "]</a></li>"; | |||
} | |||
} | |||
if (pageno < pagenum) ahtml += "<li class='page-item d-none d-sm-block'><a class=\"page-link\" href='#' onclick='LoadPage(" + (pageno + 1) + ")'>下页↓</a></li>"; | |||
if (pageno != pagenum && pagenum > 1) ahtml += "<li class='page-item d-none d-sm-block'><a class=\"page-link\" href='#' onclick='LoadPage(" + pagenum + ")'>末页</a></li>"; | |||
if (pageno < pagenum) ahtml += "<li class='page-item d-none d-sm-block'><a class=\"page-link\" href='javascript:;' onclick='LoadPage(" + (pageno + 1) + ")'>下页↓</a></li>"; | |||
if (pageno != pagenum && pagenum > 1) ahtml += "<li class='page-item d-none d-sm-block'><a class=\"page-link\" href='javascript:;' onclick='LoadPage(" + pagenum + ")'>末页</a></li>"; | |||
ListArea.innerHTML = ahtml+"</ul>"; | |||
} | |||
</script> | |||
@@ -113,9 +113,9 @@ | |||
<tr bgcolor="#ffffff" height="28"> | |||
<td colspan="8"> | |||
<a href='#' onclick='Sel("all")' class="btn btn-success btn-sm">全选</a> | |||
<a href='#' onclick='Sel("none")' class="btn btn-success btn-sm">取消</a> | |||
<a href='#' onclick='checkSubmit()' class="btn btn-success btn-sm">批量删除</a> | |||
<a href='javascript:;' onclick='Sel("all")' class="btn btn-success btn-sm">全选</a> | |||
<a href='javascript:;' onclick='Sel("none")' class="btn btn-success btn-sm">取消</a> | |||
<a href='javascript:;' onclick='checkSubmit()' class="btn btn-success btn-sm">批量删除</a> | |||
</td> | |||
</tr> | |||
@@ -1,14 +1,14 @@ | |||
<!DOCTYPE html> | |||
<html> | |||
<head> | |||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||
<meta name="robots" content="noindex,nofollow"> | |||
<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> | |||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||
<meta name="robots" content="noindex,nofollow"> | |||
<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} | |||
@@ -21,7 +21,7 @@ | |||
#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> | |||
</style> | |||
</head> | |||
<body class="showmenu"> | |||
<div class="pagemask"></div> | |||
@@ -1,42 +1,42 @@ | |||
<!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> | |||
<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 rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="css/base.css"> | |||
<link rel="stylesheet" href="css/indexbody.css"> | |||
<script src="../static/js/jquery.js"></script> | |||
<script src="../static/js/bootstrap.bundle.js"></script> | |||
<script src="../static/js/dedeajax2.js"></script> | |||
<script src="js/indexbody.js"></script> | |||
<script src="js/main.js"></script> | |||
<script> | |||
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); | |||
} | |||
}); | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<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 rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="css/base.css"> | |||
<link rel="stylesheet" href="css/indexbody.css"> | |||
<script src="../static/js/jquery.js"></script> | |||
<script src="../static/js/bootstrap.bundle.js"></script> | |||
<script src="../static/js/dedeajax2.js"></script> | |||
<script src="js/indexbody.js"></script> | |||
<script src="js/main.js"></script> | |||
<script> | |||
function showMore() { | |||
$("#allInfo").toggle(); | |||
$("#allInfoTD").toggle(); | |||
} | |||
$(function () { | |||
$.get("index_testenv.php", function (data) { | |||
if (data !== '') { | |||
$("#__testEvn").html(data); | |||
} | |||
}); | |||
</script> | |||
<style> | |||
$.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} | |||
.btn+.btn{margin-left:10px} | |||
</style> | |||
</style> | |||
</head> | |||
<body> | |||
<div class="container-fluid"> | |||
@@ -1,15 +1,15 @@ | |||
<html> | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title>DedeBIZ menu</title> | |||
<link rel="stylesheet" href="css/base.css"> | |||
<script src="../static/js/dedeajax2.js"></script> | |||
<script src="../static/js/jquery.js"></script> | |||
<?php | |||
echo "<script>var curopenItem = '$openitem';</script>"; | |||
?> | |||
<script src="js/leftmenu.js"></script> | |||
<style> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title>DedeBIZ menu</title> | |||
<link rel="stylesheet" href="css/base.css"> | |||
<script src="../static/js/dedeajax2.js"></script> | |||
<script src="../static/js/jquery.js"></script> | |||
<?php | |||
echo "<script>var curopenItem = '$openitem';</script>"; | |||
?> | |||
<script src="js/leftmenu.js"></script> | |||
<style> | |||
body{margin:0;background:#f2f2f2;padding-left:10px;overflow:scroll;overflow-x:hidden} | |||
img{margin-right:0} | |||
div{margin:0;padding:0} | |||
@@ -27,11 +27,10 @@ a.mm div{padding:7px 4px 4px 10px;height:40px;font-weight:600;color:#475645;back | |||
a.mm:hover div{color:#4f7632;background:url(images/leftbg2.gif)no-repeat} | |||
#mainct{padding-top:12px;background:url(images/idnbg1.gif)repeat-y} | |||
.mmf{padding:6px} | |||
</style> | |||
<link rel="stylesheet" href="images/style<?php echo $cfg_admin_skin;?>/style.css"> | |||
<base target="main"> | |||
</style> | |||
<link rel="stylesheet" href="images/style<?php echo $cfg_admin_skin;?>/style.css"> | |||
<base target="main"> | |||
</head> | |||
<body target="main" onLoad="CheckOpenMenu();"> | |||
<table width="180" align="left" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
@@ -1,14 +1,14 @@ | |||
<!DOCTYPE html> | |||
<html> | |||
<head> | |||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||
<meta name="robots" content="noindex,nofollow"> | |||
<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; ?>后台登录</title> | |||
<style> | |||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||
<meta name="robots" content="noindex,nofollow"> | |||
<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; ?>后台登录</title> | |||
<style> | |||
body{font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;background:#f2f2f2} | |||
header{background:#ffffff} | |||
header .logo{width:260px;padding:1rem 0} | |||
@@ -18,7 +18,7 @@ header .logo{width:260px;padding:1rem 0} | |||
.login-power{padding-top:1rem} | |||
.login-power a,.goindex a{color:#3DB058} | |||
.goindex{line-height:60px} | |||
</style> | |||
</style> | |||
</head> | |||
<body> | |||
<header> | |||
@@ -4,128 +4,115 @@ | |||
<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" /> | |||
<link href="../static/css/daterangepicker.css" rel="stylesheet"> | |||
<script src="../static/js/jquery.js" language="javascript" type="text/javascript"></script> | |||
<script type="text/javascript" src="../static/js/moment.min.js"></script> | |||
<script type="text/javascript" src="../static/js/daterangepicker.js"></script> | |||
<script language="javascript"> | |||
$(document).ready(function () { | |||
<link rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="css/base.css" rel="stylesheet"> | |||
<link rel="stylesheet" href="../static/css/daterangepicker.css"> | |||
<script src="../static/js/jquery.js"></script> | |||
<script src="../static/js/moment.min.js"></script> | |||
<script src="../static/js/daterangepicker.js"></script> | |||
<script> | |||
$(document).ready(function () { | |||
$('.datepicker').daterangepicker({ | |||
"singleDatePicker": true, | |||
"autoApply": true, | |||
"showDropdowns": true, | |||
"linkedCalendars": false, | |||
"timePicker": true, | |||
"timePicker24Hour": true, | |||
// "timePickerSeconds": true, | |||
"showCustomRangeLabel": false, | |||
ranges: { | |||
'今日': [moment(), moment()], | |||
'昨日': [moment().subtract(1, 'days'), moment().subtract(1, 'days')], | |||
'本月': [moment().startOf('month'), moment().startOf('month')], | |||
'上月': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').startOf('month')] | |||
}, | |||
"locale": { | |||
format: 'YYYY-MM-DD HH:mm', | |||
applyLabel: '确定', | |||
cancelLabel: '取消', | |||
daysOfWeek: ['日', '一', '二', '三', '四', '五', '六'], | |||
monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', | |||
'七月', '八月', '九月', '十月', '十一月', '十二月'], | |||
firstDay: 1 | |||
} | |||
"singleDatePicker": true, | |||
"autoApply": true, | |||
"showDropdowns": true, | |||
"linkedCalendars": false, | |||
"timePicker": true, | |||
"timePicker24Hour": true, | |||
"showCustomRangeLabel": false, | |||
ranges: { | |||
'今日': [moment(), moment()], | |||
'昨日': [moment().subtract(1, 'days'), moment().subtract(1, 'days')], | |||
'本月': [moment().startOf('month'), moment().startOf('month')], | |||
'上月': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').startOf('month')] | |||
}, | |||
"locale": { | |||
format: 'YYYY-MM-DD HH:mm', | |||
applyLabel: '确定', | |||
cancelLabel: '取消', | |||
daysOfWeek: ['日', '一', '二', '三', '四', '五', '六'], | |||
monthNames: ['一月', '二月', '三月', '四月', '五月', '六月','七月', '八月', '九月', '十月', '十一月', '十二月'], | |||
firstDay: 1 | |||
} | |||
}, function (start) { | |||
$(this).val(start.format("YYYY-MM-DD HH:mm")); | |||
$(this).val(start.format("YYYY-MM-DD HH:mm")); | |||
}); | |||
}) | |||
}) | |||
</script> | |||
<script language='javascript'> | |||
<script> | |||
function SelUp(){ | |||
var ob1 = document.getElementById("uptype1"); | |||
var ob2 = document.getElementById("uptype2"); | |||
var ob3 = document.getElementById("uptype3"); | |||
if(ob1.checked){ | |||
document.getElementById("seltime").style.display = ""; | |||
document.getElementById("selid").style.display = "none"; | |||
}else if(ob2.checked){ | |||
document.getElementById("seltime").style.display = "none"; | |||
document.getElementById("selid").style.display = ""; | |||
}else{ | |||
document.getElementById("seltime").style.display = "none"; | |||
document.getElementById("selid").style.display = "none"; | |||
var ob1 = document.getElementById("uptype1"); | |||
var ob2 = document.getElementById("uptype2"); | |||
var ob3 = document.getElementById("uptype3"); | |||
if(ob1.checked){ | |||
document.getElementById("seltime").style.display = ""; | |||
document.getElementById("selid").style.display = "none"; | |||
} else if(ob2.checked){ | |||
document.getElementById("seltime").style.display = "none"; | |||
document.getElementById("selid").style.display = ""; | |||
} else { | |||
document.getElementById("seltime").style.display = "none"; | |||
document.getElementById("selid").style.display = "none"; | |||
} | |||
} | |||
</script> | |||
</head> | |||
<body background='images/allbg.gif' leftmargin='8' topmargin='8'> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" align="center" class="table maintable table-bordered mt-3"> | |||
<form name="form1" action="makehtml_all.php" target="stafrm" method="post"> | |||
<input type="hidden" name="action" value="make" /> | |||
<tr> | |||
<td height="28" colspan="2" bgcolor="#EDF9D5" background='images/tbg.gif' style="padding-left:10px;"> | |||
<strong>一键更新网站:</strong></td> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="30%" height="30" bgcolor="#FFFFFF"> 更新选项:</td> | |||
<td valign="top" bgcolor="#FFFFFF"> | |||
<label><input name="uptype" id="uptype1" type="radio" class="btn btn-success btn-sm" value="time" onClick="SelUp()" checked="checked" /> | |||
指定时间的所有更新</label> | |||
<label><input name="uptype" id="uptype2" type="radio" class="btn btn-success btn-sm" onClick="SelUp()" value="id" /> | |||
指定ID文档的所有更新</label> | |||
<label><input name="uptype" id="uptype3" type="radio" class="btn btn-success btn-sm" onClick="SelUp()" value="mkall" /> | |||
更新所有</label> | |||
</td> | |||
</tr> | |||
<tr id='seltime'> | |||
<td height="20" bgcolor="#FFFFFF"> 起始时间:</td> | |||
<td height="20" bgcolor="#FFFFFF"> | |||
<input type="text" name="starttime" id="starttime" value="<?php echo GetDateMk(time()); ?>" style="width:200px" class="datepicker"/> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF" id="selid" style="display:none;"> | |||
<td height="20"> 起始ID:</td> | |||
<td height="20"> | |||
<input name="startid" type="text" id="startid" value="0" size="4" /> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="31" colspan="2" bgcolor="#ffffff" align="center" style="padding-top:6px"> | |||
<button type="submit" name="Submit" class="btn btn-success">开始更新</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr bgcolor="#F9FCEF"> | |||
<td height="20" colspan="2"> | |||
<table width="100%" class="table table-borderless"> | |||
<tr> | |||
<td width="74%">进行状态: </td> | |||
<td width="26%" align="right"> | |||
<script language='javascript'> | |||
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='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] </td> | |||
<body background="images/allbg.gif" leftmargin="8" topmargin="8"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" align="center" class="table maintable table-bordered mt-3"> | |||
<form name="form1" action="makehtml_all.php" target="stafrm" method="post"> | |||
<input type="hidden" name="action" value="make"> | |||
<tr> | |||
<td height="30" colspan="2" bgcolor="#EDF9D5" background="images/tbg.gif" style="padding-left:10px"> | |||
<strong>一键更新网站:</strong></td> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="30%" height="30" bgcolor="#FFFFFF"> 更新选项:</td> | |||
<td valign="top" bgcolor="#FFFFFF"> | |||
<label><input name="uptype" id="uptype1" type="radio" value="time" onClick="SelUp()" checked="checked">指定时间的所有更新</label> | |||
<label><input name="uptype" id="uptype2" type="radio" onClick="SelUp()" value="id">指定ID文档的所有更新</label> | |||
<label><input name="uptype" id="uptype3" type="radio" onClick="SelUp()" value="mkall">更新所有</label> | |||
</td> | |||
</tr> | |||
<tr id="seltime"> | |||
<td height="26" bgcolor="#FFFFFF"> 起始时间:</td> | |||
<td height="26" bgcolor="#FFFFFF"><input type="text" name="starttime" id="starttime" value="<?php echo GetDateMk(time()); ?>" style="width:200px" class="datepicker"></td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF" id="selid" style="display:none;"> | |||
<td height="26"> 起始ID:</td> | |||
<td height="26"><input name="startid" type="text" id="startid" value="0" size="4"></td> | |||
</tr> | |||
<tr> | |||
<td height="30" colspan="2" bgcolor="#ffffff" align="center" style="padding-top:6px"><button type="submit" name="Submit" class="btn btn-success">开始更新</button></td> | |||
</tr> | |||
</form> | |||
<tr bgcolor="#F9FCEF"> | |||
<td height="26" colspan="2"> | |||
<table width="100%" class="table table-borderless"> | |||
<tr> | |||
<td width="74%">进行状态:</td> | |||
<td width="26%" 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','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<td colspan="2" id="mtd"> | |||
<div id='mdv' style='width:100%;height:350px;'> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="350px"></iframe> | |||
</div> | |||
<script language="JavaScript"> | |||
document.all.mdv.style.pixelHeight = screen.height - 360; | |||
</script> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr bgcolor="#FFFFFF"> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" style="width:100%;height:350px"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="350px"></iframe></div> | |||
<script> | |||
document.all.mdv.style.pixelHeight = screen.height - 360; | |||
</script> | |||
</td> | |||
</tr> | |||
</table> | |||
</body> | |||
</html> |
@@ -79,7 +79,7 @@ | |||
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
[<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -70,7 +70,7 @@ | |||
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
[<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -160,7 +160,7 @@ | |||
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
[<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -94,7 +94,7 @@ | |||
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
[<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -74,7 +74,7 @@ | |||
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
[<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -52,7 +52,7 @@ | |||
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
[<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -48,7 +48,7 @@ | |||
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
[<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -50,7 +50,7 @@ | |||
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
[<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -79,7 +79,7 @@ | |||
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
[<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -88,7 +88,7 @@ function changeDopost(postval) | |||
else if(document.all[obj].style.pixelHeight>80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] </td> | |||
[<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] </td> | |||
</tr> | |||
</table></td> | |||
</tr> | |||
@@ -368,7 +368,7 @@ if($ft==1) | |||
href='mychannel_field_edit.php?id=<?php echo $id; ?>&fname=<?php echo $ctag->GetTagName(); ?>&issystem=<?php echo $row['issystem']; ?>'><img | |||
src='images/gtk-edit.png' alt='更改' title='更改' /></a> | |||
<?php if($row['issystem']!=1){ ?> | |||
| <a href='#' | |||
| <a href='javascript:;' | |||
onClick='javascript:DelNote("mychannel_field_edit.php?id=<?php echo $id; ?>&fname=<?php echo $ctag->GetTagName(); ?>&action=delete");'><img | |||
src='images/gtk-del.png' alt='删除' title='删除' /></a> | |||
<?php } ?> | |||
@@ -115,7 +115,7 @@ | |||
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
[<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -82,19 +82,19 @@ | |||
var startloop = 1; | |||
var endnum = 0; | |||
ahtml += "共:" + totalrow + " 条记录/" + pagenum + "页 "; | |||
if (pageno > 1) ahtml += "<a href='#' onclick='LoadPage(" + (pageno - 1) + ")'>↑上页</a> "; | |||
if (pageno > 1) ahtml += "<a href='javascript:;' onclick='LoadPage(" + (pageno - 1) + ")'>↑上页</a> "; | |||
if (startnum >= pagenum - listsize) { | |||
startloop = pagenum - (listsize * 2); | |||
if (startloop < 1) startloop = 1; | |||
for (i = startloop; i <= pagenum; i++) { | |||
if (i == pageno) ahtml += i + " "; | |||
else ahtml += "<a href='#' onclick='LoadPage(" + i + ")'>[" + i + "]</a> "; | |||
else ahtml += "<a href='javascript:;' onclick='LoadPage(" + i + ")'>[" + i + "]</a> "; | |||
} | |||
} | |||
else if (pagenum < listsize) { | |||
for (i = 1; i <= pagenum; i++) { | |||
if (i == pageno) ahtml += i + " "; | |||
else ahtml += "<a href='#' onclick='LoadPage(" + i + ")'>[" + i + "]</a> "; | |||
else ahtml += "<a href='javascript:;' onclick='LoadPage(" + i + ")'>[" + i + "]</a> "; | |||
} | |||
} | |||
else { | |||
@@ -104,10 +104,10 @@ | |||
if (endnum >= pagenum) endnum = pagenum; | |||
for (i = startloop; i <= endnum; i++) { | |||
if (i == pageno) ahtml += i + " "; | |||
else ahtml += "<a href='#' onclick='LoadPage(" + i + ")'>[" + i + "]</a> "; | |||
else ahtml += "<a href='javascript:;' onclick='LoadPage(" + i + ")'>[" + i + "]</a> "; | |||
} | |||
} | |||
if (pageno < pagenum) ahtml += "<a href='#' onclick='LoadPage(" + (pageno + 1) + ")'>下页↓</a> "; | |||
if (pageno < pagenum) ahtml += "<a href='javascript:;' onclick='LoadPage(" + (pageno + 1) + ")'>下页↓</a> "; | |||
ListArea.innerHTML = ahtml; | |||
} | |||
</script> | |||
@@ -58,7 +58,7 @@ | |||
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
[<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -155,7 +155,7 @@ | |||
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
[<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -95,7 +95,7 @@ | |||
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight + 50; | |||
} | |||
</script> | |||
[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
[<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -1,53 +1,52 @@ | |||
<!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 rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="css/base.css"> | |||
<style> | |||
<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 rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="css/base.css"> | |||
<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; | |||
else return false; | |||
} | |||
</script> | |||
</style> | |||
<script> | |||
function DelTpl(filename) { | |||
if (window.confirm('你确定要删除这篇文档吗')) location = 'tpl.php?action=del&acdir=<?php echo $acdir; ?>&filename=' + filename; | |||
else return false; | |||
} | |||
</script> | |||
</head> | |||
<body background='images/allbg.gif' leftmargin='8' topmargin='8'> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" | |||
class="table maintable table-bordered mt-3"> | |||
<tr> | |||
<td height="28" background="images/tbg.gif" colspan="7"> | |||
<td height="30" background="images/tbg.gif" colspan="7"> | |||
<b>模板管理</b> | |||
</td> | |||
</tr> | |||
</table> | |||
<table width='98%' border='0' cellspacing='1' cellpadding='0' align="center" bgcolor="#cfcfcf" class="table maintable table-bordered"> | |||
<tr height="26" align="center"> | |||
<tr height="30" align="center"> | |||
<td width="25%" background="images/wbg.gif"><strong>文件名</strong></td> | |||
<td width="33%" background="images/wbg.gif"><strong>文件描述</strong></td> | |||
<td width="22%" background="images/wbg.gif"><strong>修改时间</strong></td> | |||
<td width="30%" background="images/wbg.gif"><strong>文件描述</strong></td> | |||
<td width="25%" background="images/wbg.gif"><strong>修改时间</strong></td> | |||
<td width="20%" background="images/wbg.gif"><strong>操作</strong></td> | |||
</tr> | |||
<tr> | |||
<td colspan='4' height="28" bgcolor="#F9FCEF"> | |||
<div style='float:left'> | |||
当前位置: | |||
<?php | |||
<td colspan="4" height="30" bgcolor="#F9FCEF"> | |||
<div style="float:left;line-height:30px"> | |||
当前位置: | |||
<?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> | |||
<a class="btn btn-success btn-sm" href='templets_main.php?acdir=plus'>插件模板目录</a> | |||
<div style="float:right;padding-right:10px"> | |||
<a class="btn btn-success btn-sm" href="templets_main.php">默认模板目录</a> | |||
<a class="btn btn-success btn-sm" href="templets_main.php?acdir=plus">插件模板目录</a> | |||
</div> | |||
</td> | |||
</tr> | |||
@@ -60,22 +59,19 @@ a.btn{color:white!important} | |||
$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> | |||
<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"><?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> | |||
<td align="center"><?php echo $filetime; ?></td> | |||
<td align="center"> | |||
<a href="tpl.php?action=edit&acdir=<?php echo $acdir; ?>&filename=<?php echo $filename; ?>" title="编辑" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o" aria-hidden="true"></i></a> | |||
<?php | |||
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> | |||
<a href="javascript:;" 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> | |||
@@ -83,7 +79,7 @@ a.btn{color:white!important} | |||
} | |||
?> | |||
<tr> | |||
<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> | |||
<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> |
@@ -36,7 +36,7 @@ | |||
else if(document.all[obj].style.pixelHeight>80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
[<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
[<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
</td> | |||
</tr> | |||
</table> | |||