Browse Source

优化

tags/6.2.0
xushubieli 1 year ago
parent
commit
38cf99eae0
100 changed files with 742 additions and 773 deletions
  1. +13
    -13
      src/admin/archives_do.php
  2. +5
    -7
      src/admin/article_coonepage_rule.php
  3. +1
    -1
      src/admin/article_keywords_main.php
  4. +2
    -2
      src/admin/article_select_sw.php
  5. +1
    -1
      src/admin/catalog_del.php
  6. +8
    -8
      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. +4
    -4
      src/admin/inc/inc_archives_all.php
  11. +1
    -1
      src/admin/inc/inc_archives_functions.php
  12. +1
    -3
      src/admin/module_main.php
  13. +4
    -4
      src/admin/module_upload.php
  14. +17
    -18
      src/admin/mychannel_edit.php
  15. +2
    -2
      src/admin/soft_edit.php
  16. +2
    -2
      src/admin/sys_info.php
  17. +5
    -8
      src/admin/templets/ad_add.htm
  18. +5
    -6
      src/admin/templets/ad_edit.htm
  19. +4
    -4
      src/admin/templets/adtype_main.htm
  20. +41
    -40
      src/admin/templets/album_add.htm
  21. +40
    -41
      src/admin/templets/album_edit.htm
  22. +27
    -27
      src/admin/templets/archives_add.htm
  23. +26
    -25
      src/admin/templets/archives_edit.htm
  24. +7
    -7
      src/admin/templets/archives_sg_add.htm
  25. +8
    -8
      src/admin/templets/archives_sg_edit.htm
  26. +30
    -30
      src/admin/templets/article_add.htm
  27. +4
    -4
      src/admin/templets/article_coonepage_rule.htm
  28. +2
    -2
      src/admin/templets/article_description_main.htm
  29. +23
    -23
      src/admin/templets/article_edit.htm
  30. +4
    -4
      src/admin/templets/article_keywords_main.htm
  31. +1
    -1
      src/admin/templets/article_result_same.htm
  32. +2
    -2
      src/admin/templets/article_test_same.htm
  33. +6
    -6
      src/admin/templets/cards_make.htm
  34. +1
    -1
      src/admin/templets/cards_manmage.htm
  35. +5
    -5
      src/admin/templets/cards_type.htm
  36. +20
    -32
      src/admin/templets/catalog_add.htm
  37. +9
    -11
      src/admin/templets/catalog_add_quick.htm
  38. +16
    -16
      src/admin/templets/catalog_edit.htm
  39. +8
    -8
      src/admin/templets/content_batch_up.htm
  40. +1
    -1
      src/admin/templets/content_i_list.htm
  41. +1
    -1
      src/admin/templets/content_list.htm
  42. +1
    -1
      src/admin/templets/content_s_list.htm
  43. +1
    -1
      src/admin/templets/content_select_list.htm
  44. +1
    -1
      src/admin/templets/content_sg_list.htm
  45. +3
    -3
      src/admin/templets/diy_add.htm
  46. +3
    -3
      src/admin/templets/diy_edit.htm
  47. +14
    -14
      src/admin/templets/diy_field_add.htm
  48. +2
    -2
      src/admin/templets/diy_field_edit.htm
  49. +1
    -1
      src/admin/templets/diy_list.htm
  50. +1
    -1
      src/admin/templets/erradd.htm
  51. +1
    -1
      src/admin/templets/feedback_main.htm
  52. +9
    -9
      src/admin/templets/freelist_add.htm
  53. +6
    -6
      src/admin/templets/freelist_edit.htm
  54. +3
    -3
      src/admin/templets/friendlink_edit.htm
  55. +1
    -1
      src/admin/templets/friendlink_main.htm
  56. +4
    -4
      src/admin/templets/friendlink_type.htm
  57. +1
    -1
      src/admin/templets/index.htm
  58. +3
    -3
      src/admin/templets/log_list.htm
  59. +3
    -3
      src/admin/templets/makehtml_all.htm
  60. +6
    -6
      src/admin/templets/makehtml_homepage.htm
  61. +2
    -2
      src/admin/templets/makehtml_list.htm
  62. +4
    -4
      src/admin/templets/media_add.htm
  63. +4
    -4
      src/admin/templets/media_edit.htm
  64. +1
    -1
      src/admin/templets/media_main.htm
  65. +1
    -1
      src/admin/templets/member_main.htm
  66. +1
    -1
      src/admin/templets/member_operations.htm
  67. +15
    -15
      src/admin/templets/member_rank.htm
  68. +5
    -5
      src/admin/templets/member_scores.htm
  69. +3
    -3
      src/admin/templets/member_type.htm
  70. +3
    -3
      src/admin/templets/member_view.htm
  71. +10
    -10
      src/admin/templets/module_edit.htm
  72. +9
    -9
      src/admin/templets/module_make.htm
  73. +17
    -17
      src/admin/templets/mychannel_add.htm
  74. +13
    -13
      src/admin/templets/mychannel_edit.htm
  75. +24
    -24
      src/admin/templets/mychannel_field_add.htm
  76. +7
    -7
      src/admin/templets/mychannel_field_edit.htm
  77. +1
    -1
      src/admin/templets/mytag_add.htm
  78. +2
    -2
      src/admin/templets/mytag_edit.htm
  79. +10
    -14
      src/admin/templets/mytag_tag_guide.htm
  80. +1
    -1
      src/admin/templets/mytag_tag_guide_ok.htm
  81. +1
    -1
      src/admin/templets/recycling.htm
  82. +1
    -1
      src/admin/templets/shops_operations.htm
  83. +1
    -1
      src/admin/templets/shops_operations_cart.htm
  84. +8
    -8
      src/admin/templets/shops_operations_userinfo.htm
  85. +36
    -36
      src/admin/templets/soft_add.htm
  86. +13
    -13
      src/admin/templets/soft_config.htm
  87. +33
    -33
      src/admin/templets/soft_edit.htm
  88. +20
    -20
      src/admin/templets/spec_add.htm
  89. +27
    -32
      src/admin/templets/spec_edit.htm
  90. +2
    -2
      src/admin/templets/stepselect_main.htm
  91. +1
    -1
      src/admin/templets/sys_cache_up.htm
  92. +6
    -6
      src/admin/templets/sys_data.htm
  93. +2
    -2
      src/admin/templets/sys_data_replace.htm
  94. +4
    -4
      src/admin/templets/sys_data_revert.htm
  95. +2
    -2
      src/admin/templets/sys_group_add.htm
  96. +2
    -2
      src/admin/templets/sys_group_edit.htm
  97. +6
    -6
      src/admin/templets/sys_info.htm
  98. +15
    -15
      src/admin/templets/sys_info_mark.htm
  99. +2
    -2
      src/admin/templets/sys_safetest.htm
  100. +2
    -2
      src/admin/templets/sys_sql_query.htm

+ 13
- 13
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><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><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 width="90" class="bline"> 标题:</td>
<td class="bline"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:320px"></td>
</tr>
<tr>
<td width="90" class="bline">&nbsp;简略标题:</td>
<td width="90" class="bline"> 简略标题:</td>
<td class="bline"><input name="shorttitle" type="text" 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"] ?>'>
@@ -595,7 +595,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 name="keywords" type="text" id="keywords" value="<?php echo $arcRow['keywords']; ?>" style="width:320px"></td>
</tr>
<tr>
@@ -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><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>


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

@@ -62,22 +62,20 @@ else if ($action == 'editload') {
<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 name="url" type="text" 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"';
}

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

@@ -22,7 +22,7 @@ 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";
@@ -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();

+ 8
- 8
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>
@@ -214,9 +214,9 @@ if ($dopost == 'time') {
<tr>
<td align="center" class="bline">栏目列表选项:</td>
<td class="bline">
<label><input type='radio' name='isdefault' value='1' 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>
@@ -226,9 +226,9 @@ if ($dopost == 'time') {
<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" id="radio" value="0" <?php if ($myrow['ispart'] == 0) echo "checked='1'"; ?>> 最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label><br>
<label><input name="ispart" type="radio" id="radio2" value="1" <?php if ($myrow['ispart'] == 1) echo "checked='1'"; ?>> 频道封面(栏目本身不允许发布文档)</label><br>
<label><input name="ispart" type="radio" id="radio3" 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: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}.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>


+ 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";
}
}
}


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

