Browse Source

提取特征更新,后台调整

tags/6.2.0
xushubieli 1 year ago
parent
commit
02584a730c
100 changed files with 609 additions and 615 deletions
  1. +15
    -15
      src/admin/archives_do.php
  2. +8
    -8
      src/admin/article_coonepage_rule.php
  3. +13
    -13
      src/admin/catalog_edit.php
  4. +4
    -4
      src/admin/dialog/select_images.php
  5. +3
    -3
      src/admin/dialog/select_media.php
  6. +1
    -1
      src/admin/dialog/select_mimages.php
  7. +2
    -2
      src/admin/dialog/select_soft.php
  8. +1
    -1
      src/admin/dialog/select_templets.php
  9. +1
    -1
      src/admin/index_testenv.php
  10. +1
    -1
      src/admin/sys_info.php
  11. +39
    -45
      src/admin/sys_repair.php
  12. +2
    -2
      src/admin/templets/action_search.htm
  13. +3
    -3
      src/admin/templets/ad_add.htm
  14. +6
    -6
      src/admin/templets/ad_edit.htm
  15. +3
    -3
      src/admin/templets/ad_main.htm
  16. +2
    -2
      src/admin/templets/adtype_main.htm
  17. +20
    -20
      src/admin/templets/album_add.htm
  18. +26
    -26
      src/admin/templets/album_edit.htm
  19. +17
    -17
      src/admin/templets/archives_add.htm
  20. +23
    -23
      src/admin/templets/archives_edit.htm
  21. +7
    -7
      src/admin/templets/archives_sg_add.htm
  22. +13
    -13
      src/admin/templets/archives_sg_edit.htm
  23. +25
    -25
      src/admin/templets/article_add.htm
  24. +6
    -6
      src/admin/templets/article_coonepage_rule.htm
  25. +2
    -2
      src/admin/templets/article_description_main.htm
  26. +19
    -19
      src/admin/templets/article_edit.htm
  27. +2
    -2
      src/admin/templets/article_keywords_main.htm
  28. +2
    -2
      src/admin/templets/article_keywords_select.htm
  29. +6
    -6
      src/admin/templets/article_result_same.htm
  30. +1
    -1
      src/admin/templets/article_test_same.htm
  31. +1
    -1
      src/admin/templets/cards_make.htm
  32. +2
    -2
      src/admin/templets/cards_manmage.htm
  33. +1
    -1
      src/admin/templets/cards_type.htm
  34. +8
    -8
      src/admin/templets/catalog_add.htm
  35. +10
    -10
      src/admin/templets/catalog_add_quick.htm
  36. +22
    -22
      src/admin/templets/catalog_edit.htm
  37. +1
    -1
      src/admin/templets/catalog_main.htm
  38. +4
    -4
      src/admin/templets/content_att.htm
  39. +5
    -5
      src/admin/templets/content_batch_up.htm
  40. +4
    -4
      src/admin/templets/content_i_list.htm
  41. +5
    -5
      src/admin/templets/content_list.htm
  42. +2
    -2
      src/admin/templets/content_s_list.htm
  43. +2
    -2
      src/admin/templets/content_select_list.htm
  44. +5
    -5
      src/admin/templets/content_sg_list.htm
  45. +2
    -2
      src/admin/templets/content_tj.htm
  46. +6
    -6
      src/admin/templets/diy_add.htm
  47. +13
    -13
      src/admin/templets/diy_edit.htm
  48. +4
    -4
      src/admin/templets/diy_edit_content.htm
  49. +3
    -3
      src/admin/templets/diy_field_add.htm
  50. +6
    -6
      src/admin/templets/diy_field_edit.htm
  51. +5
    -5
      src/admin/templets/diy_list.htm
  52. +2
    -2
      src/admin/templets/diy_main.htm
  53. +3
    -3
      src/admin/templets/diy_post.htm
  54. +2
    -2
      src/admin/templets/erradd.htm
  55. +9
    -9
      src/admin/templets/feedback_edit.htm
  56. +2
    -2
      src/admin/templets/feedback_main.htm
  57. +1
    -1
      src/admin/templets/file_edit.htm
  58. +1
    -1
      src/admin/templets/file_manage_main.htm
  59. +2
    -2
      src/admin/templets/file_upload.htm
  60. +1
    -1
      src/admin/templets/freelist_add.htm
  61. +11
    -11
      src/admin/templets/freelist_edit.htm
  62. +3
    -3
      src/admin/templets/freelist_main.htm
  63. +1
    -1
      src/admin/templets/friendlink_add.htm
  64. +1
    -1
      src/admin/templets/friendlink_edit.htm
  65. +3
    -3
      src/admin/templets/friendlink_main.htm
  66. +2
    -2
      src/admin/templets/friendlink_type.htm
  67. +7
    -7
      src/admin/templets/index.htm
  68. +8
    -8
      src/admin/templets/index_body.htm
  69. +3
    -3
      src/admin/templets/index_menu.htm
  70. +2
    -2
      src/admin/templets/log_list.htm
  71. +3
    -3
      src/admin/templets/login.htm
  72. +2
    -2
      src/admin/templets/makehtml_all.htm
  73. +2
    -2
      src/admin/templets/makehtml_archives.htm
  74. +3
    -3
      src/admin/templets/makehtml_freelist.htm
  75. +5
    -5
      src/admin/templets/makehtml_homepage.htm
  76. +2
    -2
      src/admin/templets/makehtml_list.htm
  77. +1
    -1
      src/admin/templets/makehtml_spec.htm
  78. +3
    -3
      src/admin/templets/makehtml_taglist.htm
  79. +3
    -3
      src/admin/templets/media_add.htm
  80. +7
    -7
      src/admin/templets/media_edit.htm
  81. +2
    -2
      src/admin/templets/media_main.htm
  82. +2
    -2
      src/admin/templets/member_main.htm
  83. +3
    -3
      src/admin/templets/member_operations.htm
  84. +2
    -2
      src/admin/templets/member_pm.htm
  85. +1
    -1
      src/admin/templets/member_pmall.htm
  86. +1
    -1
      src/admin/templets/member_pmone.htm
  87. +8
    -8
      src/admin/templets/member_rank.htm
  88. +3
    -3
      src/admin/templets/member_scores.htm
  89. +3
    -3
      src/admin/templets/member_toadmin.htm
  90. +1
    -1
      src/admin/templets/member_type.htm
  91. +13
    -13
      src/admin/templets/member_view.htm
  92. +28
    -28
      src/admin/templets/module_edit.htm
  93. +1
    -1
      src/admin/templets/module_help.htm
  94. +10
    -10
      src/admin/templets/module_main.htm
  95. +5
    -5
      src/admin/templets/module_make.htm
  96. +1
    -1
      src/admin/templets/module_upload.htm
  97. +5
    -5
      src/admin/templets/mychannel_add.htm
  98. +32
    -32
      src/admin/templets/mychannel_edit.htm
  99. +2
    -2
      src/admin/templets/mychannel_field_add.htm
  100. +7
    -7
      src/admin/templets/mychannel_field_edit.htm

+ 15
- 15
src/admin/archives_do.php View File

