Browse Source

优化布局,调整提示

tags/6.2.0
xushubieli 1 year ago
parent
commit
3c2ae1487e
53 changed files with 556 additions and 932 deletions
  1. +1
    -1
      src/admin/article_coonepage_rule.php
  2. +26
    -32
      src/admin/templets/album_add.htm
  3. +27
    -33
      src/admin/templets/album_edit.htm
  4. +18
    -24
      src/admin/templets/archives_add.htm
  5. +18
    -24
      src/admin/templets/archives_edit.htm
  6. +8
    -14
      src/admin/templets/archives_sg_add.htm
  7. +8
    -14
      src/admin/templets/archives_sg_edit.htm
  8. +27
    -33
      src/admin/templets/article_add.htm
  9. +1
    -1
      src/admin/templets/article_coonepage_rule.htm
  10. +3
    -21
      src/admin/templets/article_description_main.htm
  11. +18
    -24
      src/admin/templets/article_edit.htm
  12. +1
    -3
      src/admin/templets/article_test_same.htm
  13. +2
    -20
      src/admin/templets/cards_make.htm
  14. +12
    -18
      src/admin/templets/catalog_add.htm
  15. +4
    -10
      src/admin/templets/catalog_add_quick.htm
  16. +11
    -17
      src/admin/templets/catalog_edit.htm
  17. +1
    -1
      src/admin/templets/catalog_main.htm
  18. +2
    -20
      src/admin/templets/content_batch_up.htm
  19. +1
    -1
      src/admin/templets/freelist_add.htm
  20. +1
    -1
      src/admin/templets/freelist_edit.htm
  21. +1
    -20
      src/admin/templets/makehtml_all.htm
  22. +1
    -17
      src/admin/templets/makehtml_archives.htm
  23. +1
    -14
      src/admin/templets/makehtml_freelist.htm
  24. +1
    -17
      src/admin/templets/makehtml_homepage.htm
  25. +1
    -17
      src/admin/templets/makehtml_list.htm
  26. +1
    -17
      src/admin/templets/makehtml_spec.htm
  27. +1
    -17
      src/admin/templets/makehtml_taglist.htm
  28. +8
    -17
      src/admin/templets/mychannel_edit.htm
  29. +2
    -20
      src/admin/templets/mychannel_modifysearch.htm
  30. +25
    -25
      src/admin/templets/mytag_tag_guide.htm
  31. +1
    -1
      src/admin/templets/shops_delivery.htm
  32. +24
    -30
      src/admin/templets/soft_add.htm
  33. +22
    -28
      src/admin/templets/soft_edit.htm
  34. +21
    -27
      src/admin/templets/spec_add.htm
  35. +24
    -32
      src/admin/templets/spec_edit.htm
  36. +1
    -17
      src/admin/templets/sys_cache_up.htm
  37. +3
    -3
      src/admin/templets/sys_data.htm
  38. +1
    -18
      src/admin/templets/sys_data_replace.htm
  39. +2
    -2
      src/admin/templets/sys_data_revert.htm
  40. +1
    -17
      src/admin/templets/tag_test.htm
  41. +4
    -8
      src/admin/templets/templets_default.htm
  42. +65
    -74
      src/admin/templets/templets_one_add.htm
  43. +70
    -76
      src/admin/templets/templets_one_edit.htm
  44. +1
    -1
      src/static/web/css/admin.css
  45. +21
    -17
      src/static/web/css/style.css
  46. +9
    -22
      src/static/web/css/user.css
  47. +4
    -7
      src/theme/templets/footer.htm
  48. +29
    -31
      src/theme/templets/header.htm
  49. +3
    -4
      src/user/templets/footer.htm
  50. +7
    -11
      src/user/templets/header.htm
  51. +4
    -5
      src/user/templets/menu.htm
  52. +3
    -3
      src/user/templets/top.htm
  53. +4
    -5
      src/user/templets/top_login.htm

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

@@ -89,7 +89,7 @@ else if ($action == 'editload') {
<td colspan="2">仅针对文档内容,格式:前面HTML{@body}后面HMTL</td>
</tr>
<tr>
<td height="90"></td>
<td></td>
<td colspan="2"><textarea name="rule" class="biz-textarea"><?php echo $row['rule'];?></textarea></td>
</tr>
<tr>


+ 26
- 32
src/admin/templets/album_add.htm View File

@@ -58,18 +58,12 @@
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="maxwidth" id="maxwidth" size="10" value="<?php echo $cfg_album_width;?>">
<input type="hidden" id="albums" name="albums" value="">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">图集列表</a> &gt; 发布图集</td>
<td width="30%" align="right"><?php echo $backurl;?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1" class="mt-3">
<tr>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规内容</td>
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td>
</tr>
</table>
</td>
@@ -78,7 +72,7 @@
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 图集标题:</td>
<td width="400"><input type="text" name="title" id="title" value="" style="width:390px"></td>
@@ -90,7 +84,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 自定义属性:</td>
<td>
@@ -112,7 +106,7 @@
</tr>
<tr id="redirecturltr" style="display:none">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 跳转网址:</td>
<td><input type="text" name="redirecturl" id="redirecturl" value="" style="width:300px"></td>
@@ -122,7 +116,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> Tag标签:</td>
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td>
@@ -134,7 +128,7 @@
</tr>
<tr id="pictable">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 缩略图:</td>
<td>
@@ -152,7 +146,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 来源:</td>
<td width="260">
@@ -170,7 +164,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布栏目:</td>
<td width="360">
@@ -199,7 +193,7 @@
</tr>
<tr id="typeid2tr" style="display:none">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 副栏目:</td>
<td>
@@ -213,10 +207,10 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 关键词:</td>
<td>
<td width="410">
<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>
@@ -229,7 +223,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 描述:</td>
<td><textarea name="description" id="description" class="biz-textarea-sm"></textarea></td>
@@ -239,7 +233,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 表现方式:</td>
<td>
@@ -253,7 +247,7 @@
</tr>
<tr id="cfgmulist" style="display:none">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 多列式参数:</td>
<td>
@@ -271,7 +265,7 @@
</tr>
<tr id="spagelist" style="display:none">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 每页图片数:</td>
<td><input type="text" name="pagepicnum" id="pagpicnum" size="10" value="<?php echo $cfg_album_pagesize;?>"> 单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td>
@@ -281,7 +275,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 上传方式:</td>
<td>
@@ -297,7 +291,7 @@
</tr>
<tr id="zipff" style="display:none">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0" height="100">
<table cellspacing="0" cellpadding="0" height="100">
<tr>
<td width="90"> 压缩包文件:</td>
<td>
@@ -311,7 +305,7 @@
</tr>
<tr id="htmlfield" style="display:none">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 网上复制:</td>
<td>
@@ -329,7 +323,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90" class="py-2"> 手工上传:</td>
<td><span class="btn btn-success btn-sm fileinput-button"><i class="glyphicon glyphicon-plus"></i> 选择本地图片(支持多选)<input type="file" name="files[]" id="iptAlbumImages" multiple></span></td>
@@ -351,7 +345,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 图集内容:</td>
<td><?php GetEditor("body","",400,"Diy");?></td>
@@ -361,9 +355,9 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90" width="260"> 评论选项:</td>
<td width="90"> 评论选项:</td>
<td width="260">
<label><input type="radio" name="notpost" value="0" <?php if ($cfg_feedback_forbid=='N') echo "checked='1'";?>> 允许评论</label>
<label><input type="radio" name="notpost" value="1" <?php if ($cfg_feedback_forbid=='Y') echo "checked='1'";?>> 禁止评论</label>
@@ -379,7 +373,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 图集排序:</td>
<td width="260"> <select name="sortup" id="sortup" style="width:160px">
@@ -401,7 +395,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 阅读权限:</td>
<td width="260"><select name="arcrank" id="arcrank" style="width:160px">
@@ -424,7 +418,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布时间:</td>
<td width="260">


+ 27
- 33
src/admin/templets/album_edit.htm View File

@@ -57,18 +57,12 @@
<input type="hidden" name="imagebody" value="">
<input type="hidden" name="dopost" value="save">
<input type="hidden" id="albums" name="albums" value="">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">图集列表</a> &gt; 修改图集</td>
<td width="30%" align="right"><?php echo $backurl;?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1" class="mt-3">
<tr>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规内容</td>
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td>
</tr>
</table>
</td>
@@ -77,7 +71,7 @@
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 图集标题:</td>
<td width="400"><input type="text" name="title" id="title" value="<?php echo $arcRow['title'];?>" style="width:390px"></td>
@@ -89,7 +83,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 自定义属性:</td>
<td>
@@ -112,7 +106,7 @@
</tr>
<tr>
<td class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 跳转网址:</td>
<td><input type="text" name="redirecturl" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td>
@@ -122,7 +116,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> Tag标签:</td>
<td><input type="text" name="tags" id="tags" value="<?php echo $tags;?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
@@ -134,7 +128,7 @@
</tr>
<tr id="pictable">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90" height="80"> 缩略图:</td>
<td>
@@ -142,7 +136,7 @@
<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 type="button" id="btnClearAll" class="btn btn-success btn-smete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button>
</td>
<td align="center"><img src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg';?>" id="litPic" class="thumbnail"></td>
</tr>
@@ -151,7 +145,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 来源:</td>
<td width="260">
@@ -169,7 +163,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布栏目:</td>
<td width="360">
@@ -193,7 +187,7 @@
?>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 副栏目:</td>
<td>
@@ -207,7 +201,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 关键词:</td>
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:360px"></td>
@@ -217,7 +211,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 描述:</td>
<td><textarea name="description" id="description" class="biz-textarea-sm"><?php echo $arcRow['description']?></textarea></td>
@@ -231,7 +225,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 表现方式:</td>
<td>
@@ -245,7 +239,7 @@
</tr>
<tr id="cfgmulist" style="<?php if ($pagestyle!=3) echo 'display:none';?>">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 多列式参数:</td>
<td>
@@ -263,7 +257,7 @@
</tr>
<tr id="spagelist" style="<?php if ($pagestyle!=1) echo 'display:none';?>">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 每页图片数:</td>
<td><input name="pagepicnum" id="pagpicnum" size="10" value="<?php echo $pagepicnum;?>"> 单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td>
@@ -273,7 +267,7 @@
</tr>
<tr style="display:none">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 限制宽度:</td>
<td><input type="text" name="maxwidth" id="maxwidth" size="10" value="<?php echo $maxwidth?>">(防止图片太宽在模板页中溢出)</td>
@@ -283,7 +277,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 上传方式:</td>
<td>
@@ -296,7 +290,7 @@
</td>
</tr>
<tr id="zipff" style="display:none">
<td class="bline"><table width="900" cellspacing="0" cellpadding="0" height="100">
<td class="bline"><table cellspacing="0" cellpadding="0" height="100">
<tr>
<td width="90"> 压缩包文件:</td>
<td>
@@ -309,7 +303,7 @@
</td>
</tr>
<tr id="htmlfield" style="display:none">
<td class="bline"><table width="900" cellspacing="0" cellpadding="0">
<td class="bline"><table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 网上复制:</td>
<td>
@@ -370,7 +364,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<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>
@@ -392,7 +386,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 图集内容:</td>
<td><?php GetEditor("body",$body,400,"Diy");?></td>
@@ -402,9 +396,9 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90" width="260"> 评论选项:</td>
<td width="90"> 评论选项:</td>
<td width="260">
<label><input type="radio" name="notpost" value="0" <?php if ($arcRow['notpost']==0) echo "checked='1'";?>> 允许评论</label>
<label><input type="radio" name="notpost" value="1" <?php if ($arcRow['notpost']==1) echo "checked='1'";?>> 禁止评论</label>
@@ -419,7 +413,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文档排序:</td>
<td width="260">
@@ -446,7 +440,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 阅读权限:</td>
<td width="260">
@@ -470,7 +464,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布时间:</td>
<td width="260">


+ 18
- 24
src/admin/templets/archives_add.htm View File

@@ -33,18 +33,12 @@
</script>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 发布商品</td>
<td width="30%" align="right"><?php echo $backurl;?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1" class="mt-3">
<tr>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规信息</td>
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td>
</tr>
</table>
</td>
@@ -57,7 +51,7 @@
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> <?php echo $cInfos['titlename'];?>:</td>
<td width="400"><input type="text" name="title" id="title" value="" style="width:390px"></td>
@@ -69,7 +63,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 自定义属性:</td>
<td>
@@ -91,7 +85,7 @@
</tr>
<tr>
<td class="bline" id="redirecturltr" style="display:none">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 跳转网址:</td>
<td><input type="text" name="redirecturl" id="redirecturl" value="" style="width:300px"></td>
@@ -101,7 +95,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> Tag标签:</td>
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td>
@@ -113,7 +107,7 @@
</tr>
<tr id="pictable" style='<?php if ($cInfos['needpic']==0) echo 'display:none';?>'>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 缩略图:</td>
<td>
@@ -130,7 +124,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 来源:</td>
<td width="260">
@@ -155,7 +149,7 @@
?>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布栏目:</td>
<td width="360">
@@ -184,7 +178,7 @@
</tr>
<tr id="typeid2tr" style="display:none">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 副栏目:</td>
<td>
@@ -198,10 +192,10 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 关键词:</td>
<td>
<td width="410">
<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>
@@ -214,7 +208,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 描述:</td>
<td><textarea name="description" id="description" class="biz-textarea-sm"></textarea></td>
@@ -225,7 +219,7 @@
<?php }?>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 附加选项:</td>
<td>
@@ -243,7 +237,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90" width="260"> 评论选项:</td>
<td width="260">
@@ -261,7 +255,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文档排序:</td>
<td width="260">
@@ -284,7 +278,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 阅读权限:</td>
<td width="260"><select name="arcrank" id="arcrank" style="width:160px">
@@ -306,7 +300,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布时间:</td>
<td width="260">