@@ -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 {


+ 1
- 3
src/admin/module_main.php View File

@@ -204,9 +204,7 @@ 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>


+ 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>");


+ 17
- 18
src/admin/mychannel_edit.php View File

@@ -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>
@@ -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/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') {


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

@@ -122,18 +122,15 @@
<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 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>
</tr>
<tr>


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

@@ -89,16 +89,15 @@
<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 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>
</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>


+ 41
- 40
src/admin/templets/album_add.htm View File

@@ -97,9 +97,9 @@ 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="400"><input name="title" type="text" id="title" value="" style="width:380px"></td>
<td width="90">&nbsp;简略标题:</td>
<td width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" style="width:160px"></td>
</tr>
</table>
@@ -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><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><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> ";
}
?>
</td>
@@ -131,7 +131,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="redirecturl" type="text" id="redirecturl" value="" style="width:300px"></td>
</tr>
</table>
@@ -141,7 +141,7 @@ table{border-collapse:separate}
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" 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>
@@ -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>
<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>
<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,7 +171,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">
<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>
@@ -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
@@ -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">
<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 name="pagestyle" 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" 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" 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>
</td>
</tr>
</table>
@@ -276,7 +276,7 @@ table{border-collapse:separate}
<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;像素
缩略图宽度限制:<input name="ddmaxwidth" type="text" 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 name="pagepicnum" type="text" 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 name="isrm" type="hidden" 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,7 +330,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="copysource" type="text" value="http://" style="width:260px">(防盗链网站需填写您复制图片的其中一个网页网址)<br>
把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片
<input type="button" name="button" id="button" value="预览" onClick="LoadTestDiv()">
@@ -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>
@@ -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());


+ 40
- 41
src/admin/templets/album_edit.htm View File

@@ -97,9 +97,9 @@ 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="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="90">&nbsp;简略标题:</td>
<td width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
</tr>
</table>
@@ -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><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><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} /> {$trow->attname}[{$trow->att}]</label> ";
}
?></td>
</tr>
@@ -132,7 +132,7 @@ 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 width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td>
</tr>
</table>
@@ -142,7 +142,7 @@ table{border-collapse:separate}
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
@@ -154,10 +154,10 @@ 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>
<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>
@@ -171,7 +171,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">
<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>
@@ -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);
@@ -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
@@ -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 name="pagestyle" 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" 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" type="radio" 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;像素
缩略图宽度限制:<input name="ddmaxwidth" type="text" 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,7 +400,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="maxwidth" type="text" id="maxwidth" size="10" value="<?php echo $maxwidth?>">(防止图片太宽在模板页中溢出)</td>
</tr>
</table>
@@ -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 name="isrm" type="hidden" 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>
<label><input type="checkbox" name="delzip" id="delzip" value="1" checked="checked"> 处理后删除压缩文件</label>
</td>
</tr>
</table>
@@ -434,7 +433,7 @@ 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>
把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片
@@ -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>


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

@@ -78,9 +78,9 @@ 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="90"> <?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 width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" style="width:160px"></td>
</tr>
</table>
@@ -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><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><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> ";
}
?>
</td>
@@ -112,7 +112,7 @@ 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 width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="" style="width:300px"></td>
</tr>
</table>
@@ -122,7 +122,7 @@ table{border-collapse:separate}
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" 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>
@@ -134,10 +134,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="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>
<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>
@@ -151,7 +151,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">
<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>
@@ -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
@@ -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>
@@ -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());


+ 26
- 25
src/admin/templets/archives_edit.htm View File

@@ -74,9 +74,9 @@ 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="90"> <?php echo $cInfos['titlename']; ?>:</td>
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="90">&nbsp;简略标题:</td>
<td width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
</tr>
</table>
@@ -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><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><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} /> {$trow->attname}[{$trow->att}]</label> ";
}
?>
</td>
@@ -110,7 +110,7 @@ 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 width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']; ?>" style="width:300px"></td>
</tr>
</table>
@@ -120,7 +120,7 @@ table{border-collapse:separate}
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
@@ -132,10 +132,10 @@ 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>
<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>
@@ -151,7 +151,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">
<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>
@@ -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);
@@ -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"]);
@@ -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'>";


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

@@ -66,7 +66,7 @@ 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="90"> <?php echo $cInfos['titlename']; ?>:</td>
<td><input name="title" type="text" id="title" value="" style="width:380px"></td>
</tr>
</table>
@@ -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><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> ";
}
?>
</td>
@@ -95,10 +95,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="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>
<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>
@@ -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


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

@@ -64,7 +64,7 @@ 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="90"> <?php echo $cInfos['titlename']; ?>:</td>
<td><input name="title" type="text" id="title" value="<?php echo $addRow['title']; ?>" style="width:380px"></td>
</tr>
</table>
@@ -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><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><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> ";
}
?>
</td>
@@ -96,10 +96,10 @@ 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>
<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>
@@ -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>


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

@@ -88,9 +88,9 @@ 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="400"><input name="title" type="text" id="title" value="<?php echo $title; ?>" style="width:380px"></td>
<td width="90">&nbsp;简略标题:</td>
<td width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" style="width:160px"></td>
</tr>
</table>
@@ -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><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>&nbsp;";
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><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>&nbsp;";
}
?>
</td>
@@ -122,7 +122,7 @@ 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 width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="" style="width:300px"></td>
</tr>
</table>
@@ -132,7 +132,7 @@ 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 width="90"> Tag标签:</td>
<td><input name="tags" type="text" 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>
@@ -144,10 +144,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="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>
<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>
@@ -161,12 +161,12 @@ 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>
</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>
@@ -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
@@ -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>
@@ -301,13 +301,13 @@ table{border-collapse:separate}
<tr>
<td width="90" >&nbsp;评论选项:</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>
@@ -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());


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

@@ -110,7 +110,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>
@@ -147,15 +147,15 @@
<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>


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

@@ -48,8 +48,8 @@
</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>


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

@@ -79,7 +79,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="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="90">简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
@@ -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><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label>&nbsp;";
} 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><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick}>&nbsp;{$trow->attname}[{$trow->att}]</label>&nbsp;";
}
}
?>
@@ -121,7 +121,7 @@ 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 width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td>
</tr>
</table>
@@ -131,7 +131,7 @@ 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 width="90"> Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
@@ -143,10 +143,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="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>
<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>
@@ -162,7 +162,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="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>
@@ -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);
@@ -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>
@@ -266,13 +266,13 @@ table{border-collapse:separate}
<tr>
<td width="90" >&nbsp;评论选项:</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
@@ -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'>";


+ 4
- 4
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>
@@ -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}


+ 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'];


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

@@ -45,8 +45,8 @@
<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>


+ 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>


+ 5
- 5
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
}
@@ -47,7 +47,7 @@
<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 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>


+ 20
- 32
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>
@@ -283,8 +283,8 @@
<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>
<td><input type="text" name="typedir" id="typedir" class="pubinputs" style="width:260px"></td>
<td><input type="checkbox" name="upinyin" id="upinyin" value="1" onClick="CheckTypeDir()"><label for="upinyin"> 拼音</label></td>
</tr>
</table>
</td>
@@ -292,27 +292,21 @@
<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 name="referpath" type="radio" 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 name="referpath" type="radio" value="cmspath"> CMS根目录</label>
<label><input name="referpath" type="radio" 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>
@@ -322,12 +316,9 @@
<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>


+ 9
- 11
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,9 +165,9 @@
<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>


+ 16
- 16
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>
@@ -249,9 +249,9 @@
<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>
@@ -261,9 +261,9 @@
<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>
@@ -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>


