@@ -44,7 +44,7 @@ | |||||
</script> | </script> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||||
<tr> | <tr> | ||||
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="ad_main.php">广告管理</a> > 修改广告</td> | <td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="ad_main.php">广告管理</a> > 修改广告</td> | ||||
</tr> | </tr> | ||||
@@ -63,7 +63,7 @@ table{border-collapse:separate} | |||||
<input type="hidden" id="albums" name="albums" value=""> | <input type="hidden" id="albums" name="albums" value=""> | ||||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | ||||
<tr> | <tr> | ||||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">图集列表</a> > 发布图集</td> | |||||
<td width="70%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">图集列表</a> > 发布图集</td> | |||||
<td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td> | <td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -63,7 +63,7 @@ table{border-collapse:separate} | |||||
<input type="hidden" id="albums" name="albums" value=""> | <input type="hidden" id="albums" name="albums" value=""> | ||||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | ||||
<tr> | <tr> | ||||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">图集列表</a> > 修改图集</td> | |||||
<td width="70%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">图集列表</a> > 修改图集</td> | |||||
<td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td> | <td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -39,7 +39,7 @@ table{border-collapse:separate} | |||||
<body> | <body> | ||||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | ||||
<tr> | <tr> | ||||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 发布商品</td> | |||||
<td width="70%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 发布商品</td> | |||||
<td width="30%" align='right'><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td> | <td width="30%" align='right'><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -36,7 +36,7 @@ table{border-collapse:separate} | |||||
<body> | <body> | ||||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | ||||
<tr> | <tr> | ||||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 修改商品</td> | |||||
<td width="70%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 修改商品</td> | |||||
<td width="30%" align='right'><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td> | <td width="30%" align='right'><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -40,7 +40,7 @@ table{border-collapse:separate} | |||||
<body> | <body> | ||||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | ||||
<tr> | <tr> | ||||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="content_sg_list.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 发布分类</td> | |||||
<td width="70%" height="30"><img src="../static/web/img/book1.gif"><a href="content_sg_list.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 发布分类</td> | |||||
<td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td> | <td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -37,7 +37,7 @@ table{border-collapse:separate} | |||||
<body> | <body> | ||||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | ||||
<tr> | <tr> | ||||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="content_sg_list.php?cid=<?php echo $addRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 修改分类</td> | |||||
<td width="70%" height="30"><img src="../static/web/img/book1.gif"><a href="content_sg_list.php?cid=<?php echo $addRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 修改分类</td> | |||||
<td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td> | <td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -63,7 +63,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26"> | <td height="26"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
@@ -33,7 +33,7 @@ | |||||
<a href="article_keywords_make.php?dopost=fetch" target="stafrm" class="btn btn-success btn-sm">自动获取关键词</a> | <a href="article_keywords_make.php?dopost=fetch" target="stafrm" class="btn btn-success btn-sm">自动获取关键词</a> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26"> | <td height="26"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
@@ -63,7 +63,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="30">结果:</td> | <td height="30">结果:</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -75,7 +75,7 @@ $dsql->Close(); | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26"> | <td height="26"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
@@ -62,7 +62,7 @@ | |||||
<td height="26" colspan="2" background="../static/web/img/tbg.gif"> | <td height="26" colspan="2" background="../static/web/img/tbg.gif"> | ||||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | <table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="180" height="18" style="padding-left:10px">文档批量维护</td> | |||||
<td width="30%" style="padding-left:10px">文档批量维护</td> | |||||
<td align="right"></td> | <td align="right"></td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -147,7 +147,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
@@ -74,7 +74,7 @@ function GetFields() | |||||
<td height="26" colspan="2" background="../static/web/img/tbg.gif"> | <td height="26" colspan="2" background="../static/web/img/tbg.gif"> | ||||
<table width="98%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | <table width="98%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="30%"><a href="diy_main.php">自定义表单管理</a> > 增加新字段</td> | |||||
<td width="30%" style="padding-left:10px"><a href="diy_main.php">自定义表单管理</a> > 增加新字段</td> | |||||
<td align="right"> | <td align="right"> | ||||
<button type="button" name="ss1" onClick="location='diy_edit.php?diyid=<?php echo $diyid; ?>&dopost=edit';" class="btn btn-success btn-sm">当前表单信息</button> | <button type="button" name="ss1" onClick="location='diy_edit.php?diyid=<?php echo $diyid; ?>&dopost=edit';" class="btn btn-success btn-sm">当前表单信息</button> | ||||
</td> | </td> | ||||
@@ -13,7 +13,7 @@ | |||||
<td class="tbtitletxt" background="../static/web/img/tbg.gif"> | <td class="tbtitletxt" background="../static/web/img/tbg.gif"> | ||||
<table width="96%" border="0" cellpadding="0" cellspacing="0"> | <table width="96%" border="0" cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="30%" class="py-3"><a href="diy_add.php" class="btn btn-success btn-sm ml-3">增加新的自定义表单</a></td> | |||||
<td width="30%" style="padding-left:10px"><a href="diy_add.php" class="btn btn-success btn-sm ml-3">增加新的自定义表单</a></td> | |||||
<td align="right"></td> | <td align="right"></td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -57,8 +57,8 @@ | |||||
<td height="26" background="../static/web/img/tbg.gif"> | <td height="26" background="../static/web/img/tbg.gif"> | ||||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table-borderless"> | <table width="98%" border="0" cellpadding="0" cellspacing="0" class="table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="35%" height="18" align="left" style="padding-left:10px"><a href="freelist_main.php">自由列表管理</a> > 修改自由列表</td> | |||||
<td width="65%" align="right"></td> | |||||
<td width="30%" style="padding-left:10px"><a href="freelist_main.php">自由列表管理</a> > 修改自由列表</td> | |||||
<td width="70%" align="right"></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -46,8 +46,8 @@ | |||||
<td height="26" colspan="7" background="../static/web/img/tbg.gif"> | <td height="26" colspan="7" background="../static/web/img/tbg.gif"> | ||||
<table width="96%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | <table width="96%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="20%" height="18" style="padding-left:10px">管理系统日志</td> | |||||
<td width="80%" align="right"></td> | |||||
<td width="30%" style="padding-left:10px">管理系统日志</td> | |||||
<td width="70%" align="right"></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -124,7 +124,7 @@ | |||||
<button type="button" onClick="ClearLog();" class="btn btn-success btn-sm">清空所有日志</button> | <button type="button" onClick="ClearLog();" class="btn btn-success btn-sm">清空所有日志</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="36" colspan="7" align="center">{dede:pagelist listsize='6'/}</td> | <td height="36" colspan="7" align="center">{dede:pagelist listsize='6'/}</td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -84,7 +84,7 @@ function SelUp(){ | |||||
<td height="30" colspan="2" align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">开始更新</button></td> | <td height="30" colspan="2" align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">开始更新</button></td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
@@ -58,7 +58,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
@@ -44,7 +44,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td width="24%">结果:</td> | <td width="24%">结果:</td> | ||||
<td width="76%" align="right"> | <td width="76%" align="right"> | ||||
<script language='javascript'> | <script language='javascript'> | ||||
@@ -127,7 +127,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
@@ -69,7 +69,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
@@ -56,7 +56,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
@@ -30,7 +30,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
@@ -30,7 +30,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26"> | <td height="26"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
@@ -76,7 +76,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
@@ -130,7 +130,7 @@ | |||||
<button type="button" onClick="delArc(0);" class="btn btn-success btn-sm">删除</button>(如果已经整合了论坛的用户请不要使用批量删除功能) | <button type="button" onClick="delArc(0);" class="btn btn-success btn-sm">删除</button>(如果已经整合了论坛的用户请不要使用批量删除功能) | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="36" colspan="9" align="center">{dede:pagelist listsize='6'/}</td> | <td height="36" colspan="9" align="center">{dede:pagelist listsize='6'/}</td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -67,7 +67,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
{/dede:datalist} | {/dede:datalist} | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="36" colspan="9" align="center"> {dede:pagelist listsize='6'/}</td> | <td height="36" colspan="9" align="center"> {dede:pagelist listsize='6'/}</td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -61,7 +61,7 @@ | |||||
</form> | </form> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26" colspan="9" align="center"></td> | <td height="26" colspan="9" align="center"></td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -65,7 +65,7 @@ | |||||
</form> | </form> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26" colspan="9" align="center"></td> | <td height="26" colspan="9" align="center"></td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -56,7 +56,7 @@ | |||||
<?php | <?php | ||||
} | } | ||||
?> | ?> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td>新增:</td> | <td>新增:</td> | ||||
<td align="center"><input name="add_integral" type="text" id="add_integral" style="width:160px"></td> | <td align="center"><input name="add_integral" type="text" id="add_integral" style="width:160px"></td> | ||||
<td align="center"><input name="add_icon" type="text" id="add_icon" style="width:60px"></td> | <td align="center"><input name="add_icon" type="text" id="add_icon" style="width:60px"></td> | ||||
@@ -78,7 +78,7 @@ | |||||
} | } | ||||
?> | ?> | ||||
<input type="hidden" name="idend" value="<?php echo $k?>"> | <input type="hidden" name="idend" value="<?php echo $k?>"> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26" colspan="5"> 新增一个会员产品类型:</td> | <td height="26" colspan="5"> 新增一个会员产品类型:</td> | ||||
</tr> | </tr> | ||||
<tr height="26" align="center"> | <tr height="26" align="center"> | ||||
@@ -189,7 +189,7 @@ td{padding-left:8px} | |||||
<textarea name="priv" rows="8" id="priv" style="width:80%"></textarea> | <textarea name="priv" rows="8" id="priv" style="width:80%"></textarea> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td colspan="2" align="center" class="py-3"> | <td colspan="2" align="center" class="py-3"> | ||||
<button name="imageField" type="submit" class="btn btn-success btn-sm">提交</button> | <button name="imageField" type="submit" class="btn btn-success btn-sm">提交</button> | ||||
<button type="button" id="button" onClick="location='module_main.php';" class="btn btn-success btn-sm">返回</button> | <button type="button" id="button" onClick="location='module_main.php';" class="btn btn-success btn-sm">返回</button> | ||||
@@ -173,7 +173,7 @@ | |||||
<textarea name="priv" rows="8" id="priv" style="width:80%"></textarea> | <textarea name="priv" rows="8" id="priv" style="width:80%"></textarea> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td colspan="2" align="center" class="py-3"> | <td colspan="2" align="center" class="py-3"> | ||||
<div class="alert alert-info">制作模块即表示您同意<a href="<?php echo $cfg_biz_dedebizUrl; ?>/license_developer" target="_blank">《DedeBIZ开发者协议》</a></div> | <div class="alert alert-info">制作模块即表示您同意<a href="<?php echo $cfg_biz_dedebizUrl; ?>/license_developer" target="_blank">《DedeBIZ开发者协议》</a></div> | ||||
<button name="imageField" type="submit" class="btn btn-success btn-sm">提交</button> | <button name="imageField" type="submit" class="btn btn-success btn-sm">提交</button> | ||||
@@ -3,6 +3,8 @@ | |||||
<head> | <head> | ||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | ||||
<title>模块打包</title> | <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"> | <link rel="stylesheet" href="../static/web/css/admin.css"> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
@@ -13,35 +15,29 @@ | |||||
<td height="26" colspan="2" style="padding-left:10px"><a href="plus_main.php">模块管理</a> > 模块打包</td> | <td height="26" colspan="2" style="padding-left:10px"><a href="plus_main.php">模块管理</a> > 模块打包</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="20%" align="center">插件名称</td> | |||||
<td width="80%"><input name="plusname" type="text" id="plusname"> | |||||
</td> | |||||
<td width="260" height="26">插件名称</td> | |||||
<td height="26"><input name="plusname" type="text" id="plusname"> </td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td align="center">作者</td> | |||||
<td> <input name="writer" type="text" id="writer"></td> | |||||
<td height="26">作者</td> | |||||
<td height="26"><input name="writer" type="text" id="writer"></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td align="center">主程序文件</td> | |||||
<td><input name="link" type="text" id="link" size="30"></td> | |||||
<td height="26">主程序文件</td> | |||||
<td height="26"><input name="link" type="text" id="link" size="30"></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td align="center">目标框架</td> | |||||
<td><input name="target" type="text" id="target" value="main"></td> | |||||
<td height="26">目标框架</td> | |||||
<td height="26"><input name="target" type="text" id="target" value="main"></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td align="center">文件列表</td> | |||||
<td>文件用","分开,路径相对于管理目录(当前目录)<br> | |||||
<td height="26">文件列表</td> | |||||
<td height="26">文件用","分开,路径相对于管理目录(当前目录)<br> | |||||
<textarea name="filelist" rows="8" id="filelist" style="width:60%"></textarea></td> | <textarea name="filelist" rows="8" id="filelist" style="width:60%"></textarea></td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#F9FDF0"> | |||||
<td height="26" colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||||
<tr> | |||||
<td width="30%"></td> | |||||
<td><input name="imageField" type="submit" class="coolbg np" value="提交"></td> | |||||
<td><input type="button" name="button" id="button" value="返回" onClick="location='plus_main.php';" class="coolbg np"></td> | |||||
</tr> | |||||
</table> | |||||
<tr> | |||||
<td bgcolor="#f8f8f8" colspan="2" align="center" class="py-3"> | |||||
<button type="submit" class="btn btn-success btn-sm">确定</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
@@ -47,11 +47,11 @@ | |||||
<td height="26" colspan="2" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="mychannel_main.php">内容模型管理</a> > 新增内容模型</td> | <td height="26" colspan="2" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="mychannel_main.php">内容模型管理</a> > 新增内容模型</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="35%"> | |||||
<td width="30%"> | |||||
频道ID<br> | 频道ID<br> | ||||
<span class="style2" id='help1'>数字,创建后不可修改,并具有唯一性</span> | <span class="style2" id='help1'>数字,创建后不可修改,并具有唯一性</span> | ||||
</td> | </td> | ||||
<td width="65%"> | |||||
<td width="70%"> | |||||
<input name="id" type="text" id="id" size="10" value="<?php echo $newid; ?>" class="pubinputs"> * | <input name="id" type="text" id="id" size="10" value="<?php echo $newid; ?>" class="pubinputs"> * | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -232,7 +232,7 @@ | |||||
<input name="usermancon" type="text" id="usermancon" value="content_list.php" class="pubinputs"> | <input name="usermancon" type="text" id="usermancon" value="content_list.php" class="pubinputs"> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td colspan="2" align="center" class="py-3"> | <td colspan="2" align="center" class="py-3"> | ||||
<button type="submit" class="btn btn-success btn-sm">保存</button> | <button type="submit" class="btn btn-success btn-sm">保存</button> | ||||
<button type="button" onClick="location='mychannel_main.php';" class="btn btn-success btn-sm">返回</button> | <button type="button" onClick="location='mychannel_main.php';" class="btn btn-success btn-sm">返回</button> | ||||
@@ -115,10 +115,10 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="35%">频道ID<br> | |||||
<td width="30%">频道ID<br> | |||||
<span class="style2" id='help1'>数字,创建后不可修改,并具有唯一性</span> | <span class="style2" id='help1'>数字,创建后不可修改,并具有唯一性</span> | ||||
</td> | </td> | ||||
<td width="65%"><?php echo $row['id']; ?></td> | |||||
<td width="70%"><?php echo $row['id']; ?></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>名字标识<br> | <td>名字标识<br> | ||||
@@ -360,7 +360,7 @@ if($ft==1) | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | <table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td colspan="2" align="center" class="py-3"> | <td colspan="2" align="center" class="py-3"> | ||||
<button type="submit" class="btn btn-success btn-sm">保存</button> | <button type="submit" class="btn btn-success btn-sm">保存</button> | ||||
<button type="button" onClick="location='mychannel_main.php';" class="btn btn-success btn-sm">返回</button> | <button type="button" onClick="location='mychannel_main.php';" class="btn btn-success btn-sm">返回</button> | ||||
@@ -60,11 +60,11 @@ | |||||
padding-left: 6px; | padding-left: 6px; | ||||
} | } | ||||
.STYLE1 { | |||||
.style1 { | |||||
color: #FF3300 | color: #FF3300 | ||||
} | } | ||||
.STYLE2 { | |||||
.style2 { | |||||
color: #424b51 | color: #424b51 | ||||
} | } | ||||
@@ -90,7 +90,7 @@ | |||||
<td height="26" colspan="2" background="../static/web/img/tbg.gif"> | <td height="26" colspan="2" background="../static/web/img/tbg.gif"> | ||||
<table width="98%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | <table width="98%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="30%" style="padding-left:10px"><a href="mychannel_main.php">频道管理</a> > 查看/修改字段:</td> | |||||
<td width="30%" style="padding-left:10px"><a href="mychannel_main.php">频道管理</a> > 查看修改字段</td> | |||||
<td align="right"> | <td align="right"> | ||||
<button type="button" name="ss1" class="btn btn-success btn-sm" onClick="location='mychannel_edit.php?id=<?php echo $id?>&dopost=edit';">当前模型信息</button> | <button type="button" name="ss1" class="btn btn-success btn-sm" onClick="location='mychannel_edit.php?id=<?php echo $id?>&dopost=edit';">当前模型信息</button> | ||||
<button type="button" name="ss12" onClick="location='mychannel_main.php';" class="btn btn-success btn-sm">内容模型管理</button> | <button type="button" name="ss12" onClick="location='mychannel_main.php';" class="btn btn-success btn-sm">内容模型管理</button> | ||||
@@ -102,19 +102,19 @@ | |||||
<?php if($row['issystem']==1){ ?> | <?php if($row['issystem']==1){ ?> | ||||
<tr> | <tr> | ||||
<td colspan="2"> | <td colspan="2"> | ||||
<span class="STYLE1">您当前操作的字段属于系统模型字段:修改系统模型有风险,请不要随便改动系统模型的字段相关的属性</span></td> | |||||
<span class="style1">您当前操作的字段属于系统模型字段:修改系统模型有风险,请不要随便改动系统模型的字段相关的属性</span></td> | |||||
</tr> | </tr> | ||||
<?php } ?> | <?php } ?> | ||||
<tr> | <tr> | ||||
<td>表单提示文字:<br> | <td>表单提示文字:<br> | ||||
<span class="STYLE2">发布内容时显示的提示文字</span></td> | |||||
<span class="style2">发布内容时显示的提示文字</span></td> | |||||
<td> | <td> | ||||
<input name="itemname" type="text" id="itemname" value="<?php echo $ctag->GetAtt('itemname')?>" class="pubinputs"> | <input name="itemname" type="text" id="itemname" value="<?php echo $ctag->GetAtt('itemname')?>" class="pubinputs"> | ||||
*(发布内容时显示的项名字)</td> | *(发布内容时显示的项名字)</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="28%">字段名称:<br> | <td width="28%">字段名称:<br> | ||||
<span class="STYLE2">只能用英文字母或数字,数据表的真实字段名</span></td> | |||||
<span class="style2">只能用英文字母或数字,数据表的真实字段名</span></td> | |||||
<td width="72%" style="table-layout:fixed;word-break:break-all"> | <td width="72%" style="table-layout:fixed;word-break:break-all"> | ||||
<?php echo $fname?> </td> | <?php echo $fname?> </td> | ||||
</tr> | </tr> | ||||
@@ -180,7 +180,7 @@ | |||||
</tr> | </tr> | ||||
<tr id="_relation" <?php echo $dtype=="relation"? '' : 'style="display:none"'; ?>> | <tr id="_relation" <?php echo $dtype=="relation"? '' : 'style="display:none"'; ?>> | ||||
<td>内容模型:<br> | <td>内容模型:<br> | ||||
<span class="STYLE2"> | |||||
<span class="style2"> | |||||
选择关联内容对应的内容模型 | 选择关联内容对应的内容模型 | ||||
</span> | </span> | ||||
</td> | </td> | ||||
@@ -206,7 +206,7 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>内容是否需要分页符:<br> | <td>内容是否需要分页符:<br> | ||||
<span class="STYLE2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td> | |||||
<span class="style2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td> | |||||
<td> | <td> | ||||
<input name="isnull" type="hidden" value="1"> | <input name="isnull" type="hidden" value="1"> | ||||
<label><input name="spage" type="radio" value="split" | <label><input name="spage" type="radio" value="split" | ||||
@@ -218,13 +218,13 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>默认值:<br> | <td>默认值:<br> | ||||
<span class="STYLE2"> | |||||
<span class="style2"> | |||||
如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(用“,”分开,如“男,女,人妖”),如果为联动选框,这里填写联动选框项目名称</span></td> | 如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(用“,”分开,如“男,女,人妖”),如果为联动选框,这里填写联动选框项目名称</span></td> | ||||
<td><textarea name="vdefault" type="text" id="vdefault" style="width:70%;height:60px"><?php echo $ctag->GetAtt('default'); ?></textarea></td> | <td><textarea name="vdefault" type="text" id="vdefault" style="width:70%;height:60px"><?php echo $ctag->GetAtt('default'); ?></textarea></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>最大长度:<br> | <td>最大长度:<br> | ||||
<span class="STYLE2"> 文本数据必须填写,大于255为text类型 </span></td> | |||||
<span class="style2"> 文本数据必须填写,大于255为text类型 </span></td> | |||||
<td> | <td> | ||||
<input name="maxlength" type="text" id="maxlength" value="<?php echo $ctag->GetAtt('maxlength')?>" style="width:80px;height:24px;padding-top:3px;"></td> | <input name="maxlength" type="text" id="maxlength" value="<?php echo $ctag->GetAtt('maxlength')?>" style="width:80px;height:24px;padding-top:3px;"></td> | ||||
</tr> | </tr> | ||||
@@ -9,7 +9,7 @@ | |||||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | ||||
<link rel="stylesheet" href="../static/web/css/admin.css"> | <link rel="stylesheet" href="../static/web/css/admin.css"> | ||||
<style> | <style> | ||||
.STYLE1 { | |||||
.style1 { | |||||
color: #dc3545 | color: #dc3545 | ||||
} | } | ||||
td { | td { | ||||
@@ -17,7 +17,7 @@ | |||||
padding-left: 6px; | padding-left: 6px; | ||||
line-height: 150%; | line-height: 150%; | ||||
} | } | ||||
.STYLE2 { | |||||
.style2 { | |||||
color: #424b51; | color: #424b51; | ||||
} | } | ||||
</style> | </style> | ||||
@@ -37,59 +37,49 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td width="30%" height="26" align="left">频道ID:</td> | |||||
<td width="70%"><?php echo $mid; ?></td> | |||||
<td width="260" height="26">频道ID:</td> | |||||
<td height="26"><?php echo $mid; ?></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="26" align="left">频道名称:<br></td> | |||||
<td> | |||||
<?php echo $channel['typename']?> | |||||
</td> | |||||
<td height="26">频道名称:<br></td> | |||||
<td height="26"><?php echo $channel['typename']?></td> | |||||
</tr> | </tr> | ||||
<?php | <?php | ||||
if($channel['issystem'] >= 0) { | if($channel['issystem'] >= 0) { | ||||
?> | ?> | ||||
<tr> | <tr> | ||||
<td align="left">主表可供自定义搜索的字段<br> | |||||
<span class="STYLE2" id="help2">标题、关键词、摘要为默认选项,不用选择 </span> | |||||
</td> | |||||
<td> | |||||
<?php echo $mainfields; ?> | |||||
<td height="26">主表可供自定义搜索的字段<br> | |||||
<span class="style2" id="help2">标题、关键词、摘要为默认选项,不用选择 </span> | |||||
</td> | </td> | ||||
<td height="26"><?php echo $mainfields; ?></td> | |||||
</tr> | </tr> | ||||
<?php | <?php | ||||
} | } | ||||
?> | ?> | ||||
<tr> | <tr> | ||||
<td height="26" align="left">附件表可供自定义搜索的字段:<br> | |||||
<span class="STYLE2" id="help4">这里的字段是程序依据字段类型自动选择生成的</span> | |||||
<td height="26">附件表可供自定义搜索的字段:<br> | |||||
<span class="style2" id="help4">这里的字段是程序依据字段类型自动选择生成的</span> | |||||
</td> | </td> | ||||
<td><?php echo $addonfields; ?></td> | <td><?php echo $addonfields; ?></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td align="left">自定义搜索结果页模板<br> | |||||
<span class="STYLE2" id="help5" style="display:none">只填写文件名,且文件必须在templets/default目录中</span> | |||||
<td height="26">自定义搜索结果页模板<br> | |||||
<span class="style2" id="help5" style="display:none">只填写文件名,且文件必须在templets/default目录中</span> | |||||
</td> | </td> | ||||
<td><input type="text" name="template" value="<?php echo $template; ?>" style="width:260px"></td> | <td><input type="text" name="template" value="<?php echo $template; ?>" style="width:260px"></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="26" colspan="2"> | |||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||||
<tr> | |||||
<td align="center" class="py-3"> | |||||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||||
<button type="button" onclick="location='mychannel_main.php';" class="btn btn-success btn-sm">返回</button> | |||||
</td> | |||||
</tr> | |||||
</table> | |||||
<td align="center" colspan="2" class="py-3"> | |||||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||||
<button type="button" onclick="location='mychannel_main.php';" class="btn btn-success btn-sm">返回</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26" colspan="2" bgcolor="#f8f8f8"> | <td height="26" colspan="2" bgcolor="#f8f8f8"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="70%"> 结果:</td> | |||||
<td width="70%">结果:</td> | |||||
<td width="30%" align="right"> | <td width="30%" align="right"> | ||||
<script language='javascript'> | <script language='javascript'> | ||||
function ResizeDiv(obj, ty) { | function ResizeDiv(obj, ty) { | ||||
@@ -8,7 +8,7 @@ | |||||
<link rel="stylesheet" href="../static/web/css/admin.css"> | <link rel="stylesheet" href="../static/web/css/admin.css"> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||||
<form name="form1" action="plus_edit.php" method="post"> | <form name="form1" action="plus_edit.php" method="post"> | ||||
<input type='hidden' name='dopost' value='saveedit'> | <input type='hidden' name='dopost' value='saveedit'> | ||||
<input type='hidden' name='aid' value='<?php echo $aid?>'> | <input type='hidden' name='aid' value='<?php echo $aid?>'> | ||||
@@ -141,7 +141,7 @@ function ReloadPageNum(startnum) { | |||||
<div class="main" align="center"> | <div class="main" align="center"> | ||||
<table width="98%" border="0" cellpadding="1" cellspacing="1" bgcolor="#f8f8f8" class="table maintable mt-3 mb-3"> | <table width="98%" border="0" cellpadding="1" cellspacing="1" bgcolor="#f8f8f8" class="table maintable mt-3 mb-3"> | ||||
<tr> | <tr> | ||||
<td width="30%" align="left" style="padding-left:10px">搜索关键词维护</td> | |||||
<td width="30%" style="padding-left:10px">搜索关键词维护</td> | |||||
<td align="right"><button class="btn btn-success btn-sm" name="n1" type="button" id="n1" onClick="location='article_keywords_main.php';">文档关键词维护</button></td> | <td align="right"><button class="btn btn-success btn-sm" name="n1" type="button" id="n1" onClick="location='article_keywords_main.php';">文档关键词维护</button></td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -54,7 +54,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
{/dede:datalist} | {/dede:datalist} | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="36" colspan="5" align="center">{dede:pagelist listsize='6'/}</td> | <td height="36" colspan="5" align="center">{dede:pagelist listsize='6'/}</td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -41,7 +41,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26"> | <td height="26"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
@@ -147,7 +147,7 @@ | |||||
echo "</tr>"; | echo "</tr>"; | ||||
} | } | ||||
?> | ?> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26" colspan="8">其它数据表:</td> | <td height="26" colspan="8">其它数据表:</td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#FBFCE2" align="center"> | <tr bgcolor="#FBFCE2" align="center"> | ||||
@@ -201,7 +201,7 @@ | |||||
<button name="b3" type="button" id="b3" class="btn btn-success btn-sm" onClick="NoneSel()">取消</button> | <button name="b3" type="button" id="b3" class="btn btn-success btn-sm" onClick="NoneSel()">取消</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26" colspan="8">数据备份选项:</td> | <td height="26" colspan="8">数据备份选项:</td> | ||||
</tr> | </tr> | ||||
<tr align="center"> | <tr align="center"> | ||||
@@ -225,7 +225,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26" colspan="8">结果:</td> | <td height="26" colspan="8">结果:</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -126,7 +126,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26"> | <td height="26"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
@@ -59,7 +59,7 @@ | |||||
<td height="26" colspan="4" background="../static/web/img/tbg.gif"> | <td height="26" colspan="4" background="../static/web/img/tbg.gif"> | ||||
<table width="96%" border="0" cellspacing="1" cellpadding="1" class="table table-borderless"> | <table width="96%" border="0" cellspacing="1" cellpadding="1" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="30%">数据还原</td> | |||||
<td width="30%" style="padding-left:10px">数据还原</td> | |||||
<td width="70%" align="right"> | <td width="70%" align="right"> | ||||
<a href="sys_data.php" class="btn btn-success btn-sm">数据备份</a> | <a href="sys_data.php" class="btn btn-success btn-sm">数据备份</a> | ||||
<a href="sys_sql_query.php" class="btn btn-success btn-sm">SQL命令行工具</a> | <a href="sys_sql_query.php" class="btn btn-success btn-sm">SQL命令行工具</a> | ||||
@@ -71,7 +71,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
@@ -60,7 +60,7 @@ | |||||
<td>文件名称</td> | <td>文件名称</td> | ||||
<td><input name=filename value="<?php echo $filename; ?>" style="width:260px">(不允许用 “..” 形式的路径)</td> | <td><input name=filename value="<?php echo $filename; ?>" style="width:260px">(不允许用 “..” 形式的路径)</td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#f8f8f8"> | |||||
<tr> | |||||
<td colspan='2' hieght="30" style="padding-left:10px">参考标签:</td> | <td colspan='2' hieght="30" style="padding-left:10px">参考标签:</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -1,384 +0,0 @@ | |||||
<?php | |||||
@set_time_limit(0); | |||||
/** | |||||
* 系统运行环境检测 | |||||
* | |||||
* @version $Id: testenv.php 13:57 2011/11/10 tianya $ | |||||
* @package DedeBIZ.Administrator | |||||
* @copyright Copyright (c) 2022, DedeBIZ.COM | |||||
* @license https://www.dedebiz.com/license | |||||
* @link https://www.dedebiz.com | |||||
*/ | |||||
require_once(dirname(__FILE__)."/config.php"); | |||||
CheckPurview('sys_Edit'); | |||||
$action = isset($action) ? $action : ''; | |||||
?> | |||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |||||
<html xmlns="http://www.w3.org/1999/xhtml"> | |||||
<head> | |||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $GLOBALS['cfg_soft_lang']; ?>"> | |||||
<title>系统运行目录权限检测</title> | |||||
<link rel="stylesheet" href="../static/web/css/admin.css" /> | |||||
<link rel="stylesheet" href="css/indexbody.css" /> | |||||
<script type="text/javascript" src="../static/web/js/jquery.min.js"></script> | |||||
</head> | |||||
<body> | |||||
<?php | |||||
if (!function_exists('TestWriteable')) { | |||||
//检测是否可写 | |||||
function TestWriteable($d, $c = TRUE) | |||||
{ | |||||
$tfile = '_write_able.txt'; | |||||
$d = preg_replace("/\/$/", '', $d); | |||||
$fp = @fopen($d.'/'.$tfile, 'w'); | |||||
if (!$fp) { | |||||
if ($c == false) { | |||||
@chmod($d, 0777); | |||||
return false; | |||||
} else return TestWriteable($d, true); | |||||
} else { | |||||
fclose($fp); | |||||
return @unlink($d.'/'.$tfile) ? true : false; | |||||
} | |||||
} | |||||
} | |||||
if (!function_exists('TestExecuteable')) { | |||||
//检查是否具目录可执行 | |||||
function TestExecuteable($d = '.', $siteuRL = '', $rootDir = '') | |||||
{ | |||||
$testStr = '<'.chr(0x3F).'p'.chr(hexdec(68)).chr(112)."\n\r"; | |||||
$filename = md5($d).'.php'; | |||||
$testStr .= 'function test(){ echo md5(\''.$d.'\');}'."\n\rtest();\n\r"; | |||||
$testStr .= chr(0x3F).'>'; | |||||
$reval = false; | |||||
if (empty($rootDir)) $rootDir = DEDEROOT; | |||||
if (TestWriteable($d)) { | |||||
@file_put_contents($d.'/'.$filename, $testStr); | |||||
$remoteUrl = $siteuRL.'/'.str_replace($rootDir, '', str_replace("\\", '/', realpath($d))).'/'.$filename; | |||||
$tempStr = @PostHost($remoteUrl); | |||||
$reval = (md5($d) == trim($tempStr)) ? true : false; | |||||
unlink($d.'/'.$filename); | |||||
return $reval; | |||||
} else { | |||||
return -1; | |||||
} | |||||
} | |||||
} | |||||
if (!function_exists('PostHost')) { | |||||
function PostHost($host, $data = '', $method = 'GET', $showagent = null, $port = null, $timeout = 30) | |||||
{ | |||||
$parse = @parse_url($host); | |||||
if (empty($parse)) return false; | |||||
if ((int)$port > 0) { | |||||
$parse['port'] = $port; | |||||
} elseif (!@$parse['port']) { | |||||
$parse['port'] = '80'; | |||||
} | |||||
$parse['host'] = str_replace(array('http://', 'https://'), array('', 'ssl://'), "$parse[scheme]://").$parse['host']; | |||||
if (!$fp = @fsockopen($parse['host'], $parse['port'], $errnum, $errstr, $timeout)) { | |||||
return false; | |||||
} | |||||
$method = strtoupper($method); | |||||
$wlength = $wdata = $responseText = ''; | |||||
$parse['path'] = str_replace(array('\\', '//'), '/', @$parse['path'])."?".@$parse['query']; | |||||
if ($method == 'GET') { | |||||
$separator = @$parse['query'] ? '&' : ''; | |||||
substr($data, 0, 1) == '&' && $data = substr($data, 1); | |||||
$parse['path'] .= $separator.$data; | |||||
} elseif ($method == 'POST') { | |||||
$wlength = "Content-length: ".strlen($data)."\r\n"; | |||||
$wdata = $data; | |||||
} | |||||
$write = "$method $parse[path] HTTP/1.0\r\nHost: $parse[host]\r\nContent-type: application/x-www-form-urlencoded\r\n{$wlength}Connection: close\r\n\r\n$wdata"; | |||||
@fwrite($fp, $write); | |||||
while ($data = @fread($fp, 4096)) { | |||||
$responseText .= $data; | |||||
} | |||||
@fclose($fp); | |||||
empty($showagent) && $responseText = trim(stristr($responseText, "\r\n\r\n"), "\r\n"); | |||||
return $responseText; | |||||
} | |||||
} | |||||
$allPath = array(); | |||||
$needDir = "$cfg_medias_dir| | |||||
$cfg_image_dir| | |||||
$ddcfg_image_dir| | |||||
$cfg_user_dir| | |||||
$cfg_soft_dir| | |||||
$cfg_other_medias| | |||||
$cfg_medias_dir/flink| | |||||
$cfg_cmspath/data| | |||||
$cfg_cmspath/data/$cfg_backup_dir| | |||||
$cfg_cmspath/data/textdata| | |||||
$cfg_cmspath/data/sessions| | |||||
$cfg_cmspath/data/tplcache| | |||||
$cfg_cmspath/data/admin| | |||||
$cfg_cmspath/data/enums| | |||||
$cfg_cmspath/data/mark| | |||||
$cfg_cmspath/data/module| | |||||
$cfg_cmspath/data/rss| | |||||
$cfg_special| | |||||
$cfg_cmspath$cfg_arcdir"; | |||||
$needDir = explode('|', $needDir); | |||||
foreach ($needDir as $key => $val) { | |||||
$allPath[trim($val)] = array( | |||||
'read' => true, //读取 | |||||
'write' => true, //写入 | |||||
'execute' => false //执行 | |||||
); | |||||
} | |||||
//所有栏目目录 | |||||
$sql = "SELECT typedir FROM #@__arctype ORDER BY id DESC"; | |||||
$dsql->SetQuery($sql); | |||||
$dsql->Execute('al', $sql); | |||||
while ($row = $dsql->GetArray('al')) { | |||||
$typedir = str_replace($cfg_basehost, '', $row['typedir']); | |||||
if (preg_match("/^http:|^ftp:/i", $row['typedir'])) continue; | |||||
$typedir = str_replace("{cmspath}", $cfg_cmspath, $row['typedir']); | |||||
$allPath[trim($typedir)] = array( | |||||
'read' => true, //读取 | |||||
'write' => true, //写入 | |||||
'execute' => false //执行 | |||||
); | |||||
} | |||||
//只允许读取,不允许写入的目录 | |||||
$needDir = array( | |||||
'include', | |||||
'member', | |||||
'plus', | |||||
); | |||||
//获取子目录 | |||||
function GetSondir($d, &$dirname = array()) | |||||
{ | |||||
$dh = dir($d); | |||||
while ($filename = $dh->read()) { | |||||
if ( | |||||
substr($filename, 0, 1) == '.' || is_file($d.'/'.$filename) || | |||||
preg_match("#^(svn|bak-)#i", $filename) | |||||
) { | |||||
continue; | |||||
} | |||||
if (is_dir($d.'/'.$filename)) { | |||||
$dirname[] = $d.'/'.$filename; | |||||
GetSondir($d.'/'.$filename, $dirname); | |||||
} | |||||
} | |||||
$dh->close(); | |||||
return $dirname; | |||||
} | |||||
//获取所有文件列表 | |||||
function preg_ls($path = ".", $rec = FALSE, $pat = "/.*/", $ignoredir = '') | |||||
{ | |||||
while (substr($path, -1, 1) == "/") { | |||||
$path = substr($path, 0, -1); | |||||
} | |||||
if (!is_dir($path)) { | |||||
$path = dirname($path); | |||||
} | |||||
if ($rec !== TRUE) { | |||||
$rec = FALSE; | |||||
} | |||||
$d = dir($path); | |||||
$ret = array(); | |||||
while (FALSE !== ($e = $d->read())) { | |||||
if (($e == ".") || ($e == "..")) { | |||||
continue; | |||||
} | |||||
if ($rec && is_dir($path."/".$e) && ($ignoredir == '' || strpos($ignoredir, $e) === FALSE)) { | |||||
$ret = array_merge($ret, preg_ls($path."/".$e, $rec, $pat, $ignoredir)); | |||||
continue; | |||||
} | |||||
if (!preg_match($pat, $e)) { | |||||
continue; | |||||
} | |||||
$ret[] = $path."/".$e; | |||||
} | |||||
return (empty($ret) && preg_match($pat, basename($path))) ? array($path."/") : $ret; | |||||
} | |||||
foreach ($needDir as $key => $val) { | |||||
$allPath[trim('/'.$val)] = array( | |||||
'read' => true, //读取 | |||||
'write' => false, //写入 | |||||
'execute' => true //执行 | |||||
); | |||||
$sonDir = GetSondir(DEDEROOT.'/'.$val); | |||||
foreach ($sonDir as $kk => $vv) { | |||||
$vv = trim(str_replace(DEDEROOT, '', $vv)); | |||||
$allPath[$vv] = array( | |||||
'read' => true, //读取 | |||||
'write' => false, //写入 | |||||
'execute' => true //执行 | |||||
); | |||||
} | |||||
} | |||||
//不需要执行的 | |||||
$needDir = array( | |||||
'/images', | |||||
'/templets' | |||||
); | |||||
foreach ($needDir as $key => $val) { | |||||
$allPath[trim('/'.$val)] = array( | |||||
'read' => true, //读取 | |||||
'write' => false, //写入 | |||||
'execute' => false //执行 | |||||
); | |||||
$sonDir = GetSondir(DEDEROOT.'/'.$val); | |||||
foreach ($sonDir as $kk => $vv) { | |||||
$vv = trim(str_replace(DEDEROOT.'/', '', $vv)); | |||||
$allPath[$vv] = array( | |||||
'read' => true, //读取 | |||||
'write' => false, //写入 | |||||
'execute' => false //执行 | |||||
); | |||||
} | |||||
} | |||||
//所有js建议只读 | |||||
$jsDir = array( | |||||
'/images', | |||||
'/templets', | |||||
'/include' | |||||
); | |||||
foreach ($jsDir as $k => $v) { | |||||
$jsfiles = preg_ls(DEDEROOT.$v, TRUE, "/.*\.(js)$/i"); | |||||
foreach ($jsfiles as $k => $v) { | |||||
$vv = trim(str_replace(DEDEROOT.'/', '/', $v)); | |||||
$allPath[$vv] = array( | |||||
'read' => true, //读取 | |||||
'write' => false, //写入 | |||||
'execute' => false //执行 | |||||
); | |||||
} | |||||
} | |||||
?> | |||||
<div id="safemsg"> | |||||
<dl style="margin-left:0.5%;margin-right:0.5%; width:97%" id="item1" class="dbox"> | |||||
<dt class="lside"><span class="l" style="float:left">系统运行目录权限检测</span><span style="float:right; margin-right:20px"><a href="index_body.php">返回主页</a></span><span style="float:right; margin-right:20px"><a href="https://www.dedebiz.com/help" target="_blank">帮助说明</a></span></dt> | |||||
<dd> | |||||
<div style="padding:10px"> 说明:本程序用于检测DedeBIZ站点所涉及的目录权限,并且提供一个全面的检测说明,您可以根据检测报告来配置站点以保证站点更为安全</div> | |||||
<div id="tableHeader" style="margin-left:10px"> | |||||
<table width="784" border="0" cellpadding="0" cellspacing="1" bgcolor="#047700" id="scanTable"> | |||||
<thead> | |||||
<tr> | |||||
<td width="40%" height="26" align="center" bgcolor="#E3F1D1">目录</td> | |||||
<td width="20%" height="26" align="center" bgcolor="#E3F1D1">执行</td> | |||||
<td width="20%" height="26" align="center" bgcolor="#E3F1D1">读取</td> | |||||
<td width="20%" height="26" align="center" bgcolor="#E3F1D1">写入</td> | |||||
</tr> | |||||
</thead> | |||||
</table> | |||||
</div> | |||||
<div id="safelist" style="margin-left:10px"> | |||||
<div class="install" id="log" style="height: 260px; overflow: auto;"> | |||||
<table width="784" border="0" cellpadding="0" cellspacing="1" bgcolor="#047700" id="scanTable"> | |||||
<tbody id="mainList"> | |||||
</tbody> | |||||
</table> | |||||
</div> | |||||
</div> | |||||
</dd> | |||||
</dl> | |||||
</div> | |||||
<div style="margin: 0 auto; width:200px"><a href="javascript:startScan();"><img src="images/btn_scan.gif" width="154" height="36" /></a></div> | |||||
<script type="text/javascript"> | |||||
$ = jQuery; | |||||
var log = "<?php | |||||
foreach ($allPath as $key => $val) { | |||||
if (is_dir(DEDEROOT.$key)) { | |||||
?><?php echo $key; ?>|<?php | |||||
$rs = TestExecuteable(DEDEROOT.$key, $cfg_basehost, $cfg_cmspath); | |||||
if ($rs === -1) { | |||||
echo "<span style='color:#dc3545'>无法判断</span>"; | |||||
} else { | |||||
if ($val['execute'] == true) | |||||
echo $rs != $val['execute'] ? "<span style='color:#dc3545'>错误(不可执行)</span>" : "<span style='color:#28a745'>正常(可执行)</span>"; | |||||
else | |||||
echo $rs != $val['execute'] ? "<span style='color:#dc3545'>错误(可执行)</span>" : "<span style='color:#28a745'>正常(不可执行)</span>"; | |||||
} | |||||
?>|<?php | |||||
if ($val['read'] == true) | |||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(不可读)</span>" : "<span style='color:#28a745'>正常(可读)</span>"; | |||||
else | |||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(可读)</span>" : "<span style='color:#28a745'>正常(不可读)</span>"; | |||||
?>|<?php | |||||
if ($val['write'] == true) | |||||
echo TestWriteable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(不可写)</span>" : "<span style='color:#28a745'>正常(可写)</span>"; | |||||
else | |||||
echo TestWriteable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(可写)</span>" : "<span style='color:#28a745'>正常(不可写)</span>"; | |||||
?><dedecms><?php | |||||
} else { | |||||
?><?php echo $key; ?>|无需判断|<?php | |||||
if ($val['read'] == true) | |||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(不可读)</span>" : "<span style='color:#28a745'>正常(可读)</span>"; | |||||
else | |||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(可读)</span>" : "<span style='color:#28a745'>正常(不可读)</span>"; | |||||
?>|<?php | |||||
if ($val['write'] == true) | |||||
echo is_writable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(不可写)</span>" : "<span style='color:#28a745'>正常(可写)</span>"; | |||||
else | |||||
echo is_writable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(可写)</span>" : "<span style='color:#28a745'>正常(不可写)</span>"; | |||||
?><dedecms><?php | |||||
} | |||||
} | |||||
?>"; | |||||
var n = 0; | |||||
var timer = 0; | |||||
log = log.split('<dedecms>'); | |||||
function GoPlay() { | |||||
if (n > log.length - 1) { | |||||
n = -1; | |||||
clearIntervals(); | |||||
} | |||||
if (n > -1) { | |||||
postcheck(n); | |||||
n++; | |||||
} | |||||
} | |||||
function postcheck(n) { | |||||
var item = log[n]; | |||||
item = item.split('|'); | |||||
document.getElementById('log').scrollTop = document.getElementById('log').scrollHeight; | |||||
if (item == '') { | |||||
return false; | |||||
} | |||||
var tempvar = '<tr>\r<td width="40%" height="26">' + item[0] + '</td>\r<td width="20%" height="26" align="center" bgcolor="#FEF7C5">' + item[1] + '</td>\r <td width="20%" height="26" align="center">\r' + item[2] + '</td>\r<td width="20%" height="26" align="center">\r' + item[3] + '</td>\r </tr>'; | |||||
//chiledelem.innerHTML = tempvar; | |||||
//document.getElementById("mainList").appendChild(chiledelem); | |||||
$("#mainList").append(tempvar); | |||||
document.getElementById('log').scrollTop = document.getElementById('log').scrollHeight; | |||||
} | |||||
function setIntervals() { | |||||
timer = setInterval('GoPlay()', 50); | |||||
} | |||||
function clearIntervals() { | |||||
clearInterval(timer); | |||||
//document.getElementById('install').submit(); | |||||
alert('全部检测完毕,您可以按照检测结果进行系统权限调整'); | |||||
} | |||||
//setTimeout(setIntervals, 100); | |||||
function changeHeight() { | |||||
var newheight = $(window).height() - 170; | |||||
$("#safelist").css('height', newheight + 'px'); | |||||
var logheight = newheight; | |||||
$("#log").css('height', logheight + 'px'); | |||||
} | |||||
//开始检测 | |||||
function startScan() { | |||||
setTimeout(setIntervals, 100); | |||||
} | |||||
$.ready = function() { | |||||
changeHeight(); | |||||
$(window).resize(function() { | |||||
changeHeight(); | |||||
}); | |||||
}; | |||||
</script> | |||||
</body> |
@@ -29,7 +29,7 @@ | |||||
<div class="formbox"> | <div class="formbox"> | ||||
<form name="form1" method="post" action="flink.php"> | <form name="form1" method="post" action="flink.php"> | ||||
<input type='hidden' name='dopost' value='save'> | <input type='hidden' name='dopost' value='save'> | ||||
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="table"> | |||||
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="table"> | |||||
<tr> | <tr> | ||||
<td height="26">网址:</td> | <td height="26">网址:</td> | ||||
<td><input name="url" type="text" id="url" value="http://" size="30" class="ipt-txt"></td> | <td><input name="url" type="text" id="url" value="http://" size="30" class="ipt-txt"></td> | ||||
@@ -113,7 +113,7 @@ | |||||
?> | ?> | ||||
<table width='98%' align="center"> | <table width='98%' align="center"> | ||||
<tr> | <tr> | ||||
<td height="18"><input type='checkbox' name='isokcheck<?php echo $j; ?>' id='isokcheck<?php echo $j; ?>' value='1' class='np' onclick='CheckSelTable(<?php echo $j; ?>)' checked='1'> | |||||
<td><input type='checkbox' name='isokcheck<?php echo $j; ?>' id='isokcheck<?php echo $j; ?>' value='1' class='np' onclick='CheckSelTable(<?php echo $j; ?>)' checked='1'> | |||||
显示/隐藏图片[<?php echo $j; ?>]的选框 </td> | 显示/隐藏图片[<?php echo $j; ?>]的选框 </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||