+ 18
- 24
src/admin/templets/archives_edit.htm View File

@@ -30,18 +30,12 @@
</script>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 修改商品</td>
<td width="30%" align="right"><?php echo $backurl;?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1" class="mt-3">
<tr>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规信息</td>
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td>
</tr>
</table>
</td>
@@ -54,7 +48,7 @@
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> <?php echo $cInfos['titlename'];?>:</td>
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title'];?>" style="width:380px"></td>
@@ -66,7 +60,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 自定义属性:</td>
<td>
@@ -90,7 +84,7 @@
</tr>
<tr>
<td class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl'];?>" style="width:300px"></td>
@@ -100,7 +94,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags;?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
@@ -112,7 +106,7 @@
</tr>
<tr id="pictable" style='<?php if ($cInfos['needpic']==0) echo 'display:none';?>'>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90" height="80"> 缩略图:</td>
<td>
@@ -120,7 +114,7 @@
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="np"> 远程</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-smete">清空</button>
<button id="btnClearAll" type="button" class="btn btn-success btn-sm">清空</button>
</td>
<td align="center"><img src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg';?>" id="litPic" class="thumbnail"></td>
</tr>
@@ -129,7 +123,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 来源:</td>
<td width="260">
@@ -154,7 +148,7 @@
?>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布栏目:</td>
<td width="360">
@@ -176,7 +170,7 @@
<?php if ($cfg_need_typeid2=='Y') {?>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 副栏目:</td>
<td>
@@ -190,7 +184,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 关键词:</td>
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:360px"></td>
@@ -200,7 +194,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 描述:</td>
<td><textarea name="description" id="description" class="biz-textarea-sm"><?php echo $arcRow['description']?></textarea></td>
@@ -217,7 +211,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 附加选项:</td>
<td>
@@ -232,7 +226,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90" width="260"> 评论选项:</td>
<td width="260">
@@ -251,7 +245,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文档排序:</td>
<td width="260"><select name="sortup" id="sortup" style="width:160px">
@@ -278,7 +272,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 阅读权限:</td>
<td width="260"><select name="arcrank" id="arcrank" style="width:160px">
@@ -301,7 +295,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 更新时间:</td>
<td width="260"><?php


+ 8
- 14
src/admin/templets/archives_sg_add.htm View File

@@ -34,18 +34,12 @@
</script>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="content_sg_list.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 发布分类</td>
<td width="30%" align="right"><?php echo $backurl;?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1" class="mt-3">
<tr>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规信息</td>
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td>
</tr>
</table>
</td>
@@ -58,7 +52,7 @@
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> <?php echo $cInfos['titlename'];?>:</td>
<td><input type="text" name="title" id="title" value="" style="width:390px"></td>
@@ -68,7 +62,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 自定义属性:</td>
<td>
@@ -87,7 +81,7 @@
</tr>
<tr id="pictable" style="<?php if ($cInfos['needpic']==0) echo 'display:none';?>">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 缩略图:</td>
<td>
@@ -95,7 +89,7 @@
<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 type="button"id="btnClearAll" class="btn btn-success btn-smete">清空</button>
<button type="button"id="btnClearAll" class="btn btn-success btn-sm">清空</button>
</td>
<td align="center"><img src="../static/web/img/defaultpic.jpg" id="litPic" class="thumbnail"></td>
</tr>
@@ -109,7 +103,7 @@
?>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布栏目:</td>
<td>
@@ -130,7 +124,7 @@
<?php }?>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 浏览权限:</td>
<td>


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

@@ -31,18 +31,12 @@
</script>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="content_sg_list.php?cid=<?php echo $addRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 修改分类</td>
<td width="30%" align="right"><?php echo $backurl;?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1" class="mt-3">
<tr>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规信息</td>
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td>
</tr>
</table>
</td>
@@ -56,7 +50,7 @@
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> <?php echo $cInfos['titlename'];?>:</td>
<td><input type="text" name="title" id="title" value="<?php echo $addRow['title'];?>" style="width:390px"></td>
@@ -66,7 +60,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 自定义属性:</td>
<td>
@@ -88,7 +82,7 @@
</tr>
<tr id="pictable" style="<?php if ($cInfos['needpic']==0) echo 'display:none';?>">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 缩略图:</td>
<td>
@@ -96,7 +90,7 @@
<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 type="button" id="btnClearAll" class="btn btn-success btn-smete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button>
</td>
<td align="center"><img src="<?php if ($addRow['litpic']!='') echo $addRow['litpic']; else echo '../static/web/img/defaultpic.jpg';?>" id="litPic" class="thumbnail"></td>
</tr>
@@ -110,7 +104,7 @@
?>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布栏目:</td>
<td>
@@ -129,7 +123,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 浏览权限:</td>
<td>


+ 27
- 33
src/admin/templets/article_add.htm View File

@@ -35,33 +35,27 @@
</script>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 发布文档</td>
<td width="30%" align="right"><?php echo $backurl;?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1" class="mt-3">
<tr>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规信息</td>
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td>
<td><a href="javascript:;" class="btn btn-success btn-sm" onClick="ShowHide('getone')">单页采集</a></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="getone" class="table table-borderless" style="<?php if (empty($geturl)) echo 'display:none';?>">
<form name="getonepage" action="article_add.php" method="get">
<form name="getonepage" action="article_add.php" method="get">
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="getone" class="table table-borderless" style="<?php if (empty($geturl)) echo 'display:none';?>">
<input type="hidden" name="channelid" value="<?php echo $channelid;?>">
<input type="hidden" name="cid" value="<?php echo $cid;?>">
<tr>
<td>
<table width="100%" cellpadding="0" cellspacing="0">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="96">采集单页:</td>
<td width="90">采集单页:</td>
<td width="270" align="center"><input type="text" name="geturl" id="geturl" value="<?php echo $geturl;?>" style="width:260px"></td>
<td>
<button type="submit" class="btn btn-success btn-sm" name="Submit3">抓取</button>
@@ -71,15 +65,15 @@
</table>
</td>
</tr>
</form>
</table>
</table>
</form>
<form name="form1" action="article_add.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit()">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文档标题:</td>
<td width="400"><input type="text" name="title" id="title" value="<?php echo $title;?>" style="width:390px"></td>
@@ -91,7 +85,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 自定义属性:</td>
<td align="left">
@@ -113,7 +107,7 @@
</tr>
<tr>
<td class="bline" id="redirecturltr" style="display:none">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 跳转网址:</td>
<td><input type="text" name="redirecturl" id="redirecturl" value="" style="width:300px"></td>
@@ -122,8 +116,8 @@
</td>
</tr>
<tr>
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<td class="bline">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> Tag标签:</td>
<td><input type="text" name="tags"id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td>
@@ -135,7 +129,7 @@
</tr>
<tr id="pictable">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 缩略图:</td>
<td>
@@ -143,7 +137,7 @@
<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 type="button" id="btnClearAll" class="btn btn-success btn-smete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button>
</td>
<td align="center"><img src="../static/web/img/defaultpic.jpg" id="litPic" class="thumbnail"></td>
</tr>
@@ -152,7 +146,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 来源:</td>
<td width="260">
@@ -170,7 +164,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布栏目:</td>
<td width="360">
@@ -199,7 +193,7 @@
</tr>
<tr id="typeid2tr" style="display:none">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 副栏目:</td>
<td>
@@ -213,10 +207,10 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 关键词:</td>
<td>
<td width="410">
<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>
@@ -229,7 +223,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 描述:</td>
<td><textarea name="description" id="description" class="biz-textarea-sm"><?php echo $description;?></textarea></td>
@@ -239,7 +233,7 @@
</tr>
<tr>
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 附加选项:</td>
<td>
@@ -255,7 +249,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 分页方式:</td>
<td>
@@ -276,7 +270,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 评论选项:</td>
<td width="260">
@@ -294,7 +288,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文档排序:</td>
<td width="260">
@@ -317,7 +311,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 阅读权限:</td>
<td width="260">
@@ -363,7 +357,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布时间:</td>
<td width="260">


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

