Browse Source

Merge branch 'admin' into develop

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

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

@@ -298,11 +298,11 @@ else if ($dopost == 'moveArchives') {
echo "<table width='100%' style='display:inline-block;z-index:9000'>";
?>
<tr>
<td width="90" class="bline">&nbsp;目标栏目:</td>
<td width="90" class="bline"> 目标栏目:</td>
<td class="bline"><?php echo $typeOptions; ?></td>
</tr>
<tr>
<td width="90" class="bline">&nbsp;文档ID:</td>
<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>移动到目标栏目必须和选定文档频道类型一致,否则程序会自动勿略不符合文档
@@ -540,7 +540,7 @@ else if ($dopost == 'quickEdit') {
echo "<table width='100%' style='display:inline-block;z-index:9000'>";
?>
<tr>
<td width="90" class="bline">&nbsp;所属栏目:</td>
<td width="90" class="bline"> 所属栏目:</td>
<td class="bline">
<?php
$typeOptions = GetOptionList($arcRow['typeid'], $cuserLogin->getUserChannel(), $arcRow['channel']);
@@ -552,7 +552,7 @@ else if ($dopost == 'quickEdit') {
</td>
</tr>
<tr>
<td width="90" class="bline">&nbsp;属性:</td>
<td width="90" class="bline"> 属性:</td>
<td class="bline">
<input type="hidden" name="oldflag" value="<?php echo $arcRow['flag']; ?>">
<?php
@@ -561,23 +561,23 @@ else if ($dopost == 'quickEdit') {
while ($trow = $dsql->GetObject()) {
if ($trow->att == 'j' || $trow->att == 'p') continue;
if (preg_match("#".$trow->att."#", $arcRow['flag']))
echo "<input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}{$trow->att}[{$trow->att}] ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}{$trow->att}[{$trow->att}]</label>";
else
echo "<input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}] ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>";
}
?>
</td>
</tr>
<tr>
<td width="90" class="bline">&nbsp;标题:</td>
<td class="bline"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:320px"></td>
<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>
</tr>
<tr>
<td width="90" class="bline">&nbsp;简略标题:</td>
<td class="bline"><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:320px"></td>
<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>
</tr>
<tr>
<td width="90" class="bline">&nbsp;阅读权限:</td>
<td width="90" class="bline"> 阅读权限:</td>
<td class="bline">
<select name="arcrank" id="arcrank" style="width:100px">
<option value='<?php echo $arcRow["arcrank"] ?>'>
@@ -591,12 +591,12 @@ else if ($dopost == 'quickEdit') {
}
?>
</select>
需要金币:<input name="money" type="text" 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">&nbsp;关键词:</td>
<td class="bline"><input name="keywords" type="text" id="keywords" value="<?php echo $arcRow['keywords']; ?>" style="width:320px"></td>
<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>
</tr>
<tr>
<td colspan="2" align="center" class="py-3">
@@ -854,7 +854,7 @@ else if ($dopost == 'attsDlg') {
echo "<table width='100%' style='display:inline-block;z-index:9000'>";
?>
<tr>
<td width="90" class="bline">&nbsp;属性:</td>
<td width="90" class="bline"> 属性:</td>
<td class="bline">
<input type="hidden" name="oldflag" value="<?php echo $arcRow['flag']; ?>">
<?php
@@ -862,13 +862,13 @@ else if ($dopost == 'attsDlg') {
$dsql->Execute();
while ($trow = $dsql->GetObject()) {
if ($trow->att == 'j' || $trow->att == 'p') continue;
echo "<input class='np' type='radio' name='flagname' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}] ";
echo "<label class='mr-1'><input type='radio' name='flagname' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>";
}
?>
</td>
</tr>
<tr>
<td width="90" class="bline">&nbsp;文档ID:</td>
<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>
</tr>
<tr>


+ 7
- 10
src/admin/article_coonepage_rule.php View File

@@ -56,29 +56,26 @@ else if ($action == 'editload') {
<input type="hidden" name="action" value="editsave">
<table width="430" cellspacing="0" cellpadding="0">
<tr>
<td width="102" >网站名称:</td>
<td width="302"><input name="title" type="text" id="title" style="width:200px" value="<?php echo $row['title']; ?>"></td>
<td width="26" align="center"><a href="javascript:CloseEditNode()" class="mr-3"><i class="fa fa-window-close-o"></i></a></td>
<td width="90">网站名称:</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 name="issource" type="radio" 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 name="url" type="text" id="url" value="<?php echo $row['url']; ?>" style="width:200px" />
</td>
<td colspan="2"><input type="text" name="url" id="url" value="<?php echo $row['url']; ?>" style="width:260px"></td>
</tr>
<tr>
<td></td>


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

@@ -81,5 +81,5 @@ $dlist->Display();
function GetSta($sta)
{
if ($sta == 1) return '';
else return ' checked="1" ';
else return 'checked="1"';
}

+ 4
- 4
src/admin/article_select_sw.php View File

@@ -14,7 +14,7 @@ header("Expires:0");
if ($t == 'source') {
$m_file = DEDEDATA."/admin/source.txt";
$allsources = file($m_file);
echo "<div class='coolbg4'>[<a href=\"javascript:OpenMyWin('article_source_edit.php');ClearDivCt('mysource');\">设置</a>]&nbsp;";
echo "<div class='coolbg4'>[<a href=\"javascript:OpenMyWin('article_source_edit.php');ClearDivCt('mysource');\">设置</a>]";
echo "[<a href='javascript:;' onclick='javascript:HideObj(\"mysource\");ChangeFullDiv(\"hide\");'>关闭</a>]</div>\r\n<div class='wsselect'>\r\n";
foreach ($allsources as $v) {
$v = trim($v);
@@ -22,11 +22,11 @@ if ($t == 'source') {
echo "<a href='javascript:;' onclick='javascript:PutSource(\"$v\")'>$v</a> | \r\n";
}
}
echo "</div><div class='coolbg5'>&nbsp;</div>";
echo "</div><div class='coolbg5'> </div>";
} else {
//作者列表
$m_file = DEDEDATA."/admin/writer.txt";
echo "<div class='coolbg4'>[<a href=\"javascript:OpenMyWin('article_writer_edit.php');ClearDivCt('mywriter');\">设置</a>]&nbsp;";
echo "<div class='coolbg4'>[<a href=\"javascript:OpenMyWin('article_writer_edit.php');ClearDivCt('mywriter');\">设置</a>]";
echo "[<a href='javascript:;' onclick='javascript:HideObj(\"mywriter\");ChangeFullDiv(\"hide\");'>关闭</a>]</div>\r\n<div class='wsselect'>\r\n";
if (filesize($m_file) > 0) {
$fp = fopen($m_file, 'r');
@@ -40,5 +40,5 @@ if ($t == 'source') {
}
}
}
echo "</div><div class='coolbg5'>&nbsp;</div>\r\n";
echo "</div><div class='coolbg5'> </div>\r\n";
}

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

@@ -34,6 +34,6 @@ $win->AddHidden('id', $id);
$win->AddHidden('dopost', 'ok');
$win->AddTitle("您要确定要删除栏目:[{$row['typename']}] 吗");
$win->AddItem('栏目的文件保存目录:', $row['typedir']);
$win->AddItem('是否删除文件:', "<label><input type='radio' name='delfile' class='np' value='no' checked='1' /> 否</label> <label>&nbsp;<input type='radio' name='delfile' class='np' value='yes' /> 是</label>");
$win->AddItem('是否删除文件:', "<label><input type='radio' name='delfile' value='no' checked='1'> 否</label> <label><input type='radio' name='delfile' value='yes'> 是</label>");
$winform = $win->GetWindow('ok');
$win->Display();

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

@@ -167,8 +167,8 @@ if ($dopost == 'time') {
<tr>
<td width="160" class="bline" align="center">是否支持投稿:</td>
<td class="bline">
<label><input type='radio' name='issend' value='0' class='np' <?php if ($myrow['issend'] == "0") echo " checked='1' "; ?>>&nbsp;不支持</label>
<label><input type='radio' name='issend' value='1' class='np' <?php if ($myrow['issend'] == "1") echo " checked='1' "; ?>>&nbsp;支持</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>
</td>
</tr>
<tr>
@@ -184,11 +184,11 @@ if ($dopost == 'time') {
</tr>
<tr>
<td class="bline" align="center">栏目名称:</td>
<td class="bline"><input name="typename" type="text" id="typename" value="<?php echo $myrow['typename'] ?>" style="width:260px" class="iptxt"></td>
<td class="bline"><input type="text" name="typename" value="<?php echo $myrow['typename'] ?>" style="width:260px" class="iptxt"></td>
</tr>
<tr>
<td class="bline" align="center"> 排列顺序:</td>
<td class="bline"> <input name="sortrank" type="text" value="<?php echo $myrow['sortrank'] ?>" style="width:100px" class="iptxt">(由低 &gt; 高)</td>
<td class="bline"> <input type="text" name="sortrank" value="<?php echo $myrow['sortrank'] ?>" style="width:100px" class="iptxt">(由低 &gt; 高)</td>
</tr>
<tr>
<td class="bline" align="center">浏览权限:</td>
@@ -209,26 +209,26 @@ if ($dopost == 'time') {
</tr>
<tr>
<td class="bline" align="center">文件保存目录:</td>
<td class="bline"><input name="typedir" type="text" id="typedir" value="<?php echo $myrow['typedir'] ?>" style="width:260px"class="iptxt"></td>
<td class="bline"><input type="text" name="typedir" value="<?php echo $myrow['typedir'] ?>" style="width:260px" class="iptxt"></td>
</tr>
<tr>
<td align="center" class="bline">栏目列表选项:</td>
<td class="bline">
<label><input type='radio' name='isdefault' value='1' class='np' <?php if ($myrow['isdefault'] == 1) echo " checked='1' "; ?>>&nbsp;链接到默认页</label>
<label><input type='radio' name='isdefault' value='0' class='np' <?php if ($myrow['isdefault'] == 0) echo " checked='1' "; ?>>&nbsp;链接到列表第一页</label>
<label><input type='radio' name='isdefault' value='-1' class='np' <?php if ($myrow['isdefault'] == -1) echo " checked='1' "; ?>>&nbsp;使用动态页</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>
<td class="bline" align="center">默认页的名称:</td>
<td class="bline"><input name="defaultname" type="text" value="<?php echo $myrow['defaultname'] ?>" style="width:260px" class="iptxt"></td>
<td class="bline"><input type="text" name="defaultname" value="<?php echo $myrow['defaultname'] ?>" style="width:260px" class="iptxt"></td>
</tr>
<tr>
<td class="bline" align="center">栏目属性:</td>
<td class="bline">
<label><input name="ispart" type="radio" id="radio" value="0" class='np' <?php if ($myrow['ispart'] == 0) echo " checked='1' "; ?>>&nbsp;最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label><br>
<label><input name="ispart" type="radio" id="radio2" value="1" class='np' <?php if ($myrow['ispart'] == 1) echo " checked='1' "; ?>>&nbsp;频道封面(栏目本身不允许发布文档)</label><br>
<label><input name="ispart" type="radio" id="radio3" value="2" class='np' <?php if ($myrow['ispart'] == 2) echo " checked='1' "; ?>>&nbsp;外部连接(在"文件保存目录"处填写网址)</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>


+ 1
- 1
src/admin/css/frame.css View File

@@ -1 +1 @@
*{margin:0;padding:0;letter-spacing:.4px;box-sizing:border-box}body{line-height:1.5;font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;overflow:hidden}body.hidemenu{background:none}a,a:hover{text-decoration:none}ul,li{list-style:none}input[type=text]{padding:.2rem;width:140px;height:20px;line-height:20px;font-size:12px;border-width:1px;border-style:solid;border-color:#fff;background:#fff;vertical-align:middle}input[type=text]:focus{box-shadow:none;outline:none}.head{position:relative;width:100%;height:90px;overflow:hidden;z-index:8}.top{width:100%;height:50px;background:linear-gradient(45deg,#008e38,#57960f 50%);overflow:hidden;clear:both}.top .top_logo{float:left;margin-left:30px}.top .top_dedebiz a{float:left;height:50px;line-height:50px;font-size:18px;font-weight:600;color:#fff}.top .top_version{float:left;margin-top:16px;margin-left:10px;color:#fff}.top .btn-primary{float:left;margin-top:14px;margin-left:10px;padding:1px 2px;line-height:12px;font-size:12px;color:#fff}.top .btn-warning{float:left;margin-top:14px;margin-left:10px;padding:1px 2px;line-height:12px;font-size:12px;color:#fff}.top .top_link{float:right;height:50px;line-height:50px;margin-right:30px}.top .top_link ul li.welcome img{margin-right:10px;width:30px;height:30px;border-radius:50%;vertical-align:middle}.top .top_link ul li{float:left}.top .top_link ul li a{padding-left:20px;color:#fff}.top .top_link ul li a:hover{color:#dee2e6}.topnav{width:100%;height:40px;line-height:40px;background:#424b51;overflow:hidden}.topnav .menuact{float:left;padding-left:30px;overflow:hidden}.topnav .menuact a{padding-right:10px;color:#dee2e6}.topnav .menuact a:hover{color:#fff}.sysmsg{float:right;padding-right:30px;overflow:hidden}.scroll a{padding-left:10px;color:#dee2e6}body.showmenu .left{display:block}body.hidemenu .left{display:none}body.showmenu .right{left:220px}body.hidemenu .right{left:0}.left{position:absolute;top:90px;width:220px;left:0;bottom:0;z-index:7}.menu{height:100%}.menu iframe{width:100%;height:100%;z-index:20}.right{position:absolute;right:0;top:90px;bottom:0;z-index:7}.main{height:100%}.main iframe{width:100%;height:100%;z-index:20}.qucikmenu{position:absolute;right:10px;top:30px;z-index:9;display:none}.qucikmenu ul{width:110px;background:#fff;border:1px solid #e6e6e6}.qucikmenu ul li{display:block;text-align:left}.qucikmenu ul li a{display:block;padding:0 10px;height:30px;line-height:30px;color:#424b51}.qucikmenu ul li a:hover{background:#f8f8f8}.pagemask{position:absolute;display:none;width:100%;height:100%;background:#cdcdcd;opacity:.6;z-index:100}.iframemask{position:absolute;display:none;z-index:80;top:0;left:0;width:100%;height:100%;background:#fff;border:none;opacity:0}.allmenu{position:absolute;display:none;margin-left:-400px;padding:10px;width:800px;top:90px;left:50%;background:#fff;border-radius:.2rem;z-index:999}.allmenu .allmenu-box{margin:0 auto;text-align:left;overflow:hidden;padding-left:2px}.maptop{margin-left:-1px;padding-right:6px;padding-left:6px;float:left;width:130px;overflow:hidden}.maptop dt.bigitem{padding:6px 10px;line-height:18px;color:#fff;background:#424b51}.mapitem dt{line-height:30px;text-indent:10px;background:#EFF1F1}.mapitem ul{margin-top:10px;margin-bottom:10px}.mapitem ul li{line-height:26px;text-indent:20px;background:url(../../static/web/img/arrr.gif)0 8px no-repeat}.allmenu a{color:#424b51}.allmenu a:hover{color:#dc3545}#login .theme{margin-top:20px;padding:10px;width:70%;clear:both}#login .theme li{margin:10px 0;overflow:hidden}#login .theme span{display:inline-block;float:left;width:150px;line-height:26px;color:#424b51;text-align:right}.allsearch{border:1px solid #fff;border-radius:.2rem}.np{margin-left:10px;width:40px;height:20px;line-height:20px;font-size:12px;color:#fff;background:#57960f;border-radius:.2rem;border:0;cursor:pointer}
*{margin:0;padding:0;letter-spacing:.4px;box-sizing:border-box}body{line-height:1.5;font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;overflow:hidden}body.hidemenu{background:none}a,a:hover{text-decoration:none}ul,li{list-style:none}input[type=text]{padding:.2rem;width:140px;height:20px;line-height:20px;font-size:12px;border-width:1px;border-style:solid;border-color:#fff;background:#fff;vertical-align:middle}input[type=text]:focus{box-shadow:none;outline:none}.head{position:relative;width:100%;height:90px;overflow:hidden;z-index:8}.top{width:100%;height:50px;background:linear-gradient(45deg,#008e38,#57960f 50%);overflow:hidden;clear:both}.top .top_logo{float:left;margin-left:30px}.top .top_dedebiz a{float:left;height:50px;line-height:50px;font-size:18px;font-weight:600;color:#fff}.top .top_version{float:left;margin-top:16px;margin-left:10px;color:#fff}.top .btn-primary{float:left;margin-top:14px;margin-left:10px;padding:2px;line-height:12px;font-size:12px;color:#fff}.top .btn-warning{float:left;margin-top:14px;margin-left:10px;padding:2px;line-height:12px;font-size:12px;color:#fff}.top .top_link{float:right;height:50px;line-height:50px;margin-right:30px}.top .top_link ul li.welcome img{margin-right:10px;width:30px;height:30px;border-radius:50%;vertical-align:middle}.top .top_link ul li{float:left}.top .top_link ul li a{padding-left:20px;color:#fff}.top .top_link ul li a:hover{color:#dee2e6}.topnav{width:100%;height:40px;line-height:40px;background:#424b51;overflow:hidden}.topnav .menuact{float:left;padding-left:30px;overflow:hidden}.topnav .menuact a{padding-right:10px;color:#dee2e6}.topnav .menuact a:hover{color:#fff}.sysmsg{float:right;padding-right:30px;overflow:hidden}.scroll a{padding-left:10px;color:#dee2e6}body.showmenu .left{display:block}body.hidemenu .left{display:none}body.showmenu .right{left:230px}body.hidemenu .right{left:0}.left{position:absolute;top:90px;width:230px;left:0;bottom:0;z-index:7}.menu{height:100%}.menu iframe{width:100%;height:100%;z-index:20}.right{position:absolute;right:0;top:90px;bottom:0;z-index:7}.main{height:100%}.main iframe{width:100%;height:100%;z-index:20}.qucikmenu{position:absolute;right:10px;top:30px;z-index:9;display:none}.qucikmenu ul{width:110px;background:#fff;border:1px solid #e6e6e6}.qucikmenu ul li{display:block;text-align:left}.qucikmenu ul li a{display:block;padding:0 10px;height:30px;line-height:30px;color:#424b51}.qucikmenu ul li a:hover{background:#f8f8f8}.pagemask{position:absolute;display:none;width:100%;height:100%;background:#cdcdcd;opacity:.6;z-index:100}.iframemask{position:absolute;display:none;z-index:80;top:0;left:0;width:100%;height:100%;background:#fff;border:none;opacity:0}.allmenu{position:absolute;display:none;margin-left:-400px;padding:10px;width:800px;top:90px;left:50%;background:#fff;border-radius:.2rem;z-index:999}.allmenu .allmenu-box{margin:0 auto;text-align:left;overflow:hidden;padding-left:2px}.maptop{margin-left:-1px;padding-right:6px;padding-left:6px;float:left;width:130px;overflow:hidden}.maptop dt.bigitem{padding:6px 10px;line-height:18px;color:#fff;background:#424b51}.mapitem dt{line-height:30px;text-indent:10px;background:#EFF1F1}.mapitem ul{margin-top:10px;margin-bottom:10px}.mapitem ul li{line-height:26px;text-indent:20px;background:url(../../static/web/img/arrr.gif)0 8px no-repeat}.allmenu a{color:#424b51}.allmenu a:hover{color:#dc3545}#login .theme{margin-top:20px;padding:10px;width:70%;clear:both}#login .theme li{margin:10px 0;overflow:hidden}#login .theme span{display:inline-block;float:left;width:150px;line-height:26px;color:#424b51;text-align:right}.allsearch{border:1px solid #fff;border-radius:.2rem}.search{margin-left:10px;width:40px;height:20px;line-height:20px;font-size:12px;color:#fff;background:#57960f;border-radius:.2rem;border:0;cursor:pointer}

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

@@ -149,8 +149,8 @@ a{text-decoration:none!important}
<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="resize" value="1" class="np"> 缩小 </label>
<label><input type="checkbox" name="needwatermark" value="1" <?php if ($photo_markup == '1') echo "checked"; ?> /> 水印 </label>
<label><input type="checkbox" name="resize" value="1"> 缩小 </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">
<button type="submit" name="sb1" class="btn btn-success btn-sm">上传</button>


+ 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"; ?>>&nbsp;是否水印&nbsp;</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>


+ 7
- 7
src/admin/file_manage_view.php View File

@@ -21,7 +21,7 @@ else $inpath = $cfg_basedir.$activepath;
if ($fmdo == "rename") {
if ($activepath == "") $ndirstring = "根目录";
$ndirstring = $activepath;
$wintitle = "&nbsp;文件管理";
$wintitle = "文件管理";
$wecome_info = "文件管理::修改文件名 [<a href='file_manage_main.php?activepath=$activepath'>文件浏览器</a>]</a>";
$win = new OxWindow();
$win->Init("file_manage_control.php", "js/blank.js", "POST");
@@ -38,8 +38,8 @@ if ($fmdo == "rename") {
else if ($fmdo == "newdir") {
if ($activepath == "") $activepathname = "根目录";
else $activepathname = $activepath;
$wintitle = "&nbsp;文件管理";
$wecome_info = "&nbsp;文件管理::新建目录 [<a href='file_manage_main.php?activepath=$activepath'>文件浏览器</a>]</a>";
$wintitle = "文件管理";
$wecome_info = "文件管理::新建目录 [<a href='file_manage_main.php?activepath=$activepath'>文件浏览器</a>]</a>";
$win = new OxWindow();
$win->Init("file_manage_control.php", "js/blank.js", "POST");
$win->AddHidden("fmdo", $fmdo);
@@ -52,8 +52,8 @@ else if ($fmdo == "newdir") {
}
//移动文件
else if ($fmdo == "move") {
$wintitle = "&nbsp;文件管理";
$wecome_info = "&nbsp;文件管理::移动文件 [<a href='file_manage_main.php?activepath=$activepath'>文件浏览器</a>]</a>";
$wintitle = "文件管理";
$wecome_info = "文件管理::移动文件 [<a href='file_manage_main.php?activepath=$activepath'>文件浏览器</a>]</a>";
$win = new OxWindow();
$win->Init("file_manage_control.php", "js/blank.js", "POST");
$win->AddHidden("fmdo", $fmdo);
@@ -68,8 +68,8 @@ else if ($fmdo == "move") {
}
//删除文件
else if ($fmdo == "del") {
$wintitle = "&nbsp;文件管理";
$wecome_info = "&nbsp;文件管理::删除文件 [<a href='file_manage_main.php?activepath=$activepath'>文件浏览器</a>]</a>";
$wintitle = "文件管理";
$wecome_info = "文件管理::删除文件 [<a href='file_manage_main.php?activepath=$activepath'>文件浏览器</a>]</a>";
$win = new OxWindow();
$win->Init("file_manage_control.php", "js/blank.js", "POST");
$win->AddHidden("fmdo", $fmdo);


+ 4
- 4
src/admin/inc/inc_archives_all.php View File

@@ -49,9 +49,9 @@ function GetFormItem($ctag)
$i = 0;
if ($v != '') {
if ($i == 0) {
$myformItem .= "<label><input type='radio' name='$fieldname' class='np' value='$v' checked> $v</label>\r\n";
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v' checked> $v</label>\r\n";
} else {
$myformItem .= "<label><input type='radio' name='$fieldname' class='np' value='$v'> $v</label>\r\n";
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v'> $v</label>\r\n";
}
}
}
@@ -249,9 +249,9 @@ function GetFormItemValue($ctag, $fvalue)
$v = trim($v);
if ($v != '') {
if ($fvalue == $v) {
$myformItem .= "<label><input type='radio' name='$fieldname' class='np' value='$v' checked> $v</label>\r\n";
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v' checked> $v</label>\r\n";
} else {
$myformItem .= "<label><input type='radio' name='$fieldname' class='np' value='$v'> $v</label>\r\n";
$myformItem .= "<label><input type='radio' name='$fieldname' value='$v'> $v</label>\r\n";
}
}
}


+ 2
- 2
src/admin/inc/inc_archives_functions.php View File

@@ -12,7 +12,7 @@ require_once(DEDEINC.'/libraries/dedehttpdown.class.php');
require_once(DEDEINC.'/image.func.php');
require_once(DEDEINC.'/archive/partview.class.php');
$backurl = !empty($_COOKIE['ENV_GOBACK_URL']) ? $_COOKIE['ENV_GOBACK_URL'] : '';
$backurl = preg_match("#content_#", $backurl) ? "<a href='$backurl' class='btn btn-success btn-sm'>记忆的列表页</a> &nbsp;" : '';
$backurl = preg_match("#content_#", $backurl) ? "<a href='$backurl' class='btn btn-success btn-sm'>记忆的列表页</a>" : '';
if (!isset($_NOT_ARCHIVES)) {
require_once(DEDEINC.'/customfields.func.php');
}
@@ -800,7 +800,7 @@ function GetUpdateTest()
if ($cfg_make_andcat == 'Y') $dolist .= empty($dolist) ? 'makeparenttype' : ',makeparenttype';
$dolists = explode(',', $dolist);
$jumpUrl = "task_do.php?typeid={$typeid}&aid={$arcID}&dopost={$dolists[0]}&nextdo=".preg_replace("#".$dolists[0]."[,]{0,1}#", '', $dolist);
$revalue = "<table width='80%' style='border:1px dashed #cdcdcd;margin-left:20px;margin-bottom:15px' id='tgtable' align='left'><tr><td bgcolor='#EBF5C9'>&nbsp;正在进行相关内容更新,请完成前不要进行其它操作:\r\n</td></tr>\r\n";
$revalue = "<table width='80%' style='border:1px dashed #cdcdcd;margin-left:20px;margin-bottom:15px' id='tgtable' align='left'><tr><td bgcolor='#EBF5C9'> 正在进行相关内容更新,请完成前不要进行其它操作:\r\n</td></tr>\r\n";
$revalue .= "<tr><td>\r\n<iframe name='stafrm' frameborder='0' id='stafrm' width='100%' height='200px' src='$jumpUrl'></iframe>\r\n</td></tr>\r\n";
$revalue .= "</table>";
} else {


+ 3
- 3
src/admin/index_body.php View File

@@ -51,7 +51,7 @@ else if ($dopost == 'setskin') {
if(trim($row['editcon'])==''){
$row['editcon'] = 'archives_edit.php';
}
$rowarcrank = $row['arcrank']==-1? "&nbsp;<span class='text-danger'>[未审核]</span>":"";
$rowarcrank = $row['arcrank']==-1? " <span class='text-danger'>[未审核]</span>":"";
$pubdate = GetDateMk($row['pubdate']);
echo "<tr><td><a href='{$row['editcon']}?aid={$row['id']}&channelid={$row['channel']}'>{$row['title']}</a>{$rowarcrank}</td><td width='90'>{$pubdate}</td></tr>";
}
@@ -132,8 +132,8 @@ else if ($dopost == 'setskin') {
));
exit;
} elseif ($dopost == 'safe_mode') {
$safemsg = "当前系统环境运行模式为【安全模式】,安全模式下将无法使用后台“模板管理”、“标签管理”、“数据库管理”、“模块管理”等功能,如果您需要使用上述功能,可在`/system/common.inc.php`中,将`DEDEBIZ_SAFE_MODE`后面值TRUE更改为FALSE";
$unsafemsg = "当前系统环境运行模式为【非安全模式】,系统中“模板管理”、“标签管理”、“数据库管理”、“模块管理”等功能使用不当会存在一定的安全风险,建议您在`/system/common.inc.php`中,将`DEDEBIZ_SAFE_MODE`后面值FALSE更改为TRUE";
$safemsg = "系统环境运行模式为:安全模式,安全模式下无法使用“模板管理”、“标签管理”、“数据库管理”、“模块管理”等功能,如果您需要使用这些功能,在/system/common.inc.php文件中代码`DEDEBIZ_SAFE_MODE`后面值TRUE修改为FALSE";
$unsafemsg = "系统环境运行模式为:非安全模式,系统“模板管理”、“标签管理”、“数据库管理”、“模块管理”等功能,存在一定安全风险,强烈建议,您在/system/common.inc.php文件中代码`DEDEBIZ_SAFE_MODE`后面值FALSE修改为TRUE";
$modeStr = DEDEBIZ_SAFE_MODE? $safemsg : $unsafemsg;
ShowMsg($modeStr, "javascript:;");
exit;


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

@@ -123,29 +123,29 @@ if (!function_exists('IsWritable')) {
$safeMsg = array();
$dirname = str_replace('index_body.php', '', strtolower($_SERVER['PHP_SELF']));
if (preg_match("#[\\|/]admin[\\|/]#", $dirname)) {
$safeMsg[] = '后台管理目录名称默认名称admin,强烈建议您进行修改';
$safeMsg[] = '后台管理名称包默认名称admin,强烈建议您进行修改';
}
if (IsWritable(DEDEDATA.'/common.inc.php')) {
$safeMsg[] = '数据安全data/common.inc.php文件,强烈建议以管理员级别设置为644或只读';
$safeMsg[] = '数据配置data/common.inc.php文件,强烈建议以管理员权限设置禁止写入和执行';
}
if (!IsSSL()) {
$safeMsg[] = '当前站点尚未启用https,强烈建议您启用';
$safeMsg[] = '站点尚未启用https,强烈建议您做安全证书';
}
if (version_compare(PHP_VERSION, '5.3.0', '<')) {
$safeMsg[] = 'PHP请升级到5.3及以上版本,低版本PHP环境将无法正常使用本系统';
$safeMsg[] = 'php版本过低会无法正常使用系统,强烈建议升级到php7.x';
}
if (!DEDEBIZ_SAFE_MODE) {
$safeMsg[] = '当前系统运行环境为【非安全模式】,强烈建议启用安全模式 <a href="index_body.php?dopost=safe_mode" class="btn btn-success btn-sm">查看</a>';
$safeMsg[] = '系统运行环境为:非安全模式,强烈建议启用安全模式 <a href="index_body.php?dopost=safe_mode" class="btn btn-success btn-sm">查看</a>';
}
$rs = TestAdminPWD();
if ($rs < 0) {
$linkurl = "<a href='sys_admin_user.php' class='btn btn-success btn-sm'>修改</a>";
$linkurl = '<a href="sys_admin_user.php" class="btn btn-success btn-sm">修改</a>';
switch ($rs) {
case -1:
$msg = "没有修改默认管理员名称admin,强烈建议您进行修改 {$linkurl}";
$msg = "默认管理员名称admin没有修改,建议您修改 {$linkurl}";
break;
case -2:
$msg = "没有修改默认管理员名称和密码,强烈建议您进行修改 {$linkurl}";
$msg = "默认管理员名称和密码没有修改,建议您修改 {$linkurl}";
break;
}
$safeMsg[] = $msg;


+ 2
- 2
src/admin/member_main.php View File

@@ -82,6 +82,6 @@ function GetMemberName($rank, $mt)
function GetMAtt($m)
{
if ($m < 1) return '';
else if ($m == 10) return "&nbsp;<span class='text-danger'>[管理员]</span>";
else return "&nbsp;<i class=\"fa fa-user-o\" aria-hidden=\"true\"></i> <span class='text-danger'>[荐]</span>";
else if ($m == 10) return " <span class='text-danger'>[管理员]</span>";
else return " <i class=\"fa fa-user-o\" aria-hidden=\"true\"></i> <span class='text-danger'>[荐]</span>";
}

+ 7
- 9
src/admin/module_main.php View File

@@ -161,7 +161,7 @@ else if ($action == 'setup') {
if (($devInfo['dev_id'] == $infos['dev_id']) && !empty($devInfo['dev_id'])) {
$s = "已认证";
}
$win->AddTitle("&nbsp;<a href='module_main.php'>模块管理</a> &gt; 安装模块:{$infos['name']}");
$win->AddTitle("<a href='module_main.php'>模块管理</a> &gt; 安装模块:{$infos['name']}");
$win->AddHidden("hash", $hash);
$win->AddHidden("action", 'setupstart');
$msg = "<style>.dtb{border-bottom:1px dotted #eee}</style>
@@ -204,15 +204,13 @@ else if ($action == 'setup') {
<td></td>
</tr>
<tr>
<td height='160' colspan='2'>
<textarea name='filelists' id='filelists' style='width:98%;height:160px'>{$filelist}</textarea>
</td>
<td height='160' colspan='2'><textarea name='filelists' id='filelists' style='width:98%;height:160px'>{$filelist}</textarea></td>
</tr>
<tr>
<td>对于已存在文件处理方法:</td>
<td>
<label><input name='isreplace' type='radio' value='1' checked='checked'> 覆盖</label>
<label><input name='isreplace' type='radio' value='3'> 覆盖,保留副本</label>
<label><input type='radio' name='isreplace' value='1' checked='checked'> 覆盖</label>
<label><input type='radio' name='isreplace' value='3'> 覆盖,保留副本</label>
<label><input type='radio' name='isreplace' value='0'> 保留旧文件</label>
</td>
</tr>
@@ -347,7 +345,7 @@ function UnInstall();
else if ($action == 'uninstall') {
$dm = new DedeModule($mdir);
$infos = $dm->GetModuleInfo($hash);
if ($infos['url'] == '') $infos['url'] = '&nbsp;';
if ($infos['url'] == '') $infos['url'] = ' ';
$alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '<br>(这个模块的语言编码与您系统的编码不一致,请向开发者确认它的兼容性)');
$filelists = (array)$dm->GetFileLists($hash);
$filelist = '';
@@ -403,7 +401,7 @@ else if ($action == 'uninstall') {
<td>对于模块的文件处理方法:</td>
<td>
<label><input type='radio' name='isreplace' value='0' checked='checked'> 手工删除文件,仅运行卸载程序</label>
<label><input name='isreplace' type='radio' value='2'> 删除模块的所有文件</label>
<label><input type='radio' name='isreplace' value='2'> 删除模块的所有文件</label>
</td>
</tr>
</table>";
@@ -474,7 +472,7 @@ function ViewOne();
else if ($action == 'view') {
$dm = new DedeModule($mdir);
$infos = $dm->GetModuleInfo($hash);
if ($infos['url'] == '') $infos['url'] = '&nbsp;';
if ($infos['url'] == '') $infos['url'] = ' ';
$alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '<br>(这个模块的语言编码与您系统的编码不一致,请向开发者确认它的兼容性)');
$filelists = (array)$dm->GetFileLists($hash);
$filelist = '';


+ 4
- 4
src/admin/module_upload.php View File

@@ -86,17 +86,17 @@ if ($action == 'upload') {
<tr>
<td width='260' >文件格式:</td>
<td>
<label><input name='filetype' type='radio' value='0' checked='checked' /> 正常的模块包</label>
<label><input type='radio' name='filetype' value='1' /> 经过 zip 压缩的模块包</label>
<label><input type='radio' name='filetype' value='0' checked='checked'> 正常的模块包</label>
<label><input type='radio' name='filetype' value='1'> 经过zip压缩的模块包</label>
</td>
</tr>
<tr>
<td>已有模块:</td>
<td><label><input name='delhas' type='checkbox' id='delhas' value='1' /> 强制删除同名模块(这可能导致已经安装的模块无法卸载)</label></td>
<td><label><input type='checkbox' name='delhas' id='delhas' value='1'> 强制删除同名模块(这可能导致已经安装的模块无法卸载)</label></td>
</tr>
<tr>
<td>请选择文件:</td>
<td><input name='upfile' type='file' id='upfile' style='width:380px' /></td>
<td><input name='upfile' type='file' id='upfile' style='width:380px'></td>
</tr>
</table>";
$win->AddMsgItem("<div style='line-height:26px'>$msg</div>");


+ 21
- 22
src/admin/mychannel_edit.php View File

@@ -52,10 +52,10 @@ else if ($dopost == "copystart") {
}
$row = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE id='$id'");
$wintitle = "频道管理-模型复制";
$wecome_info = "&nbsp;<a href='mychannel_main.php'>频道管理</a>::模型复制";
$wecome_info = "<a href='mychannel_main.php'>频道管理</a>::模型复制";
$win = new OxWindow();
$win->Init("mychannel_edit.php", "js/blank.js", "post");
$win->AddTitle("&nbsp;被复制频道:[<span class='text-danger'>".$row['typename']."</span>]");
$win->AddTitle("被复制频道:[<span class='text-danger'>".$row['typename']."</span>]");
$win->AddHidden("cid", $id);
$win->AddHidden("id", $id);
$win->AddHidden("dopost", 'copysave');
@@ -67,22 +67,21 @@ else if ($dopost == "copystart") {
</tr>
<tr>
<td align='center'>新频道名称:</td>
<td><input name='newtypename' type='text' id='newtypename' value='{$row['typename']}{$idname}' style='width:250px' /></td>
<td><input name='newtypename' type='text' id='newtypename' value='{$row['typename']}{$idname}' style='width:260px' /></td>
</tr>
<tr>
<td align='center'>新频道标识:</td>
<td><input name='newnid' type='text' id='newnid' value='{$row['nid']}{$idname}' style='width:250px' /></td>
<td><input name='newnid' type='text' id='newnid' value='{$row['nid']}{$idname}' style='width:260px' /></td>
</tr>
<tr>
<td align='center'>新附加表:</td>
<td><input name='newaddtable' type='text' id='newaddtable' value='{$row['addtable']}{$idname}' style='width:250px' /></td>
<td><input name='newaddtable' type='text' id='newaddtable' value='{$row['addtable']}{$idname}' style='width:260px' /></td>
</tr>
<tr>
<td align='center'>复制模板:</td>
<td>
<label><input name='copytemplet' type='radio' id='copytemplet' value='1' class='np' checked='checked' /> 复制</label>
&nbsp;
<label><input name='copytemplet' type='radio' id='copytemplet' class='np' value='0' /> 不复制</label>
<label><input type='radio' name='copytemplet' id='copytemplet' value='1' checked='checked'> 复制</label>
<label><input type='radio' name='copytemplet' id='copytemplet' value='0'> 不复制</label>
</td>
</tr>
</table>
@@ -329,11 +328,11 @@ function __GetTemplate()
else if ($dopost == "gettemplets") {
require_once(DEDEINC."/libraries/oxwindow.class.php");
$row = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE id='$id'");
$wintitle = "&nbsp;频道管理-查看模板";
$wintitle = "频道管理-查看模板";
$wecome_info = "<a href='mychannel_main.php'>频道管理</a>::查看模板";
$win = new OxWindow();
$win->Init("", "js/blank.js", "");
$win->AddTitle("&nbsp;频道[".$row['typename']."]默认模板文件说明:");
$win->AddTitle("频道[".$row['typename']."]默认模板文件说明:");
$defaulttemplate = $cfg_templets_dir.'/'.$cfg_df_style;
$msg = "
文档模板:{$defaulttemplate}/article_{$row['nid']}.htm
@@ -443,11 +442,11 @@ else if ($dopost == 'modifysearch') {
$c3 = in_array('writer', $searchinfo['mainfields']) ? 'checked' : '';
$c4 = in_array('source', $searchinfo['mainfields']) ? 'checked' : '';
$c5 = in_array('senddate', $searchinfo['mainfields']) ? 'checked' : '';
$mainfields = '<label><input type="checkbox" name="mainfields[]" '.$c1.' value="iscommend" class="np" /> 是否推荐</label> ';
$mainfields .= '<label><input type="checkbox" name="mainfields[]" '.$c2.' value="typeid" class="np" /> 栏目</label> ';
$mainfields .= '<label><input type="checkbox" name="mainfields[]" '.$c3.' value="writer" class="np" /> 作者</label> ';
$mainfields .= '<label><input type="checkbox" name="mainfields[]" '.$c4.' value="source" class="np" /> 来源</label> ';
$mainfields .= '<label><input type="checkbox" name="mainfields[]" '.$c5.' value="senddate" class="np" /> 发布时间</label> ';
$mainfields = '<label><input type="checkbox" name="mainfields[]" '.$c1.' value="iscommend" /> 是否推荐</label> ';
$mainfields .= '<label><input type="checkbox" name="mainfields[]" '.$c2.' value="typeid" /> 栏目</label> ';
$mainfields .= '<label><input type="checkbox" name="mainfields[]" '.$c3.' value="writer" /> 作者</label> ';
$mainfields .= '<label><input type="checkbox" name="mainfields[]" '.$c4.' value="source" /> 来源</label> ';
$mainfields .= '<label><input type="checkbox" name="mainfields[]" '.$c5.' value="senddate" /> 发布时间</label> ';
/*
$mainfields .= '<label><input type="checkbox" name="mainfields[]" value="description" />摘要</label>';
$mainfields .= '<label><input type="checkbox" name="mainfields[]" value="keywords" />关键词</label>';
@@ -464,9 +463,9 @@ else if ($dopost == 'modifysearch') {
$dtp->LoadSource($channel['fieldset']);
if ($channel['issystem'] < 0) {
$checked = in_array('typeid', $addonfieldsarr) ? 'checked' : '';
$addonfields .= '<label><input type="checkbox" name="addonfields[]" '.$checked.' value="typeid" class="np" /> 栏目</label> ';
$addonfields .= '<label><input type="checkbox" name="addonfields[]" '.$checked.' value="typeid" /> 栏目</label> ';
$checked = in_array('senddate', $addonfieldsarr) ? 'checked' : '';
$addonfields .= '<label><input type="checkbox" name="addonfields[]" '.$checked.' value="senddate" class="np" /> 发布时间</label> ';
$addonfields .= '<label><input type="checkbox" name="addonfields[]" '.$checked.' value="senddate" /> 发布时间</label> ';
}
if (is_array($dtp->CTags) && !empty($dtp->CTags)) {
foreach ($dtp->CTags as $ctag) {
@@ -479,7 +478,7 @@ else if ($dopost == 'modifysearch') {
$label = $ctag->GetAtt('itemname');
if (in_array($datatype, $searchtype)) {
$checked = in_array($value, $addonfieldsarr) ? 'checked' : '';
$addonfields .= "<label><input type=\"checkbox\" name=\"addonfields[]\" $checked value=\"$value\" class='np' /> $label</label> ";
$addonfields .= "<label><input type=\"checkbox\" name=\"addonfields[]\" $checked value=\"$value\" /> $label</label> ";
}
}
}
@@ -583,9 +582,9 @@ else if ($dopost == 'modifysearch') {
} else if ($type == 'radio') {
$values = explode(',', $valuearr[$k]);
if (is_array($values) && !empty($values)) {
$forms .= "<br>$itemname : <label><input type=\"radio\" name=\"".$name."\" value=\"\" checked />不限</label>";
$forms .= "<br>$itemname : <label><input type=\"radio\" name=\"".$name."\" value=\"\" checked> 不限</label>";
foreach ($values as $value) {
$forms .= "<label><input type=\"radio\" name=\"".$name."\" value=\"$value\" />$value</label>";
$forms .= "<label><input type=\"radio\" name=\"".$name."\" value=\"$value\"> $value</label>";
}
}
} else if ($type == 'checkbox') {
@@ -593,7 +592,7 @@ else if ($dopost == 'modifysearch') {
if (is_array($values) && !empty($values)) {
$forms .= "<br>$itemname : ";
foreach ($values as $value) {
$forms .= "<label><input type=\"checkbox\" name=\"".$name."[]\" value=\"$value\" />$value</label>";
$forms .= "<label><input type=\"checkbox\" name=\"".$name."[]\" value=\"$value\"> $value</label>";
}
}
} elseif ($type == 'datetime') {
@@ -611,7 +610,7 @@ else if ($dopost == 'modifysearch') {
$dsql->ExecuteNoneQuery($query);
$formshtml = dede_htmlspecialchars($forms);
echo '<meta http-equiv="Content-Type" content="text/html; charset='.$cfg_soft_lang.'">';
echo "下面为生成的html表单,请自行复制,根据自己需求修改样式后粘贴到对应的模板中<br><br><textarea cols=\"100\" rows=\"10\">".$forms."</textarea>";
echo "下面为生成的html表单,请自行复制,根据自己需求修改样式后粘贴到对应的模板中<br><br><textarea cols=\"100\" rows=\"10\">".$forms."</textarea>";
echo '<br>预览:<br><hr>';
echo $forms;
}


+ 2
- 2
src/admin/plus_main.php View File

@@ -20,8 +20,8 @@ $dlist->display();
function GetSta($sta, $id, $title)
{
if ($sta == 1) {
return " &nbsp; <a href='plus_edit.php?dopost=edit&aid=$id'>修改</a> &nbsp; 启用 &gt; <a href='plus_edit.php?dopost=hide&aid=$id'>禁用</a> &nbsp; <a href='plus_edit.php?dopost=delete&aid=$id&title=".urlencode($title)."'>删除</a>";
return "<a href='plus_edit.php?dopost=edit&aid=$id'>修改</a> 启用 &gt; <a href='plus_edit.php?dopost=hide&aid=$id'>禁用</a> <a href='plus_edit.php?dopost=delete&aid=$id&title=".urlencode($title)."'>删除</a>";
} else {
return " &nbsp; <a href='plus_edit.php?aid=$id'>修改</a> &nbsp; 禁用 &gt; <a href='plus_edit.php?dopost=show&aid=$id'>启用</a> &nbsp; <a href='plus_edit.php?dopost=delete&aid=$id&title=".urlencode($title)."'>册除</a>";
return "<a href='plus_edit.php?aid=$id'>修改</a> 禁用 &gt; <a href='plus_edit.php?dopost=show&aid=$id'>启用</a> <a href='plus_edit.php?dopost=delete&aid=$id&title=".urlencode($title)."'>册除</a>";
}
}

+ 2
- 2
src/admin/soft_edit.php View File

@@ -54,10 +54,10 @@ if ($dopost != 'save') {
foreach ($dtp->CTags as $ctag) {
if ($ctag->GetName() == 'link') {
$islocal = $ctag->GetAtt('islocal');
if ($islocal != 1) $needmsg = "<input type='checkbox' name='del{$newRowStart}' value='1' /> 删除";
if ($islocal != 1) $needmsg = "<label><input type='checkbox' name='del{$newRowStart}' value='1'> 删除</label>";
else $needmsg = '<button name="sel1" class="btn btn-success btn-sm" type="button" id="sel1" onClick="SelectSoft(\'form1.softurl'.$newRowStart.'\')">选取</button>';
$nForm .= "<div style='line-height:36px'>软件地址{$newRowStart}:<input type='text' name='softurl{$newRowStart}' value='".trim($ctag->GetInnerText())."' style='width:260px'> 服务器名称:<input type='text' name='servermsg{$newRowStart}' value='".$ctag->GetAtt("text")."' style='width:160px'>
<input type='hidden' name='islocal{$newRowStart}' value='{$islocal}' />
<input type='hidden' name='islocal{$newRowStart}' value='{$islocal}'>
$needmsg
</div>\r\n";
$newRowStart++;


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

@@ -122,8 +122,8 @@ EOT;
$c1 = '';
$c2 = '';
$row['value'] == 'Y' ? $c1 = " checked" : $c2 = " checked";
echo "<label><input type='radio' class='np' name='edit___{$row['varname']}' value='Y'$c1> 是</label>";
echo "<label><input type='radio' class='np' name='edit___{$row['varname']}' value='N'$c2> 否</label>";
echo "<label><input type='radio' name='edit___{$row['varname']}' value='Y'$c1> 是</label>";
echo "<label><input type='radio' name='edit___{$row['varname']}' value='N'$c2> 否</label>";
} else if ($row['type'] == 'bstring') {
echo "<textarea name='edit___{$row['varname']}' row='4' id='edit___{$row['varname']}' class='textarea_info' style='width:98%;height:50px'>".dede_htmlspecialchars($row['value'])."</textarea>";
} else if ($row['type'] == 'number') {


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

@@ -13,12 +13,12 @@
<tr>
<td bgcolor="#f8f8f8">当前位置 &gt; 搜索结果</td>
</tr>
<tr bgcolor="#f8f8f8" align="center">
<tr bgcolor="#F8FCF1" align="center">
<td align="left">&quot;<span class="text-danger"><?php echo $keyword; ?></span>&quot;的搜索结果</td>
</tr>
<tr align="center">
<td align="center">
<?php foreach ($asresult as $row) { ?>
<?php foreach ($asresult as $row) {?>
<table width="98%" cellspacing="5" cellpadding="0" class="table table-borderless">
<tr>
<td align="left" bgcolor="#f8f8f8"><?php echo $row['toptitle'] ?> => <?php echo $row['title'] ?></td>
@@ -26,11 +26,11 @@
<tr>
<td align="center">
<table width="98%" cellspacing="0" cellpadding="5">
<?php foreach ($row['soniterm'] as $rows) { ?>
<?php foreach ($row['soniterm'] as $rows) {?>
<tr>
<td align="left"><a href="<?php echo $rows['linkurl'] ?>" target="main"><?php echo $rows['title'] ?></a><br><?php echo $rows['description'] ?></td>
</tr>
<?php } ?>
<?php }?>
</table>
</td>
</tr>


+ 8
- 11
src/admin/templets/ad_add.htm View File

@@ -83,7 +83,7 @@
<tr>
<td>
<table width="100%" cellspacing="4" cellpadding="4" class="table table-borderless">
<input name="normbody[style]" type="hidden" value="code" id="adstyle">
<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="dopost" value="save">
<tr>
@@ -91,7 +91,7 @@
</tr>
<tr>
<td>广告位标识:</td>
<td colspan="2"><input name="tagname" type="text" id="tagname" class="iptxt" style="width:260px">(使用英文或数字表示的简洁标识)</td>
<td colspan="2"><input type="text" name="tagname" id="tagname" class="iptxt" style="width:260px">(使用英文或数字表示的简洁标识)</td>
</tr>
<tr>
<td>广告分类:</td>
@@ -117,23 +117,20 @@
</tr>
<tr>
<td>广告位名称:</td>
<td colspan="2"><input name="adname" type="text" id="adname" class="iptxt" style="width:260px"></td>
<td colspan="2"><input type="text" name="adname" id="adname" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td>时间限制:</td>
<td colspan="2">
<input name="timeset" type="radio" class="np" value="0" checked="1" id="notimelimit">
<label for="notimelimit"> 永不过期</label>
<input type="radio" name="timeset" class="np" value="1" id="timelimit">
<label for="timelimit"> 在设内时间内有效</label>
<label><input type="radio" name="timeset" value="0" checked="1"> 永不过期</label>
<label><input type="radio" name="timeset" value="1"> 在设内时间内有效</label>
</td>
</tr>
<tr>
<td>投放时间:</td>
<td colspan="2">从
<input name="starttime" type="text" id="starttime" value="<?php echo $startDay?>" style="width:160px">
<input name="endtime" type="text" id="endtime" value="<?php echo $endDay?>" style="width:160px">
<td colspan="2">
从:<input type="text" name="starttime" id="starttime" value="<?php echo $startDay?>" style="width:160px">
到:<input type="text" name="endtime" id="endtime" value="<?php echo $endDay?>" style="width:160px">
</td>
</tr>
<tr>


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

@@ -84,21 +84,20 @@
</tr>
<tr>
<td>广告位名称:</td>
<td colspan="2"><input name="adname" type="text" id="adname" value="<?php echo $row['adname']?>" class="iptxt" style="width:260px"></td>
<td colspan="2"><input type="text" name="adname" id="adname" value="<?php echo $row['adname']?>" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td>时间限制:</td>
<td colspan="2">
<label><input class="np" name="timeset" type="radio" value="0" <?php if($row['timeset']==0) echo " checked='1' "; ?>> 永不过期</label>
<label><input class="np" 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>
<td>投放时间:</td>
<td colspan="2">从
<input name="starttime" type="text" id="starttime" value="<?php echo GetDateTimeMk($row['starttime'])?>" style="width:160px">
<input name="endtime" type="text" id="endtime" value="<?php echo GetDateTimeMk($row['endtime'])?>" style="width:160px">
<td colspan="2">
从:<input type="text" name="starttime" id="starttime" value="<?php echo GetDateTimeMk($row['starttime'])?>" style="width:160px">
到:<input type="text" name="endtime" id="endtime" value="<?php echo GetDateTimeMk($row['endtime'])?>" style="width:160px">
</td>
</tr>
<tr>


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

@@ -29,8 +29,8 @@
?>
<tr align="center">
<td><input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id?>"/><?php echo $row->id; ?></td>
<td><input name="pname_<?php echo $k?>" value="<?php echo $row->typename?>" type="text" id="pname_<?php echo $k?>" class="pubinputs" style="width:90%"></td>
<td><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked="1" class="np"> 保留</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>
<?php
}
@@ -40,8 +40,8 @@
<td colspan="5" bgcolor="#f8f8f8">新增一个广告类型:</td>
</tr>
<tr align="center">
<td colspan="2"><input name="pname_new" type="text" id="pname_new" class="pubinputs" style="width:90%"></td>
<td align="center"><input name="check_new" type="checkbox" id="check_new" value="1" checked="1" class="np"> 新增 </td>
<td colspan="2"><input type="text" name="pname_new" id="pname_new" class="pubinputs" style="width:90%"></td>
<td align="center"><label><input type="checkbox" name="check_new" id="check_new" value="1" checked="1"> 新增</label></td>
</tr>
<tr>
<td colspan="5" align="center" bgcolor="#f8f8f8"><input name="submit" type="submit" class="btn btn-success btn-sm" value="确定"></td>


+ 62
- 61
src/admin/templets/album_add.htm View File

@@ -60,7 +60,7 @@ table{border-collapse:separate}
<input type="hidden" name="cid" value="<?php echo $cid; ?>">
<input type="hidden" name="imagebody" value="">
<input type="hidden" name="dopost" value="save">
<input name="maxwidth" type="hidden" 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">
<tr>
@@ -97,10 +97,10 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;图集标题:</td>
<td width="400"><input name="title" type="text" id="title" value="" style="width:380px"></td>
<td width="90">&nbsp;简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" style="width:160px"></td>
<td width="90"> 图集标题:</td>
<td width="400"><input type="text" name="title" id="title" value="" style="width:380px"></td>
<td width="90"> 简略标题:</td>
<td><input type="text" name="shorttitle" id="shorttitle" style="width:160px"></td>
</tr>
</table>
</td>
@@ -109,7 +109,7 @@ table{border-collapse:separate}
<td width="100%" colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;自定义属性:</td>
<td width="90"> 自定义属性:</td>
<td>
<?php
$dsql->SetQuery("Select * From `#@__arcatt` order by sortid asc");
@@ -117,9 +117,9 @@ table{border-collapse:separate}
while($trow = $dsql->GetObject())
{
if($trow->att=='j')
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>";
else
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>";
}
?>
</td>
@@ -131,8 +131,8 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="" style="width:300px"></td>
<td width="90"> 跳转网址:</td>
<td><input type="text" name="redirecturl" id="redirecturl" value="" style="width:300px"></td>
</tr>
</table>
</td>
@@ -141,10 +141,10 @@ table{border-collapse:separate}
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td>
<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 name="weight" type="text" 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>
@@ -153,14 +153,14 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;缩略图:</td>
<td width="90"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="np">&nbsp;远程</label>
<input type="text" name="picname" id="picname" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-sm btn-success delete">清空</button>
<label><input type="checkbox" class="np" name="ddisfirst" value="1">&nbsp;使用图集的第一幅图</label>
<button type="button" id="btnClearAll" class="btn btn-sm btn-success delete">清空</button>
<label><input type="checkbox" name="ddisfirst" value="1"> 使用图集的第一幅图</label>
</td>
<td width="260" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="max-width:100px;max-height:80px"></td>
</tr>
@@ -171,15 +171,15 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;来源:</td>
<td width="90"> 来源:</td>
<td width="260">
<input name="source" type="text" id="source" value=""style="width:160px" >
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button>
<input type="text" name="source" id="source" value=""style="width:160px" >
<button type="button" name="selsource" id="selsource" class="btn btn-success btn-sm">选择</button>
</td>
<td width="60">作者:</td>
<td>
<input name="writer" type="text" id="writer" value="" style="width:160px">
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button>
<input type="text" name="writer" id="writer" value="" style="width:160px">
<button type="button" name="selwriter" id="selwriter" class="btn btn-success btn-sm">选择</button>
</td>
</tr>
</table>
@@ -189,7 +189,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布栏目:</td>
<td width="90"> 发布栏目:</td>
<td width="360">
<span id="typeidct">
<?php
@@ -209,7 +209,7 @@ table{border-collapse:separate}
?>
</td>
<td width="90">消费金币:</td>
<td><input name="money" type="text" id="money" value="0" style="width:160px"></td>
<td><input type="text" name="money" id="money" value="0" style="width:160px"></td>
</tr>
</table>
</td>
@@ -218,7 +218,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;副栏目:</td>
<td width="90"> 副栏目:</td>
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="" style="width:160px">
@@ -232,13 +232,13 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;关键词:</td>
<td width="90"> 关键词:</td>
<td>
<input type='text' name="keywords" id="keywords" value="" style="width:360px">
<input type="text" name="keywords" id="keywords" value="" style="width:360px">
<button type="button" name="Submit" onClick="SelectKeywords('form1.keywords');" class="btn btn-success btn-sm">浏览</button>
</td>
<td>
<label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>>&nbsp;自动获取,手动填写用","分开</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>
@@ -248,7 +248,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;描述:</td>
<td width="90"> 描述:</td>
<td><textarea name="description" id="description" style="width:360px;height:50px"></textarea></td>
</tr>
</table>
@@ -258,11 +258,11 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;表现方式:</td>
<td width="90"> 表现方式:</td>
<td>
<label><input name="pagestyle" class="np" type="radio" 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 name="pagestyle" class="np" type="radio" 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 name="pagestyle" class="np" type="radio" 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>
@@ -272,11 +272,11 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td>&nbsp;多列式参数:</td>
<td> 多列式参数:</td>
<td>
行&nbsp;<input name="row" type="text" id="row" value="<?php echo $cfg_album_row; ?>" size="6">
列&nbsp;<input name="col" type="text" id="col" value="<?php echo $cfg_album_col; ?>" size="6">
缩略图宽度限制:<input name="ddmaxwidth" type="text" id="ddmaxwidth" value="<?php echo $cfg_album_ddwidth; ?>" size="6">&nbsp;像素
行&nbsp;<input type="text" name="row" id="row" value="<?php echo $cfg_album_row; ?>" size="6">
列&nbsp;<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>
@@ -290,8 +290,8 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;每页图片数:</td>
<td><input name="pagepicnum" type="text" id="pagpicnum" size="10" value="<?php echo $cfg_album_pagesize; ?>">&nbsp;单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td>
<td width="90"> 每页图片数:</td>
<td><input type="text" name="pagepicnum" id="pagpicnum" size="10" value="<?php echo $cfg_album_pagesize; ?>"> 单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td>
</tr>
</table>
</td>
@@ -300,12 +300,12 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;上传方式:</td>
<td width="90"> 上传方式:</td>
<td>
<input name="isrm" class="np" type="hidden" id="isrm" value="1">
<label><input name="byhand" class="np" type="checkbox" id="byhand" value="1" disabled="ture" checked />
<input type="hidden" name="isrm" id="isrm" value="1">
<label><input type="checkbox" name="byhand" id="byhand" value="1" disabled="ture" checked />
手工上传</label>
<label><input name="formzip" class="np" type="checkbox" id="formzip" value="1" onClick="showZipField(this,'zipff','htmlfield')">
<label><input type="checkbox" name="formzip" id="formzip" value="1" onClick="showZipField(this,'zipff','htmlfield')">
从ZIP压缩包中解压图片</label>
</td>
</tr>
@@ -316,10 +316,11 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0" height="100">
<tr>
<td width="90">&nbsp;压缩包文件:</td>
<td><input type="text" name="zipfile" id="zipfile" style="width:260px">
<td width="90"> 压缩包文件:</td>
<td>
<input type="text" name="zipfile" id="zipfile" style="width:260px">
<button name="addon_bt" type="button" onClick="SelectSoft('form1.zipfile')" class="btn btn-success btn-sm">浏览</button>
<label><input name="delzip" type="checkbox" id="delzip" value="1" checked="checked">
<label><input type="checkbox" name="delzip" id="delzip" value="1" checked="checked">
处理后删除压缩文件</label></td>
</tr>
</table>
@@ -329,8 +330,8 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;网上复制:</td>
<td>复制的源网址:<input name="copysource" type="text" value="http://" style="width:260px">(防盗链网站需填写您复制图片的其中一个网页网址)<br>
<td width="90"> 网上复制:</td>
<td>复制的源网址:<input type="text" name="copysource" value="http://" style="width:260px">(防盗链网站需填写您复制图片的其中一个网页网址)<br>
把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片
<input type="button" name="button" id="button" value="预览" onClick="LoadTestDiv()">
<br>
@@ -347,7 +348,7 @@ table{border-collapse:separate}
<td width="100%" colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" height="36">&nbsp;手工上传:</td>
<td width="90" height="36"> 手工上传:</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>
@@ -369,7 +370,7 @@ table{border-collapse:separate}
<td colspan="4">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;图集内容:</td>
<td width="90"> 图集内容:</td>
<td> <?php GetEditor("body","",450,"Diy"); ?></td>
</tr>
</table>
@@ -382,15 +383,15 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" width="260">&nbsp;评论选项:</td>
<td width="90" width="260"> 评论选项:</td>
<td width="260">
<label><input type="radio" name="notpost" class="np" value="0" <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?>> 允许评论</label>
<label><input type="radio" name="notpost" class="np" 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>
<label><input name="ishtml" type="radio" class="np" value="1" checked> 生成网页</label>
<label><input type="radio" name="ishtml" class="np" value="0"> 仅动态浏览</label>
<label><input type="radio" name="ishtml" value="1" checked> 生成网页</label>
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label>
</td>
</tr>
</table>
@@ -400,7 +401,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" >&nbsp;图集排序:</td>
<td width="90"> 图集排序:</td>
<td width="260"> <select name="sortup" id="sortup" style="width:160px">
<option value="0" selected>默认排序</option>
<option value="7">置顶一周</option>
@@ -411,8 +412,8 @@ table{border-collapse:separate}
</select> </td>
<td width="90">标题颜色:</td>
<td>
<input name="color" type="text" id="color" style="width:160px">
<button class="btn btn-success btn-sm" name="modcolor" type="button" id="modcolor" onClick="ShowColor(event,this)">选取</button>
<input type="text" name="color" id="color" style="width:160px">
<button type="button" name="modcolor" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button>
</td>
</tr>
</table>
@@ -422,7 +423,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;阅读权限:</td>
<td width="90"> 阅读权限:</td>
<td width="260"><select name="arcrank" id="arcrank" style="width:160px">
<?php
$urank = $cuserLogin->getUserRank();
@@ -445,7 +446,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布时间:</td>
<td width="90"> 发布时间:</td>
<td width="260">
<?php
$nowtime = GetDateTimeMk(time());


+ 59
- 60
src/admin/templets/album_edit.htm View File

@@ -97,10 +97,10 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;图集标题:</td>
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="90">&nbsp;简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
<td width="90"> 图集标题:</td>
<td width="400"><input type="text" name="title" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="90"> 简略标题:</td>
<td><input type="text" name="shorttitle" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -109,7 +109,7 @@ table{border-collapse:separate}
<td width="100%" colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;自定义属性:</td>
<td width="90"> 自定义属性:</td>
<td>
<?php
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC");
@@ -119,9 +119,9 @@ table{border-collapse:separate}
if($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'";
else $jumpclick = '';
if(preg_match("#".$trow->att."#", $arcRow['flag']))
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label>";
else
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} /> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} /> {$trow->attname}[{$trow->att}]</label>";
}
?></td>
</tr>
@@ -132,8 +132,8 @@ table{border-collapse:separate}
<td colspan="4" class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block'); ?>">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td>
<td width="90"> 跳转网址:</td>
<td><input type="text" name="redirecturl" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td>
</tr>
</table>
</td>
@@ -142,10 +142,10 @@ table{border-collapse:separate}
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="90"> Tag标签:</td>
<td><input type="text" name="tags" 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 type="text" name="weight" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
</tr>
</table>
</td>
@@ -154,13 +154,13 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" height="80">&nbsp;缩略图:</td>
<td width="90" height="80"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="np">&nbsp;远程</label>
<input type="text" name="picname" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<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-sm delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
</td>
<td align="center"><img id="litPic" src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" style="max-width:100px;max-height:80px"></td>
</tr>
@@ -171,15 +171,15 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;来源:</td>
<td width="90"> 来源:</td>
<td width="260">
<input name="source" type="text" id="source" value="<?php echo $arcRow['source']?>" style="width:160px">
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button>
<input type="text" name="source" id="source" value="<?php echo $arcRow['source']?>" style="width:160px">
<button type="button" name="selsource" id="selsource" class="btn btn-success btn-sm">选择</button>
</td>
<td width="90">作者:</td>
<td>
<input name="writer" type="text" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px">
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button>
<input type="text" name="writer" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px">
<button type="button"name="selwriter" id="selwriter" class="btn btn-success btn-sm">选择</button>
</td>
</tr>
</table>
@@ -189,7 +189,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布栏目:</td>
<td width="90"> 发布栏目:</td>
<td width="360">
<?php
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid);
@@ -201,7 +201,7 @@ table{border-collapse:separate}
<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 name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td>
<td><input type="text" name="money" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -213,7 +213,7 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;副栏目:</td>
<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">
@@ -227,7 +227,7 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;关键词:</td>
<td width="90"> 关键词:</td>
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:360px"></td>
</tr>
</table>
@@ -237,7 +237,7 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;描述:</td>
<td width="90"> 描述:</td>
<td><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $arcRow['description']?></textarea></td>
</tr>
</table>
@@ -257,29 +257,28 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;图集内容:</td>
<td width="90"> 图集内容:</td>
<td><?php GetEditor("body",$body,450,"Diy"); ?></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#f8f8f8" class="bline2">&nbsp;高级属性:</td>
<td bgcolor="#f8f8f8" class="bline2"> 高级属性:</td>
</tr>
<tr>
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" width="260">&nbsp;评论选项:</td>
<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" 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 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 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>
@@ -288,7 +287,7 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;文档排序:</td>
<td width="90"> 文档排序:</td>
<td width="260">
<select name="sortup" id="sortup" style="width:160px">
<?php
@@ -304,8 +303,8 @@ table{border-collapse:separate}
</select></td>
<td width="90">标题颜色:</td>
<td>
<input name="color" type="text" id="color" value="<?php echo $arcRow['color']?>" style="width:160px">
<button name="modcolor" type="button" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button>
<input type="text" name="color" id="color" value="<?php echo $arcRow['color']?>" style="width:160px">
<button type="button" name="modcolor" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button>
</td>
</tr>
</table>
@@ -315,7 +314,7 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;阅读权限:</td>
<td width="90"> 阅读权限:</td>
<td width="260">
<select name="arcrank" id="arcrank" style="width:160px">
<option value="<?php echo $arcRow['arcrank']?>"> <?php echo $arcRow["rankname"]?> </option>
@@ -339,7 +338,7 @@ table{border-collapse:separate}
<td height="70" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布时间:</td>
<td width="90"> 发布时间:</td>
<td width="260">
<?php
$nowtime = GetDateTimeMk(time());
@@ -359,11 +358,11 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;表现方式:</td>
<td width="90"> 表现方式:</td>
<td>
<label><input name="pagestyle" class="np" type="radio" id="pagestyle1" onClick="checkMuList()" value="1" <?php if($pagestyle==1) echo " checked='checked'"; ?>> <img src="../static/web/img/alb2.jpg" title="单页多图样式"></label>
<label><input name="pagestyle" class="np" type="radio" id="pagestyle2" onClick="checkMuList()" value="2" <?php if($pagestyle==2) echo " checked='checked'"; ?>> <img src="../static/web/img/alb1.jpg" title="幻灯片样式"></label>
<label><input name="pagestyle" class="np" type="radio" 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>
@@ -373,11 +372,11 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="260">&nbsp;多列式参数:</td>
<td width="260"> 多列式参数:</td>
<td>
行&nbsp;<input name="row" type="text" id="row" value="<?php echo $irow; ?>" size="6">
列&nbsp;<input name="col" type="text" id="col" value="<?php echo $icol; ?>" size="6">
缩略图宽度限制:<input name="ddmaxwidth" type="text" id="ddmaxwidth" value="<?php echo $ddmaxwidth; ?>" size="6">&nbsp;像素
行&nbsp;<input type="text" name="row" id="row" value="<?php echo $irow; ?>" size="6">
列&nbsp;<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>
@@ -391,7 +390,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;每页图片数:</td>
<td width="90"> 每页图片数:</td>
<td><input name="pagepicnum" id="pagpicnum" size="10" value="<?php echo $pagepicnum; ?>"> 单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td>
</tr>
</table>
@@ -401,8 +400,8 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;限制宽度:</td>
<td><input name="maxwidth" type="text" id="maxwidth" size="10" value="<?php echo $maxwidth?>">(防止图片太宽在模板页中溢出)</td>
<td width="90"> 限制宽度:</td>
<td><input type="text" name="maxwidth" id="maxwidth" size="10" value="<?php echo $maxwidth?>">(防止图片太宽在模板页中溢出)</td>
</tr>
</table>
</td>
@@ -411,10 +410,10 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;上传方式:</td>
<td><input name="isrm" class="np" type="hidden" id="isrm" value="1" />
<label><input name="byhand" class="np" type="checkbox" id="byhand" value="1" disabled="ture" checked> 手工上传</label>
<label><input name="formzip" class="np" type="checkbox" id="formzip" value="1" onClick="showZipField(this,'zipff','htmlfield')"> 从ZIP压缩包中解压图片</label>
<td width="90"> 上传方式:</td>
<td><input type="hidden" name="isrm" id="isrm" value="1">
<label><input type="checkbox" name="byhand" id="byhand" value="1" disabled="ture" checked> 手工上传</label>
<label><input type="checkbox" name="formzip" id="formzip" value="1" onClick="showZipField(this,'zipff','htmlfield')"> 从ZIP压缩包中解压图片</label>
</tr>
</table>
</td>
@@ -422,10 +421,10 @@ table{border-collapse:separate}
<tr id="zipff" style="display:none">
<td colspan="4" class="bline"><table width="900" cellspacing="0" cellpadding="0" height="100">
<tr>
<td width="90">&nbsp;压缩包文件:</td>
<td width="90"> 压缩包文件:</td>
<td><input type="text" name="zipfile" id="zipfile" style="width:260px">
<button name="addon_bt" type="button" class="btn btn-success btn-sm" onClick="SelectSoft('form1.zipfile')">浏览</button>
<label><input name="delzip" type="checkbox" id="delzip" value="1" checked="checked"> 处理后删除压缩文件</label>
<button type="button" name="addon_bt" class="btn btn-success btn-sm" onClick="SelectSoft('form1.zipfile')">浏览</button>
<label><input type="checkbox" name="delzip" id="delzip" value="1" checked="checked"> 处理后删除压缩文件</label>
</td>
</tr>
</table>
@@ -434,9 +433,9 @@ table{border-collapse:separate}
<tr id="htmlfield" style="display:none">
<td colspan="4" class="bline"><table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;网上复制:</td>
<td width="90"> 网上复制:</td>
<td>复制的源网址:
<input name="copysource" type="text" value="http://" style="width:260px">(防盗链网站需填写您复制图片的其中一个网页网址)<br>
<input type="text" name="copysource" value="http://" style="width:260px">(防盗链网站需填写您复制图片的其中一个网页网址)<br>
把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片
<input type="button" name="button" id="button" value="预览" onClick="LoadTestDiv()"><br>
<div id="copyhtml" style="margin:10px 0;border:solid 1px #CCCCCC;width:96%;padding:6px;height:260px;width:100%" contenteditable="true">粘贴到这里</div>
@@ -495,7 +494,7 @@ table{border-collapse:separate}
<td bgcolor="#f8f8f8" colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;增加新图片:</td>
<td width="90"> 增加新图片:</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>


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

@@ -78,10 +78,10 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;<?php echo $cInfos['titlename']; ?>:</td>
<td width="400"><input name="title" type="text" id="title" value="" style="width:380px"></td>
<td width="90">&nbsp;简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" style="width:160px"></td>
<td width="90"> <?php echo $cInfos['titlename']; ?>:</td>
<td width="400"><input type="text" name="title" id="title" value="" style="width:380px"></td>
<td width="90"> 简略标题:</td>
<td><input type="text" name="shorttitle" id="shorttitle" style="width:160px"></td>
</tr>
</table>
</td>
@@ -90,7 +90,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;自定义属性:</td>
<td width="90"> 自定义属性:</td>
<td>
<?php
$dsql->SetQuery("Select * From `#@__arcatt` order by sortid asc");
@@ -98,9 +98,9 @@ table{border-collapse:separate}
while($trow = $dsql->GetObject())
{
if($trow->att=='j')
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>";
else
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>";
}
?>
</td>
@@ -112,8 +112,8 @@ table{border-collapse:separate}
<td colspan="4" class="bline" id="redirecturltr" style="display:none">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="" style="width:300px"></td>
<td width="90"> 跳转网址:</td>
<td><input type="text" name="redirecturl" id="redirecturl" value="" style="width:300px"></td>
</tr>
</table>
</td>
@@ -122,10 +122,10 @@ table{border-collapse:separate}
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td>
<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 name="weight" type="text" 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>
@@ -134,13 +134,13 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;缩略图:</td>
<td width="90"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="np">&nbsp;远程</label>
<input type="text" name="picname" id="picname" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class='btn btn-success btn-sm'>选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-success delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success delete">清空</button>
</td>
<td align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="max-width:100px;max-height:80px"></td>
</tr>
@@ -151,15 +151,15 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;来源:</td>
<td width="90"> 来源:</td>
<td width="260">
<input name="source" type="text" id="source" style="width:160px" value="" size="16">
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button>
<input type="text" name="source" id="source" style="width:160px" value="" size="16">
<button type="button" name="selsource" id="selsource" class="btn btn-success btn-sm">选择</button>
</td>
<td width="60">作者:</td>
<td>
<input name="writer" type="text" id="writer" value="" style="width:160px">
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button>
<input type="text" name="writer" id="writer" value="" style="width:160px">
<button type="button" name="selwriter" id="selwriter" class="btn btn-success btn-sm">选择</button>
</td>
</tr>
</table>
@@ -176,7 +176,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布栏目:</td>
<td width="90"> 发布栏目:</td>
<td width="360">
<span id="typeidct">
<?php
@@ -196,7 +196,7 @@ table{border-collapse:separate}
?>
</td>
<td width="90">消费金币:</td>
<td><input name="money" type="text" id="money" value="0" style="width:160px"></td>
<td><input type="text" name="money" id="money" value="0" style="width:160px"></td>
</tr>
</table>
</td>
@@ -205,7 +205,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;副栏目:</td>
<td width="90"> 副栏目:</td>
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="" style="width:160px">
@@ -219,13 +219,13 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;关键词:</td>
<td width="90"> 关键词:</td>
<td>
<input type="text" name="keywords" id="keywords" value="" style="width:360px">
<button type="button" name="Submit" value="" class="btn btn-success btn-sm" onClick="SelectKeywords('form1.keywords');">浏览</button>
</td>
<td>
<label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>>&nbsp;自动获取,手动填写用","分开</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>
@@ -235,7 +235,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;描述:</td>
<td width="90"> 描述:</td>
<td><textarea name="description" id="description" style="width:360px;height:50px"></textarea></td>
</tr>
</table>
@@ -248,12 +248,12 @@ table{border-collapse:separate}
<td width="100%">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;附加选项:</td>
<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="dellink" type="checkbox" class="np" id="dellink" value="1" <?php if($cfg_arc_dellink=='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 type="checkbox" name="needwatermark" value="1" class="np" <?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>
@@ -269,15 +269,15 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" width="260">&nbsp;评论选项:</td>
<td width="90" width="260"> 评论选项:</td>
<td width="260">
<label><input type="radio" name="notpost" class="np" value="0" <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?>> 允许评论</label>
<label><input type="radio" name="notpost" class="np" 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>
<label><input name="ishtml" type="radio" class="np" value="1" checked> 生成网页</label>
<label><input type="radio" name="ishtml" class="np" value="0"> 仅动态浏览</label>
<label><input type="radio" name="ishtml" value="1" checked> 生成网页</label>
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label>
</td>
</tr>
</table>
@@ -287,7 +287,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" >&nbsp;文档排序:</td>
<td width="90"> 文档排序:</td>
<td width="260">
<select name="sortup" id="sortup" style="width:160px">
<option value="0" selected>默认排序</option>
@@ -299,8 +299,8 @@ table{border-collapse:separate}
</select> </td>
<td width="90">标题颜色:</td>
<td>
<input name="color" type="text" id="color" style="width:160px">
<button name="modcolor" type="button" id="modcolor" onClick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button>
<input type="text" name="color" id="color" style="width:160px">
<button type="button" name="modcolor" id="modcolor" onClick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button>
</td>
</tr>
</table>
@@ -310,7 +310,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;阅读权限:</td>
<td width="90"> 阅读权限:</td>
<td width="260"><select name="arcrank" id="arcrank" style="width:160px">
<?php
$urank = $cuserLogin->getUserRank();
@@ -332,7 +332,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布时间:</td>
<td width="90"> 发布时间:</td>
<td width="260">
<?php
$nowtime = GetDateTimeMk(time());


+ 40
- 39
src/admin/templets/archives_edit.htm View File

@@ -74,10 +74,10 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;<?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">&nbsp;简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
<td width="90"> <?php echo $cInfos['titlename']; ?>:</td>
<td width="400"><input type="text" name="title" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="90"> 简略标题:</td>
<td><input type="text" name="shorttitle" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -86,7 +86,7 @@ table{border-collapse:separate}
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;自定义属性:</td>
<td width="90"> 自定义属性:</td>
<td>
<?php
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC");
@@ -96,9 +96,9 @@ table{border-collapse:separate}
if($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'";
else $jumpclick = '';
if(preg_match("#".$trow->att."#", $arcRow['flag']))
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label>";
else
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} /> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} /> {$trow->attname}[{$trow->att}]</label>";
}
?>
</td>
@@ -110,8 +110,8 @@ table{border-collapse:separate}
<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">&nbsp;跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']; ?>" style="width:300px"></td>
<td width="90"> 跳转网址:</td>
<td><input type="text" name="redirecturl" id="redirecturl" value="<?php echo $addRow['redirecturl']; ?>" style="width:300px"></td>
</tr>
</table>
</td>
@@ -120,10 +120,10 @@ table{border-collapse:separate}
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="90"> Tag标签:</td>
<td><input type="text" name="tags" 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 type="text" name="weight" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
</tr>
</table>
</td>
@@ -132,13 +132,13 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" height="80">&nbsp;缩略图:</td>
<td width="90" height="80"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="np">&nbsp;远程</label>
<input type="text" name="picname" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<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-sm delete">清空</button>
<button type="button"id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
</td>
<td align="center">
<img id="litPic" src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" style="max-width:100px;max-height:80px">
@@ -151,15 +151,15 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;来源:</td>
<td width="90"> 来源:</td>
<td width="260">
<input name="source" type="text" id="source" value="<?php echo $arcRow['source']?>" style="width:160px">
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button>
<input type="text" name="source" id="source" value="<?php echo $arcRow['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 name="writer" type="text" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px">
<button class="btn btn-success btn-sm" name="selwriter" type="button" id="selwriter">选择</button>
<input type="text" name="writer" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px">
<button type="button" class="btn btn-success btn-sm" name="selwriter" id="selwriter">选择</button>
</td>
</tr>
</table>
@@ -176,7 +176,7 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布栏目:</td>
<td width="90"> 发布栏目:</td>
<td width="360">
<?php
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid);
@@ -188,7 +188,7 @@ table{border-collapse:separate}
<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>
<td><input type="text" name="money" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -200,7 +200,7 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;副栏目:</td>
<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">
@@ -214,7 +214,7 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;关键词:</td>
<td width="90"> 关键词:</td>
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:360px"></td>
</tr>
</table>
@@ -224,7 +224,7 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;描述:</td>
<td width="90"> 描述:</td>
<td><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $arcRow['description']?></textarea></td>
</tr>
</table>
@@ -238,10 +238,10 @@ table{border-collapse:separate}
<td width="900" >
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;附加选项:</td>
<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 type="checkbox" name="remote" id="remote" value="1" <?php if($cfg_rm_remote=='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>
</td>
</tr>
</table>
@@ -257,14 +257,15 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" width="260">&nbsp;评论选项:</td>
<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" 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 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>
<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>
@@ -274,7 +275,7 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;文档排序:</td>
<td width="90"> 文档排序:</td>
<td width="260"><select name="sortup" id="sortup" style="width:160px">
<?php
$subday = SubDay($arcRow["sortrank"],$arcRow["pubdate"]);
@@ -290,8 +291,8 @@ table{border-collapse:separate}
</td>
<td width="90">标题颜色:</td>
<td>
<input name="color" type="text" id="color" value="<?php echo $arcRow['color']?>" style="width:160px">
<button name="modcolor" type="button" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button>
<input type="text" name="color" id="color" value="<?php echo $arcRow['color']?>" style="width:160px">
<button type="button" name="modcolor" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button>
</td>
</tr>
</table>
@@ -301,7 +302,7 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;阅读权限:</td>
<td width="90"> 阅读权限:</td>
<td width="260"><select name="arcrank" id="arcrank" style="width:160px">
<option value='<?php echo $arcRow["arcrank"]?>'><?php echo $arcRow["rankname"]?></option>
<?php
@@ -324,7 +325,7 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;更新时间:</td>
<td width="90"> 更新时间:</td>
<td width="260"><?php
$nowtime = GetDateTimeMk(time());
echo "<input name='pubdate' value='$nowtime' type='text' id='pubdate' class='datepicker' style='width:160px'>";


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

@@ -66,8 +66,8 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;<?php echo $cInfos['titlename']; ?>:</td>
<td><input name="title" type="text" id="title" value="" style="width:380px"></td>
<td width="90"> <?php echo $cInfos['titlename']; ?>:</td>
<td><input type="text" name="title" id="title" value="" style="width:380px"></td>
</tr>
</table>
</td>
@@ -76,14 +76,14 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;自定义属性:</td>
<td width="90"> 自定义属性:</td>
<td>
<?php
$dsql->SetQuery("Select * From `#@__arcatt` where att<>'j' And att<>'p' order by sortid asc");
$dsql->Execute();
while($trow = $dsql->GetObject())
{
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>";
}
?>
</td>
@@ -95,13 +95,13 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;缩略图:</td>
<td width="90"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="np">&nbsp;远程</label>
<input type="text" name="picname" id="picname" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit2" onclick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button>
<button type="button"id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
</td>
<td width="260" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="max-width:100px;max-height:80px"></td>
</tr>
@@ -117,7 +117,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布栏目:</td>
<td width="90"> 发布栏目:</td>
<td>
<span id="typeidct">
<?php
@@ -140,7 +140,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;浏览权限:</td>
<td width="90"> 浏览权限:</td>
<td>
<select name="arcrank" id="arcrank" style="width:160px">
<?php


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

@@ -64,8 +64,8 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;<?php echo $cInfos['titlename']; ?>:</td>
<td><input name="title" type="text" id="title" value="<?php echo $addRow['title']; ?>" style="width:380px"></td>
<td width="90"> <?php echo $cInfos['titlename']; ?>:</td>
<td><input type="text" name="title" id="title" value="<?php echo $addRow['title']; ?>" style="width:380px"></td>
</tr>
</table>
</td>
@@ -74,7 +74,7 @@ table{border-collapse:separate}
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;自定义属性:</td>
<td width="90"> 自定义属性:</td>
<td>
<?php
$dsql->SetQuery("SELECT * FROM `#@__arcatt` WHERE att<>'j' AND att<>'p' ORDER BY sortid ASC");
@@ -82,9 +82,9 @@ table{border-collapse:separate}
while($trow = $dsql->GetObject())
{
if(preg_match("#".$trow->att."#", $addRow['flag']))
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label>";
else
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>";
}
?>
</td>
@@ -96,13 +96,13 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;缩略图:</td>
<td width="90"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" style="width:300px" value="<?php echo $addRow['litpic']?>">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="np">&nbsp;远程</label>
<input type="text" name="picname" id="picname" style="width:300px" value="<?php echo $addRow['litpic']?>">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<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-sm delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
</td>
<td align="center"><img id="litPic" src="<?php if($addRow['litpic']!='') echo $addRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" style="max-width:100px;max-height:80px"></td>
</tr>
@@ -118,7 +118,7 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布栏目:</td>
<td width="90"> 发布栏目:</td>
<td>
<?php
$typeOptions = GetOptionList($addRow['typeid'],$cuserLogin->getUserChannel(),$channelid);
@@ -137,7 +137,7 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;浏览权限:</td>
<td width="90"> 浏览权限:</td>
<td>
<select name="arcrank" id="arcrank" style="width:160px">
<option value='<?php echo $addRow["arcrank"]; ?>'><?php echo $addRow["rankname"]; ?></option>


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

@@ -69,7 +69,7 @@ table{border-collapse:separate}
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="260"><a name="downurl"></a>采集单个网页:</td>
<td width="360" align="center"><input name="geturl" type="text" id="geturl" style="width:260px" value="<?php echo $geturl; ?>"></td>
<td width="360" align="center"><input type="text" name="geturl" id="geturl" style="width:260px" value="<?php echo $geturl; ?>"></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>
@@ -88,10 +88,10 @@ table{border-collapse:separate}
<td colspan="5" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;文章标题:</td>
<td width="400"><input name="title" type="text" id="title" value="<?php echo $title; ?>" style="width:380px"></td>
<td width="90">&nbsp;简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" style="width:160px"></td>
<td width="90"> 文章标题:</td>
<td width="400"><input type="text" name="title" id="title" value="<?php echo $title; ?>" style="width:380px"></td>
<td width="90"> 简略标题:</td>
<td><input type="text" name="shorttitle" id="shorttitle" style="width:160px"></td>
</tr>
</table>
</td>
@@ -100,7 +100,7 @@ table{border-collapse:separate}
<td colspan="5" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;自定义属性:</td>
<td width="90"> 自定义属性:</td>
<td align="left">
<?php
$dsql->SetQuery("Select * From `#@__arcatt` order by sortid asc");
@@ -108,9 +108,9 @@ table{border-collapse:separate}
while($trow = $dsql->GetObject())
{
if($trow->att=='j')
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'>&nbsp;{$trow->attname}[{$trow->att}]</label>&nbsp;";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>";
else
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'>&nbsp;{$trow->attname}[{$trow->att}]</label>&nbsp;";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>";
}
?>
</td>
@@ -122,8 +122,8 @@ table{border-collapse:separate}
<td colspan="5" class="bline" id="redirecturltr" style="display:none">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="" style="width:300px"></td>
<td width="90"> 跳转网址:</td>
<td><input type="text" name="redirecturl" id="redirecturl" value="" style="width:300px"></td>
</tr>
</table>
</td>
@@ -132,10 +132,10 @@ table{border-collapse:separate}
<td width="100%" colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td>
<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 name="weight" type="text" 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>
@@ -144,13 +144,13 @@ table{border-collapse:separate}
<td colspan="5" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;缩略图:</td>
<td width="90"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="np">&nbsp;远程</label>
<input type="text" name="picname" id="picname" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
</td>
<td width="260" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="max-width:100px;max-height:80px"></td>
</tr>
@@ -161,15 +161,15 @@ table{border-collapse:separate}
<td colspan="5" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;来源:</td>
<td width="90"> 来源:</td>
<td width="260">
<input name="source" type="text" id="source" value="<?php echo $source; ?>" style="width:160px">
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button>
<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">&nbsp;作者:</td>
<td width="60"> 作者:</td>
<td>
<input name="writer" type="text" id="writer" value="<?php echo $writer; ?>" style="width:160px">
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button>
<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>
</table>
@@ -179,7 +179,7 @@ table{border-collapse:separate}
<td colspan="5" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布栏目:</td>
<td width="90"> 发布栏目:</td>
<td width="360">
<span id="typeidct">
<?php
@@ -199,7 +199,7 @@ table{border-collapse:separate}
?>
</td>
<td width="90">消费金币:</td>
<td><input name="money" type="text" id="money" value="0" style="width:160px"></td>
<td><input type="text" name="money" id="money" value="0" style="width:160px"></td>
</tr>
</table>
</td>
@@ -208,7 +208,7 @@ table{border-collapse:separate}
<td colspan="5" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;副栏目:</td>
<td width="90"> 副栏目:</td>
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="" style="width:260px">
@@ -222,13 +222,13 @@ table{border-collapse:separate}
<td colspan="5" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;关键词:</td>
<td width="90"> 关键词:</td>
<td>
<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 name="autokey" type="checkbox" onClick="ShowHide('keywords');" class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked="1" '; ?>>&nbsp;自动获取,手动填写用","分开</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>
@@ -238,7 +238,7 @@ table{border-collapse:separate}
<td colspan="5" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;描述:</td>
<td width="90"> 描述:</td>
<td><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $description; ?></textarea></td>
</tr>
</table>
@@ -248,13 +248,13 @@ table{border-collapse:separate}
<td width="100%" colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;附加选项:</td>
<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="dellink" type="checkbox" class="np" 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 name="autolitpic" type="checkbox" class="np" id="autolitpic" value="1" <?php if($cfg_arc_autopic=='Y') echo ' checked="1" '; ?>> 提取第一个图片为缩略图</label>
<label><input type="checkbox" name="needwatermark" value="1" class="np" <?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>
@@ -264,10 +264,10 @@ table{border-collapse:separate}
<td width="100%" colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;分页方式:</td>
<td width="90"> 分页方式:</td>
<td>
<label><input name="sptype" type="radio" class="np" value="hand" <?php if($cfg_arcautosp=='N') echo " checked='1' "?>> 手动</label>
<label><input type="radio" name="sptype" value="auto" class="np" <?php if($cfg_arcautosp=='Y') echo " checked='1' "?>> 自动</label>
<label><input type="radio" name="sptype" value="hand" <?php if($cfg_arcautosp=='N') echo "checked='1'"?>> 手动</label>
<label><input type="radio" name="sptype" value="auto" <?php if($cfg_arcautosp=='Y') echo "checked='1'"?>> 自动</label>
大小:<input name="spsize" type="text" id="spsize" value="<?php echo $cfg_arcautosp_size?>" style="width:60px"> K(分页符为:#p#分页标题#e#)
</td>
</tr>
@@ -299,15 +299,15 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" >&nbsp;评论选项:</td>
<td width="90"> 评论选项:</td>
<td width="260">
<label><input type="radio" name="notpost" class="np" value="0" <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?>> 允许评论</label>
<label><input type="radio" name="notpost" class="np" 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>
<label><input name="ishtml" type="radio" class="np" value="1" checked="1"> 生成网页</label>
<label><input type="radio" name="ishtml" class="np" value="0"> 仅动态浏览</label>
<label><input type="radio" name="ishtml" value="1" checked="1"> 生成网页</label>
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label>
</td>
</tr>
</table>
@@ -317,7 +317,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" >&nbsp;文章排序:</td>
<td width="90"> 文章排序:</td>
<td width="260">
<select name="sortup" id="sortup" style="width:160px">
<option value="0" selected>默认排序</option>
@@ -329,8 +329,8 @@ table{border-collapse:separate}
</select> </td>
<td width="90">标题颜色:</td>
<td>
<input name="color" type="text" id="color" style="width:160px">
<button class="btn btn-success btn-sm" name="modcolor" type="button" id="modcolor" onClick="ShowColor(event, this)">选取</button>
<input type="text" name="color" id="color" style="width:160px">
<button type="button" name="modcolor" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event, this)">选取</button>
</td>
</tr>
</table>
@@ -340,7 +340,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;阅读权限:</td>
<td width="90"> 阅读权限:</td>
<td width="260">
<select name="arcrank" id="arcrank" style="width:160px">
<?php
@@ -386,7 +386,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布时间:</td>
<td width="90"> 发布时间:</td>
<td width="260">
<?php
$nowtime = GetDateTimeMk(time());


+ 16
- 18
src/admin/templets/article_coonepage_rule.htm View File

@@ -70,11 +70,11 @@
position: absolute;
left: 20px;
top: 20px;
padding: 6px;
width: 430px;
z-index: 2;
background: #F2FDDB;
border: 1px solid #889D8F;
padding: 6px;
background: #fff;
border: 1px solid #dee2e6;
display: none
}
#editNode {
@@ -82,10 +82,10 @@
left: 20px;
top: 20px;
width: 430px;
z-index: 1;
background: #F2FDDB;
border: 1px solid #889D8F;
padding: 6px;
z-index: 1;
background: #fff;
border: 1px solid #dee2e6;
display: none
}
</style>
@@ -94,9 +94,8 @@
<table width="100%" cellpadding="2" align="center" cellspacing="1" class="table maintable mt-3 mb-3">
<tr bgcolor="#f8f8f8">
<td colspan="6">
<div style="float:left;padding-left:6px">单页采集规则管理:</div>
<div style="float:right;padding-right:10px"><a href='javascript:ShowAddNode();'
class="btn btn-success btn-sm">增加新网址</a>
<div style="float:left;padding-left:6px">单页采集规则管理</div>
<div style="float:right;padding-right:10px"><a href="javascript:ShowAddNode();" class="btn btn-success btn-sm">增加新网址</a>
</div>
</td>
</tr>
@@ -112,7 +111,7 @@
{dede:datalist empty='<tr><td colspan="6"><center>暂无内容</center></td></tr>'}
<tr align="center" onMouseOut="javascript:this.bgColor='#ffffff';" >
<td><?php echo $fields['id']?></td>
<td><input name="ids" type="checkbox" id="ids" value="<?php echo $fields['id']?>" class="np"></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>
@@ -122,7 +121,7 @@
</td>
</tr>
{/dede:datalist}
<tr bgcolor="#F8FCF1">
<tr>
<td colspan="6">
<a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a>
<a href="javascript:noSelAll()" class="btn btn-success btn-sm">取消</a>
@@ -143,27 +142,26 @@
<input type="hidden" name="action" value="add">
<table width="430" cellspacing="0" cellpadding="0">
<tr>
<td width="102" >网站名称:</td>
<td width="302"><input name="title" type="text" id="title" style="width:260px"></td>
<td width="26" align="center"><a href="javascript:CloseAddNode()" class="mr-3"><i class="fa fa-window-close-o"></i></a></td>
<td width="90">网站名称:</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" checked="checked"> UTF-8 </label>
<label><input type="radio" name="lang" value="utf-8" checked="checked"> UTF-8</label>
<label><input type="radio" name="lang" value="gb2312"> GB2312/GBK</label>
</td>
</tr>
<tr>
<td>用作文章来源:</td>
<td colspan="2">
<label><input type="radio" name="issource" value="0"> 否 </label>
<label><input name="issource" type="radio" value="1" checked="checked"> 是</label>
<label><input type="radio" name="issource" value="0"> 否</label>
<label><input type="radio" name="issource" value="1" checked="checked"> 是</label>
</td>
</tr>
<tr>
<td>网站网址:</td>
<td colspan="2"><input name="url" type="text" id="url" style="width:260px"></td>
<td colspan="2"><input type="text" name="url" id="url" style="width:260px"></td>
</tr>
<tr>
<td></td>


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

@@ -28,28 +28,28 @@
<td height="36">
<table width="90%" cellpadding="2" cellspacing="2" class="table table-borderless">
<tr>
<td width="560">频道ID:<input name="channel" type="text" id="channel" value="1" style="width:260px">(可在“<a href="mychannel_main.php">频道模型管理</a>”处获得)</td>
<td>摘要大小:<input name="dsize" type="text" id="dsize" value="<?php echo $cfg_auot_description?>" style="width:260px">(最大250字节)</td>
<td width="560">频道ID:<input type="text" name="channel" id="channel" value="1" style="width:260px">(可在“<a href="mychannel_main.php">频道模型管理</a>”处获得)</td>
<td>摘要大小:<input type="text" name="dsize" id="dsize" value="<?php echo $cfg_auot_description?>" style="width:260px">(最大250字节)</td>
</tr>
<tr>
<td>数据表:<input name="table" type="text" id="table2" value="<?php echo $cfg_dbprefix?>addonarticle" style="width:260px"></td>
<td>分析字段:<input name="field" type="text" id="field2" value="body" style="width:260px"></td>
<td>数据表:<input type="text" name="table" id="table2" value="<?php echo $cfg_dbprefix?>addonarticle" style="width:260px"></td>
<td>分析字段:<input type="text" name="field" id="field2" value="body" style="width:260px"></td>
</tr>
<tr>
<td>最小值:<input name="msize" type="text" id="msize2" value="512" style="width:260px">(字节,内容大于该值才分析)</td>
<td>每批处理:<input name="pagesize" type="text" id="pagesize" value="100" style="width:260px">条记录</td>
<td>最小值:<input type="text" name="msize" id="msize2" value="512" style="width:260px">(字节,内容大于该值才分析)</td>
<td>每批处理:<input type="text" name="pagesize" id="pagesize" value="100" style="width:260px">条记录</td>
</tr>
<tr>
<td>
开始ID:<input name="sid" type="text" id="sid" style="width:60px">
结束ID:<input name="eid" type="text" id="eid" style="width:60px">
开始ID:<input type="text" name="sid" id="sid" style="width:60px">
结束ID:<input type="text" name="eid" id="eid" style="width:60px">
</td>
<td></td>
</tr>
<tr>
<td>操作:
<label><input name="dojob" type="radio" class="np" value="des" checked> 自动摘要</label>
<label><input type="radio" name="dojob" class="np" value="page"> 自动分页</label>
<label><input type="radio" name="dojob" value="des" checked> 自动摘要</label>
<label><input type="radio" name="dojob" value="page"> 自动分页</label>
</td>
<td>自动分页大小:<?php echo $cfg_arcautosp_size?> K,<a href='sys_info.php' class="btn btn-success btn-sm">修改系统参数</a></td>
</tr>


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

@@ -79,10 +79,10 @@ table{border-collapse:separate}
<td colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;文章标题:</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 width="400"><input type="text" name="title" 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 type="text" name="shorttitle" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -91,7 +91,7 @@ table{border-collapse:separate}
<td width="100%" colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;自定义属性:</td>
<td width="90"> 自定义属性:</td>
<td>
<?php
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC");
@@ -106,9 +106,9 @@ table{border-collapse:separate}
}
if(preg_match("#".$trow->att."#", $arcRow['flag']))
{
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'>&nbsp;{$trow->attname}[{$trow->att}]</label>&nbsp;";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label>";
} else {
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick}>&nbsp;{$trow->attname}[{$trow->att}]</label>&nbsp;";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick}> {$trow->attname}[{$trow->att}]</label>";
}
}
?>
@@ -121,8 +121,8 @@ table{border-collapse:separate}
<td colspan="2" class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block'); ?>">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td>
<td width="90"> 跳转网址:</td>
<td><input type="text" name="redirecturl" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td>
</tr>
</table>
</td>
@@ -131,10 +131,10 @@ table{border-collapse:separate}
<td width="100%" colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="90"> Tag标签:</td>
<td><input type="text" name="tags" 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 type="text" name="weight" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
</tr>
</table>
</td>
@@ -143,13 +143,13 @@ table{border-collapse:separate}
<td colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;缩略图:</td>
<td width="90"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="np">&nbsp;远程</label>
<input type="text" name="picname" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<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-sm delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
</td>
<td align="center">
<img id="litPic" src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" style="max-width:100px;max-height:80px">
@@ -162,15 +162,15 @@ table{border-collapse:separate}
<td colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;来源:</td>
<td width="90"> 来源:</td>
<td width="260">
<input name="source" type="text" id="source" value="<?php echo $arcRow['source']?>" style="width:160px">
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button>
<input type="text" name="source" id="source" value="<?php echo $arcRow['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 name="writer" type="text" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px">
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button>
<input type="text" name="writer" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px">
<button type="button" name="selwriter" id="selwriter" class="btn btn-success btn-sm">选择</button>
</td>
</tr>
</table>
@@ -180,7 +180,7 @@ table{border-collapse:separate}
<td colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布栏目:</td>
<td width="90"> 发布栏目:</td>
<td width="360">
<?php
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid);
@@ -192,7 +192,7 @@ table{border-collapse:separate}
<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>
<td><input type="text" name="money" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -204,7 +204,7 @@ table{border-collapse:separate}
<td colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;副栏目:</td>
<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">
@@ -221,7 +221,7 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;关键词:</td>
<td width="90"> 关键词:</td>
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:360px"></td>
</tr>
</table>
@@ -231,7 +231,7 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;描述:</td>
<td width="90"> 描述:</td>
<td><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $arcRow['description']?></textarea></td>
</tr>
</table>
@@ -241,10 +241,10 @@ table{border-collapse:separate}
<td width="100%" colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;附加选项:</td>
<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 type="checkbox" name="remote" id="remote" value="1" <?php if($cfg_rm_remote=='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>
</td>
</tr>
</table>
@@ -264,15 +264,15 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" >&nbsp;评论选项:</td>
<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" 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 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 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>
@@ -282,7 +282,7 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;文章排序:</td>
<td width="90"> 文章排序:</td>
<td width="260">
<select name="sortup" id="sortup" style="width:160px">
<?php
@@ -299,8 +299,8 @@ table{border-collapse:separate}
</td>
<td width="90">标题颜色:</td>
<td>
<input name="color" type="text" id="color" value="<?php echo $arcRow['color']?>" style="width:160px">
<button name="modcolor" type="button" id="modcolor" onClick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button>
<input type="text" name="color" id="color" value="<?php echo $arcRow['color']?>" style="width:160px">
<button type="button" name="modcolor" id="modcolor" onClick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button>
</td>
</tr>
</table>
@@ -310,7 +310,7 @@ table{border-collapse:separate}
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;阅读权限:</td>
<td width="90"> 阅读权限:</td>
<td width="260">
<select name="arcrank" id="arcrank" style="width:160px">
<option value="<?php echo $arcRow['arcrank']?>"><?php echo $arcRow["rankname"]?></option>
@@ -355,7 +355,7 @@ table{border-collapse:separate}
<td height="70" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;更新时间:</td>
<td width="90"> 更新时间:</td>
<td width="260"><?php
$nowtime = GetDateTimeMk(time());
echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker' style='width:160px'>";


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

@@ -36,7 +36,7 @@
<td width="30%">文档关键词维护</td>
<td width="70%" align="right">
<form name="form1" action="article_keywords_main.php">
<input type="text" name="keyword" placeholder="请输入搜索词" style="width:160px">&nbsp;
<input type="text" name="keyword" placeholder="请输入搜索词" style="width:160px">
<button type="submit" name="sb" value="" class="btn btn-success btn-sm">保存</button>
</form>
</td>
@@ -50,9 +50,9 @@
<td width="100%" colspan="5">
<table cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="280" align="center"><input name="keyword" type="text" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input name="rpurl" type="text" id="rpurl" placeholder="请输入链接" style="width:260px"></td>
<td width="70"><input name="rank" type="text" id="rank" value="30" style="width:60px"></td>
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input type="text" name="rpurl" id="rpurl" placeholder="请输入链接" style="width:260px"></td>
<td width="70"><input type="text" name="rank" id="rank" value="30" style="width:60px"></td>
<td><button type="submit" name="Submit" class="btn btn-success btn-sm">保存</button></td>
</tr>
</table>
@@ -70,7 +70,7 @@
<input type="hidden" name="dopost" value="saveall">
{dede:datalist empty='<tr><td colspan="5"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input name="aids[]" type="checkbox" value="{dede:field.aid/}" class="np" checked='1'></td>
<td><input type="checkbox" name="aids[]" value="{dede:field.aid/}" checked='1'></td>
<td><input type="hidden" value="{dede:field.keyword/}" name="keyword_{dede:field.aid/}"> {dede:field.keyword/}</td>
<td>
<input type="hidden" value="{dede:field.rpurl/}" name="rpurlold_{dede:field.aid/}">
@@ -79,8 +79,8 @@
<td><input type="text" size="6" class="nnpp" value="{dede:field.rank/}" name="rank_{dede:field.aid/}"></td>
<td>
<input type="hidden" name="staold_{dede:field.aid/}" value="{dede:field.sta/}">
<label><input type="checkbox" name="isnouse_{dede:field.aid/}" class="np" value="1" {dede:field.sta function="GetSta(@me)"/}> 禁用</label>
<label><input type="checkbox" name="isdel_{dede:field.aid/}" class="np" value="1"> 删除</label>
<label><input type="checkbox" name="isnouse_{dede:field.aid/}" value="1" {dede:field.sta function="GetSta(@me)"/}> 禁用</label>
<label><input type="checkbox" name="isdel_{dede:field.aid/}" value="1"> 删除</label>
</td>
</tr>
{/dede:datalist}


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

@@ -50,9 +50,9 @@
<td align="center" colspan="2" style="border-top:0">
<table cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="170"><input name="keyword" type="text" id="keyword" placeholder="请输入关键词" style="width:160px"></td>
<td width="170"><input name="rpurl" type="text" id="rpurl" placeholder="请输入链接" style="width:160px"></td>
<td width="170"><input name="rank" type="text" id="rank" placeholder="请输入频率" style="width:160px"></td>
<td width="170"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" style="width:160px"></td>
<td width="170"><input type="text" name="rpurl" id="rpurl" placeholder="请输入链接" style="width:160px"></td>
<td width="170"><input type="text" name="rank" id="rank" placeholder="请输入频率" style="width:160px"></td>
<td><input type="submit" name="Submit" value="保存" class="btn btn-success btn-sm"></td>
</tr>
</table>
@@ -66,8 +66,8 @@
<tr>
<td width="30%">选择关键词</td>
<td width="70%" align="right">
<button class="btn btn-success btn-sm" type="button" name="kwa" onClick="AddNewKw()">新增关键词</button>
<button class="btn btn-success btn-sm" type="button" name="kwm" onClick="location='article_keywords_main.php';">关键词管理</button>
<button type="button" class="btn btn-success btn-sm" name="kwa" onClick="AddNewKw()">新增关键词</button>
<button type="button"class="btn btn-success btn-sm" name="kwm" onClick="location='article_keywords_main.php';">关键词管理</button>
</td>
</tr>
</table>
@@ -84,7 +84,7 @@
<td colspan="2">
<table cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="270"><input name="keywords" type="text" id="keywords" value="<?php echo $keywords?>" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input type="text" name="keywords" id="keywords" value="<?php echo $keywords?>" placeholder="请输入关键词" style="width:260px"></td>
<td><button type="button" class="btn btn-success btn-sm" name="Submit" onClick="ReturnValue()">选用</button></td>
</tr>
</table>


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

@@ -68,7 +68,7 @@
if($row['dd']==1 ) break;
?>
<tr align="center" onMouseMove="javascript:this.bgColor='#EFEFEF';" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input name="arcTitles" type="checkbox" id="arcTitle" value="<?php echo urlencode($row['title'])?>" class="np"></td>
<td><input type="checkbox" name="arcTitles" id="arcTitle" value="<?php echo urlencode($row['title'])?>"></td>
<td>
<?php
$allarc += $row['dd'];


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

@@ -45,13 +45,13 @@
<tr>
<td width="20%" align="left">删除选项:</td>
<td align="left">
<label><input name="deltype" type="radio" value="delnew" class='np' checked='1'> 保留最旧的一条 </label>
<label><input type="radio" name="deltype" value="delold" class='np'> 保留最新的一条</label>
<label><input type="radio" name="deltype" value="delnew" checked='1'> 保留最旧的一条</label>
<label><input type="radio" name="deltype" value="delold"> 保留最新的一条</label>
</td>
</tr>
<tr>
<td align="left">每排列出记录:</td>
<td align="left"><input name="pagesize" type="text" id="pagesize" value="100" style="width:160px"> 条</td>
<td align="left"><input type="text" name="pagesize" id="pagesize" value="100" style="width:160px"> 条</td>
</tr>
</table>
</td>


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

@@ -16,10 +16,10 @@
<td bgcolor="#f8f8f8">
<table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="30%">点卡生成向导</td>
<td width="30%">点卡生成向导</td>
<td width="70%" align="right">
<button type="button" name="ss1" onClick="location='cards_type.php';" class='btn btn-success btn-sm'>点卡产品分类</button>
<button type="button" name="ss2" onClick="location='cards_manage.php';" class='btn btn-success btn-sm'>点卡使用记录</button>
<button type="button" name="ss1" onClick="location='cards_type.php';" class="btn btn-success btn-sm">点卡产品分类</button>
<button type="button" name="ss2" onClick="location='cards_manage.php';" class="btn btn-success btn-sm">点卡使用记录</button>
</td>
</tr>
</table>
@@ -55,11 +55,11 @@
<tr>
<td>密码类型:</td>
<td>
<label><input type="radio" name="ctype" value="1" class="np"> 纯数字</label>
<label><input name="ctype" type="radio" value="2" checked="1" class="np"> 大写字母</label>
<label><input type="radio" name="ctype" value="1"> 纯数字</label>
<label><input type="radio" name="ctype" value="2" checked="1"> 大写字母</label>
</td>
<td>密码组数:</td>
<td><input name="pwdgr" type="text" id="pwdgr" style="width:160px" value="3" class="np"></td>
<td><input name="pwdgr" type="text" id="pwdgr" style="width:160px" value="3"></td>
</tr>
</table>
</td>


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

@@ -71,7 +71,7 @@
<form name="form1">
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input type="checkbox" name="aids" value="{dede:field.aid/}" class="np"></td>
<td><input type="checkbox" name="aids" value="{dede:field.aid/}"></td>
<td>{dede:field.cardid/}</td>
<td><?php echo $TypeNames[$fields['ctid']]?></td>
<td>{dede:field.mtime function='GetDateMk(@me)'/}</td>


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

@@ -31,10 +31,10 @@
?>
<input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->tid?>">
<tr align="center">
<td><input name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" type="text" id="pname_<?php echo $k?>" class="pubinputs" style="width:90%"></td>
<td><input name="num_<?php echo $k?>" value="<?php echo $row->num?>" type="text" id="num_<?php echo $k?>" class="pubinputs" style="width:80%"></td>
<td><input name="money_<?php echo $k?>" value="<?php echo $row->money?>" type="text" id="money_<?php echo $k?>" class="pubinputs" style="width:80%">(元)</td>
<td><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked="1" class="np"> 保留</td>
<td><input type="text" name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" id="pname_<?php echo $k?>" class="pubinputs" style="width:90%"></td>
<td><input type="text" name="num_<?php echo $k?>" value="<?php echo $row->num?>" id="num_<?php echo $k?>" class="pubinputs" style="width:80%"></td>
<td><input type="text" name="money_<?php echo $k?>" value="<?php echo $row->money?>" id="money_<?php echo $k?>" class="pubinputs" style="width:80%">(元)</td>
<td><input type="checkbox" name="check_<?php echo $k?>" id="check_<?php echo $k?>" value="1" checked="1"> 保留</td>
</tr>
<?php
}
@@ -44,10 +44,10 @@
<td colspan="4" bgcolor="#f8f8f8">新增一个点卡产品类型:</td>
</tr>
<tr align="center">
<td><input name="pname_new" type="text" id="pname_new" class="pubinputs" style="width:90%"></td>
<td><input name="num_new" value="100" type="text" id="num_new" class="pubinputs" style="width:80%"></td>
<td><input name="money_new" type="text" id="money_new" class="pubinputs" style="width:80%" value="30">(元)</td>
<td align="center"><input name="check_new" type="checkbox" id="check_new" value="1" checked="1" class="np"> 新增</td>
<td><input type="text" name="pname_new" id="pname_new" class="pubinputs" style="width:90%"></td>
<td><input type="text" name="num_new" id="num_new" class="pubinputs" style="width:80%" value="100"></td>
<td><input type="text" name="money_new" id="money_new" class="pubinputs" style="width:80%" value="30">(元)</td>
<td align="center"><input type="checkbox" name="check_new" id="check_new" value="1" checked="1"> 新增</td>
</tr>
<tr>
<td colspan="4" align="center" bgcolor="#f8f8f8" class="py-3"><button type="submit" class="btn btn-success btn-sm">保存</button></td>


+ 38
- 54
src/admin/templets/catalog_add.htm View File

@@ -183,15 +183,15 @@
<tr>
<td width="260" class="bline" style="padding-left:10px">是否支持投稿:</td>
<td class="bline">
<label><input type="radio" name="issend" value="0" class="np" <?php if($issend==0) echo " checked='checked' "; ?>> 不支持</label>
<label><input type="radio" name="issend" value="1" class="np" <?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>
</td>
</tr>
<tr>
<td width="260" class="bline" style="padding-left:10px">是否隐藏栏目:</td>
<td class="bline">
<label><input type="radio" name="ishidden" value="0" class="np" checked="checked"> 显示</label>
<label><input type="radio" name="ishidden" value="1" class="np"> 隐藏</label>
<label><input type="radio" name="ishidden" value="0" checked="checked"> 显示</label>
<label><input type="radio" name="ishidden" value="1"> 隐藏</label>
</td>
</tr>
<tr>
@@ -214,37 +214,37 @@
</tr>
<tr>
<td class="bline" style="padding-left:10px">中文名称:</td>
<td class="bline"><input name="typename" type="text" class="iptxt" style="width:260px"></td>
<td class="bline"><input type="text" name="typename" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">中文概述:</td>
<td class="bline"><input name="cnoverview" type="text" class="iptxt" style="width:260px"></td>
<td class="bline"><input type="text" name="cnoverview" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">英文名称:</td>
<td class="bline"><input name="enname" type="text" class="iptxt" style="width:260px"></td>
<td class="bline"><input type="text" name="enname" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">英文概述:</td>
<td class="bline"><input name="enoverview" type="text" class="iptxt" style="width:260px"></td>
<td class="bline"><input type="text" name="enoverview" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">栏目大图:</td>
<td>
<input name="bigpic" type="text" style="width:260px">
<input type="text" name="bigpic" style="width:260px">
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.bigpic');">
</td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">栏目小图:</td>
<td>
<input name="litimg" type="text" style="width:260px">
<input type="text" name="litimg" style="width:260px">
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litimg');">
</td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">排列顺序:</td>
<td class="bline"><input name="sortrank" type="text" class="pubinputs" style="width:60px">(由低 &gt; 高)</td>
<td class="bline"><input type="text" name="sortrank" class="pubinputs" style="width:60px">(由低 &gt; 高)</td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">浏览权限:</td>
@@ -275,16 +275,16 @@
$pardir = preg_replace("#\/{1,}#", '/', $pardir);
echo $pardir;
?>
<input name="nextdir" type="hidden" id="nextdir" value="<?php echo $pardir?>">
<input type="hidden" name="nextdir" id="nextdir" value="<?php echo $pardir?>">
</td>
</tr>
<tr>
<td style="padding-left:10px">文件保存目录:</td>
<td style="padding:0">
<table cellspacing="1" cellpadding="1" class="table-borderless">
<tr >
<td><input name="typedir" type="text" id="typedir" class="pubinputs" style="width:260px"></td>
<td><input name="upinyin" type="checkbox" id="upinyin" class="np" value="1" onClick="CheckTypeDir()"><label for="upinyin">&nbsp;拼音</label></td>
<tr>
<td><input type="text" name="typedir" id="typedir" class="pubinputs" style="width:260px"></td>
<td><label for="upinyin"><input type="checkbox" name="upinyin" id="upinyin" value="1" onClick="CheckTypeDir()"> 拼音</label></td>
</tr>
</table>
</td>
@@ -292,42 +292,33 @@
<tr>
<td class="bline" style="padding-left:10px">目录相对位置:</td>
<td class="bline">
<input name="referpath" type="radio" id="truepath1" class="np" value="parent" checked="chekced">
<label for="truepath1">上级目录</label>
<label><input type="radio" name="referpath" value="parent" checked="chekced"> 上级目录</label>
<?php
if($moresite==0){
?>
<input name="referpath" type="radio" id="truepath2" class="np" value="cmspath">
<label for="truepath2">CMS根目录</label>
<input name="referpath" type="radio" id="truepath3" class="np" value="basepath">
<label for="truepath3">站点根目录</label>
<label><input type="radio" name="referpath" value="cmspath"> CMS根目录</label>
<label><input type="radio" name="referpath" value="basepath"> 站点根目录</label>
<?php } ?>
</td>
</tr>
<tr>
<td style="padding-left:10px">栏目列表选项:</td>
<td>
<input type="radio" name="isdefault" id="isdefault1" value="1" class="np" checked="checked">
<label for="isdefault1">链接到默认页</label>
<input type="radio" name="isdefault" id="isdefault0" value="0" class="np">
<label for="isdefault0">链接到列表第一页</label>
<input type="radio" name="isdefault" id="isdefault-1" value="-1" class="np">
<label for="isdefault-1">使用动态页</label>
<label><input type="radio" name="isdefault" value="1" checked="checked"> 链接到默认页</label>
<label><input type="radio" name="isdefault" value="0"> 链接到列表第一页</label>
<label><input type="radio" name="isdefault" value="-1"> 使用动态页</label>
</td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">默认页的名称:</td>
<td class="bline"><input name="defaultname" type="text" value="index.html" class="iptxt" style="width:260px"></td>
<td class="bline"><input type="text" name="defaultname" value="index.html" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">栏目属性:</td>
<td class="bline">
<input name="ispart" type="radio" id="ispart0" value="0" class="np" checked="checked">
<label for="ispart0">最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label><br>
<input name="ispart" type="radio" id="ispart1" value="1" class="np">
<label for="ispart1">频道封面(栏目本身不允许发布文档)</label> <br>
<input name="ispart" type="radio" id="ispart2" value="2" class="np">
<label for="ispart2">外部连接(在"文件保存目录"处填写网址)</label>
<label><input type="radio" name="ispart" value="0" checked="checked"> 最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label><br>
<label><input type="radio" name="ispart" value="1"> 频道封面(栏目本身不允许发布文档)</label> <br>
<label><input type="radio" name="ispart" id="ispart2" value="2"> 外部连接(在"文件保存目录"处填写网址)</label>
</td>
</tr>
<tr id="helpvarco" style="display:none">
@@ -338,12 +329,9 @@
<tr>
<td style="padding-left:10px">栏目交叉:<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvarco')" style="cursor:pointer"></i> 仅适用[最终列表栏目]</td>
<td>
<input name="cross" type="radio" id="cross0" value="0" class='np' onClick="CheckCross()" checked='1'>
<label for="cross0">不交叉</label>
<input name="cross" type="radio" id="cross1" value="1" class='np' onClick="CheckCross()">
<label for="cross1">自动获取同名栏目内容</label>
<input name="cross" type="radio" id="cross2" value="2" class='np' onClick="CheckCross()">
<label for="cross2">手工指定交叉栏目ID(用逗号分开)</label>
<label><input type="radio" name="cross" id="cross0" value="0" onClick="CheckCross()" checked="1"> 不交叉</label>
<label><input type="radio" name="cross" id="cross1" value="1" onClick="CheckCross()"> 自动获取同名栏目内容</label>
<label><input type="radio" name="cross" id="cross2" value="2" onClick="CheckCross()"> 手工指定交叉栏目ID(用逗号分开)</label>
<br>
<textarea name="crossid" id="crossid" style="display:none"></textarea>
</td>
@@ -380,8 +368,8 @@
<tr>
<td class="bline" width="260" style="padding-left:10px">多站点支持:</td>
<td class="bline">
<label><input name="moresite" type="radio" class="np" value="0" checked="checked">&nbsp;不启用&nbsp;</label>
<label><input type="radio" name="moresite" class="np" value="1">&nbsp;启用</label>
<label><input type="radio" name="moresite" value="0" checked="checked"> 不启用</label>
<label><input type="radio" name="moresite" value="1"> 启用</label>
</td>
</tr>
<tr>
@@ -390,7 +378,7 @@
</tr>
<tr>
<td class="bline" style="padding-left:10px">绑定域名:</td>
<td class="bline"><input name="siteurl" type="text" id="siteurl" onChange="CheckPathSet();" style="width:260px">(需加 http://,一级或二级域名的根网址)</td>
<td class="bline"><input type="text" name="siteurl" id="siteurl" onChange="CheckPathSet();" style="width:260px">(需加 http://,一级或二级域名的根网址)</td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">站点根目录:</td>
@@ -421,7 +409,7 @@
<tr>
<td style="padding-left:10px">封面模板:</td>
<td>
<input name="tempindex" type="text" value="{style}/index_<?php echo $nid?>.htm" style="width:260px">
<input type="text" name="tempindex" value="{style}/index_<?php echo $nid?>.htm" style="width:260px">
<button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览</button>
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar1')" style="cursor:pointer"></i>
</td>
@@ -429,14 +417,14 @@
<tr>
<td style="padding-left:10px">列表模板:</td>
<td>
<input name="templist" type="text" value="{style}/list_<?php echo $nid?>.htm" style="width:260px">
<input type="text" name="templist" value="{style}/list_<?php echo $nid?>.htm" style="width:260px">
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templist')">浏览</button>
</td>
</tr>
<tr>
<td style="padding-left:10px">文章模板:</td>
<td>
<input name="temparticle" type="text" value="{style}/article_<?php echo $nid?>.htm" style="width:260px">
<input type="text" name="temparticle" value="{style}/article_<?php echo $nid?>.htm" style="width:260px">
<button type="button" name="set4" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.temparticle')">浏览</button>
</td>
</tr>
@@ -455,7 +443,7 @@
<tr>
<td style="padding-left:10px">文章命名规则:</td>
<td>
<input name="namerule" type="text" id="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>
@@ -466,13 +454,13 @@
<tr>
<td style="padding-left:10px">列表命名规则:</td>
<td>
<input name="namerule2" type="text" id="namerule2" value="{typedir}/{tid}-{page}.html" style="width:260px">
<input type="text" name="namerule2" id="namerule2" value="{typedir}/{tid}-{page}.html" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar3')" style="cursor:pointer"></i>
</td>
</tr>
<tr>
<td height="60" style="padding-left:10px">SEO标题:</td>
<td><input name="seotitle" type="text" id="seotitle" style="width:260px">(栏目模板里用{dede:field.seotitle /}调用)</td>
<td><input type="text" name="seotitle" id="seotitle" style="width:260px">(栏目模板里用{dede:field.seotitle /}调用)</td>
</tr>
<tr>
<td height="60" style="padding-left:10px">关键词:</td>
@@ -488,11 +476,7 @@
<td style="padding-left:10px">说明:栏目内容是替代原来栏目单独页的更灵活的一种方式,可在栏目模板中用{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" style="border:1px solid #dee2e6;border-top:0" class="mb-3">


+ 15
- 17
src/admin/templets/catalog_add_quick.htm View File

@@ -121,25 +121,23 @@
<tr>
<td width="260" class="bline" style="padding-left:10px">是否支持投稿:</td>
<td class="bline">
<label><input type="radio" name="issend" value="0" class="np"> 不支持</label>
<label><input type="radio" name="issend" value="1" class="np" checked="1"> 支持</label>
<label><input type="radio" name="issend" value="0"> 不支持</label>
<label><input type="radio" name="issend" value="1" checked="1"> 支持</label>
</td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">目录保存位置:</td>
<td class="bline">
<input name="referpath" type="radio" id="truepath1" class="np" value="parent" checked="1">
<label for="truepath1">默认HMTL目录(
<label><input type="radio" name="referpath" value="parent" checked="1"> 默认HMTL目录(
<?php
$pardir = '{cmspath}'.$cfg_arcdir;
if(!empty($typedir)) $pardir = $typedir.'/';
$pardir = preg_replace("#\/{1,}#", '/', $pardir);
echo $pardir;
?>)</label>
<input name="referpath" type="radio" id="truepath2" class="np" value="cmspath">
<label for="truepath2">CMS根目录</label>
<input name="nextdir" type="hidden" id="nextdir" value="<?php echo $pardir; ?>">
<span id="pathtype" style="display:none"><input name="referpath" type="radio" id="truepath3" class="np" value="typepath">隶属栏目所属的目录</span>
<label><input type="radio" name="referpath" value="cmspath"> CMS根目录</label>
<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>
<tr>
@@ -167,14 +165,14 @@
<tr>
<td class="bline" style="padding-left:10px">栏目列表选项:</td>
<td class="bline">
<label><input type="radio" name="isdefault" value="1" class="np" checked="1"> 链接到默认页</label>
<label><input type="radio" name="isdefault" value="0" class="np"> 链接到列表第一页</label>
<label><input type="radio" name="isdefault" value="-1" class="np"> 使用动态页</label>
<label><input type="radio" name="isdefault" value="1" checked="1"> 链接到默认页</label>
<label><input type="radio" name="isdefault" value="0"> 链接到列表第一页</label>
<label><input type="radio" name="isdefault" value="-1"> 使用动态页</label>
</td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">默认页的名称:</td>
<td class="bline"><input name="defaultname" type="text" value="index.html" class="pubinputs" style="width:260px"></td>
<td class="bline"><input type="text" name="defaultname" value="index.html" class="pubinputs" style="width:260px"></td>
</tr>
<tr id="helpvar2" style="display:none">
<td bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
@@ -190,7 +188,7 @@
<tr>
<td class="bline" style="padding-left:10px">文章命名规则:</td>
<td class="bline">
<input name="namerule" type="text" id="namerule" value="{typedir}/{aid}.html" class="pubinputs" style="width:260px">
<input type="text" name="namerule" id="namerule" value="{typedir}/{aid}.html" class="pubinputs" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar2')" style="cursor:pointer"></i>
</td>
</tr>
@@ -201,7 +199,7 @@
<tr>
<td style="padding-left:10px">列表命名规则:</td>
<td>
<input name="namerule2" type="text" id="namerule2" value="{typedir}/{tid}-{page}.html" class="pubinputs" style="width:260px">
<input type="text" name="namerule2" id="namerule2" value="{typedir}/{tid}-{page}.html" class="pubinputs" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar3')" style="cursor:pointer"></i>
</td>
</tr>
@@ -226,7 +224,7 @@
</td>
<td align="center"><input type="text" name="toptype" id="toptype" class="pubinputs" style="width:160px"></td>
<td><input type="text" name="sontype" id="sontype" class="pubinputs" style="width:360px"></td>
<td align="center"><button name="" type="button" id="add" class="btn btn-success btn-sm del">删除</button></td>
<td align="center"><button type="button" name="" id="add" class="btn btn-success btn-sm del">删除</button></td>
</tr>
<?php for($i=2;$i<=10;$i++) { ?>
<tr class="repeat" align="center">
@@ -236,7 +234,7 @@
</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:360px"></td>
<td align="center"><button name="" type="button" id="add" class="btn btn-success btn-sm del">删除</button></td>
<td align="center"><button type="button" name="" id="add" class="btn btn-success btn-sm del">删除</button></td>
</tr>
<?php } ?>
</tbody>
@@ -254,7 +252,7 @@
<input type="text" name="rank" id="rank" value="1" class="pubinputs" style="width:60px">
</td>
<td><input type="text" name="reltype" id="reltype" class="pubinputs" style="width:160px"></td>
<td align="center"><button name="" type="button" id="add" class="btn btn-success btn-sm del">删除</button></td>
<td align="center"><button type="button" name="" id="add" class="btn btn-success btn-sm del">删除</button></td>
</tr>
<?php for($i=2;$i<=10;$i++) { ?>
<tr class="repeat" align="center">


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

@@ -164,15 +164,15 @@
<tr>
<td width="260" class="bline" style="padding-left:10px">是否支持投稿:</td>
<td class="bline">
<label><input type="radio" name="issend" value="0" class="np" <?php if($myrow['issend']=="0") echo " checked='1' "; ?>> 不支持</label>
<label><input type="radio" name="issend" value="1" class="np" <?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>
</td>
</tr>
<tr>
<td width="260" class="bline" style="padding-left:10px">是否隐藏栏目:</td>
<td class="bline">
<label><input type="radio" name="ishidden" value="0" class="np" <?php if($myrow['ishidden']=="0") echo " checked='1' "; ?>> 显示</label>
<label><input type="radio" name="ishidden" value="1" class="np" <?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>
@@ -191,37 +191,37 @@
</tr>
<tr>
<td class="bline" style="padding-left:10px">中文名称:</td>
<td class="bline"><input name="typename" type="text" value="<?php echo $myrow['typename']?>" class="iptxt" style="width:260px"></td>
<td class="bline"><input type="text" name="typename" value="<?php echo $myrow['typename']?>" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">中文概述:</td>
<td class="bline"><input name="cnoverview" type="text" value="<?php echo $myrow['cnoverview']?>" class="iptxt" style="width:260px"></td>
<td class="bline"><input type="text" name="cnoverview" value="<?php echo $myrow['cnoverview']?>" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">英文名称:</td>
<td class="bline"><input name="enname" type="text" value="<?php echo $myrow['enname']?>" class="iptxt" style="width:260px"></td>
<td class="bline"><input type="text" name="enname" value="<?php echo $myrow['enname']?>" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">英文概述:</td>
<td class="bline"><input name="enoverview" type="text" value="<?php echo $myrow['enoverview']?>" class="iptxt" style="width:260px"></td>
<td class="bline"><input type="text" name="enoverview" value="<?php echo $myrow['enoverview']?>" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">栏目大图:</td>
<td>
<input name="bigpic" type="text" value="<?php echo $myrow['bigpic']?>" style="width:260px">
<input type="text" name="bigpic" value="<?php echo $myrow['bigpic']?>" style="width:260px">
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.bigpic');">
</td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">栏目小图:</td>
<td>
<input name="litimg" type="text" value="<?php echo $myrow['litimg']?>" style="width:260px">
<input type="text" name="litimg" value="<?php echo $myrow['litimg']?>" style="width:260px">
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litimg');">
</td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">排列顺序:</td>
<td class="bline"><input name="sortrank" type="text" value="<?php echo $myrow['sortrank']?>" class="iptxt" style="width:60px">(由低 &gt; 高)</td>
<td class="bline"><input type="text" name="sortrank" value="<?php echo $myrow['sortrank']?>" class="iptxt" style="width:60px">(由低 &gt; 高)</td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">浏览权限:</td>
@@ -244,26 +244,26 @@
</tr>
<tr>
<td class="bline" style="padding-left:10px">文件保存目录:</td>
<td class="bline"><input name="typedir" type="text" id="typedir" value="<?php echo $myrow['typedir']?>" class="iptxt" style="width:260px">(标签“{cmspath}”必填,请勿删除)</td>
<td class="bline"><input type="text" name="typedir" id="typedir" value="<?php echo $myrow['typedir']?>" class="iptxt" style="width:260px">(标签“{cmspath}”必填,请勿删除)</td>
</tr>
<tr>
<td style="padding-left:10px">栏目列表选项:</td>
<td>
<label><input type="radio" name="isdefault" value="1" class="np" <?php if($myrow['isdefault']==1) echo " checked='1' "; ?>> 链接到默认页</label>
<label><input type="radio" name="isdefault" value="0" class="np" <?php if($myrow['isdefault']==0) echo " checked='1' "; ?>> 链接到列表第一页</label>
<label><input type="radio" name="isdefault" value="-1" class="np" <?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>
<td class="bline" style="padding-left:10px">默认页的名称:</td>
<td class="bline"><input name="defaultname" type="text" value="<?php echo $myrow['defaultname']?>" class="iptxt" style="width:260px"></td>
<td class="bline"><input type="text" name="defaultname" value="<?php echo $myrow['defaultname']?>" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">栏目属性:</td>
<td class="bline">
<label><input name="ispart" type="radio" id="radio" value="0" class='np' <?php if($myrow['ispart']==0) echo " checked='1' "; ?>> 最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label><br>
<label><input name="ispart" type="radio" id="radio2" value="1" class='np' <?php if($myrow['ispart']==1) echo " checked='1' "; ?>> 频道封面(栏目本身不允许发布文档)</label><br>
<label><input name="ispart" type="radio" id="radio3" value="2" class='np' <?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">
@@ -274,9 +274,9 @@
<tr>
<td style="padding-left:10px">栏目交叉:<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvarco')" style="cursor:pointer"></i> 仅适用[最终列表栏目]</td>
<td class="bline">
<label><input name="cross" type="radio" id="cross0" onClick="CheckCross()" value="0" class='np' <?php if($myrow['cross']==0) echo " checked='1' "; ?>> 不交叉</label>
<label><input name="cross" type="radio" id="cross1" onClick="CheckCross()" value="1" class='np' <?php if($myrow['cross']==1) echo " checked='1' "; ?>> 自动获取同名栏目内容</label>
<label><input name="cross" type="radio" id="cross2" onClick="CheckCross()" value="2" class='np' <?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>
</td>
@@ -315,8 +315,8 @@
<tr>
<td class="bline" width="260" style="padding-left:10px">多站点支持:</td>
<td class="bline">
<label><input name="moresite" type="radio" class="np" value="0" <?php if($myrow['moresite']==0) echo " checked='1' "; ?>> 不启用</label>
<label><input type="radio" name="moresite" class="np" 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>
</td>
</tr>
<tr>
@@ -325,7 +325,7 @@
</tr>
<tr>
<td class="bline" style="padding-left:10px">绑定域名:</td>
<td class="bline"><input name="siteurl" type="text" id="siteurl" value="<?php echo $myrow['siteurl']?>" class="iptxt" style="width:260px">(需加 http://,一级或二级域名的根网址)</td>
<td class="bline"><input type="text" name="siteurl" id="siteurl" value="<?php echo $myrow['siteurl']?>" class="iptxt" style="width:260px">(需加 http://,一级或二级域名的根网址)</td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">站点根目录:</td>
@@ -349,7 +349,7 @@
<tr>
<td style="padding-left:10px">封面模板:</td>
<td>
<input name="tempindex" type="text" value="<?php echo $myrow['tempindex']?>" class="iptxt" style="width:260px">
<input type="text" name="tempindex" value="<?php echo $myrow['tempindex']?>" class="iptxt" style="width:260px">
<button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览</button>
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar1')" style="cursor:pointer"></i>
</td>
@@ -357,14 +357,14 @@
<tr>
<td style="padding-left:10px">列表模板:</td>
<td>
<input name="templist" type="text" value="<?php echo $myrow['templist']?>" class="iptxt" style="width:260px">
<input type="text" name="templist" value="<?php echo $myrow['templist']?>" class="iptxt" style="width:260px">
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templist')">浏览</button>
</td>
</tr>
<tr>
<td style="padding-left:10px">文章模板:</td>
<td>
<input name="temparticle" type="text" value="<?php echo $myrow['temparticle']?>" class="iptxt" style="width:260px">
<input type="text" name="temparticle" value="<?php echo $myrow['temparticle']?>" class="iptxt" style="width:260px">
<button type="button" name="set4" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.temparticle')">浏览</button>
</td>
</tr>
@@ -383,7 +383,7 @@
<tr>
<td style="padding-left:10px">文章命名规则:</td>
<td>
<input name="namerule" type="text" id="namerule" value="<?php echo $myrow['namerule']?>" class="iptxt" style="width:260px">
<input type="text" name="namerule" id="namerule" value="<?php echo $myrow['namerule']?>" class="iptxt" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar2')" style="cursor:pointer"></i>
</td>
</tr>
@@ -394,13 +394,13 @@
<tr>
<td style="padding-left:10px">列表命名规则:</td>
<td>
<input name="namerule2" type="text" id="namerule2" value="<?php echo $myrow['namerule2']?>" class="iptxt" style="width:260px">
<input type="text" name="namerule2" id="namerule2" value="<?php echo $myrow['namerule2']?>" class="iptxt" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar3')" style="cursor:pointer"></i>
</td>
</tr>
<tr>
<td height="60" style="padding-left:10px">SEO标题:</td>
<td><input name="seotitle" type="text" id="seotitle" value="<?php echo $myrow['seotitle']?>" style="width:260px">(栏目模板里用{dede:field.seotitle /}调用)</td>
<td><input type="text" name="seotitle" id="seotitle" value="<?php echo $myrow['seotitle']?>" style="width:260px">(栏目模板里用{dede:field.seotitle /}调用)</td>
</tr>
<tr>
<td height="60" style="padding-left:10px">关键词:</td>
@@ -413,7 +413,7 @@
<tr>
<td height="36" style="padding-left:10px">继承选项:</td>
<td>
<label><input name="upnext" type="checkbox" id="upnext" value="1" class="np">同时修改下级栏目的浏览权限、内容类型、模板风格、命名规则等通用属性</label>
<label><input type="checkbox" name="upnext" id="upnext" value="1">同时修改下级栏目的浏览权限、内容类型、模板风格、命名规则等通用属性</label>
</td>
</tr>
</table>


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

@@ -38,8 +38,8 @@
<input type="hidden" name="att_<?php echo $k?>" value="<?php echo $row->att?>">
<tr>
<td align="center"><?php echo $row->att; ?></td>
<td><input name="sortid_<?php echo $k?>" value="<?php echo $row->sortid; ?>" type="text" id="sortid_<?php echo $k?>" class="pubinputs" style="width:50%"></td>
<td><input name="attname_<?php echo $k?>" value="<?php echo $row->attname; ?>" type="text" id="attname_<?php echo $k?>" size="30" class="pubinputs"></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
}


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

@@ -96,7 +96,7 @@
<table cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td colspan="2">
<label><input name="seltime" type="checkbox" class="np" id="seltime" value="1" onClick="ShowHideTime()"> 启用时间筛选(仅移动或删除文档可用该选项)</label>
<label><input type="checkbox" name="seltime" id="seltime" value="1" onClick="ShowHideTime()"> 启用时间筛选(仅移动或删除文档可用该选项)</label>
</td>
</tr>
<tr id="seltimeField" style="display:none">
@@ -117,10 +117,10 @@
<tr>
<td>操作:</td>
<td>
<label><input name="action" type="radio" class="np" id="checkradio" onClick="ShowHideMove()" value="check" checked="1"> 审核文档</label>
<label><input name="action" type="radio" class="np" value="makehtml" id="makehtmlradio" onClick="ShowHideMove()"> 更新HTML</label>
<label><input name="action" type="radio" class="np" value="move" id="moveradio" onClick="ShowHideMove()"> 移动文档</label>
<label><input name="action" type="radio" class="np" id="delradio" value="del" onClick="ShowHideMove()"> 删除文档</label>
<label><input type="radio" name="action" value="check" onClick="ShowHideMove()" checked="1"> 审核文档</label>
<label><input type="radio" name="action" value="makehtml" onClick="ShowHideMove()"> 更新HTML</label>
<label><input type="radio" name="action" value="move" onClick="ShowHideMove()"> 移动文档</label>
<label><input type="radio" name="action" value="del" onClick="ShowHideMove()"> 删除文档</label>
</td>
</tr>
<tr>
@@ -138,7 +138,7 @@
</tr>
<tr>
<td bgcolor="#F8FCF1" colspan="2" align="center">
<button name="b112" type="button" onClick="document.form1.submit();" class="btn btn-success btn-sm">开始操作</button>
<button type="button" name="b112" onClick="document.form1.submit();" class="btn btn-success btn-sm">开始操作</button>
</td>
</tr>
</form>
@@ -182,14 +182,14 @@
</tr>
<tr>
<td colspan="2" align="center">
<label><input type="radio" value="delnulltitle" name="action" class="np"> 删除空标题的文章</label>
<label><input type="radio" value="delnullbody" name="action" class="np"> 删除内容为空的文章</label>
<label><input type="radio" value="modddpic" name="action" class="np"> 更正缩图错误</label>
<label><input type="radio" value="delnulltitle" name="action"> 删除空标题的文章</label>
<label><input type="radio" value="delnullbody" name="action"> 删除内容为空的文章</label>
<label><input type="radio" value="modddpic" name="action"> 更正缩图错误</label>
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#f8f8f8" align="center">
<button name="b112" type="button" onClick="document.form2.submit();" class="btn btn-success btn-sm">开始操作</button>
<button type="button" name="b112" onClick="document.form2.submit();" class="btn btn-success btn-sm">开始操作</button>
</td>
</tr>
</form>


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

@@ -84,7 +84,7 @@
<td width="12%" align="center" class="py-3"><img src="{dede:field.litpic function='CheckPic(@me)'/}" style="max-width:80px;max-height:60px"></td>
<td width="32%" align="left" class="pl-3">
<p>
<input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np">
<input type="checkbox" name="arcID" id="arcID" value="{dede:field.id/}">
<i class="btn btn-sm fa fa-cogs" onClick="QuickEdit({dede:field.id/},event,this);" title="编辑属性" style="cursor:pointer"></i>
<a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}&nbsp;{dede:field.flag function='IsCommendArchives(@me)'/}</a>
</p>


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

@@ -45,7 +45,7 @@
{dede:global.optionarr/}
</select>
</td>
<td width="270"><input name="keyword" type="text" placeholder="请输入关键词" value="{dede:global.keyword/}" style="width:260px"></td>
<td width="270"><input type="text" name="keyword" placeholder="请输入关键词" value="{dede:global.keyword/}" style="width:260px"></td>
<td width="170">
<select name="orderby" style="width:160px">
<option value="id">选择排序</option>
@@ -89,7 +89,7 @@
{dede:datalist empty='<tr><td colspan="10"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>{dede:field.id/}</td>
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np"></td>
<td><input type="checkbox" name="arcID" id="arcID" value="{dede:field.id/}"></td>
<td align="left"><span id="arc{dede:field.id/}"><a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}</a></span>{dede:field.flag function='IsCommendArchives(@me)'/}</td>
<td>{dede:field.senddate function='GetDateMk(@me)'/}</td>
<td><a href="content_list.php?cid={dede:field.typeid/}">{dede:field.typeid function='GetTypename(@me)'/}</a></td>


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

@@ -135,7 +135,7 @@
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';" >
<td>{dede:field.id/}</td>
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np"></td>
<td><input type="checkbox" name="arcID" id="arcID" value="{dede:field.id/}"></td>
<td align="left"><a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}</a></td>
<td><?php echo MyDate("Y-m-d H:i",$fields['senddate'])?></td>
<td>{dede:field.typeid function='GetTypename(@me)'/}</td>


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

@@ -67,7 +67,7 @@
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'}
<tr align="center" onMouseOut="javascript:this.bgColor='#ffffff';" >
<td>{dede:field.id/}</td>
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np"></td>
<td><input type="checkbox" name="arcID" id="arcID" value="{dede:field.id/}"></td>
<td align="left"><a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}</a></td>
<td>{dede:field.senddate function="GetDateMk(@me)" /}</td>
<td>{dede:field.typeid function='GetTypename(@me)'/}</td>


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

@@ -176,7 +176,7 @@
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>{dede:field.id/}</td>
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.aid/}" class="np"></td>
<td><input type="checkbox" name="arcID" id="arcID" value="{dede:field.aid/}"></td>
<td align="left"><a href="archives_do.php?aid={dede:field.aid/}&dopost=editArchives">{dede:field.title/}{dede:field.flag function='IsCommendArchives(@me)'/}</a></td>
<td>{dede:field.senddate function='GetDateMk(@me)'/}</td>
<td>{dede:field.typename/}</td>


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

@@ -46,21 +46,21 @@
<tr>
<td width="260" align="left">diyid:<span class="style2" id="help1">数字,创建后不可修改,并具有唯一性推荐使用默认值</span></td>
<td>
<input name="diyid" type="text" id="diyid" size="10" value="<?php echo $newdiyid?>" class="pubinputs" style='width:60px'> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help1')" style="cursor:hand"></i>
<input type="text" name="diyid" id="diyid" size="10" value="<?php echo $newdiyid?>" class="pubinputs" style='width:60px'> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help1')" style="cursor:hand"></i>
</td>
</tr>
<tr>
<td align="left">自定义表单名称:<br>
<span class="style2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span></td>
<td>
<input name="name" type="text" 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 name="table" type="text" 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>
@@ -69,22 +69,22 @@
</tr>
<tr>
<td align="left">列表模板:</td>
<td><input name="listtemplate" type="text" 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 name="viewtemplate" type="text" 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 name="posttemplate" type="text" 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>
<td>
<label><input name="public" type="radio" value="2" class="np"> 完全公开</label>
<label><input name="public" type="radio" value="1" class="np" checked="1"> 公开审核过的</label>
<label><input name="public" type="radio" value="0" class="np"> 不公开</label>
<label><input type="radio" name="public" value="2"> 完全公开</label>
<label><input type="radio" name="public" value="1" checked="1"> 公开审核过的</label>
<label><input type="radio" name="public" value="0"> 不公开</label>
</td>
</tr>
<tr>


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

@@ -59,20 +59,20 @@
<td>自定义表单名称:(修改表名不会创建新表,如果您不懂手工处理这些表,请不要修改)<br>
<span class="style2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span></td>
<td>
<input name="name" type="text" id="name" value="<?php echo $row['name']?>" 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 $row['name']?>" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help3')" style="cursor:hand"></i>
</td>
</tr>
<tr>
<td>数据表:<br>
<span class="style2" id="help5">自定义表单数据表创建后不可修改表名</span></td>
<td>
<input name="table" type="text" 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 name="fset" type="button" 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>
@@ -137,22 +137,22 @@
</tr>
<tr>
<td>列表模板:</td>
<td><input name="listtemplate" type="text" 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 name="viewtemplate" type="text" 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 name="posttemplate" type="text" 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 name="public" type="radio" value="2" <?php echo $row['public'] == 2 ? 'checked' : ''; ?> class='np'> 完全公开 </label>
<label><input name="public" type="radio" value="1" <?php echo $row['public'] == 1 ? 'checked' : ''; ?> class='np'> 公开审核过的 </label>
<label><input name="public" type="radio" value="0" <?php echo $row['public'] == 0 ? 'checked' : ''; ?> class='np'> 不公开 </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>


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

@@ -89,50 +89,50 @@
<tr>
<td width="30%">表单提示文字:<br>
<span class="style2">发布内容时显示的提示文字</span></td>
<td><input name="itemname" type="text" id="itemname" class="pubinputs"> *</td>
<td><input type="text" name="itemname" id="itemname" class="pubinputs"> *</td>
</tr>
<tr>
<td>字段名称:<br>
<span class="style2">只能用英文字母或数字,数据表的真实字段名,如果数据类型是联动类型,该项应该填写联动类型的<a href="stepselect_main.php" target="_blank">[组名称]</a></span></td>
<td><input name="fieldname" type="text" id="fieldname" class="pubinputs"> *</td>
<td><input type="text" name="fieldname" id="fieldname" class="pubinputs"> *</td>
</tr>
<tr>
<td>内容是否需要分页符:<br>
<span class="style2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td>
<td>
<input name="isnull" type="hidden" value="1">
<label><input name="spage" type="radio" value="split" class="np"> 是</label>
<label><input name="spage" type="radio" value="no" class="np" checked="1"> 否</label>
<input type="hidden" name="isnull" value="1">
<label><input type="radio" name="spage" value="split"> 是</label>
<label><input type="radio" name="spage" value="no" checked="1"> 否</label>
</td>
</tr>
<tr>
<td>数据类型:</td>
<td>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype1" value="text" checked="1"> 单行文本(varchar)</label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype2" value="textchar"> 单行文本(char)</label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype3" value="multitext"> 多行文本</label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype4" value="htmltext"> HTML文本</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype1" value="text" checked="1"> 单行文本(varchar)</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype2" value="textchar"> 单行文本(char)</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype3" value="multitext"> 多行文本</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype4" value="htmltext"> HTML文本</label></div>
<br class="cls">
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype6" value="int"> 整数类型</label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype7" value="float"> 小数类型</label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype8" value="datetime"> 时间类型</label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype13" value="select"> 使用option下拉框</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype6" value="int"> 整数类型</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype7" value="float"> 小数类型</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype8" value="datetime"> 时间类型</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype13" value="select"> 使用option下拉框</label></div>
<br class="cls">
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype14" value="radio"> 使用radio选项卡</label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype15" value="checkbox"> Checkbox多选框</label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype9" value="img"> 图片</label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype12" value="addon"> 附件类型</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype14" value="radio"> 使用radio选项卡</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype15" value="checkbox"> Checkbox多选框</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype9" value="img"> 图片</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype12" value="addon"> 附件类型</label></div>
</td>
</tr>
<tr>
<td>默认值:<br>
<span class="style2">如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(用“,”分开,如“男,女,人妖”)</span></td>
<td><textarea name="vdefault" type="text" id="vdefault" style="width:70%;height:60px"></textarea></td>
<td><textarea name="vdefault" id="vdefault" style="width:70%;height:60px"></textarea></td>
</tr>
<tr>
<td>最大长度:<br>
<span class="style2">文本数据必须填写,大于255为text类型</span></td>
<td><input name="maxlength" type="text" id="maxlength" class="pubinputs" value="250" style="width:80px"></td>
<td><input type="text" name="maxlength" id="maxlength" class="pubinputs" value="250" style="width:80px"></td>
</tr>
<tr>
<td>自定义表单HTML:</td>


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

@@ -74,7 +74,7 @@ td{ padding:6px; padding-left:6px; }
<tr>
<td>表单提示文字:<br>
<span class="style2">发布内容时显示的提示文字</span></td>
<td><input name="itemname" type="text" id="itemname" value="<?php echo $ctag->GetAtt('itemname')?>" class="pubinputs"> *(发布内容时显示的项名字)</td>
<td><input type="text" name="itemname" id="itemname" value="<?php echo $ctag->GetAtt('itemname')?>" class="pubinputs"> *(发布内容时显示的项名字)</td>
</tr>
<tr>
<td width="28%">字段名称:<br>
@@ -120,20 +120,20 @@ td{ padding:6px; padding-left:6px; }
<td>内容是否需要分页符:<br>
<span class="style2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td>
<td>
<input name="isnull" type="hidden" value="1">
<label><input name="spage" type="radio" value="split"<?php if($ctag->GetAtt('page')=='split') echo " checked='1' "; ?> class='np'> 是</label>
<label><input name="spage" type="radio" value="no"<?php if($ctag->GetAtt('page')=='no'||$ctag->GetAtt('page')=='') echo " checked='1' "; ?> class='np'> 否</label>
<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>
</td>
</tr>
<tr>
<td>默认值:<br>
<span class="style2"> 如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(用“,”分开,如“男,女,人妖”)如果为联动选框,这里填写联动选框项目名称</span></td>
<td><textarea name="vdefault" type="text" id="vdefault" style="width:70%;height:60px"><?php echo $ctag->GetAtt('default'); ?></textarea></td>
<td><textarea name="vdefault" id="vdefault" style="width:70%;height:60px"><?php echo $ctag->GetAtt('default'); ?></textarea></td>
</tr>
<tr>
<td>最大长度:<br>
<span class="style2"> 文本数据必须填写,大于255为text类型 </span></td>
<td><input name="maxlength" type="text" id="maxlength" value="<?php echo $ctag->GetAtt('maxlength')?>" style="width:80px;padding-top:6px"></td>
<td><input type="text" name="maxlength" id="maxlength" value="<?php echo $ctag->GetAtt('maxlength')?>" style="width:80px;padding-top:6px"></td>
</tr>
<tr>
<td>自定义表单HTML:</td>


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

@@ -24,7 +24,7 @@
{
$allowhtml = array('htmltext');
$fields['sta'] = $fields['ifcheck'] == 1 ? '已审核':'未审核';
echo '<tr bgcolor="#F8FCF1"><td width="18%"><input type="checkbox" name="id[]" value="'.$fields['id'].'" class="np"></td><td><a href="diy_list.php?action=edit&diyid='.$diy->diyid.'&id='.$fields['id'].'">'.$fields['id'].'</a> '.$fields['sta'].'</td><td width="12%" align="center"><a href="diy_list.php?action=edit&diyid='.$diy->diyid.'&id='.$fields['id'].'"><i class="btn btn-sm fa fa-pencil-square-o" title="修改"></i></a></td></tr>';
echo '<tr bgcolor="#F8FCF1"><td width="18%"><input type="checkbox" name="id[]" value="'.$fields['id'].'"></td><td><a href="diy_list.php?action=edit&diyid='.$diy->diyid.'&id='.$fields['id'].'">'.$fields['id'].'</a> '.$fields['sta'].'</td><td width="12%" align="center"><a href="diy_list.php?action=edit&diyid='.$diy->diyid.'&id='.$fields['id'].'"><i class="btn btn-sm fa fa-pencil-square-o" title="修改"></i></a></td></tr>';
foreach($fieldlist as $field=>$fielddata)
{
if($fields[$field]=='') continue;


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

@@ -71,7 +71,7 @@
</tr>
{dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'}
<tr align="center" onMouseMove="javascript:this.bgColor='#F8FCF1';" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input name="id" type="checkbox" id="id" value="{dede:field.id/}" class="np"></td>
<td><input type="checkbox" name="id" id="id" value="{dede:field.id/}"></td>
<td>{dede:field.id /}</td>
<td>{dede:field.mid function='username(@me)'/}</td>
<td><a href='archives_do.php?dopost=editArchives&aid={dede:field.aid/}'>{dede:field.title /}</a></td>


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

@@ -25,7 +25,7 @@
</tr>
<tr>
<td>评论人:</td>
<td><input name="username" type="text" 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>
@@ -54,7 +54,7 @@
<tr>
<td colspan="2" align="center" class="py-3">
<button type="submit" class="btn btn-success btn-sm">保存</button>
<button onClick="location='<?php echo $ENV_GOBACK_URL; ?>';" type="button" 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>


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

@@ -92,7 +92,7 @@
<td style="padding:0">
<table width="100%" cellpadding="0" cellspacing="1" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';" class="table table-borderless">
<tr>
<td width="8%">选择 <input name="fid" type="checkbox" class="np" id="fid" value="{dede:field.id/}"></td>
<td width="8%">选择 <input type="checkbox" name="fid" id="fid" value="{dede:field.id/}"></td>
<td width="10%">用户:{dede:field.username/}</td>
<td width="30%">
文档:<a href='feedback_main.php?aid={dede:field.aid/}'>{dede:field.arctitle function="RemoveXSS(@me)"/}</a> (<a href="archives_do.php?aid={dede:field.aid/}&dopost=viewArchives" target="_blank">浏览</a>)


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

@@ -87,33 +87,33 @@
</tr>
<tr>
<td width="260" align="left">自由列表标题:</td>
<td align="left"><input name="title" type="text" id="title" style="width:260px"></td>
<td align="left"><input type="text" name="title" id="title" style="width:260px"></td>
</tr>
<tr>
<td align="left">列表HTML存放目录:</td>
<td align="left"><input name="listdir" type="text" id="listdir" value="{cmspath}/a/freelist/" style="width:260px"> {listdir}变量的值</td>
<td align="left"><input type="text" name="listdir" id="listdir" value="{cmspath}/a/freelist/" style="width:260px"> {listdir}变量的值</td>
</tr>
<tr>
<td align="left">目录默认页名称:</td>
<td align="left">
<input name="defaultpage" type="text" id="defaultpage" value="index.html" style="width:260px">
<label><input name="nodefault" type="checkbox" id="nodefault" value="1"> 不使用目录默认主页</label>
<input type="text" name="defaultpage" id="defaultpage" value="index.html" style="width:260px">
<label><input type="checkbox" name="nodefault" id="nodefault" value="1"> 不使用目录默认主页</label>
</td>
</tr>
<tr>
<td align="left">命名规则:</td>
<td align="left"><input name="namerule" type="text" id="namerule" value="{listdir}/index_{listid}_{page}.html" style="width:260px"></td>
<td align="left"><input type="text" name="namerule" id="namerule" value="{listdir}/index_{listid}_{page}.html" style="width:260px"></td>
</tr>
<tr>
<td align="left">列表模板:</td>
<td align="left">
<input name="templet" type="text" id="templet" value="{style}/list_free.htm" style="width:260px">
<input type="text" name="templet" id="templet" value="{style}/list_free.htm" style="width:260px">
<button type="button" name="set4" onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览</button>
</td>
</tr>
<tr>
<td align="left">最大列出页数:</td>
<td align="left"><input name="maxpage" type="text" id="maxpage" value="100" style="width:60px"></td>
<td align="left"><input type="text" name="maxpage" id="maxpage" value="100" style="width:60px"></td>
</tr>
<tr>
<td align="left"></td>
@@ -121,7 +121,7 @@
</tr>
<tr>
<td align="left">关键词:</td>
<td align="left"><input name="keywords" type="text" id="keywords" style="width:260px"></td>
<td align="left"><input type="text" name="keywords" id="keywords" style="width:260px"></td>
</tr>
<tr>
<td align="left">列表描述:</td>
@@ -138,16 +138,16 @@
<table width="98%" cellspacing="0" cellpadding="0">
<tr>
<td width="25%" height="126">
<label><img src="../static/web/img/g_t2.jpg"><input name="liststyle" type="radio" onClick="ChangeListStyle()" value="1"></label>
<label><img src="../static/web/img/g_t2.jpg"><input type="radio" name="liststyle" onClick="ChangeListStyle()" value="1"></label>
</td>
<td width="25%">
<label><img src="../static/web/img/g_t1.jpg"><input type="radio" onClick="ChangeListStyle()" name="liststyle" value="2"></label>
<label><img src="../static/web/img/g_t1.jpg"><input type="radio" name="liststyle" onClick="ChangeListStyle()" value="2"></label>
</td>
<td width="25%">
<label><img src="../static/web/img/g_t3.jpg"><input type="radio" onClick="ChangeListStyle()" name="liststyle" value="3"></label>
<label><img src="../static/web/img/g_t3.jpg"><input type="radio" name="liststyle" onClick="ChangeListStyle()" value="3"></label>
</td>
<td>
<label><img src="../static/web/img/g_t4.jpg"><input name="liststyle" type="radio" onClick="ChangeListStyle()" value="4" checked></label>
<label><img src="../static/web/img/g_t4.jpg"><input type="radio" name="liststyle" onClick="ChangeListStyle()" value="4" checked></label>
</td>
</tr>
</table>
@@ -200,22 +200,22 @@
}
echo "</select>";
?>
文档发布时间:<input name="subday" type="text" id="subday2" value="0" style="width:60px"> 天以内(0表示不限)
文档发布时间:<input type="text" name="subday" id="subday2" value="0" style="width:60px"> 天以内(0表示不限)
</td>
</tr>
<tr>
<td align="left">
每页记录数:<input name="pagesize" type="text" id="pagesize" value="30" style="width:60px">
显示列数: <input name="col" type="text" id="col3" value="1" style="width:60px">
标题长度:<input name="titlelen" type="text" id="titlelen" value="60" style="width:60px">(1字节 = 0.5个中文字)
每页记录数:<input type="text" name="pagesize" id="pagesize" value="30" style="width:60px">
显示列数: <input type="text" name="col" id="col3" value="1" style="width:60px">
标题长度:<input type="text" name="titlelen" id="titlelen" value="60" style="width:60px">(1字节 = 0.5个中文字)
</td>
</tr>
<tr>
<td align="left">高级筛选:
<label><input name="types[]" type="checkbox" id="type1" value="image"> 带缩略图</label>
<label><input name="types[]" type="checkbox" id="type2" value="commend"> 推荐</label>
<label><input name="types[]" type="checkbox" id="type3" value="spec"> 专题</label>
关键词:<input name="keywordarc" type="text" id="keywordarc">(&quot;,&quot;逗号分开)
<label><input type="checkbox" name="types[]" id="type1" value="image"> 带缩略图</label>
<label><input type="checkbox" name="types[]" id="type2" value="commend"> 推荐</label>
<label><input type="checkbox" name="types[]" id="type3" value="spec"> 专题</label>
关键词:<input type="text" name="keywordarc" id="keywordarc">(&quot;,&quot;逗号分开)
</td>
</tr>
<tr>
@@ -229,7 +229,7 @@
<option value="lastpost">最后评论时间</option>
<option value="postnum">评论总数</option>
</select>
<label><input name="order" type="radio" value="desc" checked> 由高到低</label>
<label><input type="radio" name="order" value="desc" checked> 由高到低</label>
<label><input type="radio" name="order" value="asc"> 由低到高</label>
</td>
</tr>


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

@@ -75,33 +75,33 @@
</tr>
<tr>
<td width="260" align="left">自由列表标题:</td>
<td align="left"><input name="title" type="text" id="title" value="<?php echo $row['title']?>" style="width:260px"></td>
<td align="left"><input type="text" name="title" id="title" value="<?php echo $row['title']?>" style="width:260px"></td>
</tr>
<tr>
<td align="left">列表HTML存放目录:</td>
<td align="left"><input name="listdir" type="text" id="listdir" value="<?php echo $row['listdir']?>" style="width:260px"> {listdir}变量的值</td>
<td align="left"><input type="text" name="listdir" id="listdir" value="<?php echo $row['listdir']?>" style="width:260px"> {listdir}变量的值</td>
</tr>
<tr>
<td align="left">目录默认页名称:</td>
<td align="left">
<input name="defaultpage" type="text" id="defaultpage" value="<?php echo $row['defaultpage']?>" style="width:260px">
<label><input name="nodefault" type="checkbox" id="nodefault" value="1" <?php if($row['nodefault']==1) echo " checked"; ?>> 不使用目录默认主页</label>
<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>
</td>
</tr>
<tr>
<td align="left">命名规则:</td>
<td align="left"><input name="namerule" type="text" id="namerule" value="<?php echo $row['namerule']?>" style="width:260px"></td>
<td align="left"><input type="text" name="namerule" id="namerule" value="<?php echo $row['namerule']?>" style="width:260px"></td>
</tr>
<tr>
<td height="36" align="left">列表模板:</td>
<td align="left">
<input name="templet" type="text" id="templet" value="<?php echo $row['templet']?>" style="width:260px">
<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>
</td>
</tr>
<tr>
<td align="left">最大列出页数:</td>
<td align="left"><input name="maxpage" type="text" id="maxpage" value="<?php echo $row['maxpage']; ?>" style="width:60px"></td>
<td align="left"><input type="text" name="maxpage" id="maxpage" value="<?php echo $row['maxpage']; ?>" style="width:60px"></td>
</tr>
<tr>
<td align="left"></td>
@@ -109,7 +109,7 @@
</tr>
<tr>
<td align="left">关键词:</td>
<td align="left"><input name="keywords" type="text" id="keywords" value="<?php echo $row['keywords']; ?>" style="width:260px"></td>
<td align="left"><input type="text" name="keywords" id="keywords" value="<?php echo $row['keywords']; ?>" style="width:260px"></td>
</tr>
<tr>
<td align="left">列表描述:</td>
@@ -177,14 +177,14 @@
}
echo "</select>";
?>
文档发布时间:<input name="subday" type="text" id="subday" size="6" value="<?php echo $ctag->GetAtt('subday')?>"> 天以内(0表示不限)
文档发布时间:<input type="text" name="subday" id="subday" size="6" value="<?php echo $ctag->GetAtt('subday')?>"> 天以内(0表示不限)
</td>
</tr>
<tr>
<td align="left">
每页记录数:<input name="pagesize" type="text" id="pagesize" value="<?php echo $ctag->GetAtt('pagesize')?>" size="4">
显示列数:<input name="col" type="text" id="col" value="<?php $col = $ctag->GetAtt('col'); $v = ( empty($col) ? '1' : $col ); echo $v; ?>" size="4">
标题长度:<input name="titlelen" type="text" id="titlelen" value="<?php echo $ctag->GetAtt('titlelen')?>" size="4">(1字节 = 0.5个中文字)
每页记录数:<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="titlelen" id="titlelen" value="<?php echo $ctag->GetAtt('titlelen')?>" size="4">(1字节 = 0.5个中文字)
</td>
</tr>
<tr>
@@ -194,10 +194,10 @@
if($setype=='') $setype = 'X';
?>
高级筛选:
<label><input name="types[]" type="checkbox" id="type1" value="image" <?php if(preg_match("#image#i",$setype)) echo ' checked'; ?>> 带缩略图</label>
<label><input name="types[]" type="checkbox" id="type2" value="commend" <?php if(preg_match("#commend#i", $setype)) echo ' checked'; ?>> 推荐</label>
<label><input name="types[]" type="checkbox" id="type3" value="spec" class="inputbut" <?php if(preg_match("#spec#i", $setype)) echo ' checked'; ?>> 专题</label>
关键词:<input name="keywordarc" type="text" id="keywordarc" value="<?php echo $ctag->GetAtt('keyword')?>">(&quot;,&quot;逗号分开)
<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>
<tr>
@@ -225,8 +225,8 @@
<option value="lastpost">最后评论时间</option>
<option value="postnum">评论总数</option>
</select>
<label><input name="order" type="radio" 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>


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

@@ -41,23 +41,23 @@
<table width="98%" cellspacing="1" cellpadding="3" class="table table-borderless">
<tr>
<td width="260">网址:</td>
<td><input name="url" type="text" id="url" value="http://" class='pubinputs' style="width:260px"></td>
<td><input type="text" name="url" id="url" value="http://" class='pubinputs' style="width:260px"></td>
</tr>
<tr>
<td>网站名称:</td>
<td><input name="webname" type="text" id="webname" size="30" class='pubinputs' style="width:260px"></td>
<td><input type="text" name="webname" id="webname" size="30" class='pubinputs' style="width:260px"></td>
</tr>
<tr>
<td>排列位置:</td>
<td><input name="sortrank" type="text" id="sortrank" value="1" class='pubinputs' style='width:60px'>(由小到大排列)</td>
<td><input type="text" name="sortrank" id="sortrank" value="1" class='pubinputs' style='width:60px'>(由小到大排列)</td>
</tr>
<tr>
<td>网站Logo:</td>
<td><input name="logo" type="text" id="logo" size="30" class='pubinputs' style="width:260px">(88*31 gif或jpg)</td>
<td><input type="text" name="logo" id="logo" size="30" class='pubinputs' style="width:260px">(88*31 gif或jpg)</td>
</tr>
<tr>
<td>上传Logo:</td>
<td><input name="logoimg" type="file" id="logoimg" style="width:260px"></td>
<td><input type="text" name="logoimg" type="file" id="logoimg" style="width:260px"></td>
</tr>
<tr>
<td>网站简况:</td>
@@ -65,7 +65,7 @@
</tr>
<tr>
<td>站长Email:</td>
<td><input name="email" type="text" id="email" class='pubinputs' style="width:260px"></td>
<td><input type="text" name="email" id="email" class='pubinputs' style="width:260px"></td>
</tr>
<tr>
<td>网站类型:</td>


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

@@ -21,23 +21,23 @@
<table width="80%" cellspacing="1" cellpadding="3" class="table table-borderless">
<tr>
<td width="260">网址:</td>
<td><input name="url" type="text" id="url" value="<?php echo $myLink['url']?>" style="width:260px"></td>
<td><input type="text" name="url" id="url" value="<?php echo $myLink['url']?>" style="width:260px"></td>
</tr>
<tr>
<td width="260">排列位置:</td>
<td><input name="sortrank" type="text" id="sortrank" value="<?php echo $myLink['sortrank']?>" style="width:60px">(由小到大排列)</td>
<td><input type="text" name="sortrank" id="sortrank" value="<?php echo $myLink['sortrank']?>" style="width:60px">(由小到大排列)</td>
</tr>
<tr>
<td>网站名称:</td>
<td><input name="webname" type="text" id="webname" value="<?php echo $myLink['webname']?>" style="width:260px"></td>
<td><input type="text" name="webname" id="webname" value="<?php echo $myLink['webname']?>" style="width:260px"></td>
</tr>
<tr>
<td>网站Logo:</td>
<td><input name="logo" type="text" id="logo" value="<?php echo $myLink['logo']?>" style="width:260px">(88*31 gif或jpg)</td>
<td><input type="text" name="logo" id="logo" value="<?php echo $myLink['logo']?>" style="width:260px">(88*31 gif或jpg)</td>
</tr>
<tr>
<td>上传Logo:</td>
<td><input name="logoimg" type="file" id="logoimg" style="width:260px"></td>
<td><input type="text" name="logoimg" type="file" id="logoimg" style="width:260px"></td>
</tr>
<tr>
<td>网站简况:</td>
@@ -45,14 +45,14 @@
</tr>
<tr>
<td>站长Email:</td>
<td><input name="email" type="text" id="email" value="<?php echo $myLink['email']?>" class="pubinputs" style="width:260px"></td>
<td><input type="text" name="email" id="email" value="<?php echo $myLink['email']?>" class="pubinputs" style="width:260px"></td>
</tr>
<tr>
<td>链接位置:</td>
<td>
<label><input type="radio" name="ischeck" value="0" <?php if($myLink['ischeck']==0) echo " checked='1' "?>> 未审核</label>
<label><input type="radio" name="ischeck" value="1" <?php if($myLink['ischeck']==1) echo " checked='1' "?>> 内页</label>
<label><input type="radio" name="ischeck" value="2" <?php if($myLink['ischeck']==2) echo " checked='1' "?>> 首页</label>
<label><input type="radio" name="ischeck" value="0" <?php if($myLink['ischeck']==0) echo "checked='1'"?>> 未审核</label>
<label><input type="radio" name="ischeck" value="1" <?php if($myLink['ischeck']==1) echo "checked='1'"?>> 内页</label>
<label><input type="radio" name="ischeck" value="2" <?php if($myLink['ischeck']==2) echo "checked='1'"?>> 首页</label>
</td>
</tr>
<tr>


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

@@ -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 name="keyword" type="text" 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
@@ -85,7 +85,7 @@
</tr>
{dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input type='checkbox' name='aids' value='{dede:field.id/}' class='np'></td>
<td><input type='checkbox' name='aids' value='{dede:field.id/}'></td>
<td>{dede:field.webname function='dede_htmlspecialchars(@me)'/}<br><i>地址:{dede:field.url/}</i> </td>
<td>{dede:field.logo function="GetPic(@me)"/}</td>
<td>{dede:field.email/}</td>


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

@@ -36,8 +36,8 @@
<input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id?>">
<tr align="center">
<td><?php echo $row->id; ?></td>
<td><input name="pname_<?php echo $k?>" value="<?php echo $row->typename?>" type="text" id="pname_<?php echo $k?>" style="width:90%"></td>
<td><label><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked='1' class='np'> 保留</label></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>
<?php
}
@@ -47,8 +47,8 @@
<td colspan="3" bgcolor="#f8f8f8">新增一个网站类型:</td>
</tr>
<tr align="center">
<td colspan="2"><input name="pname_new" type="text" id="pname_new" class="pubinputs" style="width:90%"></td>
<td align="center"><label><input name="check_new" type="checkbox" id="check_new" value="1" checked="1" class="np"> 新增</label></td>
<td colspan="2"><input type="text" name="pname_new" id="pname_new" class="pubinputs" style="width:90%"></td>
<td align="center"><label><input type="checkbox" name="check_new" id="check_new" value="1" checked="1"> 新增</label></td>
</tr>
<tr>
<td colspan="3" align="center" bgcolor="#f8f8f8"><input name="imageField" type="submit" class="np coolbg" value="确定"></td>


+ 4
- 55
src/admin/templets/index.htm View File

@@ -11,55 +11,6 @@
<link rel="stylesheet" href="css/frame.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="js/frame.js"></script>
<style>
#skinlist {
display: block;
height: 10px;
margin-top: 10px;
overflow: hidden;
width: 86px
}
#skin div {
float: left
}
#skin li {
float: left;
width: 14px;
height: 10px;
cursor: pointer
}
#def div,
#s1 div,
#s2 div,
#s3 div,
#s4 div {
background-image: url(images/skinbutton.png)no-repeat
}
#s1 div {
background-position: 0 0px
}
#s2 div {
background-position: 0 -11px
}
#s3 div {
background-position: 0 -22px
}
#s4 div {
background-position: 0 -33px
}
#s1 div.sel {
background: url(images/skinbutton.png)no-repeat scroll -14px top transparent
}
#s2 div.sel {
background: url(images/skinbutton.png)no-repeat scroll -14px -11px transparent
}
#s3 div.sel {
background: url(images/skinbutton.png)no-repeat scroll -14px -22px transparent
}
#s4 div.sel {
background: url(images/skinbutton.png)no-repeat scroll -14px -33px transparent
}
</style>
</head>
<body class="showmenu">
<?php
@@ -100,15 +51,13 @@
<a href="exit.php">退出</a>
</li>
<?php
if($cuserLogin->getUserType()>=10) {
if($cuserLogin->getUserType()>=10){
?>
<li><a target="main" href="sys_info.php">系统配置</a></li>
<li><a target="main" href="catalog_main.php">栏目管理</a></li>
<li><a target="main" href="file_manage_main.php<?php echo DEDEBIZ_SAFE_MODE? '?activepath='.$cfg_medias_dir : '';?>">文件管理</a></li>
<?php if(!DEDEBIZ_SAFE_MODE) { ?><li><a target="main" href="templets_main.php">模板管理</a></li><?php } ?>
<?php
}
?>
<?php }?>
<?php if(!DEDEBIZ_SAFE_MODE){ ?><li><a target="main" href="templets_main.php">模板管理</a></li><?php }?>
<li><a target="main" href="makehtml_all.php">更新整站</a></li>
<?php echo ($cfg_mb_open=='Y')?'<li><a href="../user" target="_blank">会员中心</a></li>':''; ?>
<li><a href="../index.php?upcache=1" target="_blank">网站主页</a></li>
@@ -126,7 +75,7 @@
<div class="scroll">
<form action="action_search.php" method="post" target="main">
<input type="text" name="keyword" placeholder="功能搜索" class="allsearch">
<button type="submit" class="np">搜索</button>
<button type="submit" class="search">搜索</button>
<a href="<?php echo $cfg_biz_gitUrl; ?>" target="_blank"><i class="fa fa-code"></i> 代码托管</a>
<a href="<?php echo $cfg_biz_helpUrl; ?>" target="_blank"><i class="fa fa-question-circle"></i> 帮助中心</a>
</form>


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

@@ -3,7 +3,7 @@
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>系统概况</title>
<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">
@@ -80,7 +80,7 @@
<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>
</div>
<div class="card-body">
<div id="updateinfos"><?php echo "<iframe name='stafrm' src='{$offUrl}&uptime={$oktime}' frameborder='0' id='stafrm' style='width:98%;height:70px;padding:.6rem'></iframe>"; ?></div>
<div id="updateinfos"><?php echo "<iframe src='{$offUrl}&uptime={$oktime}' name='stafrm' id='stafrm' style='width:98%;height:70px;padding:.6rem;border:0'></iframe>"; ?></div>
<table width="98%" class="table table-borderless">
<tr>
<td>


+ 57
- 63
src/admin/templets/index_menu.htm View File

@@ -3,75 +3,78 @@
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>DedeBIZ menu</title>
<link rel="stylesheet" href="../static/web/css/admin.css">
<title>系统菜单</title>
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/jquery.min.js"></script>
<?php echo "<script>var curopenItem = '$openitem';</script>"; ?>
<script src="js/leftmenu.js"></script>
<base target="main">
<style>
body {
margin: 0;
padding: 0 6px;
background: #f8f8f8;
padding-left: 6px;
overflow: scroll;
overflow-x: hidden
}
img {
margin-right: 0;
border-radius: 0;
vertical-align: top
}
div {
margin: 0;
padding: 0
}
dl.bitem {
margin: 0 0 2px 10px;
width: 140px;
background: url(../static/web/img/menunewbg.gif)repeat-x;
clear: both
}
dl.bitem dt {
padding-left: 30px;
height: 26px;
line-height: 26px;
cursor: pointer
.mleft {
padding-top: 1rem
}
dl.bitem dd {
padding: 10px;
background: #fff
.mright {
width: 100%;
background: #fff;
box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
border-radius: 0 0 .2rem .2rem
}
dl.bitem dt b {
color: #4f7632
a.mmac div {
margin-bottom: 6px;
padding: 6px 0;
width: 50px;
color: #fff;
background: #424b51;
box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
border-radius: .2rem 0 0 .2rem;
text-align: center
}
a.mm div {
padding: 6px 4px 4px 10px;
height: 40px;
margin-bottom: 6px;
padding: 6px 0;
width: 50px;
color: #424b51;
background: url(../static/web/img/leftmbg1.gif)no-repeat;
background: #fff;
box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
border-radius: .2rem 0 0 .2rem;
text-align: center;
cursor: pointer
}
a.mm:hover div {
color: #4f7632;
background: url(../static/web/img/leftbg2.gif)no-repeat
color: #fff;
background: #424b51;
transition: all .2s
}
a.mmac div {
padding: 6px 4px 4px 10px;
height: 40px;
color: #4f7632;
background: url(../static/web/img/leftbg2.gif)no-repeat
dl.bitem {
margin: 1rem 0 10px 0;
padding: 0 10px
}
#mainct {
padding-top: 12px;
background: url(../static/web/img/idnbg1.gif)repeat-y
dl.bitem dt {
margin-bottom: 10px;
padding-left: 10px;
height: 28px;
line-height: 28px;
background: #f8f8f8;
border-radius: .2rem;
cursor: pointer
}
dl.bitem dt b {
color: #424b51
}
.sitemu li {
padding: 0 0 0 20px;
padding: 0 0 0 10px;
display: block;
height: 26px;
line-height: 26px;
background: url(../static/web/img/arr4.gif)no-repeat 6px 10px
line-height: 26px
}
.fllct {
float: left
@@ -86,43 +89,38 @@
color: #28a745
}
</style>
<base target="main">
</head>
<body target="main" onLoad="CheckOpenMenu();">
<body onLoad="CheckOpenMenu();">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="28" valign="top" style="padding-top:10px">
<td valign="top" class="mleft">
<a id="link1" class="mmac">
<div onClick="ShowMainMenu(1)"><b>运维<b></div>
<div onClick="ShowMainMenu(1)"><b>运维</b></div>
</a>
<a id="link100" class="mm">
<div onClick="ShowMainMenu(100)"><b>插件<b></div>
<div onClick="ShowMainMenu(100)"><b>插件</b></div>
</a>
<a id="link5" class="mm">
<div onClick="ShowMainMenu(5)"><b>更新<b></div>
<div onClick="ShowMainMenu(5)"><b>更新</b></div>
</a>
<a id="link6" class="mm">
<div onClick="ShowMainMenu(6)"><b>会员<b></div>
<div onClick="ShowMainMenu(6)"><b>会员</b></div>
</a>
<?php
if($cuserLogin->getUserType()>=10) {
?>
<a id="link7" class="mm">
<div onClick="ShowMainMenu(7)"><b>模板<b></div>
<div onClick="ShowMainMenu(7)"><b>模板</b></div>
</a>
<a id="link10" class="mm">
<div onClick="ShowMainMenu(10)"><b>系统<b></div>
<div onClick="ShowMainMenu(10)"><b>系统</b></div>
</a>
<?php
}
?>
</td>
<td width="170" valign="top" id="mainct">
<div id="ct1">
<?php
GetMenus($cuserLogin->getUserRank(),'main');
?>
</div>
<td valign="top" class="mright">
<div id="ct1"><?php GetMenus($cuserLogin->getUserRank(),'main'); ?></div>
<div id="ct100"></div>
<div id="ct3"></div>
<div id="ct5"></div>
@@ -132,10 +130,6 @@
<div id="ct10"></div>
</td>
</tr>
<tr>
<td></td>
<td><img src="../static/web/img/idnbgfoot.gif"></td>
</tr>
</table>
<?php
if(!empty($openitem) && $openitem!=1)


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

@@ -64,7 +64,7 @@
<?php echo $adminlist?>
</select>
</td>
<td width="170"><input name="cip" type="text" id="cip" placeholder="请输入IP地址" style="width:160px"></td>
<td width="170"><input type="text" name="cip" id="cip" placeholder="请输入IP地址" style="width:160px"></td>
<td width="170">
<select name="dtime" id="dtime" style="width:160px">
<option value="0" selected>全部</option>
@@ -92,13 +92,13 @@
<form name="form1">
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input name="logs" type="checkbox" class="np" id="logs" value="{dede:field.lid/}"></td>
<td><input type="checkbox" name="logs" id="logs" value="{dede:field.lid/}"></td>
<td>{dede:field.userid/}</td>
<td><input class="np" type="text" value="{dede:field.filename/}" name="t0" style="width:100px"></td>
<td><input type="text" value="{dede:field.filename/}" name="t0" style="width:100px"></td>
<td>{dede:field.method/}</td>
<td>{dede:field.cip/}</td>
<td>{dede:field.dtime function="MyDate('y/m/d H:i:s',@me)" /}</td>
<td><input class="np" type="text" value="{dede:field.query/}" name="t1" style="width:280px"></td>
<td><input type="text" value="{dede:field.query/}" name="t1" style="width:280px"></td>
</tr>
{/dede:datalist}
</form>


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

@@ -70,9 +70,9 @@
<tr>
<td width="260">更新选项:</td>
<td>
<label><input name="uptype" id="uptype1" type="radio" value="time" onClick="SelUp()" checked="checked">&nbsp;指定时间的所有更新</label>
<label><input name="uptype" id="uptype2" type="radio" onClick="SelUp()" value="id">&nbsp;指定ID文档的所有更新</label>
<label><input name="uptype" id="uptype3" type="radio" onClick="SelUp()" value="mkall">&nbsp;更新所有</label>
<label><input type="radio" name="uptype" onClick="SelUp()" value="time" checked="checked"> 指定时间的所有更新</label>
<label><input type="radio" name="uptype" onClick="SelUp()" value="id"> 指定ID文档的所有更新</label>
<label><input type="radio" name="uptype" onClick="SelUp()" value="mkall"> 更新所有</label>
</td>
</tr>
<tr id="seltime">
@@ -81,7 +81,7 @@
</tr>
<tr id="selid" style="display:none">
<td>起始ID:</td>
<td><input name="startid" type="text" id="startid" value="0" style="width:60px"></td>
<td><input type="text" name="startid" id="startid" value="0" style="width:60px"></td>
</tr>
<tr>
<td bgcolor="#F8FCF1" colspan="2" align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">开始更新</button></td>


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

@@ -40,19 +40,19 @@
</tr>
<tr>
<td>起始ID:</td>
<td><input name="startid" type="text" id="startid" style="width:60px">(空或0表示从头开始)</td>
<td><input type="text" name="startid" id="startid" style="width:60px">(空或0表示从头开始)</td>
</tr>
<tr>
<td>结束ID:</td>
<td><input name="endid" type="text" id="endid" style="width:60px">(空或0表示直到结束ID)</td>
<td><input type="text" name="endid" id="endid" style="width:60px">(空或0表示直到结束ID)</td>
</tr>
<tr>
<td>每页生成:</td>
<td> <input name="pagesize" type="text" id="pagesize" value="20" style="width:60px"> 个文件</td>
<td> <input type="text" name="pagesize" id="pagesize" value="20" style="width:60px"> 个文件</td>
</tr>
<tr>
<td bgcolor="#F8FCF1" colspan="2" align="center">
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
<button type="button" name="b112" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
<button type="button" name="b113" class="btn btn-success btn-sm" onClick="document.form2.submit();">查看所有文档</button>
</td>
</tr>


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

@@ -24,15 +24,15 @@
</tr>
<tr>
<td>起始ID:</td>
<td><input name="startid" type="text" 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 name="endid" type="text" 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>
<td><input name="pagesize" type="text" id="pagesize" value="100" size="8"> 个文件</td>
<td><input type="text" name="pagesize" id="pagesize" value="100" size="8"> 个文件</td>
</tr>
<tr>
<td bgcolor="#F8FCF1" colspan="2" align="center"><button type="button" onClick="document.form1.submit();" class="btn btn-success btn-sm">开始更新</button></td>


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

@@ -37,8 +37,8 @@
<tr>
<td width="260">选择首页模板:</td>
<td>
<input name="templet" type="text" id="templet" value="<?php echo $row['templet']?>" style="width:260px">
<button class="btn btn-success btn-sm" type="button" name="set4" value="" onClick="SelectTemplets('form1.templet');">浏览</button>
<input type="text" name="templet" id="templet" value="<?php echo $row['templet']?>" style="width:260px">
<button type="button" name="set4" value="" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览</button>
</td>
</tr>
<tr>
@@ -49,20 +49,20 @@
</tr>
<tr>
<td>首页位置:</td>
<td><input name="position" type="text" id="position" value="<?php echo $row['position']?>" style="width:260px"></td>
<td><input type="text" name="position" id="position" value="<?php echo $row['position']?>" style="width:260px"></td>
</tr>
<tr>
<td>相关选项:</td>
<td>
<label><input name="saveset" type="radio" value="0" class="np"> 不保存当前选项 </label>
<label><input name="saveset" type="radio" class="np" value="1" checked> 保存当前选项</label>
<label><input type="radio" name="saveset" value="0"> 不保存当前选项 </label>
<label><input type="radio" name="saveset" value="1" checked> 保存当前选项</label>
</td>
</tr>
<tr>
<td>首页模式:</td>
<td>
<label><input name="showmod" type="radio" value="0" class="np" <?php echo ($row['showmod']==0)? "checked='checked'" : ""; ?>> 动态浏览</label>
<label><input name="showmod" type="radio" class="np" 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 name="lockindex" type="radio" class="np" value="unlock" <?php echo ($rs['index_lock_state']==true)? "checked='checked'" : ""; ?>> 解锁</label>
<label><input name="lockindex" type="radio" value="lock" class="np" <?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


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

@@ -45,13 +45,13 @@
<tr>
<td>是否更新子栏目:</td>
<td>
<label><input name="upnext" type="radio" class="np" value="1" checked="1"> 更新子级栏目</label>
<label><input type="radio" name="upnext" class="np" value="0"> 仅更新所选栏目</label>
<label><input type="radio" name="upnext" value="1" checked="1"> 更新子级栏目</label>
<label><input type="radio" name="upnext" value="0"> 仅更新所选栏目</label>
</td>
</tr>
<tr>
<td bgcolor="#F8FCF1" colspan="2" align="center">
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
<button type="button" name="b112" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
</td>
</tr>
</form>


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

@@ -26,7 +26,7 @@
<td>为了安全起见,专题目录建议设置仅可读写权限,发布专题后需要手动更新,默认文件为:<?php echo $cfg_cmspath.$cfg_special."/index.html"?></td>
</tr>
<tr>
<td bgcolor="#F8FCF1" align="center"><button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button></td>
<td bgcolor="#F8FCF1" align="center"><button type="button" name="b112" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button></td>
</tr>
</form>
<tr>


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

@@ -43,22 +43,22 @@
?>
<tr>
<td width="260">起始ID:</td>
<td><input name="startid" type="text" id="startid" style="width:60px">(空或0表示从头开始)</td>
<td><input type="text" name="startid" id="startid" style="width:60px">(空或0表示从头开始)</td>
</tr>
<tr>
<td>结束ID:</td>
<td><input name="endid" type="text" id="endid" style="width:60px">(空或0表示直到结束ID)</td>
<td><input type="text" name="endid" id="endid" style="width:60px">(空或0表示直到结束ID)</td>
</tr>
<?php
}
?>
<tr>
<td>生成位置:</td>
<td><input name="tagsdir" type="text" id="tagsdir" value="<?php echo $cfg_tags_dir;?>" style="width:260px" disabled> <a href="sys_info.php">系统设置</a>-其他选项中“TAGS生成目录”项进行调整</td>
<td><input type="text" name="tagsdir" id="tagsdir" value="<?php echo $cfg_tags_dir;?>" style="width:260px" disabled> <a href="sys_info.php">系统设置</a>-其他选项中“TAGS生成目录”项进行调整</td>
</tr>
<tr>
<td>每次最大创建页数:</td>
<td><input name="maxpagesize" type="text" id="maxpagesize" value="50" style="width:60px"> 个文件</td>
<td><input type="text" name="maxpagesize" id="maxpagesize" value="50" style="width:60px"> 个文件</td>
</tr>
<tr>
<td>标签说明:</td>
@@ -69,7 +69,7 @@
</td>
</tr>
<tr>
<td bgcolor="#F8FCF1" colspan="2" align="center"><button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.action='makehtml_taglist_action.php';onTagSubmit();">生成标签</button></td>
<td bgcolor="#F8FCF1" colspan="2" align="center"><button type="button" name="b112" class="btn btn-success btn-sm" onClick="document.form1.action='makehtml_taglist_action.php';onTagSubmit();">生成标签</button></td>
</tr>
</form>
<tr>


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

@@ -69,15 +69,15 @@
<tr>
<td width="260" class="bline">媒体类型:</td>
<td class="bline">
<label><input name="mediatype" type="radio" class="np" value="1" checked="1"> 图片</label>
<label><input type="radio" name="mediatype" class="np" value="2"> FLASH</label>
<label><input type="radio" name="mediatype" class="np" value="3"> 视频音频</label>
<label><input type="radio" name="mediatype" class="np" value="4"> 附件其它</label>
<label><input type="radio" name="mediatype" value="1" checked="1"> 图片</label>
<label><input type="radio" name="mediatype" value="2"> FLASH</label>
<label><input type="radio" name="mediatype" value="3"> 视频音频</label>
<label><input type="radio" name="mediatype" value="4"> 附件其它</label>
</td>
</tr>
<tr>
<td class="bline">说明标题:</td>
<td class="bline"><input name="title" type="text" id="title" size="30" style="width:300px"></td>
<td class="bline"><input type="text" name="title" id="title" size="30" style="width:300px"></td>
</tr>
<tr>
<td class="bline">参数说明:</td>
@@ -86,15 +86,15 @@
<tr>
<td class="bline">附加参数:</td>
<td class="bline">
宽:<input name="mediawidth" type="text" id="mediawidth" style="width:60px">(像素)
高:<input name="mediaheight" type="text" id="mediaheight" style="width:60px">(像素)
播放时间:<input name="playtime" type="text" id="mediawidth3" style="width:60px">(分钟)
宽:<input type="text" name="mediawidth" id="mediawidth" style="width:60px">(像素)
高:<input type="text" name="mediaheight" id="mediaheight" style="width:60px">(像素)
播放时间:<input type="text" name="playtime" id="mediawidth3" style="width:60px">(分钟)
</td>
</tr>
<tr>
<td class="bline">上传文件:</td>
<td class="bline">
数量:<input name="picnum" type="text" id="picnum" value="5" style="width:60px">
数量:<input type="text" name="picnum" id="picnum" value="5" style="width:60px">
<button type="button" name="Submit" class="btn btn-success btn-sm" onClick="MakeUpload()">增加</button>
<button type="button" name="Submit" class="btn btn-success btn-sm" onClick="ResetUpload()">恢复</button>
</td>


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

@@ -54,15 +54,15 @@
<tr>
<td width="15%" align="left" class="bline">媒体类型:</td>
<td width="85%" align="left" class="bline">
<label><input type="radio" name="mediatype" class="np" value="1" <?php if($myrow['mediatype']==1) echo " checked"; ?>> 图片</label>
<label><input type="radio" name="mediatype" class="np" value="2" <?php if($myrow['mediatype']==2) echo " checked"; ?>> FLASH</label>
<label><input type="radio" name="mediatype" class="np" value="3" <?php if($myrow['mediatype']==3) echo " checked"; ?>> 视频音频</label>
<label><input type="radio" name="mediatype" class="np" 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>
<td class="bline">说明标题:</td>
<td class="bline"><input name="title" type="text" id="title" value="<?php echo $myrow['title']?>" style="width:300px"></td>
<td class="bline"><input type="text" name="title" id="title" value="<?php echo $myrow['title']?>" style="width:300px"></td>
</tr>
<tr>
<td class="bline">参数说明:</td>
@@ -71,15 +71,15 @@
<tr>
<td class="bline">附加参数:</td>
<td class="bline">
宽:<input name="mediawidth" type="text" id="mediawidth" value="<?php echo $myrow['width']?>" style="width:60px">(像素)
高:<input name="mediaheight" type="text" id="mediaheight" value="<?php echo $myrow['height']?>" style="width:60px">(像素)
播放时间:<input name="playtime" type="text" id="playtime" value="<?php echo $myrow['playtime']?>" style="width:60px">(分钟)
宽:<input type="text" name="mediawidth" id="mediawidth" value="<?php echo $myrow['width']?>" style="width:60px">(像素)
高:<input type="text" name="mediaheight" id="mediaheight" value="<?php echo $myrow['height']?>" style="width:60px">(像素)
播放时间:<input type="text" name="playtime" id="playtime" value="<?php echo $myrow['playtime']?>" style="width:60px">(分钟)
</td>
</tr>
<tr>
<td class="bline">原文件:</td>
<td class="bline">
<input name="filename" type="text" id="filename" value="<?php echo $myrow['url']?>" style="width:260px">
<input type="text" name="filename" id="filename" value="<?php echo $myrow['url']?>" style="width:260px">
<a href="<?php echo $myrow['url']?>" target="_blank">[查看]</a>
</td>
</tr>


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

@@ -73,22 +73,22 @@
<form name="forms" method="post" action="media_main.php">
<tr>
<td width="280" align="center">
<input name="keyword" type="text" id="keyword" placeholder="请输入关键词" value="<?php echo $keyword?>" style="width:260px">
<input type="text" name="keyword" id="keyword" placeholder="请输入关键词" value="<?php echo $keyword?>" style="width:260px">
</td>
<td width="170">
<select name="mediatype" style="width:160px">
<option value="0">文件类型</option>
<option value="1" <?php if($mediatype==1) echo " selected"?>>图片</option>
<option value="2" <?php if($mediatype==2) echo " selected"?>>FLASH</option>
<option value="3" <?php if($mediatype==3) echo " selected"?>>视频音频</option>
<option value="4" <?php if($mediatype==4) echo " selected"?>>其它附件</option>
<option value="1" <?php if($mediatype==1) echo "selected"?>>图片</option>
<option value="2" <?php if($mediatype==2) echo "selected"?>>FLASH</option>
<option value="3" <?php if($mediatype==3) echo "selected"?>>视频音频</option>
<option value="4" <?php if($mediatype==4) echo "selected"?>>其它附件</option>
</select>
</td>
<td width="170">
<select name="membertype" style="width:160px">
<option value="0">用户组</option>
<option value="1" <?php if($membertype==1) echo " selected"?>>管理员</option>
<option value="2" <?php if($membertype==2) echo " selected"?>>外部会员</option>
<option value="1" <?php if($membertype==1) echo "selected"?>>管理员</option>
<option value="2" <?php if($membertype==2) echo "selected"?>>外部会员</option>
</select>
</td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
@@ -109,7 +109,7 @@
<form name="form1">
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input type="checkbox" name="aids" id="aids{dede:field.aid/}" value="{dede:field.aid/}" class="np"></td>
<td><input type="checkbox" name="aids" id="aids{dede:field.aid/}" value="{dede:field.aid/}"></td>
<td><a href="{dede:field.url/}" title="{dede:field.url/}" target="_blank">{dede:field.title/}</a></td>
<td>{dede:field.filesize function='GetFileSize(@me)'/}</td>
<td>{dede:field.adminname function="UploadAdmin(@me,$fields['membername'])"/}</td>


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

@@ -18,7 +18,7 @@
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="280" align="center"><input name="keyword" type="text" id="keyword" placeholder="请输入关键词" value="{dede:global name='keyword'/}" style="width:260px"></td>
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" value="{dede:global name='keyword'/}" style="width:260px"></td>
<td width="170">
<select name="sortkey" id="sortkey" style="width:160px">
{dede:global name='sortform'/}
@@ -86,7 +86,7 @@
</tr>
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input name="mid" type="checkbox" id="mid" value="{dede:field.mid/}" class="np"></td>
<td><input type="checkbox" name="mid" id="mid" value="{dede:field.mid/}"></td>
<td>{dede:field.mid/}</td>
<td>
<?php


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

@@ -61,7 +61,7 @@
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="280" align="center"><input name="buyid" type="text" id="buyid" placeholder="请输入订单号" style="width:260px"></td>
<td width="280" align="center"><input type="text" name="buyid" id="buyid" placeholder="请输入订单号" style="width:260px"></td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
@@ -99,7 +99,7 @@
<form name="form1">
{dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td align="center"><input type="checkbox" name="aids" value="<?php echo $fields['aid']?>" class="np"></td>
<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 GetPType($fields['product'])?></td>


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

@@ -19,8 +19,8 @@
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="280" align="center"><input name="keyword" type="text" id="keyword" value="{dede:global name='keyword'/}" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input name="username" type="text" id="username" value="{dede:global name='username'/}" placeholder="请输入用户名" style="width:260px"></td>
<td width="280" align="center"><input type="text" name="keyword" id="keyword" value="{dede:global name='keyword'/}" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input type="text" name="username" id="username" value="{dede:global name='username'/}" placeholder="请输入用户名" style="width:260px"></td>
<td width="170">
<select name="folder" id="folder" style="width:160px">
<option value="inbox">收件箱</option>


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

@@ -18,8 +18,8 @@
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="280" align="center"><input name="keyword" type="text" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input name="username" type="text" id="username" placeholder="请输入用户名" style="width:260px"></td>
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input type="text" name="username" id="username" placeholder="请输入用户名" style="width:260px"></td>
<td width="170">
<select name="folder" id="folder" style="width:160px">
<option value="inbox">收件箱</option>
@@ -40,11 +40,11 @@
<tr>
<td colspan="7">
<form id="postall" method="post" action="member_pmall.php">
<input name="action" type="hidden" value="post">
<input type="hidden" name="action" value="post">
<table width="100%" cellpadding="1" cellspacing="1">
<tr>
<td width="260">标题:</td>
<td><input name="subject" type="text" id="subject" class="company_manage_form_label" style="width:260px">(标题少于70个字符内)</td>
<td><input type="text" name="subject" id="subject" class="company_manage_form_label" style="width:260px">(标题少于70个字符内)</td>
</tr>
<tr>
<td><label for="pm_textarea">内容:</label></td>


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

@@ -18,8 +18,8 @@
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="280" align="center"><input name="keyword" type="text" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input name="username" type="text" id="username" placeholder="请输入用户名" style="width:260px"></td>
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input type="text" name="username" id="username" placeholder="请输入用户名" style="width:260px"></td>
<td width="170">
<select name="folder" id="folder" style="width:160px">
<option value="inbox">收件箱</option>
@@ -40,15 +40,15 @@
<tr>
<td colspan="7">
<form id="postall" method="post" action="member_pmone.php">
<input name="action" type="hidden" value="post">
<input type="hidden" name="action" value="post">
<table width="100%" cellpadding="1" cellspacing="1">
<tr>
<td width="260">发送到:</td>
<td><input name="msgtoid" type="text" class="text" value="<?php echo empty($touid)? '' : $touid?>" style="width:260px"> 填写用户登录的ID(网址uid=后面跟着的ID)</td>
<td><input type="text" name="msgtoid" class="text" value="<?php echo empty($touid)? '' : $touid?>" style="width:260px"> 填写用户登录的ID(网址uid=后面跟着的ID)</td>
</tr>
<tr>
<td>标题:</td>
<td><input name="subject" type="text" id="subject" class="company_manage_form_label" style="width:260px">(标题少于70个字符内)</td>
<td><input type="text" name="subject" id="subject" class="company_manage_form_label" style="width:260px">(标题少于70个字符内)</td>
</tr>
<tr>
<td><label for="pm_textarea">内容:</label></td>


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

@@ -35,18 +35,18 @@
<tr align="center">
<td>
<input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id; ?>">
<input name="name_<?php echo $k?>" value="<?php echo $row->membername; ?>" type="text" id="name_<?php echo $k?>">
<input type="text" name="name_<?php echo $k?>" value="<?php echo $row->membername; ?>" id="name_<?php echo $k?>">
</td>
<td><input name="rank_<?php echo $k?>" value="<?php echo $row->rank; ?>" type="text" id="rank_<?php echo $k?>"></td>
<td><input name="money_<?php echo $k?>" value="<?php echo $row->money; ?>" type="text" id="money_<?php echo $k?>"></td>
<td><input name="scores_<?php echo $k?>" value="<?php echo $row->scores; ?>" type="text" 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 name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" <?php if($row->id == 3) echo 'disabled="disabled"'; ?> class="np" 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
}
@@ -56,19 +56,19 @@
<td colspan="6">新增一个级别:由于会员升级是以级别值由低向高升级的,因此增加组别时需注意此值的设置,如果您增加新的会员组的级别值低于10,将自动被视为普通的注册会员</td>
</tr>
<tr align="center">
<td> 级别名称 </td>
<td> 级别值(待审为0,注册会员为10)</td>
<td> 默认金币 </td>
<td> 默认积分 </td>
<td> 操作设置 </td>
<td>级别名称</td>
<td>级别值(待审为0,注册会员为10)</td>
<td>默认金币</td>
<td>默认积分</td>
<td>操作设置</td>
<td></td>
</tr>
<tr align="center">
<td><input name="name_new" type="text" id="name_new"></td>
<td><input name="rank_new" type="text" id="rank_new" value="20"></td>
<td><input name="money_new" type="text" id="money_new" value="0"></td>
<td><input name="scores_new" type="text" id="scores_new" value="100"></td>
<td><input name="check_new" type="checkbox" id="check_new" class="np" value="1" checked> 增加等级</td>
<td><input type="text" name="name_new" id="name_new"></td>
<td><input type="text" name="rank_new" id="rank_new" value="20"></td>
<td><input type="text" name="money_new" id="money_new" value="0"></td>
<td><input type="text" name="scores_new" id="scores_new" value="100"></td>
<td><input type="checkbox" name="check_new" id="check_new" value="1" checked> 增加等级</td>
<td></td>
</tr>
<tr>


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

@@ -31,7 +31,7 @@
</table>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable">
<tr>
<td width="6%" align="center" bgcolor="#F8FCF1"><input type="checkbox" name="chkall" id="chkall" onClick="CheckAll(this.form)" class='np'> 删</td>
<td width="6%" align="center" bgcolor="#F8FCF1"><input type="checkbox" name="chkall" id="chkall" onClick="CheckAll(this.form)"> 删</td>
<td width="23%" align="center" bgcolor="#F8FCF1">积分大于</td>
<td width="30%" align="center" bgcolor="#F8FCF1">星星数</td>
<td width="23%" align="center" bgcolor="#F8FCF1">级别头衔</td>
@@ -41,10 +41,10 @@
foreach($Scores as $v){
?>
<tr onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td align="center"><input name="Ids-<?php echo $v['id']?>" type="checkbox" id="Ids-<?php echo $v['id']?>" value="1" class="np"></td>
<td align="center"><input name="integral-<?php echo $v['id']?>" type="text" id="integral-<?php echo $v['id']?>" value="<?php echo $v['integral']?>" style="width:160px"></td>
<td align="center"><input name="icon-<?php echo $v['id']?>" type="text" id="icon-<?php echo $v['id']?>" value="<?php echo $v['icon']?>" style="width:60px"></td>
<td align="center"><input name="titles-<?php echo $v['id']?>" type="text" id="titles-<?php echo $v['id']?>" value="<?php echo $v['titles']?>" style="width:160px"></td>
<td align="center"><input type="checkbox" name="Ids-<?php echo $v['id']?>" id="Ids-<?php echo $v['id']?>" value="1"></td>
<td align="center"><input type="text" name="integral-<?php echo $v['id']?>" id="integral-<?php echo $v['id']?>" value="<?php echo $v['integral']?>" style="width:160px"></td>
<td align="center"><input type="text" name="icon-<?php echo $v['id']?>" id="icon-<?php echo $v['id']?>" value="<?php echo $v['icon']?>" style="width:60px"></td>
<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>
@@ -57,9 +57,9 @@
?>
<tr>
<td>新增:</td>
<td align="center"><input name="add_integral" type="text" id="add_integral" style="width:160px"></td>
<td align="center"><input name="add_icon" type="text" id="add_icon" style="width:60px"></td>
<td align="center"><input name="add_titles" type="text" id="add_titles" style="width:160px"></td>
<td align="center"><input type="text" name="add_integral" id="add_integral" style="width:160px"></td>
<td align="center"><input type="text" name="add_icon" id="add_icon" style="width:60px"></td>
<td align="center"><input type="text" name="add_titles" id="add_titles" style="width:160px"></td>
<td align="center">
<select name="add_isdefault" id="add_isdefault">
<option value="1">是</option>


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

@@ -56,11 +56,11 @@
</tr>
<tr>
<td class="bline">用户笔名:</td>
<td class="bline"><input name="uname" type="text" id="uname" size="16" value="<?php echo $row['uname']?>" style="width:260px">(发布文章后显示责任编辑的名字)</td>
<td class="bline"><input type="text" name="uname" id="uname" size="16" value="<?php echo $row['uname']?>" style="width:260px">(发布文章后显示责任编辑的名字)</td>
</tr>
<tr>
<td class="bline">用户密码:</td>
<td class="bline"><input name="pwd" type="text" id="pwd" size="16" style="width:260px">(留空则不修改,只能用'0-9a-zA-Z.@_-!'以内范围的字符)</td>
<td class="bline"><input type="text" name="pwd" id="pwd" size="16" style="width:260px">(留空则不修改,只能用'0-9a-zA-Z.@_-!'以内范围的字符)</td>
</tr>
<tr>
<td class="bline">用户类型:</td>
@@ -89,17 +89,17 @@
</tr>
<tr>
<td class="bline">真实姓名:</td>
<td class="bline"><input name="tname" type="text" id="tname" size="16" style="width:260px" value=""></td>
<td class="bline"><input type="text" name="tname" id="tname" size="16" style="width:260px" value=""></td>
</tr>
<tr>
<td class="bline">电子邮箱:</td>
<td class="bline"><input name="email" type="text" id="email" size="16" style="width:260px" value="<?php echo $row['email']?>"></td>
<td class="bline"><input type="text" name="email" id="email" size="16" style="width:260px" value="<?php echo $row['email']?>"></td>
</tr>
<tr>
<td class="bline">安全验证串:</td>
<td class="bline">
<input name="safecode" type="text" id="safecode" size="16" style="width:260px">
<input name="randcode" type="hidden" value="<?php echo $randcode; ?>">(复制本代码:<span style='color:#e74d58'><?php echo $safecode; ?></span>)</td>
<input type="text" name="safecode" id="safecode" size="16" style="width:260px">
<input type="hidden" name="randcode" value="<?php echo $randcode; ?>">(复制本代码:<span style='color:#e74d58'><?php echo $safecode; ?></span>)</td>
</tr>
<tr>
<td colspan="2" align="center" class="py-3">


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

@@ -42,7 +42,7 @@
?>
<input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->aid?>">
<tr align="center">
<td><input name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" type="text" id="pname_<?php echo $k?>" style="width:90%" class="pubinputs"></td>
<td><input type="text" name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" id="pname_<?php echo $k?>" style="width:90%" class="pubinputs"></td>
<td>
<select name="rank_<?php echo $k?>" id="rank_<?php echo $k?>" style="width:90%">
<?php
@@ -53,7 +53,7 @@
?>
</select>
</td>
<td><input name="money_<?php echo $k?>" value="<?php echo $row->money?>" type="text" id="money_<?php echo $k?>" style="width:80%" class="pubinputs">(元)</td>
<td><input type="text" name="money_<?php echo $k?>" value="<?php echo $row->money?>" id="money_<?php echo $k?>" style="width:80%" class="pubinputs">(元)</td>
<td>
<select name="exptime_<?php echo $k?>" id="exptime_<?php echo $k?>" style="width:90%">
<?php
@@ -64,17 +64,17 @@
?>
</select>
</td>
<td><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked="1" class="np"> 保留</td>
<td><input type="checkbox" name="check_<?php echo $k?>" id="check_<?php echo $k?>" value="1" checked="1"> 保留</td>
</tr>
<?php
}
?>
<input type="hidden" name="idend" value="<?php echo $k?>">
<tr>
<td colspan="5">&nbsp;新增一个会员产品类型:</td>
<td colspan="5"> 新增一个会员产品类型:</td>
</tr>
<tr align="center">
<td><input name="pname_new" type="text" id="pname_new" style="width:90%" class="pubinputs"></td>
<td><input type="text" name="pname_new" id="pname_new" style="width:90%" class="pubinputs"></td>
<td>
<select name="rank_new" id="rank_new" style="width:90%">
<?php
@@ -84,7 +84,7 @@
?>
</select>
</td>
<td><input name="money_new" type="text" id="money_new" style="width:80%" value="100" class="pubinputs">(元)</td>
<td><input type="text" name="money_new" id="money_new" style="width:80%" value="100" class="pubinputs">(元)</td>
<td>
<select name="exptime_new" id="exptime_new" style="width:90%">
<?php
@@ -94,7 +94,7 @@
?>
</select>
</td>
<td align="center"><input name="check_new" type="checkbox" id="check_new" value="1" checked="1" class="np"> 新增</td>
<td align="center"><input type="checkbox" name="check_new" id="check_new" value="1" checked="1"> 新增</td>
</tr>
<tr>
<td colspan="5"></td>


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

@@ -77,25 +77,25 @@
</tr>
<tr>
<td class="bline">电子邮箱:</td>
<td class="bline"><input name="email" type="text" id="email" value="<?php echo $row['email']?>" style="width:260px"></td>
<td class="bline"><input type="text" name="email" id="email" value="<?php echo $row['email']?>" style="width:260px"></td>
</tr>
<tr>
<td class="bline">昵称:</td>
<td class="bline"><input name="uname" type="text" value="<?php echo $row['uname']?>" id="uname" style="width:260px"></td>
<td class="bline"><input type="text" name="uname" value="<?php echo $row['uname']?>" id="uname" style="width:260px"></td>
</tr>
<tr>
<td class="bline">性别:</td>
<td class="bline">
<label><input type="radio" name="sex" class="np" value="男"<?php if($row['sex']=="男" ) echo" checked='1'" ; ?>> 男</label>
<label><input type="radio" name="sex" class="np" value="女"<?php if($row['sex']=="女" ) echo" checked='1'" ; ?>> 女</label>
<label><input type="radio" name="sex" class="np" 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 name="money" type="text" id="money" value="<?php echo $row['money']; ?>" style="width:60px">
积分:<input name="scores" type="text" 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>
@@ -137,7 +137,7 @@
<?php } ?>
<td class="bline">推荐级别:</td>
<td class="bline">
<input name="oldmatt" type="hidden" id="oldmatt" value="<?php echo $row['matt']?>" style="width:60px">
<input type="hidden" name="oldmatt" id="oldmatt" value="<?php echo $row['matt']?>" style="width:60px">
<input name="matt" type="text" id="matt" value="<?php echo $row['matt']?>" style="width:60px">(0为普通,1为推荐,10为管理员不能在前台登录非管理员ID是严格使用10属性的,要新建管理在<a href='sys_admin_user_add.php' target='_blank'>系统帐号</a>地方增加)
</td>
</tr>


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

@@ -43,11 +43,11 @@
</tr>
<tr>
<td width="260">模块名称:</td>
<td><input name="modulname" type="text" 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 name="dev_id2" type="text" 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>
@@ -56,10 +56,10 @@
<tr>
<td>封装类型:</td>
<td>
<label><input name="moduletype" type="radio" id="moduletype1" class="np" value="soft" <?php if($moduletype=='soft') echo " checked='1' "; ?>> 模块</label>
<label><input name="moduletype" type="radio" id="moduletype2" class="np" value="templets" <?php if($moduletype=='templets') echo " checked='1' "; ?>> 模板</label>
<label><input name="moduletype" type="radio" id="moduletype3" class="np" value="plus" <?php if($moduletype=='plus') echo " checked='1' "; ?>> 小插件</label>
<label><input name="moduletype" type="radio" id="moduletype3" class="np" value="patch" <?php if($moduletype=='patch') echo " checked='1' "; ?>> 补丁</label>
<label><input type="radio" name="moduletype" value="soft" <?php if($moduletype=='soft') echo "checked='1'"; ?>> 模块</label>
<label><input type="radio" name="moduletype" value="templets" <?php if($moduletype=='templets') echo "checked='1'"; ?>> 模板</label>
<label><input type="radio" name="moduletype" value="plus" <?php if($moduletype=='plus') echo "checked='1'"; ?>> 小插件</label>
<label><input type="radio" name="moduletype" value="patch" <?php if($moduletype=='patch') echo "checked='1'"; ?>> 补丁</label>
</td>
</tr>
<tr>
@@ -71,16 +71,16 @@
</tr>
<tr>
<td>发布时间:</td>
<td><input name="mtime" type="text" 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 name="ismember" type="radio" class="np" id="ismember0" value="0" onclick="ShowHideMb('ismember0','rboxct')" <?php if($ismember=='0') echo " checked='1' "; ?>> 不涉及</label>
<label><input name="ismember" type="radio" class="np" id="ismember1" value="1" onclick="ShowHideMb('ismember0','rboxct')" <?php if($ismember=='1') echo " checked='1' "; ?>> 涉及</label>
<label><input type="radio" name="ismember" value="0" onclick="ShowHideMb('ismember0','rboxct')" <?php if($ismember=='0') echo "checked='1'"; ?>> 不涉及</label>
<label><input type="radio" name="ismember" value="1" onclick="ShowHideMb('ismember0','rboxct')" <?php if($ismember=='1') echo "checked='1'"; ?>> 涉及</label>
<div id="rboxct" style="display:<?php echo ($ismember=='0' ? 'none' : 'block'); ?>">
导航使用名称:<input name="indexname" type="text" id="indexname" style="width:160px" value="<?php echo $indexname; ?>"><br>
导航使用网址:<input name="indexurl" type="text" id="indexurl" style="width:160px" value="<?php echo $indexurl; ?>">(用相对于会员中心的网址,如:../ask)
导航使用名称:<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>
@@ -108,7 +108,7 @@
<tr>
<td>程序安装:</td>
<td>
<label><input type="checkbox" name="autosetup" id="autosetup" value="1" class="np" onclick="ShowHideField('autosetup','autosetupinput','autosetupct')"<?php if(isset($autosetup) && $autosetup==1) echo " checked='1'"; ?>> 自动生成(由系统自动处理安装)</label><br>
<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">
@@ -129,7 +129,7 @@
<tr>
<td>删除程序:</td>
<td>
<label><input type="checkbox" name="autodel" id="autodel" value="1" class="np" 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'>
@@ -148,8 +148,8 @@
<tr>
<td>模块文件选项:</td>
<td>
<label><input name="rebuild" type="radio" id="rebuild1" class="np" value="yes" checked="1"> 重新编译所有文件</label>
<label><input name="rebuild" type="radio" id="rebuild2" class="np" value="no"> 不对[文件列表]内文件重编译</label>
<label><input type="radio" name="rebuild" value="yes" checked="1"> 重新编译所有文件</label>
<label><input type="radio" name="rebuild" value="no"> 不对[文件列表]内文件重编译</label>
</td>
</tr>
<tr>


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

@@ -34,7 +34,7 @@
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td width="100%"> &nbsp;<a href="plus_main.php">模块管理</a> &gt; DedeBIZ模块开发指南</td>
<td width="100%"><a href="plus_main.php">模块管理</a> &gt; DedeBIZ模块开发指南</td>
</tr>
<tr>
<td>


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

@@ -38,37 +38,37 @@
</tr>
<tr>
<td width="260">模块名称:</td>
<td><input name="modulname" type="text" id="modulname" style="width:160px"> </td>
<td><input type="text" name="modulname" id="modulname" style="width:160px"> </td>
</tr>
<tr>
<td>语言编码:</td>
<td><?php echo $cfg_soft_lang; ?>(不同编码模块可以使用,但不能在此打包)<input name="lang" type="hidden" 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>
<td>
<label><input name="moduletype" type="radio" id="moduletype1" class="np" value="soft" checked="1"> 模块</label>
<label><input name="moduletype" type="radio" id="moduletype2" class="np" value="templets"> 模板</label>
<label><input name="moduletype" type="radio" id="moduletype3" class="np" value="plus"> 小插件</label>
<label><input name="moduletype" type="radio" id="moduletype3" class="np" value="patch"> 补丁</label>
<label><input type="radio" name="moduletype" value="soft" checked="1"> 模块</label>
<label><input type="radio" name="moduletype" value="templets"> 模板</label>
<label><input type="radio" name="moduletype" value="plus"> 小插件</label>
<label><input type="radio" name="moduletype" value="patch"> 补丁</label>
</td>
</tr>
<tr>
<td>开发者ID:</td>
<td><input name="dev_id" type="text" 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 name="mtime" type="text" 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>
<td>
<label><input name="ismember" type="radio" class='np' id="ismember0" value="0" onclick="ShowHideMb('ismember0','rboxct')" checked="checked"> 不涉及</label>
<label><input name="ismember" type="radio" id="ismember1" value="1" onclick="ShowHideMb('ismember0','rboxct')" class="np"> 涉及</label>
<label><input type="radio" name="ismember" value="0" onclick="ShowHideMb('ismember0','rboxct')" checked="checked"> 不涉及</label>
<label><input type="radio" name="ismember" value="1" onclick="ShowHideMb('ismember0','rboxct')"> 涉及</label>
<div id="rboxct" style="display:none">
导航使用名称:<input name="indexname" type="text" id="indexname" style="width:160px" value=""><br>
导航使用网址:<input name="indexurl" type="text" id="indexurl" style="width:160px" value="">
导航使用名称:<input type="text" name="indexname" id="indexname" style="width:160px" value=""><br>
导航使用网址:<input type="text" name="indexurl" id="indexurl" style="width:160px" value="">
(用相对于会员中心的网址,如:../ask)
</div>
</td>
@@ -83,7 +83,7 @@
<tr>
<td>使用说明文件:</td>
<td>
<label><input type="checkbox" name="autoreadme" value='1' id="autoreadme" class="np" onclick="ShowHideField('autoreadme','autoreadmeinput','autoreadmect')"> 直接填写</label>
<label><input type="checkbox" name="autoreadme" value='1' id="autoreadme" onclick="ShowHideField('autoreadme','autoreadmeinput','autoreadmect')"> 直接填写</label>
<br>
<div style="display:block" id="autoreadmeinput">
<input name="readme" type="file" id="readme" style="width:360px">
@@ -105,7 +105,7 @@
<tr>
<td>程序安装:</td>
<td>
<label><input type="checkbox" name="autosetup" value='1' id="autosetup" class="np" onclick="ShowHideField('autosetup','autosetupinput','autosetupct')"> 自动生成(由系统自动处理安装)</label>
<label><input type="checkbox" name="autosetup" value='1' id="autosetup" onclick="ShowHideField('autosetup','autosetupinput','autosetupct')"> 自动生成(由系统自动处理安装)</label>
<br>
<div style="display:block" id="autosetupinput">
<input name="setup" type="file" id="setup" style="width:360px">
@@ -129,7 +129,7 @@
<tr>
<td>删除程序:</td>
<td>
<label><input type="checkbox" name="autodel" value='1' id="autodel" class="np" onclick="ShowHideField('autodel','autodelinput','autodelct')"> 自动生成(由系统自动处理卸载)</label>
<label><input type="checkbox" name="autodel" value='1' id="autodel" onclick="ShowHideField('autodel','autodelinput','autodelct')"> 自动生成(由系统自动处理卸载)</label>
<br>
<div style="display:block" id="autodelinput"><input name="uninstall" type="file" id="uninstall" style="width:360px"></div>
<div style="margin:5px 0px 5px 5px;display:none" id="autodelct">


+ 5
- 7
src/admin/templets/module_upload.htm View File

@@ -17,19 +17,19 @@
</tr>
<tr>
<td width="260">插件名称</td>
<td><input name="plusname" type="text" id="plusname"> </td>
<td><input type="text" name="plusname" id="plusname"> </td>
</tr>
<tr>
<td>作者</td>
<td><input name="writer" type="text" id="writer"></td>
<td><input type="text" name="writer" id="writer"></td>
</tr>
<tr>
<td>主程序文件</td>
<td><input name="link" type="text" id="link" size="30"></td>
<td><input type="text" name="link" id="link" size="30"></td>
</tr>
<tr>
<td>目标框架</td>
<td><input name="target" type="text" id="target" value="main"></td>
<td><input type="text" name="target" id="target" value="main"></td>
</tr>
<tr>
<td>文件列表</td>
@@ -37,9 +37,7 @@
<textarea name="filelist" rows="8" id="filelist" style="width:60%"></textarea></td>
</tr>
<tr>
<td bgcolor="#f8f8f8" colspan="2" align="center" class="py-3">
<button type="submit" class="btn btn-success btn-sm">确定</button>
</td>
<td bgcolor="#f8f8f8" colspan="2" align="center" class="py-3"><button type="submit" class="btn btn-success btn-sm">确定</button></td>
</tr>
</form>
</table>


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

@@ -50,40 +50,40 @@
<tr>
<td width="30%">频道ID<br>
<span class="style2" id='help1'>数字,创建后不可修改,并具有唯一性</span></td>
<td width="70%"><input name="id" type="text" 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 name="nid" type="text" 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 name="typename" type="text" 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 name="addtable" type="text" id="addtable" value="<?php echo $cfg_dbprefix,'addon',$newid; ?>" class="pubinputs"> 必须由英文、数字、下划线组成 *
<label><input name="isdel" type="checkbox" class="np" id="isdel" value="1"> 删除已有表</label>
<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>
<tr>
<td>模型性质<br>
<span class="style2" id="help5">如果为系统模型将禁止删除,此选项不可修改,对于独立模型,系统强制创建字段aid,typeid,senddate,title,mid,channel,独立模型的文档内容必须点击栏目进入列表才能管理</span></td>
<td>
<label><input type="radio" name="issystem" id="is1" class="np" value="0" onClick="PublicDefault()" checked="1"> 自动模型 </label>
<label><input type="radio" name="issystem" id="is2" value="1" onClick="PublicDefault()" class="np"> 系统模型 </label>
<label><input type="radio" name="issystem" id="is3" value="-1" onClick="PublicDefault()" class="np"> 独立模型(不使用主表)</label>
<label><input type="radio" name="issystem" id="is1" value="0" onClick="PublicDefault()" checked="1"> 自动模型</label>
<label><input type="radio" name="issystem" id="is2" value="1" onClick="PublicDefault()"> 系统模型</label>
<label><input type="radio" name="issystem" id="is3" value="-1" onClick="PublicDefault()"> 独立模型(不使用主表)</label>
</td>
</tr>
<tr>
<td>是否支持会员投稿</td>
<td>
<label><input name="issend" type="radio" class="np" value="0" checked="1"> 不支持</label>
<label><input type="radio" name="issend" class="np" value="1"> 支持</label>
<label><input type="radio" name="issend" value="0" checked="1"> 不支持</label>
<label><input type="radio" name="issend" value="1"> 支持</label>
</td>
</tr>
<tr>
@@ -111,75 +111,75 @@
$dsql->Execute();
while($row3 = $dsql->GetObject())
{
echo "<label><input name='usertype' class='np' type='radio' value=".$row3->name."> ".$row3->name." </label>";
echo "<label><input type='radio' name='usertype' value=".$row3->name."> ".$row3->name." </label>";
}
?>
<label><input name="usertype" class="np" type="radio" value="" checked="1"> 不限</label>
<label><input type="radio" name="usertype" value="" checked="1"> 不限</label>
</td>
</tr>
<tr>
<td>会员稿件默认状态</td>
<td>
<label><input name="arcsta" class="np" type="radio" value="-1" checked="1"> 未审核</label>
<label><input name="arcsta" class="np" type="radio" value="0"> 已审核(自动生成网页)</label>
<label><input name="arcsta" class="np" type="radio" value="1"> 已审核(仅使用动态文档)</label>
<label><input type="radio" name="arcsta" value="-1" checked="1"> 未审核</label>
<label><input type="radio" name="arcsta" value="0"> 已审核(自动生成网页)</label>
<label><input type="radio" name="arcsta" value="1"> 已审核(仅使用动态文档)</label>
</td>
</tr>
<tr>
<td>投稿标题使用名称</td>
<td><input name="titlename" type="text" id="titlename" value="标题" class="pubinputs"></td>
<td><input type="text" name="titlename" id="titlename" value="标题" class="pubinputs"></td>
</tr>
<tr>
<td>投稿是否使用摘要<br>
<span class="style2">如果不使用主表(独立模型),缩略图设置同</span></td>
<td>
<label><input name="needdes" type="radio" class="np" value="1" checked="1"> 使用</label>
<label><input name="needdes" type="radio" class="np" value="0"> 不使用</label>
<label><input type="radio" name="needdes" value="1" checked="1"> 使用</label>
<label><input type="radio" name="needdes" value="0"> 不使用</label>
</td>
</tr>
<tr>
<td>投稿是否使用缩图</td>
<td>
<label><input name="needpic" type="radio" class="np" value="1" checked="1"> 使用</label>
<label><input name="needpic" type="radio" class="np" value="0"> 不使用</label>
<label><input type="radio" name="needpic" value="1" checked="1"> 使用</label>
<label><input type="radio" name="needpic" value="0"> 不使用</label>
</td>
</tr>
<tr>
<td>默认栏目ID<br>
<span class="style2" id="help8">与投稿是唯一性结合可以用模型设计自定义表单</span></td>
<td><input name="dfcid" type="text" id="dfcid" value="0" class="pubinputs"></td>
<td><input type="text" name="dfcid" id="dfcid" value="0" class="pubinputs"></td>
</tr>
<tr>
<td>投稿具有唯一性<br>
<span class="style2" id="help9">如果投稿是唯一的(会员只能在这个模型对应的栏目中发布单篇文档)其作用相当于自定义表单</span></td>
<td>
<label><input name="onlyone" type="radio" class="np" value="1"> 是</label>
<label><input name="onlyone" type="radio" class="np" value="0" checked="1"> 不是</label>
<label><input type="radio" name="onlyone" value="1"> 是</label>
<label><input type="radio" name="onlyone" value="0" checked="1"> 不是</label>
</td>
</tr>
<tr>
<td>档案发布程序</td>
<td><input name="addcon" type="text" id="addcon" value="archives_add.php" class="pubinputs"> *</td>
<td><input type="text" name="addcon" id="addcon" value="archives_add.php" class="pubinputs"> *</td>
</tr>
<tr>
<td>档案修改程序</td>
<td><input name="editcon" type="text" id="editcon" value="archives_edit.php" class="pubinputs"> *</td>
<td><input type="text" name="editcon" id="editcon" value="archives_edit.php" class="pubinputs"> *</td>
</tr>
<tr>
<td>档案管理程序</td>
<td><input name="mancon" type="text" id="mancon" value="content_list.php" class="pubinputs"> *</td>
<td><input type="text" name="mancon" id="mancon" value="content_list.php" class="pubinputs"> *</td>
</tr>
<tr>
<td>前台会员发布程序</td>
<td><input name="useraddcon" type="text" id="useraddcon" value="archives_add.php" class="pubinputs"></td>
<td><input type="text" name="useraddcon" id="useraddcon" value="archives_add.php" class="pubinputs"></td>
</tr>
<tr>
<td>前台会员修改程序</td>
<td><input name="usereditcon" type="text" id="usereditcon" value="archives_edit.php" class="pubinputs"></td>
<td><input type="text" name="usereditcon" id="usereditcon" value="archives_edit.php" class="pubinputs"></td>
</tr>
<tr>
<td>前台会员管理程序</td>
<td><input name="usermancon" type="text" id="usermancon" value="content_list.php" class="pubinputs"></td>
<td><input type="text" name="usermancon" id="usermancon" value="content_list.php" class="pubinputs"></td>
</tr>
<tr>
<td colspan="2" align="center" class="py-3">


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

@@ -127,18 +127,18 @@
</tr>
<tr>
<td>频道名称<br><span class="style2" id="help3">频道的中文名称,在后台管理,前台发布等均使用此名字</span></td>
<td><input name="typename" type="text" 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 name="addtable" type="text" 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 name="issend" type="radio" class="np" value="0" <?php if($row['issend']==0) echo " checked='1' "; ?>> 不支持</label>
<label><input type="radio" name="issend" class="np" 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>
@@ -167,85 +167,85 @@
$dsql->Execute();
while($row3 = $dsql->GetObject())
{
echo "<label><input name='usertype' class='np' type='radio' value='".$row3->name."'".($row['usertype']==$row3->name? "checked" : "")."> ".$row3->name."</label> ";
echo "<label><input type='radio' name='usertype' value='".$row3->name."'".($row['usertype']==$row3->name? "checked" : "")."> ".$row3->name."</label> ";
}
?>
<label><input name="usertype" class="np" type="radio" 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 name="arcsta" class="np" type="radio" value="-1" <?php if($row['arcsta']==-1) echo " checked='1' "; ?>> 未审核</label>
<label><input name="arcsta" class="np" type="radio" value="0" <?php if($row['arcsta']==0) echo " checked='1' "; ?>> 已审核(自动生成网页)</label>
<label><input name="arcsta" class="np" type="radio" 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 name="addcon" type="text" 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 name="editcon" type="text" 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 name="mancon" type="text" 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 name="useraddcon" type="text" 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 name="usereditcon" type="text" 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 name="usermancon" type="text" 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 name="listfields" type="text" 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 name="titlename" type="text" 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 name="needdes" type="radio" class="np" value="1" <?php if($row['needdes']==1) echo " checked='1'"; ?>> 使用</label>
<label><input name="needdes" type="radio" class="np" 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 name="needpic" type="radio" class="np" value="1" <?php if($row['needpic']==1) echo " checked='1'"; ?>> 使用</label>
<label><input name="needpic" type="radio" class="np" 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 name="dfcid" type="text" 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 name="onlyone" type="radio" class="np" value="1" <?php if($row['onlyone']==1) echo " checked='1'"; ?>> 是</label>
<label><input name="onlyone" type="radio" class="np" 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 name="fset" type="button" 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'>


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

@@ -110,60 +110,60 @@
<tr>
<td width="30%">表单提示文字:<br>
<span class="style2">发布内容时显示的提示文字</span></td>
<td><input name="itemname" type="text" id="itemname" class="pubinputs"> *</td>
<td><input type="text" name="itemname" id="itemname" class="pubinputs"> *</td>
</tr>
<tr>
<td>字段名称:<br>
<span class="style2">只能用英文字母或数字,数据表的真实字段名,如果数据类型是联动类型,该项应该填写联动类型的<a href='stepselect_main.php' target='_blank'>[组名称]</a></span></td>
<td><input name="fieldname" type="text" id="fieldname" class="pubinputs"> *</td>
<td><input type="text" name="fieldname" id="fieldname" class="pubinputs"> *</td>
</tr>
<tr>
<td>字段类型:</td>
<td>
<label><input name="autofield" type="radio" value="1" class="np" checked="checked"> 系统自动生成表单字段</label>
<label><input type="radio" name="autofield" class="np" value="0"> 已经固化在发布表单中字段</label>
<label><input type="radio" name="autofield" value="1" checked="checked"> 系统自动生成表单字段</label>
<label><input type="radio" name="autofield" value="0"> 已经固化在发布表单中字段</label>
</td>
</tr>
<tr>
<td>前台参数:</td>
<td>
<label><input name="islist" type="checkbox" class="np" id="islist" value="1"> 使字段可以在列表的底层模板中获得(自定义字段默认仅能在文档模板显示,启用此选项将使列表查询变慢,如无必要请不要选择)</label><br>
<label><input name="notsend" type="checkbox" class="np" id="notsend" value="1"> 前台投稿及采集规则禁用本字段</label>
<label><input type="checkbox" name="islist" id="islist" value="1"> 使字段可以在列表的底层模板中获得(自定义字段默认仅能在文档模板显示,启用此选项将使列表查询变慢,如无必要请不要选择)</label><br>
<label><input type="checkbox" name="notsend" id="notsend" value="1"> 前台投稿及采集规则禁用本字段</label>
</td>
</tr>
<tr>
<td>内容是否需要分页符:<br>
<span class="style2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td>
<td>
<input name="isnull" type="hidden" value="1">
<label><input name="spage" type="radio" value="split" class="np"> 是</label>
<label><input name="spage" type="radio" value="no" class="np" checked="1"> 否</label>
<input type="hidden" name="isnull" value="1">
<label><input type="radio" name="spage" value="split"> 是</label>
<label><input type="radio" name="spage" value="no" checked="1"> 否</label>
</td>
</tr>
<tr>
<td>数据类型:</td>
<td id="dataType">
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype1" value="text" checked='1'> 单行文本(varchar) </label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype2" value="textchar"> 单行文本(char) </label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype3" value="multitext"> 多行文本 </label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype4" value="htmltext"> HTML文本 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype1" value="text" checked='1'> 单行文本(varchar)</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype2" value="textchar"> 单行文本(char)</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype3" value="multitext"> 多行文本</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype4" value="htmltext"> HTML文本</label></div>
<br class="cls">
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype5" value="textdata"> 文本保存HTML数据 </label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype6" value="int"> 整数类型 </label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype7" value="float"> 小数类型 </label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype8" value="datetime"> 时间类型 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype5" value="textdata"> 文本保存HTML数据</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype6" value="int"> 整数类型</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype7" value="float"> 小数类型</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype8" value="datetime"> 时间类型</label></div>
<br class="cls">
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype9" value="img"> 图片 </label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype10" value="imgfile"> 图片(仅网址) </label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype11" value="media"> 多媒体文件 </label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype12" value="addon"> 附件类型 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype9" value="img"> 图片</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype10" value="imgfile"> 图片(仅网址)</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype11" value="media"> 多媒体文件</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype12" value="addon"> 附件类型</label></div>
<br class="cls">
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype13" value="select"> 使用option下拉框 </label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype14" value="radio"> 使用radio选项卡 </label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype15" value="checkbox"> Checkbox多选框 </label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype16" value="stepselect"> 联动类型 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype13" value="select"> 使用option下拉框 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype14" value="radio"> 使用radio选项卡</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype15" value="checkbox"> Checkbox多选框</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype16" value="stepselect"> 联动类型</label></div>
<br class="cls">
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype16" value="relation"> 关联内容 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype16" value="relation"> 关联内容</label></div>
</td>
</tr>
<tr id="_relation" style="display:none">
@@ -185,18 +185,18 @@
}
?>
</select>
<label><input name="relation_automake" type="checkbox" class="np" id="relation_automake" value="1"> 发布时候自动更新关联内容HTML</label>
<label><input type="checkbox" name="relation_automake" id="relation_automake" value="1"> 发布时候自动更新关联内容HTML</label>
</td>
</tr>
<tr>
<td>默认值:<br>
<span class="style2">如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(用“,”分开,如“男,女,人妖”)</span></td>
<td><textarea name="vdefault" type="text" id="vdefault" style="width:70%;height:60px"></textarea></td>
<td><textarea name="vdefault" id="vdefault" style="width:70%;height:60px"></textarea></td>
</tr>
<tr>
<td>最大长度:<br>
<span class="style2">文本数据必须填写,大于255为text类型</span></td>
<td><input name="maxlength" type="text" id="maxlength" class="pubinputs" value="250" style="width:80px"></td>
<td><input type="text" name="maxlength" id="maxlength" class="pubinputs" value="250" style="width:80px"></td>
</tr>
<tr>
<td>自定义表单HTML:</td>


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

@@ -110,7 +110,7 @@
<tr>
<td>表单提示文字:<br>
<span class="style2">发布内容时显示的提示文字</span></td>
<td><input name="itemname" type="text" id="itemname" value="<?php echo $ctag->GetAtt('itemname')?>" class="pubinputs"> *(发布内容时显示的项名字)</td>
<td><input type="text" name="itemname" id="itemname" value="<?php echo $ctag->GetAtt('itemname')?>" class="pubinputs"> *(发布内容时显示的项名字)</td>
</tr>
<tr>
<td width="28%">字段名称:<br>
@@ -120,14 +120,14 @@
<tr>
<td>字段类型:</td>
<td>
<label><input name="autofield" type="radio" class="np" value="1" checked="checked" <?php echo ($ctag->GetAtt('autofield')==1 ? " checked":""); ?>> 系统自动生成表单字段</label>
<label><input name="autofield" type="radio" class="np" value="0" <?php echo ( ($ctag->GetAtt('autofield')==''||$ctag->GetAtt('autofield')=='0') ? " checked":""); ?>> 已经固化在发布表单中字段</label></td>
<label><input type="radio" name="autofield" value="1" checked="checked" <?php echo ($ctag->GetAtt('autofield')==1 ? " checked":""); ?>> 系统自动生成表单字段</label>
<label><input type="radio" name="autofield" value="0" <?php echo ( ($ctag->GetAtt('autofield')==''||$ctag->GetAtt('autofield')=='0') ? " checked":""); ?>> 已经固化在发布表单中字段</label></td>
</tr>
<tr>
<td>前台参数:</td>
<td>
<label><input name="islist" type="checkbox" class="np" id="islist" value="1" <?php echo ($ctag->GetAtt('islist')==1 ? " checked":""); ?>> 使字段可以在列表的底层模板中获得(自定义字段默认仅能在文档模板显示,启用此选项将使列表查询变慢,如无必要请不要选择)</label><br>
<label><input name="notsend" type="checkbox" class="np" id="notsend" value="1" <?php echo ($ctag->GetAtt('notsend')==1 ? " checked":""); ?> /> 前台投稿及采集规则禁用本字段</label>
<label><input type="checkbox" name="islist" id="islist" value="1" <?php echo ($ctag->GetAtt('islist')==1 ? " checked":""); ?>> 使字段可以在列表的底层模板中获得(自定义字段默认仅能在文档模板显示,启用此选项将使列表查询变慢,如无必要请不要选择)</label><br>
<label><input type="checkbox" name="notsend" id="notsend" value="1" <?php echo ($ctag->GetAtt('notsend')==1 ? " checked":""); ?> /> 前台投稿及采集规则禁用本字段</label>
</td>
</tr>
<tr>
@@ -189,7 +189,7 @@
}
?>
</select>
<label><input name="relation_automake" type="checkbox" class="np" 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>
@@ -197,19 +197,19 @@
<span class="style2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td>
<td>
<input name="isnull" type="hidden" value="1">
<label><input name="spage" type="radio" value="split" <?php if($ctag->GetAtt('page')=='split') echo " checked='1' "; ?> class='np'> 是</label>
<label><input name="spage" type="radio" value="no" <?php if($ctag->GetAtt('page')=='no'||$ctag->GetAtt('page')=='') echo " checked='1' "; ?> class='np'> 否</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" type="text" 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>
<span class="style2"> 文本数据必须填写,大于255为text类型 </span></td>
<td><input name="maxlength" type="text" id="maxlength" value="<?php echo $ctag->GetAtt('maxlength')?>" style="width:80px;height:24px;padding-top:3px;"></td>
<td><input type="text" name="maxlength" id="maxlength" value="<?php echo $ctag->GetAtt('maxlength')?>" style="width:80px;height:24px;padding-top:3px;"></td>
</tr>
<tr>
<td>自定义表单HTML:</td>


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

@@ -30,7 +30,7 @@
</table>
</td>
</tr>
<tr >
<tr>
<td align="right" colspan="7">图标说明:
<span class="btn-text"><i class="fa fa-clone" title="复制"></i> 复制</span>
<span class="btn-text"><i class="fa fa-file-text-o" title="模板"></i> 模板</span>


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

@@ -85,22 +85,22 @@
</tr>
<tr>
<td align="center">标记名称:</td>
<td colspan="2"><input name="tagname" type="text" id="tagname"></td>
<td colspan="2"><input type="text" name="tagname" id="tagname"></td>
</tr>
<tr>
<td align="center">时间限制:</td>
<td colspan="2">
<label><input name="timeset" type="radio" value="0" checked="1"> 永不过期</label>
<label><input type="radio" name="timeset" value="0" checked="1"> 永不过期</label>
<label><input type="radio" name="timeset" value="1"> 在设内时间内有效</label>
</td>
</tr>
<tr>
<td align="center">开始时间:</td>
<td colspan="2"><input name="starttime" type="text" id="starttime" value="<?php echo $startDay?>" class="datepicker"></td>
<td colspan="2"><input type="text" name="starttime" id="starttime" value="<?php echo $startDay?>" class="datepicker"></td>
</tr>
<tr>
<td align="center">结束时间:</td>
<td colspan="2"><input name="endtime" type="text" id="endtime" value="<?php echo $endDay?>" class="datepicker"></td>
<td colspan="2"><input type="text" name="endtime" id="endtime" value="<?php echo $endDay?>" class="datepicker"></td>
</tr>
<tr>
<td height="80" align="center">正常显示内容:</td>


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

Loading…
Cancel
Save