Преглед изворни кода

调整之前界面,优化参数配置页面

tags/6.0.4^2
xushubieli пре 3 година
родитељ
комит
5f6d3cde3b
10 измењених фајлова са 162 додато и 180 уклоњено
  1. +1
    -1
      src/dede/templets/article_add.htm
  2. +1
    -1
      src/dede/templets/article_edit.htm
  3. +3
    -3
      src/dede/templets/catalog_menu2.htm
  4. +3
    -3
      src/dede/templets/diy_list.htm
  5. +3
    -3
      src/dede/templets/diy_main.htm
  6. +3
    -3
      src/dede/templets/index_body.htm
  7. +2
    -1
      src/dede/templets/index_menu2.htm
  8. +23
    -27
      src/dede/templets/makehtml_all.htm
  9. +115
    -132
      src/dede/templets/sys_info.htm
  10. +8
    -6
      src/dede/templets/templets_default.htm

+ 1
- 1
src/dede/templets/article_add.htm Прегледај датотеку

@@ -436,7 +436,7 @@ input,select{height:auto !important}
<tr height="36">
<td width="4%"></td>
<td width="96%" class="py-3">
<button type="submit" class="btn btn-success">保存</button>
<button type="submit" class="btn btn-success">保存</button>&nbsp;
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button>
</td>
</tr>


+ 1
- 1
src/dede/templets/article_edit.htm Прегледај датотеку

@@ -391,7 +391,7 @@ img{vertical-align:baseline}
<tr>
<td width="4%"></td>
<td width="96%">
<button type="submit" class="btn btn-success">保存</button>
<button type="submit" class="btn btn-success">保存</button>&nbsp;
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button>
</td>
</tr>


+ 3
- 3
src/dede/templets/catalog_menu2.htm Прегледај датотеку

@@ -1,7 +1,7 @@
<!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">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<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">


+ 3
- 3
src/dede/templets/diy_list.htm Прегледај датотеку

@@ -1,7 +1,7 @@
<!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">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta 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">


+ 3
- 3
src/dede/templets/diy_main.htm Прегледај датотеку

@@ -1,8 +1,8 @@
{dede:page pagesize='40'/}
<!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">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<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">


+ 3
- 3
src/dede/templets/index_body.htm Прегледај датотеку

@@ -1,7 +1,7 @@
<!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">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta 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">


+ 2
- 1
src/dede/templets/index_menu2.htm Прегледај датотеку

@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>DedeBIZ menu</title>
<link rel="stylesheet" href="css/base.css">
<script src="../static/js/dedeajax2.js"></script>


+ 23
- 27
src/dede/templets/makehtml_all.htm Прегледај датотеку

@@ -1,7 +1,7 @@
<!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">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<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">
@@ -67,42 +67,38 @@ function SelUp(){
</td>
</tr>
<tr>
<td width="30%" height="30" bgcolor="#FFFFFF">&nbsp;&nbsp;更新选项:</td>
<td width="30%" height="30" bgcolor="#FFFFFF">&nbsp;更新选项:</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>
<label><input name="uptype" id="uptype1" type="radio" value="time" onClick="SelUp()" checked="checked">&nbsp;指定时间的所有更新</label>
<label><input name="uptype" id="uptype2" type="radio" onClick="SelUp()" value="id">&nbsp;指定ID文档的所有更新</label>
<label><input name="uptype" id="uptype3" type="radio" onClick="SelUp()" value="mkall">&nbsp;更新所有</label>
</td>
</tr>
<tr id="seltime">
<td height="26" bgcolor="#FFFFFF">&nbsp;&nbsp;起始时间:</td>
<td height="26" bgcolor="#FFFFFF">&nbsp;起始时间:</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">&nbsp;&nbsp;起始ID:</td>
<tr bgcolor="#FFFFFF" id="selid" style="display:none">
<td height="26">&nbsp;起始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>
<td height="30" colspan="2" bgcolor="#ffffff" align="center"><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>]&nbsp;[<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>]
</td>
</tr>
</table>
<td colspan="2" style="line-height:30px">&nbsp;进行状态:
<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>
<span style="float:right">
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>&nbsp;
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</span>
</td>
</tr>
<tr bgcolor="#FFFFFF">


+ 115
- 132
src/dede/templets/sys_info.htm Прегледај датотеку

