@@ -29,8 +29,8 @@ if ($fmdo == "rename") { | |||
$win->AddHidden("activepath", $activepath); | |||
$win->AddHidden("filename", $filename); | |||
$win->AddTitle("修改文件名,当前路径:$ndirstring"); | |||
$win->AddItem("旧名称:", "<input name='oldfilename' type='input' id='oldfilename' size='40' value='$filename'>"); | |||
$win->AddItem("新名称:", "<input name='newfilename' type='input' size='40' id='newfilename'>"); | |||
$win->AddItem("旧名称:", "<input type='input' name='oldfilename' id='oldfilename' value='$filename'>"); | |||
$win->AddItem("新名称:", "<input type='input' name='newfilename' id='newfilename'>"); | |||
$winform = $win->GetWindow("ok"); | |||
$win->Display(); | |||
} | |||
@@ -46,7 +46,7 @@ else if ($fmdo == "newdir") { | |||
$win->AddHidden("activepath", $activepath); | |||
$win->AddHidden("token", make_hash()); | |||
$win->AddTitle("当前目录 $activepathname "); | |||
$win->AddItem("新目录:", "<input name='newpath' type='input' id='newpath'>"); | |||
$win->AddItem("新目录:", "<input type='input' name='newpath' id='newpath'>"); | |||
$winform = $win->GetWindow("ok"); | |||
$win->Display(); | |||
} | |||
@@ -62,7 +62,7 @@ else if ($fmdo == "move") { | |||
$win->AddTitle("新位置前面不加'/'表示相对于当前位置,加'/'表示相对于根目录"); | |||
$win->AddItem("被移动文件:", $filename); | |||
$win->AddItem("当前位置:", $activepath); | |||
$win->AddItem("新位置:", "<input name='newpath' type='input' id='newpath' size='40'>"); | |||
$win->AddItem("新位置:", "<input type='input' name='newpath' id='newpath'>"); | |||
$winform = $win->GetWindow("ok"); | |||
$win->Display(); | |||
} | |||
@@ -272,8 +272,7 @@ if ($action == '') { | |||
$win->AddTitle("<a href='module_main.php'>模块管理</a> - 删除{$infos['name']}"); | |||
$win->AddHidden('hash', $hash); | |||
$win->AddHidden('action', 'delok'); | |||
$msg = "<table class='table'> | |||
<tr> | |||
$msg = "<tr> | |||
<td width='260'>模块名称:</td> | |||
<td>{$infos['name']}</td> | |||
</tr> | |||
@@ -299,8 +298,7 @@ if ($action == '') { | |||
</tr> | |||
<tr> | |||
<td colspan='2'>删除模块仅删除这个模块的安装包文件,如果您已经安装,请执行<a href='module_main.php?hash={$hash}&action=uninstall'>卸载程序</a>来删除</td> | |||
</tr> | |||
</table>"; | |||
</tr>"; | |||
$win->AddMsgItem("$msg"); | |||
$winform = $win->GetWindow("ok", ""); | |||
$win->Display(); | |||
@@ -332,8 +330,7 @@ if ($action == '') { | |||
$win->AddTitle("<a href='module_main.php'>模块管理</a> - 卸载{$infos['name']}"); | |||
$win->AddHidden("hash", $hash); | |||
$win->AddHidden("action", 'uninstallok'); | |||
$msg = "<table class='table'> | |||
<tr> | |||
$msg = "<tr> | |||
<td width='260'>模块名称:</td> | |||
<td>{$infos['name']}</td> | |||
</tr> | |||
@@ -367,8 +364,7 @@ if ($action == '') { | |||
<label><input type='radio' name='isreplace' value='0' checked='checked'> 手工删除文件,仅运行卸载程序</label> | |||
<label><input type='radio' name='isreplace' value='2'> 删除模块的所有文件</label> | |||
</td> | |||
</tr> | |||
</table>"; | |||
</tr>"; | |||
$win->AddMsgItem("$msg"); | |||
$winform = $win->GetWindow("ok", ""); | |||
$win->Display(); | |||
@@ -455,8 +451,7 @@ if ($action == '') { | |||
$win->Init("", "js/blank.js", ""); | |||
$wecome_info = "模块管理"; | |||
$win->AddTitle("<a href='module_main.php'>模块管理</a> - {$infos['name']}"); | |||
$msg = "<table class='table'> | |||
<tr> | |||
$msg = "<tr> | |||
<td width='260'>模块名称:</td> | |||
<td>{$infos['name']}</td> | |||
</tr> | |||
@@ -486,8 +481,7 @@ if ($action == '') { | |||
</tr> | |||
<tr> | |||
<td colspan='2'><textarea name='filelists' id='filelists' class='admin-textarea-xl'>{$filelist}</textarea></td> | |||
</tr> | |||
</table>"; | |||
</tr>"; | |||
$win->AddMsgItem("$msg"); | |||
$winform = $win->GetWindow('hand', ''); | |||
$win->Display(); | |||
@@ -57,8 +57,7 @@ if ($action == 'upload') { | |||
$wecome_info = "<a href='module_main.php'>模块管理</a> - 上传模块插件"; | |||
$win->AddTitle('请选择上传的模块插件文件'); | |||
$win->AddHidden("action", 'upload'); | |||
$msg = "<table class='table'> | |||
<tr> | |||
$msg = "<tr> | |||
<td width='260'>文件格式:</td> | |||
<td><label><input type='radio' name='filetype' value='0' checked='checked'> 正常模块插件格式</label></td> | |||
</tr> | |||
@@ -69,8 +68,7 @@ if ($action == 'upload') { | |||
<tr> | |||
<td>选择文件:</td> | |||
<td><input name='upfile' type='file' id='upfile' class='admin-input-lg'></td> | |||
</tr> | |||
</table>"; | |||
</tr>"; | |||
$win->AddMsgItem("$msg"); | |||
$winform = $win->GetWindow('ok', ''); | |||
$win->Display(); | |||
@@ -52,8 +52,7 @@ if ($dopost == "show") { | |||
$win->AddHidden("cid", $id); | |||
$win->AddHidden("id", $id); | |||
$win->AddHidden("dopost", 'copysave'); | |||
$msg = "<table> | |||
<tr> | |||
$msg = "<tr> | |||
<td width='260'>新模型id:</td> | |||
<td><input name='newid' type='text' id='newid' value='{$newid}' class='admin-input-sm'></td> | |||
</tr> | |||
@@ -75,8 +74,7 @@ if ($dopost == "show") { | |||
<label><input type='radio' name='copytemplet' id='copytemplet' value='1' checked='checked'> 复制</label> | |||
<label><input type='radio' name='copytemplet' id='copytemplet' value='0'> 不复制</label> | |||
</td> | |||
</tr> | |||
</table>"; | |||
</tr>"; | |||
$win->AddMsgItem("$msg"); | |||
$winform = $win->GetWindow("ok", ""); | |||
$win->Display(); | |||
@@ -264,18 +262,24 @@ if ($dopost == "show") { | |||
$win->Init("", "js/blank.js", ""); | |||
$win->AddTitle("栏目<span class='text-primary'>".$row['typename']."</span>默认模板文件说明"); | |||
$defaulttemplate = $cfg_templets_dir.'/'.$cfg_df_style; | |||
$msg = "<p> | |||
<span>文档模板:{$defaulttemplate}/article_{$row['nid']}.htm</span> | |||
<a href='tpl.php?acdir={$cfg_df_style}&action=edit&filename=article_{$row['nid']}.htm' class='btn btn-success btn-xs'>修改</a> | |||
</p> | |||
<p> | |||
<span>列表模板:{$defaulttemplate}/list_{$row['nid']}.htm</span> | |||
<a href='tpl.php?acdir={$cfg_df_style}&action=edit&filename=list_{$row['nid']}.htm' class='btn btn-success btn-xs'>修改</a> | |||
</p> | |||
<p> | |||
<span>封面栏目模板:{$defaulttemplate}/index_{$row['nid']}.htm</span> | |||
<a href='tpl.php?acdir={$cfg_df_style}&action=edit&filename=index_{$row['nid']}.htm' class='btn btn-success btn-xs'>修改</a> | |||
</p>"; | |||
$msg = "<tr> | |||
<td> | |||
<span>文档模板:{$defaulttemplate}/article_{$row['nid']}.htm</span> | |||
<a href='tpl.php?acdir={$cfg_df_style}&action=edit&filename=article_{$row['nid']}.htm' class='btn btn-success btn-xs'>修改</a> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td> | |||
<span>列表模板:{$defaulttemplate}/list_{$row['nid']}.htm</span> | |||
<a href='tpl.php?acdir={$cfg_df_style}&action=edit&filename=list_{$row['nid']}.htm' class='btn btn-success btn-xs'>修改</a> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td> | |||
<span>封面栏目模板:{$defaulttemplate}/index_{$row['nid']}.htm</span> | |||
<a href='tpl.php?acdir={$cfg_df_style}&action=edit&filename=index_{$row['nid']}.htm' class='btn btn-success btn-xs'>修改</a> | |||
</td> | |||
</tr>"; | |||
$win->AddMsgItem("$msg"); | |||
$winform = $win->GetWindow("hand", ""); | |||
$win->Display(); | |||
@@ -251,7 +251,7 @@ else if ($dopost == 'redat') { | |||
function PutInfo($msg1, $msg2) | |||
{ | |||
global $cfg_soft_lang; | |||
$msginfo = "<!DOCTYPE html><html><head><meta charset='utf-8'><meta http-equiv='X-UA-Compatible' content='IE=Edge,chrome=1'><meta name='viewport' content='width=device-width,initial-scale=1'><title>系统提示</title><base target='_self'><style>body{margin:0;line-height:1.6;letter-spacing:.6px;font-size:14px;font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f5f5f5}a{color:#007bff;text-decoration:none}.tips-box{margin:70px auto 0;width:500px;height:auto;background:#fff;border-radius:.5rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.075)}.tips-head{margin:0 20px;padding:18px 0;border-bottom:1px solid #f5f5f5}.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #dc3545}.tips-body{padding:20px;min-height:130px;color:#545b62;word-break:break-all;word-wrap:break-word}.btn{margin-top:20px;text-align:center}.btn a{display:inline-block;padding:.375rem .75rem;font-size:12px;color:#fff;background:#1eb867;border-radius:.5rem;text-align:center;transition:all .5s}.btn a:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(72,180,97,.5)}.text-primary{color:#007bff}@media (max-width:480px){.tips,.tips-box{max-width:100%}.tips{padding:0 15px}}</style></head><body><div class='tips'><div class='tips-box'><div class='tips-head'><p>系统提示</p></div><div class='tips-body'>{$msg1}{$msg2}</div></div></div>"; | |||
$msginfo = "<!DOCTYPE html><html><head><meta charset='utf-8'><meta http-equiv='X-UA-Compatible' content='IE=Edge,chrome=1'><meta name='viewport' content='width=device-width,initial-scale=1'><title>系统提示</title><link rel='stylesheet' href='/static/web/css/bootstrap.min.css'><link rel='stylesheet' href='/static/web/css/admin.css'></head><base target='_self'><body class='body-bg'><div class='tips'><div class='tips-box'><div class='tips-head'><p>系统提示</p></div><div class='tips-body'>{$msg1}{$msg2}</div></div></div>"; | |||
echo $msginfo."</body></html>"; | |||
} | |||
function RpLine($str) | |||
@@ -147,7 +147,7 @@ EOT; | |||
exit; | |||
} | |||
if ($i == 1) { | |||
echo '<tr bgcolor="#f5f5f5" align="center"><td colspan="3">搜索不到参数</td></tr></table>'; | |||
echo '<tr><td bgcolor="#f5f5f5" colspan="3" align="center">搜索不到参数</td></tr></table>'; | |||
} | |||
exit; | |||
} else if ($dopost == 'make_encode') { | |||
@@ -17,18 +17,18 @@ if (empty($dopost)) { | |||
$win->mainTitle = "系统修复工具"; | |||
$wecome_info = "系统修复工具"; | |||
$win->AddTitle('本工具用于检测和修复您的系统存在的错误'); | |||
$msg = "<table> | |||
<tr> | |||
$msg = "<tr> | |||
<td> | |||
由于手动升级时会员没运行指定的SQL语句,或自动升级的遗漏处理或处理出错,会导致一些错误,使用本工具会自动检测并处理,本工具目前主要执行下面动作:<br> | |||
1、修复/优化数据表<br> | |||
2、更新缓存<br> | |||
3、检测系统变量一致性<br> | |||
4、检测微表与主表数据一致性<br> | |||
<br><a href='sys_repair.php?dopost=1' class='btn btn-danger btn-sm'>常规检测</a> | |||
4、检测微表与主表数据一致性 | |||
</td> | |||
</tr> | |||
</table>"; | |||
<tr> | |||
<td bgcolor='#f5f5f5' align='center'><a href='sys_repair.php?dopost=1' class='btn btn-success btn-sm'>常规检测</a></td> | |||
</tr>"; | |||
$win->AddMsgItem("$msg"); | |||
$winform = $win->GetWindow('hand', ''); | |||
$win->Display(); | |||
@@ -41,18 +41,16 @@ else if ($dopost == 1) { | |||
$win->mainTitle = "系统修复工具"; | |||
$wecome_info = "<a href='sys_repair.php'>系统修复工具</a> - 检测数据结构"; | |||
$win->AddTitle('本工具用于检测和修复您的系统存在的错误'); | |||
$msg = "<table> | |||
<tr> | |||
$msg = "<tr> | |||
<td> | |||
<span class='text-dark'>已完成数据结构完整性检测</span> | |||
如果您系统有下面几种问题之一,请检测微表正确性:<br> | |||
1、获取主键失败,无法进行后续操作<br> | |||
2、更新数据库#@__archivess表时出错<br> | |||
3、列表显示数据目与实际文档数不一致<br> | |||
<br><a href='sys_repair.php?dopost=2' class='btn btn-danger btn-sm'>检测数据</a> | |||
已完成数据结构完整性检测:<br> | |||
1、获取主键失败,无法进行后续操作<br> | |||
2、更新数据库#@__archivess表时出错<br> | |||
3、列表显示数据目与实际文档数不一致 | |||
</td> | |||
</tr> | |||
</table>"; | |||
<tr> | |||
<td bgcolor='#f5f5f5' align='center'><a href='sys_repair.php?dopost=2' class='btn btn-success btn-sm'>检测数据</a></td> | |||
</tr>"; | |||
$win->AddMsgItem("$msg"); | |||
$winform = $win->GetWindow('hand', ''); | |||
$win->Display(); | |||
@@ -101,10 +99,10 @@ else if ($dopost == 2) { | |||
} | |||
$row = $dsql->GetOne("SELECT COUNT(*) AS dd FROM `#@__arctiny`"); | |||
if ($row['dd'] == $allarcnum) { | |||
$msg .= "<span class='text-dark'>修正记录成功</span><br>"; | |||
$msg .= "修正记录成功<br>"; | |||
} else { | |||
$msg .= "<span class='text-primary'>修正记录失败,建议进行高级综合检测</span><br>"; | |||
$errall = "<a href='sys_repair.php?dopost=3' class='btn btn-danger btn-sm'>结合性检测</a> "; | |||
$msg .= "修正记录失败,建议进行高级综合检测<br>"; | |||
$errall = "<a href='sys_repair.php?dopost=3' class='btn btn-success btn-sm'>结合性检测</a> "; | |||
} | |||
} | |||
UpDateCatCache(); | |||
@@ -113,14 +111,12 @@ else if ($dopost == 2) { | |||
$win->mainTitle = "系统修复工具"; | |||
$wecome_info = "<a href='sys_repair.php'>系统修复工具</a> - 检测微表正确性"; | |||
$win->AddTitle('本工具用于检测和修复您的系统存在的错误'); | |||
$msg = "<table> | |||
<tr> | |||
<td> | |||
{$msg}<br> | |||
{$errall} | |||
</td> | |||
$msg = "<tr> | |||
<td>{$msg}</td> | |||
</tr> | |||
</table>"; | |||
<tr> | |||
<td bgcolor='#f5f5f5' align='center'>{$errall}</td> | |||
</tr>"; | |||
$win->AddMsgItem("$msg"); | |||
$winform = $win->GetWindow('hand', ''); | |||
$win->Display(); | |||
@@ -162,14 +158,12 @@ else if ($dopost == 3) { | |||
$win->mainTitle = "系统修复工具"; | |||
$wecome_info = "<a href='sys_repair.php'>系统修复工具</a> - 高级综合检测修复"; | |||
$win->AddTitle('本工具用于检测和修复您的系统存在的错误'); | |||
$msg = "<table> | |||
<tr> | |||
<td> | |||
完成所有修复操作,移除错误记录{$errnum}条<br> | |||
<a href='index_body.php' class='btn btn-success btn-sm'>完成修正</a> | |||
</td> | |||
</tr> | |||
</table>"; | |||
$msg = "<tr> | |||
<td>完成所有修复操作,移除错误记录{$errnum}条</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor='#f5f5f5' align='center'><a href='index_body.php' class='btn btn-success btn-sm'>完成修正</a></td> | |||
</tr>"; | |||
$win->AddMsgItem("$msg"); | |||
$winform = $win->GetWindow('hand', ''); | |||
$win->Display(); | |||
@@ -55,8 +55,8 @@ | |||
</td> | |||
</tr> | |||
{/dede:datalist} | |||
<tr bgcolor="#f5f5f5" align="center"> | |||
<td colspan="7">{dede:pagelist listsize='6'/}</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</body> |
@@ -30,8 +30,8 @@ | |||
<input type="hidden" name="maxwidth" id="maxwidth" value="<?php echo $cfg_album_width;?>"> | |||
<input type="hidden" id="albums" name="albums" value=""> | |||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td class="admin-td">发布图片文档</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" class="admin-td">发布图片文档</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td"> | |||
@@ -359,8 +359,8 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f5f5f5"> | |||
<td align="center" class="admin-td"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" align="center" class="admin-td"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | |||
</td> | |||
@@ -29,8 +29,8 @@ | |||
<input type="hidden" name="dopost" value="save"> | |||
<input type="hidden" id="albums" name="albums" value=""> | |||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td class="admin-td">修改图片文档</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" class="admin-td">修改图片文档</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td"> | |||
@@ -401,8 +401,8 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f5f5f5"> | |||
<td align="center" class="admin-td"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" align="center" class="admin-td"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | |||
</td> | |||
@@ -24,8 +24,8 @@ | |||
<input type="hidden" name="cid" value="<?php echo $cid?>"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td class="admin-td">发布自定义文档</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" class="admin-td">发布自定义文档</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td"> | |||
@@ -294,8 +294,8 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f5f5f5"> | |||
<td align="center" class="admin-td"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" align="center" class="admin-td"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | |||
</td> | |||
@@ -24,8 +24,8 @@ | |||
<input type="hidden" name="id" value="<?php echo $aid?>"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td class="admin-td">修改自定义文档</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" class="admin-td">修改自定义文档</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td"> | |||
@@ -286,8 +286,8 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f5f5f5"> | |||
<td align="center" class="admin-td"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" align="center" class="admin-td"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | |||
</td> | |||
@@ -24,8 +24,8 @@ | |||
<input type="hidden" name="cid" value="<?php echo $cid?>"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td class="admin-td">发布分类文档</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" class="admin-td">发布分类文档</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td"> | |||
@@ -123,8 +123,8 @@ | |||
</td> | |||
</tr> | |||
<?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield');?> | |||
<tr bgcolor="#f5f5f5"> | |||
<td align="center" class="admin-td"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" align="center" class="admin-td"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | |||
</td> | |||
@@ -25,8 +25,8 @@ | |||
<input type="hidden" name="sortrank" value="<?php echo $addRow['senddate'];?>"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td class="admin-td">修改分类文档</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" class="admin-td">修改分类文档</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td"> | |||
@@ -125,8 +125,8 @@ | |||
</tr> | |||
<?php }?> | |||
<?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield');?> | |||
<tr bgcolor="#f5f5f5"> | |||
<td align="center" class="admin-td"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" align="center" class="admin-td"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | |||
</td> | |||
@@ -24,8 +24,8 @@ | |||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td class="admin-td">发布文档</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" class="admin-td">发布文档</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td"> | |||
@@ -308,8 +308,8 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f5f5f5"> | |||
<td align="center" class="admin-td"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" align="center" class="admin-td"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | |||
</td> | |||
@@ -25,8 +25,8 @@ | |||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | |||
<input type="hidden" name="id" value="<?php echo $aid?>"> | |||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td class="admin-td">修改文档</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" class="admin-td">修改文档</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td"> | |||
@@ -291,8 +291,8 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f5f5f5"> | |||
<td align="center" class="admin-td"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" align="center" class="admin-td"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | |||
</td> | |||
@@ -12,8 +12,8 @@ | |||
<form name="form2" action="article_keywords_main.php"> | |||
<input type="hidden" name="dopost" value="add"> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<input type="text" name="keyword" id="keyword" placeholder="请输入关键词" class="admin-input-lg mr-3"> | |||
<input type="text" name="rpurl" id="rpurl" placeholder="请输入链接" class="admin-input-lg mr-3"> | |||
<input type="text" name="rank" id="rank" value="30" class="admin-input-sm mr-3"> | |||
@@ -12,8 +12,8 @@ | |||
<form name="form1" action="article_keywords_main.php"> | |||
<input type="hidden" name="dopost" value="add"> | |||
<table align="center" id="addnew" class="table maintable table-borderless mt-3" style="display:none"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<input type="text" name="keyword" id="keyword" placeholder="请输入关键词" class="admin-input-lg mr-3"> | |||
<input type="text" name="rpurl" id="rpurl" placeholder="请输入链接" class="admin-input-sm mr-3"> | |||
<input type="text" name="rank" id="rank" placeholder="请输入频率" class="admin-input-sm mr-3"> | |||
@@ -24,8 +24,8 @@ | |||
</form> | |||
<form name="form2"> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<input type="text" name="keywords" id="keywords" value="<?php echo $keywords?>" placeholder="请输入关键词" class="admin-input-lg mr-3"> | |||
<button type="button" class="btn btn-success btn-sm" name="Submit" onclick="ReturnValue()">选用</button> | |||
<button type="button" class="btn btn-success btn-sm" name="kwa" onclick="AddNewKw()">新增关键词</button> | |||
@@ -38,8 +38,8 @@ | |||
<input type="hidden" name="dopost" value="listArchives"> | |||
<input type="hidden" name="channelid" value="<?php echo $channelid;?>"> | |||
<table align="center" class="table maintable mb-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<input type="text" name="keyword" class="admin-input-lg mr-3" value="{dede:global.keyword/}" placeholder="请输入文档标题或文档id"> | |||
<select name="cid" class="admin-input-sm mr-3"> | |||
<option value="0">选择栏目</option> | |||
@@ -37,8 +37,8 @@ | |||
<form name="form3" action="content_list.php" method="get"> | |||
<input type="hidden" name="dopost" value="listArchives"> | |||
<table align="center" class="table maintable mb-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<input type="text" name="keyword" class="admin-input-lg mr-3" value="{dede:global.keyword/}" placeholder="请输入文档标题或文档id"> | |||
<select name="cid" class="admin-input-sm mr-3"> | |||
<option value="0">选择栏目</option> | |||
@@ -28,8 +28,8 @@ | |||
<input type="hidden" name="dopost" value="listArchives"> | |||
<input type="hidden" name="channelid" value="3"> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<input type="text" name="keyword" class="admin-input-lg mr-3" value="<?php echo $keyword?>" placeholder="请输入文档标题或文档id"> | |||
<select name="cid" class="admin-input-sm mr-3"> | |||
<option value="0">选择分类</option> | |||
@@ -12,8 +12,8 @@ | |||
<form name="form3" action="content_select_list.php" method="get"> | |||
<input type="hidden" name="f" value="<?php echo $f?>"> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#e9ecef"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#e9ecef"> | |||
<input type="text" name="keyword" class="admin-input-lg mr-3" value="<?php echo $keyword?>"> | |||
<select name="cid" class="admin-input-sm mr-3"> | |||
<option value="0">选择分类</option> | |||
@@ -37,8 +37,8 @@ | |||
<input type="hidden" name="dopost" value="listArchives"> | |||
<input type="hidden" name="channelid" value="{dede:global.channelid/}"> | |||
<table align="center" class="table maintable mb-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<input type="text" name="keyword" class="admin-input-lg mr-3" value="{dede:global.keyword/}" placeholder="请输入文档标题或文档id"> | |||
<select name="cid" class="admin-input-sm mr-3"> | |||
<option value="0">选择分类</option> | |||
@@ -11,8 +11,8 @@ | |||
</head> | |||
<body> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td colspan="4">自定义表单列表管理</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="4">自定义表单列表管理</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">表单</td> | |||
@@ -44,8 +44,8 @@ | |||
<a href="javascript:delArc(0)" class="btn btn-danger btn-sm">删除</a> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f5f5f5" align="center"> | |||
<td colspan="8">{dede:pagelist listsize='6'/}</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="8" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</form> | |||
@@ -14,8 +14,8 @@ | |||
<body> | |||
<form name="form1"> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<input type="text" name="keyword" placeholder="请输入关键词" class="admin-input-lg mr-3"> | |||
<select name="typeid" class="admin-input-sm mr-3"> | |||
<option value="0">请选择</option> | |||
@@ -107,8 +107,8 @@ | |||
</head> | |||
<body> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<input type="text" name="keyword" id="keyword" value="<?php echo $keyword?>" class="admin-input-lg mr-3"> | |||
<button type="submit" name="Submit2" class="btn btn-success btn-sm">搜索</button> | |||
<button type="button" name="bt1" onclick="location='freelist_add.php';" class="btn btn-success btn-sm">添加列表</button> | |||
@@ -15,8 +15,8 @@ | |||
<body> | |||
<form action="friendlink_main.php" name="form1" method="get"> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<input type="text" name="keyword" id="keyword" placeholder="请输入关键词" value="<?php echo $keyword;?>" class="admin-input-lg mr-3"> | |||
<select name="ischeck" id="ischeck" class="admin-input-sm mr-3"> | |||
<?php | |||
@@ -76,8 +76,8 @@ | |||
<a href="javascript:;" onclick="checkSubmit()" class="btn btn-success btn-sm">批量删除</a> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f5f5f5" align="center"> | |||
<td colspan="9">{dede:pagelist listsize='6'/}</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="9" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</form> | |||
@@ -15,10 +15,10 @@ | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="3"><a href="friendlink_main.php">友情链接管理</a></td> | |||
</tr> | |||
<tr bgcolor="#e9ecef"> | |||
<td width="6%" align="center">id</td> | |||
<td width="60%" align="center">网站名称</td> | |||
<td width="34%" align="center">状态</td> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">id</td> | |||
<td width="60%">网站名称</td> | |||
<td>状态</td> | |||
</tr> | |||
<?php | |||
$dsql->SetQuery("SELECT * FROM `#@__flinktype`"); | |||
@@ -32,16 +32,16 @@ | |||
<ul class="mb-0"> | |||
<li class="pl-0"><a href="javascript:;" id="togglemenu" title="侧边伸缩"><i class="fa fa-dedent"></i></a></li> | |||
<?php if ($cuserLogin->getUserType() >= 10) {?> | |||
<li><a href="sys_info.php" target="main" title="系统设置"><i class="fa fa-cog"></i></a></li> | |||
<li><a href="catalog_main.php" target="main" title="栏目管理"><i class="fa fa-bars"></i></a></li> | |||
<li><a href="diy_main.php" target="main" title="自定义表单管理"><i class="fa fa-area-chart"></i></a></li> | |||
<li class="m-d-none"><a href="sys_info.php" target="main" title="系统设置"><i class="fa fa-cog"></i></a></li> | |||
<li class="m-d-none"><a href="catalog_main.php" target="main" title="栏目管理"><i class="fa fa-bars"></i></a></li> | |||
<li class="m-d-none"><a href="diy_main.php" target="main" title="自定义表单管理"><i class="fa fa-area-chart"></i></a></li> | |||
<?php }?> | |||
<li><a href="file_manage_main.php<?php echo DEDEBIZ_SAFE_MODE?'?activepath='.$cfg_medias_dir:'';?>" target="main" title="文件管理"><i class="fa fa-folder"></i></a></li> | |||
<?php if (!DEDEBIZ_SAFE_MODE) {?><li><a href="templets_main.php" target="main" title="主题管理"><i class="fa fa-cube"></i></a></li><?php }?> | |||
<li><a href="makehtml_all.php" target="main" title="更新整站"><i class="fa fa-repeat"></i></a></li> | |||
<li class="m-d-none"><a href="file_manage_main.php<?php echo DEDEBIZ_SAFE_MODE?'?activepath='.$cfg_medias_dir:'';?>" target="main" title="文件管理"><i class="fa fa-folder"></i></a></li> | |||
<?php if (!DEDEBIZ_SAFE_MODE) {?><li class="m-d-none"><a href="templets_main.php" target="main" title="主题管理"><i class="fa fa-cube"></i></a></li><?php }?> | |||
<li class="m-d-none"><a href="makehtml_all.php" target="main" title="更新整站"><i class="fa fa-repeat"></i></a></li> | |||
<?php echo ($cfg_mb_open=='Y')?'<li><a href="../user" target="_blank" title="会员中心"><i class="fa fa-user-circle"></i></a></li>':'';?> | |||
<li><a href="../" target="_blank" title="预览首页"><i class="fa fa-home"></i></a></li> | |||
<li> | |||
<li class="m-d-none"><a href="../" target="_blank" title="预览首页"><i class="fa fa-home"></i></a></li> | |||
<li class="m-d-none"> | |||
<form action="action_search.php" method="post" target="main"> | |||
<input type="text" name="keyword" placeholder="功能搜索" class="admin-input-sm"> | |||
<button type="submit" class="search"><i class="fa fa-search"></i> </button> | |||
@@ -51,7 +51,7 @@ | |||
</nav> | |||
<div class="top-admin"> | |||
<ul class="mb-0"> | |||
<li><a href="sys_admin_user_edit.php?id=<?php echo $cuserLogin->getUserID();?>&dopost=edit" target="main"><img src="<?php echo $cuserLogin->getUserFace();?>"><?php echo $cuserLogin->getUserName();?><?php if ($cuserLogin->getUserType()==10){echo "管理员";} else if ($cuserLogin->getUserType()==5) {echo "栏目员";} else {echo "文档员";}?></a></li> | |||
<li class="m-d-none"><a href="sys_admin_user_edit.php?id=<?php echo $cuserLogin->getUserID();?>&dopost=edit" target="main"><img src="<?php echo $cuserLogin->getUserFace();?>"><?php echo $cuserLogin->getUserName();?><?php if ($cuserLogin->getUserType()==10){echo "管理员";} else if ($cuserLogin->getUserType()==5) {echo "栏目员";} else {echo "文档员";}?></a></li> | |||
<li><a href="exit.php">退了</a></li> | |||
</ul> | |||
</div> | |||
@@ -11,8 +11,8 @@ | |||
<body> | |||
<form name="formsearch"> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<input type="text" name="cip" id="cip" placeholder="请输入ip地址" class="admin-input-lg mr-3"> | |||
<select name="adminid" id="adminid" class="admin-input-sm mr-3"> | |||
<option value="0" selected>全部</option> | |||
@@ -12,8 +12,8 @@ | |||
<body> | |||
<form name="forms" method="post" action="media_main.php"> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<input type="text" name="keyword" id="keyword" placeholder="请输入关键词" value="<?php echo $keyword?>" class="admin-input-lg mr-3"> | |||
<select name="mediatype" class="admin-input-sm mr-3"> | |||
<option value="0">文件类型</option> | |||
@@ -13,8 +13,8 @@ | |||
<body> | |||
<form action="member_main.php" name="form1" method="get"> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<input type="text" name="keyword" id="keyword" placeholder="请输入关键词" value="{dede:global name='keyword'/}" class="admin-input-lg mr-3"> | |||
<select name="sortkey" id="sortkey" class="admin-input-sm mr-3"> | |||
{dede:global name='sortform'/} | |||
@@ -11,8 +11,8 @@ | |||
<body> | |||
<form name="form2" method="get" action="member_operations.php"> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<input type="text" name="buyid" id="buyid" placeholder="请输入订单号" class="admin-input-lg mr-3"> | |||
<button type="submit" class="btn btn-success btn-sm">搜索</button> | |||
<button type="button" onclick="location='member_operations.php?sta=0';" class="btn btn-success btn-sm">未付款</button> | |||
@@ -12,8 +12,8 @@ | |||
<body> | |||
<form action="member_pm.php" name="form1" method="get"> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<input type="text" name="keyword" id="keyword" value="{dede:global name='keyword'/}" placeholder="请输入关键词" class="admin-input-lg mr-3"> | |||
<input type="text" name="username" id="username" value="{dede:global name='username'/}" placeholder="请输入会员名" class="admin-input-lg mr-3"> | |||
<select name="folder" id="folder" class="admin-input-sm mr-3"> | |||
@@ -11,8 +11,8 @@ | |||
<body> | |||
<form action="member_pm.php" name="form1" method="get"> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<input type="text" name="keyword" id="keyword" placeholder="请输入关键词" class="admin-input-lg mr-3"> | |||
<input type="text" name="username" id="username" placeholder="请输入会员名" class="admin-input-lg mr-3"> | |||
<select name="folder" id="folder" class="admin-input-sm mr-3"> | |||
@@ -11,8 +11,8 @@ | |||
<body> | |||
<form action="member_pm.php" name="form1" method="get"> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<input type="text" name="keyword" id="keyword" placeholder="请输入关键词" class="admin-input-lg mr-3"> | |||
<input type="text" name="username" id="username" placeholder="请输入会员名" class="admin-input-lg mr-3"> | |||
<select name="folder" id="folder" class="admin-input-sm mr-3"> | |||
@@ -50,8 +50,8 @@ | |||
</td> | |||
</tr> | |||
{/dede:datalist} | |||
<tr bgcolor="#f5f5f5" align="center"> | |||
<td colspan="7">{dede:pagelist listsize='6'/}</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</body> |
@@ -11,8 +11,8 @@ | |||
</head> | |||
<body> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td colspan="4">插件管理器</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="4">插件管理器</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td width="6%">id</td> | |||
@@ -24,8 +24,8 @@ | |||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | |||
<input type="hidden" name="cid" value="<?php echo $cid;?>"> | |||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td class="admin-td">发布软件文档</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" class="admin-td">发布软件文档</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td"> | |||
@@ -457,8 +457,8 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f5f5f5"> | |||
<td align="center" class="admin-td"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" align="center" class="admin-td"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | |||
</td> | |||
@@ -24,8 +24,8 @@ | |||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | |||
<input type="hidden" name="id" value="<?php echo $aid?>"> | |||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td class="admin-td">修改软件文档</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" class="admin-td">修改软件文档</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td"> | |||
@@ -421,8 +421,8 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f5f5f5"> | |||
<td align="center" class="admin-td"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" align="center" class="admin-td"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | |||
</td> | |||
@@ -25,8 +25,8 @@ | |||
<input type="hidden" name="arcrank" value="0"> | |||
<input type="hidden" name="source" value="本站"> | |||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td class="admin-td">发布专题</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" class="admin-td">发布专题</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td"> | |||
@@ -275,8 +275,8 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f5f5f5"> | |||
<td align="center" class="admin-td"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" align="center" class="admin-td"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | |||
</td> | |||
@@ -26,8 +26,8 @@ | |||
<input type="hidden" name="source" value="本站"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td class="admin-td">发布专题</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" class="admin-td">发布专题</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td"> | |||
@@ -345,8 +345,8 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f5f5f5"> | |||
<td align="center" class="admin-td"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" align="center" class="admin-td"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" class="btn btn-outline-success btn-sm" onclick="location.reload();">重置</button> | |||
</td> | |||
@@ -17,8 +17,8 @@ | |||
<body> | |||
<div id="edsta"><img src="../static/web/img/loadinglit.gif"></div> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<select name="egroup1" id="egroup1" onChange="ChangePage(this)" class="admin-input-sm mr-3"> | |||
<option value="0">所有组</option> | |||
<?php | |||
@@ -164,8 +164,8 @@ | |||
<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> | |||
<td bgcolor="#f5f5f5" colspan="8" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</form> | |||
@@ -13,8 +13,8 @@ | |||
</head> | |||
<body> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<span class="sys-search d-inline-block"> | |||
<input type="text" name="keywds" id="keywds" class="admin-input-lg mr-3" placeholder="请输入变量说明"> | |||
<button type="button" id="btnClear" class="btn btn-sm d-none sys-times"><i class="fa fa-times"></i></button> | |||
@@ -12,18 +12,18 @@ | |||
<script src="../static/web/js/style.js"></script> | |||
</head> | |||
<body> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<form name="form1" action="tags_main.php?action=fetch" method="post"> | |||
<td> | |||
<form name="form1" action="tags_main.php?action=fetch" method="post"> | |||
<table align="center" class="table maintable my-3"> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<input type="text" name="startaid" placeholder="请输入标签id开始" class="admin-input-sm mr-3"> | |||
<input type="text" name="endaid" placeholder="请输入标签id结束" class="admin-input-sm mr-3"> | |||
<button name="submit" type="submit" class="btn btn-success btn-sm">获取标签</button> | |||
<a href="makehtml_taglist.php" name="sb" class="btn btn-success btn-sm">更新标签</a> | |||
</td> | |||
</form> | |||
</tr> | |||
</table> | |||
</tr> | |||
</table> | |||
</form> | |||
<form name="form3" action="tags_main.php?action=delete" method="post"> | |||
<table align="center" class="table maintable mb-3"> | |||
<tr> | |||
@@ -12,8 +12,8 @@ | |||
<body> | |||
<form action="templets_one.php" name="sss"> | |||
<table align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td> | |||
<tr> | |||
<td bgcolor="#f5f5f5"> | |||
<input type="text" name="keyword" value="<?php if (!empty($keyword)) $keyword = '';?>" placeholder="请输入关键词" class="admin-input-lg mr-3"> | |||
<?php | |||
$likeid = (!isset($likeid) ? '' : $likeid); | |||
@@ -65,8 +65,8 @@ | |||
</td> | |||
</tr> | |||
{/dede:datalist} | |||
<tr bgcolor="#f5f5f5" align="center"> | |||
<td colspan="7">{dede:pagelist listsize='6'/}</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</form> | |||
@@ -41,8 +41,8 @@ | |||
<tr> | |||
<td colspan="7"><a href="vote_add.php" class="btn btn-success btn-sm">添加一组投票</a></td> | |||
</tr> | |||
<tr bgcolor="#f5f5f5" align="center"> | |||
<td colspan="7">{dede:pagelist listsize='6'/}</td> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="7" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</body> |
@@ -114,16 +114,14 @@ else if ($action == 'upload') { | |||
$wecome_info = "<a href='templets_main.php'>模板管理</a> - 上传模板"; | |||
$win->AddTitle('请选择要上传的模块文件'); | |||
$win->AddHidden("action", 'uploadok'); | |||
$msg = "<table> | |||
<tr> | |||
<td width='120'>选择文件:</td> | |||
$msg = "<tr> | |||
<td width='260'>选择文件:</td> | |||
<td> | |||
<input name='acdir' type='hidden' value='$acdir'> | |||
<input name='token' type='hidden' value='{$_SESSION['token']}'> | |||
<input name='upfile' type='file' id='upfile' class='admin-input-lg'> | |||
</td> | |||
</tr> | |||
</table>"; | |||
</tr>"; | |||
$win->AddMsgItem("$msg"); | |||
$winform = $win->GetWindow('ok', ''); | |||
$win->Display(); | |||
@@ -161,6 +161,9 @@ body.hidemenu .body-right { | |||
height:98%; | |||
border:0 | |||
} | |||
.body-bg { | |||
background:#f5f5f5 | |||
} | |||
.menu-box { | |||
margin:0; | |||
padding:1rem 5px | |||
@@ -455,6 +458,33 @@ body.hidemenu .body-right { | |||
.option3 { | |||
background:#fff | |||
} | |||
.tips-box { | |||
margin:70px auto 0; | |||
width:500px; | |||
height:auto; | |||
background:#fff; | |||
border-radius:.5rem; | |||
box-shadow:0 .125rem .25rem rgba(0,0,0,.075) | |||
} | |||
.tips-head { | |||
margin:0 20px; | |||
padding:18px 0; | |||
border-bottom:1px solid #f5f5f5 | |||
} | |||
.tips-head p { | |||
margin:0; | |||
padding-left:10px; | |||
line-height:16px; | |||
text-align:left; | |||
border-left:3px solid #dc3545 | |||
} | |||
.tips-body { | |||
padding:20px; | |||
min-height:160px; | |||
color:#545b62; | |||
word-break:break-all; | |||
word-wrap:break-word | |||
} | |||
.maintable { | |||
width:98%!important; | |||
border:1px solid #dee2e6!important | |||
@@ -598,6 +628,15 @@ table,input,select,textarea,.search,.menu-body,.coolbg,.mysource,.mywriter,.pubd | |||
.web-info { | |||
word-break:break-all | |||
} | |||
.tips { | |||
padding:0 15px | |||
} | |||
.tips-box { | |||
width:100% | |||
} | |||
.m-d-none { | |||
display:none | |||
} | |||
} | |||
@media (min-width:480px) { | |||
.modal-dialog { | |||
@@ -335,7 +335,7 @@ function ShowMsg($msg, $gourl, $onlymsg = 0, $limittime = 0, $btnmsg='点击反 | |||
return; | |||
} | |||
if (empty($GLOBALS['cfg_plus_dir'])) $GLOBALS['cfg_plus_dir'] = '..'; | |||
$htmlhead = "<!DOCTYPE html><html><head><meta charset='utf-8'><meta http-equiv='X-UA-Compatible' content='IE=Edge,chrome=1'><meta name='viewport' content='width=device-width,initial-scale=1'><title>系统提示</title><base target='_self'><style>body{margin:0;line-height:1.6;letter-spacing:.6px;font-size:14px;font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f5f5f5}a{color:#007bff;text-decoration:none}.tips-box{margin:70px auto 0;width:500px;height:auto;background:#fff;border-radius:.5rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.075)}.tips-head{margin:0 20px;padding:18px 0;border-bottom:1px solid #f5f5f5}.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #dc3545}.tips-body{padding:20px;min-height:130px;color:#545b62;word-break:break-all;word-wrap:break-word}.btn{margin-top:20px;text-align:center}.btn a{display:inline-block;padding:.375rem .75rem;font-size:12px;color:#fff;background:#1eb867;border-radius:.5rem;text-align:center;transition:all .5s}.btn a:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(72,180,97,.5)}.text-primary{color:#007bff}@media (max-width:480px){.tips,.tips-box{max-width:100%}.tips{padding:0 15px}}</style></head><body><script>"; | |||
$htmlhead = "<!DOCTYPE html><html><head><meta charset='utf-8'><meta http-equiv='X-UA-Compatible' content='IE=Edge,chrome=1'><meta name='viewport' content='width=device-width,initial-scale=1'><title>系统提示</title><link rel='stylesheet' href='/static/web/css/bootstrap.min.css'><link rel='stylesheet' href='/static/web/css/admin.css'></head><base target='_self'><body class='body-bg'><script>"; | |||
$htmlfoot = "</script></body></html>"; | |||
$litime = ($limittime == 0 ? 1000 : $limittime); | |||
$func = ''; | |||
@@ -360,7 +360,7 @@ function ShowMsg($msg, $gourl, $onlymsg = 0, $limittime = 0, $btnmsg='点击反 | |||
$rmsg .= "document.write(\""; | |||
if ($onlymsg == 0) { | |||
if ($gourl != 'javascript:;' && $gourl != '') { | |||
$rmsg .= "<div class='btn'><a href='{$gourl}' target='{$target}'>{$btnmsg}</a></div>\");"; | |||
$rmsg .= "<div class='text-center mt-3'><a href='{$gourl}' target='{$target}' class='btn btn-success btn-sm'>{$btnmsg}</a></div>\");"; | |||
$rmsg .= $litime > 0? "setTimeout('JumpUrl()',$litime);" : ""; | |||
} else { | |||
$rmsg .= "</div>\");"; | |||
@@ -7,7 +7,7 @@ | |||
* @link https://www.dedebiz.com | |||
*/ | |||
//系统默认运行模式为安全模式,模板管理、标签管理、数据库管理、模块管理等功能已暂停,如果您需要这些功能,DEDEBIZ_SAFE_MODE后面值`TRUE`改为`FALSE`恢复使用 | |||
define('DEDEBIZ_SAFE_MODE', TRUE); | |||
define('DEDEBIZ_SAFE_MODE', FALSE); | |||
//生产环境使用`production`,如果采用`dev`模式,会有一些php的报错信息提示,用于开发调试 | |||
if (!defined('DEDE_ENVIRONMENT')) { | |||
define('DEDE_ENVIRONMENT', 'production'); | |||
@@ -1,7 +1,7 @@ | |||
<?php | |||
if (!defined('DEDEINC')) exit ('dedebiz'); | |||
/** | |||
* 提示窗口对话框类 | |||
* 提示提示对话框 | |||
* | |||
* @version $id:oxwindow.class.php 2 13:53 2010-11-11 tianya $ | |||
* @package .Libraries | |||
@@ -10,13 +10,6 @@ if (!defined('DEDEINC')) exit ('dedebiz'); | |||
* @link https://www..com | |||
*/ | |||
require_once(DEDEINC."/dedetag.class.php"); | |||
/** | |||
* 提示窗口对话框类 | |||
* | |||
* @package OxWindow | |||
* @subpackage .Libraries | |||
* @link https://www..com | |||
*/ | |||
class OxWindow | |||
{ | |||
var $myWin = ""; | |||
@@ -29,7 +22,7 @@ class OxWindow | |||
* 初始化为含表单的页面 | |||
* | |||
* @param string $formaction 表单操作action | |||
* @param string $checkScript 检测验证js | |||
* @param string $checkScript 检测验证脚本 | |||
* @param string $formmethod 表单类型 | |||
* @param string $formname 表单名称 | |||
* @return void | |||
@@ -60,7 +53,7 @@ class OxWindow | |||
$this->myWin .= "<input type='hidden' name='$iname' value='$ivalue'>"; | |||
} | |||
/** | |||
* 开始创建窗口 | |||
* 开始窗口 | |||
* | |||
* @return void | |||
*/ | |||
@@ -69,67 +62,61 @@ class OxWindow | |||
$this->myWin .= "<table width='100%'>"; | |||
} | |||
/** | |||
* 添加一个两列的行 | |||
* 添加单列的标题 | |||
* | |||
* @access public | |||
* @param string $iname 名称 | |||
* @param string $ivalue 值 | |||
* @param string $title 标题 | |||
* @param string $col 列数 | |||
* @return string | |||
*/ | |||
function AddItem($iname, $ivalue) | |||
function AddTitle($title, $col = "2") | |||
{ | |||
global $cfg_static_dir; | |||
if ($col != "" && $col != "0") { | |||
$colspan = "colspan='$col'"; | |||
} else { | |||
$colspan = ""; | |||
} | |||
$this->myWinItem .= "<tr>"; | |||
$this->myWinItem .= "<td width='260'>$iname</td>"; | |||
$this->myWinItem .= "<td>$ivalue</td>"; | |||
$this->myWinItem .= "<td $colspan class='1'>$title</td>"; | |||
$this->myWinItem .= "</tr>"; | |||
} | |||
/** | |||
* 添加一个单列的消息行 | |||
* 添加单列的消息 | |||
* | |||
* @access public | |||
* @param string $ivalue 短消息值 | |||
* @param string $height 消息框高度 | |||
* @param string $col 显示列数 | |||
* @param string $ivalue 消息行 | |||
* @param string $col 列数 | |||
* @return void | |||
*/ | |||
function AddMsgItem($ivalue, $height = "auto", $col = "2") | |||
function AddMsgItem($ivalue, $col = "2") | |||
{ | |||
if ($height != "" && $height != "0") { | |||
$height = " height='$height'"; | |||
} else { | |||
$height = ""; | |||
} | |||
if ($col != "" && $col != 0) { | |||
$colspan = "colspan='$col'"; | |||
} else { | |||
$colspan = ""; | |||
} | |||
$this->myWinItem .= "<tr>"; | |||
$this->myWinItem .= "<td $colspan $height>$ivalue</td>"; | |||
$this->myWinItem .= "<td $colspan class='2'>$ivalue</td>"; | |||
$this->myWinItem .= "</tr>"; | |||
} | |||
/** | |||
* 添加单列的标题行 | |||
* 添加两列 | |||
* | |||
* @access public | |||
* @param string $title 标题 | |||
* @param string $col 列 | |||
* @param string $iname 名称 | |||
* @param string $ivalue 值 | |||
* @return string | |||
*/ | |||
function AddTitle($title, $col = "2") | |||
function AddItem($iname, $ivalue) | |||
{ | |||
global $cfg_static_dir; | |||
if ($col != "" && $col != "0") { | |||
$colspan = "colspan='$col'"; | |||
} else { | |||
$colspan = ""; | |||
} | |||
$this->myWinItem .= "<tr>"; | |||
$this->myWinItem .= "<td $colspan>$title</td>"; | |||
$this->myWinItem .= "<td width='260' class='3'>$iname</td>"; | |||
$this->myWinItem .= "<td>$ivalue</td>"; | |||
$this->myWinItem .= "</tr>"; | |||
} | |||
/** | |||
* 结束Window | |||
* 结束窗口 | |||
* | |||
* @param bool $isform | |||
* @return void | |||
@@ -143,7 +130,7 @@ class OxWindow | |||
} | |||
} | |||
/** | |||
* 添加自定义JS脚本 | |||
* 添加自定义脚本 | |||
* | |||
* @param string $scripts | |||
* @return void | |||
@@ -189,7 +176,7 @@ class OxWindow | |||
if ($wintype != "") { | |||
if ($wintype != "hand") { | |||
$this->myWin .= "<tr> | |||
<td colspan='2' align='center'> | |||
<td bgcolor='#f5f5f5' colspan='2' align='center'> | |||
<button type='submit' class='btn btn-success btn-sm'>$tt</button> | |||
<button type='button' class='btn btn-outline-success btn-sm' onClick='history.go(-1);'>返回</button> | |||
</td> | |||
@@ -216,7 +203,7 @@ class OxWindow | |||
{ | |||
global $cfg_templets_dir, $wecome_info, $cfg_basedir; | |||
if (empty($wecome_info)) { | |||
$wecome_info = "通用对话框"; | |||
$wecome_info = "提示对话框"; | |||
} | |||
$ctp = new DedeTagParse(); | |||
if ($modfile == '') { | |||
@@ -15,7 +15,7 @@ | |||
<td bgcolor="#f5f5f5">{dede:wecome_info/}</td> | |||
</tr> | |||
<tr> | |||
<td class="table-borderless p-0">{dede:winform/}</td> | |||
<td class="p-0">{dede:winform/}</td> | |||
</tr> | |||
</table> | |||
</body> |