+ 8
- 8
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>
@@ -182,9 +182,9 @@
</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>


+ 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>


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

@@ -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>


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

@@ -82,9 +82,9 @@
<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>


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

@@ -150,9 +150,9 @@
<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>


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

@@ -101,27 +101,27 @@
<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>
<label><input name="spage" type="radio" value="split"> 是</label>
<label><input name="spage" type="radio" 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>


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

@@ -121,8 +121,8 @@ td{ padding:6px; padding-left:6px; }
<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>


+ 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>


+ 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>)


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

@@ -97,7 +97,7 @@
<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>
<label><input type="checkbox" name="nodefault" id="nodefault" value="1"> 不使用目录默认主页</label>
</td>
</tr>
<tr>
@@ -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>
@@ -212,10 +212,10 @@
</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>


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

@@ -85,7 +85,7 @@
<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>
<label><input type="checkbox" name="nodefault" id="nodefault" value="1" <?php if($row['nodefault']==1) echo "checked"; ?>> 不使用目录默认主页</label>
</td>
</tr>
<tr>
@@ -194,9 +194,9 @@
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>
<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 name="keywordarc" type="text" id="keywordarc" value="<?php echo $ctag->GetAtt('keyword')?>">(&quot;,&quot;逗号分开)
</td>
</tr>
@@ -225,8 +225,8 @@
<option value="lastpost">最后评论时间</option>
<option value="postnum">评论总数</option>
</select>
<label><input 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>


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

@@ -50,9 +50,9 @@
<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>


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

@@ -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>


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

@@ -75,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>


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

@@ -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>


+ 3
- 3
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">


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

@@ -54,15 +54,15 @@
<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


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

@@ -45,8 +45,8 @@
<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>


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

@@ -69,10 +69,10 @@
<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>


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

@@ -54,10 +54,10 @@
<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>


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

@@ -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>


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

@@ -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


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

@@ -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>


+ 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>


+ 5
- 5
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>


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

@@ -64,14 +64,14 @@
?>
</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>
@@ -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>


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

@@ -86,9 +86,9 @@
<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>


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

@@ -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>
@@ -76,8 +76,8 @@
<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)
@@ -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>


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

@@ -47,10 +47,10 @@
<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>
@@ -64,8 +64,8 @@
<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="">
@@ -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">


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

@@ -67,23 +67,23 @@
<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>
<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,18 +111,18 @@
$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>
@@ -133,15 +133,15 @@
<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>
@@ -153,8 +153,8 @@
<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>


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

@@ -137,8 +137,8 @@
<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,18 +167,18 @@
$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>
@@ -218,15 +218,15 @@
<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>
@@ -237,8 +237,8 @@
<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>


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

@@ -120,15 +120,15 @@
<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>
@@ -136,34 +136,34 @@
<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>
<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,7 +185,7 @@
}
?>
</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>


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

@@ -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,8 +197,8 @@
<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>


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

@@ -90,7 +90,7 @@
<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>


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

@@ -39,8 +39,8 @@
<tr>
<td align="center">时间限制:</td>
<td colspan="2">
<input name="timeset" type="radio" value="0"<?php if($row['timeset']==0) echo " checked"; ?>> 永不过期
<input type="radio" name="timeset" value="1" <?php if($row['timeset']==1) echo " checked"; ?>> 在设内时间内有效
<input name="timeset" type="radio" value="0"<?php if($row['timeset']==0) echo "checked"; ?>> 永不过期
<input type="radio" name="timeset" value="1" <?php if($row['timeset']==1) echo "checked"; ?>> 在设内时间内有效
</td>
</tr>
<tr>


+ 10
- 14
src/admin/templets/mytag_tag_guide.htm View File

@@ -62,20 +62,16 @@
<table width="98%" cellspacing="0" cellpadding="0">
<tr>
<td width="25%">
<label><img src="../static/web/img/g_t2.jpg">
<input name="liststyle" class="np" type="radio" onClick="ChangeListStyle()" value="1" checked="1"></label>
<label><img src="../static/web/img/g_t2.jpg"><input type="radio" name="liststyle" onClick="ChangeListStyle()" value="1" checked="1"></label>
</td>
<td width="25%">
<label><img src="../static/web/img/g_t1.jpg">
<input type="radio" class="np" 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" class="np" 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 type="radio" class="np" onClick="ChangeListStyle()" name="liststyle" value="4"></label>
<label><img src="../static/web/img/g_t4.jpg"><input type="radio" name="liststyle" onClick="ChangeListStyle()" value="4"></label>
</td>
</tr>
</table>
@@ -129,10 +125,10 @@
</tr>
<tr>
<td>高级筛选:
<label><input name="types[]" type="checkbox" id="type[]" value="image" class="np"> 带缩略图</label>
<label><input name="types[]" type="checkbox" id="type[]" value="commend" class="np"> 推荐</label>
<label><input name="types[]" type="checkbox" id="type[]" value="spec" class="np"> 专题</label>
关键词:<input name="keyword" type="text" id="keyword">(&quot;,&quot;逗号分开)
<label><input type="checkbox" name="types[]" id="type[]" value="image"> 带缩略图</label>
<label><input type="checkbox" name="types[]" id="type[]" value="commend"> 推荐</label>
<label><input type="checkbox" name="types[]" id="type[]" value="spec"> 专题</label>
关键词:<input type="text" name="keyword" id="keyword">(&quot;,&quot;逗号分开)
</td>
</tr>
<tr>
@@ -147,8 +143,8 @@
<option value="scores">评论积分</option>
<option value="rand">随机获取</option>
</select>
<label><input name="order" type="radio" class="np" value="desc" checked='1'> 由高到低</label>
<label><input type="radio" name="order" class="np" value="asc"> 由低到高</label>
<label><input type="radio" name="order" value="desc" checked='1'> 由高到低</label>
<label><input type="radio" name="order" value="asc"> 由低到高</label>
</td>
</tr>
<tr>


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

@@ -13,7 +13,7 @@
<tr>
<td align="center">
<textarea name="partcode" cols="60" rows="6" id="partcode" style="width:90%;height:120"><?php echo $fulltag?></textarea>
<input type="submit" name="Submit" value="预览" class="np">
<input type="submit" name="Submit" value="预览">
</td>
</tr>
</form>


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