@@ -149,7 +149,7 @@
<td colspan="2">仅针对文档内容,格式:前面HTML{@body}后面HMTL</td>
</tr>
<tr>
<td height="90"></td>
<td></td>
<td colspan="2"><textarea name="rule" style="width:300px;height:80px">{@body}</textarea></td>
</tr>
<tr>


+ 3
- 21
src/admin/templets/article_description_main.htm View File

@@ -15,7 +15,7 @@
<td bgcolor="#f8f8f8">自动摘要分页</td>
</tr>
<tr>
<td>用于自动更新您系统没有填写摘要的文档的摘要信息或更新没分页的文档的自动分页标识(文档使用了自动分页后会降低HTML生成速度,并且在没人工干扰的情况下可能导致分页内容的HTML错误,请小心使用此功能)</td>
<td>用于自动更新您系统没有填写摘要的文档的摘要信息或更新没分页的文档的自动分页标识(文档使用了自动分页后会降低网页生成速度,并且在没人工干扰的情况下可能导致分页内容的HTML错误,请小心使用此功能)</td>
</tr>
<tr>
<td>
@@ -50,29 +50,11 @@
</td>
</tr>
<tr>
<td bgcolor="#fbfce2" align="center">
<button type="submit" name="Submit" class="btn btn-success btn-sm">开始执行分析</button>
</td>
<td bgcolor="#fbfce2" align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">执行分析</button></td>
</tr>
</form>
<tr>
<td>
<table width="100%" class="table table-borderless">
<tr>
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
<td>结果:</td>
</tr>
<tr>
<td id="mtd">


+ 18
- 24
src/admin/templets/article_edit.htm View File

@@ -33,18 +33,12 @@
</script>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 修改文档</td>
<td width="30%" align="right"><?php echo $backurl;?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1" class="mt-3">
<tr>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规信息</td>
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td>
</tr>
</table>
</td>
@@ -57,7 +51,7 @@
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文档标题:</td>
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title'];?>" style="width:380px"></td>
@@ -69,7 +63,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 自定义属性:</td>
<td>
@@ -99,7 +93,7 @@
</tr>
<tr>
<td class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td>
@@ -109,7 +103,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags;?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
@@ -121,7 +115,7 @@
</tr>
<tr id="pictable">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 缩略图:</td>
<td>
@@ -129,7 +123,7 @@
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="np"> 远程</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-smete">清空</button>
<button id="btnClearAll" type="button" class="btn btn-success btn-sm">清空</button>
</td>
<td align="center"><img src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg';?>" id="litPic" class="thumbnail"></td>
</tr>
@@ -138,7 +132,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 来源:</td>
<td width="260">
@@ -156,7 +150,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布栏目:</td>
<td width="360">
@@ -178,7 +172,7 @@
<?php if ($cfg_need_typeid2=='Y') {?>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 副栏目:</td>
<td>
@@ -193,7 +187,7 @@
<?php }?>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 关键词:</td>
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:360px"></td>
@@ -203,7 +197,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 描述:</td>
<td><textarea name="description" id="description" class="biz-textarea-sm"><?php echo $arcRow['description']?></textarea></td>
@@ -216,7 +210,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 附加选项:</td>
<td>
@@ -233,7 +227,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 评论选项:</td>
<td width="260">
@@ -251,7 +245,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文档排序:</td>
<td width="260">
@@ -279,7 +273,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 阅读权限:</td>
<td width="260">
@@ -324,7 +318,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 更新时间:</td>
<td width="260"><?php


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

@@ -50,9 +50,7 @@
</td>
</tr>
<tr>
<td bgcolor="#fbfce2" align="center">
<button type="submit" name="Submit" class="btn btn-success btn-sm">分析标题重复的文档</button>
</td>
<td bgcolor="#fbfce2" align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">分析标题重复文档</button></td>
</tr>
</form>
<tr>


+ 2
- 20
src/admin/templets/cards_make.htm View File

@@ -65,29 +65,11 @@
</td>
</tr>
<tr>
<td bgcolor="#fbfce2" align="center">
<button type="submit" name="Submit" class="btn btn-success btn-sm">开始生成点卡</button>
</td>
<td bgcolor="#fbfce2" align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">生成点卡</button></td>
</tr>
</form>
<tr>
<td>
<table width="100%" class="table table-borderless">
<tr>
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
<td>结果:</td>
</tr>
<tr>
<td id="mtd">


+ 12
- 18
src/admin/templets/catalog_add.htm View File

@@ -3,7 +3,7 @@
<head>
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>栏目管理</title>
<title>添加栏目</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
@@ -111,13 +111,7 @@
</script>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_main.php">栏目管理</a> &gt; 增加栏目</td>
<td width="30%" 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">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
<form name="form1" action="catalog_add.php" method="post" onSubmit="return checkSubmit()">
<input type="hidden" name="dopost" value="save">
@@ -131,15 +125,15 @@
echo " <input type='hidden' name='sitepath' value='{$myrow['sitepath']}'>";
}
?>
<td height="90" align="center" bgcolor="#fff">
<td align="center" bgcolor="#fff">
<table width="100%" cellspacing="0" id="head1" cellpadding="0">
<tr>
<td colspan="2" bgcolor="#fff" align="left">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规选项</td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">高级选项</a></td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
<td width="80" height="28" align="center" class="biz-itemnote1">常规选项</td>
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem2()">高级选项</a></td>
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
</tr>
</table>
</td>
@@ -150,9 +144,9 @@
<td colspan="2" bgcolor="#fff" style="text-align:left">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">高级选项</td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" height="28" align="center" class="biz-itemnote1">高级选项</td>
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
</tr>
</table>
</td>
@@ -163,9 +157,9 @@
<td colspan="2" bgcolor="#fff" style="text-align:left">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">高级选项</td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">栏目内容</td>
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem2()">高级选项</td>
<td width="80" height="28" align="center" class="biz-itemnote1">栏目内容</td>
</tr>
</table>
</td>


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

@@ -3,7 +3,7 @@
<head>
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>批量加栏目</title>
<title>批量加栏目</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
@@ -82,21 +82,15 @@
<form name="form1" action="catalog_add.php" method="post">
<input type="hidden" name="dopost" value="savequick">
<input type="hidden" name="savetype" value="" id="savetype">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_main.php">栏目管理</a> &gt; 批量增加栏目</td>
<td width="30%" align="right"><a href="catalog_add.php?listtype=all" class="btn btn-success btn-sm">增加顶级栏目</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="90" align="left">
<td align="left">
<table width="100%" cellspacing="0" id="head1" cellpadding="0">
<tr>
<td colspan="2">
<table width="80" cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规选项</td>
<td width="80" height="28" align="center" class="biz-itemnote1">常规选项</td>
</tr>
</table>
</td>


+ 11
- 17
src/admin/templets/catalog_edit.htm View File

@@ -100,27 +100,21 @@
</script>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_main.php">栏目管理</a> &gt; 修改栏目</td>
<td width="30%" align="right"><a href="catalog_add.php?dopost=quick" class="btn btn-success btn-sm">批量增加栏目</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
<form name="form1" action="catalog_edit.php" method="post" onSubmit="return checkSubmit()">
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="id" value="<?php echo $id;?>">
<input type="hidden" name="topid" value="<?php echo $myrow['topid'];?>">
<td height="90" align="center" bgcolor="#fff">
<td align="center" bgcolor="#fff">
<table width="100%" cellspacing="0" id="head1" cellpadding="0">
<tr>
<td colspan="2" bgcolor="#fff" align="left">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规选项</td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">高级选项</a></td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
<td width="80" height="28" align="center" class="biz-itemnote1">常规选项</td>
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem2()">高级选项</a></td>
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
</tr>
</table>
</td>
@@ -131,9 +125,9 @@
<td colspan="2" bgcolor="#fff" style="text-align:left">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">高级选项</td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" height="28" align="center" class="biz-itemnote1">高级选项</td>
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
</tr>
</table>
</td>
@@ -144,9 +138,9 @@
<td colspan="2" bgcolor="#fff" style="text-align:left">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">高级选项</td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">栏目内容</td>
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem2()">高级选项</td>
<td width="80" height="28" align="center" class="biz-itemnote1">栏目内容</td>
</tr>
</table>
</td>


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