@@ -1,13 +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">

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>系统配置参数</title>
<script language="javascript" src="../static/js/dedeajax2.js"></script>
<script language="javascript" src="../static/js/jquery.js"></script>
<script language="javascript">
<script src="../static/js/dedeajax2.js"></script>
<script src="../static/js/jquery.js"></script>
<script>
var searchconfig = false;
function Nav() {
if (window.navigator.userAgent.indexOf("MSIE") >= 1) return 'IE';
@@ -25,13 +23,11 @@
}
$Obj('addvar').style.display = 'none';
}

function ShowHide(objname) {
var obj = $Obj(objname);
if (obj.style.display != "none") obj.style.display = "none";
else obj.style.display = (Nav() == 'IE' ? 'block' : 'table-row');
}

function backSearch() {
location.reload();
}
@@ -51,54 +47,54 @@
}
</script>
<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 rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="css/base.css">
<style>
.btn+.btn{margin-left:10px}
</style>
</head>

<body background='images/allbg.gif' leftmargin='8' topmargin='8'>
<body background="images/allbg.gif" leftmargin="8" topmargin="8">
<div style="min-width:780px">
<table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D6D6D6" align="center"
class="table maintable table-bordered mt-3">
<table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D6D6D6" align="center" class="table maintable table-bordered mt-3">
<tr>
<td height="28" background="images/tbg.gif" style="padding-left:10px;"><b>DedeBIZV6系统配置参数:</b></td>
<td height="30" background="images/tbg.gif" style="padding-left:10px;"><b>系统配置参数:</b></td>
</tr>
<tr>
<td height="24" bgcolor="#ffffff" align="center"><?php
$ds = file(DEDEADMIN.'/inc/configgroup.txt');
$totalGroup = count($ds);
$i = 0;
foreach($ds as $dl)
{
$dl = trim($dl);
if(empty($dl)) continue;
$dls = explode(',',$dl);
$i++;
if($i>1) echo " | <a href='javascript:ShowConfig($i,$totalGroup)'>{$dls[1]}</a> ";
else{
echo " <a href='javascript:ShowConfig($i,$totalGroup)'>{$dls[1]}</a> ";
}
}
?>
| <a href="javascript:;" onClick="ShowHide('addvar')">添加新变量</a></td>
<td height="30" bgcolor="#ffffff" align="left">
<?php
$ds = file(DEDEADMIN.'/inc/configgroup.txt');
$totalGroup = count($ds);
$i = 0;
foreach($ds as $dl)
{
$dl = trim($dl);
if(empty($dl)) continue;
$dls = explode(',',$dl);
$i++;
if($i>1) echo "<a href='javascript:ShowConfig($i,$totalGroup)' class='btn btn-success btn-sm'>{$dls[1]}</a>";
else {
echo "<a href='javascript:ShowConfig($i,$totalGroup)' class='btn btn-success btn-sm'>{$dls[1]}</a>";
}
}
?>
<a href="javascript:;" onClick="ShowHide('addvar')" class="btn btn-success btn-sm">添加新变量</a>
</td>
</tr>
<tr id="addvar" style="display:none">
<td height="24" bgcolor="#ffffff" align="center">
<td height="26" bgcolor="#ffffff" align="center">
<form name="fadd" action="sys_info.php" method="post">
<input type='hidden' name='dopost' value='add'>
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>" />
<table width="98%" border="0" cellspacing="0" cellpadding="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="12%" height="26">变量名称:</td>
<td width="38%" align="left"><input name="nvarname" type="text" id="nvarname" class="npvar"
style="width:80%" /></td>
<td width="38%" align="left"><input name="nvarname" type="text" id="nvarname" class="npvar" style="width:80%" /></td>
<td width="12%" align="center">变量值:</td>
<td width="38%" align="left"><input name="nvarvalue" type="text" id="nvarvalue" class="npvar"
style="width:80%" /></td>
<td width="38%" align="left"><input name="nvarvalue" type="text" id="nvarvalue" class="npvar" style="width:80%" /></td>
</tr>
<tr>
<td width="10%" height="26">变量类型:</td>
<td colspan='3' align="left"><input name="vartype" type="radio" value="string" class='np'
checked='checked' />
<td colspan='3' align="left"><input name="vartype" type="radio" value="string" class='np' checked='checked' />
文本
<input name="vartype" type="radio" value="number" class='np' />
数字
@@ -111,17 +107,18 @@ foreach($ds as $dl)
<td height="26">参数说明:</td>
<td align="left"><input type="text" name="varmsg" id="varmsg" class="npvar" style="width:80%" /></td>
<td align="center">所属组:</td>
<td align="left"><?php
<td align="left">
<?php
echo "<select name='vargroup' class='npvar'>\r\n";
foreach($ds as $dl){
$dl = trim($dl);
if(empty($dl)) continue;
$dls = explode(',',$dl);
echo "<option value='{$dls[0]}'>{$dls[1]}</option>\r\n";
$dl = trim($dl);
if(empty($dl)) continue;
$dls = explode(',',$dl);
echo "<option value='{$dls[0]}'>{$dls[1]}</option>\r\n";
}
echo "</select>\r\n";
?>
<button type="submit" class="btn btn-success btn-sm">保存变量</button>
?>
<button type="submit" class="btn btn-success btn-sm">保存变量</button>
</td>
</tr>
</table>
@@ -129,14 +126,14 @@ foreach($ds as $dl)
</td>
</tr>
</table>
<table width="98%" border="0" cellpadding="0" cellspacing="0" style="margin-top:10px" bgcolor="#D6D6D6"
align="center" class="table maintable table-bordered mt-3">
<table width="98%" border="0" cellpadding="0" cellspacing="0" style="margin-top:10px" bgcolor="#D6D6D6" align="center" class="table maintable table-bordered mt-3">
<tr>
<td height="28" align="right" background="images/tbg.gif" style="border:1px solid #cfcfcf;border-bottom:none;">
&nbsp;&nbsp;&nbsp;配置搜索:
&nbsp;配置搜索:
<input type="text" name="keywds" id="keywds" />
<button type="button" onclick="getSearch()" class="btn btn-success btn-sm">搜索</button>
&nbsp;<span id="_searchback"></span></td>
&nbsp;<span id="_searchback"></span>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF" width="100%">
@@ -145,89 +142,76 @@ foreach($ds as $dl)
<input type="hidden" name="dopost" value="save">
<div id="_search"></div>
<div id="_mainsearch">
<?php
$n = 0;
if(!isset($gp)) $gp = 1;
foreach($ds as $dl)
{
$dl = trim($dl);
if(empty($dl)) continue;
$dls = explode(',',$dl);
$n++;
?>
<table width="100%" style="<?php if($n!=$gp) echo 'display:none'; ?>" id="td<?php echo $n?>" border="0" cellspacing="1" cellpadding="1" bgcolor="#cfcfcf">
<tr align="center" bgcolor="#FBFCE2">
<td width="300">参数说明</td>
<td>参数值</td>
<td width="220">变量名</td>
</tr>
<?php
$n = 0;
if(!isset($gp)) $gp = 1;
foreach($ds as $dl)
{
$dl = trim($dl);
if(empty($dl)) continue;
$dls = explode(',',$dl);
$n++;
?>
<table width="100%" style='<?php if($n!=$gp) echo "display:none"; ?>' id="td<?php echo $n?>" border="0"
cellspacing="1" cellpadding="1" bgcolor="#cfcfcf">
<tr align="center" bgcolor="#FBFCE2">
<td width="300">参数说明</td>
<td>参数值</td>
<td width="220">变量名</td>
</tr>
<?php
$dsql->SetQuery("Select * From `#@__sysconfig` where groupid='{$dls[0]}' order by aid asc");
$dsql->Execute();
$i = 1;
while($row = $dsql->GetArray())
{
if($i%2==0)
{
$bgcolor = "#F9FCEF";
}
else
{
$bgcolor = "#ffffff";
}
$i++;
?>
<tr align="center" bgcolor="<?php echo $bgcolor?>">
<td width="300"><?php echo $row['info']; ?>: </td>
<td align="left" style="padding:8px;"><?php
if($row['type']=='bool')
{
$c1='';
$c2 = '';
$row['value']=='Y' ? $c1=" checked" : $c2=" checked";
echo "<label><input type='radio' class='np' name='edit___{$row['varname']}' value='Y'$c1> 是 </label> ";
echo "<label><input type='radio' class='np' name='edit___{$row['varname']}' value='N'$c2> 否 </label> ";
}else if($row['type']=='bstring')
{
echo "<textarea name='edit___{$row['varname']}' row='4' id='edit___{$row['varname']}' class='textarea_info' style='width:98%;height:50px'>".dede_htmlspecialchars($row['value'])."</textarea>";
}else if($row['type']=='number')
{
echo "<input type='text' name='edit___{$row['varname']}' id='edit___{$row['varname']}' value='{$row['value']}' style='width:30%'>";
}else
{
$addstr='';
if ($row['varname']=='cfg_cookie_encode') {
$addstr=' <a href="javascript:resetCookieEncode();" class="btn btn-success btn-sm">重新生成</a>';
}
echo "<input type='text' name='edit___{$row['varname']}' id='edit___{$row['varname']}' value=\"".dede_htmlspecialchars($row['value'])."\" style='width:80%'>{$addstr}";
}
?></td>
<td><?php echo $row['varname']?></td>
</tr>
$dsql->SetQuery("Select * From `#@__sysconfig` where groupid='{$dls[0]}' order by aid asc");
$dsql->Execute();
$i = 1;
while($row = $dsql->GetArray())
{
if($i%2==0)
{
$bgcolor = "#F9FCEF";
} else {
$bgcolor = "#ffffff";
}
$i++;
?>
<tr align="center" bgcolor="<?php echo $bgcolor?>">
<td width="300"><?php echo $row['info']; ?>:</td>
<td align="left">
<?php
}

?>
</table>
if($row['type']=='bool')
{
$c1='';
$c2 = '';
$row['value']=='Y' ? $c1=" checked" : $c2=" checked";
echo "<label><input type='radio' class='np' name='edit___{$row['varname']}' value='Y'$c1> 是 </label> ";
echo "<label><input type='radio' class='np' name='edit___{$row['varname']}' value='N'$c2> 否 </label> ";
} else if($row['type']=='bstring') {
echo "<textarea name='edit___{$row['varname']}' row='4' id='edit___{$row['varname']}' class='textarea_info' style='width:98%;height:50px'>".dede_htmlspecialchars($row['value'])."</textarea>";
} else if($row['type']=='number') {
echo "<input type='text' name='edit___{$row['varname']}' id='edit___{$row['varname']}' value='{$row['value']}' style='width:30%'>";
} else {
$addstr='';
if ($row['varname']=='cfg_cookie_encode') {
$addstr=' <a href="javascript:resetCookieEncode();" class="btn btn-success btn-sm">重新生成</a>';
}
echo "<input type='text' name='edit___{$row['varname']}' id='edit___{$row['varname']}' value=\"".dede_htmlspecialchars($row['value'])."\" style='width:80%'>{$addstr}";
}
?>
</td>
<td><?php echo $row['varname']?></td>
</tr>
<?php
}
?>
}
?>
</table>
<?php
}
?>
</div>
<table width="100%" border="0" cellspacing="1" cellpadding="1"
style="border:1px solid #cfcfcf;border-top:none;" class="table table-borderless">
<table width="100%" border="0" cellspacing="1" cellpadding="1" style="border:1px solid #cfcfcf;border-top:none" class="table table-borderless">
<tr bgcolor="#F9FCEF">
<td height="50" colspan="3">
<table width="98%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td width="11%">&nbsp;</td>
<td width="11%">
<button type="submit" class="btn btn-success">确定</button>
</td>
<td width="78%"><button type="button" onClick="document.form1.reset()"
class="btn btn-success">重置</button></td>
</tr>
</table>
<td width="4%"></td>
<td width="96%">
<button type="submit" class="btn btn-success">确定</button>&nbsp;
<button type="button" onClick="document.form1.reset()" class="btn btn-success">重置</button>
</td>
</tr>
</table>
@@ -237,5 +221,4 @@ if($row['type']=='bool')
</table>
</div>
</body>

</html>

+ 8
- 6
src/dede/templets/templets_default.htm Прегледај датотеку

@@ -1,14 +1,13 @@
<!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">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<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">
<style>
.linerow{border-bottom:1px solid #CBD8AC}
td{padding-left:6px}
a.btn{color:white!important}
</style>
<script>
@@ -60,7 +59,7 @@ function DelTpl(filename) {
$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"><?php echo $filename; ?></a></td>
<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">
@@ -79,7 +78,10 @@ function DelTpl(filename) {
}
?>
<tr>
<td colspan="4" height="36" bgcolor="#F9FCEF"><a class="btn btn-success" href="tpl.php?action=newfile&acdir=<?php echo $acdir; ?>">新建模板</a>&nbsp;<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>&nbsp;
<a class="btn btn-success" href="tpl.php?action=upload&acdir=<?php echo $acdir; ?>">上传模板</a>
</td>
</tr>
</table>
</body>

Loading…
Откажи
Сачувај