@@ -84,7 +84,7 @@
{dede:datalist empty='<tr><td colspan="7"><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.typename/}</td>


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

@@ -117,7 +117,7 @@
<form name="form1">
{dede:datalist empty='<tr><td colspan="11"><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['oid']?>' class='np'></td>
<td align="center"><input type='checkbox' name='aids' value='<?php echo $fields['oid']?>'></td>
<td align="center"><?php echo $fields['oid']; ?></td>
<td align="center"><a href="javascript:OpenMyWinN('shops_operations_userinfo.php?oid=<?php echo $fields['oid']?>',800,600);"><?php echo $fields['consignee']?></a></td>
<td align="center">


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

@@ -15,7 +15,7 @@
{dede:datalist}
<tr>
<td width="30%" align="right">订单号:</td>
<td width="70%">&nbsp;{dede:field.oid/}</td>
<td width="70%"> {dede:field.oid/}</td>
</tr>
<tr>
<td align="right">商品名称:</td>


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

@@ -9,35 +9,35 @@
<table width="430" align="center" cellpadding="1" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td width="118" align="right" bgcolor="#f8f8f8">订单号:</td>
<td width="292" align="left">&nbsp;<?php echo $rows['oid']; ?></td>
<td width="292" align="left"> <?php echo $rows['oid']; ?></td>
</tr>
<tr>
<td width="118" align="right" bgcolor="#f8f8f8">配送:</td>
<td width="292" align="left">&nbsp;方式:<?php echo $rows['dname']; ?> 费用:<?php echo $rows['dprice']; ?>元</td>
<td width="292" align="left"> 方式:<?php echo $rows['dname']; ?> 费用:<?php echo $rows['dprice']; ?>元</td>
</tr>
<tr>
<td width="118" align="right" bgcolor="#f8f8f8">收货人:</td>
<td width="292" align="left">&nbsp;<?php echo $rows['consignee']; ?></td>
<td width="292" align="left"> <?php echo $rows['consignee']; ?></td>
</tr>
<tr>
<td width="118" align="right" bgcolor="#f8f8f8">地址:</td>
<td width="292" align="left">&nbsp;<?php echo $rows['address']; ?></td>
<td width="292" align="left"> <?php echo $rows['address']; ?></td>
</tr>
<tr>
<td width="118" align="right" bgcolor="#f8f8f8">邮编:</td>
<td width="292" align="left">&nbsp;<?php echo $rows['zip']; ?></td>
<td width="292" align="left"> <?php echo $rows['zip']; ?></td>
</tr>
<tr>
<td width="118" align="right" bgcolor="#f8f8f8">电话:</td>
<td width="292" align="left">&nbsp;<?php echo $rows['tel']; ?></td>
<td width="292" align="left"> <?php echo $rows['tel']; ?></td>
</tr>
<tr>
<td width="118" align="right" bgcolor="#f8f8f8">E-Mail:</td>
<td width="292" align="left">&nbsp;<?php echo $rows['email']; ?></td>
<td width="292" align="left"> <?php echo $rows['email']; ?></td>
</tr>
<tr>
<td width="118" align="right" bgcolor="#f8f8f8">留言:</td>
<td width="292" align="left">&nbsp;<?php echo $rows['des']; ?></td>
<td width="292" align="left"> <?php echo $rows['des']; ?></td>
</tr>
</table>
<input type="button" name="ss12" value="关闭窗口" style="width:90px;margin-left:160px;margin-top:16px" onClick="window.close();" class='inputbut'>


+ 36
- 36
src/admin/templets/soft_add.htm View File

@@ -92,9 +92,9 @@ 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="400"><input name="title" type="text" id="title" style="width:380px"></td>
<td width="90">&nbsp;简略标题:</td>
<td width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" style="width:160px"></td>
</tr>
</table>
@@ -104,16 +104,16 @@ 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");
$dsql->Execute();
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><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><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> ";
}
?></td>
</tr>
@@ -124,7 +124,7 @@ table{border-collapse:separate}
<td class="bline" id="redirecturltr" style="display:none">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;跳转网址:</td>
<td width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="" style="width:300px"></td>
</tr>
</table>
@@ -134,7 +134,7 @@ table{border-collapse:separate}
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" 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>
@@ -146,10 +146,10 @@ 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">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="np">&nbsp;远程</label>
<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>
@@ -163,7 +163,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">
<input name="source" type="text" id="source" style="width:160px">
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button>
@@ -181,7 +181,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">
<span id="typeidct">
<?php
@@ -210,7 +210,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:260px">
@@ -224,13 +224,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" 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>
@@ -240,7 +240,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>
@@ -250,7 +250,7 @@ table{border-collapse:separate}
<td class="bline">
<table width="1300" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;文件类型:</td>
<td width="90"> 文件类型:</td>
<td width="170">
<select name="filetype" id="filetype" style="width:160px">
<option value=".exe" selected>.exe</option>
@@ -307,7 +307,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="os" value="Win2003,WinXP,Win2000,Win9X" style="width:260px"></td>
</tr>
</table>
@@ -317,7 +317,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="310"><input name="officialUrl" type="text" id="officialUrl" value="http://" style="width:260px"></td>
<td width="90">演示地址:</td>
<td><input name="officialDemo" type="text" id="officialDemo" value="http://" style="width:260px"></td>
@@ -329,7 +329,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 name="softsize" type="text" id="softsize" style="width:60px">
<select name="unit" id="unit">
@@ -337,7 +337,7 @@ table{border-collapse:separate}
<option value="KB">KB</option>
<option value="GB">GB</option>
</select>
<label><input name="autosize" type="checkbox" class="np" id="autosize" value="1" checked>自动获得(必须包含一个本地软件)</label>
<label><input type="checkbox" name="autosize" id="autosize" value="1" checked>自动获得(必须包含一个本地软件)</label>
</td>
<td width="90">需会员权限:</td>
<td align="left">
@@ -366,7 +366,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 name="softurl1" type="text" id="softurl1" style="width:260px">
<button class="btn btn-success btn-sm" name="sel1" type="button" id="sel1" onClick="SelectSoft('form1.softurl1')">选取</button>
@@ -382,7 +382,7 @@ table{border-collapse:separate}
{
?>
<tr>
<td bgcolor="#f8f8f8" class="bline2">&nbsp;预设的镜像服务器:</td>
<td bgcolor="#f8f8f8" class="bline2"> 预设的镜像服务器:</td>
</tr>
<tr class="bline">
<td>(服务器地址 + 软件地址 = 软件真实地址)</a><br>
@@ -402,7 +402,7 @@ table{border-collapse:separate}
<input type='text' name='softurlfirst<?php echo $startNum; ?>' style='width:260px' value='<?php echo $siteurl; ?>'> +
<input type='text' name='softurl<?php echo $startNum; ?>' style='width:160px' value=''> =
<input type='text' name='servermsg<?php echo $startNum; ?>' style='width:160px' value='<?php echo $sitename; ?>'>
<label><input type='checkbox' name='need<?php echo $startNum; ?>' class='np' value='1' checked> 启用</label>
<label><input type='checkbox' name='need<?php echo $startNum; ?>' value='1' checked> 启用</label>
<br>
<?php
$startNum++;
@@ -415,13 +415,13 @@ table{border-collapse:separate}
}
?>
<tr>
<td bgcolor="#f8f8f8" class="bline2">&nbsp;手动指定地址:</td>
<td bgcolor="#f8f8f8" class="bline2"> 手动指定地址:</td>
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="90">&nbsp;其它地址:</td>
<td width="90"> 其它地址:</td>
<td>
<input type="text" name="picnum" id="picnum" value="5" style="width:60px">
<button type="button" name="kkkup" class="btn btn-success btn-sm" id="kkkup2" onClick="MakeUpload();">增加地址</button>
@@ -438,12 +438,12 @@ 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>
<label><input name="remote" type="checkbox" class="np" id="remote" value="1" <?php if($cfg_rm_remote=='Y') echo ' checked'; ?>> 下载远程图片和资源</label>
<label><input name="dellink" type="checkbox" class="np" id="dellink" value="1" <?php if($cfg_arc_dellink=='Y') echo ' checked'; ?>> 删除非站内链接</label>
<label><input type="checkbox" name="remote" id="remote" value="1" <?php if($cfg_rm_remote=='Y') echo ' checked'; ?>> 下载远程图片和资源</label>
<label><input type="checkbox" name="dellink" id="dellink" value="1" <?php if($cfg_arc_dellink=='Y') echo ' checked'; ?>> 删除非站内链接</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'; ?>> 提取第一个图片为缩略图</label>
<label><input type="checkbox" name="autolitpic" id="autolitpic" value="1" <?php if($cfg_arc_autopic=='Y') echo ' checked'; ?>> 提取第一个图片为缩略图</label>
</td>
</tr>
</table>
@@ -459,15 +459,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>
@@ -501,7 +501,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">
<option value="0">已审核状态</option>
@@ -518,7 +518,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());


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