@@ -48,7 +48,7 @@
<td width="30%">网站栏目管理</td>
<td width="70%" align="right">
<a href="catalog_add.php?listtype=all" class="btn btn-success btn-sm">增加顶级栏目</a>
<a href="catalog_add.php?dopost=quick" class="btn btn-success btn-sm">批量加栏目</a>
<a href="catalog_add.php?dopost=quick" class="btn btn-success btn-sm">批量加栏目</a>
<a href="catalog_do.php?dopost=upcatcache" class="btn btn-success btn-sm">更新栏目缓存</a>
<?php if (!isset($exallct)) {?>
<a href="catalog_main.php?exallct=all" class="btn btn-success btn-sm">展开栏目</a>


+ 2
- 20
src/admin/templets/content_batch_up.htm View File

@@ -133,29 +133,11 @@
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#fbfce2" align="center">
<button type="button" name="b112" onClick="document.form2.submit();" class="btn btn-success btn-sm">开始操作</button>
</td>
<td colspan="2" bgcolor="#fbfce2" align="center"><button type="button" name="b112" onClick="document.form2.submit();" class="btn btn-success btn-sm">开始操作</button></td>
</tr>
</form>
<tr>
<td colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
<td colspan="2">结果:</td>
</tr>
<tr>
<td colspan="2" id="mtd">


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

@@ -71,7 +71,7 @@
<form action="freelist_add.php" method="post" name="form1" onSubmit="return CheckSubmit();">
<input type="hidden" name="dopost" value="save">
<tr>
<td bgcolor="#f8f8f8"><a href="freelist_main.php" class="ml-2">自由列表管理</a> &gt; 增加一个列表</td>
<td bgcolor="#f8f8f8"><a href="freelist_main.php">自由列表管理</a> &gt; 增加一个列表</td>
</tr>
<tr>
<td class="p-0">


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

@@ -55,7 +55,7 @@
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="aid" value="<?php echo $row['aid']?>">
<tr>
<td bgcolor="#f8f8f8"><a href="freelist_main.php" class="ml-2">自由列表管理</a> &gt; 增加一个列表</td>
<td bgcolor="#f8f8f8"><a href="freelist_main.php">自由列表管理</a> &gt; 增加一个列表</td>
</tr>
<tr>
<td class="p-0">


+ 1
- 20
src/admin/templets/makehtml_all.htm View File

@@ -88,30 +88,11 @@
</tr>
</form>
<tr>
<td colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
<td colspan="2">结果:</td>
</tr>
<tr>
<td colspan="2" id="mtd">
<div id="mdv" class="biz-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="360px"></iframe></div>
<script>
document.all.mdv.style.pixelHeight = screen.height - 360;
</script>
</td>
</tr>
</table>


+ 1
- 17
src/admin/templets/makehtml_archives.htm View File

@@ -51,23 +51,7 @@
</tr>
</form>
<tr>
<td colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
<td colspan="2">结果:</td>
</tr>
<tr>
<td colspan="2" id="mtd">


+ 1
- 14
src/admin/templets/makehtml_freelist.htm View File

@@ -31,24 +31,11 @@
</tr>
</form>
<tr>
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
<td colspan="2">结果:</td>
</tr>
<tr>
<td colspan="2" id="mtd">
<div id="mdv" class="biz-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div>
<script>
document.all.mdv.style.pixelHeight = screen.height - 360;
</script>
</td>
</tr>
</table>


+ 1
- 17
src/admin/templets/makehtml_homepage.htm View File

@@ -114,23 +114,7 @@
</tr>
</form>
<tr>
<td colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
<td colspan="2">结果:</td>
</tr>
<tr>
<td colspan="2" id="mtd">


+ 1
- 17
src/admin/templets/makehtml_list.htm View File

@@ -46,23 +46,7 @@
</tr>
</form>
<tr>
<td colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
<td colspan="2">结果:</td>
</tr>
<tr>
<td colspan="2" id="mtd">


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

@@ -23,23 +23,7 @@
</tr>
</form>
<tr>
<td>
<table width="100%" class="table table-borderless">
<tr>
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
<td>结果:</td>
</tr>
<tr>
<td id="mtd">


+ 1
- 17
src/admin/templets/makehtml_taglist.htm View File

@@ -64,23 +64,7 @@
</tr>
</form>
<tr>
<td colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
<td colspan="2">结果:</td>
</tr>
<tr>
<td colspan="2" id="mtd">


+ 8
- 17
src/admin/templets/mychannel_edit.htm View File

@@ -66,41 +66,32 @@
<input type="hidden" name="id" value="<?php echo $id?>">
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="issystem" value="<?php echo $row['issystem'];?>">
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="mychannel_main.php">内容模型管理</a> &gt; 修改内容模型</td>
<td width="30%" align="right"><a href="mychannel_main.php" class="btn btn-success btn-sm">内容模型管理</a></td>
</tr>
</table>
<table width="98%" cellspacing="0" id="head1" cellpadding="0" align="center" style="display:block">
<table width="98%" cellspacing="0" cellpadding="0" align="center" id="head1" class="mt-3">
<tr>
<td colspan="2">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" bgcolor="#fbfce2">基本设置</td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">字段管理</a></td>
<td width="80" height="28" align="center" class="biz-itemnote1">基本设置</td>
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem2()">字段管理</a></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" cellspacing="0" id="head2" cellpadding="0" align="center" style="display:none">
<table width="98%" cellspacing="0" cellpadding="0" align="center" id="head2" class="mt-3" style="display:none">
<tr>
<td colspan="2">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">基本设置</a></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">字段管理</td>
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem1()">基本设置</a></td>
<td width="80" height="28" align="center" class="biz-itemnote1">字段管理</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" id='needset' cellpadding="3" cellspacing="1" align="center" class="table maintable" style="display:block">
<?php
if ($row['issystem'] == 1)
{
?>
<table width="98%" id='needset' cellpadding="3" cellspacing="1" align="center" class="table maintable">
<?php if ($row['issystem'] == 1){?>
<tr>
<td colspan="2" class="border-top-0">您目前所展开的是系统模型,系统模型一般对发布程序和管理程序已经固化,如果您胡乱修改系统模型将会导致使用这种内容类型的频道可能崩溃</td>
</tr>


+ 2
- 20
src/admin/templets/mychannel_modifysearch.htm View File

@@ -48,9 +48,7 @@
<span class="style2" id="help2">标题、关键词、摘要为默认选项,不用选择</span></td>
<td><?php echo $mainfields;?></td>
</tr>
<?php
}
?>
<?php }?>
<tr>
<td>附件表可供自定义搜索的字段:<br>
<span class="style2" id="help4">这里的字段是程序依据字段类型自动选择生成的</span></td>
@@ -69,23 +67,7 @@
</tr>
</form>
<tr>
<td colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
<td colspan="2">结果:</td>
</tr>
<tr>
<td colspan="2" id="mtd">


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

@@ -15,6 +15,31 @@
<script src="js/mode/javascript/javascript.js"></script>
<script src="js/mode/css/css.js"></script>
<script src="js/mode/htmlmixed/htmlmixed.js"></script>
<script>
var editor = CodeMirror.fromTextArea(document.getElementById('myinnertext'), {
lineNumbers: true,
lineWrapping: true,
mode: 'text/html'
});
function ChangeListStyle() {
var itxt = document.getElementById("myinnertext");
var myems = document.getElementsByName("liststyle");
if (myems[0].checked) editor.setValue(document.getElementById("list1").innerHTML);
else if (myems[1].checked) editor.setValue(document.getElementById("list2").innerHTML);
else if (myems[2].checked) editor.setValue(document.getElementById("list3").innerHTML);
else if (myems[3].checked) editor.setValue(document.getElementById("list4").innerHTML);
itxt.value = itxt.value.replace("<BR>", "<br>");
itxt.value = itxt.value.toLowerCase();
}
function DoSubmit(j) {
document.form1.dopost.value = j;
document.form1.submit();
}
function SelectArcList(fname) {
var pos = GetWinPos(800,600);
window.open("content_select_list.php?f=" + fname, "selArcList", "scrollbars=yes,resizable=yes,statebar=no,width=800,height=600,left=" + pos.left + ", top=" + pos.top);
}
</script>
</head>
<body>
<center>
@@ -180,30 +205,5 @@
</tr>
</table>
</center>
<script>
var editor = CodeMirror.fromTextArea(document.getElementById('myinnertext'), {
lineNumbers: true,
lineWrapping: true,
mode: 'text/html'
});
function ChangeListStyle() {
var itxt = document.getElementById("myinnertext");
var myems = document.getElementsByName("liststyle");
if (myems[0].checked) editor.setValue(document.getElementById("list1").innerHTML);
else if (myems[1].checked) editor.setValue(document.getElementById("list2").innerHTML);
else if (myems[2].checked) editor.setValue(document.getElementById("list3").innerHTML);
else if (myems[3].checked) editor.setValue(document.getElementById("list4").innerHTML);
itxt.value = itxt.value.replace("<BR>", "<br>");
itxt.value = itxt.value.toLowerCase();
}
function DoSubmit(j) {
document.form1.dopost.value = j;
document.form1.submit();
}
function SelectArcList(fname) {
var pos = GetWinPos(800,600);
window.open("content_select_list.php?f=" + fname, "selArcList", "scrollbars=yes,resizable=yes,statebar=no,width=800,height=600,left=" + pos.left + ", top=" + pos.top);
}
</script>
</body>
</html>

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

@@ -30,7 +30,7 @@
<td align="left"><textarea name="des" id="des" class="biz-textarea-sm"></textarea></td>
</tr>
<tr>
<td height="50" colspan="2" align="center">
<td colspan="2" align="center">
<table width="200" cellspacing="1" cellpadding="1" class="table table-borderless">
<tr align="center">
<td>


+ 24
- 30
src/admin/templets/soft_add.htm View File

@@ -52,18 +52,12 @@
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="cid" value="<?php echo $cid;?>">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">软件列表</a> &gt; 发布软件</td>
<td width="30%" align="right"><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a><a href="soft_config.php" class="btn btn-success btn-sm">下载频道参数设定</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1" class="mt-3">
<tr>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规信息</td>
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td>
</tr>
</table>
</td>
@@ -72,7 +66,7 @@
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 软件名称:</td>
<td width="400"><input type="text" name="title" id="title" style="width:390px"></td>
@@ -84,7 +78,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 自定义属性:</td>
<td><?php
@@ -104,7 +98,7 @@
</tr>
<tr>
<td class="bline" id="redirecturltr" style="display:none">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 跳转网址:</td>
<td><input type="text" name="redirecturl" id="redirecturl" value="" style="width:300px"></td>
@@ -114,7 +108,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> Tag标签:</td>
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td>
@@ -126,7 +120,7 @@
</tr>
<tr id="pictable">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 缩略图:</td>
<td>
@@ -134,7 +128,7 @@
<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 type="button" id="btnClearAll" class="btn btn-success btn-smete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button>
</td>
<td align="center"><img src="../static/web/img/defaultpic.jpg" id="litPic" class="thumbnail"></td>
</tr>
@@ -143,7 +137,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 来源:</td>
<td width="260">
@@ -161,7 +155,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布栏目:</td>
<td width="360">
@@ -190,7 +184,7 @@
</tr>
<tr id="typeid2tr" style="display:none">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 副栏目:</td>
<td>
@@ -204,10 +198,10 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 关键词:</td>
<td>
<td width="410">
<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>
@@ -220,7 +214,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 描述:</td>
<td><textarea name="description" id="description" class="biz-textarea-sm"></textarea></td>
@@ -287,7 +281,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 运行环境:</td>
<td><input type="text" name="os" value="Win2003,WinXP,Win2000,Win9X" style="width:260px"></td>
@@ -297,7 +291,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 官方网址:</td>
<td width="310"><input type="text" name="officialUrl" id="officialUrl" value="http://" style="width:260px"></td>
@@ -309,7 +303,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 软件大小:</td>
<td width="310">
@@ -346,7 +340,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 本地地址:</td>
<td>
@@ -393,7 +387,7 @@
<?php }?>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0" class="bline">
<table cellspacing="0" cellpadding="0" class="bline">
<tr>
<td width="90"> 其它地址:</td>
<td>
@@ -410,7 +404,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 附加选项:</td>
<td>
@@ -428,7 +422,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90" width="260"> 评论选项:</td>
<td width="260">
@@ -446,7 +440,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文档排序:</td>
<td width="260">
@@ -470,7 +464,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 阅读权限:</td>
<td width="260">
@@ -487,7 +481,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布时间:</td>
<td width="260">


