@@ -43,14 +43,14 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="ad_main.php">广告管理</a> > 修改广告</td> | |||
</tr> | |||
<form action="ad_edit.php" method="post" enctype="multipart/form-data" name="form1"> | |||
<input type="hidden" name="aid" value="<?php echo $aid?>"> | |||
<input type="hidden" name="dopost" value="saveedit"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<form action="ad_edit.php" method="post" enctype="multipart/form-data" name="form1"> | |||
<input type="hidden" name="aid" value="<?php echo $aid?>"> | |||
<input type="hidden" name="dopost" value="saveedit"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="ad_main.php">广告管理</a> > 修改广告</td> | |||
</tr> | |||
<tr> | |||
<td width="260">广告位标识:</td> | |||
<td><?php echo $row['tagname'];?></td> | |||
@@ -107,7 +107,7 @@ | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2" align="center"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,8 +9,8 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="adtype_main.php" method="post"> | |||
<form name="form1" action="adtype_main.php" method="post"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="3"><input type="hidden" name="dopost" value="save">广告分类管理<a href="ad_main.php" class="btn btn-success btn-sm ml-2">广告管理</a></td> | |||
</tr> | |||
@@ -42,7 +42,7 @@ | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="3" align="center"><input name="submit" type="submit" class="btn btn-success btn-sm" value="确定"></td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,8 +9,8 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form action="article_description_main.php" name="form1" target="stafrm" method="post"> | |||
<form action="article_description_main.php" name="form1" target="stafrm" method="post"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">自动摘要分页</td> | |||
</tr> | |||
@@ -53,15 +53,12 @@ | |||
<tr> | |||
<td bgcolor="#e9ecef" colspan="2" align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">执行分析</button></td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td colspan="2">结果:</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -31,19 +31,19 @@ | |||
</tr> | |||
</table> | |||
</form> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="5">文档关键词维护</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="30%">关键词</td> | |||
<td width="30%">链接网址</td> | |||
<td width="10%">频率</td> | |||
<td>操作</td> | |||
</tr> | |||
<form name="form3" action="article_keywords_main.php" method="post"> | |||
<input type="hidden" name="dopost" value="saveall"> | |||
<form name="form3" action="article_keywords_main.php" method="post"> | |||
<input type="hidden" name="dopost" value="saveall"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="5">文档关键词维护</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="30%">关键词</td> | |||
<td width="30%">链接网址</td> | |||
<td width="10%">频率</td> | |||
<td>操作</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="5" align="center">暂无文档</td></tr>'} | |||
<tr align="center"> | |||
<td><input type="checkbox" name="aids[]" value="{dede:field.aid/}" checked="1"></td> | |||
@@ -66,10 +66,10 @@ | |||
<button type="button" name="dl2" class="btn btn-success btn-sm" onclick="this.form.submit();">保存</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td colspan="5" bgcolor="#f5f5f5" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="5" bgcolor="#f5f5f5" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -44,17 +44,17 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="2" cellspacing="1" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="3">重复文档列表</td> | |||
</tr> | |||
<form name="form2" method="POST" action="article_test_same.php"> | |||
<input type="hidden" name="deltype" value="<?php echo $deltype;?>"> | |||
<input type="hidden" name="dopost" value="delsel"> | |||
<input type="hidden" name="pagesize" value="<?php echo $pagesize;?>"> | |||
<input type="hidden" name="channelid" value="<?php echo $channelid;?>"> | |||
<input type="hidden" name="maintable" value="<?php echo $maintable;?>"> | |||
<input type="hidden" name="titles" value=""> | |||
<form name="form2" method="POST" action="article_test_same.php"> | |||
<input type="hidden" name="deltype" value="<?php echo $deltype;?>"> | |||
<input type="hidden" name="dopost" value="delsel"> | |||
<input type="hidden" name="pagesize" value="<?php echo $pagesize;?>"> | |||
<input type="hidden" name="channelid" value="<?php echo $channelid;?>"> | |||
<input type="hidden" name="maintable" value="<?php echo $maintable;?>"> | |||
<input type="hidden" name="titles" value=""> | |||
<table cellpadding="2" cellspacing="1" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="3">重复文档列表</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="10%">选择</td> | |||
<td width="10%">重复数量</td> | |||
@@ -83,7 +83,7 @@ | |||
<input type="button" name="bt3" onclick="delArc()" value="删除" class="btn btn-success btn-sm"> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,9 +9,9 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form action="article_test_same.php" name="form1" target="stafrm"> | |||
<input type="hidden" name="dopost" value="analyse"> | |||
<form action="article_test_same.php" name="form1" target="stafrm"> | |||
<input type="hidden" name="dopost" value="analyse"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">文档重复检测</td> | |||
</tr> | |||
@@ -43,15 +43,12 @@ | |||
<tr> | |||
<td colspan="2" bgcolor="#e9ecef" align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">分析标题重复文档</button></td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td colspan="2">结果:</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,9 +9,9 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form action="cards_make.php" name="form1" target="stafrm"> | |||
<input type="hidden" name="dopost" value="make"> | |||
<form action="cards_make.php" name="form1" target="stafrm"> | |||
<input type="hidden" name="dopost" value="make"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="4">生成积分</td> | |||
</tr> | |||
@@ -50,15 +50,12 @@ | |||
<tr> | |||
<td colspan="4" bgcolor="#f5f5f5" align="center" align="py-2"><button type="submit" name="Submit" class="btn btn-success btn-sm">生成积分</button></td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td colspan="4">结果:</td> | |||
</tr> | |||
<tr> | |||
<td colspan="4" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="4" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -51,20 +51,20 @@ | |||
</td> | |||
</tr> | |||
</table> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7">积分产品管理</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="26%">卡号</td> | |||
<td width="16%">积分类型</td> | |||
<td width="12%">生成日期</td> | |||
<td width="12%">使用日期</td> | |||
<td width="6%">状态</td> | |||
<td>使用会员</td> | |||
</tr> | |||
<form name="form1"> | |||
<form name="form1"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7">积分产品管理</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="26%">卡号</td> | |||
<td width="16%">积分类型</td> | |||
<td width="12%">生成日期</td> | |||
<td width="12%">使用日期</td> | |||
<td width="6%">状态</td> | |||
<td>使用会员</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="7" align="center">暂无文档</td></tr>'} | |||
<tr align="center"> | |||
<td><input type="checkbox" name="aids" value="{dede:field.aid/}"></td> | |||
@@ -76,16 +76,16 @@ | |||
<td>{dede:field.uid function='GetMemberID(@me)'/}</td> | |||
</tr> | |||
{/dede:datalist} | |||
</form> | |||
<tr> | |||
<td colspan="7"> | |||
<button type="button" onclick="ReSel();" class="btn btn-success btn-sm">反选</button> | |||
<button type="button" onclick="DelSel();" class="btn btn-danger btn-sm">删除</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td colspan="7" bgcolor="#f5f5f5" align="center">{dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="7"> | |||
<button type="button" onclick="ReSel();" class="btn btn-success btn-sm">反选</button> | |||
<button type="button" onclick="DelSel();" class="btn btn-danger btn-sm">删除</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td colspan="7" bgcolor="#f5f5f5" align="center">{dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,9 +9,9 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="cards_type.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<form name="form1" action="cards_type.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="4">积分产品分类</td> | |||
</tr> | |||
@@ -47,7 +47,7 @@ | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="4" align="center"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -50,11 +50,11 @@ | |||
</td> | |||
</tr> | |||
</table> | |||
<table cellpadding="1" cellspacing="1" align="center" class="maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" class="admin-td">网站栏目管理</td> | |||
</tr> | |||
<form name="form1" method="post" action="catalog_do.php?dopost=upRankAll"> | |||
<form name="form1" method="post" action="catalog_do.php?dopost=upRankAll"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" class="admin-td">网站栏目管理</td> | |||
</tr> | |||
<tr> | |||
<td> | |||
<?php | |||
@@ -65,7 +65,7 @@ | |||
?> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,9 +9,9 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="0" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="content_att.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<form name="form1" action="content_att.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table cellpadding="0" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="3">文档自定义属性</td> | |||
</tr> | |||
@@ -44,7 +44,7 @@ | |||
<tr> | |||
<td colspan="3" bgcolor="#f5f5f5" align="center"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -56,9 +56,9 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="content_batchup_action.php" target="stafrm" method="post"> | |||
<input type="hidden" name="dopost" value="go"> | |||
<form name="form1" action="content_batchup_action.php" target="stafrm" method="post"> | |||
<input type="hidden" name="dopost" value="go"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">文档批量维护</td> | |||
</tr> | |||
@@ -122,15 +122,12 @@ | |||
<tr> | |||
<td colspan="2" bgcolor="#e9ecef" align="center"><button type="button" name="b112" onclick="document.form1.submit();" class="btn btn-success btn-sm">开始操作</button></td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td colspan="2">结果:</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -59,23 +59,23 @@ | |||
</tr> | |||
</table> | |||
</form> | |||
<table cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td colspan="10" bgcolor="#f5f5f5">{dede:global.positionname/}文档列表</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="6%">id</td> | |||
<td width="26%">文档标题</td> | |||
<td width="10%">时间</td> | |||
<td width="12%">栏目</td> | |||
<td width="6%">点击</td> | |||
<td width="6%">网页</td> | |||
<td width="6%">权限</td> | |||
<td width="6%">发布人</td> | |||
<td>操作</td> | |||
</tr> | |||
<form name="form2"> | |||
<form name="form2"> | |||
<table cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td colspan="10" bgcolor="#f5f5f5">{dede:global.positionname/}文档列表</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="6%">id</td> | |||
<td width="26%">文档标题</td> | |||
<td width="10%">时间</td> | |||
<td width="12%">栏目</td> | |||
<td width="6%">点击</td> | |||
<td width="6%">网页</td> | |||
<td width="6%">权限</td> | |||
<td width="6%">发布人</td> | |||
<td>操作</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="10" align="center">暂无文档</td></tr>'} | |||
<tr align="center"> | |||
<td width="6%"><input type="checkbox" name="arcID" id="arcID" value="{dede:field.id/}"></td> | |||
@@ -97,8 +97,8 @@ | |||
</td> | |||
</tr> | |||
{/dede:datalist} | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
<table cellspacing="1" cellpadding="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td> | |||
@@ -41,11 +41,11 @@ | |||
</tr> | |||
</table> | |||
</form> | |||
<table cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td colspan="9" bgcolor="#f5f5f5">专题列表</td> | |||
</tr> | |||
<form name="form2"> | |||
<form name="form2"> | |||
<table cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td colspan="9" bgcolor="#f5f5f5">专题列表</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="6%">id</td> | |||
@@ -83,11 +83,11 @@ | |||
<a href="javascript:delArc(0)" class="btn btn-danger btn-sm">删除</a> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="9" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="9" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</form> | |||
<script> | |||
$(document).ready(function() { | |||
$('#timerange').daterangepicker({ | |||
@@ -48,10 +48,10 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr bgcolor="#e9ecef"> | |||
<form name="form3" action="content_select_list.php" method="get"> | |||
<input type="hidden" name="f" value="<?php echo $f?>"> | |||
<form name="form3" action="content_select_list.php" method="get"> | |||
<input type="hidden" name="f" value="<?php echo $f?>"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr bgcolor="#e9ecef"> | |||
<td> | |||
<input type="text" name="keyword" class="admin-input-lg mr-3" value="<?php echo $keyword?>"> | |||
<select name="cid" class="admin-input-sm mr-3"> | |||
@@ -60,14 +60,14 @@ | |||
</select> | |||
<button type="submit" class="btn btn-success btn-sm">搜索</button> | |||
</td> | |||
</form> | |||
</tr> | |||
</table> | |||
<table cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="9">文档列表</td> | |||
</tr> | |||
<form name="form2"> | |||
</tr> | |||
</table> | |||
</form> | |||
<form name="form2"> | |||
<table cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="9">文档列表</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="6%">id</td> | |||
@@ -99,10 +99,10 @@ | |||
<a href="javascript:ReturnValue()" class="btn btn-success btn-sm">选定值加到列表</a> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="9" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="9" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -50,11 +50,11 @@ | |||
</tr> | |||
</table> | |||
</form> | |||
<table cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="9">{dede:global.positionname/}文档列表</td> | |||
</tr> | |||
<form name="form2"> | |||
<form name="form2"> | |||
<table cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="9">{dede:global.positionname/}文档列表</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="6%">id</td> | |||
@@ -97,11 +97,11 @@ | |||
<?php }?> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="9" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="9" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</form> | |||
<script> | |||
$(document).ready(function() { | |||
$('#timerange').daterangepicker({ | |||
@@ -21,8 +21,8 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="diy_add.php?action=add" method="post" onSubmit="return checkSubmit();"> | |||
<form name="form1" action="diy_add.php?action=add" method="post" onSubmit="return checkSubmit();"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="diy_main.php">自定义表单管理</a> > 新增自定义表单</td> | |||
</tr> | |||
@@ -77,7 +77,7 @@ | |||
<button type="button" id="button2" class="btn btn-outline-success btn-sm" onclick="location='diy_main.php';">返回</button> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -21,10 +21,10 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="diy_edit.php" method="post" onSubmit="return checkSubmit();"> | |||
<input type="hidden" name="diyid" value="<?php echo $diyid;?>"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<form name="form1" action="diy_edit.php" method="post" onSubmit="return checkSubmit();"> | |||
<input type="hidden" name="diyid" value="<?php echo $diyid;?>"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="diy_main.php">自定义表单管理</a> > 修改自定义表单</td> | |||
</tr> | |||
@@ -131,7 +131,7 @@ | |||
<button type="button" id="button2" class="btn btn-outline-success btn-sm" onclick="location='diy_main.php';">返回</button> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -11,15 +11,15 @@ | |||
<script src="../static/web/js/bootstrap.min.js"></script> | |||
</head> | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="<?php echo $ENV_GOBACK_URL;?>">自定义表单管理</a> > 修改表单数据</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2"> | |||
<form name="form1" method="post" enctype="multipart/form-data" action="diy_list.php?action=edit&diyid=<?php echo $diy->diyid ?>&id=<?php echo $row['id'] ?>&do=2"> | |||
<input type="hidden" name="dopost" value="edit"> | |||
<input type="hidden" name="id" value="<?php echo $row['id'];?>"> | |||
<form name="form1" method="post" enctype="multipart/form-data" action="diy_list.php?action=edit&diyid=<?php echo $diy->diyid ?>&id=<?php echo $row['id'] ?>&do=2"> | |||
<input type="hidden" name="dopost" value="edit"> | |||
<input type="hidden" name="id" value="<?php echo $row['id'];?>"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="<?php echo $ENV_GOBACK_URL;?>">自定义表单管理</a> > 修改表单数据</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2"> | |||
<table width="100%" cellpadding="3" cellspacing="1"> | |||
<?php | |||
$formfields = ''; | |||
@@ -49,9 +49,9 @@ | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -61,11 +61,11 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="diy_field_add.php" method="post" onSubmit="return GetFields();"> | |||
<input type="hidden" name="action" value="save"> | |||
<input type="hidden" name="diyid" value="<?php echo $diyid?>"> | |||
<input type="hidden" name="fieldstring" value=""> | |||
<form name="form1" action="diy_field_add.php" method="post" onSubmit="return GetFields();"> | |||
<input type="hidden" name="action" value="save"> | |||
<input type="hidden" name="diyid" value="<?php echo $diyid?>"> | |||
<input type="hidden" name="fieldstring" value=""> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">自定义表单管理</a> > 自定义表单添加字段</td> | |||
</tr> | |||
@@ -144,7 +144,7 @@ | |||
<button type="reset" class="btn btn-outline-success btn-sm">重置</button> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -45,13 +45,13 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="diy_field_edit.php" method="post" onSubmit="return GetFields();"> | |||
<input type="hidden" name="action" value="save"> | |||
<input type="hidden" name="diyid" value="<?php echo $diyid?>"> | |||
<input type="hidden" name="fname" value="<?php echo $fname?>"> | |||
<input type="hidden" name="issystem" value="<?php echo $issystem?>"> | |||
<input type="hidden" name="fieldstring" value=""> | |||
<form name="form1" action="diy_field_edit.php" method="post" onSubmit="return GetFields();"> | |||
<input type="hidden" name="action" value="save"> | |||
<input type="hidden" name="diyid" value="<?php echo $diyid?>"> | |||
<input type="hidden" name="fname" value="<?php echo $fname?>"> | |||
<input type="hidden" name="issystem" value="<?php echo $issystem?>"> | |||
<input type="hidden" name="fieldstring" value=""> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">自定义表单管理</a> > 自定义表单修改字段</td> | |||
</tr> | |||
@@ -133,7 +133,7 @@ | |||
<button type="reset" class="btn btn-outline-success btn-sm">重置</button> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,13 +9,13 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="<?php echo $ENV_GOBACK_URL;?>">评论管理</a> > 修改评论</td> | |||
</tr> | |||
<form name="form1" method="post" action="feedback_edit.php"> | |||
<input type="hidden" name="dopost" value="edit"> | |||
<input type="hidden" name="id" value="<?php echo $row['id'];?>"> | |||
<form name="form1" method="post" action="feedback_edit.php"> | |||
<input type="hidden" name="dopost" value="edit"> | |||
<input type="hidden" name="id" value="<?php echo $row['id'];?>"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="<?php echo $ENV_GOBACK_URL;?>">评论管理</a> > 修改评论</td> | |||
</tr> | |||
<tr> | |||
<td width="260">评论所属文档:</td> | |||
<td><?php echo RemoveXSS($row['arctitle']);?></td> | |||
@@ -54,7 +54,7 @@ | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location='<?php echo $ENV_GOBACK_URL;?>';">返回</button> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -24,8 +24,7 @@ | |||
$ty1 = ""; | |||
$ty2 = ""; | |||
$files = $dirs = array(); | |||
foreach ($dh as $file) | |||
{ | |||
foreach ($dh as $file) { | |||
if ($file!="." && $file!=".." && !is_dir("$inpath/$file")) { | |||
@$filesize = filesize("$inpath/$file"); | |||
@$filesize = $filesize/1024; | |||
@@ -53,9 +52,7 @@ | |||
<td colspan='3'>当前目录:$activepath</td> | |||
</tr>"; | |||
$dirs[] = $line; | |||
} | |||
else if (is_dir("$inpath/$file")) | |||
{ | |||
} else if (is_dir("$inpath/$file")) { | |||
if (preg_match("#^_(.*)$#i",$file)) continue; | |||
if (preg_match("#^\.(.*)$#i",$file)) continue; | |||
$line = "\n<tr> | |||
@@ -68,9 +65,7 @@ | |||
</td> | |||
</tr>"; | |||
$dirs[] = $line; | |||
} | |||
else if (preg_match("#\.(gif|png)#i",$file)) | |||
{ | |||
} else if (preg_match("#\.(gif|png)#i",$file)) { | |||
$line = "\n<tr> | |||
<td><a href='$activeurl/$file' target='_blank'><img src='$activeurl/$file'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -82,9 +77,7 @@ | |||
</td> | |||
</tr>"; | |||
$files[] = $line; | |||
} | |||
else if (preg_match("#\.(jpg)#i",$file)) | |||
{ | |||
} else if (preg_match("#\.(jpg)#i",$file)) { | |||
$line = "\n<tr> | |||
<td><a href='$activeurl/$file' target='_blank'><img src='$activeurl/$file'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -96,9 +89,7 @@ | |||
</td> | |||
</tr>"; | |||
$files[] = $line; | |||
} | |||
else if (preg_match("#\.(swf|fla|fly)#i",$file)) | |||
{ | |||
} else if (preg_match("#\.(swf|fla|fly)#i",$file)) { | |||
$line = "\n<tr> | |||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_flash.png'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -110,9 +101,7 @@ | |||
</td> | |||
</tr>"; | |||
$files[] = $line; | |||
} | |||
else if (preg_match("#\.(zip|rar|tar.gz)#i",$file)) | |||
{ | |||
} else if (preg_match("#\.(zip|rar|tar.gz)#i",$file)) { | |||
$line = "\n<tr> | |||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_zip.png'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -124,9 +113,7 @@ | |||
</td> | |||
</tr>"; | |||
$files[] = $line; | |||
} | |||
else if (preg_match("#\.(exe)#i",$file)) | |||
{ | |||
} else if (preg_match("#\.(exe)#i",$file)) { | |||
$line = "\n<tr> | |||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_exe.png'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -138,9 +125,7 @@ | |||
</td> | |||
</tr>"; | |||
$files[] = $line; | |||
} | |||
else if (preg_match("#\.(mp3|wma)#i",$file)) | |||
{ | |||
} else if (preg_match("#\.(mp3|wma)#i",$file)) { | |||
$line = "\n<tr > | |||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_music.png'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -152,9 +137,7 @@ | |||
</td> | |||
</tr>"; | |||
$files[] = $line; | |||
} | |||
else if (preg_match("#\.(wmv|api)#i",$file)) | |||
{ | |||
} else if (preg_match("#\.(wmv|api)#i",$file)) { | |||
$line = "\n<tr> | |||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_video.png'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -166,9 +149,7 @@ | |||
</td> | |||
</tr>"; | |||
$files[] = $line; | |||
} | |||
else if (preg_match("#\.(rm|rmvb)#i",$file)) | |||
{ | |||
} else if (preg_match("#\.(rm|rmvb)#i",$file)) { | |||
$line = "\n<tr> | |||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_rm.png'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -180,9 +161,7 @@ | |||
</td> | |||
</tr>"; | |||
$files[] = $line; | |||
} | |||
else if (preg_match("#\.(txt|inc|pl|cgi|asp|xml|xsl|aspx|cfm)#",$file)) | |||
{ | |||
} else if (preg_match("#\.(txt|inc|pl|cgi|asp|xml|xsl|aspx|cfm)#",$file)) { | |||
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | |||
$line = "\n<tr> | |||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_text.png'>$file</a></td> | |||
@@ -196,9 +175,7 @@ | |||
</td> | |||
</tr>"; | |||
$files[] = $line; | |||
} | |||
else if (preg_match("#\.(htm|html)#i",$file)) | |||
{ | |||
} else if (preg_match("#\.(htm|html)#i",$file)) { | |||
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | |||
$line = "\n<tr> | |||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_htm.png'>$file</a></td> | |||
@@ -212,9 +189,7 @@ | |||
</td> | |||
</tr>"; | |||
$files[] = $line; | |||
} | |||
else if (preg_match("#\.(php)#i",$file)) | |||
{ | |||
} else if (preg_match("#\.(php)#i",$file)) { | |||
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | |||
$line = "\n<tr> | |||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_php.png'>$file</a></td> | |||
@@ -228,9 +203,7 @@ | |||
</td> | |||
</tr>"; | |||
$files[] = $line; | |||
} | |||
else if (preg_match("#\.(js)#i",$file)) | |||
{ | |||
} else if (preg_match("#\.(js)#i",$file)) { | |||
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | |||
$line = "\n<tr> | |||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_js.png'>$file</a></td> | |||
@@ -244,9 +217,7 @@ | |||
</td> | |||
</tr>"; | |||
$files[] = $line; | |||
} | |||
else if (preg_match("#\.(css)#i",$file)) | |||
{ | |||
} else if (preg_match("#\.(css)#i",$file)) { | |||
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | |||
$line = "\n<tr> | |||
<td><a href='$activeurl/$file' target='_blank'><img src='../static/web/img/icon_css.png'>$file</a></td> | |||
@@ -274,12 +245,10 @@ | |||
$files[] = $line; | |||
} | |||
} | |||
foreach ($dirs as $dir) | |||
{ | |||
foreach ($dirs as $dir) { | |||
echo $dir; | |||
} | |||
foreach ($files as $file) | |||
{ | |||
foreach ($files as $file) { | |||
echo $file; | |||
} | |||
?> | |||
@@ -62,9 +62,9 @@ | |||
</div> | |||
</li> | |||
</div> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form action="freelist_add.php" method="post" name="form1" onSubmit="return CheckSubmit();"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<form action="freelist_add.php" method="post" name="form1" onSubmit="return CheckSubmit();"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="freelist_main.php">自由列表管理</a> > 添加一个列表</td> | |||
</tr> | |||
@@ -229,8 +229,8 @@ | |||
<tr> | |||
<td colspan="2" bgcolor="#f5f5f5" align="center"><button name="Submit2" type="submit" id="Submit2" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
<script> | |||
var editor = CodeMirror.fromTextArea(document.getElementById('myinnertext'), { | |||
lineNumbers: true, | |||
@@ -18,10 +18,10 @@ | |||
<script src="js/main.js"></script> | |||
</head> | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form action="freelist_edit.php" method="post" name="form1" onSubmit="return CheckSubmit();"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<input type="hidden" name="aid" value="<?php echo $row['aid']?>"> | |||
<form action="freelist_edit.php" method="post" name="form1" onSubmit="return CheckSubmit();"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<input type="hidden" name="aid" value="<?php echo $row['aid']?>"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="freelist_main.php">自由列表管理</a> > 添加一个列表</td> | |||
</tr> | |||
@@ -189,8 +189,8 @@ | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2" align="center"><button name="Submit2" type="submit" id="Submit2" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
<script> | |||
function ChangeListStyle() { | |||
var itxt = document.getElementById("myinnertext"); | |||
@@ -28,12 +28,13 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="friendlink_main.php">友情链接管理</a> > 添加链接</td> | |||
</tr> | |||
<form action="friendlink_add.php" method="post" enctype="multipart/form-data" name="form1" onSubmit="return CheckSubmit();"> | |||
<input type="hidden" name="dopost" value="add"> | |||
<form action="friendlink_add.php" method="post" enctype="multipart/form-data" name="form1" onSubmit="return CheckSubmit();"> | |||
<input type="hidden" name="dopost" value="add"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="friendlink_main.php">友情链接管理</a> > 添加链接</td> | |||
</tr> | |||
<tr> | |||
<td width="260">网址:</td> | |||
<td><input type="text" name="url" id="url" value="http://" class="admin-input-lg"></td> | |||
@@ -90,7 +91,7 @@ | |||
<button type="reset" name="Submit" class="btn btn-outline-success btn-sm" onclick="location.href='<?php echo $ENV_GOBACK_URL?>';">返回</button> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,13 +9,13 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="friendlink_main.php">友情链接管理</a> > 链接修改</td> | |||
</tr> | |||
<form action="friendlink_edit.php" method="post" enctype="multipart/form-data" name="form1"> | |||
<input type="hidden" name="id" value="<?php echo $myLink['id']?>"> | |||
<input type="hidden" name="dopost" value="saveedit"> | |||
<form action="friendlink_edit.php" method="post" enctype="multipart/form-data" name="form1"> | |||
<input type="hidden" name="id" value="<?php echo $myLink['id']?>"> | |||
<input type="hidden" name="dopost" value="saveedit"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="friendlink_main.php">友情链接管理</a> > 链接修改</td> | |||
</tr> | |||
<tr> | |||
<td width="260">网址:</td> | |||
<td><input type="text" name="url" id="url" value="<?php echo $myLink['url']?>" class="admin-input-lg"></td> | |||
@@ -73,7 +73,7 @@ | |||
<button type="reset" name="Submit" class="btn btn-outline-success btn-sm" onclick="location.href='<?php echo $ENV_GOBACK_URL?>';">返回</button> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,9 +9,9 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="friendlink_type.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<form name="form1" action="friendlink_type.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="3"><a href="friendlink_main.php">友情链接管理</a></td> | |||
</tr> | |||
@@ -50,7 +50,7 @@ | |||
<tr> | |||
<td colspan="3" align="center" bgcolor="#f5f5f5"><input name="imageField" type="submit" class="btn btn-success btn-sm" value="确定"></td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -63,20 +63,20 @@ | |||
</tr> | |||
</table> | |||
</form> | |||
<table cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7">系统日志管理</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="12%">管理员</td> | |||
<td width="30%">浏览文件</td> | |||
<td width="6%">访问方式</td> | |||
<td width="10%">地址</td> | |||
<td width="10%">时间</td> | |||
<td>参数</td> | |||
</tr> | |||
<form name="form1"> | |||
<form name="form1"> | |||
<table cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7">系统日志管理</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="12%">管理员</td> | |||
<td width="30%">浏览文件</td> | |||
<td width="6%">访问方式</td> | |||
<td width="10%">地址</td> | |||
<td width="10%">时间</td> | |||
<td>参数</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="7" align="center">暂无文档</td></tr>'} | |||
<tr align="center"> | |||
<td><input type="checkbox" name="logs" id="logs" value="{dede:field.lid/}"></td> | |||
@@ -88,17 +88,17 @@ | |||
<td><input type="text" name="t1" value="{dede:field.query/}" class="admin-input-lg"></td> | |||
</tr> | |||
{/dede:datalist} | |||
</form> | |||
<tr> | |||
<td colspan="7"> | |||
<button type="button" onclick="ReSel();" class="btn btn-success btn-sm">反选</button> | |||
<button type="button" onclick="DelSel();" class="btn btn-danger btn-sm">删除</button> | |||
<button type="button" onclick="ClearLog();" class="btn btn-danger btn-sm">清空所有日志</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="7"> | |||
<button type="button" onclick="ReSel();" class="btn btn-success btn-sm">反选</button> | |||
<button type="button" onclick="DelSel();" class="btn btn-danger btn-sm">删除</button> | |||
<button type="button" onclick="ClearLog();" class="btn btn-danger btn-sm">清空所有日志</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -61,9 +61,9 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="makehtml_all.php" target="stafrm" method="post"> | |||
<input type="hidden" name="action" value="make"> | |||
<form name="form1" action="makehtml_all.php" target="stafrm" method="post"> | |||
<input type="hidden" name="action" value="make"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">更新整站</td> | |||
</tr> | |||
@@ -89,15 +89,12 @@ | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location='sys_cache_up.php';">更新缓存</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td colspan="2">结果:</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="360px"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,11 +9,11 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form2" action="content_list.php" method="get" target="stafrm"> | |||
<input type="hidden" name="nullfield" value="ok"> | |||
</form> | |||
<form name="form1" action="makehtml_archives_action.php" method="get" target="stafrm"> | |||
<form name="form2" action="content_list.php" method="get" target="stafrm"> | |||
<input type="hidden" name="nullfield" value="ok"> | |||
</form> | |||
<form name="form1" action="makehtml_archives_action.php" method="get" target="stafrm"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">更新文档</td> | |||
</tr> | |||
@@ -58,15 +58,12 @@ | |||
<button type="button" name="b113" class="btn btn-outline-success btn-sm" onclick="document.form2.submit();">所有文档</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td colspan="2">结果:</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,8 +9,8 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="makehtml_freelist_action.php" method="get" target="stafrm"> | |||
<form name="form1" action="makehtml_freelist_action.php" method="get" target="stafrm"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">更新自由列表</td> | |||
</tr> | |||
@@ -41,15 +41,12 @@ | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location='freelist_main.php';">自由列表管理</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td colspan="2">结果:</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -21,9 +21,9 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="makehtml_homepage.php" target="stafrm" method="post"> | |||
<input type="hidden" name="dopost" value="make"> | |||
<form name="form1" action="makehtml_homepage.php" target="stafrm" method="post"> | |||
<input type="hidden" name="dopost" value="make"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">更新首页</td> | |||
</tr> | |||
@@ -103,15 +103,12 @@ | |||
<button type="button" name="view" class="btn btn-outline-success btn-sm" onclick="window.open('makehtml_homepage.php?dopost=view&templet='+form1.templet.value);">预览首页</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td colspan="2">结果:</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,8 +9,8 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="makehtml_list_action.php" method="get" target="stafrm"> | |||
<form name="form1" action="makehtml_list_action.php" method="get" target="stafrm"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">更新栏目</td> | |||
</tr> | |||
@@ -48,15 +48,12 @@ | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location='catalog_main.php';">栏目管理</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td colspan="2">结果:</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,9 +9,9 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="makehtml_spec.php" method="get" target="stafrm"> | |||
<input type="hidden" name="dopost" value="ok"> | |||
<form name="form1" action="makehtml_spec.php" method="get" target="stafrm"> | |||
<input type="hidden" name="dopost" value="ok"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5">更新专题</td> | |||
</tr> | |||
@@ -26,15 +26,12 @@ | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location='content_s_list.php';">专题管理</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td>结果:</td> | |||
</tr> | |||
<tr> | |||
<td id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -18,8 +18,8 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="makehtml_tag_action_list.php" method="get" target="stafrm"> | |||
<form name="form1" action="makehtml_tag_action_list.php" method="get" target="stafrm"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">更新标签</td> | |||
</tr> | |||
@@ -69,15 +69,12 @@ | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location='tags_main.php';">标签管理</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td colspan="2">结果:</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -35,18 +35,18 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">上传新文件</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2"> | |||
<div class="alert alert-info mb-0">图片类型仅支持jpg、png、gif、wbmp格式,视音频和附件为限定扩展名类型,在系统参数中修改</div> | |||
</td> | |||
</tr> | |||
<form enctype="multipart/form-data" name="form1" action="media_add.php" method="POST" onSubmit="return CheckSubmit();"> | |||
<input type="hidden" name="dopost" value="upload"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<form enctype="multipart/form-data" name="form1" action="media_add.php" method="POST" onSubmit="return CheckSubmit();"> | |||
<input type="hidden" name="dopost" value="upload"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">上传新文件</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2"> | |||
<div class="alert alert-info mb-0">图片类型仅支持jpg、png、gif、wbmp格式,视音频和附件为限定扩展名类型,在系统参数中修改</div> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="260">媒体类型:</td> | |||
<td> | |||
@@ -90,7 +90,7 @@ | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2" align="center"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -21,19 +21,19 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">修改媒体</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2"> | |||
<div class="alert alert-info mb-0">图片类型仅支持jpg、png、gif、wbmp格式,视音频和附件为限定扩展名类型,在系统参数中修改</div> | |||
</td> | |||
</tr> | |||
<form enctype="multipart/form-data" name="form1" action="media_edit.php" method="POST" onSubmit="return CheckSubmit();"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<input type="hidden" name="aid" value="<?php echo $aid?>"> | |||
<form enctype="multipart/form-data" name="form1" action="media_edit.php" method="POST" onSubmit="return CheckSubmit();"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<input type="hidden" name="aid" value="<?php echo $aid?>"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">修改媒体</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2"> | |||
<div class="alert alert-info mb-0">图片类型仅支持jpg、png、gif、wbmp格式,视音频和附件为限定扩展名类型,在系统参数中修改</div> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="260">媒体类型:</td> | |||
<td> | |||
@@ -85,7 +85,7 @@ | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2" align="center"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -44,8 +44,8 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="forms" method="post" action="media_main.php"> | |||
<form name="forms" method="post" action="media_main.php"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<input type="text" name="keyword" id="keyword" placeholder="请输入关键词" value="<?php echo $keyword?>" class="admin-input-lg mr-3"> | |||
@@ -65,22 +65,22 @@ | |||
<a href="media_add.php" class="btn btn-success btn-sm">上传新文件</a> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7">附件管理</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="26%">文件标题</td> | |||
<td width="10%">文件大小</td> | |||
<td width="16%">上传会员</td> | |||
<td width="16%">上传时间</td> | |||
<td width="10%">文件类型</td> | |||
<td>操作</td> | |||
</tr> | |||
<form name="form1"> | |||
</table> | |||
</form> | |||
<form name="form1"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7">附件管理</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="26%">文件标题</td> | |||
<td width="10%">文件大小</td> | |||
<td width="16%">上传会员</td> | |||
<td width="16%">上传时间</td> | |||
<td width="10%">文件类型</td> | |||
<td>操作</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="7" align="center">暂无文档</td></tr>'} | |||
<tr align="center"> | |||
<td><input type="checkbox" name="aids" id="aids{dede:field.aid/}" value="{dede:field.aid/}"></td> | |||
@@ -106,7 +106,7 @@ | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -69,21 +69,21 @@ | |||
</tr> | |||
</table> | |||
</form> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="8">会员消费记录</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="16%">订单号</td> | |||
<td>产品名称</td> | |||
<td width="10%">产品类型</td> | |||
<td width="16%">生成日期</td> | |||
<td width="6%">金额</td> | |||
<td width="6%">状态</td> | |||
<td width="10%">会员</td> | |||
</tr> | |||
<form name="form1"> | |||
<form name="form1"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="8">会员消费记录</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="16%">订单号</td> | |||
<td>产品名称</td> | |||
<td width="10%">产品类型</td> | |||
<td width="16%">生成日期</td> | |||
<td width="6%">金额</td> | |||
<td width="6%">状态</td> | |||
<td width="10%">会员</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="8" align="center">暂无文档</td></tr>'} | |||
<tr align="center"> | |||
<td><input type="checkbox" name="aids" value="<?php echo $fields['aid']?>"></td> | |||
@@ -96,18 +96,18 @@ | |||
<td><?php echo GetMemberID($fields['mid'])?></td> | |||
</tr> | |||
{/dede:datalist} | |||
</form> | |||
<tr> | |||
<td colspan="8"> | |||
<button type="button" onclick="ReSel();" class="btn btn-success btn-sm">反选</button> | |||
<button type="button" onclick="UpSel();" class="btn btn-success btn-sm">设为已付款</button> | |||
<button type="button" onclick="OkSel();" class="btn btn-success btn-sm">设为已完成</button> | |||
<button type="button" onclick="DelSel();" class="btn btn-danger btn-sm">删除</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="8" align="center">{dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="8"> | |||
<button type="button" onclick="ReSel();" class="btn btn-success btn-sm">反选</button> | |||
<button type="button" onclick="UpSel();" class="btn btn-success btn-sm">设为已付款</button> | |||
<button type="button" onclick="OkSel();" class="btn btn-success btn-sm">设为已完成</button> | |||
<button type="button" onclick="DelSel();" class="btn btn-danger btn-sm">删除</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="8" align="center">{dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -26,34 +26,35 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="<?php echo $ENV_GOBACK_URL;?>">会员管理</a> > 提升管理员</td> | |||
</tr> | |||
<?php if ($row['matt']==10) {echo '<tr><td colspan="2"><div class="alert alert-info mb-0">您已经是管理员,不要提升了</div></td></tr>';} else {?> | |||
<form name="form2" action="member_toadmin.php" method="post" onSubmit="return checkSubmit();"> | |||
<input type="hidden" name="dopost" value="toadmin"> | |||
<input type="hidden" name="userid" value="<?php echo $row['userid']?>"> | |||
<input type="hidden" name="id" value="<?php echo $id?>"> | |||
<form name="form2" action="member_toadmin.php" method="post" onSubmit="return checkSubmit();"> | |||
<input type="hidden" name="dopost" value="toadmin"> | |||
<input type="hidden" name="userid" value="<?php echo $row['userid']?>"> | |||
<input type="hidden" name="id" value="<?php echo $id?>"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td width="260" class="admin-td">头像/会员名/类型:</td> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="<?php echo $ENV_GOBACK_URL;?>">会员管理</a> > 提升管理员</td> | |||
</tr> | |||
<?php if ($row['matt']==10) {echo '<tr><td colspan="2"><div class="alert alert-info mb-0">您已经是管理员,不要提升了</div></td></tr>';} else {?> | |||
<tr> | |||
<td width="260">头像/会员名:</td> | |||
<td> | |||
<span class="mr-1"><?php if ($row['face']!='') {echo "<img src='{$row['face']}' class='user-img-sm'>";};echo "".$row['userid']."";?></span> | |||
<span class="btn btn-outline-success btn-sm"><?php echo $row['mtype'];?></span> | |||
<span class="btn btn-outline-success btn-sm"><?php echo GetMemberTypeName($row['rank']);?></span> | |||
<span class="btn btn-outline-warning btn-sm"><?php echo GetHonor($row['scores']);?></span> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td">公司名/昵称:</td> | |||
<td class="admin-td"><input type="text" name="uname" id="uname" value="<?php echo $row['uname']?>" class="admin-input-sm">(发布文档后显示作者的名字)</td> | |||
<td>昵称:</td> | |||
<td><input type="text" name="uname" id="uname" value="<?php echo $row['uname']?>" class="admin-input-sm">(发布文档后显示作者的名字)</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td">密码:</td> | |||
<td class="admin-td"><input type="text" name="pwd" id="pwd" class="admin-input-sm">(留空则不修改,只能用[0-9a-zA-Z_@!.-]以内范围的字符)</td> | |||
<td>密码:</td> | |||
<td><input type="text" name="pwd" id="pwd" class="admin-input-sm">(留空则不修改,只能用[0-9a-zA-Z_@!.-]以内范围的字符)</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td">类型:</td> | |||
<td class="admin-td"> | |||
<select name='usertype' class='admin-input-sm'> | |||
<td>类型:</td> | |||
<td> | |||
<select name="usertype" class="admin-input-sm"> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__admintype` ORDER BY `rank` ASC"); | |||
$dsql->Execute("ut"); | |||
@@ -67,8 +68,8 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td">授权栏目:</td> | |||
<td class="admin-td"> | |||
<td>授权栏目:</td> | |||
<td> | |||
<select name="typeids[]" id="typeid" multiple="yes" class="admin-input-lg"> | |||
<option value="0" class='alltype'>所有栏目</option> | |||
<?php echo $typeOptions?> | |||
@@ -77,16 +78,16 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td">真实姓名:</td> | |||
<td class="admin-td"><input type="text" name="tname" id="tname" class="admin-input-sm"></td> | |||
<td>真实姓名:</td> | |||
<td><input type="text" name="tname" id="tname" class="admin-input-sm"></td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td">邮箱:</td> | |||
<td class="admin-td"><input type="text" name="email" id="email" class="admin-input-sm" value="<?php echo $row['email']?>"></td> | |||
<td>邮箱:</td> | |||
<td><input type="text" name="email" id="email" class="admin-input-sm" value="<?php echo $row['email']?>"></td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td">验证安全码:</td> | |||
<td class="admin-td"> | |||
<td>验证安全码:</td> | |||
<td> | |||
<input type="text" name="safecode" id="safecode" class="admin-input-sm"> | |||
<input type="hidden" name="randcode" value="<?php echo $randcode;?>">(安全码:<span class="text-primary"><?php echo $safecode;?></span>) | |||
</td> | |||
@@ -97,8 +98,8 @@ | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="javascript:history.go(-1);">返回</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<?php }?> | |||
</table> | |||
<?php }?> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,9 +9,9 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="member_type.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<form name="form1" action="member_type.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="5">会员等级分类</td> | |||
</tr> | |||
@@ -84,7 +84,7 @@ | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="5" align="center"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -29,14 +29,14 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="<?php echo $ENV_GOBACK_URL;?>">会员管理</a> > 查看会员</td> | |||
</tr> | |||
<?php if ($row['matt']==10) echo '<tr><td colspan="2"><div class="alert alert-info mb-0">当前会员是关连网站管理员,谨慎操作</div></td></tr>';?> | |||
<form name="form2" action="member_do.php" method="post" onSubmit="return checkSubmit();"> | |||
<input type="hidden" name="dopost" value="edituser"> | |||
<input type="hidden" name="id" value="<?php echo $id?>"> | |||
<form name="form2" action="member_do.php" method="post" onSubmit="return checkSubmit();"> | |||
<input type="hidden" name="dopost" value="edituser"> | |||
<input type="hidden" name="id" value="<?php echo $id?>"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="<?php echo $ENV_GOBACK_URL;?>">会员管理</a> > 查看会员</td> | |||
</tr> | |||
<?php if ($row['matt']==10) echo '<tr><td colspan="2"><div class="alert alert-info mb-0">当前会员是关连网站管理员,谨慎操作</div></td></tr>';?> | |||
<tr> | |||
<td width="260">头像/会员名:</td> | |||
<td> | |||
@@ -183,7 +183,7 @@ | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="javascript:history.go(-1);">返回</button> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -34,10 +34,10 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form action="module_make.php" method="post" enctype="multipart/form-data" name="form1"> | |||
<input type="hidden" name="action" value="edit"> | |||
<input type="hidden" name="dev_id" value="<?php echo $dev_id;?>"> | |||
<form action="module_make.php" method="post" enctype="multipart/form-data" name="form1"> | |||
<input type="hidden" name="action" value="edit"> | |||
<input type="hidden" name="dev_id" value="<?php echo $dev_id;?>"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="module_main.php">模块管理</a> > 模块修改</td> | |||
</tr> | |||
@@ -167,7 +167,7 @@ | |||
<button type="button" id="button" class="btn btn-outline-success btn-sm" onclick="location='module_main.php';">返回</button> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -30,9 +30,9 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form action="module_make.php" method="post" enctype="multipart/form-data" name="form1"> | |||
<input type="hidden" name="action" value="make"> | |||
<form action="module_make.php" method="post" enctype="multipart/form-data" name="form1"> | |||
<input type="hidden" name="action" value="make"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="module_main.php">模块管理</a> > 模块打包</td> | |||
</tr> | |||
@@ -156,7 +156,7 @@ | |||
<button type="button" name="button" id="button" class="btn btn-outline-success btn-sm" onclick="location='module_main.php';">返回</button> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -36,9 +36,9 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="mychannel_add.php" method="post"> | |||
<input type="hidden" name="action" value="add"> | |||
<form name="form1" action="mychannel_add.php" method="post"> | |||
<input type="hidden" name="action" value="add"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="mychannel_main.php">文档模型管理</a> > 新增文档模型</td> | |||
</tr> | |||
@@ -183,7 +183,7 @@ | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location='mychannel_main.php';">返回</button> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -58,13 +58,13 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table wcellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="mychannel_field_edit.php" method="post" onSubmit="return GetFields();"> | |||
<input type="hidden" name="action" value="save"> | |||
<input type="hidden" name="id" value="<?php echo $id?>"> | |||
<input type="hidden" name="fname" value="<?php echo $fname?>"> | |||
<input type="hidden" name="issystem" value="<?php echo $issystem?>"> | |||
<input type="hidden" name="fieldstring" value=""> | |||
<form name="form1" action="mychannel_field_edit.php" method="post" onSubmit="return GetFields();"> | |||
<input type="hidden" name="action" value="save"> | |||
<input type="hidden" name="id" value="<?php echo $id?>"> | |||
<input type="hidden" name="fname" value="<?php echo $fname?>"> | |||
<input type="hidden" name="issystem" value="<?php echo $issystem?>"> | |||
<input type="hidden" name="fieldstring" value=""> | |||
<table wcellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">文档模型管理</a> > 模型修改字段</td> | |||
</tr> | |||
@@ -192,7 +192,7 @@ | |||
<button type="reset" name="button3" id="button3" class="btn btn-outline-success btn-sm">重置</button> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -11,13 +11,13 @@ | |||
<script src="js/main.js"></script> | |||
</head> | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="mychannel_edit.php" method="post" target="stafrm"> | |||
<input type="hidden" name="mid" value="<?php echo $mid?>"> | |||
<input type="hidden" name="maintable" value="<?php echo $channel['maintable']?>"> | |||
<input type="hidden" name="addontable" value="<?php echo $channel['addtable'];?>"> | |||
<input type="hidden" name="step" value="<?php echo $step?>"> | |||
<input type="hidden" name="dopost" value="modifysearch"> | |||
<form name="form1" action="mychannel_edit.php" method="post" target="stafrm"> | |||
<input type="hidden" name="mid" value="<?php echo $mid?>"> | |||
<input type="hidden" name="maintable" value="<?php echo $channel['maintable']?>"> | |||
<input type="hidden" name="addontable" value="<?php echo $channel['addtable'];?>"> | |||
<input type="hidden" name="step" value="<?php echo $step?>"> | |||
<input type="hidden" name="dopost" value="modifysearch"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="mychannel_main.php">文档模型管理</a> > 自定义搜索管理</td> | |||
</tr> | |||
@@ -52,15 +52,12 @@ | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location='mychannel_main.php';">返回</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td colspan="2">结果:</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -52,13 +52,13 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="mytag_main.php">自定义宏标记</a> > 添加新标记</td> | |||
</tr> | |||
<form action="mytag_add.php" method="post" enctype="multipart/form-data" name="form1" onSubmit="return checkSubmit()"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<form action="mytag_add.php" method="post" enctype="multipart/form-data" name="form1" onSubmit="return checkSubmit()"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="mytag_main.php">自定义宏标记</a> > 添加新标记</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2"> | |||
<div class="alert alert-info mb-0">自定义标记的调用方法:{dede:mytag name='标记名称' ismake='是否含板块代码(yes或no)' typeid='栏目id'/} 1、name标记名称,该项是必须的属性,以下2、3是可选属性;2、ismake默认是no表示设定的纯网页代码,yes表示含板块标记的代码;3、typeid表示所属栏目的id,默认为0,表示所有栏目通用的显示文档,在列表和文档模板中,typeid默认是这个列表或文档本身的栏目id</div> | |||
@@ -107,7 +107,7 @@ | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2" align="center"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -8,14 +8,14 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="mytag_main.php">自定义宏标记</a> > 修改标记</td> | |||
</tr> | |||
<form action="mytag_edit.php" method="post" enctype="multipart/form-data" name="form1"> | |||
<input type="hidden" name="aid" value="<?php echo $aid?>"> | |||
<input type="hidden" name="dopost" value="saveedit"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<form action="mytag_edit.php" method="post" enctype="multipart/form-data" name="form1"> | |||
<input type="hidden" name="aid" value="<?php echo $aid?>"> | |||
<input type="hidden" name="dopost" value="saveedit"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="mytag_main.php">自定义宏标记</a> > 修改标记</td> | |||
</tr> | |||
<tr> | |||
<td width="260">所属栏目:</td> | |||
<td> | |||
@@ -59,7 +59,7 @@ | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2" align="center"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -40,9 +40,9 @@ | |||
</tr> | |||
</table> | |||
</span> | |||
<table cellpadding="2" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form action="mytag_tag_guide_ok.php" method="post" target="stafrm" name="form1"> | |||
<input type="hidden" name="dopost" value="gettag"> | |||
<form action="mytag_tag_guide_ok.php" method="post" target="stafrm" name="form1"> | |||
<input type="hidden" name="dopost" value="gettag"> | |||
<table cellpadding="2" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5"><a href="mytag_main.php">自定义宏标记</a> > 智能标记向导</td> | |||
</tr> | |||
@@ -169,16 +169,13 @@ | |||
<button type="button" name="Submit2" id="Submit2" class="btn btn-success btn-sm" onclick="DoSubmit('savetag')">生成模板调用标签</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td>结果:</td> | |||
</tr> | |||
<tr> | |||
<td> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
<script> | |||
var editor = CodeMirror.fromTextArea(document.getElementById('myinnertext'), { | |||
lineNumbers: true, | |||
@@ -7,16 +7,16 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" cellspacing="0" cellpadding="0"> | |||
<form action="tag_test_action.php" method="post" name="f1" target="_blank"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<form action="tag_test_action.php" method="post" name="f1" target="_blank"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<table width="98%" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td align="center"> | |||
<textarea name="partcode" id="partcode" class="admin-textarea-xl"><?php echo $fulltag?></textarea> | |||
<input type="submit" name="Submit" value="预览"> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,10 +9,10 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="plus_edit.php" method="post"> | |||
<input type="hidden" name="dopost" value="saveedit"> | |||
<input type="hidden" name="aid" value="<?php echo $aid?>"> | |||
<form name="form1" action="plus_edit.php" method="post"> | |||
<input type="hidden" name="dopost" value="saveedit"> | |||
<input type="hidden" name="aid" value="<?php echo $aid?>"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="plus_main.php">插件管理</a> > 修改插件</td> | |||
</tr> | |||
@@ -35,7 +35,7 @@ | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2" align="center"><button type="submit" class="btn btn-success btn-sm">确定</button></td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -67,11 +67,11 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="2" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7">文档回收站</td> | |||
</tr> | |||
<form name="form2"> | |||
<form name="form2"> | |||
<table cellpadding="2" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7">文档回收站</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">id</td> | |||
<td width="6%">选择</td> | |||
@@ -103,10 +103,10 @@ | |||
<a href="javascript:delArc(0)" class="btn btn-danger btn-sm">删除</a> | |||
</td> | |||
</tr> | |||
</form> | |||
<t> | |||
<td colspan="7" bgcolor="#f5f5f5" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="7" bgcolor="#f5f5f5" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -20,9 +20,9 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="soft_config.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<form name="form1" action="soft_config.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">软件下载设置</td> | |||
</tr> | |||
@@ -120,7 +120,7 @@ | |||
<button type="reset" name="rset" id="rset" class="btn btn-outline-success btn-sm">重置</button> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -4,350 +4,347 @@ | |||
<head> | |||
<meta charset="utf-8"> | |||
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> | |||
<title>联动类别管理</title> | |||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<script src="../static/web/js/jquery.min.js"></script> | |||
<script src="../static/web/js/bootstrap.min.js"></script> | |||
<script src="../static/web/js/webajax.js"></script> | |||
<script src="js/main.js"></script> | |||
<style>.abt{width:90%;border:1px solid #fff}#edsta{display:none;padding:10px;position:absolute;top:70px;left:70px;width:450px;height:auto;background:#f5f5f5;border:1px solid #dedede}</style> | |||
<script> | |||
var loadhtml = "<img src='../static/web/img/loadinglit.gif'>"; | |||
function updateItem(aid) { | |||
var upenumf = document.getElementById('upenumf'); | |||
upenumf.ename.value = $DE('ename' + aid).value; | |||
upenumf.disorder.value = $DE('disorder' + aid).value; | |||
upenumf.aid.value = aid; | |||
upenumf.submit(); | |||
} | |||
function GetSelType() { | |||
var selvalue = $DE('egroup1').options[$DE('egroup1').selectedIndex].value; | |||
return selvalue; | |||
} | |||
function AddType() { | |||
$DE('edsta').style.display = 'block'; | |||
fetch('stepselect_main.php?action=addnew').then(resp=>{ | |||
if (resp.ok) { | |||
return resp.text() | |||
} | |||
throw new Error('系统错误,无法获取数据'); | |||
}).then((d)=>{ | |||
$DE('edsta').innerHTML = d; | |||
}).catch((error) => { | |||
$DE('edsta').innerHTML = errMsg; | |||
}); | |||
} | |||
function AddEnum() { | |||
var id = GetSelType(); | |||
if (id == 0) { | |||
ShowMsg("必须选择一个类别"); | |||
return false; | |||
} | |||
fetch('stepselect_main.php?action=addenum&id=' + id).then(resp=>{ | |||
if (resp.ok) { | |||
return resp.text() | |||
} | |||
throw new Error('系统错误,无法获取数据'); | |||
}).then((d)=>{ | |||
$DE('edsta').innerHTML = d; | |||
}).catch((error) => { | |||
$DE('edsta').innerHTML = errMsg; | |||
}); | |||
$DE('edsta').style.display = 'block'; | |||
} | |||
function EditType() { | |||
var id = GetSelType(); | |||
if (id == 0) { | |||
ShowMsg("必须选择一个类别"); | |||
return false; | |||
} | |||
$DE('edsta').style.display = 'block'; | |||
fetch('stepselect_main.php?action=edit&id=' + id).then(resp=>{ | |||
if (resp.ok) { | |||
return resp.text() | |||
} | |||
throw new Error('系统错误,无法获取数据'); | |||
}).then((d)=>{ | |||
$DE('edsta').innerHTML = d; | |||
}).catch((error) => { | |||
$DE('edsta').innerHTML = errMsg; | |||
}); | |||
} | |||
function ViewType() { | |||
var id = GetSelType(); | |||
if (id == 0) { | |||
ShowMsg("必须选择一个类别"); | |||
return false; | |||
} | |||
$DE('edsta').style.display = 'block'; | |||
fetch('stepselect_main.php?action=view&id=' + id).then(resp=>{ | |||
if (resp.ok) { | |||
return resp.text() | |||
} | |||
throw new Error('系统错误,无法获取数据'); | |||
}).then((d)=>{ | |||
$DE('edsta').innerHTML = d; | |||
}).catch((error) => { | |||
$DE('edsta').innerHTML = errMsg; | |||
}); | |||
} | |||
function DelType() { | |||
DedeConfirm("您确实要删除这个分类吗").then((v)=>{ | |||
var id = GetSelType(); | |||
if (id == 0) { | |||
ShowMsg("必须选择一个类别"); | |||
return false; | |||
} | |||
location.href = 'stepselect_main.php?action=del&id=' + id; | |||
}).catch((e)=>{ | |||
console.log(e) | |||
}); | |||
} | |||
function CloseTWin() { | |||
$DE('edsta').innerHTML = loadhtml; | |||
$DE('edsta').style.display = 'none'; | |||
} | |||
function ChangePage(sobj) { | |||
var ntxt = sobj.options[sobj.selectedIndex].text; | |||
if (sobj.options[sobj.selectedIndex].value == 0) { | |||
location.href = 'stepselect_main.php'; | |||
} else { | |||
var ns = ntxt.split('|'); | |||
location.href = 'stepselect_main.php?egroup=' + ns[0]; | |||
} | |||
} | |||
function TogSel() { | |||
var ems = document.getElementsByName('ids[]'); | |||
for (i = 0; i < ems.length; i++) { | |||
if (ems[i].checked == false) ems[i].checked = true; | |||
else ems[i].checked = false; | |||
} | |||
} | |||
function DelSel() { | |||
DedeConfirm("您确实要删除这些分类吗").then((v)=>{ | |||
document.form1.submit(); | |||
}).catch((e)=>{ | |||
console.log(e) | |||
}); | |||
} | |||
function ChangePage2(sobj) { | |||
var nv = sobj.options[sobj.selectedIndex].value; | |||
if (sobj.options[sobj.selectedIndex].value == 0) { | |||
location.href = 'stepselect_main.php?egroup=<?php echo $egroup;?>'; | |||
} else { | |||
location.href = 'stepselect_main.php?egroup=<?php echo $egroup;?>&topvalue=' + nv; | |||
} | |||
} | |||
</script> | |||
<title>联动类别管理</title> | |||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<script src="../static/web/js/jquery.min.js"></script> | |||
<script src="../static/web/js/bootstrap.min.js"></script> | |||
<script src="../static/web/js/webajax.js"></script> | |||
<script src="js/main.js"></script> | |||
<style>#edsta{display:none;padding:10px;position:absolute;top:70px;left:70px;width:450px;height:auto;background:#f5f5f5;border:1px solid #dedede}</style> | |||
<script> | |||
var loadhtml = "<img src='../static/web/img/loadinglit.gif'>"; | |||
function updateItem(aid) { | |||
var upenumf = document.getElementById('upenumf'); | |||
upenumf.ename.value = $DE('ename' + aid).value; | |||
upenumf.disorder.value = $DE('disorder' + aid).value; | |||
upenumf.aid.value = aid; | |||
upenumf.submit(); | |||
} | |||
function GetSelType() { | |||
var selvalue = $DE('egroup1').options[$DE('egroup1').selectedIndex].value; | |||
return selvalue; | |||
} | |||
function AddType() { | |||
$DE('edsta').style.display = 'block'; | |||
fetch('stepselect_main.php?action=addnew').then(resp=>{ | |||
if (resp.ok) { | |||
return resp.text() | |||
} | |||
throw new Error('系统错误,无法获取数据'); | |||
}).then((d)=>{ | |||
$DE('edsta').innerHTML = d; | |||
}).catch((error) => { | |||
$DE('edsta').innerHTML = errMsg; | |||
}); | |||
} | |||
function AddEnum() { | |||
var id = GetSelType(); | |||
if (id == 0) { | |||
ShowMsg("必须选择一个类别"); | |||
return false; | |||
} | |||
fetch('stepselect_main.php?action=addenum&id=' + id).then(resp=>{ | |||
if (resp.ok) { | |||
return resp.text() | |||
} | |||
throw new Error('系统错误,无法获取数据'); | |||
}).then((d)=>{ | |||
$DE('edsta').innerHTML = d; | |||
}).catch((error) => { | |||
$DE('edsta').innerHTML = errMsg; | |||
}); | |||
$DE('edsta').style.display = 'block'; | |||
} | |||
function EditType() { | |||
var id = GetSelType(); | |||
if (id == 0) { | |||
ShowMsg("必须选择一个类别"); | |||
return false; | |||
} | |||
$DE('edsta').style.display = 'block'; | |||
fetch('stepselect_main.php?action=edit&id=' + id).then(resp=>{ | |||
if (resp.ok) { | |||
return resp.text() | |||
} | |||
throw new Error('系统错误,无法获取数据'); | |||
}).then((d)=>{ | |||
$DE('edsta').innerHTML = d; | |||
}).catch((error) => { | |||
$DE('edsta').innerHTML = errMsg; | |||
}); | |||
} | |||
function ViewType() { | |||
var id = GetSelType(); | |||
if (id == 0) { | |||
ShowMsg("必须选择一个类别"); | |||
return false; | |||
} | |||
$DE('edsta').style.display = 'block'; | |||
fetch('stepselect_main.php?action=view&id=' + id).then(resp=>{ | |||
if (resp.ok) { | |||
return resp.text() | |||
} | |||
throw new Error('系统错误,无法获取数据'); | |||
}).then((d)=>{ | |||
$DE('edsta').innerHTML = d; | |||
}).catch((error) => { | |||
$DE('edsta').innerHTML = errMsg; | |||
}); | |||
} | |||
function DelType() { | |||
DedeConfirm("您确实要删除这个分类吗").then((v)=>{ | |||
var id = GetSelType(); | |||
if (id == 0) { | |||
ShowMsg("必须选择一个类别"); | |||
return false; | |||
} | |||
location.href = 'stepselect_main.php?action=del&id=' + id; | |||
}).catch((e)=>{ | |||
console.log(e) | |||
}); | |||
} | |||
function CloseTWin() { | |||
$DE('edsta').innerHTML = loadhtml; | |||
$DE('edsta').style.display = 'none'; | |||
} | |||
function ChangePage(sobj) { | |||
var ntxt = sobj.options[sobj.selectedIndex].text; | |||
if (sobj.options[sobj.selectedIndex].value == 0) { | |||
location.href = 'stepselect_main.php'; | |||
} else { | |||
var ns = ntxt.split('|'); | |||
location.href = 'stepselect_main.php?egroup=' + ns[0]; | |||
} | |||
} | |||
function TogSel() { | |||
var ems = document.getElementsByName('ids[]'); | |||
for (i = 0; i < ems.length; i++) { | |||
if (ems[i].checked == false) ems[i].checked = true; | |||
else ems[i].checked = false; | |||
} | |||
} | |||
function DelSel() { | |||
DedeConfirm("您确实要删除这些分类吗").then((v)=>{ | |||
document.form1.submit(); | |||
}).catch((e)=>{ | |||
console.log(e) | |||
}); | |||
} | |||
function ChangePage2(sobj) { | |||
var nv = sobj.options[sobj.selectedIndex].value; | |||
if (sobj.options[sobj.selectedIndex].value == 0) { | |||
location.href = 'stepselect_main.php?egroup=<?php echo $egroup;?>'; | |||
} else { | |||
location.href = 'stepselect_main.php?egroup=<?php echo $egroup;?>&topvalue=' + nv; | |||
} | |||
} | |||
</script> | |||
</head> | |||
<body> | |||
<div id="edsta"><img src="../static/web/img/loadinglit.gif"></div> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<select name="egroup1" id="egroup1" onChange="ChangePage(this)" class="admin-input-sm mr-3"> | |||
<option value="0">所有组</option> | |||
<?php | |||
$selgroup = ''; | |||
foreach($etypes as $arr) | |||
{ | |||
$stylecolor = ""; | |||
if ($arr['issystem']==1) $stylecolor = " style='color:#999999' "; | |||
if ($egroup==$arr['egroup']) { | |||
$selgroup = $arr['itemname']; | |||
echo "<option value='{$arr['id']}' $stylecolor selected='1'>{$arr['egroup']}|{$arr['itemname']}</option>"; | |||
} else { | |||
echo "<option value='{$arr['id']}' $stylecolor>{$arr['egroup']}|{$arr['itemname']}</option>"; | |||
} | |||
} | |||
?> | |||
</select> | |||
<button type="button" name="gedit" id="gedit" class="btn btn-success btn-sm" onclick="EditType()">修改</button> | |||
<button type="button" name="gdel" id="gdel" class="btn btn-success btn-sm" onclick="DelType()">删除</button> | |||
<button type="button" name="gview" id="gview" class="btn btn-success btn-sm" onclick="ViewType()">预览</button> | |||
<button type="button" name="addnew" id="addnew" class="btn btn-success btn-sm" onclick="AddType()">新增类别组</button> | |||
<a href="stepselect_main.php?action=upallcache" class="btn btn-success btn-sm">更新所有枚举缓存</a> | |||
</td> | |||
</tr> | |||
</table> | |||
<?php | |||
if (!empty($egroup)) { | |||
$arr = $dsql->GetOne("SELECT * FROM `#@__stepselect` WHERE egroup='{$egroup}' "); | |||
$dsql->Execute('out',"SELECT evalue,ename FROM `#@__sys_enum` WHERE egroup='{$arr['egroup']}' ORDER BY disorder ASC,evalue ASC"); | |||
$options = ''; | |||
while($row1 = $dsql->GetArray('out')) | |||
{ | |||
if (!preg_match("#\.#", $row1['evalue'])) | |||
{ | |||
$row1['ename'] = ($row1['evalue'] % 500 == 0)? $row1['ename'] : '└─ '.$row1['ename']; | |||
if ($topvalue != $row1['evalue']) $options .= "<option value='{$row1['evalue']}'>{$row1['ename']}</option>"; | |||
else $options .= "<option value='{$row1['evalue']}' selected='selected'>{$row1['ename']}</option>"; | |||
} | |||
} | |||
//如果添加3级之类 | |||
if ($topvalue % 500 != 0) $arr['issign'] = 2; | |||
?> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="8">联动枚举组管理</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="8"> | |||
<span class="float-left"><?php echo $selgroup;?> > 子分类管理</span> | |||
<span class="float-right"> | |||
<?php | |||
if ($egroup=='nativeplace') { | |||
echo "<a href='stepselect_main.php?action=exarea' class='btn btn-success btn-sm'>导入默认省市地区表</a>"; | |||
} | |||
?> | |||
</span> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td> | |||
<form action="stepselect_main.php" method="post"> | |||
<input type="hidden" name="action" value="addenum_save"> | |||
<input type="hidden" name="issign" value="<?php echo $arr['issign'];?>"> | |||
<input type="hidden" name="egroup" value="<?php echo $arr['egroup'];?>"> | |||
<span class="float-left ml-2">隶属分类: | |||
<select name="topvalue" onChange="ChangePage2(this)" class="admin-input-sm"> | |||
<option value="0"><?php echo $selgroup;?></option> | |||
<?php echo $options;?> | |||
</select> | |||
</span> | |||
<span class="float-left ml-2">分类名称:<input type="text" name="ename" class="admin-input-lg"></span> | |||
<span class="float-left ml-2"><button type="submit" name="sb2" class="btn btn-success btn-sm">添加分类</button></span> | |||
</form> | |||
</td> | |||
</tr> | |||
</table> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="8"><a href="stepselect_main.php">联动类别管理</a> > <a href="stepselect_main.php?egroup=<?php echo $egroup;?>"><?php echo $selgroup;?></a> > 子分类列表</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="6%">id</td> | |||
<td width="20%">枚举名</td> | |||
<td width="30%">类别组名</td> | |||
<td width="10%">枚举类型</td> | |||
<td width="10%">枚举值</td> | |||
<td width="10%">组内排序</td> | |||
<td>操作</td> | |||
</tr> | |||
<form action="stepselect_main.php" name="upenumf" method="post" id="upenumf"> | |||
<input type="hidden" name="action" value="upenum"> | |||
<input type="hidden" name="aid" value=""> | |||
<input type="hidden" name="ename" value=""> | |||
<input type="hidden" name="disorder" value=""> | |||
</form> | |||
<form name="form1" action="stepselect_main.php" method="post"> | |||
<input type="hidden" name="action" value="delenumAllSel"> | |||
{dede:datalist empty='<tr><td colspan="8" align="center">暂无文档</td></tr>'} | |||
<tr align="center"> | |||
<td><input type="checkbox" name="ids[]" value="{dede:field.id/}"></td> | |||
<td>{dede:field.id/}</td> | |||
<td> | |||
<?php | |||
if (!preg_match("#\.#", $fields['evalue'])) | |||
{ | |||
if ($fields['evalue']>500 && $fields['evalue']%500 != 0) $fields['ename'] = "└─ ".$fields['ename']; | |||
} else { | |||
$fields['ename'] = "└── ".$fields['ename']; | |||
} | |||
?> | |||
<input type='text' id='ename{dede:field.id/}' value='{dede:field.ename/}' class='abt'> | |||
</td> | |||
<td>{dede:field.egroup/}</td> | |||
<td> | |||
<?php | |||
if (!preg_match("#\.#", $fields['evalue'])) | |||
{ | |||
if ($fields['evalue']>500 && $fields['evalue']%500 != 0) echo '二级选择'; | |||
else echo '一级选择'; | |||
} else { | |||
echo "三级选择"; | |||
} | |||
?> | |||
</td> | |||
<td>{dede:field.evalue/}</td> | |||
<td><input type='text' id='disorder{dede:field.id/}' value='{dede:field.disorder/}' class='abt'></td> | |||
<td> | |||
<?php | |||
if (!empty($egroup)) | |||
{ | |||
?> | |||
<a href='javascript:updateItem({dede:field.id/});' class='btn btn-success btn-sm'><i class='fa fa-repeat'></i> 更新</a> | |||
<a href='stepselect_main.php?action=delenum&id={dede:field.id/}' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
<?php | |||
} else { | |||
echo "<a href='stepselect_main.php?egroup={$fields['egroup']}'>".$egroups[$fields['egroup']]."</a>"; | |||
} | |||
?> | |||
</td> | |||
</tr> | |||
{/dede:datalist} | |||
</form> | |||
<tr> | |||
<td colspan="8"> | |||
<a href="javascript:TogSel();" class="btn btn-success btn-sm">选择</a> | |||
<a href="javascript:DelSel();" class="btn btn-danger btn-sm">删除</a> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f5f5f5" align="center"> | |||
<td colspan="8">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
<?php | |||
} else { | |||
?> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7">联动类别管理</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="6%">id</td> | |||
<td width="30%">组类别名</td> | |||
<td width="10%">级数</td> | |||
<td width="10%">系统</td> | |||
<td width="10%">缓存组名</td> | |||
<td>操作</td> | |||
</tr> | |||
{dede:datalist} | |||
<tr align="center"> | |||
<td><input type="checkbox" name="ids[]" value="{dede:field.id/}"></td> | |||
<td>{dede:field.id/}</td> | |||
<td><a href="stepselect_main.php?egroup={dede:field.egroup/}">{dede:field.itemname/}</a></td> | |||
<td> | |||
<?php | |||
switch ($fields['issign']) { | |||
case 0: | |||
echo "一级选择"; | |||
break; | |||
case 1: | |||
echo "二级选择"; | |||
break; | |||
case 2: | |||
echo "三级选择"; | |||
break; | |||
} | |||
?> | |||
</td> | |||
<td> {dede:field.issystem function="@me==1 ? '是' : '否'"/} </td> | |||
<td>{dede:field.egroup/}</td> | |||
<td> | |||
<a href="stepselect_main.php?action=upallcache&egroup={dede:field.egroup/}" class="btn btn-light btn-sm"><i class="fa fa-repeat"></i> 更新</a> | |||
<a href="stepselect_main.php?egroup={dede:field.egroup/}" class="btn btn-light btn-sm"><i class="fa fa-eye"></i> 查看</a> | |||
</td> | |||
</tr> | |||
{/dede:datalist} | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
<?php }?> | |||
<div id="edsta"><img src="../static/web/img/loadinglit.gif"></div> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<select name="egroup1" id="egroup1" onChange="ChangePage(this)" class="admin-input-sm mr-3"> | |||
<option value="0">所有组</option> | |||
<?php | |||
$selgroup = ''; | |||
foreach($etypes as $arr) | |||
{ | |||
$stylecolor = ""; | |||
if ($arr['issystem']==1) $stylecolor = " style='color:#999999' "; | |||
if ($egroup==$arr['egroup']) { | |||
$selgroup = $arr['itemname']; | |||
echo "<option value='{$arr['id']}' $stylecolor selected='1'>{$arr['egroup']}|{$arr['itemname']}</option>"; | |||
} else { | |||
echo "<option value='{$arr['id']}' $stylecolor>{$arr['egroup']}|{$arr['itemname']}</option>"; | |||
} | |||
} | |||
?> | |||
</select> | |||
<button type="button" name="gedit" id="gedit" class="btn btn-success btn-sm" onclick="EditType()">修改</button> | |||
<button type="button" name="gdel" id="gdel" class="btn btn-success btn-sm" onclick="DelType()">删除</button> | |||
<button type="button" name="gview" id="gview" class="btn btn-success btn-sm" onclick="ViewType()">预览</button> | |||
<button type="button" name="addnew" id="addnew" class="btn btn-success btn-sm" onclick="AddType()">新增类别组</button> | |||
<a href="stepselect_main.php?action=upallcache" class="btn btn-success btn-sm">更新所有枚举缓存</a> | |||
</td> | |||
</tr> | |||
</table> | |||
<?php | |||
if (!empty($egroup)) { | |||
$arr = $dsql->GetOne("SELECT * FROM `#@__stepselect` WHERE egroup='{$egroup}' "); | |||
$dsql->Execute('out',"SELECT evalue,ename FROM `#@__sys_enum` WHERE egroup='{$arr['egroup']}' ORDER BY disorder ASC,evalue ASC"); | |||
$options = ''; | |||
while($row1 = $dsql->GetArray('out')) | |||
{ | |||
if (!preg_match("#\.#", $row1['evalue'])) | |||
{ | |||
$row1['ename'] = ($row1['evalue'] % 500 == 0)? $row1['ename'] : '└─ '.$row1['ename']; | |||
if ($topvalue != $row1['evalue']) $options .= "<option value='{$row1['evalue']}'>{$row1['ename']}</option>"; | |||
else $options .= "<option value='{$row1['evalue']}' selected='selected'>{$row1['ename']}</option>"; | |||
} | |||
} | |||
//如果添加3级之类 | |||
if ($topvalue % 500 != 0) $arr['issign'] = 2; | |||
?> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="8">联动枚举组管理</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="8"> | |||
<span class="float-left"><?php echo $selgroup;?> > 子分类管理</span> | |||
<span class="float-right"> | |||
<?php | |||
if ($egroup=='nativeplace') { | |||
echo "<a href='stepselect_main.php?action=exarea' class='btn btn-success btn-sm'>导入默认省市地区表</a>"; | |||
} | |||
?> | |||
</span> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td> | |||
<form action="stepselect_main.php" method="post"> | |||
<input type="hidden" name="action" value="addenum_save"> | |||
<input type="hidden" name="issign" value="<?php echo $arr['issign'];?>"> | |||
<input type="hidden" name="egroup" value="<?php echo $arr['egroup'];?>"> | |||
<span class="float-left ml-2">隶属分类: | |||
<select name="topvalue" onChange="ChangePage2(this)" class="admin-input-sm"> | |||
<option value="0"><?php echo $selgroup;?></option> | |||
<?php echo $options;?> | |||
</select> | |||
</span> | |||
<span class="float-left ml-2">分类名称:<input type="text" name="ename" class="admin-input-lg"></span> | |||
<span class="float-left ml-2"><button type="submit" name="sb2" class="btn btn-success btn-sm">添加分类</button></span> | |||
</form> | |||
</td> | |||
</tr> | |||
</table> | |||
<form action="stepselect_main.php" name="upenumf" method="post" id="upenumf"> | |||
<input type="hidden" name="action" value="upenum"> | |||
<input type="hidden" name="aid" value=""> | |||
<input type="hidden" name="ename" value=""> | |||
<input type="hidden" name="disorder" value=""> | |||
</form> | |||
<form name="form1" action="stepselect_main.php" method="post"> | |||
<input type="hidden" name="action" value="delenumAllSel"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="8"><a href="stepselect_main.php">联动类别管理</a> > <a href="stepselect_main.php?egroup=<?php echo $egroup;?>"><?php echo $selgroup;?></a> > 子分类列表</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="6%">id</td> | |||
<td width="20%">枚举名</td> | |||
<td width="20%">类别组名</td> | |||
<td width="10%">枚举类型</td> | |||
<td width="10%">枚举值</td> | |||
<td width="10%">组内排序</td> | |||
<td>操作</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="8" align="center">暂无文档</td></tr>'} | |||
<tr align="center"> | |||
<td><input type="checkbox" name="ids[]" value="{dede:field.id/}"></td> | |||
<td>{dede:field.id/}</td> | |||
<td> | |||
<?php | |||
if (!preg_match("#\.#", $fields['evalue'])) { | |||
if ($fields['evalue']>500 && $fields['evalue']%500 != 0) $fields['ename'] = "└─ ".$fields['ename']; | |||
} else { | |||
$fields['ename'] = "└── ".$fields['ename']; | |||
} | |||
?> | |||
<input type='text' id='ename{dede:field.id/}' value='{dede:field.ename/}'> | |||
</td> | |||
<td>{dede:field.egroup/}</td> | |||
<td> | |||
<?php | |||
if (!preg_match("#\.#", $fields['evalue'])) { | |||
if ($fields['evalue']>500 && $fields['evalue']%500 != 0) echo '二级选择'; | |||
else echo '一级选择'; | |||
} else { | |||
echo "三级选择"; | |||
} | |||
?> | |||
</td> | |||
<td>{dede:field.evalue/}</td> | |||
<td><input type='text' id='disorder{dede:field.id/}' value='{dede:field.disorder/}'></td> | |||
<td> | |||
<?php | |||
if (!empty($egroup)) { | |||
?> | |||
<a href='javascript:updateItem({dede:field.id/});' class='btn btn-success btn-sm'><i class='fa fa-repeat'></i> 更新</a> | |||
<a href='stepselect_main.php?action=delenum&id={dede:field.id/}' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
<?php | |||
} else { | |||
echo "<a href='stepselect_main.php?egroup={$fields['egroup']}'>".$egroups[$fields['egroup']]."</a>"; | |||
} | |||
?> | |||
</td> | |||
</tr> | |||
{/dede:datalist} | |||
<tr> | |||
<td colspan="8"> | |||
<a href="javascript:TogSel();" class="btn btn-success btn-sm">选择</a> | |||
<a href="javascript:DelSel();" class="btn btn-danger btn-sm">删除</a> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f5f5f5" align="center"> | |||
<td colspan="8">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</form> | |||
<?php | |||
} else { | |||
?> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7">联动类别管理</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="6%">id</td> | |||
<td width="30%">组类别名</td> | |||
<td width="10%">级数</td> | |||
<td width="10%">系统</td> | |||
<td width="10%">缓存组名</td> | |||
<td>操作</td> | |||
</tr> | |||
{dede:datalist} | |||
<tr align="center"> | |||
<td><input type="checkbox" name="ids[]" value="{dede:field.id/}"></td> | |||
<td>{dede:field.id/}</td> | |||
<td><a href="stepselect_main.php?egroup={dede:field.egroup/}">{dede:field.itemname/}</a></td> | |||
<td> | |||
<?php | |||
switch ($fields['issign']) { | |||
case 0: | |||
echo "一级选择"; | |||
break; | |||
case 1: | |||
echo "二级选择"; | |||
break; | |||
case 2: | |||
echo "三级选择"; | |||
break; | |||
} | |||
?> | |||
</td> | |||
<td> {dede:field.issystem function="@me==1 ? '是' : '否'"/} </td> | |||
<td>{dede:field.egroup/}</td> | |||
<td> | |||
<a href="stepselect_main.php?action=upallcache&egroup={dede:field.egroup/}" class="btn btn-light btn-sm"><i class="fa fa-repeat"></i> 更新</a> | |||
<a href="stepselect_main.php?egroup={dede:field.egroup/}" class="btn btn-light btn-sm"><i class="fa fa-eye"></i> 查看</a> | |||
</td> | |||
</tr> | |||
{/dede:datalist} | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
<?php }?> | |||
</body> | |||
</html> |
@@ -32,13 +32,13 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">添加管理员</td> | |||
</tr> | |||
<form name="form1" action="sys_admin_user_add.php" onSubmit="return checkSubmit();" method="post"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<input type="hidden" name="dopost" value="add"> | |||
<form name="form1" action="sys_admin_user_add.php" onSubmit="return checkSubmit();" method="post"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<input type="hidden" name="dopost" value="add"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">添加管理员</td> | |||
</tr> | |||
<tr> | |||
<td width="260">会员名:</td> | |||
<td> | |||
@@ -104,7 +104,7 @@ | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2" align="center"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,15 +9,15 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">修改管理员</td> | |||
</tr> | |||
<form name="form1" action="sys_admin_user_edit.php" method="post"> | |||
<input type="hidden" name="dopost" value="saveedit"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<input type="hidden" name="id" value="<?php echo $row['id']?>"> | |||
<input type="hidden" name="olduserid" value="<?php echo $row['userid']?>"> | |||
<form name="form1" action="sys_admin_user_edit.php" method="post"> | |||
<input type="hidden" name="dopost" value="saveedit"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<input type="hidden" name="id" value="<?php echo $row['id']?>"> | |||
<input type="hidden" name="olduserid" value="<?php echo $row['userid']?>"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">修改管理员</td> | |||
</tr> | |||
<tr> | |||
<td width="260">会员名:</td> | |||
<td><input type="text" name="userid" id="userid" value="<?php echo $row['userid']?>" class="admin-input-sm"></td> | |||
@@ -83,7 +83,7 @@ | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="javascript:history.go(-1);">返回</button> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,9 +9,9 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="sys_cache_up.php" method="get" target='stafrm'> | |||
<input type="hidden" name="dopost" value="ok"> | |||
<form name="form1" action="sys_cache_up.php" method="get" target='stafrm'> | |||
<input type="hidden" name="dopost" value="ok"> | |||
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5">更新缓存</td> | |||
</tr> | |||
@@ -29,15 +29,12 @@ | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location='makehtml_all.php';">更新整站</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td>结果:</td> | |||
</tr> | |||
<tr> | |||
<td id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -81,12 +81,12 @@ | |||
</td> | |||
</tr> | |||
</table> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="8">数据备份</td> | |||
</tr> | |||
<form name="form1" onSubmit="checkSubmit()" action="sys_data_done.php?dopost=bak" method="post" target="stafrm"> | |||
<input type="hidden" name="tablearr" value=""> | |||
<form name="form1" onSubmit="checkSubmit()" action="sys_data_done.php?dopost=bak" method="post" target="stafrm"> | |||
<input type="hidden" name="tablearr" value=""> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="8">数据备份</td> | |||
</tr> | |||
<tr> | |||
<td colspan="8">系统默认表:</td> | |||
</tr> | |||
@@ -194,15 +194,12 @@ | |||
<button type="submit" name="Submit" class="btn btn-success btn-sm">提交</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td colspan="8">结果:</td> | |||
</tr> | |||
<tr> | |||
<td colspan="8"> | |||
<div class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="8"> | |||
<div class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -43,9 +43,9 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form action="sys_data_replace.php" name="form1" method="post" target="stafrm" onSubmit="return CheckSubmit()"> | |||
<input type="hidden" name="action" value="apply"> | |||
<form action="sys_data_replace.php" name="form1" method="post" target="stafrm" onSubmit="return CheckSubmit()"> | |||
<input type="hidden" name="action" value="apply"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">数据库字段替换</td> | |||
</tr> | |||
@@ -122,15 +122,12 @@ | |||
<tr> | |||
<td bgcolor="#e9ecef" colspan="2" align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">开始替换数据</button></td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td colspan="2">结果:</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -61,13 +61,13 @@ | |||
</td> | |||
</tr> | |||
</table> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="4">数据还原</td> | |||
</tr> | |||
<form name="form1" onSubmit="checkSubmit()" action="sys_data_done.php" method="post" target="stafrm"> | |||
<input type="hidden" name="dopost" value="redat"> | |||
<input type="hidden" name="bakfiles" value=""> | |||
<form name="form1" onSubmit="checkSubmit()" action="sys_data_done.php" method="post" target="stafrm"> | |||
<input type="hidden" name="dopost" value="redat"> | |||
<input type="hidden" name="bakfiles" value=""> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="4">数据还原</td> | |||
</tr> | |||
<tr> | |||
<td colspan="4">发现的备份文件:<?php if (count($filelists)==0) echo " 没找到任何备份文件 ";?></td> | |||
</tr> | |||
@@ -98,15 +98,12 @@ | |||
<button type="submit" name="Submit" class="btn btn-success btn-sm">还原</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td colspan="4">结果:</td> | |||
</tr> | |||
<tr> | |||
<td colspan="4"> | |||
<div class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="4"> | |||
<div class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -17,9 +17,9 @@ | |||
</td> | |||
</tr> | |||
</table> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<form name="form1" action="content_att.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<form name="form1" action="content_att.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="3">系统会员组管理</td> | |||
</tr> | |||
@@ -44,7 +44,7 @@ | |||
</td> | |||
</tr> | |||
<?php }?> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,9 +9,9 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="2" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="sys_group_add.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<form name="form1" action="sys_group_add.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table cellpadding="2" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="sys_group.php">系统会员组管理</a> > 添加会员组</td> | |||
</tr> | |||
@@ -75,7 +75,7 @@ | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2" align="center"><button type="submit" onclick="DoSubmit('gettag')" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,9 +9,9 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="2" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="sys_group_edit.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<form name="form1" action="sys_group_edit.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table cellpadding="2" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="sys_group.php">系统会员组管理</a> > 修改会员组</td> | |||
</tr> | |||
@@ -80,7 +80,7 @@ | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2" align="center"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -194,12 +194,12 @@ | |||
<td><?php echo $row['varname']?></td> | |||
</tr> | |||
<?php }?> | |||
<tr> | |||
<td bgcolor="#f5f5f5" align="center" colspan="3"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="document.form1.reset()">重置</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#f5f5f5" align="center" colspan="3"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="document.form1.reset()">重置</button> | |||
</td> | |||
</tr> | |||
</table> | |||
<?php }?> | |||
</div> | |||
@@ -9,10 +9,10 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form action="sys_info_mark.php" method="post" enctype="multipart/form-data"> | |||
<input type="hidden" name="action" value="save"> | |||
<input type="hidden" name="get_photo_markimg" value="<?php echo $photo_markimg?>"> | |||
<form action="sys_info_mark.php" method="post" enctype="multipart/form-data"> | |||
<input type="hidden" name="action" value="save"> | |||
<input type="hidden" name="get_photo_markimg" value="<?php echo $photo_markimg?>"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">图片水印设置</td> | |||
</tr> | |||
@@ -136,7 +136,7 @@ | |||
<button type="reset" class="btn btn-outline-success btn-sm">重置</button> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -44,7 +44,6 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5">文件扫描工具</td> | |||
@@ -32,7 +32,7 @@ | |||
<body> | |||
<textarea id="baseText" style="display:none"><?php echo $base ;?></textarea> | |||
<textarea id="newText" style="display:none"><?php echo $new ;?></textarea> | |||
<div id="diffoutput"> </div> | |||
<div id="diffoutput"></div> | |||
<script> | |||
$(document).ready(function() { | |||
diffUsingJS(1); | |||
@@ -55,8 +55,8 @@ | |||
</tr> | |||
</form> | |||
<form action="sys_sql_query.php" method="post" name="form1" target="stafrm"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<input type="hidden" name="dopost" value="query"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<tr> | |||
<td colspan="2">运行SQL命令行: | |||
<label><input type="radio" name="querytype" value="0"> 单行命令</label> | |||
@@ -15,26 +15,26 @@ | |||
<script src="js/mode/htmlmixed/htmlmixed.js"></script> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="form1" action="tag_test_action.php" target="stafrm" method="post"> | |||
<input type="hidden" name="dopost" value="make"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<form name="form1" action="tag_test_action.php" target="stafrm" method="post"> | |||
<input type="hidden" name="dopost" value="make"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2">全局标记测试</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2"> | |||
<td > | |||
<div class="alert alert-info mb-0">全局标记应用在网站首页、单独页面、封面栏目使用的单独模板标记,在列表或文档模板中,一般只允许调用channel、arclist标记(hotart、coolart、imglist等都是这个标记延伸出来的标记),但是环境变量限定为文档或列表所在的栏目,如果您要测试的标记是在列表或文档中使用,请指定环境变量(栏目id)各标记的具体含义和用途</div> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td>环境变量:</td> | |||
<td> | |||
<td colspan="2"> | |||
<span>环境变量:</span> | |||
<?php | |||
if (empty($cid)) $cid="0"; | |||
$tl = new TypeLink($cid); | |||
$typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0); | |||
echo "<select name='typeid' class='admin-input-sm'>"; | |||
echo "<select name='typeid' class='admin-input-sm ml-2'>"; | |||
if ($cid=="0") echo "<option value='0' selected>不使用环境</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
@@ -47,16 +47,13 @@ | |||
<tr> | |||
<td bgcolor="#e9ecef" colspan="2" align="center"><button type="submit" class="btn btn-success btn-sm">提交测试</button></td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td colspan="2">结果:</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
<script> | |||
var editor = CodeMirror.fromTextArea(document.getElementById('partcode'), { | |||
lineNumbers: true, | |||
@@ -86,11 +86,11 @@ | |||
</form> | |||
</tr> | |||
</table> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td colspan="8" bgcolor="#f5f5f5">标签管理</td> | |||
</tr> | |||
<form name="form3" action="tags_main.php?action=delete" method="post"> | |||
<form name="form3" action="tags_main.php?action=delete" method="post"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td colspan="8" bgcolor="#f5f5f5">标签管理</td> | |||
</tr> | |||
<tr align="center" bgcolor="#e9ecef"> | |||
<td width="6%"><input type="checkbox" name="chkall" id="chkall" onclick="CheckAll(this.form)"> 反选</td> | |||
<td width="6%">id</td> | |||
@@ -129,7 +129,7 @@ | |||
<tr> | |||
<td colspan="8" bgcolor="#f5f5f5" align="center">{dede:pagelist/}</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -10,9 +10,9 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<form action="templets_one.php" name="sss"> | |||
<form action="templets_one.php" name="sss"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<input type="text" name="keyword" value="<?php if (!empty($keyword)) $keyword = '';?>" placeholder="请输入关键词" class="admin-input-lg mr-3"> | |||
<?php | |||
@@ -32,24 +32,24 @@ | |||
<a href="javascript:;" onclick="document.form1.submit();" class="btn btn-success btn-sm">更新选中页面</a> | |||
<a href="templets_one_edit.php?dopost=mkall" class="btn btn-success btn-sm">更新所有页面</a> | |||
</td> | |||
</form> | |||
</tr> | |||
</table> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7">文档单页管理</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="6%">id</td> | |||
<td width="30%">页面名称</td> | |||
<td width="10%">需编译</td> | |||
<td width="10%">标识</td> | |||
<td width="10%">修改时间</td> | |||
<td>管理</td> | |||
</tr> | |||
<form name="form1" action="templets_one_edit.php"> | |||
<input type="hidden" name="dopost" value="mksel"> | |||
</tr> | |||
</table> | |||
</form> | |||
<form name="form1" action="templets_one_edit.php"> | |||
<input type="hidden" name="dopost" value="mksel"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7">文档单页管理</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">选择</td> | |||
<td width="6%">id</td> | |||
<td width="30%">页面名称</td> | |||
<td width="10%">需编译</td> | |||
<td width="10%">标识</td> | |||
<td width="10%">修改时间</td> | |||
<td>管理</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="7" align="center">暂无文档</td></tr>'} | |||
<tr align="center"> | |||
<td><input type="checkbox" name="ids[]" value="{dede:field.aid/}"></td> | |||
@@ -65,10 +65,10 @@ | |||
</td> | |||
</tr> | |||
{/dede:datalist} | |||
</form> | |||
<tr bgcolor="#f5f5f5" align="center"> | |||
<td colspan="7">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
<tr bgcolor="#f5f5f5" align="center"> | |||
<td colspan="7">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -16,9 +16,9 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table width="98%" cellpadding="0" cellspacing="0"> | |||
<form method="POST" action="tpl.php" name=form1 onSubmit="return Post()"> | |||
<input type="hidden" name="action" value="savenewfile"> | |||
<form method="POST" action="tpl.php" name=form1 onSubmit="return Post()"> | |||
<input type="hidden" name="action" value="savenewfile"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td width="260">工作目录:</td> | |||
<td> | |||
@@ -40,7 +40,7 @@ | |||
<input type="button" name="B4" class="btn btn-outline-success btn-sm" value="返回" onclick="javascript:history.go(-1)"> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -69,14 +69,14 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href='vote_main.php'>投票管理</a> > 添加投票</td> | |||
</tr> | |||
<form name="form1" method="post" action="vote_add.php" onSubmit="return checkSubmit()"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<input type="hidden" name="isarc" value="<?php echo $isarc;?>"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<form name="form1" method="post" action="vote_add.php" onSubmit="return checkSubmit()"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<input type="hidden" name="isarc" value="<?php echo $isarc;?>"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href='vote_main.php'>投票管理</a> > 添加投票</td> | |||
</tr> | |||
<tr> | |||
<td width="260">投票名称:</td> | |||
<td><input type="text" name="votename" id="votename" class="admin-input-lg"></td> | |||
@@ -143,7 +143,7 @@ | |||
<button type="button" name="Submit" class="btn btn-outline-success btn-sm" onclick="history.back()">返回</button> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -45,14 +45,14 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="vote_main.php">投票管理</a> > 添加投票</td> | |||
</tr> | |||
<form name="form1" method="post" action="vote_edit.php"> | |||
<input type="hidden" name="dopost" value="saveedit"> | |||
<input type="hidden" name="aid" value="<?php echo $aid?>"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<form name="form1" method="post" action="vote_edit.php"> | |||
<input type="hidden" name="dopost" value="saveedit"> | |||
<input type="hidden" name="aid" value="<?php echo $aid?>"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="vote_main.php">投票管理</a> > 添加投票</td> | |||
</tr> | |||
<tr> | |||
<td width="260">投票名称:</td> | |||
<td><input type="text" name="votename" id="votename" value="<?php echo $row['votename']?>"></td> | |||
@@ -114,7 +114,7 @@ | |||
<button type="button" name="Submit" class="btn btn-outline-success btn-sm" onclick="history.back()">返回</button> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -9,13 +9,13 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="vote_main.php">投票管理</a> > 获取投票代码</td> | |||
</tr> | |||
<form name="form1" action="tag_test_action.php" target="stafrm" method="post"> | |||
<input type="hidden" name="showsource" value="no"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<form name="form1" action="tag_test_action.php" target="stafrm" method="post"> | |||
<input type="hidden" name="showsource" value="no"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="vote_main.php">投票管理</a> > 获取投票代码</td> | |||
</tr> | |||
<tr> | |||
<td><textarea name="partcode" id="partcode" class="admin-textarea-xl">{dede:vote id='<?php echo $aid?>'}{/dede:vote}</textarea></td> | |||
<td rowspan="2"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></td> | |||
@@ -23,21 +23,21 @@ | |||
<tr> | |||
<td align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">提交测试</button></td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td colspan="2"><textarea name="htmlf" id="htmlf" class="admin-textarea-xl"><script src="<?php echo $cfg_basehost.'/data/vote/vote_'.$aid.'.js' ?>"></script></textarea></td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" class="p-0"> | |||
<textarea name="htmlf" id="htmlf" class="admin-textarea-xl"> | |||
<?php | |||
$vt = new DedeVote($aid); | |||
echo $vt->GetVoteForm(); | |||
$vt->Close(); | |||
?> | |||
</textarea> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td colspan="2"><textarea name="htmlf" id="htmlf" class="admin-textarea-xl"><script src="<?php echo $cfg_basehost.'/data/vote/vote_'.$aid.'.js' ?>"></script></textarea></td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" class="p-0"> | |||
<textarea name="htmlf" id="htmlf" class="admin-textarea-xl"> | |||
<?php | |||
$vt = new DedeVote($aid); | |||
echo $vt->GetVoteForm(); | |||
$vt->Close(); | |||
?> | |||
</textarea> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</body> | |||
</html> |
@@ -13,8 +13,8 @@ | |||
<main class="container py-3"> | |||
<div class="row"> | |||
<div class="col-md-12"> | |||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||
<form name="form1" action="search.php" method="get"> | |||
<form name="form1" action="search.php" method="get"> | |||
<table width="100%" cellpadding="0" cellspacing="0" class="table"> | |||
<tr> | |||
<td align="center" width="20%">网站栏目:</td> | |||
<td> | |||
@@ -97,8 +97,8 @@ | |||
<button type="reset" class="btn btn-outline-success">重置</button> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
</table> | |||
</form> | |||
</div> | |||
</div> | |||
</main> | |||
@@ -1,6 +1,6 @@ | |||
<table width="300"> | |||
<tr> | |||
<td width="20"><a href="~link~" target="_blank"><img src="~~cfg_phpurl~~/img/icon_addon.png" align="center"></a></td> | |||
<td width="20"><a href="~link~" target="_blank"><img src="~~cfg_phpurl~~/img/icon_addon.png" align="center"></a></td> | |||
<td><a href="~link~" target="_blank">~link~</a></td> | |||
</tr> | |||
</table> |
@@ -1 +1 @@ | |||
| <a href="[field:typelink/]">[field:typename/]</a> | |||
-<a href="[field:typelink/]">[field:typename/]</a> |
@@ -5,8 +5,6 @@ | |||
<div class="col-6 caption"><span>~notename~</span></div> | |||
</div> | |||
</div> | |||
<ul class="list-group list-group-flush"> | |||
~spec_arclist~ | |||
</ul> | |||
<ul class="list-group list-group-flush">~spec_arclist~</ul> | |||
</div> | |||
</div> |
@@ -1,6 +1,4 @@ | |||
<div class="form-group row"> | |||
<label class="col-sm-2 col-form-label">~name~</label> | |||
<div class="col-sm-10"> | |||
~form~ | |||
</div> | |||
<div class="col-sm-10">~form~</div> | |||
</div> |
@@ -1 +1,4 @@ | |||
<p><label class="fleft">~name~:</label><span class="inputinfo">~form~</span></p> | |||
<p> | |||
<label>~name~:</label> | |||
<span>~form~</span> | |||
</p> |
@@ -1 +1,4 @@ | |||
<li><span>~name~:</span><div class="lform1">~form~</div></li> | |||
<li> | |||
<span>~name~:</span> | |||
<div>~form~</div> | |||
</li> |
@@ -1,10 +1,10 @@ | |||
<div class="col1"> | |||
<div class="mainlinklist">·<a href="[field:arcurl/]">[field:title/]</a></div> | |||
<div class="descriptions"> | |||
[field:description/] | |||
</div> | |||
<div class="mainlinklist"><a href="[field:arcurl/]">[field:title/]</a></div> | |||
<div class="descriptions">[field:description/]</div> | |||
<div class="addinfos"> | |||
日期:[field:pubdate function="GetDateTimeMK(@me)"/] 浏览:[field:click/] 好评度:[field:scores/] | |||
<span>日期:[field:pubdate function="GetDateTimeMK(@me)"/]</span> | |||
<span>浏览:[field:click/]</span> | |||
<span>好评度:[field:scores/]</span> | |||
<a href="[field:phpurl/]/feedback.php?aid=[field:id/]"><img src="[field:global.cfg_cmsurl/]/images/comment.gif" title="前往踩踩"></a> | |||
</div> | |||
</div> |
@@ -1,6 +1,7 @@ | |||
<div class="col1" style="line-height:28px"> | |||
<div style="float:left;width:50%">·<a href="[field:arcurl/]">[field:title/]</a></div> | |||
<div style="float:right;padding-right:6px;color:#888888"> | |||
日期:[field:senddate function="GetDateMK(@me)"/] 浏览:[field:click/] | |||
<div class="col1"> | |||
<div><a href="[field:arcurl/]">[field:title/]</a></div> | |||
<div> | |||
<span>日期:[field:senddate function="GetDateMK(@me)"/]</span> | |||
<span>浏览:[field:click/]</span> | |||
</div> | |||
</div> |
@@ -1,4 +1,4 @@ | |||
<li> | |||
<div><a href="[field:spaceurl/]" target="_blank"><img src="[field:face/]" alt="[field:spacename/]"></a></div> | |||
<div class="mbname"><a href="[field:spaceurl/]" target="_blank">[field:uname/]</a></div> | |||
<div><a href="[field:spaceurl/]" target="_blank">[field:uname/]</a></div> | |||
</li> |
@@ -4,16 +4,11 @@ | |||
</tr> | |||
<tr> | |||
<td> | |||
<span> | |||
发布人:[field:writer/] | |||
时间:[field:senddate function='MyDate("Y-m-d H:i:s","@me")'/] | |||
</span> | |||
<span>发布人:[field:writer/]</span> | |||
<span>时间:[field:senddate function='MyDate("Y-m-d H:i:s","@me")'/]</span> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td>[field:body/]</td> | |||
</tr> | |||
<tr> | |||
<td height="2"></td> | |||
</tr> | |||
</table> |
@@ -1,11 +1,4 @@ | |||
<ul style="padding:0;margin:0;list-style-type:none"> | |||
<li style="float:left;padding-left:3px;padding-right:3px"> | |||
▪ | |||
</li> | |||
<li style="float:left"> | |||
<a href="[field:typelink/]">[field:typename/]</a> | |||
</li> | |||
<li style="float:right;padding-right:3px;"> | |||
<a href="[field:typelink/]">更多</a> | |||
</li> | |||
<ul> | |||
<li><a href="[field:typelink/]">[field:typename/]</a></li> | |||
<li><a href="[field:typelink/]">更多</a></li> | |||
</ul> |
@@ -5,12 +5,8 @@ | |||
<table cellpadding="0" cellspacing="0" width="98%"> | |||
<tr> | |||
<td width="10%">▪</td> | |||
<td width="60%"> | |||
<a href="[field:typelink/]">[field:typename/]</a> | |||
</td> | |||
<td width="30%" align="right"> | |||
<a href="[field:typelink/]">更多</a> | |||
</td> | |||
<td width="60%"><a href="[field:typelink/]">[field:typename/]</a></td> | |||
<td width="30%" align="right"><a href="[field:typelink/]">更多</a></td> | |||
</tr> | |||
</table> | |||
{/dede:type} | |||
@@ -19,7 +15,7 @@ | |||
<tr> | |||
<td height="100"> | |||
{dede:arclist} | |||
·<a href="[field:arcurl/]">[field:title/]</a><br> | |||
<a href="[field:arcurl/]">[field:title/]</a><br> | |||
{/dede:arclist} | |||
</td> | |||
</tr> |
@@ -1,6 +1,2 @@ | |||
<div style="padding:6px;margin:0;width:96%;border:1px solid #d9efcb"> | |||
[field:imglink/] | |||
</div> | |||
<div style="padding:6px;margin:0;width:96%;"> | |||
[field:textlink/] | |||
</div> | |||
<div>[field:imglink/]</div> | |||
<div>[field:textlink/]</div> |
@@ -1 +1 @@ | |||
<li>[field:typename/] <a href="[field:arcurl/]" target="_blank">[field:title/]</a></li> | |||
<li>[field:typename/]·<a href="[field:arcurl/]" target="_blank">[field:title/]</a></li> |
@@ -1,14 +1,14 @@ | |||
<table width="100%"> | |||
<tr> | |||
<td width="23%" rowspan="2"> | |||
<td width="25%" rowspan="2"> | |||
<table width="90" height="75" cellpadding="1" cellspacing="1" bgcolor="#E6EAE3"> | |||
<tr> | |||
<td>[field:imglink/]</td> | |||
</tr> | |||
</table> | |||
</td> | |||
<td width="53%">[field:typelink/] [field:textlink/]</td> | |||
<td width="24%">点击:[field:click/]</td> | |||
<td width="50%">[field:typelink/] [field:textlink/]</td> | |||
<td width="25%">点击:[field:click/]</td> | |||
</tr> | |||
<tr> | |||
<td height="56" colspan="2"> | |||
@@ -1,4 +1,4 @@ | |||
<ul> | |||
<li class="fbtitle">[field:username function="(@me=='guest' ? '游客' : @me)"/] 对 [field:title/] 的评论:</li> | |||
<li class="fbmsg"><a href="apps/feedback.php?aid=[field:aid/]" class="fbmsg">[field:msg/]</a></li> | |||
<li>[field:username function="(@me=='guest' ? '游客' : @me)"/] 对 [field:title/] 的评论:</li> | |||
<li><a href="apps/feedback.php?aid=[field:aid/]">[field:msg/]</a></li> | |||
</ul> |