@@ -36,36 +36,36 @@
<tr>
<td width="200">链接显示方式:</td>
<td>
<label><input type="radio" name="downtype" class="np" value="0" <?php if($row['downtype']==0) echo " checked='checked' "; ?>> 直接显示地址列表</label>
<label><input name="downtype" type="radio" value="1" class="np" <?php if($row['downtype']==1) echo " checked='checked' "; ?>> 要求进入下载地址列表页</label>
<label><input type="radio" name="downtype" value="0" <?php if($row['downtype']==0) echo " checked='checked' "; ?>> 直接显示地址列表</label>
<label><input type="radio" name="downtype" value="1" <?php if($row['downtype']==1) echo " checked='checked' "; ?>> 要求进入下载地址列表页</label>
</td>
</tr>
<tr>
<td>附件下载方式:</td>
<td>
<label><input type="radio" name="gotojump" class="np" value="0" <?php if($row['gotojump']==0) echo " checked='checked' "; ?>> 链接到真实软件地址</label>
<label><input name="gotojump" type="radio" class="np" value="1" <?php if($row['gotojump']==1) echo " checked='checked' "; ?>> 链接到跳转页面</label>
<label><input type="radio" name="gotojump" value="0" <?php if($row['gotojump']==0) echo " checked='checked' "; ?>> 链接到真实软件地址</label>
<label><input type="radio" name="gotojump" value="1" <?php if($row['gotojump']==1) echo " checked='checked' "; ?>> 链接到跳转页面</label>
</td>
</tr>
<tr>
<td>是否启用镜像站点:</td>
<td>
<label><input type="radio" name="ismoresite" class="np" value="1" <?php if($row['ismoresite']==1) echo " checked='checked' "; ?>> 启用</label>
<label><input name="ismoresite" type="radio" class="np" value="0" <?php if($row['ismoresite']==0) echo " checked='checked' "; ?>> 不启用</label>
<label><input type="radio" name="ismoresite" value="1" <?php if($row['ismoresite']==1) echo " checked='checked' "; ?>> 启用</label>
<label><input type="radio" name="ismoresite" value="0" <?php if($row['ismoresite']==0) echo " checked='checked' "; ?>> 不启用</label>
</td>
</tr>
<tr>
<td>启用镜像站点后是否保留本地下载:</td>
<td>
<label><input type="radio" name="islocal" class="np" value="1" <?php if($row['islocal']==1) echo " checked='checked' "; ?>> 保留</label>
<label><input name="islocal" type="radio" class="np" value="0" <?php if($row['islocal']==0) echo " checked='checked' "; ?>> 不保留</label>
<label><input type="radio" name="islocal" value="1" <?php if($row['islocal']==1) echo " checked='checked' "; ?>> 保留</label>
<label><input type="radio" name="islocal" value="0" <?php if($row['islocal']==0) echo " checked='checked' "; ?>> 不保留</label>
</td>
</tr>
<tr>
<td>镜像处理方式:</td>
<td>
<label><input type="radio" name="moresitedo" class="np" value="1" <?php if($row['moresitedo']==1) echo " checked='checked' "; ?>> 根据本地地址和服务器列表自动生成</label>
<label><input name="moresitedo" type="radio" class="np" value="0" <?php if($row['moresitedo']==0) echo " checked='checked' "; ?>> 发布时按服务器生成列表由我手工填写</label>
<label><input type="radio" name="moresitedo" value="1" <?php if($row['moresitedo']==1) echo " checked='checked' "; ?>> 根据本地地址和服务器列表自动生成</label>
<label><input type="radio" name="moresitedo" value="0" <?php if($row['moresitedo']==0) echo " checked='checked' "; ?>> 发布时按服务器生成列表由我手工填写</label>
</td>
</tr>
<tr>
@@ -91,13 +91,13 @@
</tr>
<tr>
<td>下载默认金币:</td>
<td><input type="text" name="dfywboy" class="np" value="<?php echo $row['dfywboy']; ?>" style="width:80px"></td>
<td><input type="text" name="dfywboy" value="<?php echo $row['dfywboy']; ?>" style="width:80px"></td>
</tr>
<tr>
<td>参数限制方式:</td>
<td>
<label><input type="radio" name="argrange" class="np" value="0" <?php if($row['argrange']==0) echo " checked='checked' "; ?>> 允许发布时重新选择权限</label>
<label><input type="radio" name="argrange" class="np" value="2" <?php if($row['argrange']==1) echo " checked='checked' "; ?>> 所有软件均使用此权限</label>
<label><input type="radio" name="argrange" value="0" <?php if($row['argrange']==0) echo " checked='checked' "; ?>> 允许发布时重新选择权限</label>
<label><input type="radio" name="argrange" value="2" <?php if($row['argrange']==1) echo " checked='checked' "; ?>> 所有软件均使用此权限</label>
</td>
</tr>
<tr>


+ 33
- 33
src/admin/templets/soft_edit.htm View File

@@ -54,7 +54,7 @@ table{border-collapse:separate}
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
<td width="85%" ><i class="fa fa-book"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives"></a><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">软件列表</a> &gt; 修改软件</td>
<td align="right">&nbsp; <a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td>
<td align="right"> <a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
@@ -86,9 +86,9 @@ 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="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="90">&nbsp;简略标题:</td>
<td width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
</tr>
</table>
@@ -98,7 +98,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");
@@ -108,9 +108,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><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><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} /> {$trow->attname}[{$trow->att}]</label> ";
}
?>
</td>
@@ -122,7 +122,7 @@ 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 width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td>
</tr>
</table>
@@ -132,7 +132,7 @@ table{border-collapse:separate}
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
@@ -144,10 +144,10 @@ 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 width="560">
<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>
<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>
@@ -163,7 +163,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">
<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>
@@ -181,7 +181,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);
@@ -205,7 +205,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">
@@ -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,7 +241,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="1300" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;文件类型:</td>
<td width="90"> 文件类型:</td>
<td width="170">
<select name="filetype" id="filetype" style="width:160px">
<?php
@@ -312,7 +312,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 type="text" name="os" value="<?php echo $addRow['os']?>" style="width:260px"></td>
</tr>
</table>
@@ -322,7 +322,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="310"><input name="officialUrl" type="text" id="officialUrl" value="<?php echo $addRow['officialUrl']?>" style="width:260px"></td>
<td width="90">程序演示:</td>
<td><input name="officialDemo" type="text" id="officialDemo" value="<?php echo $addRow['officialDemo']?>" style="width:260px"></td>
@@ -334,7 +334,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="softsize" type="text" id="softsize" value="<?php echo $addRow['softsize']?>" style="width:60px"></td>
<td width="90" >&nbsp;需会员权限:</td>
<td>
@@ -360,13 +360,13 @@ table{border-collapse:separate}
<td><?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield'); ?></td>
</tr>
<tr>
<td colspan="4" bgcolor="#f8f8f8" class="bline2">&nbsp;软件链接列表:</td>
<td colspan="4" bgcolor="#f8f8f8" class="bline2"> 软件链接列表:</td>
</tr>
<tr>
<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="picnum" type="text" id="picnum" size="8" value="5">
<button class='btn btn-success btn-sm' name='kkkup' type='button' id='kkkup2' onClick="MakeUpload();">增加数量</button>
@@ -390,10 +390,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="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>
@@ -409,15 +409,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>
<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>
@@ -427,7 +427,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
@@ -454,7 +454,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["arcrank"]==0 ? '已审核状态' : $arcRow["rankname"]); ?></option>
@@ -462,7 +462,7 @@ table{border-collapse:separate}
<option value='-1'>未审核状态</option>
</select>
</td>
<td width="90">&nbsp;文件名称:</td>
<td width="90"> 文件名称:</td>
<td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" style="width:160px">(不包括后缀名如.html等)</td>
</tr>
</table>
@@ -472,7 +472,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($arcRow["pubdate"]);


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