+ 22
- 28
src/admin/templets/soft_edit.htm View File

@@ -47,18 +47,12 @@
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="id" value="<?php echo $aid?>">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives"></a><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">软件列表</a> &gt; 修改软件</td>
<td width="30%" 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">
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1" class="mt-3">
<tr>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规参数</td>
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td>
</tr>
</table>
</td>
@@ -67,7 +61,7 @@
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文档标题:</td>
<td width="400"><input type="text" name="title" id="title" value="<?php echo $arcRow['title'];?>" style="width:390px"></td>
@@ -79,7 +73,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 自定义属性:</td>
<td>
@@ -103,7 +97,7 @@
</tr>
<tr>
<td class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 跳转网址:</td>
<td><input type="text" name="redirecturl" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td>
@@ -113,7 +107,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> Tag标签:</td>
<td><input type="text" name="tags" id="tags" value="<?php echo $tags;?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
@@ -125,7 +119,7 @@
</tr>
<tr id="pictable">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90" height="80"> 缩略图:</td>
<td width="560">
@@ -133,7 +127,7 @@
<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 type="button" id="btnClearAll" class="btn btn-success btn-smete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button>
</td>
<td align="center"><img src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg';?>" id="litPic" class="thumbnail"></td>
</tr>
@@ -142,7 +136,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 来源:</td>
<td width="260">
@@ -160,7 +154,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布栏目:</td>
<td width="360">
@@ -182,7 +176,7 @@
<?php if ($cfg_need_typeid2=='Y') {?>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 副栏目:</td>
<td>
@@ -196,7 +190,7 @@
<?php }?>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 关键词:</td>
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:360px"></td>
@@ -206,7 +200,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 描述:</td>
<td><textarea name="description" id="description" class="biz-textarea-sm"><?php echo $arcRow['description']?></textarea></td>
@@ -287,7 +281,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 运行环境:</td>
<td><input type="text" name="os" value="<?php echo $addRow['os']?>" style="width:260px"></td>
@@ -297,7 +291,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 官方网址:</td>
<td width="310"><input type="text" name="officialUrl" id="officialUrl" value="<?php echo $addRow['officialUrl']?>" style="width:260px"></td>
@@ -309,7 +303,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 软件大小:</td>
<td width="310"><input name="softsize" type="text" id="softsize" value="<?php echo $addRow['softsize']?>" style="width:260px"></td>
@@ -338,7 +332,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 其它地址:</td>
<td>
@@ -362,7 +356,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 附加选项:</td>
<td>
@@ -378,7 +372,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90" width="260"> 评论选项:</td>
<td width="260">
@@ -396,7 +390,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文档排序:</td>
<td width="260">
@@ -423,7 +417,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 阅读权限:</td>
<td width="260">
@@ -441,7 +435,7 @@
</tr>
<tr>
<td height="70" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 更新时间:</td>
<td width="260">


+ 21
- 27
src/admin/templets/spec_add.htm View File

@@ -63,31 +63,25 @@
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="arcrank" value="0">
<input type="hidden" name="source" value="本站">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="content_s_list.php">专题列表</a><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"></a> &gt; 发布专题</td>
<td width="30%" align="right"><a href="makehtml_spec.php" class="btn btn-success btn-sm">更新专题</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1" class="mt-3">
<tr>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规参数</td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">专题文档</a></td>
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td>
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem2()">专题文档</a></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head2" style="display:none">
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head2" class="mt-3" style="display:none">
<tr>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规参数</a></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">专题文档</td>
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem1()">常规内容</a></td>
<td width="80" height="28" align="center" class="biz-itemnote1">专题文档</td>
</tr>
</table>
</td>
@@ -96,7 +90,7 @@
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 专题名称:</td>
<td width="400"><input type="text" name="title" id="title" value="" style="width:390px"></td>
@@ -108,7 +102,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 自定义属性:</td>
<td><?php
@@ -128,7 +122,7 @@
</tr>
<tr id="pictable">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 缩略图:</td>
<td>
@@ -136,7 +130,7 @@
<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 type="button" id="btnClearAll" class="btn btn-success btn-smete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button>
</td>
<td align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" id="litPic" class="thumbnail"></td>
</tr>
@@ -145,7 +139,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 责任编辑:</td>
<td><input type="text" name="writer" id="writer" style="width:160px"></td>
@@ -155,7 +149,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 内容排序:</td>
<td width="260">
@@ -179,7 +173,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 主分类:</td>
<td>
@@ -198,10 +192,10 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 关键词:</td>
<td>
<td width="410">
<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>
@@ -212,7 +206,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 专题简介:</td>
<td><textarea name="description" id="description" class="biz-textarea-sm"></textarea></td>
@@ -222,7 +216,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90" width="260"> 评论选项:</td>
<td width="260">
@@ -240,7 +234,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 专题模板:</td>
<td width="260">
@@ -255,7 +249,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布时间:</td>
<td width="260"><?php
@@ -300,7 +294,7 @@
<tr bgcolor="#fbfce2">
<td width="260">节点<?php echo $i?>名称:</td>
<td>
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="310"><input type="text" name="notename<?php echo $i?>" value="<?php echo $nodename;?>" id="notename<?php echo $i?>" style="width:300px"></td>
<td width="90">节点标识:</td>
@@ -324,7 +318,7 @@
</td>
</tr>
<tr>
<td height="50" rowspan="2">节点布局:</td>
<td rowspan="2">节点布局:</td>
<td>
列数:<input type="text" name="col<?php echo $i?>" id="col<?php echo $i?>" value="1" size="3">
图片宽:<input type="text" name="imgwidth<?php echo $i?>" id="imgwidth<?php echo $i?>" value="120" size="3">


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

@@ -60,19 +60,13 @@
<input type="hidden" name="arcrank" value="<?php echo $arcRow['arcrank']?>">
<input type="hidden" name="source" value="本站">
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="content_s_list.php">专题列表</a><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"></a> &gt; 修改专题</td>
<td width="30%" align="right"><a href="makehtml_spec.php" class="btn btn-success btn-sm">更新专题</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1" class="mt-3">
<tr>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规参数</td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">专题文档</a></td>
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td>
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem2()">专题文档</a></td>
</tr>
</table>
</td>
@@ -83,8 +77,8 @@
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规参数</a></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">专题文档</td>
<td width="80" height="28" align="center" class="biz-itemnote1"><a href="javascript:;" onClick="ShowItem1()">常规内容</a></td>
<td width="80" height="28" align="center" class="biz-itemnote1">专题文档</td>
</tr>
</table>
</td>
@@ -93,7 +87,7 @@
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 专题名称:</td>
<td width="400"><input type="text" name="title" id="title" value="<?php echo $arcRow['title'];?>" style="width:390px"></td>
@@ -105,7 +99,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 自定义属性:</td>
<td>
@@ -128,15 +122,15 @@
</tr>
<tr id="pictable">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90" height="90"> 缩略图:</td>
<td width="90"> 缩略图:</td>
<td>
<input type="text" name="picname" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<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 type="button" id="btnClearAll" class="btn btn-success btn-smete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm">清空</button>
</td>
<td align="center"><img id="litPic" src="<?php if ($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg';?>" id="litPic" class="thumbnail"></td>
</tr>
@@ -145,7 +139,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 责任编辑:</td>
<td><input type="text" name="writer" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px"></td>
@@ -155,7 +149,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 内容排序:</td>
<td width="260">
@@ -183,7 +177,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 主分类:</td>
<td>
@@ -202,7 +196,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<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>
@@ -212,7 +206,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 专题说明:</td>
<td><textarea name="description" id="textarea" class="biz-textarea-sm"><?php echo $arcRow['description']?></textarea></td>
@@ -222,7 +216,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90" width="260"> 评论选项:</td>
<td width="260">
@@ -239,7 +233,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 专题模板:</td>
<td width="260">
@@ -254,7 +248,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布时间:</td>
<td>
@@ -269,7 +263,7 @@
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 更新时间:</td>
<td width="260">
@@ -325,7 +319,7 @@
<tr bgcolor="#fbfce2">
<td width="260">节点<?php echo $i?>名称:</td>
<td>
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="310"><input type="text" name="notename<?php echo $i?>" id="notename<?php echo $i?>" style="width:300px" value="<?php echo $notename?>"></td>
<td width="90">节点标识:</td>
@@ -349,7 +343,7 @@
</td>
</tr>
<tr>
<td height="50" rowspan="2">节点布局:</td>
<td rowspan="2">节点布局:</td>
<td>
列数:<input type="text" name="col<?php echo $i?>" id="col<?php echo $i?>" value="<?php echo $col?>" size="3">
图片宽:<input type="text" name="imgwidth<?php echo $i?>" id="imgwidth<?php echo $i?>" value="<?php echo $imgwidth?>" size="3">
@@ -372,7 +366,7 @@
<tr bgcolor="#fbfce2">
<td width="90">节点<?php echo $i?>名称:</td>
<td>
<table width="900" cellspacing="0" cellpadding="0">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="310"><input type="text" name="notename<?php echo $i?>" id="notename<?php echo $i?>" style="width:300px"></td>
<td width="90">节点标识:</td>
@@ -396,7 +390,7 @@
</td>
</tr>
<tr>
<td height="50" rowspan="2">节点布局:<br></td>
<td rowspan="2">节点布局:<br></td>
<td>列数:<input type="text" name="col<?php echo $i?>" id="col<?php echo $i?>" value="1" size="3">
图片高:<input type="text" name="imgheight<?php echo $i?>" id="imgheight<?php echo $i?>" value="90" size="3">
图片宽:<input type="text" name="imgwidth<?php echo $i?>" id="imgwidth<?php echo $i?>" value="120" size="3">
@@ -408,9 +402,7 @@
<tr>
<td>单条记录的模板:<br><textarea name="listtmp<?php echo $i?>" rows="3" id="listtmp<?php echo $i?>" class="biz-textarea"><?php echo $speclisttmp?></textarea></td>
</tr>
<?php
}
?>
<?php }?>
</table>
</td>
</tr>


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

@@ -25,23 +25,7 @@
</tr>
</form>
<tr>
<td>
<table width="100%" class="table table-borderless">
<tr>
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
<td>结果:</td>
</tr>
<tr>
<td id="mtd">


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