@@ -299,19 +299,19 @@ else if ($dopost == 'moveArchives') {
?>
<tr>
<td width="90" class="bline"> 目标栏目:</td>
<td class="bline"><?php echo $typeOptions; ?></td>
<td class="bline"><?php echo $typeOptions;?></td>
</tr>
<tr>
<td width="90" class="bline"> 文档id:</td>
<td class="bline">
<input type="text" name="tmpids" value="<?php echo $qstr; ?>" style="width:320px;overflow:hidden"><br>
<input type="text" name="tmpids" value="<?php echo $qstr;?>" style="width:320px;overflow:hidden"><br>
移动到目标栏目必须和选定文档频道类型一致,否则程序会自动勿略不符合文档
</td>
</tr>
<tr>
<td colspan="2" align="center" class="py-2">
<button type="submit" class="btn btn-success btn-sm">保存</button>
<button type="button" onclick="HideObj('<?php echo $divname; ?>');ChangeFullDiv('hide');" class="btn btn-success btn-sm">关闭</button>
<button type="button" onclick="HideObj('<?php echo $divname;?>');ChangeFullDiv('hide');" class="btn btn-success btn-sm">关闭</button>
</td>
</tr>
</table>
@@ -554,7 +554,7 @@ else if ($dopost == 'quickEdit') {
<tr>
<td width="90" class="bline"> 属性:</td>
<td class="bline">
<input type="hidden" name="oldflag" value="<?php echo $arcRow['flag']; ?>">
<input type="hidden" name="oldflag" value="<?php echo $arcRow['flag'];?>">
<?php
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC");
$dsql->Execute();
@@ -570,11 +570,11 @@ else if ($dopost == 'quickEdit') {
</tr>
<tr>
<td width="90" class="bline"> 标题:</td>
<td class="bline"><input type="text" name="title" id="title" value="<?php echo $arcRow['title']; ?>" style="width:320px"></td>
<td class="bline"><input type="text" name="title" id="title" value="<?php echo $arcRow['title'];?>" style="width:320px"></td>
</tr>
<tr>
<td width="90" class="bline"> 简略标题:</td>
<td class="bline"><input type="text" name="shorttitle" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:320px"></td>
<td class="bline"><input type="text" name="shorttitle" id="shorttitle" value="<?php echo $arcRow['shorttitle'];?>" style="width:320px"></td>
</tr>
<tr>
<td width="90" class="bline"> 阅读权限:</td>
@@ -591,17 +591,17 @@ else if ($dopost == 'quickEdit') {
}
?>
</select>
需要金币:<input type="text" name="money" id="money" value="<?php echo $arcRow["money"]; ?>" style="width:100px">
需要金币:<input type="text" name="money" id="money" value="<?php echo $arcRow["money"];?>" style="width:100px">
</td>
</tr>
<tr>
<td width="90" class="bline"> 关键词:</td>
<td class="bline"><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']; ?>" style="width:320px"></td>
<td class="bline"><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords'];?>" style="width:320px"></td>
</tr>
<tr>
<td colspan="2" align="center" class="py-2">
<button type="submit" class="btn btn-success btn-sm">保存</button>
<button type="button" onclick="HideObj('<?php echo $divname; ?>');ChangeFullDiv('hide');" class="btn btn-success btn-sm">关闭</button>
<button type="button" onclick="HideObj('<?php echo $divname;?>');ChangeFullDiv('hide');" class="btn btn-success btn-sm">关闭</button>
</td>
</tr>
</table>
@@ -856,7 +856,7 @@ else if ($dopost == 'attsDlg') {
<tr>
<td width="90" class="bline"> 属性:</td>
<td class="bline">
<input type="hidden" name="oldflag" value="<?php echo $arcRow['flag']; ?>">
<input type="hidden" name="oldflag" value="<?php echo $arcRow['flag'];?>">
<?php
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC");
$dsql->Execute();
@@ -869,12 +869,12 @@ else if ($dopost == 'attsDlg') {
</tr>
<tr>
<td width="90" class="bline"> 文档id:</td>
<td class="bline"><input type="text" name="tmpids" value="<?php echo $qstr; ?>" style="width:320px;overflow:hidden"></td>
<td class="bline"><input type="text" name="tmpids" value="<?php echo $qstr;?>" style="width:320px;overflow:hidden"></td>
</tr>
<tr>
<td colspan="2" align="center" class="py-2">
<button type="submit" class="btn btn-success btn-sm">保存</button>
<button type="button" onclick="HideObj('<?php echo $divname; ?>');ChangeFullDiv('hide');" class="btn btn-success btn-sm">关闭</button>
<button type="button" onclick="HideObj('<?php echo $divname;?>');ChangeFullDiv('hide');" class="btn btn-success btn-sm">关闭</button>
</td>
</tr>
</table>
@@ -894,10 +894,10 @@ else if ($dopost == 'getCatMap') {
$tus = new TypeUnitSelector();
?>
<form name="quicksel" action="javascript:;" method="get">
<div class="quicksel"><?php $tus->ListAllType($channelid); ?></div>
<div class="quicksel"><?php $tus->ListAllType($channelid);?></div>
<div align="center" class="quickselfoot">
<button onclick="getSelCat('<?php echo $targetid; ?>');" class="btn btn-success btn-sm">保存</button>
<button type="button" onclick="HideObj('<?php echo $divname; ?>');ChangeFullDiv('hide');" class="btn btn-success btn-sm">关闭</button>
<button onclick="getSelCat('<?php echo $targetid;?>');" class="btn btn-success btn-sm">保存</button>
<button type="button" onclick="HideObj('<?php echo $divname;?>');ChangeFullDiv('hide');" class="btn btn-success btn-sm">关闭</button>
</div>
</form>
<?php


+ 8
- 8
src/admin/article_coonepage_rule.php View File

@@ -52,30 +52,30 @@ else if ($action == 'editload') {
AjaxHead();
?>
<form name="addform" action="article_coonepage_rule.php" method="post">
<input type="hidden" name="id" value="<?php echo $id; ?>">
<input type="hidden" name="id" value="<?php echo $id;?>">
<input type="hidden" name="action" value="editsave">
<table width="430" cellspacing="0" cellpadding="0">
<tr>
<td width="90">网站名称:</td>
<td width="270"><input type="text" name="title" id="title" style="width:260px" value="<?php echo $row['title']; ?>"></td>
<td width="270"><input type="text" name="title" id="title" style="width:260px" value="<?php echo $row['title'];?>"></td>
</tr>
<tr>
<td>原内容编码:</td>
<td colspan="2">
<label><input type="radio" name="lang" value="utf-8" <?php echo ($row['lang'] == 'utf-8' ? 'checked="checked"' : ''); ?>> UTF-8</label>
<label><input type="radio" name="lang" value="gb2312" <?php echo ($row['lang'] == 'gb2312' ? 'checked="checked"' : ''); ?>> GB2312/GBK</label>
<label><input type="radio" name="lang" value="utf-8" <?php echo ($row['lang'] == 'utf-8' ? 'checked="checked"' : '');?>> UTF-8</label>
<label><input type="radio" name="lang" value="gb2312" <?php echo ($row['lang'] == 'gb2312' ? 'checked="checked"' : '');?>> GB2312/GBK</label>
</td>
</tr>
<tr>
<td>用作文档来源:</td>
<td colspan="2">
<label><input type="radio" name="issource" value="0" <?php echo ($row['issource'] == 0 ? 'checked="checked"' : ''); ?>> 否</label>
<label><input type="radio" name="issource" value="1" <?php echo ($row['issource'] == 1 ? 'checked="checked"' : ''); ?>> 是</label>
<label><input type="radio" name="issource" value="0" <?php echo ($row['issource'] == 0 ? 'checked="checked"' : '');?>> 否</label>
<label><input type="radio" name="issource" value="1" <?php echo ($row['issource'] == 1 ? 'checked="checked"' : '');?>> 是</label>
</td>
</tr>
<tr>
<td>网站网址:</td>
<td colspan="2"><input type="text" name="url" id="url" value="<?php echo $row['url']; ?>" style="width:260px"></td>
<td colspan="2"><input type="text" name="url" id="url" value="<?php echo $row['url'];?>" style="width:260px"></td>
</tr>
<tr>
<td></td>
@@ -90,7 +90,7 @@ else if ($action == 'editload') {
</tr>
<tr>
<td height="90"></td>
<td colspan="2"><textarea name="rule" style="width:300px;height:80px"><?php echo $row['rule']; ?></textarea></td>
<td colspan="2"><textarea name="rule" style="width:300px;height:80px"><?php echo $row['rule'];?></textarea></td>
</tr>
<tr>
<td></td>


+ 13
- 13
src/admin/catalog_edit.php View File

@@ -160,15 +160,15 @@ if ($dopost == 'time') {
?>
<form name="form1" action="catalog_edit.php" method="post" onSubmit="return checkSubmit();">
<input type="hidden" name="dopost" value="savetime">
<input type="hidden" name="id" value="<?php echo $id; ?>">
<input type="hidden" name="topid" value="<?php echo $myrow['topid']; ?>">
<input type="hidden" name="moresite" value="<?php echo $myrow['moresite']; ?>">
<input type="hidden" name="id" value="<?php echo $id;?>">
<input type="hidden" name="topid" value="<?php echo $myrow['topid'];?>">
<input type="hidden" name="moresite" value="<?php echo $myrow['moresite'];?>">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="160" class="bline" align="center">是否支持投稿:</td>
<td class="bline">
<label><input type="radio" name="issend" value="1" <?php if ($myrow['issend'] == "1") echo "checked='1'"; ?>> 支持</label>
<label><input type="radio" name="issend" value="0" <?php if ($myrow['issend'] == "0") echo "checked='1'"; ?>> 不支持</label>
<label><input type="radio" name="issend" value="1" <?php if ($myrow['issend'] == "1") echo "checked='1'";?>> 支持</label>
<label><input type="radio" name="issend" value="0" <?php if ($myrow['issend'] == "0") echo "checked='1'";?>> 不支持</label>
</td>
</tr>
<tr>
@@ -179,7 +179,7 @@ if ($dopost == 'time') {
if ($k == $channelid) echo "{$arr['typename']} | {$arr['nid']}";
}
?>
<a href='catalog_edit.php?id=<?php echo $id; ?>' class='btn btn-success btn-sm'>更多模型</a>
<a href='catalog_edit.php?id=<?php echo $id;?>' class='btn btn-success btn-sm'>更多模型</a>
</td>
</tr>
<tr>
@@ -214,9 +214,9 @@ if ($dopost == 'time') {
<tr>
<td align="center" class="bline">栏目列表选项:</td>
<td class="bline">
<label><input type="radio" name="isdefault" value="1" <?php if ($myrow['isdefault'] == 1) echo "checked='1'"; ?>> 链接到默认页</label>
<label><input type="radio" name="isdefault" value="0" <?php if ($myrow['isdefault'] == 0) echo "checked='1'"; ?>> 链接到列表第一页</label>
<label><input type="radio" name="isdefault" value="-1" <?php if ($myrow['isdefault'] == -1) echo "checked='1'"; ?>> 使用动态页</label>
<label><input type="radio" name="isdefault" value="1" <?php if ($myrow['isdefault'] == 1) echo "checked='1'";?>> 链接到默认页</label>
<label><input type="radio" name="isdefault" value="0" <?php if ($myrow['isdefault'] == 0) echo "checked='1'";?>> 链接到列表第一页</label>
<label><input type="radio" name="isdefault" value="-1" <?php if ($myrow['isdefault'] == -1) echo "checked='1'";?>> 使用动态页</label>
</td>
</tr>
<tr>
@@ -226,14 +226,14 @@ if ($dopost == 'time') {
<tr>
<td class="bline" align="center">栏目属性:</td>
<td class="bline">
<label><input name="ispart" type="radio" value="0" <?php if ($myrow['ispart'] == 0) echo "checked='1'"; ?>> 最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label><br>
<label><input name="ispart" type="radio" value="1" <?php if ($myrow['ispart'] == 1) echo "checked='1'"; ?>> 频道封面(栏目本身不允许发布文档)</label><br>
<label><input name="ispart" type="radio" value="2" <?php if ($myrow['ispart'] == 2) echo "checked='1'"; ?>> 外部连接(在"文件保存目录"处填写网址)</label>
<label><input name="ispart" type="radio" value="0" <?php if ($myrow['ispart'] == 0) echo "checked='1'";?>> 最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label><br>
<label><input name="ispart" type="radio" value="1" <?php if ($myrow['ispart'] == 1) echo "checked='1'";?>> 频道封面(栏目本身不允许发布文档)</label><br>
<label><input name="ispart" type="radio" value="2" <?php if ($myrow['ispart'] == 2) echo "checked='1'";?>> 外部连接(在"文件保存目录"处填写网址)</label>
</td>
</tr>
<tr>
<td bgcolor="#fbfce2" colspan="2" align="center" class="py-2">
<button onclick='getSelCat("<?php echo $targetid; ?>");' class='btn btn-success btn-sm'>保存</button>
<button onclick='getSelCat("<?php echo $targetid;?>");' class='btn btn-success btn-sm'>保存</button>
<button type='button' onclick='CloseMsg()' class='btn btn-success btn-sm'>关闭</button>
</td>
</tr>


+ 4
- 4
src/admin/dialog/select_images.php View File

@@ -53,7 +53,7 @@ if (!empty($iseditor)) {
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>选择图片</title>
<link rel="stylesheet" href="../../static/web/css/bootstrap.min.css">
@@ -141,15 +141,15 @@ a{text-decoration:none!important}
<tr>
<td colspan="4" height="26">
<form action="select_images_post.php" method="POST" enctype="multipart/form-data" name="myform">
<?php $noeditor = !empty($noeditor) ? "<input type='hidden' name='noeditor' value='yes'>" : ''; echo $noeditor; ?>
<?php $noeditor = !empty($noeditor) ? "<input type='hidden' name='noeditor' value='yes'>" : ''; echo $noeditor;?>
<input type="hidden" name="activepath" value="<?php echo $activepath ?>">
<input type="hidden" name="f" value="<?php echo $f ?>">
<input type="hidden" name="v" value="<?php echo $v ?>">
<input type="hidden" name="imgstick" value="<?php echo $imgstick ?>">
<input type="hidden" name="CKEditorFuncNum" value="<?php echo isset($CKEditorFuncNum) ? $CKEditorFuncNum : 1; ?>">
<input type="hidden" name="CKEditorFuncNum" value="<?php echo isset($CKEditorFuncNum) ? $CKEditorFuncNum : 1;?>">
<input type="hidden" name="job" value="upload">
上传:<input type="file" name="imgfile" style="width:50%;border:none">
<label><input type="checkbox" name="needwatermark" value="1" class="np" <?php if ($photo_markup == '1') echo "checked"; ?> /> 水印 </label>
<label><input type="checkbox" name="needwatermark" value="1" class="np" <?php if ($photo_markup == '1') echo "checked";?> /> 水印 </label>
<label><input type="checkbox" name="resize" value="1" class="np"> 缩小 </label>
宽:<input type="text" name="iwidth" value="<?php echo $cfg_ddimg_width ?>" style="width:46px">
高:<input type="text" name="iheight" value="<?php echo $cfg_ddimg_height ?>" style="width:46px">


+ 3
- 3
src/admin/dialog/select_media.php View File

@@ -43,7 +43,7 @@ if (!empty($noeditor)) {
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>选择多媒体</title>
<link rel="stylesheet" href="../../static/web/css/bootstrap.min.css">
@@ -66,7 +66,7 @@ a{text-decoration:none!important}
if (window.opener.document.<?php echo $f ?> != null) {
window.opener.document.<?php echo $f ?>.value = reimg;
}
var funcNum = <?php echo isset($CKEditorFuncNum) ? $CKEditorFuncNum : 1; ?>;
var funcNum = <?php echo isset($CKEditorFuncNum) ? $CKEditorFuncNum : 1;?>;
if (window.opener.CKEDITOR != null && funcNum != 1) {
window.opener.CKEDITOR.tools.callFunction(funcNum, reimg);
}
@@ -80,7 +80,7 @@ a{text-decoration:none!important}
<input type="hidden" name="activepath" value="<?php echo $activepath ?>">
<input type="hidden" name="f" value="<?php echo $f ?>">
<input type="hidden" name="job" value="upload">
<input type="hidden" name="CKEditorFuncNum" value="<?php echo isset($CKEditorFuncNum) ? $CKEditorFuncNum : 1; ?>">
<input type="hidden" name="CKEditorFuncNum" value="<?php echo isset($CKEditorFuncNum) ? $CKEditorFuncNum : 1;?>">
上传:<input type="file" name="uploadfile" style="width:50%;border:none">
<button type="submit" name="sb1" class="btn btn-success btn-sm">上传</button>
</form>


+ 1
- 1
src/admin/dialog/select_mimages.php View File

@@ -40,7 +40,7 @@ button+button{margin-left:10px}
<body>
<div id="wrap">
<div id="topbar">
<label><input type="checkbox" name="isWater" id="isWater" <?php if ($photo_markup == '1') echo "checked"; ?>> 是否水印</label>
<label><input type="checkbox" name="isWater" id="isWater" <?php if ($photo_markup == '1') echo "checked";?>> 是否水印</label>
<button class="addfile">添加文件</button>
<button class="upall">全部上传</button>
<button class="removeall">清空列表</button>


+ 2
- 2
src/admin/dialog/select_soft.php View File

@@ -42,7 +42,7 @@ if (!empty($noeditor)) {
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>选择软件</title>
<link rel="stylesheet" href="../../static/web/css/bootstrap.min.css">
@@ -62,7 +62,7 @@ a{text-decoration:none!important}
return;
}
function ReturnValue(reimg) {
var funcNum = <?php echo isset($CKEditorFuncNum) ? $CKEditorFuncNum : 1; ?>;
var funcNum = <?php echo isset($CKEditorFuncNum) ? $CKEditorFuncNum : 1;?>;
if (window.opener.CKEDITOR != null && funcNum != 1) {
window.opener.CKEDITOR.tools.callFunction(funcNum, reimg);
}


+ 1
- 1
src/admin/dialog/select_templets.php View File

@@ -34,7 +34,7 @@ if (empty($comeback)) {
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>选择模板</title>
<link rel="stylesheet" href="../../static/web/css/bootstrap.min.css">


+ 1
- 1
src/admin/index_testenv.php View File

@@ -159,7 +159,7 @@ if (count($safeMsg) > 0) {
$i = 1;
foreach ($safeMsg as $key => $val) {
?>
<div class="py-1"><?php echo $i; ?>.<?php echo $val; ?></div>
<div class="py-1"><?php echo $i;?>.<?php echo $val;?></div>
<?php
$i++;
}


+ 1
- 1
src/admin/sys_info.php View File

@@ -113,7 +113,7 @@ EOT;
$row['varname'] = preg_replace("#{$keywords}#", '<span class="text-danger">'.$keywords.'</span>', $row['varname']);
?>
<tr align="center" bgcolor="<?php echo $bgcolor ?>">
<td width="300"><?php echo $row['info']; ?>:</td>
<td width="300"><?php echo $row['info'];?>:</td>
<td align="left" style="padding:6px;">
<?php
if ($row['type'] == 'bool') {


+ 39
- 45
src/admin/sys_repair.php View File

@@ -19,19 +19,17 @@ if (empty($dopost)) {
$win->AddTitle('本工具用于检测和修复您的系统可能存在的错误');
$msg = "
<table>
<tr>
<td>
由于手动升级时用户没运行指定的SQL语句,或自动升级的遗漏处理或处理出错,可能会导致一些错误,使用本工具会自动检测并处理<br>
本工具目前主要执行下面动作:<br>
1、修复/优化数据表;<br>
2、更新系统缓存;<br>
3、检测系统变量一致性<br>
4、检测微表与主表数据一致性<br>
<br>
<a href='sys_repair.php?dopost=1' class='btn btn-danger'>常规检测</a>
</td>
</tr>
</table>
<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>
</td>
</tr>
</table>
";
$win->AddMsgItem("<div>$msg</div>");
$winform = $win->GetWindow('hand', '');
@@ -50,19 +48,17 @@ else if ($dopost == 1) {
$win->AddTitle('本工具用于检测和修复您的系统可能存在的错误');
$msg = "
<table>
<tr>
<td>
<span class='text-dark'>已完成数据结构完整性检测</span>
<br>
如果您系统有下面几种问题之一,请检测微表正确性:<br>
1、无法获得主键,因此无法进行后续操作<br>
2、更新数据库archives表时出错<br>
3、列表显示数据目与实际文档数不一致<br>
<br>
<a href='sys_repair.php?dopost=2' class='btn btn-danger'>检测数据</a>
</td>
</tr>
</table>
<tr>
<td>
<span class='text-dark'>已完成数据结构完整性检测</span>
如果您系统有下面几种问题之一,请检测微表正确性:<br>
1、无法获得主键,因此无法进行后续操作<br>
2、更新数据库archives表时出错<br>
3、列表显示数据目与实际文档数不一致<br>
<br><a href='sys_repair.php?dopost=2' class='btn btn-danger btn-sm'>检测数据</a>
</td>
</tr>
</table>
";
$win->AddMsgItem("<div>$msg</div>");
$winform = $win->GetWindow('hand', '');
@@ -78,7 +74,7 @@ else if ($dopost == 2) {
$allarcnum = 0;
$row = $dsql->GetOne("SELECT COUNT(*) AS dd FROM `#@__archives` ");
$allarcnum = $arcnum = $row['dd'];
$msg .= "#@__archives 表总记录数:{$arcnum} <br>";
$msg .= "#@__archives 表总记录数:{$arcnum}<br>";
$shtables = array();
$dsql->Execute('me', " SELECT addtable FROM `#@__channeltype` WHERE id < -1 ");
while ($row = $dsql->GetArray('me')) {
@@ -94,7 +90,7 @@ else if ($dopost == 2) {
}
}
}
$msg .= "总有效记录数:{$allarcnum} <br> ";
$msg .= "总有效记录数:{$allarcnum}<br>";
$errall = "<a href='index_body.php' class='btn btn-success btn-sm'>完成修正</a>";
$row = $dsql->GetOne("SELECT COUNT(*) AS dd FROM `#@__arctiny` ");
$msg .= "微统计表记录数:{$row['dd']}<br>";
@@ -120,7 +116,7 @@ else if ($dopost == 2) {
$msg .= "<span class='text-dark'>修正记录成功</span><br>";
} else {
$msg .= "<span class='text-danger'>修正记录失败,建议进行高级综合检测</span><br>";
$errall = "<a href='sys_repair.php?dopost=3' class='btn btn-danger'>结合性检测</a> ";
$errall = "<a href='sys_repair.php?dopost=3' class='btn btn-danger btn-sm'>结合性检测</a> ";
}
}
UpDateCatCache();
@@ -131,14 +127,13 @@ else if ($dopost == 2) {
$win->AddTitle('本工具用于检测和修复您的系统可能存在的错误');
$msg = "
<table>
<tr>
<td>
{$msg}
<br>
{$errall}
</td>
</tr>
</table>
<tr>
<td>
{$msg}<br>
{$errall}
</td>
</tr>
</table>
";
$win->AddMsgItem("<div>$msg</div>");
$winform = $win->GetWindow('hand', '');
@@ -146,7 +141,7 @@ else if ($dopost == 2) {
exit();
}
/*-------------------
高级方式修复微表(会删除不合法主键的内容)
高级方式修复微表,会删除不合法主键的内容
function 3_re_arctiny() { }
--------------------*/
else if ($dopost == 3) {
@@ -189,13 +184,12 @@ else if ($dopost == 3) {
$msg = "
<table>
<tr>
<td>
完成所有修复操作,移除错误记录 {$errnum} 条
<br>
<a href='index_body.php' class='btn btn-success btn-sm'>完成修正</a>
</td>
</tr>
</table>
<td>
完成所有修复操作,移除错误记录{$errnum}条<br>
<br><a href='index_body.php' class='btn btn-success btn-sm'>完成修正</a>
</td>
</tr>
</table>
";
$win->AddMsgItem("<div>$msg</div>");
$winform = $win->GetWindow('hand', '');


+ 2
- 2
src/admin/templets/action_search.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>搜索结果</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -14,7 +14,7 @@
<td bgcolor="#f8f8f8">当前位置 &gt; 搜索结果</td>
</tr>
<tr bgcolor="#fbfce2" align="center">
<td align="left">&quot;<span class="text-danger"><?php echo $keyword; ?></span>&quot;的搜索结果</td>
<td align="left">&quot;<span class="text-danger"><?php echo $keyword;?></span>&quot;的搜索结果</td>
</tr>
<tr align="center">
<td align="center">


+ 3
- 3
src/admin/templets/ad_add.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>增加广告</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -83,7 +83,7 @@
<td>
<table width="100%" cellspacing="4" cellpadding="4" class="table table-borderless">
<input type="hidden" name="normbody[style]" value="code" id="adstyle">
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>">
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>">
<input type="hidden" name="dopost" value="save">
<tr>
<td colspan="3">广告代码的调用方法:{dede:myad name='广告位标识'/} </td>
@@ -97,7 +97,7 @@
<td colspan="2">
<select name="clsid" id="clsid" style="width:160px">
<option value="0">默认分类</option>
<?php echo $option; ?>
<?php echo $option;?>
</select>
</td>
</tr>


+ 6
- 6
src/admin/templets/ad_edit.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改广告</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -55,17 +55,17 @@
<form action="ad_edit.php" method="post" enctype="multipart/form-data" name="form1">
<input type="hidden" name="aid" value="<?php echo $aid?>">
<input type="hidden" name="dopost" value="saveedit">
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>">
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>">
<tr>
<td>广告位标识:</td>
<td colspan="2"><?php echo $row['tagname']; ?></td>
<td colspan="2"><?php echo $row['tagname'];?></td>
</tr>
<tr>
<td>广告分类:</td>
<td colspan="2">
<select name="clsid" id="clsid" style="width:160px">
<option value="0">默认分类</option>
<?php echo $option; ?>
<?php echo $option;?>
</select>
</td>
</tr>
@@ -89,8 +89,8 @@
<tr>
<td>时间限制:</td>
<td colspan="2">
<label><input type="radio" name="timeset" value="0" <?php if($row['timeset']==0) echo "checked='1'"; ?>> 永不过期</label>
<label><input type="radio" name="timeset" value="1" <?php if($row['timeset']==1) echo "checked='1'"; ?>> 在设内时间内有效</label>
<label><input type="radio" name="timeset" value="0" <?php if($row['timeset']==0) echo "checked='1'";?>> 永不过期</label>
<label><input type="radio" name="timeset" value="1" <?php if($row['timeset']==1) echo "checked='1'";?>> 在设内时间内有效</label>
</td>
</tr>
<tr>


+ 3
- 3
src/admin/templets/ad_main.htm View File

@@ -2,7 +2,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>广告管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -23,7 +23,7 @@
<td width="180" align="center">
<select name="clsid" id="clsid" style="width:160px">
<option value="0">默认分类</option>
<?php echo $option; ?>
<?php echo $option;?>
</select>
</td>
<td width="270"><input type="text" name="keyword" placeholder="请输入关键词" style="width:260px"></td>
@@ -57,7 +57,7 @@
</td>
</tr>
{/dede:datalist}
<tr height="36" bgcolor="#f8f8f8" align="center">
<tr class="py-2" bgcolor="#f8f8f8" align="center">
<td colspan="7">{dede:pagelist listsize='6'/}</td>
</tr>
</table>


+ 2
- 2
src/admin/templets/adtype_main.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>广告分类管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -28,7 +28,7 @@
$k++;
?>
<tr align="center">
<td><input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id?>"/><?php echo $row->id; ?></td>
<td><input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id?>"/><?php echo $row->id;?></td>
<td><input type="text" name="pname_<?php echo $k?>" value="<?php echo $row->typename?>" id="pname_<?php echo $k?>" class="pubinputs" style="width:90%"></td>
<td><label><input type="checkbox" name="check_<?php echo $k?>" id="check_<?php echo $k?>" value="1" checked="1"> 保留</label></td>
</tr>


+ 20
- 20
src/admin/templets/album_add.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>发布图集</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -12,7 +12,7 @@
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<style>table{border-collapse:inherit}</style>
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>';</script>
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
@@ -53,15 +53,15 @@
<body>
<form name="form1" action="album_add.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmitAlb();">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="cid" value="<?php echo $cid; ?>">
<input type="hidden" name="cid" value="<?php echo $cid;?>">
<input type="hidden" name="imagebody" value="">
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="maxwidth" id="maxwidth" size="10" value="<?php echo $cfg_album_width; ?>">
<input type="hidden" name="maxwidth" id="maxwidth" size="10" value="<?php echo $cfg_album_width;?>">
<input type="hidden" id="albums" name="albums" value="">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">图集列表</a> &gt; 发布图集</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>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
@@ -127,7 +127,7 @@
<td width="90"> Tag标签:</td>
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc']; ?>" style="width:60px">(越小越靠前)</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc'];?>" style="width:60px">(越小越靠前)</td>
</tr>
</table>
</td>
@@ -183,7 +183,7 @@
echo "</select>";
?>
</span>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title="快捷选择" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid')" title="快捷选择" style="cursor:pointer"></i>
<?php
if($cfg_need_typeid2=='Y')
{
@@ -205,7 +205,7 @@
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="" style="width:160px">
<i class="btn btn-sm fa fa-search" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title='选择副栏目'></i>
<i class="btn btn-sm fa fa-search" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2')" title='选择副栏目'></i>
</td>
</tr>
</table>
@@ -221,7 +221,7 @@
<button type="button" name="Submit" onClick="SelectKeywords('form1.keywords');" class="btn btn-success btn-sm">浏览</button>
</td>
<td>
<label><input type="checkbox" name="autokey" onClick="ShowHide('keywords');" ; id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>> 自动获取,手动填写用","分开</label>
<label><input type="checkbox" name="autokey" onClick="ShowHide('keywords');" ; id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked';?>> 自动获取,手动填写用","分开</label>
</td>
</tr>
</table>
@@ -243,9 +243,9 @@
<tr>
<td width="90"> 表现方式:</td>
<td>
<label><input type="radio" name="pagestyle" id="pagestyle1" onClick="checkMuList()" value="1" <?php if($cfg_album_style==1) echo " checked='checked'"; ?>> <img src="../static/web/img/alb2.jpg" title="单页多图样式"></label>
<label><input type="radio" name="pagestyle" id="pagestyle2" onClick="checkMuList()" value="2" <?php if($cfg_album_style==2) echo " checked='checked'"; ?>> <img src="../static/web/img/alb1.jpg" title="幻灯片样式"></label>
<label><input type="radio" name="pagestyle" id="pagestyle3" onClick="checkMuList()" value="3" <?php if($cfg_album_style==3) echo " checked='checked'"; ?>> <img src="../static/web/img/alb3.jpg" title="多缩略图样式"></label>
<label><input type="radio" name="pagestyle" id="pagestyle1" onClick="checkMuList()" value="1" <?php if($cfg_album_style==1) echo " checked='checked'";?>> <img src="../static/web/img/alb2.jpg" title="单页多图样式"></label>
<label><input type="radio" name="pagestyle" id="pagestyle2" onClick="checkMuList()" value="2" <?php if($cfg_album_style==2) echo " checked='checked'";?>> <img src="../static/web/img/alb1.jpg" title="幻灯片样式"></label>
<label><input type="radio" name="pagestyle" id="pagestyle3" onClick="checkMuList()" value="3" <?php if($cfg_album_style==3) echo " checked='checked'";?>> <img src="../static/web/img/alb3.jpg" title="多缩略图样式"></label>
</td>
</tr>
</table>
@@ -257,9 +257,9 @@
<tr>
<td width="90"> 多列式参数:</td>
<td>
行 <input type="text" name="row" id="row" value="<?php echo $cfg_album_row; ?>" size="6">
列 <input type="text" name="col" id="col" value="<?php echo $cfg_album_col; ?>" size="6">
缩略图宽度限制:<input type="text" name="ddmaxwidth" id="ddmaxwidth" value="<?php echo $cfg_album_ddwidth; ?>" size="6"> 像素
行 <input type="text" name="row" id="row" value="<?php echo $cfg_album_row;?>" size="6">
列 <input type="text" name="col" id="col" value="<?php echo $cfg_album_col;?>" size="6">
缩略图宽度限制:<input type="text" name="ddmaxwidth" id="ddmaxwidth" value="<?php echo $cfg_album_ddwidth;?>" size="6"> 像素
</td>
</tr>
<tr>
@@ -274,7 +274,7 @@
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 每页图片数:</td>
<td><input type="text" name="pagepicnum" id="pagpicnum" size="10" value="<?php echo $cfg_album_pagesize; ?>"> 单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td>
<td><input type="text" name="pagepicnum" id="pagpicnum" size="10" value="<?php echo $cfg_album_pagesize;?>"> 单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td>
</tr>
</table>
</td>
@@ -331,7 +331,7 @@
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" height="36"> 手工上传:</td>
<td width="90" class="py-2"> 手工上传:</td>
<td><span class="btn btn-success btn-sm fileinput-button"><i class="glyphicon glyphicon-plus"></i> 选择本地图片(支持多选)<input type="file" name="files[]" id="iptAlbumImages" multiple></span></td>
</tr>
</table>
@@ -365,8 +365,8 @@
<tr>
<td width="90" width="260"> 评论选项:</td>
<td width="260">
<label><input type="radio" name="notpost" value="0" <?php if($cfg_feedback_forbid=='N') echo "checked='1'"; ?>> 允许评论</label>
<label><input type="radio" name="notpost" value="1" <?php if($cfg_feedback_forbid=='Y') echo "checked='1'"; ?>> 禁止评论</label>
<label><input type="radio" name="notpost" value="0" <?php if($cfg_feedback_forbid=='N') echo "checked='1'";?>> 允许评论</label>
<label><input type="radio" name="notpost" value="1" <?php if($cfg_feedback_forbid=='Y') echo "checked='1'";?>> 禁止评论</label>
</td>
<td width="90">发布选项:</td>
<td>
@@ -434,7 +434,7 @@
?>
</td>
<td width="90">浏览次数:</td>
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50,200):$cfg_arc_click); ?>" style="width:160px"></td>
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50,200):$cfg_arc_click);?>" style="width:160px"></td>
</tr>
</table>
</td>


+ 26
- 26
src/admin/templets/album_edit.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改图集</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -12,7 +12,7 @@
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<style>table{border-collapse:inherit}</style>
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>';</script>
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/moment.min.js"></script>
@@ -60,7 +60,7 @@
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">图集列表</a> &gt; 修改图集</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>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
@@ -80,9 +80,9 @@
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 图集标题:</td>
<td width="400"><input type="text" name="title" id="title" value="<?php echo $arcRow['title']; ?>" style="width:390px"></td>
<td width="400"><input type="text" name="title" id="title" value="<?php echo $arcRow['title'];?>" style="width:390px"></td>
<td width="90"> 简略标题:</td>
<td><input type="text" name="shorttitle" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
<td><input type="text" name="shorttitle" id="shorttitle" value="<?php echo $arcRow['shorttitle'];?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -111,7 +111,7 @@
</td>
</tr>
<tr>
<td class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block'); ?>">
<td class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 跳转网址:</td>
@@ -125,9 +125,9 @@
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> Tag标签:</td>
<td><input type="text" name="tags" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td><input type="text" name="tags" id="tags" value="<?php echo $tags;?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $arcRow['weight'];?>" style="width:60px">(越小越靠前)</td>
</tr>
</table>
</td>
@@ -144,7 +144,7 @@
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-smete">清空</button>
</td>
<td align="center"><img src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" id="litPic" class="thumbnail"></td>
<td align="center"><img src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg';?>" id="litPic" class="thumbnail"></td>
</tr>
</table>
</td>
@@ -180,7 +180,7 @@
echo $typeOptions;
echo '</select>';
?>
<i class="btn btn-sm fa fa-search" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title="快捷选择"></i>
<i class="btn btn-sm fa fa-search" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid','<?php echo $arcRow['typeid'];?>')" title="快捷选择"></i>
</td>
<td width="90">消费金币:</td>
<td><input type="text" name="money" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td>
@@ -198,8 +198,8 @@
<td width="90"> 副栏目:</td>
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']); ?>" style="width:160px">
<i class="btn btn-sm fa fa-search" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')" title="选择副栏目"></i>
<input type="text" name="typeid2" id="typeid2" value="<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']);?>" style="width:160px">
<i class="btn btn-sm fa fa-search" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2','<?php echo $arcRow['typeid2'];?>')" title="选择副栏目"></i>
</td>
</tr>
</table>
@@ -237,23 +237,23 @@
<tr>
<td width="90"> 表现方式:</td>
<td>
<label><input type="radio" name="pagestyle" id="pagestyle1" onClick="checkMuList()" value="1" <?php if($pagestyle==1) echo " checked='checked'"; ?>> <img src="../static/web/img/alb2.jpg" title="单页多图样式"></label>
<label><input type="radio" name="pagestyle" id="pagestyle2" onClick="checkMuList()" value="2" <?php if($pagestyle==2) echo " checked='checked'"; ?>> <img src="../static/web/img/alb1.jpg" title="幻灯片样式"></label>
<label><input type="radio" name="pagestyle" id="pagestyle3" onClick="checkMuList()" value="3" <?php if($pagestyle==3) echo " checked='checked'"; ?>> <img src="../static/web/img/alb3.jpg" title="多缩略图样式"></label>
<label><input type="radio" name="pagestyle" id="pagestyle1" onClick="checkMuList()" value="1" <?php if($pagestyle==1) echo " checked='checked'";?>> <img src="../static/web/img/alb2.jpg" title="单页多图样式"></label>
<label><input type="radio" name="pagestyle" id="pagestyle2" onClick="checkMuList()" value="2" <?php if($pagestyle==2) echo " checked='checked'";?>> <img src="../static/web/img/alb1.jpg" title="幻灯片样式"></label>
<label><input type="radio" name="pagestyle" id="pagestyle3" onClick="checkMuList()" value="3" <?php if($pagestyle==3) echo " checked='checked'";?>> <img src="../static/web/img/alb3.jpg" title="多缩略图样式"></label>
</td>
</tr>
</table>
</td>
</tr>
<tr id="cfgmulist" style="<?php if($pagestyle!=3) echo 'display:none'; ?>">
<tr id="cfgmulist" style="<?php if($pagestyle!=3) echo 'display:none';?>">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 多列式参数:</td>
<td>
行 <input type="text" name="row" id="row" value="<?php echo $irow; ?>" size="6">
列 <input type="text" name="col" id="col" value="<?php echo $icol; ?>" size="6">
缩略图宽度限制:<input type="text" name="ddmaxwidth" id="ddmaxwidth" value="<?php echo $ddmaxwidth; ?>" size="6"> 像素
行 <input type="text" name="row" id="row" value="<?php echo $irow;?>" size="6">
列 <input type="text" name="col" id="col" value="<?php echo $icol;?>" size="6">
缩略图宽度限制:<input type="text" name="ddmaxwidth" id="ddmaxwidth" value="<?php echo $ddmaxwidth;?>" size="6"> 像素
</td>
</tr>
<tr>
@@ -263,12 +263,12 @@
</table>
</td>
</tr>
<tr id="spagelist" style="<?php if($pagestyle!=1) echo 'display:none'; ?>">
<tr id="spagelist" style="<?php if($pagestyle!=1) echo 'display:none';?>">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 每页图片数:</td>
<td><input name="pagepicnum" id="pagpicnum" size="10" value="<?php echo $pagepicnum; ?>"> 单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td>
<td><input name="pagepicnum" id="pagpicnum" size="10" value="<?php echo $pagepicnum;?>"> 单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td>
</tr>
</table>
</td>
@@ -408,13 +408,13 @@
<tr>
<td width="90" width="260"> 评论选项:</td>
<td width="260">
<label><input type="radio" name="notpost" value="0" <?php if($arcRow['notpost']==0) echo "checked='1'"; ?>> 允许评论</label>
<label><input type="radio" name="notpost" value="1" <?php if($arcRow['notpost']==1) echo "checked='1'"; ?>> 禁止评论</label>
<label><input type="radio" name="notpost" value="0" <?php if($arcRow['notpost']==0) echo "checked='1'";?>> 允许评论</label>
<label><input type="radio" name="notpost" value="1" <?php if($arcRow['notpost']==1) echo "checked='1'";?>> 禁止评论</label>
</td>
<td width="90">发布选项:</td>
<td>
<label><input type="radio" name="ishtml" value="1" <?php if($arcRow["ismake"]!=-1) echo "checked"; ?>> 生成网页</label>
<label><input type="radio" name="ishtml" value="0" <?php if($arcRow["ismake"]==-1) echo "checked"; ?>> 仅动态浏览</label>
<label><input type="radio" name="ishtml" value="1" <?php if($arcRow["ismake"]!=-1) echo "checked";?>> 生成网页</label>
<label><input type="radio" name="ishtml" value="0" <?php if($arcRow["ismake"]==-1) echo "checked";?>> 仅动态浏览</label>
</td>
</tr>
</table>
@@ -482,7 +482,7 @@
?>
</td>
<td width="90">浏览次数:</td>
<td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:160px"></td>
<td><input type="text" name="click" value="<?php echo $arcRow['click'];?>" style="width:160px"></td>
</tr>
</table>
</td>


+ 17
- 17
src/admin/templets/archives_add.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>发布商品</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -11,7 +11,7 @@
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<style>table{border-collapse:inherit}</style>
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>';</script>
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/moment.min.js"></script>
@@ -22,7 +22,7 @@
<script>
function checkSubmit() {
if (document.form1.title.value == "") {
ShowMsg("<?php echo $cInfos['titlename']; ?>不能为空");
ShowMsg("<?php echo $cInfos['titlename'];?>不能为空");
return false;
}
if (document.form1.typeid.value == 0) {
@@ -36,7 +36,7 @@
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 发布商品</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>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
@@ -59,7 +59,7 @@
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> <?php echo $cInfos['titlename']; ?>:</td>
<td width="90"> <?php echo $cInfos['titlename'];?>:</td>
<td width="400"><input type="text" name="title" id="title" value="" style="width:390px"></td>
<td width="90"> 简略标题:</td>
<td><input type="text" name="shorttitle" id="shorttitle" style="width:160px"></td>
@@ -106,12 +106,12 @@
<td width="90"> Tag标签:</td>
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc']; ?>" style="width:60px">(越小越靠前)</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc'];?>" style="width:60px">(越小越靠前)</td>
</tr>
</table>
</td>
</tr>
<tr id="pictable" style='<?php if($cInfos['needpic']==0) echo 'display:none'; ?>'>
<tr id="pictable" style='<?php if($cInfos['needpic']==0) echo 'display:none';?>'>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
@@ -168,7 +168,7 @@
echo "</select>";
?>
</span>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title="快捷选择" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid')" title="快捷选择" style="cursor:pointer"></i>
<?php
if($cfg_need_typeid2=='Y')
{
@@ -190,7 +190,7 @@
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="" style="width:160px">
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title="选择副栏目" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2')" title="选择副栏目" style="cursor:pointer"></i>
</td>
</tr>
</table>
@@ -206,7 +206,7 @@
<button type="button" name="Submit" value="" class="btn btn-success btn-sm" onClick="SelectKeywords('form1.keywords');">浏览</button>
</td>
<td>
<label><input type="checkbox" name="autokey" onClick="ShowHide('keywords');" ; id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>> 自动获取,手动填写用","分开</label>
<label><input type="checkbox" name="autokey" onClick="ShowHide('keywords');" ; id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked';?>> 自动获取,手动填写用","分开</label>
</td>
</tr>
</table>
@@ -231,10 +231,10 @@
<tr>
<td width="90"> 附加选项:</td>
<td>
<label><input type="checkbox" name="remote" id="remote" value="1" <?php if($cfg_rm_remote=='Y') echo 'checked="1"'; ?>> 下载远程图片和资源</label>
<label><input type="checkbox" name="dellink" id="dellink" value="1" <?php if($cfg_arc_dellink=='Y') echo 'checked="1"'; ?>> 删除非站内链接</label>
<label><input type="checkbox" name="autolitpic" id="autolitpic" value="1" <?php if($cfg_arc_autopic=='Y') echo 'checked="1"'; ?>> 提取第一个图片为缩略图</label>
<label><input type="checkbox" name="needwatermark" value="1" <?php if($photo_markup=='1') echo 'checked="1"'; ?>> 图片是否加水印</label>
<label><input type="checkbox" name="remote" id="remote" value="1" <?php if($cfg_rm_remote=='Y') echo 'checked="1"';?>> 下载远程图片和资源</label>
<label><input type="checkbox" name="dellink" id="dellink" value="1" <?php if($cfg_arc_dellink=='Y') echo 'checked="1"';?>> 删除非站内链接</label>
<label><input type="checkbox" name="autolitpic" id="autolitpic" value="1" <?php if($cfg_arc_autopic=='Y') echo 'checked="1"';?>> 提取第一个图片为缩略图</label>
<label><input type="checkbox" name="needwatermark" value="1" <?php if($photo_markup=='1') echo 'checked="1"';?>> 图片是否加水印</label>
</td>
</tr>
</table>
@@ -249,8 +249,8 @@
<tr>
<td width="90" width="260"> 评论选项:</td>
<td width="260">
<label><input type="radio" name="notpost" value="0" <?php if($cfg_feedback_forbid=='N') echo "checked='1'"; ?>> 允许评论</label>
<label><input type="radio" name="notpost" value="1" <?php if($cfg_feedback_forbid=='Y') echo "checked='1'"; ?>> 禁止评论</label>
<label><input type="radio" name="notpost" value="0" <?php if($cfg_feedback_forbid=='N') echo "checked='1'";?>> 允许评论</label>
<label><input type="radio" name="notpost" value="1" <?php if($cfg_feedback_forbid=='Y') echo "checked='1'";?>> 禁止评论</label>
</td>
<td width="90">发布选项:</td>
<td>
@@ -318,7 +318,7 @@
?>
</td>
<td width="90">浏览次数:</td>
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50,200):$cfg_arc_click); ?>" style="width:160px"></td>
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50,200):$cfg_arc_click);?>" style="width:160px"></td>
</tr>
</table>
</td>


+ 23
- 23
src/admin/templets/archives_edit.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改商品</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -11,7 +11,7 @@
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<style>table{border-collapse:inherit}</style>
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>';</script>
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
@@ -22,7 +22,7 @@
<script>
function checkSubmit() {
if (document.form1.title.value == "") {
ShowMsg("<?php echo $cInfos['titlename']; ?>不能为空");
ShowMsg("<?php echo $cInfos['titlename'];?>不能为空");
document.form1.title.focus();
return false;
}
@@ -33,7 +33,7 @@
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 修改商品</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>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
@@ -56,10 +56,10 @@
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> <?php echo $cInfos['titlename']; ?>:</td>
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="90"> <?php echo $cInfos['titlename'];?>:</td>
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title'];?>" style="width:380px"></td>
<td width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle'];?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -89,11 +89,11 @@
</td>
</tr>
<tr>
<td class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block'); ?>">
<td class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']; ?>" style="width:300px"></td>
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl'];?>" style="width:300px"></td>
</tr>
</table>
</td>
@@ -103,14 +103,14 @@
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags;?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight'];?>" style="width:60px">(越小越靠前)</td>
</tr>
</table>
</td>
</tr>
<tr id="pictable" style='<?php if($cInfos['needpic']==0) echo 'display:none'; ?>'>
<tr id="pictable" style='<?php if($cInfos['needpic']==0) echo 'display:none';?>'>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
@@ -122,7 +122,7 @@
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-success btn-smete">清空</button>
</td>
<td align="center"><img src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" id="litPic" class="thumbnail"></td>
<td align="center"><img src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg';?>" id="litPic" class="thumbnail"></td>
</tr>
</table>
</td>
@@ -165,7 +165,7 @@
echo $typeOptions;
echo "</select>";
?>
<i class='btn btn-sm fa fa-search' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title='快捷选择' style='cursor:pointer'></i>
<i class='btn btn-sm fa fa-search' onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid')" title='快捷选择' style='cursor:pointer'></i>
</td>
<td width="90">消费金币:</td>
<td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td>
@@ -183,8 +183,8 @@
<td width="90"> 副栏目:</td>
<td>
<span id='typeid2ct'></span>
<input type='text' name='typeid2' id='typeid2' value='<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']); ?>' style='width:260px;'>
<i class='btn btn-sm fa fa-search' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')" title='选择副栏目' style='cursor:pointer'></i>
<input type='text' name='typeid2' id='typeid2' value='<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']);?>' style='width:260px;'>
<i class='btn btn-sm fa fa-search' onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2','<?php echo $arcRow['typeid2'];?>')" title='选择副栏目' style='cursor:pointer'></i>
</td>
</tr>
</table>
@@ -223,9 +223,9 @@
<tr>
<td width="90"> 附加选项:</td>
<td>
<label><input name="remote" type="checkbox" class="np" id="remote" value="1" <?php if($cfg_rm_remote=='Y') echo ' checked="1" '; ?>>
<label><input name="remote" type="checkbox" class="np" id="remote" value="1" <?php if($cfg_rm_remote=='Y') echo ' checked="1" ';?>>
下载远程图片和资源</label>
<label><input name="autolitpic" type="checkbox" class="np" id="autolitpic" value="1" <?php if($cfg_arc_autopic=='Y') echo ' checked="1" '; ?>>
<label><input name="autolitpic" type="checkbox" class="np" id="autolitpic" value="1" <?php if($cfg_arc_autopic=='Y') echo ' checked="1" ';?>>
提取第一个图片为缩略图</label>
</td>
</tr>
@@ -238,13 +238,13 @@
<tr>
<td width="90" width="260"> 评论选项:</td>
<td width="260">
<label><input type='radio' name='notpost' class='np' value='0' <?php if($arcRow['notpost']==0) echo " checked='1' "; ?>> 允许评论</label>
<label><input type='radio' name='notpost' class='np' value='1' <?php if($arcRow['notpost']==1) echo " checked='1' "; ?>> 禁止评论</label>
<label><input type='radio' name='notpost' class='np' value='0' <?php if($arcRow['notpost']==0) echo " checked='1' ";?>> 允许评论</label>
<label><input type='radio' name='notpost' class='np' value='1' <?php if($arcRow['notpost']==1) echo " checked='1' ";?>> 禁止评论</label>
</td>
<td width="90">发布选项:</td>
<td><label><input name="ishtml" type="radio" class="np" value="1" <?php if($arcRow["ismake"]!=-1) echo " checked"; ?>>
<td><label><input name="ishtml" type="radio" class="np" value="1" <?php if($arcRow["ismake"]!=-1) echo " checked";?>>
生成网页</label>
<label><input type="radio" name="ishtml" class="np" value="0" <?php if($arcRow["ismake"]==-1) echo " checked"; ?>>
<label><input type="radio" name="ishtml" class="np" value="0" <?php if($arcRow["ismake"]==-1) echo " checked";?>>
仅动态浏览</label>
</td>
</tr>
@@ -312,7 +312,7 @@
?>
</td>
<td width="90">浏览次数:</td>
<td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:160px"></td>
<td><input type="text" name="click" value="<?php echo $arcRow['click'];?>" style="width:160px"></td>
</tr>
</table>
</td>


+ 7
- 7
src/admin/templets/archives_sg_add.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>发布分类</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -11,7 +11,7 @@
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<style>table{border-collapse:inherit}</style>
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>';</script>
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
@@ -23,7 +23,7 @@
function checkSubmit()
{
if(document.form1.title.value==""){
ShowMsg("<?php echo $cInfos['titlename']; ?>不能为空");
ShowMsg("<?php echo $cInfos['titlename'];?>不能为空");
return false;
}
if(document.form1.typeid.value==0){
@@ -37,7 +37,7 @@
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="content_sg_list.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 发布分类</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>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
@@ -60,7 +60,7 @@
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> <?php echo $cInfos['titlename']; ?>:</td>
<td width="90"> <?php echo $cInfos['titlename'];?>:</td>
<td><input type="text" name="title" id="title" value="" style="width:390px"></td>
</tr>
</table>
@@ -85,7 +85,7 @@
</table>
</td>
</tr>
<tr id="pictable" style="<?php if($cInfos['needpic']==0) echo 'display:none'; ?>">
<tr id="pictable" style="<?php if($cInfos['needpic']==0) echo 'display:none';?>">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
@@ -121,7 +121,7 @@
echo $typeOptions;
echo "</select>";
?></span>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title="快捷选择" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid')" title="快捷选择" style="cursor:pointer"></i>
</td>
</tr>
</table>


+ 13
- 13
src/admin/templets/archives_sg_edit.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改分类</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -11,7 +11,7 @@
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<style>table{border-collapse:inherit}</style>
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>';</script>
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/moment.min.js"></script>
@@ -23,7 +23,7 @@
function checkSubmit()
{
if(document.form1.title.value==""){
ShowMsg("<?php echo $cInfos['titlename']; ?>不能为空");
ShowMsg("<?php echo $cInfos['titlename'];?>不能为空");
document.form1.title.focus();
return false;
}
@@ -34,7 +34,7 @@
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="content_sg_list.php?cid=<?php echo $addRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 修改分类</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>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
@@ -49,17 +49,17 @@
</tr>
</table>
<form name="form1" action="archives_sg_edit.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();">
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>">
<input type="hidden" name="id" value="<?php echo $aid; ?>">
<input type="hidden" name="sortrank" value="<?php echo $addRow['senddate']; ?>">
<input type="hidden" name="channelid" value="<?php echo $channelid;?>">
<input type="hidden" name="id" value="<?php echo $aid;?>">
<input type="hidden" name="sortrank" value="<?php echo $addRow['senddate'];?>">
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> <?php echo $cInfos['titlename']; ?>:</td>
<td><input type="text" name="title" id="title" value="<?php echo $addRow['title']; ?>" style="width:390px"></td>
<td width="90"> <?php echo $cInfos['titlename'];?>:</td>
<td><input type="text" name="title" id="title" value="<?php echo $addRow['title'];?>" style="width:390px"></td>
</tr>
</table>
</td>
@@ -86,7 +86,7 @@
</table>
</td>
</tr>
<tr id="pictable" style="<?php if($cInfos['needpic']==0) echo 'display:none'; ?>">
<tr id="pictable" style="<?php if($cInfos['needpic']==0) echo 'display:none';?>">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
@@ -98,7 +98,7 @@
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-smete">清空</button>
</td>
<td align="center"><img src="<?php if($addRow['litpic']!='') echo $addRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" id="litPic" class="thumbnail"></td>
<td align="center"><img src="<?php if($addRow['litpic']!='') echo $addRow['litpic']; else echo '../static/web/img/defaultpic.jpg';?>" id="litPic" class="thumbnail"></td>
</tr>
</table>
</td>
@@ -121,7 +121,7 @@
echo $typeOptions;
echo "</select>";
?>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $addRow['typeid']; ?>')" title="快捷选择" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid','<?php echo $addRow['typeid'];?>')" title="快捷选择" style="cursor:pointer"></i>
</td>
</tr>
</table>
@@ -134,7 +134,7 @@
<td width="90"> 浏览权限:</td>
<td>
<select name="arcrank" id="arcrank" style="width:160px">
<option value='<?php echo $addRow["arcrank"]; ?>'><?php echo $addRow["rankname"]; ?></option>
<option value='<?php echo $addRow["arcrank"];?>'><?php echo $addRow["rankname"];?></option>
<?php
$urank = $cuserLogin->getUserRank();
$dsql->SetQuery("Select * from `#@__arcrank` where adminrank<='$urank' And `rank`<>'{$addRow["arcrank"]}' ");


+ 25
- 25
src/admin/templets/article_add.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>发布文档</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -11,7 +11,7 @@
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<style>table{border-collapse:inherit}</style>
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>';</script>
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/moment.min.js"></script>
@@ -38,7 +38,7 @@
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 发布文档</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>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
@@ -53,16 +53,16 @@
</td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="getone" class="table table-borderless" style="<?php if(empty($geturl)) echo 'display:none'; ?>">
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="getone" class="table table-borderless" style="<?php if(empty($geturl)) echo 'display:none';?>">
<form name="getonepage" action="article_add.php" method="get">
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>">
<input type="hidden" name="cid" value="<?php echo $cid; ?>">
<input type="hidden" name="channelid" value="<?php echo $channelid;?>">
<input type="hidden" name="cid" value="<?php echo $cid;?>">
<tr>
<td>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="96">采集单页:</td>
<td width="270" align="center"><input type="text" name="geturl" id="geturl" value="<?php echo $geturl; ?>" style="width:260px"></td>
<td width="270" align="center"><input type="text" name="geturl" id="geturl" value="<?php echo $geturl;?>" style="width:260px"></td>
<td>
<button type="submit" class="btn btn-success btn-sm" name="Submit3">抓取</button>
<button type="button" class="btn btn-success btn-sm" name="setrule" onClick="OpenMyWinCoOne('article_coonepage_rule.php')">规则管理</button>
@@ -82,7 +82,7 @@
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文档标题:</td>
<td width="400"><input type="text" name="title" id="title" value="<?php echo $title; ?>" style="width:390px"></td>
<td width="400"><input type="text" name="title" id="title" value="<?php echo $title;?>" style="width:390px"></td>
<td width="90"> 简略标题:</td>
<td><input type="text" name="shorttitle" id="shorttitle" style="width:160px"></td>
</tr>
@@ -128,7 +128,7 @@
<td width="90"> Tag标签:</td>
<td><input type="text" name="tags"id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc']; ?>" style="width:60px">(越小越靠前)</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc'];?>" style="width:60px">(越小越靠前)</td>
</tr>
</table>
</td>
@@ -156,12 +156,12 @@
<tr>
<td width="90"> 来源:</td>
<td width="260">
<input type="text" name="source" id="source" value="<?php echo $source; ?>" style="width:160px">
<input type="text" name="source" id="source" value="<?php echo $source;?>" style="width:160px">
<button type="button" name="selsource" id="selsource" class="btn btn-success btn-sm">选择</button>
</td>
<td width="60"> 作者:</td>
<td>
<input type="text" name="writer" id="writer" value="<?php echo $writer; ?>" style="width:160px">
<input type="text" name="writer" id="writer" value="<?php echo $writer;?>" style="width:160px">
<button type="button" name="selwriter" id="selwriter" class="btn btn-success btn-sm">选择</button>
</td>
</tr>
@@ -183,7 +183,7 @@
echo "</select>";
?>
</span>
<i class='btn btn-sm fa fa-search' style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title="快捷选择"></i>
<i class='btn btn-sm fa fa-search' style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid')" title="快捷选择"></i>
<?php
if($cfg_need_typeid2=='Y')
{
@@ -205,7 +205,7 @@
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="" style="width:260px">
<i class="btn btn-sm fa fa-search" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title="选择副栏目"></i>
<i class="btn btn-sm fa fa-search" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2')" title="选择副栏目"></i>
</td>
</tr>
</table>
@@ -217,11 +217,11 @@
<tr>
<td width="90"> 关键词:</td>
<td>
<input type="text" name="keywords" id="keywords" value="<?php echo $keywords; ?>" style="width:360px">
<input type="text" name="keywords" id="keywords" value="<?php echo $keywords;?>" style="width:360px">
<button type="button" name="Submit" onClick="SelectKeywords('form1.keywords');" class="btn btn-success btn-sm">浏览</button>
</td>
<td>
<label><input type="checkbox" name="autokey" onClick="ShowHide('keywords');" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo 'checked="1"'; ?>> 自动获取,手动填写用","分开</label>
<label><input type="checkbox" name="autokey" onClick="ShowHide('keywords');" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo 'checked="1"';?>> 自动获取,手动填写用","分开</label>
</td>
</tr>
</table>
@@ -232,7 +232,7 @@
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 描述:</td>
<td><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $description; ?></textarea></td>
<td><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $description;?></textarea></td>
</tr>
</table>
</td>
@@ -243,11 +243,11 @@
<tr>
<td width="90"> 附加选项:</td>
<td>
<label><input type="checkbox" name="remote" id="remote" value="1" <?php if($cfg_rm_remote=='Y') echo 'checked="1"'; ?>> 下载远程图片和资源</label>
<label><input type="checkbox" name="dellink" id="dellink" value="1" <?php if($cfg_arc_dellink=='Y') echo 'checked="1"'; ?>> 删除非站内链接</label>
<label><input type="checkbox" name="remote" id="remote" value="1" <?php if($cfg_rm_remote=='Y') echo 'checked="1"';?>> 下载远程图片和资源</label>
<label><input type="checkbox" name="dellink" id="dellink" value="1" <?php if($cfg_arc_dellink=='Y') echo 'checked="1"';?>> 删除非站内链接</label>
<a href="javascript:OpenMyWin('article_allowurl_edit.php')" class="btn btn-success btn-sm">设置</a>
<label><input type="checkbox" name="autolitpic" id="autolitpic" value="1" <?php if($cfg_arc_autopic=='Y') echo 'checked="1"'; ?>> 提取第一个图片为缩略图</label>
<label><input type="checkbox" name="needwatermark" value="1" <?php if($photo_markup=='1') echo "checked"; ?>> 图片是否加水印</label>
<label><input type="checkbox" name="autolitpic" id="autolitpic" value="1" <?php if($cfg_arc_autopic=='Y') echo 'checked="1"';?>> 提取第一个图片为缩略图</label>
<label><input type="checkbox" name="needwatermark" value="1" <?php if($photo_markup=='1') echo "checked";?>> 图片是否加水印</label>
</td>
</tr>
</table>
@@ -280,8 +280,8 @@
<tr>
<td width="90"> 评论选项:</td>
<td width="260">
<label><input type="radio" name="notpost" value="0" <?php if($cfg_feedback_forbid=='N') echo "checked='1'"; ?>> 允许评论</label>
<label><input type="radio" name="notpost" value="1" <?php if($cfg_feedback_forbid=='Y') echo "checked='1'"; ?>> 禁止评论</label>
<label><input type="radio" name="notpost" value="0" <?php if($cfg_feedback_forbid=='N') echo "checked='1'";?>> 允许评论</label>
<label><input type="radio" name="notpost" value="1" <?php if($cfg_feedback_forbid=='Y') echo "checked='1'";?>> 禁止评论</label>
</td>
<td width="90">发布选项:</td>
<td>
@@ -373,7 +373,7 @@
?>
</td>
<td width="90">浏览次数:</td>
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50, 200) : $cfg_arc_click); ?>" style="width:160px"></td>
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50, 200) : $cfg_arc_click);?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -382,8 +382,8 @@
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3">
<tr>
<td align="center" class="py-2">
<button type="submit" class="btn btn-success">保存</button>
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button>
<button type="submit" class="btn btn-success btn-sm">保存</button>
<button type="button" onClick="location.reload();" class="btn btn-success btn-sm">重置</button>
</td>
</tr>
</table>


+ 6
- 6
src/admin/templets/article_coonepage_rule.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>单页采集规则管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -111,9 +111,9 @@
<tr align="center" onMouseOut="javascript:this.bgColor='#ffffff';">
<td><?php echo $fields['id']?></td>
<td><input type="checkbox" name="ids" id="ids" value="<?php echo $fields['id']?>"></td>
<td align="left"><?php echo $fields['url']; ?></td>
<td><?php echo $fields['lang']; ?></td>
<td><?php echo $fields['title']; ?></td>
<td align="left"><?php echo $fields['url'];?></td>
<td><?php echo $fields['lang'];?></td>
<td><?php echo $fields['title'];?></td>
<td>
<a href="javascript:EditNode(<?php echo $fields['id']?>)" class="btn btn-success btn-sm">编辑</a>
<a href="javascript:DelNode(<?php echo $fields['id']?>)" class="btn btn-success btn-sm">删除</a>
@@ -129,7 +129,7 @@
</tr>
</form>
<tr align="right" bgcolor="#f8f8f8">
<td height="36" colspan="6" align="center">{dede:pagelist listsize='6'/}</td>
<td class="py-2" colspan="6" align="center">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
<!--下面是隐藏的栏目增加修改表单-->
@@ -142,7 +142,7 @@
<table width="430" cellspacing="0" cellpadding="0">
<tr>
<td width="90">网站名称:</td>
<td width="270"><input type="text" name="title" id="title" style="width:260px" value="<?php echo $row['title']; ?>"></td>
<td width="270"><input type="text" name="title" id="title" style="width:260px" value="<?php echo $row['title'];?>"></td>
</tr>
<tr>
<td>原内容编码:</td>


+ 2
- 2
src/admin/templets/article_description_main.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>自动摘要分页</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -25,7 +25,7 @@
<td>用于自动更新您系统没有填写摘要的文档的摘要信息或更新没分页的文档的自动分页标识(文档使用了自动分页后会降低HTML生成速度,并且在没人工干扰的情况下可能导致分页内容的HTML错误,请小心使用此功能)</td>
</tr>
<tr>
<td height="36">
<td class="py-2">
<table width="90%" cellpadding="2" cellspacing="2" class="table table-borderless">
<tr>
<td width="560">频道ID:<input type="text" name="channel" id="channel" value="1" style="width:260px">(可在“<a href="mychannel_main.php">频道模型管理</a>”处获得)</td>


+ 19
- 19
src/admin/templets/article_edit.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改文档</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -11,7 +11,7 @@
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<style>table{border-collapse:inherit}</style>
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut;?>';</script>
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/moment.min.js"></script>
@@ -36,7 +36,7 @@
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 修改文档</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>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
@@ -60,9 +60,9 @@
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文档标题:</td>
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title'];?>" style="width:380px"></td>
<td width="90">简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle'];?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -98,7 +98,7 @@
</td>
</tr>
<tr>
<td class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block'); ?>">
<td class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 跳转网址:</td>
@@ -112,9 +112,9 @@
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags;?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight'];?>" style="width:60px">(越小越靠前)</td>
</tr>
</table>
</td>
@@ -131,7 +131,7 @@
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-success btn-smete">清空</button>
</td>
<td align="center"><img src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" id="litPic" class="thumbnail"></td>
<td align="center"><img src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg';?>" id="litPic" class="thumbnail"></td>
</tr>
</table>
</td>
@@ -167,7 +167,7 @@
echo $typeOptions;
echo "</select>";
?>
<i class='btn btn-sm fa fa-search' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title="快捷选择" style="cursor:pointer"></i>
<i class='btn btn-sm fa fa-search' onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid','<?php echo $arcRow['typeid'];?>')" title="快捷选择" style="cursor:pointer"></i>
</td>
<td width="90">消费金币:</td>
<td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td>
@@ -185,8 +185,8 @@
<td width="90"> 副栏目:</td>
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="<?php echo ($arcRow['typeid2']=='0'?'':$arcRow['typeid2']); ?>" style="width:160px">
<i class='btn btn-sm fa fa-search' style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')" title="选择副栏目"></i>
<input type="text" name="typeid2" id="typeid2" value="<?php echo ($arcRow['typeid2']=='0'?'':$arcRow['typeid2']);?>" style="width:160px">
<i class='btn btn-sm fa fa-search' style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2','<?php echo $arcRow['typeid2'];?>')" title="选择副栏目"></i>
</td>
</tr>
</table>
@@ -224,8 +224,8 @@
<tr>
<td width="90"> 附加选项:</td>
<td>
<label><input name="remote" type="checkbox" class="np" id="remote" value="1" <?php if($cfg_rm_remote=='Y') echo ' checked="1" '; ?>> 下载远程图片和资源</label>
<label><input name="autolitpic" type="checkbox" class="np" id="autolitpic" value="1" <?php if($cfg_arc_autopic=='Y') echo ' checked="1" '; ?>> 提取第一个图片为缩略图</label>
<label><input name="remote" type="checkbox" class="np" id="remote" value="1" <?php if($cfg_rm_remote=='Y') echo ' checked="1" ';?>> 下载远程图片和资源</label>
<label><input name="autolitpic" type="checkbox" class="np" id="autolitpic" value="1" <?php if($cfg_arc_autopic=='Y') echo ' checked="1" ';?>> 提取第一个图片为缩略图</label>
</td>
</tr>
</table>
@@ -241,13 +241,13 @@
<tr>
<td width="90"> 评论选项:</td>
<td width="260">
<label><input type="radio" name="notpost" class="np" value="0" <?php if($arcRow['notpost']==0) echo " checked='1' "; ?>> 允许评论</label>
<label><input type="radio" name="notpost" class="np" value="1" <?php if($arcRow['notpost']==1) echo " checked='1' "; ?>> 禁止评论</label>
<label><input type="radio" name="notpost" class="np" value="0" <?php if($arcRow['notpost']==0) echo " checked='1' ";?>> 允许评论</label>
<label><input type="radio" name="notpost" class="np" value="1" <?php if($arcRow['notpost']==1) echo " checked='1' ";?>> 禁止评论</label>
</td>
<td width="90">发布选项:</td>
<td>
<label><input name="ishtml" type="radio" class="np" value="1" <?php if($arcRow["ismake"]!=-1) echo " checked"; ?>> 生成网页</label>
<label><input type="radio" name="ishtml" class="np" value="0" <?php if($arcRow["ismake"]==-1) echo " checked"; ?>> 仅动态浏览</label>
<label><input name="ishtml" type="radio" class="np" value="1" <?php if($arcRow["ismake"]!=-1) echo " checked";?>> 生成网页</label>
<label><input type="radio" name="ishtml" class="np" value="0" <?php if($arcRow["ismake"]==-1) echo " checked";?>> 仅动态浏览</label>
</td>
</tr>
</table>
@@ -337,7 +337,7 @@
?>
</td>
<td width="90">浏览次数:</td>
<td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:160px"></td>
<td><input type="text" name="click" value="<?php echo $arcRow['click'];?>" style="width:160px"></td>
</tr>
</table>
</td>


+ 2
- 2
src/admin/templets/article_keywords_main.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>文档关键词维护</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -92,7 +92,7 @@
</tr>
</form>
<tr bgcolor="#f8f8f8" align="center">
<td height="36" colspan="5">{dede:pagelist listsize='6'/}</td>
<td class="py-2" colspan="5">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
</div>


+ 2
- 2
src/admin/templets/article_keywords_select.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>关键词管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -91,7 +91,7 @@
</td>
</tr>
<tr align="center">
<td height="36" bgcolor="#f8f8f8" colspan="2">{dede:pagelist listsize='6'/}</td>
<td class="py-2" bgcolor="#f8f8f8" colspan="2">{dede:pagelist listsize='6'/}</td>
</tr>
</form>
</table>


+ 6
- 6
src/admin/templets/article_result_same.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>重复文档检测</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -49,11 +49,11 @@
<td bgcolor="#f8f8f8" colspan="3">重复文档列表</td>
</tr>
<form name="form2" method="POST" action="article_test_same.php">
<input type="hidden" name="deltype" value="<?php echo $deltype; ?>">
<input type="hidden" name="deltype" value="<?php echo $deltype;?>">
<input type="hidden" name="dopost" value="delsel">
<input type="hidden" name="pagesize" value="<?php echo $pagesize; ?>">
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>">
<input type="hidden" name="maintable" value="<?php echo $maintable; ?>">
<input type="hidden" name="pagesize" value="<?php echo $pagesize;?>">
<input type="hidden" name="channelid" value="<?php echo $channelid;?>">
<input type="hidden" name="maintable" value="<?php echo $maintable;?>">
<input type="hidden" name="titles" value="">
<tr bgcolor="#fbfce2" align="center">
<td width="10%">选择</td>
@@ -73,7 +73,7 @@
echo $row['dd'];
?>
</td>
<td><?php echo $row['title']; ?></td>
<td><?php echo $row['title'];?></td>
</tr>
<?php
}


+ 1
- 1
src/admin/templets/article_test_same.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>重复文档检测</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">


+ 1
- 1
src/admin/templets/cards_make.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>点卡生成向导</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">


+ 2
- 2
src/admin/templets/cards_manmage.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>点卡业务记录</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -88,7 +88,7 @@
</td>
</tr>
<tr>
<td height="36" colspan="7" align="center" bgcolor="#f8f8f8">
<td class="py-2" colspan="7" align="center" bgcolor="#f8f8f8">
{dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='6'/}
</td>
</tr>


+ 1
- 1
src/admin/templets/cards_type.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>点卡产品分类</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">


+ 8
- 8
src/admin/templets/catalog_add.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>栏目管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -126,8 +126,8 @@
<tr>
<form name="form1" action="catalog_add.php" method="post" onSubmit="return checkSubmit()">
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="reid" id="reid" value="<?php echo $id; ?>">
<input type="hidden" name="topid" id="topid" value="<?php echo $topid; ?>">
<input type="hidden" name="reid" id="reid" value="<?php echo $id;?>">
<input type="hidden" name="topid" id="topid" value="<?php echo $topid;?>">
<?php
if($id>0)
{
@@ -180,8 +180,8 @@
<tr>
<td width="260" class="bline">是否支持投稿:</td>
<td class="bline">
<label><input type="radio" name="issend" value="1" <?php if($issend==1) echo " checked='checked' "; ?>> 支持</label>
<label><input type="radio" name="issend" value="0" <?php if($issend==0) echo " checked='checked' "; ?>> 不支持</label>
<label><input type="radio" name="issend" value="1" <?php if($issend==1) echo " checked='checked' ";?>> 支持</label>
<label><input type="radio" name="issend" value="0" <?php if($issend==0) echo " checked='checked' ";?>> 不支持</label>
</td>
</tr>
<tr>
@@ -333,7 +333,7 @@
<textarea name="crossid" id="crossid" style="display:none"></textarea>
</td>
</tr>
<tr id="smclass" style="<?php echo ($channelid<0 ? '' : 'display:none'); ?>">
<tr id="smclass" style="<?php echo ($channelid<0 ? '' : 'display:none');?>">
<td class="bline">绑定小分类:<br>仅适用[分类信息模型]</td>
<td class="bline">
<select name="smalltype[]" multiple="yes" style="width:160px;height:100px">
@@ -443,7 +443,7 @@
<tr>
<td>文档命名规则:</td>
<td>
<input type="text" name="namerule" tid="namerule" value="<?php echo $cfg_df_namerule; ?>" style="width:260px">
<input type="text" name="namerule" tid="namerule" value="<?php echo $cfg_df_namerule;?>" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar2')" style="cursor:pointer"></i>
</td>
</tr>
@@ -481,7 +481,7 @@
<td>说明:栏目内容是替代原来栏目单独页的更灵活的一种方式,可在栏目模板中用{dede:field.content/}调用,通常用于企业简介之类的用途</td>
</tr>
<tr>
<td><?php GetEditor("content","","450","Default","print","false"); ?></td>
<td><?php GetEditor("content","","450","Default","print","false");?></td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3">


+ 10
- 10
src/admin/templets/catalog_add_quick.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>批量增加栏目</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -133,7 +133,7 @@
echo $pardir;
?>)</label>
<label><input type="radio" name="referpath" value="cmspath"> CMS根目录</label>
<input type="hidden" name="nextdir" id="nextdir" value="<?php echo $pardir; ?>">
<input type="hidden" name="nextdir" id="nextdir" value="<?php echo $pardir;?>">
<span id="pathtype" style="display:none"><input type="radio" name="referpath" id="truepath3" value="typepath">所属栏目所属的目录</span>
</td>
</tr>
@@ -142,7 +142,7 @@
<td class="bline">
<select name="reid" onchange="showSeltype(this)" style="width:160px">
<option value="0">选择所属目录</option>
<?php echo $typeOptions; ?>
<?php echo $typeOptions;?>
</select>(默认为顶级栏目)
</td>
</tr>
@@ -226,11 +226,11 @@
<?php for($i=2;$i<=10;$i++) { ?>
<tr class="repeat" align="center">
<td class="rank">
<input type="hidden" name="posttype<?php echo $i; ?>" value="<?php echo $i; ?>">
<input type="text" name="rank<?php echo $i; ?>" id="rank<?php echo $i; ?>" value="<?php echo $i; ?>" class="pubinputs" style="width:60px">
<input type="hidden" name="posttype<?php echo $i;?>" value="<?php echo $i;?>">
<input type="text" name="rank<?php echo $i;?>" id="rank<?php echo $i;?>" value="<?php echo $i;?>" class="pubinputs" style="width:60px">
</td>
<td><input type="text" name="toptype<?php echo $i; ?>" id="toptype<?php echo $i; ?>" class="pubinputs" style="width:160px"></td>
<td><input type="text" name="sontype<?php echo $i; ?>" id="sontype<?php echo $i; ?>" class="pubinputs" style="width:100%"></td>
<td><input type="text" name="toptype<?php echo $i;?>" id="toptype<?php echo $i;?>" class="pubinputs" style="width:160px"></td>
<td><input type="text" name="sontype<?php echo $i;?>" id="sontype<?php echo $i;?>" class="pubinputs" style="width:100%"></td>
<td align="center"><button type="button" name="" id="add" class="btn btn-success btn-sm">删除</button></td>
</tr>
<?php } ?>
@@ -254,10 +254,10 @@
<?php for($i=2;$i<=10;$i++) { ?>
<tr class="repeat" align="center">
<td class="rank">
<input type="hidden" name="posttype<?php echo $i; ?>" value="<?php echo $i; ?>">
<input type="text" name="rank<?php echo $i; ?>" id="rank<?php echo $i; ?>" value="<?php echo $i; ?>" class="pubinputs" style="width:60px">
<input type="hidden" name="posttype<?php echo $i;?>" value="<?php echo $i;?>">
<input type="text" name="rank<?php echo $i;?>" id="rank<?php echo $i;?>" value="<?php echo $i;?>" class="pubinputs" style="width:60px">
</td>
<td><input type="text" name="reltype<?php echo $i; ?>" id="reltype<?php echo $i; ?>" class="pubinputs" style="width:160px"></td>
<td><input type="text" name="reltype<?php echo $i;?>" id="reltype<?php echo $i;?>" class="pubinputs" style="width:160px"></td>
<td align="center"><button type="button" id="add" class="btn btn-success btn-sm">删除</button></td>
</tr>
<?php } ?>


+ 22
- 22
src/admin/templets/catalog_edit.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>栏目管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -115,8 +115,8 @@
<tr>
<form name="form1" action="catalog_edit.php" method="post" onSubmit="return checkSubmit()">
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="id" value="<?php echo $id; ?>">
<input type="hidden" name="topid" value="<?php echo $myrow['topid']; ?>">
<input type="hidden" name="id" value="<?php echo $id;?>">
<input type="hidden" name="topid" value="<?php echo $myrow['topid'];?>">
<td height="90" align="center" bgcolor="#fff">
<table width="100%" cellspacing="0" id="head1" cellpadding="0">
<tr>
@@ -161,15 +161,15 @@
<tr>
<td width="260" class="bline">是否支持投稿:</td>
<td class="bline">
<label><input type="radio" name="issend" value="1" <?php if($myrow['issend']=="1") echo "checked='1'"; ?>> 支持</label>
<label><input type="radio" name="issend" value="0" <?php if($myrow['issend']=="0") echo "checked='1'"; ?>> 不支持</label>
<label><input type="radio" name="issend" value="1" <?php if($myrow['issend']=="1") echo "checked='1'";?>> 支持</label>
<label><input type="radio" name="issend" value="0" <?php if($myrow['issend']=="0") echo "checked='1'";?>> 不支持</label>
</td>
</tr>
<tr>
<td width="260" class="bline">是否隐藏栏目:</td>
<td class="bline">
<label><input type="radio" name="ishidden" value="0" <?php if($myrow['ishidden']=="0") echo "checked='1'"; ?>> 显示</label>
<label><input type="radio" name="ishidden" value="1" <?php if($myrow['ishidden']=="1") echo "checked='1'"; ?>> 隐藏</label>
<label><input type="radio" name="ishidden" value="0" <?php if($myrow['ishidden']=="0") echo "checked='1'";?>> 显示</label>
<label><input type="radio" name="ishidden" value="1" <?php if($myrow['ishidden']=="1") echo "checked='1'";?>> 隐藏</label>
</td>
</tr>
<tr>
@@ -246,9 +246,9 @@
<tr>
<td>栏目列表选项:</td>
<td>
<label><input type="radio" name="isdefault" value="1" <?php if($myrow['isdefault']==1) echo "checked='1'"; ?>> 链接到默认页</label>
<label><input type="radio" name="isdefault" value="0" <?php if($myrow['isdefault']==0) echo "checked='1'"; ?>> 链接到列表第一页</label>
<label><input type="radio" name="isdefault" value="-1" <?php if($myrow['isdefault']==-1) echo "checked='1'"; ?>> 使用动态页</label>
<label><input type="radio" name="isdefault" value="1" <?php if($myrow['isdefault']==1) echo "checked='1'";?>> 链接到默认页</label>
<label><input type="radio" name="isdefault" value="0" <?php if($myrow['isdefault']==0) echo "checked='1'";?>> 链接到列表第一页</label>
<label><input type="radio" name="isdefault" value="-1" <?php if($myrow['isdefault']==-1) echo "checked='1'";?>> 使用动态页</label>
</td>
</tr>
<tr>
@@ -258,9 +258,9 @@
<tr>
<td class="bline">栏目属性:</td>
<td class="bline">
<label><input type="radio" name="ispart" value="0" <?php if($myrow['ispart']==0) echo "checked='1'"; ?>> 最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label><br>
<label><input type="radio" name="ispart" value="1" <?php if($myrow['ispart']==1) echo "checked='1'"; ?>> 频道封面(栏目本身不允许发布文档)</label><br>
<label><input type="radio" name="ispart" value="2" <?php if($myrow['ispart']==2) echo "checked='1'"; ?>> 外部连接(在"文件保存目录"处填写网址)</label>
<label><input type="radio" name="ispart" value="0" <?php if($myrow['ispart']==0) echo "checked='1'";?>> 最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label><br>
<label><input type="radio" name="ispart" value="1" <?php if($myrow['ispart']==1) echo "checked='1'";?>> 频道封面(栏目本身不允许发布文档)</label><br>
<label><input type="radio" name="ispart" value="2" <?php if($myrow['ispart']==2) echo "checked='1'";?>> 外部连接(在"文件保存目录"处填写网址)</label>
</td>
</tr>
<tr id="helpvarco" style="display:none">
@@ -271,14 +271,14 @@
<tr>
<td>栏目交叉:<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvarco')" style="cursor:pointer"></i> 仅适用[最终列表栏目]</td>
<td class="bline">
<label><input type="radio" name="cross" onClick="CheckCross()" value="0" <?php if($myrow['cross']==0) echo "checked='1'"; ?>> 不交叉</label>
<label><input type="radio" name="cross" onClick="CheckCross()" value="1" <?php if($myrow['cross']==1) echo "checked='1'"; ?>> 自动获取同名栏目内容</label>
<label><input type="radio" name="cross" onClick="CheckCross()" value="2" <?php if($myrow['cross']==2) echo "checked='1'"; ?>> 手工指定交叉栏目id(用逗号分开)</label>
<label><input type="radio" name="cross" onClick="CheckCross()" value="0" <?php if($myrow['cross']==0) echo "checked='1'";?>> 不交叉</label>
<label><input type="radio" name="cross" onClick="CheckCross()" value="1" <?php if($myrow['cross']==1) echo "checked='1'";?>> 自动获取同名栏目内容</label>
<label><input type="radio" name="cross" onClick="CheckCross()" value="2" <?php if($myrow['cross']==2) echo "checked='1'";?>> 手工指定交叉栏目id(用逗号分开)</label>
<br>
<textarea name="crossid" id="crossid" style="<?php if($myrow['cross']!=2) echo'display:none'; ?>"><?php echo $myrow['crossid']; ?></textarea>
<textarea name="crossid" id="crossid" style="<?php if($myrow['cross']!=2) echo'display:none';?>"><?php echo $myrow['crossid'];?></textarea>
</td>
</tr>
<tr id="smclass" style="<?php echo ($channelid<0 ? '' : 'display:none'); ?>">
<tr id="smclass" style="<?php echo ($channelid<0 ? '' : 'display:none');?>">
<td class="bline">绑定小分类:<br>仅适用[分类信息模型]</td>
<td class="bline">
<select name="smalltype[]" multiple="yes" style="width:160px;height:100px">
@@ -312,8 +312,8 @@
<tr>
<td class="bline" width="260">多站点支持:</td>
<td class="bline">
<label><input type="radio" name="moresite" value="1" <?php if($myrow['moresite']==1) echo "checked='1'"; ?>> 启用</label>
<label><input type="radio" name="moresite" value="0" <?php if($myrow['moresite']==0) echo "checked='1'"; ?>> 不启用</label>
<label><input type="radio" name="moresite" value="1" <?php if($myrow['moresite']==1) echo "checked='1'";?>> 启用</label>
<label><input type="radio" name="moresite" value="0" <?php if($myrow['moresite']==0) echo "checked='1'";?>> 不启用</label>
</td>
</tr>
<tr>
@@ -416,7 +416,7 @@
<td height="60"><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $myrow['description']?></textarea></td>
</tr>
<tr>
<td height="36">继承选项:</td>
<td class="py-2">继承选项:</td>
<td>
<label><input type="checkbox" name="upnext" id="upnext" value="1"> 同时修改下级栏目的浏览权限、内容类型、模板风格、命名规则等通用属性</label>
</td>
@@ -427,7 +427,7 @@
<td>说明:栏目内容是替代原来栏目单独页的更灵活的一种方式,可在栏目模板中用{dede:field.content/}调用,通常用于企业简介之类的用途</td>
</tr>
<tr>
<td><?php GetEditor("content",$myrow['content'],"450","Default","print","false"); ?></td>
<td><?php GetEditor("content",$myrow['content'],"450","Default","print","false");?></td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3">


+ 1
- 1
src/admin/templets/catalog_main.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>栏目管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">


+ 4
- 4
src/admin/templets/content_att.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>自定义属性管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -37,9 +37,9 @@
?>
<input type="hidden" name="att_<?php echo $k?>" value="<?php echo $row->att?>">
<tr>
<td align="center"><?php echo $row->att; ?></td>
<td><input type="text" name="sortid_<?php echo $k?>" value="<?php echo $row->sortid; ?>" id="sortid_<?php echo $k?>" class="pubinputs" style="width:50%"></td>
<td><input type="text" name="attname_<?php echo $k?>" value="<?php echo $row->attname; ?>" id="attname_<?php echo $k?>" size="30" class="pubinputs"></td>
<td align="center"><?php echo $row->att;?></td>
<td><input type="text" name="sortid_<?php echo $k?>" value="<?php echo $row->sortid;?>" id="sortid_<?php echo $k?>" class="pubinputs" style="width:50%"></td>
<td><input type="text" name="attname_<?php echo $k?>" value="<?php echo $row->attname;?>" id="attname_<?php echo $k?>" size="30" class="pubinputs"></td>
</tr>
<?php
}


+ 5
- 5
src/admin/templets/content_batch_up.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>文档批量维护</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -100,11 +100,11 @@
</td>
</tr>
<tr id="seltimeField" style="display:none">
<td width="260">开始:<?php $nowtime = GetDateTimeMk(time()-(24*3600*30)); ?>
<input name="starttime" value="<?php echo $nowtime; ?>" type="text" id="starttime" class="datepicker">
<td width="260">开始:<?php $nowtime = GetDateTimeMk(time()-(24*3600*30));?>
<input name="starttime" value="<?php echo $nowtime;?>" type="text" id="starttime" class="datepicker">
</td>
<td width="260">结束:<?php $nowtime = GetDateTimeMk(time()); ?>
<input name="endtime" value="<?php echo $nowtime; ?>" type="text" id="endtime" class="datepicker">
<td width="260">结束:<?php $nowtime = GetDateTimeMk(time());?>
<input name="endtime" value="<?php echo $nowtime;?>" type="text" id="endtime" class="datepicker">
</td>
</tr>
</table>


+ 4
- 4
src/admin/templets/content_i_list.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>图片文档管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -22,7 +22,7 @@
{dede:if $adminid == $mid }
<button type="button" class="btn btn-success btn-sm" onClick="location='content_i_list.php?cid={dede:global.cid/}&mid=0';">全部文档</button>
{else}
<button type="button" class="btn btn-success btn-sm" onClick="location='content_i_list.php?cid={dede:global.cid/}&mid=<?php echo $cuserLogin->getUserID(); ?>';" value="">我的文档</button>
<button type="button" class="btn btn-success btn-sm" onClick="location='content_i_list.php?cid={dede:global.cid/}&mid=<?php echo $cuserLogin->getUserID();?>';" value="">我的文档</button>
{/dede:if}
{dede:global.CheckUserSend/}
<button type="button" class="btn btn-success btn-sm" onClick="location='catalog_main.php';">栏目管理</button>
@@ -106,14 +106,14 @@
<a href="javascript:updateArc(0)" class="btn btn-success btn-sm">更新</a>
<a href="javascript:checkArc(0)" class="btn btn-success btn-sm">审核</a>
<a href="javascript:adArc(0)" class="btn btn-success btn-sm">推荐</a>
<a href="javascript:;" onClick="moveArc(event,this,<?php echo (empty($channelid) ? 0 : $channelid); ?>)" class="btn btn-success btn-sm">移动</a>
<a href="javascript:;" onClick="moveArc(event,this,<?php echo (empty($channelid) ? 0 : $channelid);?>)" class="btn btn-success btn-sm">移动</a>
<a href="javascript:delArc(0)" class="btn btn-danger btn-sm">删除</a>
<a href="javascript:;" onClick="cAtts('attsAdd',event,this)" class="btn btn-success btn-sm">增加属性</a>
<a href="javascript:;" onClick="cAtts('attsDel',event,this)" class="btn btn-danger btn-sm">删除属性</a>
</td>
</tr>
<tr>
<td bgcolor="#f8f8f8" height="36" align="center">{dede:pagelist listsize='6'/}</td>
<td bgcolor="#f8f8f8" align="center" class="py-2">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
</body>

+ 5
- 5
src/admin/templets/content_list.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>所有文档管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -22,7 +22,7 @@
{dede:if $adminid==$mid}
<button type="button" class="btn btn-success btn-sm" onClick="location='content_list.php?cid={dede:global.cid/}&mid=0';">全部文档</button>
{else}
<button type="button" class="btn btn-success btn-sm" onClick="location='content_list.php?cid={dede:global.cid/}&mid=<?php echo $cuserLogin->getUserID(); ?>';">我的文档</button>
<button type="button" class="btn btn-success btn-sm" onClick="location='content_list.php?cid={dede:global.cid/}&mid=<?php echo $cuserLogin->getUserID();?>';">我的文档</button>
{/dede:if}
{dede:global.CheckUserSend/}
<button type="button" class="btn btn-success btn-sm" onClick="location='catalog_main.php';">栏目管理</button>
@@ -105,15 +105,15 @@
<a href="javascript:updateArc(0)" class="btn btn-success btn-sm">更新</a>
<a href="javascript:checkArc(0)" class="btn btn-success btn-sm">审核</a>
<a href="javascript:adArc(0)" class="btn btn-success btn-sm">推荐</a>
<a href="javascript:;" onClick="moveArc(event,this,<?php echo (empty($channelid)?0:$channelid); ?>)" class="btn btn-success btn-sm">移动</a>
<a href="javascript:;" onClick="moveArc(event,this,<?php echo (empty($channelid)?0:$channelid);?>)" class="btn btn-success btn-sm">移动</a>
<a href="javascript:delArc(0)" class="btn btn-danger btn-sm">删除</a>
<?php if($channelid==1) echo "<a href='javascript:kwArc(0)' class='btn btn-success btn-sm'>自动关键词</a>"; ?>
<?php if($channelid==1) echo "<a href='javascript:kwArc(0)' class='btn btn-success btn-sm'>自动关键词</a>";?>
<a href="javascript:;" onClick="cAtts('attsAdd',event,this)" class="btn btn-success btn-sm">增加属性</a>
<a href="javascript:;" onClick="cAtts('attsDel',event,this)" class="btn btn-danger btn-sm">删除属性</a>
</td>
</tr>
<tr>
<td bgcolor="#f8f8f8" height="36" colspan="10" align="center">{dede:pagelist listsize='6'/}</td>
<td colspan="10" align="center" bgcolor="#f8f8f8" class="py-2">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
</form>


+ 2
- 2
src/admin/templets/content_s_list.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>专题文档管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -153,7 +153,7 @@
</tr>
</form>
<tr>
<td bgcolor="#f8f8f8" height="36" colspan="9" align="center">{dede:pagelist listsize='6'/}</td>
<td bgcolor="#f8f8f8" class="py-2" colspan="9" align="center">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
</body>

+ 2
- 2
src/admin/templets/content_select_list.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>选择文档</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -86,7 +86,7 @@
</tr>
</form>
<tr align="right" bgcolor="#fbfce2">
<td height="36" colspan="9" align="center">{dede:pagelist listsize='6'/}</td>
<td class="py-2" colspan="9" align="center">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
<table width="100%" align="center" cellpadding="1" cellspacing="1" class="table maintable table-borderless">


+ 5
- 5
src/admin/templets/content_sg_list.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>文档管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -127,12 +127,12 @@
{dede:if $adminid==$mid }
<button type='button' class="btn btn-success btn-sm" onClick="location='content_list.php?cid={dede:global.cid/}&mid=0';">全部文档</button>
{else}
<button type='button' class="btn btn-success btn-sm" onClick="location='content_list.php?cid={dede:global.cid/}&mid=<?php echo $cuserLogin->getUserID(); ?>';">我的文档</button>
<button type='button' class="btn btn-success btn-sm" onClick="location='content_list.php?cid={dede:global.cid/}&mid=<?php echo $cuserLogin->getUserID();?>';">我的文档</button>
{/dede:if}
<button type='button' class="btn btn-success btn-sm" onClick="location='catalog_main.php';">栏目管理</button>
<button type='button' class="btn btn-success btn-sm" name='bb1' onClick="location='makehtml_list.php?cid={dede:global.cid/}';">更新列表</button>
<button type='button' class="btn btn-success btn-sm" name='bb2' onClick="location='makehtml_archives.php?cid={dede:global.cid/}';">更新文档</button>
<?php echo $CheckUserSend; ?>
<?php echo $CheckUserSend;?>
</td>
</tr>
</table>
@@ -190,7 +190,7 @@
<a class="btn btn-success btn-sm" href="javascript:updateArc(0)" class="coolbg">更新</a>
<a class="btn btn-success btn-sm" href="javascript:checkArc(0)" class="coolbg">审核</a>
<a class="btn btn-success btn-sm" href="javascript:adArc(0)" class="coolbg">推荐</a>
<a class="btn btn-success btn-sm" href="javascript:;" onClick="moveArc(event,this,<?php echo (empty($channelid) ? 0 : $channelid); ?>)" class="coolbg">移动</a>
<a class="btn btn-success btn-sm" href="javascript:;" onClick="moveArc(event,this,<?php echo (empty($channelid) ? 0 : $channelid);?>)" class="coolbg">移动</a>
<a class="btn btn-danger btn-sm" href="javascript:delArc(0)" class="coolbg">删除</a>
<?php
if(!empty($f)) {
@@ -203,7 +203,7 @@
</tr>
</form>
<tr>
<td height="36" bgcolor="#f8f8f8" colspan="9" align="center">{dede:pagelist listsize='6'/}</td>
<td class="py-2" bgcolor="#f8f8f8" colspan="9" align="center">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
</body>

+ 2
- 2
src/admin/templets/content_tj.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>文档信息统计</title>
<link rel="stylesheet" href="../static/web/css/admin.css">
@@ -50,7 +50,7 @@
?>
<tr align="center">
<td><?php echo $row->typename?></td>
<td>[<?php echo (isset($arcs[$row->id]) ? $arcs[$row->id] : 0 ); ?>]</td>
<td>[<?php echo (isset($arcs[$row->id]) ? $arcs[$row->id] : 0 );?>]</td>
</tr>
<?php } ?>
</table>


+ 6
- 6
src/admin/templets/diy_add.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>新增自定义表单</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -46,14 +46,14 @@
<td align="left">自定义表单名称:<br>
<span class="style2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span></td>
<td>
<input type="text" name="name" id="name" value="自定义表单<?php echo $newdiyid; ?>" class="pubinputs" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help3')" style="cursor:hand"></i>
<input type="text" name="name" id="name" value="自定义表单<?php echo $newdiyid;?>" class="pubinputs" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help3')" style="cursor:hand"></i>
</td>
</tr>
<tr>
<td align="left">数据表:<br>
<span class="style2" id="help5">必须由英文、数字、下划线组成,用于保存自定义表单数据,不能和已有表名重复,创建后不可修改表名</span></td>
<td>
<input type="text" name="table" id="table" value="<?php echo $cfg_dbprefix; ?>diyform<?php echo $newdiyid; ?>" class="pubinputs" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help5')" style="cursor:hand"></i>
<input type="text" name="table" id="table" value="<?php echo $cfg_dbprefix;?>diyform<?php echo $newdiyid;?>" class="pubinputs" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help5')" style="cursor:hand"></i>
</td>
</tr>
<tr>
@@ -62,15 +62,15 @@
</tr>
<tr>
<td align="left">列表模板:</td>
<td><input type="text" name="listtemplate" id="listtemplate" value="list_diyform<?php echo $newdiyid; ?>.htm" class="pubinputs" style="width:160px"></td>
<td><input type="text" name="listtemplate" id="listtemplate" value="list_diyform<?php echo $newdiyid;?>.htm" class="pubinputs" style="width:160px"></td>
</tr>
<tr>
<td align="left">内容模板:</td>
<td><input type="text" name="viewtemplate" id="viewtemplate" value="view_diyform<?php echo $newdiyid; ?>.htm" class="pubinputs" style="width:160px"></td>
<td><input type="text" name="viewtemplate" id="viewtemplate" value="view_diyform<?php echo $newdiyid;?>.htm" class="pubinputs" style="width:160px"></td>
</tr>
<tr>
<td align="left">发布模板:</td>
<td><input type="text" name="posttemplate" id="posttemplate" value="post_diyform<?php echo $newdiyid; ?>.htm" class="pubinputs" style="width:160px"></td>
<td><input type="text" name="posttemplate" id="posttemplate" value="post_diyform<?php echo $newdiyid;?>.htm" class="pubinputs" style="width:160px"></td>
</tr>
<tr>
<td align="left">前台列表和内容页公开:</td>


+ 13
- 13
src/admin/templets/diy_edit.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改自定义表单</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -38,7 +38,7 @@
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="diy_edit.php" method="post" onSubmit="return checkSubmit();">
<input type="hidden" name="diyid" value="<?php echo $diyid; ?>">
<input type="hidden" name="diyid" value="<?php echo $diyid;?>">
<input type="hidden" name="dopost" value="save">
<tr>
<td bgcolor="#f8f8f8" colspan="2"><a href="diy_main.php">自定义表单管理</a> &gt; 修改自定义表单</td>
@@ -46,7 +46,7 @@
<tr>
<td width="260">自定义表单 diyid:<span class="style2" id="help1">数字,创建后不可修改,并具有唯一性</span></td>
<td>
<?php echo $diyid; ?>
<?php echo $diyid;?>
<i class="fa fa-question-circle" title="帮助" onClick="showHide2('help1')" style="cursor:hand"></i>
</td>
</tr>
@@ -61,13 +61,13 @@
<td>数据表:<br>
<span class="style2" id="help5">自定义表单数据表创建后不可修改表名</span></td>
<td>
<input type="text" name="table" id="table" value="<?php echo $row['table']; ?>" disabled="1" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help5')" style="cursor:hand"></i>
<input type="text" name="table" id="table" value="<?php echo $row['table'];?>" disabled="1" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help5')" style="cursor:hand"></i>
</td>
</tr>
<tr>
<td bgcolor="#f8f8f8">模型字段配置:信息索引类字段系统已经加入,您只需要增加其它个性化字段即可</td>
<td bgcolor="#f8f8f8">
<button type="button" name="fset" id="fset" onClick="location.href='diy_field_add.php?diyid=<?php echo $diyid; ?>'" class="btn btn-success btn-sm"
<button type="button" name="fset" id="fset" onClick="location.href='diy_field_add.php?diyid=<?php echo $diyid;?>'" class="btn btn-success btn-sm"
>添加新字段</button>
</td>
</tr>
@@ -119,8 +119,8 @@
?>
</td>
<td>
<a href="diy_field_edit.php?diyid=<?php echo $diyid; ?>&fname=<?php echo $ctag->GetTagName()?>" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i> 修改</a>
<a href="diy_field_edit.php?diyid=<?php echo $diyid; ?>&action=delete&fname=<?php echo $ctag->GetTagName()?>" class="btn btn-success btn-sm"><i class="fa fa-globe"></i> 删除</a>
<a href="diy_field_edit.php?diyid=<?php echo $diyid;?>&fname=<?php echo $ctag->GetTagName()?>" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i> 修改</a>
<a href="diy_field_edit.php?diyid=<?php echo $diyid;?>&action=delete&fname=<?php echo $ctag->GetTagName()?>" class="btn btn-success btn-sm"><i class="fa fa-globe"></i> 删除</a>
</td>
</tr>
<?php
@@ -132,22 +132,22 @@
</tr>
<tr>
<td>列表模板:</td>
<td><input type="text" name="listtemplate" id="listtemplate" style="width:160px" value="<?php echo $row['listtemplate']; ?>"></td>
<td><input type="text" name="listtemplate" id="listtemplate" style="width:160px" value="<?php echo $row['listtemplate'];?>"></td>
</tr>
<tr>
<td>内容模板:</td>
<td><input type="text" name="viewtemplate" id="viewtemplate" style="width:160px" value="<?php echo $row['viewtemplate']; ?>"></td>
<td><input type="text" name="viewtemplate" id="viewtemplate" style="width:160px" value="<?php echo $row['viewtemplate'];?>"></td>
</tr>
<tr>
<td>发布模板:</td>
<td><input type="text" name="posttemplate" id="posttemplate" style="width:160px" value="<?php echo $row['posttemplate']; ?>"></td>
<td><input type="text" name="posttemplate" id="posttemplate" style="width:160px" value="<?php echo $row['posttemplate'];?>"></td>
</tr>
<tr>
<td>前台列表和内容页公开:</td>
<td>
<label><input type="radio" name="public" value="2" <?php echo $row['public'] == 2 ? 'checked' : ''; ?>> 完全公开</label>
<label><input type="radio" name="public" value="1" <?php echo $row['public'] == 1 ? 'checked' : ''; ?>> 公开审核过的</label>
<label><input type="radio" name="public" value="0" <?php echo $row['public'] == 0 ? 'checked' : ''; ?>> 不公开</label>
<label><input type="radio" name="public" value="2" <?php echo $row['public'] == 2 ? 'checked' : '';?>> 完全公开</label>
<label><input type="radio" name="public" value="1" <?php echo $row['public'] == 1 ? 'checked' : '';?>> 公开审核过的</label>
<label><input type="radio" name="public" value="0" <?php echo $row['public'] == 0 ? 'checked' : '';?>> 不公开</label>
</td>
</tr>
<tr>


+ 4
- 4
src/admin/templets/diy_edit_content.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>编辑评论</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -13,13 +13,13 @@
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td width="100%" bgcolor="#f8f8f8" colspan="2"><a href="<?php echo $ENV_GOBACK_URL; ?>">表单管理</a> &gt; 编辑评论</td>
<td width="100%" bgcolor="#f8f8f8" colspan="2"><a href="<?php echo $ENV_GOBACK_URL;?>">表单管理</a> &gt; 编辑评论</td>
</tr>
<tr>
<td colspan="2" align="center">
<form name="form1" method="post" enctype="multipart/form-data" action="diy_list.php?action=edit&diyid=<?php echo $diy->diyid ?>&id=<?php echo $row['id'] ?>&do=2">
<input type="hidden" name="dopost" value="edit">
<input type="hidden" name="id" value="<?php echo $row['id']; ?>">
<input type="hidden" name="id" value="<?php echo $row['id'];?>">
<table width="100%" cellpadding="3" cellspacing="1">
<?php
$formfields = '';
@@ -48,7 +48,7 @@
<tr>
<td colspan="2" align="center" class="py-2">
<button type="submit" name="Submit1" class="btn btn-success btn-sm">保存</button>
<button type="button" name="Submit2" class="btn btn-success btn-sm" onClick="location='<?php echo $ENV_GOBACK_URL; ?>';">返回</button>
<button type="button" name="Submit2" class="btn btn-success btn-sm" onClick="location='<?php echo $ENV_GOBACK_URL;?>';">返回</button>
</td>
</tr>
</table>


+ 3
- 3
src/admin/templets/diy_field_add.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>增加字段</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -11,7 +11,7 @@
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="js/main.js"></script>
<script>
var notAllow = " <?php echo $f; ?> ";
var notAllow = " <?php echo $f;?> ";
function GetFields()
{
var theform = document.form1;
@@ -77,7 +77,7 @@
<tr>
<td width="30%"><a href="diy_main.php">自定义表单管理</a> &gt; 增加新字段</td>
<td width="70%" 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>
</tr>
</table>


+ 6
- 6
src/admin/templets/diy_field_edit.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改字段</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -62,7 +62,7 @@
<table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="30%"><a href="diy_main.php">自定义表单管理</a> &gt; 修改字段</td>
<td width="70%" 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></td>
<td width="70%" 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></td>
</tr>
</table>
</td>
@@ -117,14 +117,14 @@
<span class="style2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td>
<td>
<input type="hidden" name="isnull" value="1">
<label><input type="radio" name="spage" value="split"<?php if($ctag->GetAtt('page')=='split') echo "checked='1'"; ?>> 是</label>
<label><input type="radio" name="spage" value="no"<?php if($ctag->GetAtt('page')=='no'||$ctag->GetAtt('page')=='') echo "checked='1'"; ?>> 否</label>
<label><input type="radio" name="spage" value="split"<?php if($ctag->GetAtt('page')=='split') echo "checked='1'";?>> 是</label>
<label><input type="radio" name="spage" value="no"<?php if($ctag->GetAtt('page')=='no'||$ctag->GetAtt('page')=='') echo "checked='1'";?>> 否</label>
</td>
</tr>
<tr>
<td>默认值:<br>
<span class="style2"> 如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(用“,”分开,如“男,女,人妖”)如果为联动选框,这里填写联动选框项目名称</span></td>
<td><textarea name="vdefault" id="vdefault" style="width:70%;height:60px"><?php echo $ctag->GetAtt('default'); ?></textarea></td>
<td><textarea name="vdefault" id="vdefault" style="width:70%;height:60px"><?php echo $ctag->GetAtt('default');?></textarea></td>
</tr>
<tr>
<td>最大长度:<br>
@@ -137,7 +137,7 @@
</tr>
<tr>
<td align="center"></td>
<td><textarea name="vinnertext" cols="45" rows="5" id="vinnertext" style="width:70%;height:120px"><?php echo $ctag->GetInnerText(); ?></textarea></td>
<td><textarea name="vinnertext" cols="45" rows="5" id="vinnertext" style="width:70%;height:120px"><?php echo $ctag->GetInnerText();?></textarea></td>
</tr>
<tr>
<td colspan="2" bgcolor="#f8f8f8">


+ 5
- 5
src/admin/templets/diy_list.htm View File

@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title><?php echo $diy->name; ?></title>
<title><?php echo $diy->name;?></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">
@@ -24,12 +24,12 @@
</head>
<body>
<form action="diy_list.php" method="post">
<input type="hidden" name="diyid" value="<?php echo $diyid; ?>">
<input type="hidden" name="diyid" value="<?php echo $diyid;?>">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td bgcolor="#f8f8f8" colspan="3">
<span class="float-left py-2"><a href="diy_main.php">自定义表单管理</a> &gt; <?php echo $diy->name; ?></span>
<span class="float-right mr-2"><a href="/apps/diy.php?action=list&diyid=<?php echo $diy->diyid; ?>" target="_blank"><i class="fa fa-globe" title="前台预览"></i> 前台预览</a></span>
<span class="float-left py-2"><a href="diy_main.php">自定义表单管理</a> &gt; <?php echo $diy->name;?></span>
<span class="float-right mr-2"><a href="/apps/diy.php?action=list&diyid=<?php echo $diy->diyid;?>" target="_blank"><i class="fa fa-globe" title="前台预览"></i> 前台预览</a></span>
</td>
</tr>
{dede:datalist}


+ 2
- 2
src/admin/templets/diy_main.htm View File

@@ -2,7 +2,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>自定义表单管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -45,7 +45,7 @@
</table>
<table width="98%" cellpadding="5" cellspacing="1" align="center" class="table maintable mb-3">
<tr>
<td bgcolor="#f8f8f8" height="36" align="center">{dede:pagelist listsize='6'/}</td>
<td bgcolor="#f8f8f8" align="center" class="py-2">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
</body>

+ 3
- 3
src/admin/templets/diy_post.htm View File

@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title><?php echo $diy->name; ?></title>
<title><?php echo $diy->name;?></title>
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="../static/web/js/webajax.js"></script>
<script src="js/main.js"></script>
@@ -17,7 +17,7 @@
<body>
<form name="form1" action="diy_list.php" method="post">
<input type="hidden" name="action" value="post">
<input type="hidden" name="diyid" value="<?php echo $diyid; ?>">
<input type="hidden" name="diyid" value="<?php echo $diyid;?>">
<input type="hidden" name="do" value="2">
<table width="98%" align="center" cellpadding="3" cellspacing="1">
<tr>


+ 2
- 2
src/admin/templets/erradd.htm View File

@@ -2,7 +2,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>挑错管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -88,7 +88,7 @@
<a href="javascript:delArc(0)" class="btn btn-danger btn-sm">删除</a>
</td>
</tr>
<tr height="36" bgcolor="#f8f8f8" align="center">
<tr class="py-2" bgcolor="#f8f8f8" align="center">
<td colspan="8">{dede:pagelist listsize='6'/}</td>
</tr>
</table>


+ 9
- 9
src/admin/templets/feedback_edit.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>编辑评论</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -11,29 +11,29 @@
<body>
<table width="98%" align="center" cellpadding="1" cellspacing="1" class="table maintable mt-3 mb-3">
<tr>
<td width="100%" bgcolor="#f8f8f8" colspan="2"><a href="<?php echo $ENV_GOBACK_URL; ?>">评论管理</a> &gt; 编辑评论</td>
<td width="100%" bgcolor="#f8f8f8" colspan="2"><a href="<?php echo $ENV_GOBACK_URL;?>">评论管理</a> &gt; 编辑评论</td>
</tr>
<tr>
<td colspan="2" align="center">
<form name="form1" method="post" action="feedback_edit.php">
<input type="hidden" name="dopost" value="edit">
<input type="hidden" name="id" value="<?php echo $row['id']; ?>">
<input type="hidden" name="id" value="<?php echo $row['id'];?>">
<table width="100%" cellpadding="3" cellspacing="1" class="table table-borderless">
<tr>
<td width="260">评论所属文档:</td>
<td><?php echo RemoveXSS($row['arctitle']); ?></td>
<td><?php echo RemoveXSS($row['arctitle']);?></td>
</tr>
<tr>
<td>评论人:</td>
<td><input type="text" name="username" id="username" size="20" value="<?php echo $row['username']; ?>"></td>
<td><input type="text" name="username" id="username" size="20" value="<?php echo $row['username'];?>"></td>
</tr>
<tr>
<td>评论发布时间:</td>
<td><?php echo GetDateTimeMK($row['dtime']); ?></td>
<td><?php echo GetDateTimeMK($row['dtime']);?></td>
</tr>
<tr>
<td>IP地址:</td>
<td><?php echo $row['ip']; ?></td>
<td><?php echo $row['ip'];?></td>
</tr>
<tr>
<td>评论内容:</td>
@@ -41,7 +41,7 @@
</tr>
<tr>
<td height="62" align="center"></td>
<td height="62"><textarea name="msg" cols="60" rows="5" id="msg"><?php echo cn_substr(Text2Html($row['msg']), 250); ?></textarea></td>
<td height="62"><textarea name="msg" cols="60" rows="5" id="msg"><?php echo cn_substr(Text2Html($row['msg']), 250);?></textarea></td>
</tr>
<tr>
<td>管理员回复:</td>
@@ -54,7 +54,7 @@
<tr>
<td colspan="2" align="center" class="py-2">
<button type="submit" class="btn btn-success btn-sm">保存</button>
<button type="button" onClick="location='<?php echo $ENV_GOBACK_URL; ?>';" class="btn btn-success btn-sm">返回</button>
<button type="button" onClick="location='<?php echo $ENV_GOBACK_URL;?>';" class="btn btn-success btn-sm">返回</button>
</td>
</tr>
</table>


+ 2
- 2
src/admin/templets/feedback_main.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>评论管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -141,7 +141,7 @@
</td>
</tr>
<tr>
<td height="36" align="center">{dede:pagelist listsize='6'/}</td>
<td align="center" class="py-2">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
</td>


+ 1
- 1
src/admin/templets/file_edit.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改新建文件</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">


+ 1
- 1
src/admin/templets/file_manage_main.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>文件管理器</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">


+ 2
- 2
src/admin/templets/file_upload.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>文件上传</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -43,7 +43,7 @@
</td>
</tr>
<tr>
<td height="36">
<td class="py-2">
<input type="submit" class="btn btn-success btn-sm" value="上传文件" name="B1">
<input type="button" class="btn btn-success btn-sm" value="重设表单" name="B12" onClick="reset_upload();">
</td>


+ 1
- 1
src/admin/templets/freelist_add.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>新增自由列表</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">


+ 11
- 11
src/admin/templets/freelist_edit.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改自由列表</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -85,7 +85,7 @@
<td>目录默认页名称:</td>
<td>
<input type="text" name="defaultpage" id="defaultpage" value="<?php echo $row['defaultpage']?>" style="width:260px">
<label><input type="checkbox" name="nodefault" id="nodefault" value="1" <?php if($row['nodefault']==1) echo "checked"; ?>> 不使用目录默认主页</label>
<label><input type="checkbox" name="nodefault" id="nodefault" value="1" <?php if($row['nodefault']==1) echo "checked";?>> 不使用目录默认主页</label>
</td>
</tr>
<tr>
@@ -93,7 +93,7 @@
<td><input type="text" name="namerule" id="namerule" value="<?php echo $row['namerule']?>" style="width:260px"></td>
</tr>
<tr>
<td height="36">列表模板:</td>
<td class="py-2">列表模板:</td>
<td>
<input type="text" name="templet" id="templet" value="<?php echo $row['templet']?>" style="width:260px">
<button type="button" name="set4" onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览</button>
@@ -101,7 +101,7 @@
</tr>
<tr>
<td>最大列出页数:</td>
<td><input type="text" name="maxpage" id="maxpage" value="<?php echo $row['maxpage']; ?>" style="width:60px"></td>
<td><input type="text" name="maxpage" id="maxpage" value="<?php echo $row['maxpage'];?>" style="width:60px"></td>
</tr>
<tr>
<td></td>
@@ -109,7 +109,7 @@
</tr>
<tr>
<td>关键词:</td>
<td><input type="text" name="keywords" id="keywords" value="<?php echo $row['keywords']; ?>" style="width:260px"></td>
<td><input type="text" name="keywords" id="keywords" value="<?php echo $row['keywords'];?>" style="width:260px"></td>
</tr>
<tr>
<td>列表描述:</td>
@@ -183,7 +183,7 @@
<tr>
<td>
每页记录数:<input type="text" name="pagesize" id="pagesize" value="<?php echo $ctag->GetAtt('pagesize')?>" size="4">
显示列数:<input type="text" name="col" id="col" value="<?php $col = $ctag->GetAtt('col'); $v = ( empty($col) ? '1' : $col ); echo $v; ?>" size="4">
显示列数:<input type="text" name="col" id="col" value="<?php $col = $ctag->GetAtt('col'); $v = ( empty($col) ? '1' : $col ); echo $v;?>" size="4">
标题长度:<input type="text" name="titlelen" id="titlelen" value="<?php echo $ctag->GetAtt('titlelen')?>" size="4">(1字节 = 0.5个中文字)
</td>
</tr>
@@ -194,9 +194,9 @@
if($setype=='') $setype = 'X';
?>
高级筛选:
<label><input type="checkbox" name="types[]" id="type1" value="image" <?php if(preg_match("#image#i",$setype)) echo ' checked'; ?>> 带缩略图</label>
<label><input type="checkbox" name="types[]" id="type2" value="commend" <?php if(preg_match("#commend#i", $setype)) echo ' checked'; ?>> 推荐</label>
<label><input type="checkbox" name="types[]" id="type3" value="spec" class="inputbut" <?php if(preg_match("#spec#i", $setype)) echo ' checked'; ?>> 专题</label>
<label><input type="checkbox" name="types[]" id="type1" value="image" <?php if(preg_match("#image#i",$setype)) echo ' checked';?>> 带缩略图</label>
<label><input type="checkbox" name="types[]" id="type2" value="commend" <?php if(preg_match("#commend#i", $setype)) echo ' checked';?>> 推荐</label>
<label><input type="checkbox" name="types[]" id="type3" value="spec" class="inputbut" <?php if(preg_match("#spec#i", $setype)) echo ' checked';?>> 专题</label>
关键词:<input type="text" name="keywordarc" id="keywordarc" value="<?php echo $ctag->GetAtt('keyword')?>">(&quot;,&quot;逗号分开)
</td>
</tr>
@@ -225,8 +225,8 @@
<option value="lastpost">最后评论时间</option>
<option value="postnum">评论总数</option>
</select>
<label><input type="radio" name="order" value="desc" <?php if($ctag->GetAtt('orderway')=='desc') echo "checked"; ?>> 由高到低</label>
<label><input type="radio" name="order" value="asc" <?php if($ctag->GetAtt('orderway')=='asc') echo "checked"; ?>> 由低到高</label>
<label><input type="radio" name="order" value="desc" <?php if($ctag->GetAtt('orderway')=='desc') echo "checked";?>> 由高到低</label>
<label><input type="radio" name="order" value="asc" <?php if($ctag->GetAtt('orderway')=='asc') echo "checked";?>> 由低到高</label>
</td>
</tr>
<tr>


+ 3
- 3
src/admin/templets/freelist_main.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>自由列表管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -12,8 +12,8 @@
<script src="js/main.js"></script>
<script>
var pageno = 1;
var totalrow = <?php echo $totalRow; ?>;
var pagesize = <?php echo $pagesize; ?>;
var totalrow = <?php echo $totalRow;?>;
var pagesize = <?php echo $pagesize;?>;
var orderby = '<?php echo $orderby?>';
var addget = "<?php echo $addget?>";
//加载列表


+ 1
- 1
src/admin/templets/friendlink_add.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>友情链接管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">


+ 1
- 1
src/admin/templets/friendlink_edit.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>友情链接修改</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">


+ 3
- 3
src/admin/templets/friendlink_main.htm View File

@@ -2,7 +2,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>友情链接管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -52,7 +52,7 @@
<form action="friendlink_main.php" name="form1" method="get">
<table cellspacing="0" cellpadding="3" class="table table-borderless">
<tr>
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" value="<?php echo $keyword; ?>" style="width:260px"></td>
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" value="<?php echo $keyword;?>" style="width:260px"></td>
<td width="170">
<select name="ischeck" id="ischeck" style="width:160px">
<?php
@@ -106,7 +106,7 @@
<a href="javascript:;" onclick="checkSubmit()" class="btn btn-success btn-sm">批量删除</a>
</td>
</tr>
<tr height="36" bgcolor="#f8f8f8" align="center">
<tr class="py-2" bgcolor="#f8f8f8" align="center">
<td colspan="8">{dede:pagelist listsize='6'/}</td>
</tr>
</table>


+ 2
- 2
src/admin/templets/friendlink_type.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>网站类型管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -35,7 +35,7 @@
?>
<input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id?>">
<tr align="center">
<td><?php echo $row->id; ?></td>
<td><?php echo $row->id;?></td>
<td><input type="text" name="pname_<?php echo $k?>" value="<?php echo $row->typename?>" id="pname_<?php echo $k?>" style="width:90%"></td>
<td><label><input type="checkbox" name="check_<?php echo $k?>" id="check_<?php echo $k?>" value="1" checked='1'> 保留</label></td>
</tr>


+ 7
- 7
src/admin/templets/index.htm View File

@@ -1,11 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta name="robots" content="noindex,nofollow">
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title><?php echo $cfg_webname; ?>后台管理</title>
<title><?php echo $cfg_webname;?>后台管理</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">
@@ -22,8 +22,8 @@
<div class="head">
<div class="top">
<div class="top-logo">
<span class="top-dedebiz"><a href="index_body.php" target="main"><?php echo cn_substr($cfg_webname,8); ?></a></span>
<span class="top-version">V<?php echo $cfg_version_detail; ?></span>
<span class="top-dedebiz"><a href="index_body.php" target="main"><?php echo cn_substr($cfg_webname,8);?></a></span>
<span class="top-version">V<?php echo $cfg_version_detail;?></span>
<?php if(DEDEBIZ_SAFE_MODE){ ?>
<a href="index_body.php?dopost=safe_mode" target="main" class="btn btn-primary btn-xs">安全</a>
<?php } else { ?>
@@ -36,11 +36,11 @@
<?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="file_manage_main.php<?php echo DEDEBIZ_SAFE_MODE?'?activepath='.$cfg_medias_dir:''; ?>" target="main" title="文件管理"><i class="fa fa-folder"></i></a></li>
<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 }?>
<?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>
<?php echo ($cfg_mb_open=='Y')?'<li><a href="../user" target="_blank" title="会员中心"><i class="fa fa-user-circle"></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-eye"></i></a></li>
<li>
<form action="action_search.php" method="post" target="main">
@@ -52,7 +52,7 @@
</div>
<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="../static/web/img/avatar.png" title="<?php echo $cuserLogin->getUserName(); ?>"><?php echo $cuserLogin->getUserName(); ?><?php if($cuserLogin->getUserType()==10){echo "管理员";} else if($cuserLogin->getUserType()==5) {echo "频道员";} else {echo "信息员";}?></a></li>
<li><a href="sys_admin_user_edit.php?id=<?php echo $cuserLogin->getUserID();?>&dopost=edit" target="main"><img src="../static/web/img/avatar.png" title="<?php echo $cuserLogin->getUserName();?>"><?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" title="退出系统">退了</a></li>
</ul>
</div>


+ 8
- 8
src/admin/templets/index_body.htm View File

@@ -1,14 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>系统主页</title>
<base target="_self">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script>const cfg_biz_dedebizUrl = '<?php echo $cfg_biz_dedebizUrl; ?>';const cfg_webname = '<?php echo $cfg_webname; ?>';</script>
<script>const cfg_biz_dedebizUrl = '<?php echo $cfg_biz_dedebizUrl;?>';const cfg_webname = '<?php echo $cfg_webname;?>';</script>
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
@@ -65,7 +65,7 @@
<div class="card">
<div class="card-header">
<a href="javascript:copyFn()"><i class="fa fa-gear"></i> 系统信息</a>
<span id="text">V:<?php echo $cfg_version_detail; ?>|操作系统:<?php echo PHP_OS; ?>|Web服务器:<?php echo $_SERVER['SERVER_SOFTWARE']; ?>|PHP版本:<?php echo @phpversion(); ?>|数据库版本:<?php echo $dsql->GetVersion(); ?></span>
<span id="text">V:<?php echo $cfg_version_detail;?>|操作系统:<?php echo PHP_OS;?>|Web服务器:<?php echo $_SERVER['SERVER_SOFTWARE'];?>|PHP版本:<?php echo @phpversion();?>|数据库版本:<?php echo $dsql->GetVersion();?></span>
</div>
<div class="card-body">
<table class="table table-borderless">
@@ -73,31 +73,31 @@
<td>
<div class="web-info">
<p>操作系统</p>
<span><?php echo PHP_OS; ?></span>
<span><?php echo PHP_OS;?></span>
</div>
</td>
<td>
<div class="web-info">
<p>Web服务器</p>
<span><?php echo $_SERVER['SERVER_SOFTWARE']; ?></span>
<span><?php echo $_SERVER['SERVER_SOFTWARE'];?></span>
</div>
</td>
<td>
<div class="web-info">
<p>服务器IP</p>
<span><?php echo gethostbyname($_SERVER['SERVER_NAME']); ?></span>
<span><?php echo gethostbyname($_SERVER['SERVER_NAME']);?></span>
</div>
</td>
<td>
<div class="web-info">
<p>PHP版本</p>
<span><?php echo @phpversion(); ?></span>
<span><?php echo @phpversion();?></span>
</div>
</td>
<td>
<div class="web-info">
<p>数据库版本</p>
<span><?php echo $dsql->GetVersion(); ?></span>
<span><?php echo $dsql->GetVersion();?></span>
</div>
</td>
</tr>


+ 3
- 3
src/admin/templets/index_menu.htm View File

@@ -1,13 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>系统菜单</title>
<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="css/menu.css">
<?php echo "<script>var curopenItem = '$openitem';</script>"; ?>
<?php echo "<script>var curopenItem = '$openitem';</script>";?>
<script src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/jquery.min.js"></script>
<script src="js/leftmenu.js"></script>
@@ -39,7 +39,7 @@
<?php }?>
</td>
<td valign="top" class="menu-right">
<div id="ct1"><?php GetMenus($cuserLogin->getUserRank(),'main'); ?></div>
<div id="ct1"><?php GetMenus($cuserLogin->getUserRank(),'main');?></div>
<div id="ct100"></div>
<div id="ct3"></div>
<div id="ct5"></div>


+ 2
- 2
src/admin/templets/log_list.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>采集内容管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -110,7 +110,7 @@
</td>
</tr>
<tr>
<td height="36" bgcolor="#f8f8f8" colspan="7" align="center">{dede:pagelist listsize='6'/}</td>
<td class="py-2" bgcolor="#f8f8f8" colspan="7" align="center">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
</body>

+ 3
- 3
src/admin/templets/login.htm View File

@@ -1,11 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta name="robots" content="noindex,nofollow">
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title><?php echo $cfg_webname; ?>后台登录</title>
<title><?php echo $cfg_webname;?>后台登录</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="css/login.css">
@@ -54,7 +54,7 @@
</div>
</div>
<div><button type="submit" class="btn btn-success w-100">登录</button></div>
<div class="login-power"><?php echo $cfg_powerby; ?></div>
<div class="login-power"><?php echo $cfg_powerby;?></div>
</form>
</div>
</div>


+ 2
- 2
src/admin/templets/makehtml_all.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>更新整站</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -77,7 +77,7 @@
</tr>
<tr id="seltime">
<td>起始时间:</td>
<td><input type="text" name="starttime" id="starttime" value="<?php echo GetDateMk(time()); ?>" class="datepicker" style="width:160px"></td>
<td><input type="text" name="starttime" id="starttime" value="<?php echo GetDateMk(time());?>" class="datepicker" style="width:160px"></td>
</tr>
<tr id="selid" style="display:none">
<td>起始id:</td>


+ 2
- 2
src/admin/templets/makehtml_archives.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>更新文档</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -19,7 +19,7 @@
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%">更新文档</td>
<td width="70%" align="right"><a href="makehtml_list.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新栏目</a></td>
<td width="70%" align="right"><a href="makehtml_list.php?typeid=<?php echo (isset($typeid) ? $typeid : 0);?>" class="btn btn-success btn-sm">更新栏目</a></td>
</tr>
</table>
</td>


+ 3
- 3
src/admin/templets/makehtml_freelist.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>更新自由列表</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -24,11 +24,11 @@
</tr>
<tr>
<td>起始id:</td>
<td><input type="text" name="startid" id="startid" size="10" <?php if(!empty($aid)) echo " value='$aid'"; ?>>(空或0表示从头开始)</td>
<td><input type="text" name="startid" id="startid" size="10" <?php if(!empty($aid)) echo " value='$aid'";?>>(空或0表示从头开始)</td>
</tr>
<tr>
<td>结束ID:</td>
<td><input type="text" name="endid" id="endid" size="10" <?php if(!empty($aid)) echo " value='$aid'"; ?>>(空或0表示直到结束ID)</td>
<td><input type="text" name="endid" id="endid" size="10" <?php if(!empty($aid)) echo " value='$aid'";?>>(空或0表示直到结束ID)</td>
</tr>
<tr>
<td>每批生成:</td>


+ 5
- 5
src/admin/templets/makehtml_homepage.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>更新首页</title>
<script src="../static/web/js/jquery.min.js"></script>
@@ -61,8 +61,8 @@
<tr>
<td>首页模式:</td>
<td>
<label><input type="radio" name="showmod" value="0" <?php echo ($row['showmod']==0)? "checked='checked'" : ""; ?>> 动态浏览</label>
<label><input type="radio" name="showmod" value="1" <?php echo ($row['showmod']==1)? "checked='checked'" : ""; ?>> 生成静态(或者手动删除根目录下index.html文件)</label>
<label><input type="radio" name="showmod" value="0" <?php echo ($row['showmod']==0)? "checked='checked'" : "";?>> 动态浏览</label>
<label><input type="radio" name="showmod" value="1" <?php echo ($row['showmod']==1)? "checked='checked'" : "";?>> 生成静态(或者手动删除根目录下index.html文件)</label>
</td>
</tr>
<?php
@@ -100,8 +100,8 @@
<tr>
<td>首页状态:</td>
<td>
<label><input type="radio" name="lockindex" value="unlock" <?php echo ($rs['index_lock_state']==true)? "checked='checked'" : ""; ?>> 解锁</label>
<label><input type="radio" name="lockindex" value="lock" <?php echo ($row['index_lock_state']==false)? "checked='checked'" : ""; ?>> 锁定</label>
<label><input type="radio" name="lockindex" value="unlock" <?php echo ($rs['index_lock_state']==true)? "checked='checked'" : "";?>> 解锁</label>
<label><input type="radio" name="lockindex" value="lock" <?php echo ($row['index_lock_state']==false)? "checked='checked'" : "";?>> 锁定</label>
</td>
</tr>
<?php


+ 2
- 2
src/admin/templets/makehtml_list.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>更新栏目</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -17,7 +17,7 @@
<tr>
<td width="30%">更新栏目</td>
<td width="70%" align="right">
<a href="makehtml_archives.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新文档</a>
<a href="makehtml_archives.php?typeid=<?php echo (isset($typeid) ? $typeid : 0);?>" class="btn btn-success btn-sm">更新文档</a>
<a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a>
</td>
</tr>


+ 1
- 1
src/admin/templets/makehtml_spec.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>更新专题</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">


+ 3
- 3
src/admin/templets/makehtml_taglist.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>更新标签</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -64,8 +64,8 @@
<td>标签说明:</td>
<td>
生成静态文件后,访问动态文件则直接跳转到静态文件,如果需要动态访问,删除对应文件即可<br>
Tag首页模板文件:<?php echo $cfg_templets_dir; ?>/<?php echo $cfg_df_style?>/tag.htm<br>
Tag列表页模板文件:<?php echo $cfg_templets_dir; ?>/<?php echo $cfg_df_style?>/taglist.htm<br>
Tag首页模板文件:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/tag.htm<br>
Tag列表页模板文件:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/taglist.htm<br>
</td>
</tr>
<tr>


+ 3
- 3
src/admin/templets/media_add.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>上传新文件</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -65,7 +65,7 @@
<table width="100%" cellpadding="0" cellspacing="0" class="table table-borderless">
<form enctype="multipart/form-data" name="form1" action="media_add.php" method="POST" onSubmit="return CheckSubmit();">
<input type="hidden" name="dopost" value="upload">
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>">
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>">
<tr>
<td width="260" class="bline">媒体类型:</td>
<td class="bline">
@@ -111,7 +111,7 @@
</td>
</tr>
<tr>
<td height="36" colspan="2">
<td class="py-2" colspan="2">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="py-2"><button type="submit" class="btn btn-success btn-sm">保存</button></td>


+ 7
- 7
src/admin/templets/media_edit.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改文件</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -49,15 +49,15 @@
<table width="100%" cellpadding="0" cellspacing="0">
<form enctype="multipart/form-data" name="form1" action="media_edit.php" method="POST" onSubmit="return CheckSubmit();">
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>">
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>">
<input type="hidden" name="aid" value="<?php echo $aid?>">
<tr>
<td width="15%" align="left" class="bline">媒体类型:</td>
<td width="85%" align="left" class="bline">
<label><input type="radio" name="mediatype" value="1" <?php if($myrow['mediatype']==1) echo "checked"; ?>> 图片</label>
<label><input type="radio" name="mediatype" value="2" <?php if($myrow['mediatype']==2) echo "checked"; ?>> FLASH</label>
<label><input type="radio" name="mediatype" value="3" <?php if($myrow['mediatype']==3) echo "checked"; ?>> 视频音频</label>
<label><input type="radio" name="mediatype" value="4" <?php if($myrow['mediatype']==4) echo "checked"; ?>> 附件其它</label>
<label><input type="radio" name="mediatype" value="1" <?php if($myrow['mediatype']==1) echo "checked";?>> 图片</label>
<label><input type="radio" name="mediatype" value="2" <?php if($myrow['mediatype']==2) echo "checked";?>> FLASH</label>
<label><input type="radio" name="mediatype" value="3" <?php if($myrow['mediatype']==3) echo "checked";?>> 视频音频</label>
<label><input type="radio" name="mediatype" value="4" <?php if($myrow['mediatype']==4) echo "checked";?>> 附件其它</label>
</td>
</tr>
<tr>
@@ -106,7 +106,7 @@
</td>
</tr>
<tr>
<td height="36" colspan="2" class="bline">
<td class="py-2" colspan="2" class="bline">
<table width="100%" cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td align="center" class="py-2"><button type="submit" class="btn btn-success btn-sm">保存</button></td>


+ 2
- 2
src/admin/templets/media_main.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>附件数据管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -128,7 +128,7 @@
<button type="button" name="b6" class="btn btn-success btn-sm" onClick="DelSel();">删除</button>
</td>
</tr>
<tr height="36" bgcolor="#f8f8f8">
<tr class="py-2" bgcolor="#f8f8f8">
<td colspan="7" align="center">{dede:pagelist listsize='6'/}</td>
</tr>
</form>


+ 2
- 2
src/admin/templets/member_main.htm View File

@@ -2,7 +2,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>注册会员列表</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -116,7 +116,7 @@
</td>
</tr>
<tr>
<td height="36" bgcolor="f8f8f8" colspan="9" align="center">{dede:pagelist listsize='6'/}</td>
<td class="py-2" bgcolor="f8f8f8" colspan="9" align="center">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
</form>


+ 3
- 3
src/admin/templets/member_operations.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>业务管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -95,7 +95,7 @@
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td align="center"><input type="checkbox" name="aids" value="<?php echo $fields['aid']?>"></td>
<td align="center"><?php echo $fields['buyid']?></td>
<td align="center"><?php echo $fields['pname'].'('.$fields['oldinfo'].')'; ?></td>
<td align="center"><?php echo $fields['pname'].'('.$fields['oldinfo'].')';?></td>
<td align="center"><?php echo GetPType($fields['product'])?></td>
<td align="center"><?php echo GetDateTimeMk($fields['mtime'])?>({dede:field.mtime function="floorTime(time()-@me,@me)"/})</td>
<td align="center"><?php echo $fields['money']?></td>
@@ -113,7 +113,7 @@
</td>
</tr>
<tr>
<td height="36" bgcolor="#f8f8f8" colspan="8" align="center">{dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='6'/}</td>
<td class="py-2" bgcolor="#f8f8f8" colspan="8" align="center">{dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='6'/}</td>
</tr>
</table>
</body>

+ 2
- 2
src/admin/templets/member_pm.htm View File

@@ -2,7 +2,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>用户短信管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -53,7 +53,7 @@
</tr>
{/dede:datalist}
<tr>
<td height="36" bgcolor="f8f8f8" colspan="7" align="center">{dede:pagelist listsize='6'/}</td>
<td class="py-2" bgcolor="f8f8f8" colspan="7" align="center">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
</body>

+ 1
- 1
src/admin/templets/member_pmall.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>用户短信管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">


+ 1
- 1
src/admin/templets/member_pmone.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>用户短信管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">


+ 8
- 8
src/admin/templets/member_rank.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>会员权限管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -34,24 +34,24 @@
?>
<tr align="center">
<td>
<input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id; ?>">
<input type="text" name="name_<?php echo $k?>" value="<?php echo $row->membername; ?>" id="name_<?php echo $k?>">
<input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id;?>">
<input type="text" name="name_<?php echo $k?>" value="<?php echo $row->membername;?>" id="name_<?php echo $k?>">
</td>
<td><input type="text" name="rank_<?php echo $k?>" value="<?php echo $row->rank; ?>" id="rank_<?php echo $k?>"></td>
<td><input type="text" name="money_<?php echo $k?>" value="<?php echo $row->money; ?>" id="money_<?php echo $k?>"></td>
<td><input type="text" name="scores_<?php echo $k?>" value="<?php echo $row->scores; ?>" id="scores_<?php echo $k?>"></td>
<td><input type="text" name="rank_<?php echo $k?>" value="<?php echo $row->rank;?>" id="rank_<?php echo $k?>"></td>
<td><input type="text" name="money_<?php echo $k?>" value="<?php echo $row->money;?>" id="money_<?php echo $k?>"></td>
<td><input type="text" name="scores_<?php echo $k?>" value="<?php echo $row->scores;?>" id="scores_<?php echo $k?>"></td>
<td align="center">
<?php
if($row->id<=5) { echo "系统"; }
else { echo "用户"; }
?>
</td>
<td><input type="checkbox" name="check_<?php echo $k?>" id="check_<?php echo $k?>" <?php if($row->id == 3) echo 'disabled="disabled"'; ?> value="1" checked="checked"> 正在使用</td>
<td><input type="checkbox" name="check_<?php echo $k?>" id="check_<?php echo $k?>" <?php if($row->id == 3) echo 'disabled="disabled"';?> value="1" checked="checked"> 正在使用</td>
</tr>
<?php
}
?>
<input type="hidden" name="idend" value="<?php echo $k; ?>">
<input type="hidden" name="idend" value="<?php echo $k;?>">
<tr bgcolor="#fbfce2">
<td colspan="6">新增一个级别:由于会员升级是以级别值由低向高升级的,因此增加组别时需注意此值的设置,如果您增加新的会员组的级别值低于10,将自动被视为普通的注册会员</td>
</tr>


+ 3
- 3
src/admin/templets/member_scores.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>会员管理-积分头衔设置</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -47,8 +47,8 @@
<td align="center"><input type="text" name="titles-<?php echo $v['id']?>" id="titles-<?php echo $v['id']?>" value="<?php echo $v['titles']?>" style="width:160px"></td>
<td align="center">
<select name="isdefault-<?php echo $v['id']?>" id="isdefault-<?php echo $v['id']?>">
<option value="1" <?php if($v['isdefault']) echo " selected='selected'"; ?>>是</option>
<option value="0" <?php if(!$v['isdefault']) echo " selected='selected'"; ?>>否</option>
<option value="1" <?php if($v['isdefault']) echo " selected='selected'";?>>是</option>
<option value="0" <?php if(!$v['isdefault']) echo " selected='selected'";?>>否</option>
</select>
</td>
</tr>


+ 3
- 3
src/admin/templets/member_toadmin.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>提升为管理员</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -28,7 +28,7 @@
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td bgcolor="#f8f8f8"><a href="<?php echo $ENV_GOBACK_URL; ?>">会员管理</a> &gt; 提升为管理员</td>
<td bgcolor="#f8f8f8"><a href="<?php echo $ENV_GOBACK_URL;?>">会员管理</a> &gt; 提升为管理员</td>
</tr>
<tr>
<td align="center">
@@ -99,7 +99,7 @@
<td class="bline">验证安全码:</td>
<td class="bline">
<input type="text" name="safecode" id="safecode" size="16" style="width:260px">
<input type="hidden" name="randcode" value="<?php echo $randcode; ?>">(安全码:<span class='text-danger'><?php echo $safecode; ?></span>)</td>
<input type="hidden" name="randcode" value="<?php echo $randcode;?>">(安全码:<span class='text-danger'><?php echo $safecode;?></span>)</td>
</tr>
<tr>
<td colspan="2" align="center" class="py-2">


+ 1
- 1
src/admin/templets/member_type.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>会员产品分类</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">


+ 13
- 13
src/admin/templets/member_view.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>查看会员</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -31,7 +31,7 @@
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td bgcolor="#f8f8f8"><a href="<?php echo $ENV_GOBACK_URL; ?>">会员管理</a> &gt; 查看会员</td>
<td bgcolor="#f8f8f8"><a href="<?php echo $ENV_GOBACK_URL;?>">会员管理</a> &gt; 查看会员</td>
</tr>
<tr>
<td align="center">
@@ -73,7 +73,7 @@
</tr>
<tr>
<td class="bline">用户类型:</td>
<td><?php echo $row['mtype']; ?></td>
<td><?php echo $row['mtype'];?></td>
</tr>
<tr>
<td class="bline">电子邮箱:</td>
@@ -86,16 +86,16 @@
<tr>
<td class="bline">性别:</td>
<td class="bline">
<label><input type="radio" name="sex" value="男"<?php if($row['sex']=="男" ) echo" checked='1'" ; ?>> 男</label>
<label><input type="radio" name="sex" value="女"<?php if($row['sex']=="女" ) echo" checked='1'" ; ?>> 女</label>
<label><input type="radio" name="sex" value=""<?php if($row['sex']=="" ) echo" checked='1'" ; ?>> 保密</label>
<label><input type="radio" name="sex" value="男"<?php if($row['sex']=="男" ) echo" checked='1'" ;?>> 男</label>
<label><input type="radio" name="sex" value="女"<?php if($row['sex']=="女" ) echo" checked='1'" ;?>> 女</label>
<label><input type="radio" name="sex" value=""<?php if($row['sex']=="" ) echo" checked='1'" ;?>> 保密</label>
</td>
</tr>
<tr>
<td class="bline">金币 :</td>
<td class="bline">
<input type="text" name="money" id="money" value="<?php echo $row['money']; ?>" style="width:60px">
积分:<input type="text" name="scores" id="scores" value="<?php echo $row['scores']; ?>" style="width:60px">
<input type="text" name="money" id="money" value="<?php echo $row['money'];?>" style="width:60px">
积分:<input type="text" name="scores" id="scores" value="<?php echo $row['scores'];?>" style="width:60px">
</td>
</tr>
<tr>
@@ -122,16 +122,16 @@
</tr>
<tr>
<td class="bline">升级时间:</td>
<td class="bline"><input type="text" name="uptime" value="<?php echo $row['uptime']=($row['uptime']=='0')? GetDateTimeMk(time()) : GetDateTimeMk($row['uptime']); ?>" id="uptime" style="width:160px">(如果您要升级会员,必须设置此时间为当前时间)</td>
<td class="bline"><input type="text" name="uptime" value="<?php echo $row['uptime']=($row['uptime']=='0')? GetDateTimeMk(time()) : GetDateTimeMk($row['uptime']);?>" id="uptime" style="width:160px">(如果您要升级会员,必须设置此时间为当前时间)</td>
</tr>
<tr>
<td class="bline">会员天数:</td>
<td class="bline"><input type="text" name="exptime" value="<?php echo $row['exptime']?>" id="exptime" style="width:60px">(如果您要升级会员,会员天数必须大于0)</td>
</tr>
<?php if($mhasDay!=0){ $mhasDay=($mhasDay>0)? $mhasDay : '<span class="text-danger">该会员已经到期</span>'; ?>
<?php if($mhasDay!=0){ $mhasDay=($mhasDay>0)? $mhasDay : '<span class="text-danger">该会员已经到期</span>';?>
<tr>
<td class="bline">会员剩余天数:</td>
<td class="bline"><?php echo $mhasDay; ?></td>
<td class="bline"><?php echo $mhasDay;?></td>
</tr>
<tr>
<?php } ?>
@@ -168,8 +168,8 @@
<tr>
<td class="bline">特殊操作:</td>
<td class="bline">
<a href="member_do.php?dopost=memberlogin&id=<?php echo $row['mid']; ?>&jumpurl=../user/edit_baseinfo.php" target="_blank" class="btn btn-success btn-sm">修改资料</a>
<a href="member_do.php?dopost=memberlogin&id=<?php echo $row['mid']; ?>" target="_blank" class="btn btn-success btn-sm">登录此用户面板</a>
<a href="member_do.php?dopost=memberlogin&id=<?php echo $row['mid'];?>&jumpurl=../user/edit_baseinfo.php" target="_blank" class="btn btn-success btn-sm">修改资料</a>
<a href="member_do.php?dopost=memberlogin&id=<?php echo $row['mid'];?>" target="_blank" class="btn btn-success btn-sm">登录此用户面板</a>
</td>
</tr>
<tr>


+ 28
- 28
src/admin/templets/module_edit.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>模块打包</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -37,57 +37,57 @@
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form action="module_make.php" method="post" enctype="multipart/form-data" name="form1">
<input type="hidden" name="action" value="edit">
<input type="hidden" name="dev_id" value="<?php echo $dev_id; ?>">
<input type="hidden" name="dev_id" value="<?php echo $dev_id;?>">
<tr>
<td bgcolor="#f8f8f8" colspan="2"><a href="module_main.php">模块管理</a> &gt; 模块修改</td>
</tr>
<tr>
<td width="260">模块名称:</td>
<td><input type="text" name="modulname" id="modulname" style="width:160px" value="<?php echo $name; ?>"></td>
<td><input type="text" name="modulname" id="modulname" style="width:160px" value="<?php echo $name;?>"></td>
</tr>
<tr>
<td>开发者ID:</td>
<td><input type="text" name="dev_id2" id="dev_id2" style="width:160px" value="<?php echo $dev_id; ?>" disabled> <a href="<?php echo $cfg_biz_dedebizUrl; ?>/developer" target="_blank" class="text-success">如何获取开发者id</a></td>
<td><input type="text" name="dev_id2" id="dev_id2" style="width:160px" value="<?php echo $dev_id;?>" disabled> <a href="<?php echo $cfg_biz_dedebizUrl;?>/developer" target="_blank" class="text-success">如何获取开发者id</a></td>
</tr>
<tr>
<td>语言编码:</td>
<td><?php echo $lang; ?></td>
<td><?php echo $lang;?></td>
</tr>
<tr>
<td>封装类型:</td>
<td>
<label><input type="radio" name="moduletype" id="moduletype1" value="soft" <?php if($moduletype=='soft') echo "checked='1'"; ?>> 模块</label>
<label><input type="radio" name="moduletype" id="moduletype2" value="templets" <?php if($moduletype=='templets') echo "checked='1'"; ?>> 模板</label>
<label><input type="radio" name="moduletype" id="moduletype3" value="plus" <?php if($moduletype=='plus') echo "checked='1'"; ?>> 小插件</label>
<label><input type="radio" name="moduletype" id="moduletype4" value="patch" <?php if($moduletype=='patch') echo "checked='1'"; ?>> 补丁</label>
<label><input type="radio" name="moduletype" id="moduletype1" value="soft" <?php if($moduletype=='soft') echo "checked='1'";?>> 模块</label>
<label><input type="radio" name="moduletype" id="moduletype2" value="templets" <?php if($moduletype=='templets') echo "checked='1'";?>> 模板</label>
<label><input type="radio" name="moduletype" id="moduletype3" value="plus" <?php if($moduletype=='plus') echo "checked='1'";?>> 小插件</label>
<label><input type="radio" name="moduletype" id="moduletype4" value="patch" <?php if($moduletype=='patch') echo "checked='1'";?>> 补丁</label>
</td>
</tr>
<tr>
<td>模块识别码:</td>
<td>
<input type="hidden" name="hash" value="<?php echo $hash; ?>">
<input type="text" name="hashv" value="<?php echo $hash; ?>" style="width:260px" disabled>(不可改)
<input type="hidden" name="hash" value="<?php echo $hash;?>">
<input type="text" name="hashv" value="<?php echo $hash;?>" style="width:260px" disabled>(不可改)
</td>
</tr>
<tr>
<td>发布时间:</td>
<td><input type="text" name="mtime" id="mtime" style="width:160px" value="<?php echo $time; ?>"></td>
<td><input type="text" name="mtime" id="mtime" style="width:160px" value="<?php echo $time;?>"></td>
</tr>
<tr>
<td>是否涉及会员系统:</td>
<td>
<label><input type="radio" name="ismember" id="ismember1" value="1" onclick="ShowHideMb('ismember0','rboxct')" <?php if($ismember=='1') echo "checked='1'"; ?>> 涉及</label>
<label><input type="radio" name="ismember" id="ismember0" value="0" onclick="ShowHideMb('ismember0','rboxct')" <?php if($ismember=='0') echo "checked='1'"; ?>> 不涉及</label>
<div id="rboxct" style="display:<?php echo ($ismember=='0' ? 'none' : 'block'); ?>">
导航使用名称:<input type="text" name="indexname" id="indexname" style="width:160px" value="<?php echo $indexname; ?>"><br>
导航使用网址:<input type="text" name="indexurl" id="indexurl" style="width:160px" value="<?php echo $indexurl; ?>">(用相对于会员中心的网址,如:../ask)
<label><input type="radio" name="ismember" id="ismember1" value="1" onclick="ShowHideMb('ismember0','rboxct')" <?php if($ismember=='1') echo "checked='1'";?>> 涉及</label>
<label><input type="radio" name="ismember" id="ismember0" value="0" onclick="ShowHideMb('ismember0','rboxct')" <?php if($ismember=='0') echo "checked='1'";?>> 不涉及</label>
<div id="rboxct" style="display:<?php echo ($ismember=='0' ? 'none' : 'block');?>">
导航使用名称:<input type="text" name="indexname" id="indexname" style="width:160px" value="<?php echo $indexname;?>"><br>
导航使用网址:<input type="text" name="indexurl" id="indexurl" style="width:160px" value="<?php echo $indexurl;?>">(用相对于会员中心的网址,如:../ask)
</div>
</td>
</tr>
<tr>
<td>后台管理菜单:</td>
<td>
<textarea name="menustring" id="menustring" style="width:98%;height:160px"><?php echo $menustring; ?></textarea><br>
<textarea name="menustring" id="menustring" style="width:98%;height:160px"><?php echo $menustring;?></textarea><br>
(普通插件或模板、补丁类不要填写,模块菜单格式请参考inc/inc_menu_module.php)
</td>
</tr>
@@ -100,7 +100,7 @@
如果需要带HTML格式,请编译后点击修改时使用HTML</td>
</tr>
<tr>
<td><textarea name="readmetxt" id="readmetxt" style="width:98%;height:160px"><?php echo $readmetxt; ?></textarea></td>
<td><textarea name="readmetxt" id="readmetxt" style="width:98%;height:160px"><?php echo $readmetxt;?></textarea></td>
</tr>
</table>
</td>
@@ -108,9 +108,9 @@
<tr>
<td>程序安装:</td>
<td>
<label><input type="checkbox" name="autosetup" id="autosetup" value="1" onclick="ShowHideField('autosetup','autosetupinput','autosetupct')"<?php if(isset($autosetup) && $autosetup==1) echo "checked='1'"; ?>> 自动生成(由系统自动处理安装)</label><br>
<div style="display:<?php if(!isset($autosetup) || $autosetup==0) echo 'block'; else echo 'none'; ?>" id="autosetupinput"><input name="setup" type="file" id="setup" style="width:360px"></div>
<div style="margin:5px 0px 5px 5px;display:<?php if(isset($autosetup) && $autosetup==1) echo 'block'; else echo 'none'; ?>" id="autosetupct">
<label><input type="checkbox" name="autosetup" id="autosetup" value="1" onclick="ShowHideField('autosetup','autosetupinput','autosetupct')"<?php if(isset($autosetup) && $autosetup==1) echo "checked='1'";?>> 自动生成(由系统自动处理安装)</label><br>
<div style="display:<?php if(!isset($autosetup) || $autosetup==0) echo 'block'; else echo 'none';?>" id="autosetupinput"><input name="setup" type="file" id="setup" style="width:360px"></div>
<div style="margin:5px 0px 5px 5px;display:<?php if(isset($autosetup) && $autosetup==1) echo 'block'; else echo 'none';?>" id="autosetupct">
<table width="100%" cellpadding="5" cellspacing="1">
<tr>
<td bgcolor="#fbfce2">
@@ -120,7 +120,7 @@
</td>
</tr>
<tr>
<td><textarea name="setupsql40" id="setupsql40" style="width:98%;height:160px"><?php echo $setupsql40; ?></textarea></td>
<td><textarea name="setupsql40" id="setupsql40" style="width:98%;height:160px"><?php echo $setupsql40;?></textarea></td>
</tr>
</table>
</div>
@@ -129,17 +129,17 @@
<tr>
<td>删除程序:</td>
<td>
<label><input type="checkbox" name="autodel" id="autodel" value="1" onclick="ShowHideField('autodel','autodelinput','autodelct')" <?php if(isset($autodel) && $autodel==1) echo "checked='1'"; ?>> 自动生成(由系统自动处理卸载)</label>
<label><input type="checkbox" name="autodel" id="autodel" value="1" onclick="ShowHideField('autodel','autodelinput','autodelct')" <?php if(isset($autodel) && $autodel==1) echo "checked='1'";?>> 自动生成(由系统自动处理卸载)</label>
<br>
<div style="display:<?php if(!isset($autodel) || $autodel==0) echo 'block'; else echo 'none'; ?>" id="autodelinput"><input name="uninstall" type="file" id="uninstall" style="width:360px"></div>
<div style='margin:5px 0px 5px 5px;display:<?php if(isset($autodel) && $autodel==1) echo 'block'; else echo 'none'; ?>' id='autodelct'>
<div style="display:<?php if(!isset($autodel) || $autodel==0) echo 'block'; else echo 'none';?>" id="autodelinput"><input name="uninstall" type="file" id="uninstall" style="width:360px"></div>
<div style='margin:5px 0px 5px 5px;display:<?php if(isset($autodel) && $autodel==1) echo 'block'; else echo 'none';?>' id='autodelct'>
<table width="100%" cellpadding="5" cellspacing="1">
<tr>
<td bgcolor="#fbfce2">卸载时执行的SQL语句:<br>
(SQL允许换行,但必须用 ";换行" 表示一条SQL语句结束)</td>
</tr>
<tr>
<td><textarea name="delsql" id="delsql" style="width:98%;height:160px"><?php echo $delsql; ?></textarea></td>
<td><textarea name="delsql" id="delsql" style="width:98%;height:160px"><?php echo $delsql;?></textarea></td>
</tr>
</table>
</div>
@@ -157,7 +157,7 @@
<td>每行指定一个文件或目录,路径为相对于本目录,本目录的文件则直接用文件名即可,对于整个打包的目录,不需要指定子目录里的文件<br>
如:如果已经指定了:../book 则不需要再指定目录里的 ../book/index.php 等文件或目录,系统会自动索引整个目录,<br>
对于不需要索引整个目录的,请不要指定这个目录,否则可能会把不必要的文件也放进模块中 <br>
<textarea name="filelist" id="filelist" style="width:98%;height:160px"><?php echo $filelist; ?></textarea>
<textarea name="filelist" id="filelist" style="width:98%;height:160px"><?php echo $filelist;?></textarea>
</td>
</tr>
<tr>


+ 1
- 1
src/admin/templets/module_help.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 10
- 10
src/admin/templets/module_main.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>模块管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -21,7 +21,7 @@
</script>
</head>
<body>
<div class="alert alert-info maintable" style="margin:1rem auto">DedeBIZV6开始启动<a href="<?php echo $cfg_biz_dedebizUrl; ?>/license_developer" target="_blank">DedeBIZ商业开发者计划</a>,为了保障系统及技术服务安全,请认准DedeBIZ商业认证开发者</div>
<div class="alert alert-info maintable" style="margin:1rem auto">DedeBIZV6开始启动<a href="<?php echo $cfg_biz_dedebizUrl;?>/license_developer" target="_blank">DedeBIZ商业开发者计划</a>,为了保障系统及技术服务安全,请认准DedeBIZ商业认证开发者</div>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3">
<form name="form1" action="plus_add.php" method="post">
<input type="hidden" name="dopost" value="save">
@@ -51,15 +51,15 @@
{
?>
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><?php echo $v['name']; ?></td>
<td><?php echo $v['time']; ?></td>
<td><?php echo $v['name'];?></td>
<td><?php echo $v['time'];?></td>
<td>
<?php
if($cfg_soft_lang != $v['lang']) echo "<span class='text-danger'>".$v['lang']."</span>";
else echo $v['lang'];
?>
</td>
<td><?php echo $types[$v['moduletype']]; ?></td>
<td><?php echo $types[$v['moduletype']];?></td>
<td>
<?php
$file = DEDEDATA."/module/{$v['hash']}.xml";
@@ -75,11 +75,11 @@
?>
</td>
<td>
<div id='manager_<?php echo $v['hash']; ?>' <?php if(!file_exists(DEDEDATA."/module/{$v['hash']}.xml")) echo 'style="display:none"'?>>
<a class="btn btn-success btn-sm" href="module_main.php?action=view_developoer&hash=<?php echo $v['hash']; ?>">开发者</a>
<a class="btn btn-success btn-sm" href="module_main.php?action=view&hash=<?php echo $v['hash']; ?>">详情</a>
<a class="btn btn-success btn-sm" href="module_main.php?action=edit&hash=<?php echo $v['hash']; ?>">修改</a>
<a class="btn btn-danger btn-sm" href="module_main.php?action=del&hash=<?php echo $v['hash']; ?>">删除</a>
<div id='manager_<?php echo $v['hash'];?>' <?php if(!file_exists(DEDEDATA."/module/{$v['hash']}.xml")) echo 'style="display:none"'?>>
<a class="btn btn-success btn-sm" href="module_main.php?action=view_developoer&hash=<?php echo $v['hash'];?>">开发者</a>
<a class="btn btn-success btn-sm" href="module_main.php?action=view&hash=<?php echo $v['hash'];?>">详情</a>
<a class="btn btn-success btn-sm" href="module_main.php?action=edit&hash=<?php echo $v['hash'];?>">修改</a>
<a class="btn btn-danger btn-sm" href="module_main.php?action=del&hash=<?php echo $v['hash'];?>">删除</a>
</div>
</td>
</tr>


+ 5
- 5
src/admin/templets/module_make.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>模块打包</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -42,7 +42,7 @@
</tr>
<tr>
<td>语言编码:</td>
<td><?php echo $cfg_soft_lang; ?>(不同编码模块可以使用,但不能在此打包)<input type="hidden" name="lang" value="<?php echo $cfg_soft_lang; ?>"></td>
<td><?php echo $cfg_soft_lang;?>(不同编码模块可以使用,但不能在此打包)<input type="hidden" name="lang" value="<?php echo $cfg_soft_lang;?>"></td>
</tr>
<tr>
<td>封装类型:</td>
@@ -55,11 +55,11 @@
</tr>
<tr>
<td>开发者ID:</td>
<td><input type="text" name="dev_id" id="dev_id" style="width:160px"> <a href="<?php echo $cfg_biz_dedebizUrl; ?>/developer" target="_blank" class="text-success">如何获取开发者id</a></td>
<td><input type="text" name="dev_id" id="dev_id" style="width:160px"> <a href="<?php echo $cfg_biz_dedebizUrl;?>/developer" target="_blank" class="text-success">如何获取开发者id</a></td>
</tr>
<tr>
<td>发布时间:</td>
<td><input type="text" name="mtime" id="mtime" style="width:160px" value="<?php echo GetDateMk(time()); ?>"> </td>
<td><input type="text" name="mtime" id="mtime" style="width:160px" value="<?php echo GetDateMk(time());?>"> </td>
</tr>
<tr>
<td>是否涉及会员系统:</td>
@@ -165,7 +165,7 @@
</tr>
<tr>
<td colspan="2" align="center" class="py-2">
<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 type="button" name="button" id="button" onClick="location='module_main.php';" class="btn btn-success btn-sm">返回</button>
</td>


+ 1
- 1
src/admin/templets/module_upload.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>模块打包</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">


+ 5
- 5
src/admin/templets/mychannel_add.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>新增频道</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -50,23 +50,23 @@
<tr>
<td width="30%">频道ID<br>
<span class="style2" id='help1'>数字,创建后不可修改,并具有唯一性</span></td>
<td width="70%"><input type="text" name="id" id="id" size="10" value="<?php echo $newid; ?>" class="pubinputs"> *</td>
<td width="70%"><input type="text" name="id" id="id" size="10" value="<?php echo $newid;?>" class="pubinputs"> *</td>
</tr>
<tr>
<td>名字标识<br>
<span class="style2" id="help2">与文档的模板相关连,建议由英文、数字或下划线组成,因为部份Unix系统无法识别中文文件,频道默认文档模板是“default/article_名字标识.htm”,列表模板、封面模板类推 </span></td>
<td><input type="text" name="nid" id="nid" value="ch<?php echo $newid; ?>" class="pubinputs"> *</td>
<td><input type="text" name="nid" id="nid" value="ch<?php echo $newid;?>" class="pubinputs"> *</td>
</tr>
<tr>
<td>频道名称<br>
<span class="style2" id="help3">频道的中文名称,在后台管理,前台发布等均使用此名字</span></td>
<td><input type="text" name="typename" id="typename" value="频道<?php echo $newid; ?>" class="pubinputs"> *</td>
<td><input type="text" name="typename" id="typename" value="频道<?php echo $newid;?>" class="pubinputs"> *</td>
</tr>
<tr>
<td>附加表<br>
<span class="style2" id="help4">频道除主表以外其它自定义类型数据存放数据的表,如果您不使用主表关连的各种特性(推荐、会员权限等),也可以使用完全以附加表作为存储数据</span></td>
<td>
<input type="text" name="addtable" id="addtable" value="<?php echo $cfg_dbprefix,'addon',$newid; ?>" class="pubinputs"> 必须由英文、数字、下划线组成 *
<input type="text" name="addtable" id="addtable" value="<?php echo $cfg_dbprefix,'addon',$newid;?>" class="pubinputs"> 必须由英文、数字、下划线组成 *
<label><input type="checkbox" name="isdel" id="isdel" value="1"> 删除已有表</label>
</td>
</tr>


+ 32
- 32
src/admin/templets/mychannel_edit.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改内容模型</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -65,7 +65,7 @@
<form name="form1" action="mychannel_edit.php" method="post">
<input type="hidden" name="id" value="<?php echo $id?>">
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="issystem" value="<?php echo $row['issystem']; ?>">
<input type="hidden" name="issystem" value="<?php echo $row['issystem'];?>">
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td bgcolor="#f8f8f8" colspan="2"><a href="mychannel_main.php">内容模型管理</a> &gt; 修改内容模型</td>
@@ -121,27 +121,27 @@
<tr>
<td width="30%">频道ID<br>
<span class="style2" id='help1'>数字,创建后不可修改,并具有唯一性</span></td>
<td width="70%"><?php echo $row['id']; ?></td>
<td width="70%"><?php echo $row['id'];?></td>
</tr>
<tr>
<td>名字标识<br>
<span class="style2" id="help2">与文档的模板相关连,建议由英文、数字或下划线组成,因为部份Unix系统无法识别中文文件,频道默认文档模板是“default/article_名字标识.htm”,列表模板、封面模板类推 </span></td>
<td><?php echo $row['nid']; ?></td>
<td><?php echo $row['nid'];?></td>
</tr>
<tr>
<td>频道名称<br><span class="style2" id="help3">频道的中文名称,在后台管理,前台发布等均使用此名字</span></td>
<td><input type="text" name="typename" id="typename" value="<?php echo $row['typename']; ?>" class="pubinputs"></td>
<td><input type="text" name="typename" id="typename" value="<?php echo $row['typename'];?>" class="pubinputs"></td>
</tr>
<tr>
<td>附加表<br>
<span class="style2" id="help4">频道除主表以外其它自定义类型数据存放数据的表,如果您不使用主表关连的各种特性(推荐、会员权限等),也可以使用完全以附加表作为存储数据</span></td>
<td><input type="text" name="addtable" id="addtable" value="<?php echo $row['addtable']; ?>" class="pubinputs">(#@__ 是表示数据表前缀)</td>
<td><input type="text" name="addtable" id="addtable" value="<?php echo $row['addtable'];?>" class="pubinputs">(#@__ 是表示数据表前缀)</td>
</tr>
<tr>
<td>是否支持会员投稿</td>
<td>
<label><input type="radio" name="issend" value="0" <?php if($row['issend']==0) echo "checked='1'"; ?>> 不支持</label>
<label><input type="radio" name="issend" value="1" <?php if($row['issend']==1) echo "checked='1'"; ?>> 支持</label>
<label><input type="radio" name="issend" value="0" <?php if($row['issend']==0) echo "checked='1'";?>> 不支持</label>
<label><input type="radio" name="issend" value="1" <?php if($row['issend']==1) echo "checked='1'";?>> 支持</label>
</td>
</tr>
<tr>
@@ -173,82 +173,82 @@
echo "<label><input type='radio' name='usertype' value='".$row3->name."'".($row['usertype']==$row3->name? "checked" : "")."> ".$row3->name."</label> ";
}
?>
<label><input type="radio" name="usertype" value="" <?php if($row['usertype']=='') echo "checked='1'"; ?>> 不限</label>
<label><input type="radio" name="usertype" value="" <?php if($row['usertype']=='') echo "checked='1'";?>> 不限</label>
</td>
</tr>
<tr>
<td>会员稿件默认状态</td>
<td>
<label><input type="radio" name="arcsta" value="-1" <?php if($row['arcsta']==-1) echo "checked='1'"; ?>> 未审核</label>
<label><input type="radio" name="arcsta" value="0" <?php if($row['arcsta']==0) echo "checked='1'"; ?>> 已审核(自动生成网页)</label>
<label><input type="radio" name="arcsta" value="1" <?php if($row['arcsta']==1) echo "checked='1'"; ?>> 已审核(仅使用动态文档)</label>
<label><input type="radio" name="arcsta" value="-1" <?php if($row['arcsta']==-1) echo "checked='1'";?>> 未审核</label>
<label><input type="radio" name="arcsta" value="0" <?php if($row['arcsta']==0) echo "checked='1'";?>> 已审核(自动生成网页)</label>
<label><input type="radio" name="arcsta" value="1" <?php if($row['arcsta']==1) echo "checked='1'";?>> 已审核(仅使用动态文档)</label>
</td>
</tr>
<tr>
<td>档案发布程序</td>
<td><input type="text" name="addcon" id="addcon" value="<?php echo $row['addcon']; ?>" class="pubinputs"></td>
<td><input type="text" name="addcon" id="addcon" value="<?php echo $row['addcon'];?>" class="pubinputs"></td>
</tr>
<tr>
<td>档案修改程序</td>
<td><input type="text" name="editcon" id="editcon" value="<?php echo $row['editcon']; ?>" class="pubinputs"></td>
<td><input type="text" name="editcon" id="editcon" value="<?php echo $row['editcon'];?>" class="pubinputs"></td>
</tr>
<tr>
<td>档案管理程序</td>
<td><input type="text" name="mancon" id="mancon" value="<?php echo $row['mancon']; ?>" class="pubinputs"></td>
<td><input type="text" name="mancon" id="mancon" value="<?php echo $row['mancon'];?>" class="pubinputs"></td>
</tr>
<tr>
<td>前台会员发布程序</td>
<td><input type="text" name="useraddcon" id="useraddcon" value="<?php echo $row['useraddcon']; ?>" class="pubinputs"></td>
<td><input type="text" name="useraddcon" id="useraddcon" value="<?php echo $row['useraddcon'];?>" class="pubinputs"></td>
</tr>
<tr>
<td>前台会员修改程序</td>
<td><input type="text" name="usereditcon" id="usereditcon" value="<?php echo $row['usereditcon']; ?>" class="pubinputs"></td>
<td><input type="text" name="usereditcon" id="usereditcon" value="<?php echo $row['usereditcon'];?>" class="pubinputs"></td>
</tr>
<tr>
<td>前台会员管理程序</td>
<td><input type="text" name="usermancon" id="usermancon" value="<?php echo $row['usermancon']; ?>" class="pubinputs"></td>
<td><input type="text" name="usermancon" id="usermancon" value="<?php echo $row['usermancon'];?>" class="pubinputs"></td>
</tr>
<tr>
<td>列表附加字段<br>
<span class="style2" id="help6">用&quot;,&quot;分开,可以在列表模板{dede:list}{/dede:list}中用[field:name/]调用</span></td>
<td><input type="text" name="listfields" id="listfields" size="50" value="<?php echo $row['listfields']; ?>" class="pubinputs" style="width:80%"></td>
<td><input type="text" name="listfields" id="listfields" size="50" value="<?php echo $row['listfields'];?>" class="pubinputs" style="width:80%"></td>
</tr>
<tr>
<td>投稿标题使用名称</td>
<td><input type="text" name="titlename" id="titlename" value="<?php echo $row['titlename']; ?>" class="pubinputs"></td>
<td><input type="text" name="titlename" id="titlename" value="<?php echo $row['titlename'];?>" class="pubinputs"></td>
</tr>
<tr>
<td>投稿是否使用摘要<br>
<span class="style2">如果不使用主表(独立模型)缩略图设置同</span></td>
<td>
<label><input type="radio" name="needdes" value="1" <?php if($row['needdes']==1) echo "checked='1'"; ?>> 使用</label>
<label><input type="radio" name="needdes" value="0" <?php if($row['needdes']==0) echo "checked='1'"; ?>> 不使用</label>
<label><input type="radio" name="needdes" value="1" <?php if($row['needdes']==1) echo "checked='1'";?>> 使用</label>
<label><input type="radio" name="needdes" value="0" <?php if($row['needdes']==0) echo "checked='1'";?>> 不使用</label>
</td>
</tr>
<tr>
<td>投稿是否使用缩图</td>
<td>
<label><input type="radio" name="needpic" value="1" <?php if($row['needpic']==1) echo "checked='1'"; ?>> 使用</label>
<label><input type="radio" name="needpic" value="0" <?php if($row['needpic']==0) echo "checked='1'"; ?>> 不使用</label>
<label><input type="radio" name="needpic" value="1" <?php if($row['needpic']==1) echo "checked='1'";?>> 使用</label>
<label><input type="radio" name="needpic" value="0" <?php if($row['needpic']==0) echo "checked='1'";?>> 不使用</label>
</td>
</tr>
<tr>
<td>默认栏目id<br><span class="style2" id="help8">与投稿是唯一性结合可以用模型设计自定义表单</span></td>
<td><input type="text" name="dfcid" id="dfcid" value="<?php echo $row['dfcid']; ?>" class="pubinputs" style="width:160px"></td>
<td><input type="text" name="dfcid" id="dfcid" value="<?php echo $row['dfcid'];?>" class="pubinputs" style="width:160px"></td>
</tr>
<tr>
<td>投稿具有唯一性<br>
<span class="style2" id="help9">如果投稿是唯一会员只能在这个模型对应的栏目中发布单篇文档,其作用相当于自定义表单</span></td>
<td>
<label><input type="radio" name="onlyone" value="1" <?php if($row['onlyone']==1) echo "checked='1'"; ?>> 是</label>
<label><input type="radio" name="onlyone" value="0" <?php if($row['onlyone']==0) echo "checked='1'"; ?>> 不是</label>
<label><input type="radio" name="onlyone" value="1" <?php if($row['onlyone']==1) echo "checked='1'";?>> 是</label>
<label><input type="radio" name="onlyone" value="0" <?php if($row['onlyone']==0) echo "checked='1'";?>> 不是</label>
</td>
</tr>
</table>
<table width="98%" id='adset' cellpadding="3" cellspacing="1" align="center" class="table maintable" style='display:none'>
<tr>
<td>模型字段配置(可视化模式)</td>
<td><button type="button" name="fset" id="fset" onClick="location.href='mychannel_field_add.php?id=<?php echo $id; ?>'" class="btn btn-success btn-sm">添加新字段</button></td>
<td><button type="button" name="fset" id="fset" onClick="location.href='mychannel_field_add.php?id=<?php echo $id;?>'" class="btn btn-success btn-sm">添加新字段</button></td>
</tr>
<tr>
<td colspan='2'>
@@ -296,7 +296,7 @@
else echo $itname;
?>
</td>
<td><?php echo $ctag->GetTagName(); ?></td>
<td><?php echo $ctag->GetTagName();?></td>
<td>
<?php
$ft = $ctag->GetAtt('type');
@@ -319,9 +319,9 @@
if($ft==1)
{
?>
<a href="mychannel_field_edit.php?id=<?php echo $id; ?>&fname=<?php echo $ctag->GetTagName(); ?>&issystem=<?php echo $row['issystem']; ?>"><i class="btn btn-sm fa fa-pencil-square-o" title="修改"></i></a>
<a href="mychannel_field_edit.php?id=<?php echo $id;?>&fname=<?php echo $ctag->GetTagName();?>&issystem=<?php echo $row['issystem'];?>"><i class="btn btn-sm fa fa-pencil-square-o" title="修改"></i></a>
<?php if($row['issystem']!=1){ ?>
<a href="javascript:;" onClick="javascript:DelNote('mychannel_field_edit.php?id=<?php echo $id; ?>&fname=<?php echo $ctag->GetTagName(); ?>&action=delete');"><i class="btn btn-sm fa fa-trash" title="删除"></i></a>
<a href="javascript:;" onClick="javascript:DelNote('mychannel_field_edit.php?id=<?php echo $id;?>&fname=<?php echo $ctag->GetTagName();?>&action=delete');"><i class="btn btn-sm fa fa-trash" title="删除"></i></a>
<?php } ?>
<?php
} else {
@@ -341,7 +341,7 @@
<td width="30%">模型字段配置(文本模式)<br>
修改配置文本可调整字段顺序,但不会修改字段属性
</td>
<td width="70%"><textarea name="fieldset" style="width:98%;height:300px" rows="10" id="fieldset"><?php echo stripslashes($row['fieldset']); ?></textarea></td>
<td width="70%"><textarea name="fieldset" style="width:98%;height:300px" rows="10" id="fieldset"><?php echo stripslashes($row['fieldset']);?></textarea></td>
</tr>
</table>
<table width="98%" cellpadding="3" cellspacing="1" bgcolor="#f8f8f8" align="center" class="table maintable mt-3 mb-3">


+ 2
- 2
src/admin/templets/mychannel_field_add.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>增加字段</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -26,7 +26,7 @@
}
</style>
<script>
var notAllow = " <?php echo $f; ?> ";
var notAllow = " <?php echo $f;?> ";
function GetFields()
{
var theform = document.form1;


+ 7
- 7
src/admin/templets/mychannel_field_edit.htm View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改字段</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
@@ -162,7 +162,7 @@
</select>
</td>
</tr>
<tr id="_relation" <?php echo $dtype=="relation"? '' : 'style="display:none"'; ?>>
<tr id="_relation" <?php echo $dtype=="relation"? '' : 'style="display:none"';?>>
<td>内容模型:<br>
<span class="style2">选择关联内容对应的内容模型</span></td>
<td>
@@ -181,7 +181,7 @@
}
?>
</select>
<label><input type="checkbox" name="relation_automake" id="relation_automake" value="1" <?php echo $ctag->GetAtt('automake')==1? "checked" : ""; ?>> 发布时候自动更新关联内容HTML</label>
<label><input type="checkbox" name="relation_automake" id="relation_automake" value="1" <?php echo $ctag->GetAtt('automake')==1? "checked" : "";?>> 发布时候自动更新关联内容HTML</label>
</td>
</tr>
<tr>
@@ -189,14 +189,14 @@
<span class="style2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td>
<td>
<input name="isnull" type="hidden" value="1">
<label><input type="radio" name="spage" value="split" <?php if($ctag->GetAtt('page')=='split') echo "checked='1'"; ?>> 是</label>
<label><input type="radio" name="spage" value="no" <?php if($ctag->GetAtt('page')=='no'||$ctag->GetAtt('page')=='') echo "checked='1'"; ?>> 否</label>
<label><input type="radio" name="spage" value="split" <?php if($ctag->GetAtt('page')=='split') echo "checked='1'";?>> 是</label>
<label><input type="radio" name="spage" value="no" <?php if($ctag->GetAtt('page')=='no'||$ctag->GetAtt('page')=='') echo "checked='1'";?>> 否</label>
</td>
</tr>
<tr>
<td>默认值:<br>
<span class="style2">如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(用“,”分开,如“男,女,人妖”)如果为联动选框,这里填写联动选框项目名称</span></td>
<td><textarea name="vdefault" id="vdefault" style="width:70%;height:60px"><?php echo $ctag->GetAtt('default'); ?></textarea></td>
<td><textarea name="vdefault" id="vdefault" style="width:70%;height:60px"><?php echo $ctag->GetAtt('default');?></textarea></td>
</tr>
<tr>
<td>最大长度:<br>
@@ -209,7 +209,7 @@
</tr>
<tr>
<td align="center"><br> </td>
<td><textarea name="vinnertext" cols="45" rows="5" id="vinnertext" style="width:70%;height:120px"><?php echo $ctag->GetInnerText(); ?></textarea></td>
<td><textarea name="vinnertext" cols="45" rows="5" id="vinnertext" style="width:70%;height:120px"><?php echo $ctag->GetInnerText();?></textarea></td>
</tr>
<tr>
<td colspan="2" bgcolor="#f8f8f8">


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save