@@ -102,9 +102,9 @@ 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="400"><input name="title" type="text" id="title" value="" style="width:380px"></td>
<td width="90">&nbsp;简略标题:</td>
<td width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" style="width:160px"></td>
</tr>
</table>
@@ -114,7 +114,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");
$dsql->Execute();
@@ -122,7 +122,7 @@ table{border-collapse:separate}
{
if($trow->att!='j')
{
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}] </label> ";
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}] </label> ";
}
}
?></td>
@@ -134,10 +134,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="90"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" style="width:300px">
<label><input type="checkbox" class="np" name="ddisremote" value="1" id="ddisremote">&nbsp;远程</label>
<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>
@@ -151,7 +151,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="writer" type="text" id="writer" style="width:160px"></td>
</tr>
</table>
@@ -185,7 +185,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
$typeOptions = GetOptionList($cid, $cuserLogin->getUserChannel(), 0);
@@ -204,12 +204,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 type="text" name="keywords" id="keywords" value="" style="width:360px">
<button type="button" name="Submit" 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="1" '; ?> />自动获取,手动填写用","分开</label></td>
<td><label><input type="checkbox" name="autokey" onClick="ShowHide('keywords');" ; id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo 'checked="1"'; ?> />自动获取,手动填写用","分开</label></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><textarea name="description" id="description" style="width:360px;height:50px"></textarea></td>
</tr>
</table>
@@ -228,15 +228,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="1"> 生成网页</label>
<label><input type="radio" name="ishtml" class="np" value="0"> 仅动态浏览</label>
<label><input name="ishtml" type="radio" value="1" checked="1"> 生成网页</label>
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label>
</td>
</tr>
</table>
@@ -246,7 +246,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">
<input name="templet" type="text" id="templet" value="<?php echo $cfg_df_style?>/article_spec.htm" style="width:160px">
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览</button>
@@ -261,7 +261,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());
echo "<input name='pubdate' value='$nowtime' type='text' id='pubdate' class='datepicker' style='width:160px'>";
@@ -321,8 +321,8 @@ table{border-collapse:separate}
<tr>
<td>文档来源:</td>
<td colspan="2">
<label><input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="0" class="np" checked> 按文章列表</label>
<label><input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="1" class="np"> 自动获取文档</label>
<label><input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="0" checked> 按文章列表</label>
<label><input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="1"> 自动获取文档</label>
<label>关键词:<input name="keywords<?php echo $i?>" type="text" id="keywords<?php echo $i?>" value="" size="16">(逗号分开)</label>
栏目ID:<label><input name="typeid<?php echo $i?>" type="text" id="_typeid<?php echo $i?>" value="0" size="4"></label>
</td>


+ 27
- 32
src/admin/templets/spec_edit.htm View File