@@ -184,7 +184,7 @@
}
?>
<tr>
<td colspan="8">
<td bgcolor="#fbfce2" colspan="8">
分卷大小:<input name="fsize" type="text" id="fsize" value="2048" style="width:60px"> K
<label><input type="checkbox" name="isstruct" id="isstruct" value="1" checked="1"> 备份结构</label>
<?php if (@function_exists('gzcompress') && false) {?>
@@ -201,8 +201,8 @@
<td colspan="8">结果:</td>
</tr>
<tr>
<td height="360" colspan="8">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
<td colspan="8">
<div class="biz-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div>
</td>
</tr>
</table>


+ 1
- 18
src/admin/templets/sys_data_replace.htm View File

@@ -118,7 +118,6 @@
</table>
</td>
</tr>

<tr>
<td bgcolor="#fbfce2" align="center" class="py-2">
<button type="submit" name="Submit" class="btn btn-success btn-sm">开始替换数据</button>
@@ -126,23 +125,7 @@
</tr>
</form>
<tr>
<td>
<table width="100%" class="table table-borderless">
<tr>
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
<td>结果:</td>
</tr>
<tr>
<td id="mtd">


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

@@ -105,8 +105,8 @@
<td colspan="4">结果:</td>
</tr>
<tr>
<td height="360" colspan="4">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
<td colspan="4">
<div class="biz-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div>
</td>
</tr>
</table>


+ 1
- 17
src/admin/templets/tag_test.htm View File

@@ -66,23 +66,7 @@
</tr>
</form>
<tr>
<td colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight + 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
<td colspan="2">结果:</td>
</tr>
<tr>
<td colspan="2" id="mtd">


+ 4
- 8
src/admin/templets/templets_default.htm View File

@@ -53,17 +53,13 @@
<td><?php echo $fileinfo;?></td>
<td align="center"><?php echo $filetime;?></td>
<td align="center">
<a href="tpl.php?action=edit&acdir=<?php echo $acdir;?>&filename=<?php echo $filename;?>" title="编辑" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i></a>
<?php
if (!isset($fileinfos[$filename])){
?>
<a href="javascript:;" class="btn btn-success btn-sm" onClick="javascript:DelTpl('<?php echo $filename;?>');" title="删除"><i class="fa fa-trash"></i></a>
<a href="tpl.php?action=edit&acdir=<?php echo $acdir;?>&filename=<?php echo $filename;?>" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i> 编辑</a>
<?php if (!isset($fileinfos[$filename])){?>
<a href="javascript:;" class="btn btn-success btn-sm" onClick="javascript:DelTpl('<?php echo $filename;?>');" ><i class="fa fa-trash"></i> 删除</a>
<?php }?>
</td>
</tr>
<?php
}
?>
<?php }?>
<tr>
<td bgcolor="#f8f8f8" align="center" colspan="4" class="py-2">
<a class="btn btn-success btn-sm" href="tpl.php?action=newfile&acdir=<?php echo $acdir;?>">新建模板</a>


+ 65
- 74
src/admin/templets/templets_one_add.htm View File

@@ -26,79 +26,70 @@
</script>
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td bgcolor="#f8f8f8"><a href="templets_one.php">单独页面管理</a> &gt; 增加自定义页面</td>
</tr>
<tr>
<td>
<table width="100%" cellspacing="4" cellpadding="2" class="table table-borderless">
<form action="templets_one_add.php" method="post" name="form1" onSubmit="return checkSubmit()">
<input type="hidden" name="dopost" value="save">
<tr>
<td colspan="2">单独页面管理仅适用于页面较少的情况(建议小于500个页面)大量文档的用文档模型进行管理</td>
</tr>
<tr>
<td width="260">页面标题:</td>
<td><input type="text" name="title" id="title" style="width:260px"></td>
</tr>
<tr>
<td>页面关键词:</td>
<td><input type="text" name="keywords" id="keywords" style="width:260px">(用&quot;,&quot;分开{dede:field name='keywords'/})</td>
</tr>
<tr>
<td>页面摘要信息:</td>
<td><textarea name="description" id="description" class="biz-textarea-sm"></textarea>(100字左右{dede:field name='description'/})</td>
</tr>
<tr>
<td>关联标识:</td>
<td>
<input type="text" name="likeid" id="likeid" value="" style="width:260px">
<?php
echo "<select name='likeidsel' id='likeidsel' style='width:160px'>";
$dsql->Execute('s',"Select likeid From `#@__sgpage` group by likeid ");
echo "<option value='default'>default</option>";
while($arr = $dsql->GetArray('s'))
{
echo "<option value='{$arr['likeid']}'>{$arr['likeid']}</option>";
}
echo "</select>";
?>(通过这个标识来识别类同页面,模板中用{dede:likesgpage id='标识'/}调用有相同标识的页面)
</td>
</tr>
<tr>
<td>文件名:</td>
<td><input type="text" name="nfilename" id="nfilename" value="<?php echo $cfg_arcdir.'/newfile{$nowid}.html';?>" style="width:260px">(相对于CMS安装目录)</td>
</tr>
<tr>
<td>模板文件名:</td>
<td><input type="text" name="template" id="template" value="{style}/singlepage.htm" style="width:260px"></td>
</tr>
<tr>
<td>是否编译内容:</td>
<td>
<?php if (!DEDEBIZ_SAFE_MODE) {?><label><input type="radio" name="ismake" value="1"> 含模板标记,要编译</label><?php }?>
<label><input type="radio" name="ismake" value="0" checked> 不含模板标记,不需要编译</label>
</td>
</tr>
<tr>
<td colspan="2">
<div class="alert alert-warning mb-0">内容:模板里用{dede:field name='body'/}来获得</div>
</td>
</tr>
<tr>
<td colspan="2"><?php GetEditor("body","","400","Default","print","false");?></td>
</tr>
<tr>
<td colspan="2" align="center" class="py-2">
<button type="submit" name="button1" id="button1" class="btn btn-success btn-sm">保存</button>
<button type="button" onClick="document.form1.reset();" class="btn btn-success btn-sm">重置</button>
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
<form action="templets_one_add.php" method="post" name="form1" onSubmit="return checkSubmit()">
<input type="hidden" name="dopost" value="save">
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td bgcolor="#f8f8f8" colspan="2"><a href="templets_one.php">单独页面管理</a> &gt; 增加自定义页面</td>
</tr>
<tr>
<td colspan="2">
<div class="alert alert-warning mb-0">单独页面管理仅适用于页面较少的情况(建议小于500个页面)大量文档的用文档模型进行管理,内容模板里用{dede:field name='body'/}来获得</div>
</td>
</tr>
<tr>
<td width="260">页面标题:</td>
<td><input type="text" name="title" id="title" style="width:260px"></td>
</tr>
<tr>
<td>页面关键词:</td>
<td><input type="text" name="keywords" id="keywords" style="width:260px">(用&quot;,&quot;分开{dede:field name='keywords'/})</td>
</tr>
<tr>
<td>页面摘要信息:</td>
<td><textarea name="description" id="description" class="biz-textarea-sm"></textarea>(100字左右{dede:field name='description'/})</td>
</tr>
<tr>
<td>关联标识:</td>
<td>
<input type="text" name="likeid" id="likeid" value="" style="width:260px">
<?php
echo "<select name='likeidsel' id='likeidsel' style='width:160px'>";
$dsql->Execute('s',"Select likeid From `#@__sgpage` group by likeid ");
echo "<option value='default'>default</option>";
while($arr = $dsql->GetArray('s'))
{
echo "<option value='{$arr['likeid']}'>{$arr['likeid']}</option>";
}
echo "</select>";
?>(通过这个标识来识别类同页面,模板中用{dede:likesgpage id='标识'/}调用有相同标识的页面)
</td>
</tr>
<tr>
<td>保存位置:</td>
<td><input type="text" name="nfilename" id="nfilename" value="<?php echo $cfg_arcdir.'/diy.html';?>" style="width:260px">(填写路径文件夹)</td>
</tr>
<tr>
<td>模板文件名:</td>
<td><input type="text" name="template" id="template" value="{style}/index_article.htm" style="width:260px">(填写模板名称)</td>
</tr>
<tr>
<td>是否编译内容:</td>
<td>
<?php if (!DEDEBIZ_SAFE_MODE) {?><label><input type="radio" name="ismake" value="1"> 含模板标记,要编译</label><?php }?>
<label><input type="radio" name="ismake" value="0" checked> 不含模板标记,不需要编译</label>
</td>
</tr>
<tr>
<td colspan="2"><?php GetEditor("body","","400","Default","print","false");?></td>
</tr>
<tr>
<td colspan="2" bgcolor="#f8f8f8" align="center" class="py-2">
<button type="submit" name="button1" id="button1" class="btn btn-success btn-sm">保存</button>
<button type="button" onClick="document.form1.reset();" class="btn btn-success btn-sm">重置</button>
</td>
</tr>
</table>
</form>
</body>
</html>

+ 70
- 76
src/admin/templets/templets_one_edit.htm View File