@@ -100,9 +100,9 @@ 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="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="90">&nbsp;简略标题:</td>
<td width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
</tr>
</table>
@@ -112,7 +112,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");
@@ -121,9 +121,9 @@ table{border-collapse:separate}
{
if($trow->att=='j') continue;
if(preg_match("#".$trow->att."#", $arcRow['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><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><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> ";
}
?>
</td>
@@ -135,10 +135,10 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" height="90">&nbsp;缩略图:</td>
<td width="90" height="90"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<label><input type="checkbox" class="np" name="ddisremote" value='1'>&nbsp;远程</label>
<label><input type="checkbox" name="ddisremote" value='1'> 远程</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>
@@ -152,7 +152,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="writer" type="text" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px"></td>
</tr>
</table>
@@ -162,7 +162,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">
<?php
@@ -190,7 +190,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
$typeOptions = GetOptionList($arcRow["typeid"],$cuserLogin->getUserChannel(),0);
@@ -209,7 +209,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><label><input type="text" name="keywords" rows="3" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:360px"></label></td>
</tr>
</table>
@@ -219,7 +219,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="textarea" style="width:360px;height:50px"><?php echo $arcRow['description']?></textarea></td>
</tr>
</table>
@@ -229,15 +229,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" value="0" <?php if($arcRow['notpost']==0) echo "checked='1'"; ?>> 允许评论</label>
&nbsp;
<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="1" <?php if($arcRow['notpost']==1) echo "checked='1'"; ?>> 禁止评论</label>
<td width="90">发布选项:</td>
<td>
<label><input name="ishtml" type="radio" class="np" value="1" <?php if($arcRow["ismake"]!=-1) echo " checked='1'"; ?>> 生成网页</label>
<label><input type="radio" name="ishtml" class="np" value="0" <?php if($arcRow["ismake"]==-1) echo " checked='1'"; ?>> 仅动态浏览</label>
<label><input type="radio" name="ishtml" value="1" <?php if($arcRow["ismake"]!=-1) echo "checked='1'"; ?>> 生成网页</label>
<label><input type="radio" name="ishtml" value="0" <?php if($arcRow["ismake"]==-1) echo "checked='1'"; ?>> 仅动态浏览</label>
</td>
</tr>
</table>
@@ -247,12 +247,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 width="260">
<input name="templet" type="text" id="templet" value="<?php echo $addRow['templet']?>" style="width:160px">
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览</button>
</td>
<td width="90">&nbsp;文件名称:</td>
<td width="90"> 文件名称:</td>
<td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" style="width:160px">(不包括后缀名如.html等)</td>
</tr>
</table>
@@ -262,7 +262,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
$addtime = GetDateTimeMk($arcRow["senddate"]);
@@ -277,7 +277,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($arcRow["pubdate"]);
@@ -348,8 +348,8 @@ table{border-collapse:separate}
<tr>
<td>文档来源:</td>
<td colspan="2">
<label><input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="0" class="np" <?php if($isauto==0) echo " checked"; ?>> 按文章列表</label>
<label><input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="1" class="np" <?php if($isauto==1) echo " checked"; ?>> 自动获取文档</label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" <?php if($isauto==0) echo "checked"; ?>> 按文章列表</label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1" <?php if($isauto==1) echo "checked"; ?>> 自动获取文档</label>
<label>关键词:<input name="keywords<?php echo $i?>" type="text" value="<?php echo $keywords?>" id="keywords<?php echo $i?>" value="" size="16">(逗号分开)</label>
<label>栏目ID:<input name="typeid<?php echo $i?>" type="text" value="<?php echo $typeid?>" id="typeid<?php echo $i?>" value="0" size="4"></label>
</td>
@@ -395,15 +395,10 @@ table{border-collapse:separate}
<tr>
<td>文档来源:</td>
<td colspan="2">
<label><input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="0" class="np" checked>
按文章列表</label>
<label><input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="1" class="np">
自动获取文档</label>
&nbsp;
<label>关键词:
<input name="keywords<?php echo $i?>" type="text" id="keywords<?php echo $i?>" value="" size="16">(空格分开)</label>
<label>栏目ID:
<input name="typeid<?php echo $i?>" type="text" id="_typeid<?php echo $i?>" value="0" size="4"></label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" checked> 按文章列表</label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1"> 自动获取文档</label>
<label>关键词:<input name="keywords<?php echo $i?>" type="text" id="keywords<?php echo $i?>" value="" size="16">(空格分开)</label>
<label>栏目ID:<input name="typeid<?php echo $i?>" type="text" id="_typeid<?php echo $i?>" value="0" size="4"></label>
</td>
</tr>
<tr>


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

@@ -258,7 +258,7 @@ li{float:left;padding-right:10px;line-height:26px}
<input type="hidden" name="action" value="delenumAllSel">
{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="ids[]" value="{dede:field.id /}" class="np"></td>
<td><input type="checkbox" name="ids[]" value="{dede:field.id /}"></td>
<td>{dede:field.id /}</td>
<td>
<?php
@@ -332,7 +332,7 @@ li{float:left;padding-right:10px;line-height:26px}
</tr>
{dede:datalist}
<tr align="center" onMouseMove="javascript:this.bgColor='#F8FCF1';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
<td><input type="checkbox" name="ids[]" value="{dede:field.id /}" class="np"></td>
<td><input type="checkbox" name="ids[]" value="{dede:field.id /}"></td>
<td>{dede:field.id /}</td>
<td><a href="stepselect_main.php?egroup={dede:field.egroup /}">{dede:field.itemname /}</a></td>
<td>


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

@@ -24,7 +24,7 @@
</tr>
<tr>
<td>本程序作默认会执行下面的操作:1.更新栏目缓存 2.更新枚举缓存 3.清理arclist调用缓存 4.清理过期会员访问历史 5.删除过期短信<br>
<label><input name="uparc" type="checkbox" class="np" value="1">&nbsp;检测并清理错误文档</label>(该项操作很占资源,如果没有出现页码不正确、无法解析文档等情况,不要执行本操作)
<label><input type="checkbox" name="uparc" value="1"> 检测并清理错误文档</label>(该项操作很占资源,如果没有出现页码不正确、无法解析文档等情况,不要执行本操作)
</td>
</tr>
<tr>


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

@@ -108,7 +108,7 @@
$t = $dedeSysTables[$i];
echo "<tr align='center' >";
?>
<td><input type="checkbox" name="tables" value="<?php echo $t; ?>" class="np" checked></td>
<td><input type="checkbox" name="tables" value="<?php echo $t; ?>" checked></td>
<td><?php echo $t; ?></td>
<td><?php echo TjCount($t,$dsql); ?></td>
<td>
@@ -121,7 +121,7 @@
if(isset($dedeSysTables[$i])) {
$t = $dedeSysTables[$i];
?>
<td><input type="checkbox" name="tables" value="<?php echo $t; ?>" class="np" checked></td>
<td><input type="checkbox" name="tables" value="<?php echo $t; ?>" checked></td>
<td><?php echo $t; ?></td>
<td><?php echo TjCount($t,$dsql); ?></td>
<td>
@@ -155,7 +155,7 @@
$t = $otherTables[$i];
echo "<tr align='center'>";
?>
<td><input type="checkbox" name="tables" value="<?php echo $t; ?>" class="np"></td>
<td><input type="checkbox" name="tables" value="<?php echo $t; ?>"></td>
<td><?php echo $t; ?></td>
<td><?php echo TjCount($t,$dsql); ?></td>
<td>
@@ -168,7 +168,7 @@
if(isset($otherTables[$i])) {
$t = $otherTables[$i];
?>
<td><input type="checkbox" name="tables" value="<?php echo $t; ?>" class="np"></td>
<td><input type="checkbox" name="tables" value="<?php echo $t; ?>"></td>
<td><?php echo $t; ?></td>
<td><?php echo TjCount($t,$dsql); ?></td>
<td>
@@ -186,9 +186,9 @@
<tr>
<td colspan="8">
分卷大小:<input name="fsize" type="text" id="fsize" value="2048" style="width:60px"> K
<input name="isstruct" type="checkbox" class="np" id="isstruct" value="1" checked="1"> 备份结构
<label><input type="checkbox" name="isstruct" id="isstruct" value="1" checked="1"> 备份结构</label>
<?php if(@function_exists('gzcompress') && false) { ?>
<input name="iszip" type="checkbox" class="np" id="iszip" value="1" checked="1"> 完成后压缩成ZIP
<label><input type="checkbox" name="iszip" id="iszip" value="1" checked="1"> 完成后压缩成ZIP</label>
<?php } ?>
<button name="b1" type="button" id="b1" class="btn btn-success btn-sm" onClick="SelAll()">全选</button>
<button name="b2" type="button" id="b2" class="btn btn-success btn-sm" onClick="ReSel()">反选</button>


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

@@ -91,8 +91,8 @@
<tr bgcolor="#F8FCF1">
<td>替换方式:</td>
<td>
<label><input name="rptype" type="radio" id="ot1" value="replace" class="np" checked="1"> 普通替换</label>
<label><input type="radio" name="rptype" id="ot2" value="regex" class="np"> 正则表达式</label>
<label><input type="radio" name="rptype" id="ot1" value="replace" checked="1"> 普通替换</label>
<label><input type="radio" name="rptype" id="ot2" value="regex"> 正则表达式</label>
主键字段:<input name="keyfield" type="text" id="keyfield" size="12">(正则模式必须指定)
</td>
</tr>


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

@@ -77,12 +77,12 @@
for($i=0;$i<count($filelists);$i++)
{
echo "<tr align='center' >";
$mtd = "<td width='10%'><input name='bakfile' id='bakfile' type='checkbox' class='np' value='".$filelists[$i]."' checked='1'></td><td width='40%'>{$filelists[$i]}</td>";
$mtd = "<td width='10%'><input name='bakfile' id='bakfile' type='checkbox' value='".$filelists[$i]."' checked='1'></td><td width='40%'>{$filelists[$i]}</td>";
echo $mtd;
if(isset($filelists[$i+1]))
{
$i++;
$mtd = "<td width='10%'><input name='bakfile' id='bakfile' type='checkbox' class='np' value='".$filelists[$i]."' checked='1'></td><td width='40%'>{$filelists[$i]}</td>";
$mtd = "<td width='10%'><input name='bakfile' id='bakfile' type='checkbox' value='".$filelists[$i]."' checked='1'></td><td width='40%'>{$filelists[$i]}</td>";
echo $mtd;
} else {
echo "<td></td><td></td>";
@@ -92,8 +92,8 @@
?>
<tr>
<td bgcolor="#F8FCF1" colspan="4">
<input name="structfile" type="checkbox" class="np" id="structfile" value="<?php echo $structfile?>" checked="1">&nbsp;还原表结构信息(<?php echo $structfile?>)
<input name="delfile" type="checkbox" class="np" id="delfile" value="1"> 还原后删除备份文件
<label><input name="structfile" type="checkbox" id="structfile" value="<?php echo $structfile?>" checked="1"> 还原表结构信息(<?php echo $structfile?>)</label>
<label><input name="delfile" type="checkbox" id="delfile" value="1"> 还原后删除备份文件</label>
<button name="b1" type="button" id="b1" onClick="SelAll()" class="btn btn-success btn-sm">全选</button>
<button name="b2" type="button" id="b2" onClick="ReSel()" class="btn btn-success btn-sm">反选</button>
<button name="b3" type="button" id="b3" onClick="NoneSel()" class="btn btn-success btn-sm">取消</button>


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

@@ -53,7 +53,7 @@
$tagname = str_replace('[br]', '<br>', $ls[2]);
if(!preg_match("#<br \/>#", $tagname) ) $tagname .= "<span>($tag)</span>";
else $tagname = str_replace('<br>', "<span>($tag)</span><br>", $tagname);
echo " <label><input name='purviews[]' type='checkbox' class='np' id='purviews$k' value='$tag'> $tagname</label> ";
echo " <label><input name='purviews[]' type='checkbox' id='purviews$k' value='$tag'> $tagname</label> ";
$k++;
}
}
@@ -69,7 +69,7 @@
$dsql->SetQuery('Select plusname From #@__plus');
$dsql->Execute();
while($row=$dsql->GetObject()){
echo " <label><input name='purviews[]' type='checkbox' class='np' id='purviews$k' value='plus_{$row->plusname}'> {$row->plusname}</label> ";
echo " <label><input name='purviews[]' type='checkbox' id='purviews$k' value='plus_{$row->plusname}'> {$row->plusname}</label> ";
$k++;
$l++;
if($l%6==0) echo "<br>";


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

@@ -64,7 +64,7 @@
$tagname = str_replace('[br]','<br>',$ls[2]);
if(!preg_match("#<br>#", $tagname) ) $tagname .= "<span>($tag)</span>";
else $tagname = str_replace('<br>', "<span>($tag)</span><br>", $tagname);
echo " <label><input name='purviews[]' type='checkbox' class='np' id='purviews$k' value='$tag'".CRank($tag)."> $tagname</label> ";
echo " <label><input name='purviews[]' type='checkbox' id='purviews$k' value='$tag'".CRank($tag)."> $tagname</label> ";
$k++;
}
}
@@ -80,7 +80,7 @@
$dsql->SetQuery('SELECT plusname FROM #@__plus');
$dsql->Execute();
while($row=$dsql->GetObject()){
echo " <label><input name='purviews[]' type='checkbox' class='np' id='purviews$k' value='plus_{$row->plusname}'".CRank("plus_{$row->plusname}")."> {$row->plusname}</label> ";
echo " <label><input name='purviews[]' type='checkbox' id='purviews$k' value='plus_{$row->plusname}'".CRank("plus_{$row->plusname}")."> {$row->plusname}</label> ";
$k++;
$l++;
if($l % 6 == 0) echo "<br>";


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

@@ -101,10 +101,10 @@
<tr>
<td width="90" >变量类型</td>
<td colspan="3">
<input name="vartype" type="radio" value="string" class="np" checked="checked"> 文本
<input name="vartype" type="radio" value="number" class="np"> 数字
<input type="radio" name="vartype" value="bool" class="np"> 布尔(Y/N)
<input type="radio" name="vartype" value="bstring" class="np"> 多行文本
<input type="radio" name="vartype" value="string" checked="checked"> 文本
<input type="radio" name="vartype" value="number"> 数字
<input type="radio" name="vartype" value="bool"> 布尔(Y/N)
<input type="radio" name="vartype" value="bstring"> 多行文本
</td>
</tr>
<tr>
@@ -182,8 +182,8 @@
$c1='';
$c2 = '';
$row['value']=='Y' ? $c1=" checked" : $c2=" checked";
echo "<label><input type='radio' name='edit___{$row['varname']}' class='np' value='Y'$c1> 是 </label> ";
echo "<label><input type='radio' name='edit___{$row['varname']}' class='np' 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') {
$row['value'] = stripslashes($row['value']);
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>";


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

@@ -19,21 +19,21 @@
<tr>
<td width="50%" >上传的图片是否使用图片水印功能:<br></td>
<td>
<label><input class="np" type="radio" value="1" name="get_photo_markup" <?php if($photo_markup=='1') echo ' checked'; ?>> 开启 </label>
<label><input class="np" type="radio" value="0" name="get_photo_markup" <?php if($photo_markup=='0') echo ' checked'; ?>> 关闭</label>
<label><input type="radio" value="1" name="get_photo_markup" <?php if($photo_markup=='1') echo ' checked'; ?>> 开启 </label>
<label><input type="radio" value="0" name="get_photo_markup" <?php if($photo_markup=='0') echo ' checked'; ?>> 关闭</label>
</td>
</tr>
<tr>
<td>采集的图片是否使用图片水印功能:</td>
<td>
<label><input class="np" type="radio" value="1" name="get_photo_markdown" <?php if($photo_markdown=='1') echo ' checked'; ?>> 开启 </label>
<label><input class="np" type="radio" value="0" name="get_photo_markdown" <?php if($photo_markdown=='0') echo ' checked'; ?>> 关闭</label>
<label><input type="radio" value="1" name="get_photo_markdown" <?php if($photo_markdown=='1') echo ' checked'; ?>> 开启 </label>
<label><input type="radio" value="0" name="get_photo_markdown" <?php if($photo_markdown=='0') echo ' checked'; ?>> 关闭</label>
</td>
</tr>
<tr>
<td>选择水印的文件类型:</td>
<td>
<label><input name="get_photo_marktype" type="radio" value="0" <?php if($photo_marktype == 0) echo 'checked'?>> gif</label>
<label><input type="radio" name="get_photo_marktype" value="0" <?php if($photo_marktype == 0) echo 'checked'?>> gif</label>
<label><input type="radio" name="get_photo_marktype" value="1" <?php if($photo_marktype == 1) echo 'checked'?>> png </label>
<label><input type="radio" name="get_photo_marktype" value="2" <?php if($photo_marktype == 2) echo 'checked'?>> 文字</label>
</td>
@@ -79,39 +79,39 @@
<tr>
<td>水印位置:</td>
<td>
<label><input class="np" type="radio" name="get_photo_waterpos" value="0" <?php if($photo_waterpos==0) echo ' checked'; ?>> 随机位置</label>
<label><input type="radio" name="get_photo_waterpos" value="0" <?php if($photo_waterpos==0) echo ' checked'; ?>> 随机位置</label>
<table border="1" cellspacing="0" cellpadding="0" class="table maintable" style="width:260px!important">
<tr>
<td width="33%">
<label><input class="np" type="radio" name="get_photo_waterpos" value="1" <?php if($photo_waterpos==1) echo ' checked'; ?>> 顶部居左</label>
<label><input type="radio" name="get_photo_waterpos" value="1" <?php if($photo_waterpos==1) echo ' checked'; ?>> 顶部居左</label>
</td>
<td width="33%">
<label><input class="np" type="radio" name="get_photo_waterpos" value="2" <?php if($photo_waterpos==2) echo ' checked'; ?>> 顶部居中</label>
<label><input type="radio" name="get_photo_waterpos" value="2" <?php if($photo_waterpos==2) echo ' checked'; ?>> 顶部居中</label>
</td>
<td>
<label><input class="np" type="radio" name="get_photo_waterpos" value="3" <?php if($photo_waterpos==3) echo ' checked'; ?>> 顶部居右</label>
<label><input type="radio" name="get_photo_waterpos" value="3" <?php if($photo_waterpos==3) echo ' checked'; ?>> 顶部居右</label>
</td>
</tr>
<tr>
<td>
<label><input class="np" type="radio" name="get_photo_waterpos" value="4" <?php if($photo_waterpos==4) echo ' checked'; ?>> 左边居中</label>
<label><input type="radio" name="get_photo_waterpos" value="4" <?php if($photo_waterpos==4) echo ' checked'; ?>> 左边居中</label>
</td>
<td>
<label><input class="np" type="radio" name="get_photo_waterpos" value="5" <?php if($photo_waterpos==5) echo ' checked'; ?>> 图片中心</label>
<label><input type="radio" name="get_photo_waterpos" value="5" <?php if($photo_waterpos==5) echo ' checked'; ?>> 图片中心</label>
</td>
<td>
<label><input class="np" type="radio" name="get_photo_waterpos" value="6" <?php if($photo_waterpos==6) echo ' checked'; ?>> 右边居中</label>
<label><input type="radio" name="get_photo_waterpos" value="6" <?php if($photo_waterpos==6) echo ' checked'; ?>> 右边居中</label>
</td>
</tr>
<tr>
<td>
<label><input class="np" type="radio" name="get_photo_waterpos" value="7" <?php if($photo_waterpos==7) echo ' checked'; ?>> 底部居左</label>
<label><input type="radio" name="get_photo_waterpos" value="7" <?php if($photo_waterpos==7) echo ' checked'; ?>> 底部居左</label>
</td>
<td>
<label><input class="np" type="radio" name="get_photo_waterpos" value="8" <?php if($photo_waterpos==8) echo ' checked'; ?>> 底部居中</label>
<label><input type="radio" name="get_photo_waterpos" value="8" <?php if($photo_waterpos==8) echo ' checked'; ?>> 底部居中</label>
</td>
<td>
<label><input name="get_photo_waterpos" type="radio" class="np" value="9" <?php if($photo_waterpos==9) echo ' checked'; ?>> 底部居右</label>
<label><input type="radio" name="get_photo_waterpos" value="9" <?php if($photo_waterpos==9) echo ' checked'; ?>> 底部居右</label>
</td>
</tr>
</table>


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

@@ -63,8 +63,8 @@
</tr>
<tr>
<td colspan="2">
<p>文件类型:<input name="filetype" type="text" id="filetype" value="php|inc" style="width:380px">&nbsp;要检查的文件类型</p>
<p>代码特征:<input name="info" type="text" id="info" value="eval|cmd|system|exec|_GET|_POST|_REQUEST|base64_decode" style="width:380px">&nbsp;特征代码</p>
<p>文件类型:<input name="filetype" type="text" id="filetype" value="php|inc" style="width:380px"> 要检查的文件类型</p>
<p>代码特征:<input name="info" type="text" id="info" value="eval|cmd|system|exec|_GET|_POST|_REQUEST|base64_decode" style="width:380px"> 特征代码</p>
</td>
</tr>
<tr>


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

@@ -84,8 +84,8 @@
<input type="hidden" name="dopost" value="query">
<tr>
<td colspan="2" bgcolor="#f8f8f8">运行SQL命令行:
<label><input name="querytype" type="radio" class="np" value="0"> 单行命令(支持简单查询)</label>
<label><input name="querytype" type="radio" class="np" value="2" checked> 多行命令</label>
<label><input type="radio" name="querytype" value="0"> 单行命令(支持简单查询)</label>
<label><input type="radio" name="querytype" value="2" checked> 多行命令</label>
</td>
</tr>
<tr>


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

Loading…
Cancel
Save