@@ -29,81 +29,75 @@
</script>
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td bgcolor="#f8f8f8"><a href="templets_one.php">单独页面管理</a> &gt; 修改自定义页面</td>
</tr>
<tr>
<td>
<table width="100%" cellspacing="4" cellpadding="2" class="table table-borderless">
<form action="templets_one_edit.php" method="post" name="form1" onSubmit="return checkSubmit()">
<input type="hidden" name="dopost" value="saveedit">
<input type="hidden" name="aid" value="<?php echo $aid?>">
<tr>
<td width="260">页面标题:</td>
<td><input type="text" name="title" id="title" value="<?php echo $row['title'];?>" style="width:260px"></td>
</tr>
<tr>
<td>页面关键词:</td>
<td><input type="text" name="keywords" id="keywords" value="<?php echo $row['keywords'];?>" style="width:260px">(用&quot;,&quot;分开)</td>
</tr>
<tr>
<td>页面摘要信息:</td>
<td><textarea name="description" id="description" class="biz-textarea-sm"><?php echo $row['description'];?></textarea>(100字左右)</td>
</tr>
<tr>
<td>关联标识:</td>
<td>
<input type="text" name="likeid" id="likeid" value="<?php echo $row['likeid'];?>" style="width:260px">
<input type="hidden" name="oldlikeid" id="oldlikeid" value="<?php echo $row['likeid'];?>">
<?php
echo "<select name='likeidsel' id='likeidsel' style='width:160px'>";
$dsql->Execute('s',"Select likeid From `#@__sgpage` group by likeid ");
echo "<option value='{$row['likeid']}' selected>{$row['likeid']}</option>";
while($arr = $dsql->GetArray('s'))
{
if ($arr['likeid']!=$row['likeid']) echo "<option value='{$arr['likeid']}'>{$arr['likeid']}</option>";
}
echo "</select>";
?>
</td>
</tr>
<tr>
<td>模板文件名:</td>
<td><input type="text" name="template" id="template" value="<?php echo $row['template'];?>" style="width:260px"></td>
</tr>
<tr>
<td>文件名:</td>
<td>
<input type="hidden" name="oldfilename" id="oldfilename" value="<?php echo $row['filename'];?>" style="width:260px">
<input type="text" name="nfilename" id="nfilename" value="<?php echo $row['filename'];?>" style="width:260px">(相对于CMS安装目录)
</td>
</tr>
<tr>
<td>是否编译内容:</td>
<td>
<?php if (!DEDEBIZ_SAFE_MODE) {?> <label><input type="radio" name="ismake" value="1"<?php if ($row['ismake']==1) echo "checked";?>> 含模板标记,要编译</label> <?php }?>
<label><input type="radio" name="ismake" value="0"<?php if ($row['ismake']==0 || DEDEBIZ_SAFE_MODE) echo "checked";?>> 不含模板标记,不需要编译</label>
</td>
</tr>
<tr>
<td colspan="2">
<div class="alert alert-warning mb-0">内容:模板里用{dede:field name='body'/}来获得文件内容</div>
</td>
</tr>
<tr>
<td height="80" colspan="2"> <?php GetEditor("body",$row['body'],"400","Default","print","false");?></td>
</tr>
<tr>
<td colspan="2" align="center" class="py-2">
<button type="submit" name="button1" id="button1" class="btn btn-success btn-sm">保存</button>
<button type="button" onClick="document.form1.reset();" class="btn btn-success btn-sm">重置</button>
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
<form action="templets_one_edit.php" method="post" name="form1" onSubmit="return checkSubmit()">
<input type="hidden" name="dopost" value="saveedit">
<input type="hidden" name="aid" value="<?php echo $aid?>">
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td bgcolor="#f8f8f8" colspan="2"><a href="templets_one.php">单独页面管理</a> &gt; 修改自定义页面</td>
</tr>
<tr>
<td colspan="2">
<div class="alert alert-warning mb-0">单独页面管理仅适用于页面较少的情况(建议小于500个页面)大量文档的用文档模型进行管理,内容模板里用{dede:field name='body'/}来获得</div>
</td>
</tr>
<tr>
<td width="260">页面标题:</td>
<td><input type="text" name="title" id="title" value="<?php echo $row['title'];?>" style="width:260px"></td>
</tr>
<tr>
<td>页面关键词:</td>
<td><input type="text" name="keywords" id="keywords" value="<?php echo $row['keywords'];?>" style="width:260px">(用&quot;,&quot;分开)</td>
</tr>
<tr>
<td>页面摘要信息:</td>
<td><textarea name="description" id="description" class="biz-textarea-sm"><?php echo $row['description'];?></textarea>(100字左右)</td>
</tr>
<tr>
<td>关联标识:</td>
<td>
<input type="text" name="likeid" id="likeid" value="<?php echo $row['likeid'];?>" style="width:260px">
<input type="hidden" name="oldlikeid" id="oldlikeid" value="<?php echo $row['likeid'];?>">
<?php
echo "<select name='likeidsel' id='likeidsel' style='width:160px'>";
$dsql->Execute('s',"Select likeid From `#@__sgpage` group by likeid ");
echo "<option value='{$row['likeid']}' selected>{$row['likeid']}</option>";
while($arr = $dsql->GetArray('s'))
{
if ($arr['likeid']!=$row['likeid']) echo "<option value='{$arr['likeid']}'>{$arr['likeid']}</option>";
}
echo "</select>";
?>
</td>
</tr>
<tr>
<td>保存位置:</td>
<td>
<input type="hidden" name="oldfilename" id="oldfilename" value="<?php echo $row['filename'];?>" style="width:260px">
<input type="text" name="nfilename" id="nfilename" value="<?php echo $row['filename'];?>" style="width:260px">(填写路径文件夹)
</td>
</tr>
<tr>
<td>模板文件名:</td>
<td><input type="text" name="template" id="template" value="<?php echo $row['template'];?>" style="width:260px">(填写模板名称)</td>
</tr>
<tr>
<td>是否编译内容:</td>
<td>
<?php if (!DEDEBIZ_SAFE_MODE) {?> <label><input type="radio" name="ismake" value="1"<?php if ($row['ismake']==1) echo "checked";?>> 含模板标记,要编译</label> <?php }?>
<label><input type="radio" name="ismake" value="0"<?php if ($row['ismake']==0 || DEDEBIZ_SAFE_MODE) echo "checked";?>> 不含模板标记,不需要编译</label>
</td>
</tr>
<tr>
<td colspan="2"><?php GetEditor("body",$row['body'],"400","Default","print","false");?></td>
</tr>
<tr>
<td colspan="2" bgcolor="#f8f8f8" align="center" class="py-2">
<button type="submit" name="button1" id="button1" class="btn btn-success btn-sm">保存</button>
<button type="button" onClick="document.form1.reset();" class="btn btn-success btn-sm">重置</button>
</td>
</tr>
</table>
</form>
</body>
</html>

+ 1
- 1
src/static/web/css/admin.css View File

@@ -418,7 +418,7 @@ span.page-link {
height:360px
}
.biz-itemnote1 {
background:#f8fcf2;
background:#fbfce2;
border-radius:.2rem .2rem 0 0
}
.biz-itemnote2 {


+ 21
- 17
src/static/web/css/style.css View File

@@ -38,13 +38,6 @@ h3,h4 {
h5,h6 {
font-size:16px
}
.flink,.flink a,.copyright,.copyright a {
color:white
}
.copyright {
padding:.5rem;
background:#12451F
}
form.search {
display:flex;
width:100%
@@ -488,15 +481,9 @@ nav.location .dede li.active .nav-link {
.article-main .body table {
width:100%!important
}
.site-nav {
.site-nav,.btn {
font-size:14px
}
.site-nav .title b {
color:#ff8400
}
.site-nav .user a {
color:#28a745
}
#body-pic img {
max-width:40%!important
}
@@ -634,9 +621,26 @@ nav.navbar.dede .navbar-brand {
.carousel-item img {
max-width:100%!important
}
.logo img {
height:40px
}
.flink,.flink a,.copyright,.copyright a {
color:white
}
.copyright {
padding:.5rem;
background:#12451F
}
.btn+.btn,.btn-text+.btn-text {
margin-left:1rem
}
.fa {
font-size:14px!important;
color:inherit
}
.table {
color:#545b62
}
.form-control {
font-size:14px
}
.input-group-append {
margin-left:-30px
}

+ 9
- 22
src/static/web/css/user.css View File

@@ -36,13 +36,12 @@ main.login-from {
}
.member .member-logo {
border-radius:50%;
max-width:72px;
min-height:72px
max-width:60px;
min-height:60px
}
.member-actions a {
color:#868686;
margin-left:1rem;
line-height:64px
line-height:40px
}
.member .member-rank a {
color:white
@@ -84,24 +83,6 @@ main.login-from {
.member .pannel-main .nav-link.active {
font-weight:bold
}
option.option2 {
background-color:#DDD
}
@media only screen and (max-width:576px) {
.login-area {
float:none;
margin:auto
}
}.btn+.btn,.btn-text+.btn-text {
margin-left:1rem
}
.fa {
font-size:14px!important;
color:inherit
}
.table {
color:#545b62
}
.user-meter i {
font-size:24px!important
}
@@ -111,4 +92,10 @@ option.option2 {
height:30px;
border-radius:50%;
border:1px solid #dee2e6
}
@media only screen and (max-width:576px) {
.login-area {
float:none;
margin:auto
}
}

+ 4
- 7
src/theme/templets/footer.htm View File

@@ -7,9 +7,7 @@
</div>
</footer>
<div class="scroll-top">
<button onclick="gotop()" id="btnScrollTop" title="返回顶部">
<i class="fa fa-chevron-up"></i>
</button>
<button onclick="gotop()" id="btnScrollTop" title="返回顶部"><i class="fa fa-chevron-up"></i> </button>
</div>
<script src="{dede:global.cfg_cmsurl/}/static/web/js/bootstrap.bundle.min.js"></script>
<script src="{dede:global.cfg_cmsurl/}/static/web/js/style.js"></script>
@@ -21,10 +19,9 @@
let result = JSON.parse(data);
if (result.code === 200) {
$("#_login").html(`
欢迎,${result.data.username}
<a class="ml-2" href="{dede:global.cfg_cmsurl/}/user/">[会员中心]</a>
<a class="ml-2" href="{dede:global.cfg_cmsurl/}/user/index_do.php?fmdo=login&dopost=exit">[退出]</a>
`);
<span class="btn btn-sm">${result.data.username}</span>
<a href="{dede:global.cfg_cmsurl/}/user/" class="btn btn-primary btn-sm"><i class="fa fa-user-circle"></i></a>
<a href="{dede:global.cfg_cmsurl/}/user/index_do.php?fmdo=login&dopost=exit" class="btn btn-success btn-sm"><i class="fa fa-sign-out"></i></a>`);
$("#iptUsername").val(result.data.username);
$("#iptUsername").attr("disabled", "disabled");
$(".areaValidate").hide();


+ 29
- 31
src/theme/templets/header.htm View File

@@ -1,46 +1,44 @@
<div class="site-nav bg-light py-3">
<div class="site-nav bg-light py-2">
<div class="container">
<div class="row">
<div class="col-12 d-flex justify-content-end user" id="_login">
<a href="{dede:global.cfg_memberurl/}/login.php">登录</a>
<a class="ml-2" href="{dede:global.cfg_memberurl/}/index_do.php?fmdo=user&dopost=regnew">注册</a>
<a href="{dede:global.cfg_memberurl/}/login.php" class="btn btn-primary btn-sm">登录</a>
<a href="{dede:global.cfg_memberurl/}/index_do.php?fmdo=user&dopost=regnew" class="btn btn-success btn-sm ml-2">注册</a>
</div>
</div>
</div>
</div>
<header class="container">
<div class="row py-3">
<div class="col-12 col-sm-6 logo"><a href="{dede:global.cfg_cmsurl/}/"><img src="{dede:global.cfg_cmsurl/}/static/web/img/logo.png" alt="{dede:global.cfg_webname/}"></a></div>
<div class="col-12 col-sm-6 d-flex justify-content-end">
<div class="input-group py-2">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<input name="q" type="text" class="form-control" placeholder="输入搜索关键词">
<div class="input-group-append">
<button type="submit" class="btn btn-sm"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
<header class="container py-3">
<div class="row">
<div class="col-12 col-sm-8 logo"><a href="{dede:global.cfg_cmsurl/}/"><img src="{dede:global.cfg_cmsurl/}/static/web/img/logo.png" alt="{dede:global.cfg_webname/}"></a></div>
<div class="col-12 col-sm-4 d-flex justify-content-end">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<input name="q" type="text" class="form-control" placeholder="输入搜索关键词">
<button type="submit" class="btn btn-sm"><i class="fa fa-search"></i></button>
</form>
</div>
</div>
</header>
<nav class="navbar navbar-expand-md navbar-dark bg-success zixue">
<div class="container">
<a class="navbar-brand" href="javascript:;"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbars" aria-controls="navbars" aria-expanded="false" aria-label="展开导航">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbars">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="{dede:global.cfg_cmsurl/}/">首页</a>
</li>
{dede:channel type='top' row='10' currentstyle="<li class='nav-item'><a class='nav-link active' href='~typelink~' ~rel~><span>~typename~</span></a></li>"}
<li class="nav-item">
<a class="nav-link" href="[field:typeurl/]">[field:typename/]</a>
</li>
{/dede:channel}
</ul>
<div class="row">
<a class="navbar-brand" href="javascript:;"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbars" aria-controls="navbars" aria-expanded="false" aria-label="展开导航">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbars">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="{dede:global.cfg_cmsurl/}/">首页</a>
</li>
{dede:channel type='top' row='10' currentstyle="<li class='nav-item'><a class='nav-link active' href='~typelink~' ~rel~><span>~typename~</span></a></li>"}
<li class="nav-item">
<a class="nav-link" href="[field:typeurl/]">[field:typename/]</a>
</li>
{/dede:channel}
</ul>
</div>
</div>
</div>
</nav>

+ 3
- 4
src/user/templets/footer.htm View File

@@ -19,10 +19,9 @@
let result = JSON.parse(data);
if (result.code === 200) {
$("#_login").html(`
欢迎,${result.data.username}
<a class="ml-2" href="<?php echo $cfg_cmsurl;?>/user/">[会员中心]</a>
<a class="ml-2" href="<?php echo $cfg_cmsurl;?>/user/index_do.php?fmdo=login&dopost=exit">[退出]</a>
`);
<span class="btn btn-sm">${result.data.username}</span>
<a href="{dede:global.cfg_cmsurl/}/user/" class="btn btn-primary btn-sm"><i class="fa fa-user-circle"></i></a>
<a href="{dede:global.cfg_cmsurl/}/user/index_do.php?fmdo=login&dopost=exit" class="btn btn-success btn-sm"><i class="fa fa-sign-out"></i></a>`);
$("#iptUsername").val(result.data.username);
$("#iptUsername").attr("disabled", "disabled");
$(".areaValidate").hide();


+ 7
- 11
src/user/templets/header.htm View File

@@ -1,17 +1,13 @@
<div class="container header">
<header class="py-3">
<div class="row">
<div class="col-12 col-sm-6 logo"><a href="<?php echo $cfg_cmsurl;?>/"><img src="<?php echo $cfg_cmsurl;?>/static/web/img/logo.png" alt="<?php echo $cfg_webname;?>"></a></div>
<div class="col-12 col-sm-6 d-flex justify-content-end">
<div class="input-group py-2">
<form class="search" name="formsearch" action="<?php echo $cfg_cmsurl;?>/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<input name="q" type="text" class="form-control" placeholder="输入搜索关键词">
<div class="input-group-append">
<button type="submit" class="btn btn-sm"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
<div class="col-12 col-sm-8 logo"><a href="<?php echo $cfg_cmsurl;?>/"><img src="<?php echo $cfg_cmsurl;?>/static/web/img/logo.png" alt="<?php echo $cfg_webname;?>"></a></div>
<div class="col-12 col-sm-4 d-flex justify-content-end">
<form class="search" name="formsearch" action="<?php echo $cfg_cmsurl;?>/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<input name="q" type="text" class="form-control" placeholder="输入搜索关键词">
<button type="submit" class="btn btn-sm"><i class="fa fa-search"></i></button>
</form>
</div>
</div>
</header>

+ 4
- 5
src/user/templets/menu.htm View File

@@ -9,7 +9,7 @@ while ($channel = $dsql->GetArray('addmod')) {
<ul class="list-group list-group-flush mt-3 mb-3">
<li class="list-group-item justify-content-between align-items-center<?php echo (isset($_menu_home) && $_menu_home===true)? ' active' : '';?>"><a href="<?php echo $cfg_memberurl;?>">会员中心</a></li>
<li class="list-group-item justify-content-between align-items-center">
<div data-toggle="collapse" data-target="#collapseArchives">我的内容 <span class="dropdown"></span>
<div data-toggle="collapse" data-target="#collapseArchives">我的内容<span class="dropdown ml-2"></span>
</div>
<div id="collapseArchives" class="collapse mt-3<?php echo (isset($_menu_conex) && $_menu_conex===true)? ' show' : '';?>">
<ul class="list-group list-group-flush">
@@ -25,7 +25,7 @@ while ($channel = $dsql->GetArray('addmod')) {
</div>
</li>
<li class="list-group-item justify-content-between align-items-center">
<div data-toggle="collapse" data-target="#collapseMessage">消息管理 <span class="badge badge-warning badge-pill"><?php echo $pms['nums'];?></span><span class="dropdown"></span>
<div data-toggle="collapse" data-target="#collapseMessage">消息管理<span class="dropdown ml-2"></span>
</div>
<div id="collapseMessage" class="mt-3 collapse<?php echo (isset($_menu_pmex) && $_menu_pmex===true)? ' show' : '';?>">
<ul class="list-group list-group-flush">
@@ -38,7 +38,7 @@ while ($channel = $dsql->GetArray('addmod')) {
<li class="list-group-item justify-content-between align-items-center<?php echo (isset($_menu_stow) && $_menu_stow===true)? ' active' : '';?>"><a href="<?php echo $cfg_memberurl;?>/mystow.php">我的收藏</a></li>
<li class="list-group-item justify-content-between align-items-center"><a href="<?php echo $cfg_memberurl;?>/buy.php">钱包积分</a></li>
<li class="list-group-item justify-content-between align-items-center">
<div data-toggle="collapse" data-target="#collapseOrder">订单详情<span class="dropdown"></span></div>
<div data-toggle="collapse" data-target="#collapseOrder">订单详情<span class="dropdown ml-2"></span></div>
<div id="collapseOrder" class="collapse mt-3<?php echo (isset($_menu_order) && $_menu_order===true)? ' show' : '';?>">
<ul class="list-group list-group-flush">
<li class="list-group-item justify-content-between align-items-center<?php if (isset($_menu_orderstate) && $_menu_orderstate === 0) echo ' active';?>"><a href="<?php echo $cfg_memberurl;?>/mypay.php">购买内容</a></li>
@@ -48,8 +48,7 @@ while ($channel = $dsql->GetArray('addmod')) {
</div>
</li>
<li class="list-group-item justify-content-between align-items-center">
<div data-toggle="collapse" data-target="#collapseMe">个人中心<span class="dropdown"></span>
</div>
<div data-toggle="collapse" data-target="#collapseMe">个人中心<span class="dropdown ml-2"></span></div>
<div id="collapseMe" class="collapse mt-3<?php echo (isset($_menu_edtex) && $_menu_edtex===true)? ' show' : '';?>">
<ul class="list-group list-group-flush">
<li class="list-group-item justify-content-between align-items-center<?php if (isset($_menu_edtitem) && $_menu_edtitem === 'base') echo ' active';?>"><a href="edit_baseinfo.php">账号安全</a></li>


+ 3
- 3
src/user/templets/top.htm View File

@@ -1,9 +1,9 @@
<nav class="site-nav bg-light py-3">
<nav class="site-nav bg-light py-2">
<div class="container">
<div class="row">
<div class="col-12 d-flex justify-content-end user" id="_login">
<a href="<?php echo $cfg_memberurl;?>login.php">登录</a>
<a class="ml-2" href="<?php echo $cfg_memberurl;?>/index_do.php?fmdo=user&dopost=regnew">注册</a>
<a href="<?php echo $cfg_memberurl;?>login.php" class="btn btn-primary btn-sm">登录</a>
<a href="<?php echo $cfg_memberurl;?>/index_do.php?fmdo=user&dopost=regnew" class="btn btn-success btn-sm ml-2">注册</a>
</div>
</div>
</div>

+ 4
- 5
src/user/templets/top_login.htm View File

@@ -4,11 +4,10 @@
<div class="col-12 col-sm-6 logo"><a href="<?php echo $cfg_cmsurl;?>/"><img src="<?php echo $cfg_cmsurl;?>/static/web/img/logo.png" alt="<?php echo $cfg_webname;?>"></a>
</div>
<div class="col-12 col-sm-6 d-flex justify-content-end member-actions">
<a href="<?php echo $cfg_memberurl;?>shops_orders.php" class="cart" title="订单管理"><i class="fa fa-shopping-cart"></i></a>
<a href="<?php echo $cfg_memberurl;?>pm.php" title="消息管理" class="message">消息 <span class="badge badge-danger"><?php echo $pms['nums'];?></span>
</a>
<a><?php echo $cfg_ml->M_LoginID;?></a>
<a href="<?php echo $cfg_cmsurl;?>/user/index_do.php?fmdo=login&dopost=exit#" title="退出"><i class="fa fa-sign-out"></i></a>
<a href="edit_baseinfo.php"><span class="btn btn-sm"><?php echo $cfg_ml->M_LoginID;?></span></a>
<a href="<?php echo $cfg_memberurl;?>/shops_orders.php" title="订单"><span class="btn btn-info btn-sm"><i class="fa fa-shopping-cart"></i></span></a>
<a href="<?php echo $cfg_memberurl;?>/pm.php" title="消息"><span class="btn btn-primary btn-sm"><i class="fa fa-bullhorn mr-2"></i><?php echo $pms['nums'];?></span></a>
<a href="<?php echo $cfg_cmsurl;?>/user/index_do.php?fmdo=login&dopost=exit#" title="退出"><span class="btn btn-success btn-sm"><i class="fa fa-sign-out"></i></span></a>
</div>
</div>
</header>

Loading…
Cancel
Save