Browse Source

同步模板头部,优化布局

tags/6.2.0
xushubieli 1 year ago
parent
commit
507799f9e0
100 changed files with 462 additions and 520 deletions
  1. +2
    -2
      src/admin/templets/album_add.htm
  2. +2
    -2
      src/admin/templets/album_edit.htm
  3. +2
    -2
      src/admin/templets/archives_add.htm
  4. +1
    -1
      src/admin/templets/archives_sg_add.htm
  5. +1
    -1
      src/admin/templets/archives_sg_edit.htm
  6. +2
    -2
      src/admin/templets/article_add.htm
  7. +2
    -2
      src/admin/templets/article_edit.htm
  8. +4
    -4
      src/admin/templets/catalog_add.htm
  9. +2
    -2
      src/admin/templets/catalog_add_quick.htm
  10. +4
    -4
      src/admin/templets/catalog_edit.htm
  11. +1
    -1
      src/admin/templets/content_i_list.htm
  12. +1
    -1
      src/admin/templets/member_pmone.htm
  13. +2
    -2
      src/admin/templets/soft_edit.htm
  14. +1
    -1
      src/admin/templets/spec_add.htm
  15. +1
    -1
      src/admin/templets/spec_edit.htm
  16. +2
    -2
      src/admin/templets/sys_data_replace.htm
  17. +1
    -1
      src/static/web/css/style.css
  18. +1
    -6
      src/static/web/css/user.css
  19. +1
    -1
      src/static/web/img/color.htm
  20. +1
    -1
      src/static/web/img/colornew.htm
  21. +7
    -7
      src/theme/plus/car.htm
  22. +5
    -5
      src/theme/plus/carbuyaction.htm
  23. +2
    -2
      src/theme/plus/download_links_templet.htm
  24. +7
    -7
      src/theme/plus/flink-add.htm
  25. +3
    -3
      src/theme/plus/flink-list.htm
  26. +4
    -4
      src/theme/plus/heightsearch.htm
  27. +3
    -3
      src/theme/plus/list_diyform.htm
  28. +4
    -4
      src/theme/plus/post_diyform.htm
  29. +3
    -3
      src/theme/plus/recommend.htm
  30. +2
    -2
      src/theme/plus/shops_action_payment.htm
  31. +2
    -2
      src/theme/plus/view_diyform.htm
  32. +2
    -2
      src/theme/plus/view_msg.htm
  33. +2
    -2
      src/theme/plus/view_msg_catalog.htm
  34. +2
    -2
      src/theme/plus/vote.htm
  35. +2
    -2
      src/theme/templet-filelist.inc
  36. +3
    -2
      src/theme/templets/article_article.htm
  37. +3
    -2
      src/theme/templets/article_default.htm
  38. +3
    -2
      src/theme/templets/article_default_sg.htm
  39. +7
    -6
      src/theme/templets/article_image.htm
  40. +3
    -2
      src/theme/templets/article_infos.htm
  41. +3
    -2
      src/theme/templets/article_shop.htm
  42. +3
    -2
      src/theme/templets/article_soft.htm
  43. +3
    -2
      src/theme/templets/article_spec.htm
  44. +1
    -4
      src/theme/templets/foot.htm
  45. +1
    -13
      src/theme/templets/head.htm
  46. +3
    -2
      src/theme/templets/index.htm
  47. +3
    -2
      src/theme/templets/index_article.htm
  48. +3
    -2
      src/theme/templets/index_default.htm
  49. +3
    -2
      src/theme/templets/index_default_sg.htm
  50. +3
    -2
      src/theme/templets/index_image.htm
  51. +3
    -2
      src/theme/templets/index_infos.htm
  52. +3
    -2
      src/theme/templets/index_shop.htm
  53. +3
    -2
      src/theme/templets/index_soft.htm
  54. +3
    -2
      src/theme/templets/list_article.htm
  55. +3
    -2
      src/theme/templets/list_default.htm
  56. +3
    -2
      src/theme/templets/list_default_sg.htm
  57. +3
    -2
      src/theme/templets/list_free.htm
  58. +3
    -2
      src/theme/templets/list_image.htm
  59. +5
    -4
      src/theme/templets/list_infos.htm
  60. +3
    -2
      src/theme/templets/list_shop.htm
  61. +3
    -2
      src/theme/templets/list_soft.htm
  62. +3
    -2
      src/theme/templets/list_spec.htm
  63. +3
    -2
      src/theme/templets/search.htm
  64. +3
    -2
      src/theme/templets/singlepage.htm
  65. +3
    -2
      src/theme/templets/tag.htm
  66. +3
    -2
      src/theme/templets/taglist.htm
  67. +2
    -2
      src/theme/templets/top.htm
  68. +3
    -3
      src/theme/templets/widget_article_feedback.htm
  69. +3
    -3
      src/user/ajax_feedback.php
  70. +1
    -1
      src/user/album_add.php
  71. +1
    -1
      src/user/album_edit.php
  72. +1
    -1
      src/user/archives_add.php
  73. +1
    -1
      src/user/archives_edit.php
  74. +1
    -1
      src/user/archives_sg_add.php
  75. +1
    -1
      src/user/archives_sg_edit.php
  76. +1
    -1
      src/user/article_add.php
  77. +1
    -1
      src/user/article_edit.php
  78. +1
    -1
      src/user/soft_add.php
  79. +1
    -1
      src/user/soft_edit.php
  80. +40
    -45
      src/user/templets/album_add.htm
  81. +64
    -68
      src/user/templets/album_edit.htm
  82. +19
    -21
      src/user/templets/archives_add.htm
  83. +8
    -10
      src/user/templets/archives_edit.htm
  84. +19
    -21
      src/user/templets/archives_sg_add.htm
  85. +7
    -9
      src/user/templets/archives_sg_edit.htm
  86. +23
    -23
      src/user/templets/article_add.htm
  87. +12
    -12
      src/user/templets/article_edit.htm
  88. +10
    -10
      src/user/templets/buy.htm
  89. +6
    -6
      src/user/templets/buy_action_payment.htm
  90. +7
    -7
      src/user/templets/content_list.htm
  91. +6
    -6
      src/user/templets/content_sg_list.htm
  92. +5
    -5
      src/user/templets/edit_baseinfo.htm
  93. +3
    -3
      src/user/templets/edit_email.htm
  94. +3
    -3
      src/user/templets/edit_face.htm
  95. +0
    -37
      src/user/templets/footer.htm
  96. +11
    -17
      src/user/templets/index-notlogin.htm
  97. +5
    -6
      src/user/templets/index.htm
  98. +2
    -2
      src/user/templets/info.htm
  99. +10
    -16
      src/user/templets/login.htm
  100. +5
    -5
      src/user/templets/mypay.htm

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

@@ -177,7 +177,7 @@
echo "</select>";
?>
</span>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid')" title="快捷选择" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid')" title="快捷选择"></i>
<?php
if ($cfg_need_typeid2=='Y')
{
@@ -199,7 +199,7 @@
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="" style="width:160px">
<i class="btn btn-sm fa fa-search" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2')" title='选择副栏目'></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2')" title="选择副栏目"></i>
</td>
</tr>
</table>


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

@@ -174,7 +174,7 @@
echo $typeOptions;
echo '</select>';
?>
<i class="btn btn-sm fa fa-search" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid','<?php echo $arcRow['typeid'];?>')" title="快捷选择"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid','<?php echo $arcRow['typeid'];?>')" title="快捷选择"></i>
</td>
<td width="90">消费金币:</td>
<td><input type="text" name="money" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td>
@@ -193,7 +193,7 @@
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']);?>" style="width:160px">
<i class="btn btn-sm fa fa-search" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2','<?php echo $arcRow['typeid2'];?>')" title="选择副栏目"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2','<?php echo $arcRow['typeid2'];?>')" title="选择副栏目"></i>
</td>
</tr>
</table>


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

@@ -162,7 +162,7 @@
echo "</select>";
?>
</span>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid')" title="快捷选择" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid')" title="快捷选择"></i>
<?php
if ($cfg_need_typeid2=='Y')
{
@@ -184,7 +184,7 @@
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="" style="width:160px">
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2')" title="选择副栏目" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2')" title="选择副栏目"></i>
</td>
</tr>
</table>


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

@@ -115,7 +115,7 @@
echo $typeOptions;
echo "</select>";
?></span>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid')" title="快捷选择" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid')" title="快捷选择"></i>
</td>
</tr>
</table>


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

@@ -115,7 +115,7 @@
echo $typeOptions;
echo "</select>";
?>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid','<?php echo $addRow['typeid'];?>')" title="快捷选择" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid','<?php echo $addRow['typeid'];?>')" title="快捷选择"></i>
</td>
</tr>
</table>


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

@@ -177,7 +177,7 @@
echo "</select>";
?>
</span>
<i class='btn btn-sm fa fa-search' style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid')" title="快捷选择"></i>
<i class='btn btn-sm fa fa-search' onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid')" title="快捷选择"></i>
<?php
if ($cfg_need_typeid2=='Y')
{
@@ -199,7 +199,7 @@
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="" style="width:260px">
<i class="btn btn-sm fa fa-search" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2')" title="选择副栏目"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2')" title="选择副栏目"></i>
</td>
</tr>
</table>


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

@@ -161,7 +161,7 @@
echo $typeOptions;
echo "</select>";
?>
<i class='btn btn-sm fa fa-search' onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid','<?php echo $arcRow['typeid'];?>')" title="快捷选择" style="cursor:pointer"></i>
<i class='btn btn-sm fa fa-search' onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid','<?php echo $arcRow['typeid'];?>')" title="快捷选择"></i>
</td>
<td width="90">消费金币:</td>
<td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td>
@@ -178,7 +178,7 @@
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="<?php echo ($arcRow['typeid2']=='0'?'':$arcRow['typeid2']);?>" style="width:160px">
<i class='btn btn-sm fa fa-search' style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2','<?php echo $arcRow['typeid2'];?>')" title="选择副栏目"></i>
<i class='btn btn-sm fa fa-search' onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2','<?php echo $arcRow['typeid2'];?>')" title="选择副栏目"></i>
</td>
</tr>
</table>


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

@@ -308,7 +308,7 @@
</td>
</tr>
<tr>
<td>栏目交叉:<i onClick="ShowHide('helpvarco')" class="fa fa-question-circle" title="帮助" style="cursor:pointer"></i> 仅适用列表栏目</td>
<td>栏目交叉:<i onClick="ShowHide('helpvarco')" class="fa fa-question-circle" title="帮助"></i> 仅适用列表栏目</td>
<td>
<label><input type="radio" name="cross" id="cross0" value="0" onClick="CheckCross()" checked="1"> 不交叉</label>
<label><input type="radio" name="cross" id="cross1" value="1" onClick="CheckCross()"> 自动获取同名栏目内容</label>
@@ -366,7 +366,7 @@
<td>
<input type="text" name="tempindex" value="{style}/index_<?php echo $nid?>.htm" style="width:260px">
<button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览</button>
<i onClick="ShowHide('helpvar1')" class="fa fa-question-circle" title="帮助" style="cursor:pointer"></i>
<i onClick="ShowHide('helpvar1')" class="fa fa-question-circle" title="帮助"></i>
</td>
</tr>
<tr id="helpvar1" style="display:none">
@@ -402,7 +402,7 @@
<td>文档命名规则:</td>
<td>
<input type="text" name="namerule" tid="namerule" value="<?php echo $cfg_df_namerule;?>" style="width:260px">
<i onClick="ShowHide('helpvar2')" class="fa fa-question-circle" title="帮助" style="cursor:pointer"></i>
<i onClick="ShowHide('helpvar2')" class="fa fa-question-circle" title="帮助"></i>
</td>
</tr>
<tr id="helpvar2" style="display:none">
@@ -424,7 +424,7 @@
<td>列表命名规则:</td>
<td>
<input type="text" name="namerule2" id="namerule2" value="{typedir}/{tid}-{page}.html" style="width:260px">
<i onClick="ShowHide('helpvar3')" class="fa fa-question-circle" title="帮助" style="cursor:pointer"></i>
<i onClick="ShowHide('helpvar3')" class="fa fa-question-circle" title="帮助"></i>
</td>
</tr>
<tr id="helpvar3" style="display:none">


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

@@ -172,7 +172,7 @@
<td class="biz-td">文档命名规则:</td>
<td class="biz-td">
<input type="text" name="namerule" id="namerule" value="{typedir}/{aid}.html" class="pubinputs" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar2')" style="cursor:pointer"></i>
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar2')"></i>
</td>
</tr>
<tr id="helpvar3" style="display:none">
@@ -183,7 +183,7 @@
<td>列表命名规则:</td>
<td>
<input type="text" name="namerule2" id="namerule2" value="{typedir}/{tid}-{page}.html" class="pubinputs" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar3')" style="cursor:pointer"></i>
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar3')"></i>
</td>
</tr>
<tr>


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

@@ -253,7 +253,7 @@
</td>
</tr>
<tr>
<td>栏目交叉:<i onClick="ShowHide('helpvarco')" class="fa fa-question-circle" title="帮助" style="cursor:pointer"></i> 仅适用列表栏目</td>
<td>栏目交叉:<i onClick="ShowHide('helpvarco')" class="fa fa-question-circle" title="帮助"></i> 仅适用列表栏目</td>
<td class="biz-td">
<label><input type="radio" name="cross" onClick="CheckCross()" value="0" <?php if ($myrow['cross']==0) echo "checked='1'";?>> 不交叉</label>
<label><input type="radio" name="cross" onClick="CheckCross()" value="1" <?php if ($myrow['cross']==1) echo "checked='1'";?>> 自动获取同名栏目内容</label>
@@ -315,7 +315,7 @@
<td>
<input type="text" name="tempindex" value="<?php echo $myrow['tempindex']?>" style="width:260px">
<button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览</button>
<i onClick="ShowHide('helpvar1')" class="fa fa-question-circle" title="帮助" style="cursor:pointer"></i>
<i onClick="ShowHide('helpvar1')" class="fa fa-question-circle" title="帮助"></i>
</td>
</tr>
<tr id="helpvar1" style="display:none">
@@ -351,7 +351,7 @@
<td>文档命名规则:</td>
<td>
<input type="text" name="namerule" id="namerule" value="<?php echo $myrow['namerule']?>" style="width:260px">
<i onClick="ShowHide('helpvar2')" class="fa fa-question-circle" title="帮助" style="cursor:pointer"></i>
<i onClick="ShowHide('helpvar2')" class="fa fa-question-circle" title="帮助"></i>
</td>
</tr>
<tr id="helpvar2" style="display:none">
@@ -373,7 +373,7 @@
<td>列表命名规则:</td>
<td>
<input type="text" name="namerule2" id="namerule2" value="<?php echo $myrow['namerule2']?>" style="width:260px">
<i onClick="ShowHide('helpvar3')" class="fa fa-question-circle" title="帮助" style="cursor:pointer"></i>
<i onClick="ShowHide('helpvar3')" class="fa fa-question-circle" title="帮助"></i>
</td>
</tr>
<tr id="helpvar3" style="display:none">


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

@@ -79,7 +79,7 @@
<td width="32%" align="left" class="pl-3">
<p>
<input type="checkbox" name="arcID" id="arcID" value="{dede:field.id/}">
<i class="btn btn-sm fa fa-cogs" onClick="QuickEdit({dede:field.id/},event,this);" title="编辑属性" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-cogs" onClick="QuickEdit({dede:field.id/},event,this);" title="编辑属性"></i>
<a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/} {dede:field.flag function='IsCommendArchives(@me)'/}</a>
</p>
<span>时间:{dede:field.senddate function='GetDateTimeMk(@me)'/}</span>


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

@@ -39,7 +39,7 @@
<table width="100%" cellpadding="1" cellspacing="1">
<tr>
<td width="260">发送到:</td>
<td><input type="text" name="msgtoid" class="text" value="<?php echo empty($touid)? '' : $touid?>" style="width:260px"> 填写用户登录的id(网址uid=后面跟着的id)</td>
<td><input type="text" name="msgtoid" value="<?php echo empty($touid)? '' : $touid?>" style="width:260px"> 填写用户登录的id(网址uid=后面跟着的id)</td>
</tr>
<tr>
<td>标题:</td>


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

@@ -165,7 +165,7 @@
echo $typeOptions;
echo "</select>";
?>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid','<?php echo $arcRow['typeid'];?>')" title="快捷选择" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid','<?php echo $arcRow['typeid'];?>')" title="快捷选择"></i>
</td>
<td width="90">消费金币:</td>
<td><input type="text" name="needmoney" id="needmoney" value="<?php echo $needmoney;?>" style="width:160px"></td>
@@ -182,7 +182,7 @@
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']);?>" style="width:160px">
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2','<?php echo $arcRow['typeid2'];?>')" title="选择副栏目" style="cursor:pointer"></i></td>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid;?>,'typeid2','<?php echo $arcRow['typeid2'];?>')" title="选择副栏目"></i></td>
</tr>
</table>
</td>


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

@@ -184,7 +184,7 @@
echo $typeOptions;
echo "</select>";
?>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,0,'typeid')" title="快捷选择" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,0,'typeid')" title="快捷选择"></i>
</td>
</tr>
</table>


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

@@ -188,7 +188,7 @@
echo $typeOptions;
echo "</select>";
?>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,0,'typeid')" title="快捷选择" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,0,'typeid')" title="快捷选择"></i>
</td>
</tr>
</table>


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

@@ -109,8 +109,8 @@
<tr>
<td>安全确认码:</td>
<td>
<input type="text" name="validate" style="width:80px;text-transform:uppercase">
<img src="../apps/vdimgck.php" style="vertical-align:middle;cursor:pointer" onClick="this.src='../apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码">
<input type="text" name="validate" class="w-25 text-uppercase">
<img src="../apps/vdimgck.php" onClick="this.src='../apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码">
</td>
</tr>
</table>


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

@@ -361,7 +361,7 @@ ul.items > li .source {
font-size:14px
}
.nav-link {
padding:0;
padding:0 10px;
height:36px;
line-height:36px
}


+ 1
- 6
src/static/web/css/user.css View File

@@ -11,13 +11,8 @@ main.login-from {
width:430px;
background:#fff
}
.login-area .btnLogin {
margin-left:0!important;
padding:.5rem;
width:100%
}
.login-area small.des {
color:#B5B5B5
color:#b5b5b5
}
.login-area .licence a {
color:#28a745


+ 1
- 1
src/static/web/img/color.htm View File

@@ -11,7 +11,7 @@
window.close();
}
</script>
<table width="100" border="0" cellspacing="1" cellpadding="1" style="cursor:pointer">
<table width="100" border="0" cellspacing="1" cellpadding="1">
<tr>
<td bgcolor="#FF0000" onClick="ColorSel('#FF0000');" width="20%">&nbsp;</td>
<td bgcolor="#0000FF" onClick="ColorSel('#0000FF');" width="20%">&nbsp;</td>


+ 1
- 1
src/static/web/img/colornew.htm View File

@@ -1,4 +1,4 @@
<table width="100" border="0" cellspacing="1" cellpadding="1" style="cursor:pointer">
<table width="100" border="0" cellspacing="1" cellpadding="1">
<tr>
<td bgcolor="#FF0000" onClick="ColorSel('#FF0000', 'color');" width="20%">&nbsp;</td>
<td bgcolor="#0000FF" onClick="ColorSel('#0000FF', 'color');" width="20%">&nbsp;</td>


+ 7
- 7
src/theme/plus/car.htm View File

@@ -10,7 +10,7 @@
<script src="{dede:global.cfg_cmsurl/}/static/web/js/jquery.min.js"></script>
</head>
<body>
<?php pasterTempletDiy('header.htm');?>
<?php pasterTempletDiy('top.htm');?>
<div class="container py-3">
<div class="sp-title">
<h2>购物车</h2>
@@ -56,11 +56,11 @@
<div style="float:left">共 <span class="text-danger">{dede:var.carts.cart_count/}</span> 件商品,合计: <span class='text-danger'>{dede:var.carts.price_count/}</span> 元</div>
<div style="float:right">
<!--<input type="button" value="打印购物车" class="btn-2" onclick="printPage(1)"/>-->
<input type="button" value="更新订单号" class="btn btn-success btn-sm" onClick="makeCarId()">
<input type="button" value="删除已选定" class="btn btn-success btn-sm" onClick="DelPost()">
<input type="button" value="清空" onClick="if (confirm('确定清空购物车中的商品吗')){ location='posttocar.php?do=clear' }" class="btn btn-success btn-sm">
<input onclick="ChangePost()" type="button" value="更新数量" class="btn btn-success btn-sm">
<input type="button" value="下一步" onclick="location='carbuyaction.php'" class="btn btn-success btn-sm">
<input type="button" value="更新订单号" class="btn btn-success" onClick="makeCarId()">
<input type="button" value="删除已选定" class="btn btn-success" onClick="DelPost()">
<input type="button" value="清空" onClick="if (confirm('确定清空购物车中的商品吗')){ location='posttocar.php?do=clear' }" class="btn btn-success">
<input onclick="ChangePost()" type="button" value="更新数量" class="btn btn-success">
<input type="button" value="下一步" onclick="location='carbuyaction.php'" class="btn btn-success">
</div>
</td>
</tr>
@@ -69,7 +69,7 @@
</form>
</div>
</div>
<?php pasterTempletDiy('footer.htm');?>
<?php pasterTempletDiy('foot.htm');?>
<!--购物车列表操作javascript请不要随意改动-->
<script>
//遍历checkbox使之全选中,或反选


+ 5
- 5
src/theme/plus/carbuyaction.htm View File

@@ -10,7 +10,7 @@
<script src="{dede:global.cfg_cmsurl/}/static/web/js/jquery.min.js"></script>
</head>
<body>
<?php pasterTempletDiy('header.htm');?>
<?php pasterTempletDiy('top.htm');?>
<div class="container py-3">
<div class="sp-title">
<h3>商品购买</h3>
@@ -160,21 +160,21 @@
<tr>
<td width="180" class="td1">验证码</td>
<td>
<input name="validate" type="text" id="vdcode2" size="10">
<img src="../apps/vdimgck.php" style="cursor:pointer" onclick="this.src=this.src+'?'" title="验证码" alt="验证码">
<input name="validate" type="text" id="vdcode2" size="10" class="text-uppercase">
<img src="../apps/vdimgck.php" onclick="this.src=this.src+'?'" title="验证码">
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="2"><button type="submit" class="btn btn-success btn-sm">确认下单</button></td>
<td colspan="2"><button type="submit" class="btn btn-success">确认下单</button></td>
</tr>
</tfoot>
</table>
</form>
</div>
</div>
<?php pasterTempletDiy('footer.htm');?>
<?php pasterTempletDiy('foot.htm');?>
<script>
function vdimgck() {
document.getElementById("vdimgck_img").src = '../apps/vdimgck.php?' + Math.random();


+ 2
- 2
src/theme/plus/download_links_templet.htm View File

@@ -15,7 +15,7 @@
</style>
</head>
<body>
<?php pasterTempletDiy('header.htm');?>
<?php pasterTempletDiy('top.htm');?>
<div class="container py-3">
<div class="sp-title">
<h2>文件:<a href="<?php echo $arcurl;?>"><?php echo $title;?></a></h2>
@@ -32,6 +32,6 @@
</div>
</div>
<div class="advancedsearch"></div>
<?php pasterTempletDiy('footer.htm');?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 7
- 7
src/theme/plus/flink-add.htm View File

@@ -10,7 +10,7 @@
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
</head>
<body>
<?php pasterTempletDiy('header.htm');?>
<?php pasterTempletDiy('top.htm');?>
<div class="container py-3">
<div class="sp-title">
<nav class="navbar navbar-expand-lg">
@@ -20,7 +20,7 @@
</li>
</ul>
<span class="navbar-text">
<a href="<?php echo '$cfg_phpurl/flink.php';?>" class="btn btn-success btn-sm">查看链接</a>
<a href="<?php echo '$cfg_phpurl/flink.php';?>" class="btn btn-success">查看链接</a>
</span>
</nav>
</div>
@@ -66,20 +66,20 @@
<tr>
<td>验证码:</td>
<td>
<input name="validate" type="text" id="vdcode2" size="10">
<img src="../apps/vdimgck.php" onclick="this.src=this.src+'?'" title="验证码" alt="验证码" style="cursor:pointer">
<input name="validate" type="text" id="vdcode2" size="10" class="text-uppercase">
<img src="../apps/vdimgck.php" onclick="this.src=this.src+'?'" title="验证码">
</td>
</tr>
<tr>
<td colspan="2" align="center">
<button type="submit" name="Submit" class="btn btn-success btn-sm">提交</button>
<button type="reset" name="Submit" class="btn btn-success btn-sm">重置</button>
<button type="submit" name="Submit" class="btn btn-success">提交</button>
<button type="reset" name="Submit" class="btn btn-success">重置</button>
</td>
</tr>
</table>
</form>
</div>
</div>
<?php pasterTempletDiy('footer.htm');?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 3
- 3
src/theme/plus/flink-list.htm View File

@@ -10,7 +10,7 @@
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
</head>
<body>
<?php pasterTempletDiy('header.htm');?>
<?php pasterTempletDiy('top.htm');?>
<div class="container py-3">
<div class="sp-title">
<nav class="navbar navbar-expand-lg">
@@ -20,7 +20,7 @@
</li>
</ul>
<span class="navbar-text">
<a href="flink.php?dopost=add" class="btn btn-success btn-sm">申请链接</a>
<a href="flink.php?dopost=add" class="btn btn-success">申请链接</a>
</span>
</nav>
</div>
@@ -49,6 +49,6 @@
</ul>
</div>
</div>
<?php pasterTempletDiy('footer.htm');?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 4
- 4
src/theme/plus/heightsearch.htm View File

@@ -9,7 +9,7 @@
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css">
</head>
<body>
<?php pasterTempletDiy('header.htm');?>
<?php pasterTempletDiy('top.htm');?>
<div class="container py-3">
<div class="formbox">
<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#cccccc" class='table'>
@@ -92,8 +92,8 @@
</tr>
<tr>
<td height="30" bgcolor="#F4FCE4" colspan="2" align="center">
<button type="submit" class="btn btn-success btn-sm">搜索</button>
<button type="reset" class="btn btn-outline-success btn-sm">重置</button>
<button type="submit" class="btn btn-success">搜索</button>
<button type="reset" class="btn btn-outline-success">重置</button>
</td>
</tr>
</form>
@@ -101,6 +101,6 @@
<br>
</div>
</div>
<?php pasterTempletDiy('footer.htm');?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 3
- 3
src/theme/plus/list_diyform.htm View File

@@ -10,7 +10,7 @@
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
</head>
<body>
<?php pasterTempletDiy('header.htm');?>
<?php pasterTempletDiy('top.htm');?>
<div class="container py-3">
<div class="ctitle">
<nav class="navbar navbar-expand-lg">
@@ -19,7 +19,7 @@
<h3><?php echo $diy->name;?>内容列表</h3>
</li>
</ul>
<span class="navbar-text"><a href="diy.php?action=post&diyid=<?php echo $diy->diyid;?>" class="btn btn-success btn-sm">发布信息</a></span>
<span class="navbar-text"><a href="diy.php?action=post&diyid=<?php echo $diy->diyid;?>" class="btn btn-success">发布信息</a></span>
</nav>
</div>
<div class="cbox mceneter">
@@ -67,6 +67,6 @@
</div>
</div>
</div>
<?php pasterTempletDiy('footer.htm');?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 4
- 4
src/theme/plus/post_diyform.htm View File

@@ -10,7 +10,7 @@
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
</head>
<body>
<?php pasterTempletDiy('header.htm');?>
<?php pasterTempletDiy('top.htm');?>
<div class="container py-3">
<div class="ctitle">
<h3><?php echo $diy->name;?>发布</h3>
@@ -24,13 +24,13 @@
<table cellpadding="0" cellspacing="1" class="table">
<?php echo $postform;?>
<div align="center">
<button type="submit" name="submit" class="btn btn-success btn-sm">提交</button>
<button type="reset" name="reset" class="btn btn-success btn-sm">重置</button>
<button type="submit" name="submit" class="btn btn-success">提交</button>
<button type="reset" name="reset" class="btn btn-success">重置</button>
</div>
</form>
</div>
</div>
</div>
<?php pasterTempletDiy('footer.htm');?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 3
- 3
src/theme/plus/recommend.htm View File

@@ -9,7 +9,7 @@
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css">
</head>
<body>
<?php pasterTempletDiy('header.htm');?>
<?php pasterTempletDiy('top.htm');?>
<div class="container py-3">
<div class="sp-title mt-3">推荐:<?php echo $title;?></div>
<div class="formbox">
@@ -31,12 +31,12 @@
</td>
</tr>
<tr>
<td colspan="2" align="center"><button type="submit" class="btn btn-success btn-sm">发送</button></td>
<td colspan="2" align="center"><button type="submit" class="btn btn-success">发送</button></td>
</tr>
</table>
</form>
</div>
</div>
<?php pasterTempletDiy('footer.htm');?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 2
- 2
src/theme/plus/shops_action_payment.htm View File

@@ -10,7 +10,7 @@
<script src="{dede:global.cfg_cmsurl/}/static/web/js/jquery.min.js"></script>
</head>
<body>
<?php pasterTempletDiy('header.htm');?>
<?php pasterTempletDiy('top.htm');?>
<div class="container py-3">
<div class="sp-title">
<h3>商品购买</h3>
@@ -64,6 +64,6 @@
</table>
</div>
</div>
<?php pasterTempletDiy('footer.htm');?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 2
- 2
src/theme/plus/view_diyform.htm View File

@@ -10,7 +10,7 @@
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
</head>
<body>
<?php pasterTempletDiy('header.htm');?>
<?php pasterTempletDiy('top.htm');?>
<div class="container py-3">
<div class="ctitle">
<h3><?php echo $diy->name;?>详细内容</h3>
@@ -46,6 +46,6 @@
</div>
</div>
</div>
<?php pasterTempletDiy('footer.htm');?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 2
- 2
src/theme/plus/view_msg.htm View File

@@ -10,7 +10,7 @@
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
</head>
<body>
<?php pasterTempletDiy('header.htm');?>
<?php pasterTempletDiy('top.htm');?>
<div class="container py-3">
<div class="formbox">
<table width="100%" cellpadding="3" cellspacing="1" bgcolor="#DDEAC8" class="table">
@@ -36,6 +36,6 @@
<br>
</div>
</div>
<?php pasterTempletDiy('footer.htm');?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 2
- 2
src/theme/plus/view_msg_catalog.htm View File

@@ -10,7 +10,7 @@
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
</head>
<body>
<?php pasterTempletDiy('header.htm');?>
<?php pasterTempletDiy('top.htm');?>
<div class="container py-3">
<div class="formbox">
<table width="100%" cellpadding="3" cellspacing="1" bgcolor="#DDEAC8" class="table">
@@ -31,6 +31,6 @@
</table>
</div>
</div>
<?php pasterTempletDiy('footer.htm');?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 2
- 2
src/theme/plus/vote.htm View File

@@ -10,7 +10,7 @@
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
</head>
<body>
<?php pasterTempletDiy('header.htm');?>
<?php pasterTempletDiy('top.htm');?>
<div class="container py-3">
<div class="sp-title">
<h3><?php echo $voname?></h3>
@@ -25,6 +25,6 @@
<div class="formbox"><?php echo $rsmsg;?></div>
<div class="formbox"><?php echo $votelist;?></div>
</div>
<?php pasterTempletDiy('footer.htm');?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 2
- 2
src/theme/templet-filelist.inc View File

@@ -1,5 +1,5 @@
header.htm,列表页头部模板
footer.htm,列表页底部模板
head.htm,列表页头部模板
foot.htm,列表页底部模板
index.htm,主页模板
ajaxfeedback.htm,评论模板
article_article.htm,文档内容页模板


+ 3
- 2
src/theme/templets/article_article.htm View File

@@ -17,7 +17,8 @@
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -74,7 +75,7 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
<script>
//页面加载触发
$(document).ready(function() {


+ 3
- 2
src/theme/templets/article_default.htm View File

@@ -15,7 +15,8 @@
<link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/web/img/favicon.ico">
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -87,7 +88,7 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
<script>
//页面加载触发
$(document).ready(function() {


+ 3
- 2
src/theme/templets/article_default_sg.htm View File

@@ -18,7 +18,8 @@
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -90,7 +91,7 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
<script>
//页面加载触发
$(document).ready(function() {


+ 7
- 6
src/theme/templets/article_image.htm View File

@@ -67,7 +67,8 @@
</script>
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -100,10 +101,10 @@
else if (@me==2) {
@me = "
<div class='text-center mb-3'>
<a href='javascript:dPlayBig();' class='btn btn-success btn-sm'>原始图片</a>
<a href='javascript:dPlayPre();' class='btn btn-success btn-sm'>上一张</a>
<a href='javascript:dPlayNext();' class='btn btn-success btn-sm'>下一张</a>
<a href='javascript:dStopPlay();' class='btn btn-success btn-sm'>自动 / 暂停播放</a>
<a href='javascript:dPlayBig();' class='btn btn-success'>原始图片</a>
<a href='javascript:dPlayPre();' class='btn btn-success'>上一张</a>
<a href='javascript:dPlayNext();' class='btn btn-success'>下一张</a>
<a href='javascript:dStopPlay();' class='btn btn-success'>自动 / 暂停播放</a>
</div>
";
} else {
@@ -161,7 +162,7 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
<script>
//页面加载触发
$(document).ready(function() {


+ 3
- 2
src/theme/templets/article_infos.htm View File

@@ -14,7 +14,8 @@
<link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/web/img/favicon.ico">
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -80,7 +81,7 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
<script>
//页面加载触发
$(document).ready(function() {


+ 3
- 2
src/theme/templets/article_shop.htm View File

@@ -14,7 +14,8 @@
<link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/web/img/favicon.ico">
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -84,7 +85,7 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
<script>
//页面加载触发
$(document).ready(function() {


+ 3
- 2
src/theme/templets/article_soft.htm View File

@@ -14,7 +14,8 @@
<link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/web/img/favicon.ico">
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -88,7 +89,7 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
<script>
//页面加载触发
$(document).ready(function() {


+ 3
- 2
src/theme/templets/article_spec.htm View File

@@ -15,7 +15,8 @@
<link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/web/img/favicon.ico">
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -53,6 +54,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

src/theme/templets/footer.htm → src/theme/templets/foot.htm View File

@@ -16,10 +16,7 @@
$.get("{dede:global.cfg_cmsurl/}/user/ajax_loginsta.php?format=json",function(data) {
let result = JSON.parse(data);
if (result.code === 200) {
$("#_login").html(`
<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>`);
$("#_login").html(`<span class="btn btn-sm">${result.data.username}</span><a href="/user/" class="btn btn-primary btn-sm"><i class="fa fa-user-circle"></i></a><a href="/user/pm.php" class="btn btn-primary btn-sm"><i class="fa fa-bullhorn"></i></a><a href="/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();

src/theme/templets/header.htm → src/theme/templets/head.htm View File

@@ -1,14 +1,3 @@
<div class="site-nav bg-white shadow-sm rounded py-3">
<div class="container">
<div class="row">
<div class="col-4 logo"><a href="/"><img src="/static/web/img/logo.png" alt="{dede:global.cfg_webname/}"></a></div>
<div class="col-8 text-right user-login" id="_login">
<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>
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -25,13 +14,12 @@
{/dede:channel}
</ul>
</div>

</div>
<div class="col-md-3">
<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-success btn-sm"><i class="fa fa-search"></i></button>
<button type="submit" class="btn btn-success"><i class="fa fa-search"></i></button>
</form>
</div>
</div>

+ 3
- 2
src/theme/templets/index.htm View File

@@ -13,7 +13,8 @@
<script src="{dede:global.cfg_cmsurl/}/static/web/js/jquery.min.js"></script>
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-9 litpics">
@@ -115,6 +116,6 @@
</div>
</div>
</div>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 3
- 2
src/theme/templets/index_article.htm View File

@@ -13,7 +13,8 @@
<script src="{dede:global.cfg_cmsurl/}/static/web/js/jquery.min.js"></script>
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -62,6 +63,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 3
- 2
src/theme/templets/index_default.htm View File

@@ -13,7 +13,8 @@
<script src="{dede:global.cfg_cmsurl/}/static/web/js/jquery.min.js"></script>
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -62,6 +63,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 3
- 2
src/theme/templets/index_default_sg.htm View File

@@ -13,7 +13,8 @@
<script src="{dede:global.cfg_cmsurl/}/static/web/js/jquery.min.js"></script>
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -62,6 +63,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 3
- 2
src/theme/templets/index_image.htm View File

@@ -13,7 +13,8 @@
<script src="{dede:global.cfg_cmsurl/}/static/web/js/jquery.min.js"></script>
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -71,6 +72,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 3
- 2
src/theme/templets/index_infos.htm View File

@@ -13,7 +13,8 @@
<script src="{dede:global.cfg_cmsurl/}/static/web/js/jquery.min.js"></script>
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -62,6 +63,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 3
- 2
src/theme/templets/index_shop.htm View File

@@ -13,7 +13,8 @@
<script src="{dede:global.cfg_cmsurl/}/static/web/js/jquery.min.js"></script>
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -62,6 +63,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 3
- 2
src/theme/templets/index_soft.htm View File

@@ -13,7 +13,8 @@
<script src="{dede:global.cfg_cmsurl/}/static/web/js/jquery.min.js"></script>
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -62,6 +63,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 3
- 2
src/theme/templets/list_article.htm View File

@@ -13,7 +13,8 @@
<link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/web/img/favicon.ico">
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -60,6 +61,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 3
- 2
src/theme/templets/list_default.htm View File

@@ -13,7 +13,8 @@
<link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/web/img/favicon.ico">
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -60,6 +61,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 3
- 2
src/theme/templets/list_default_sg.htm View File

@@ -13,7 +13,8 @@
<link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/web/img/favicon.ico">
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -60,6 +61,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 3
- 2
src/theme/templets/list_free.htm View File

@@ -13,7 +13,8 @@
<link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/web/img/favicon.ico">
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -48,6 +49,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 3
- 2
src/theme/templets/list_image.htm View File

@@ -13,7 +13,8 @@
<link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/web/img/favicon.ico">
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -57,6 +58,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 5
- 4
src/theme/templets/list_infos.htm View File

@@ -14,7 +14,8 @@
<style>.dedeinfolink a{color:#28a745;margin-right:10px;}.info-search .info-guide{line-height:32px;}</style>
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -88,8 +89,8 @@
<label for="iptKeyword">关键词</label>
<input type="text" name="keyword" id="iptKeyword" class="form-control">
</div>
<button type="submit" class="btn btn-warning btn-sm">搜索信息</button>
<button type="button" class="btn btn-warning btn-sm" onclick="location='/user/archives_sg_add.php?channelid=-8';">发布信息</button>
<button type="submit" class="btn btn-warning">搜索信息</button>
<button type="button" class="btn btn-warning" onclick="location='/user/archives_sg_add.php?channelid=-8';">发布信息</button>
</form>
{/dede:infoguide}
</div>
@@ -100,6 +101,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 3
- 2
src/theme/templets/list_shop.htm View File

@@ -13,7 +13,8 @@
<link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/web/img/favicon.ico">
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -59,6 +60,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 3
- 2
src/theme/templets/list_soft.htm View File

@@ -13,7 +13,8 @@
<link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/web/img/favicon.ico">
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -60,6 +61,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 3
- 2
src/theme/templets/list_spec.htm View File

@@ -13,7 +13,8 @@
<link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/web/img/favicon.ico">
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -59,6 +60,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 3
- 2
src/theme/templets/search.htm View File

@@ -13,7 +13,8 @@
<link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/web/img/favicon.ico">
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -56,6 +57,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 3
- 2
src/theme/templets/singlepage.htm View File

@@ -13,7 +13,8 @@
<link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/web/img/favicon.ico">
</head>
<body class="articleview">
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -39,6 +40,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 3
- 2
src/theme/templets/tag.htm View File

@@ -15,7 +15,8 @@
<style>.tags{padding-top:10px}.tags a{float:left;margin:5px 10px}.tagc1{color:darkolivegreen}.tagc2{color:blue}.tagc3{color:blueviolet}.tagc4{color:brown}.tagc5{color:cadetblue}.tagc6{color:green}.tagc7{color:coral}.tagc8{color:cornflowerblue}.tagc9{color:black}</style>
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -72,6 +73,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

+ 3
- 2
src/theme/templets/taglist.htm View File

@@ -14,7 +14,8 @@
<link rel="shortcut icon" href="{dede:global.cfg_cmsurl/}/static/web/img/favicon.ico">
</head>
<body>
{dede:include filename='header.htm'/}
{dede:include filename='top.htm'/}
{dede:include filename='head.htm'/}
<div class="container py-3">
<div class="row">
<div class="col-md-12">
@@ -58,6 +59,6 @@
</div>
</div>
</main>
{dede:include filename='footer.htm'/}
{dede:include filename='foot.htm'/}
</body>
</html>

src/user/templets/header.htm → src/theme/templets/top.htm View File

@@ -3,8 +3,8 @@
<div class="row">
<div class="col-4 logo"><a href="/"><img src="/static/web/img/logo.png" alt="{dede:global.cfg_webname/}"></a></div>
<div class="col-8 text-right user-login" id="_login">
<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>
<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">注册</a>
</div>
</div>
</div>

+ 3
- 3
src/theme/templets/widget_article_feedback.htm View File

@@ -15,8 +15,8 @@
<div class="col-md-6 mb-3 areaValidate" style="display:none">
<label for="iptValidate">验证码</label>
<div class="input-group">
<input type="text" class="form-control" id="iptValidate">
<img src="{dede:global.cfg_cmspath/}/apps/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src='{dede:global.cfg_cmspath/}/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" alt="验证码">
<input type="text" class="form-control text-uppercase" id="iptValidate">
<img src="{dede:global.cfg_cmspath/}/apps/vdimgck.php" id="validateimg" onclick="this.src='{dede:global.cfg_cmspath/}/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码">
</div>
</div>
</div>
@@ -28,7 +28,7 @@
</div>
</div>
<div class="dcmp-submit">
<button class="btn btn-success btn-sm" type="button" onClick='SendFeedback()'>发表评论</button>
<button class="btn btn-success" type="button" onClick='SendFeedback()'>发表评论</button>
</div>
</div>
<div class="feedbacks">


+ 3
- 3
src/user/ajax_feedback.php View File

@@ -12,10 +12,10 @@ if ($myurl == '') exit('');
else {
$uid = $cfg_ml->M_LoginID;
$face = $cfg_ml->fields['face'] == '' ? $GLOBALS['cfg_memberurl'].'/images/nopic.gif' : $cfg_ml->fields['face'];
echo "用户名:{$cfg_ml->M_UserName} <input name='notuser' type='checkbox' id='notuser' value='1' />匿名评论\r\n";
echo "用户名:{$cfg_ml->M_UserName} <input name='notuser' type='checkbox' id='notuser' value='1'> 匿名评论\r\n";
if ($cfg_feedback_ck == 'Y') {
echo "验证码:<input name='validate' type='text' id='validate' size='10' style='height:18px;width:60px;margin-right:6px;text-transform: uppercase;' class='nb' />";
echo "<img src='{$cfg_cmsurl}/apps/vdimgck.php' style='cursor:pointer' id='validateimg' onclick='this.src=this.src+'?'' alt='验证码' title='验证码' />\r\n";
echo "验证码:<input name='validate' type='text' id='validate' size='10' class='form-control text-uppercase'>";
echo "<img src='{$cfg_cmsurl}/apps/vdimgck.php' id='validateimg' onclick='this.src=this.src+'?'' alt='验证码' title='验证码' />\r\n";
}
}
?>

+ 1
- 1
src/user/album_add.php View File

@@ -155,7 +155,7 @@ else if ($dopost == 'save') {
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$arcID";
ClearMyAddon($arcID, $title);
//返回成功信息
$msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布图集</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看图集</a><a href='album_edit.php?aid=".$arcID."&channelid=$channelid' class='btn btn-success btn-sm'>修改图集</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>已发布图集管理</a>";
$msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success'>继续发布图集</a><a href='$artUrl' target='_blank' class='btn btn-success'>查看图集</a><a href='album_edit.php?aid=".$arcID."&channelid=$channelid' class='btn btn-success'>修改图集</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success'>已发布图集管理</a>";
$wintitle = "成功发布图集";
$wecome_info = "图集管理::发布图集";
$win = new OxWindow();


+ 1
- 1
src/user/album_edit.php View File

@@ -128,7 +128,7 @@ else if ($dopost == 'save') {
$artUrl = MakeArt($aid, TRUE);
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$aid";
//返回成功信息
$msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新图集</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-success btn-sm'>修改图集</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看图集</a><a href='content_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理图集</a> ";
$msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success'>发布新图集</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-success'>修改图集</a><a href='$artUrl' target='_blank' class='btn btn-success'>查看图集</a><a href='content_list.php?channelid=$channelid' class='btn btn-success'>管理图集</a> ";
//提交后返回提交页面
$wintitle = "成功修改图集";
$wecome_info = "图集管理::修改图集";


+ 1
- 1
src/user/archives_add.php View File

@@ -127,7 +127,7 @@ else if ($dopost == 'save') {
}
ClearMyAddon($arcID, $title);
//返回成功信息
$msg = "请选择您的后续操作:<a href='archives_add.php?cid=$typeid&channelid=$channelid' class='btn btn-success btn-sm'>继续发布文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='archives_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success btn-sm'>修改文档</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>已发布文档管理</a>";
$msg = "请选择您的后续操作:<a href='archives_add.php?cid=$typeid&channelid=$channelid' class='btn btn-success'>继续发布文档</a><a href='$artUrl' target='_blank' class='btn btn-success'>查看文档</a><a href='archives_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success'>修改文档</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success'>已发布文档管理</a>";
$wintitle = "成功发布文档";
$wecome_info = "内容管理::发布文档";
$win = new OxWindow();


+ 1
- 1
src/user/archives_edit.php View File

@@ -96,7 +96,7 @@ else if ($dopost == 'save') {
$artUrl = MakeArt($aid, TRUE);
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$aid";
//返回成功信息
$msg = "请选择您的后续操作:<a href='archives_add.php?cid=$typeid&channelid=$channelid' class='btn btn-success btn-sm'>发布新文档</a><a href='archives_edit.php?channelid=$channelid&aid=".$aid."' class='btn btn-success btn-sm'>修改文档</a><a href='$artUrl' target='_blank'>查看文档</a><a href='content_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理文档</a>";
$msg = "请选择您的后续操作:<a href='archives_add.php?cid=$typeid&channelid=$channelid' class='btn btn-success'>发布新文档</a><a href='archives_edit.php?channelid=$channelid&aid=".$aid."' class='btn btn-success'>修改文档</a><a href='$artUrl' target='_blank'>查看文档</a><a href='content_list.php?channelid=$channelid' class='btn btn-success'>管理文档</a>";
$wintitle = "成功修改文档";
$wecome_info = "内容管理::修改文档";
$win = new OxWindow();


+ 1
- 1
src/user/archives_sg_add.php View File

@@ -157,7 +157,7 @@ else if ($dopost == 'save') {
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$arcID";
ClearMyAddon($arcID, $title);
//返回成功信息
$msg = "请选择您的后续操作:<a href='archives_sg_add.php?channelid=$channelid' class='btn btn-success btn-sm'>继续发布文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='archives_sg_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success btn-sm'>修改文档</a><a href='content_sg_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>已发布文档管理</a>";
$msg = "请选择您的后续操作:<a href='archives_sg_add.php?channelid=$channelid' class='btn btn-success'>继续发布文档</a><a href='$artUrl' target='_blank' class='btn btn-success'>查看文档</a><a href='archives_sg_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success'>修改文档</a><a href='content_sg_list.php?channelid={$channelid}' class='btn btn-success'>已发布文档管理</a>";
$wintitle = "成功发布文档";
$wecome_info = "内容管理::发布文档";
$win = new OxWindow();


+ 1
- 1
src/user/archives_sg_edit.php View File

@@ -112,7 +112,7 @@ else if ($dopost == 'save') {
$artUrl = MakeArt($aid, true);
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$aid";
//返回成功信息
$msg = "请选择您的后续操作:<a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新内容</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-success btn-sm'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看内容</a><a href='content_sg_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理内容</a>";
$msg = "请选择您的后续操作:<a href='archives_sg_add.php?cid=$typeid' class='btn btn-success'>发布新内容</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-success'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-success'>查看内容</a><a href='content_sg_list.php?channelid=$channelid' class='btn btn-success'>管理内容</a>";
$wintitle = "成功修改内容";
$wecome_info = "内容管理::修改内容";
$win = new OxWindow();


+ 1
- 1
src/user/article_add.php View File

@@ -114,7 +114,7 @@ else if ($dopost == 'save') {
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$arcID";
ClearMyAddon($arcID, $title);
//返回成功信息
$msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='article_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success btn-sm'>修改文档</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>已发布文档管理</a>";
$msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success'>继续发布文档</a><a href='$artUrl' target='_blank' class='btn btn-success'>查看文档</a><a href='article_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success'>修改文档</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success'>已发布文档管理</a>";
$wintitle = "成功发布文档";
$wecome_info = "文档管理::发布文档";
$win = new OxWindow();


+ 1
- 1
src/user/article_edit.php View File

@@ -101,7 +101,7 @@ else if ($dopost == 'save') {
$artUrl = $cfg_phpurl."/view.php?aid=$aid";
}
//返回成功信息
$msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新文档</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-success btn-sm'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='content_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理文档</a>";
$msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success'>发布新文档</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-success'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-success'>查看文档</a><a href='content_list.php?channelid=$channelid' class='btn btn-success'>管理文档</a>";
$wintitle = "成功修改文档";
$wecome_info = "文档管理::修改文档";
$win = new OxWindow();


+ 1
- 1
src/user/soft_add.php View File

@@ -172,7 +172,7 @@ else if ($dopost == 'save') {
}
ClearMyAddon($arcID, $title);
//返回成功信息
$msg = "请选择您的后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布软件</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看软件</a><a href='soft_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success btn-sm'>修改软件</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>已发布软件管理</a>";
$msg = "请选择您的后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success'>继续发布软件</a><a href='$artUrl' target='_blank' class='btn btn-success'>查看软件</a><a href='soft_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success'>修改软件</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success'>已发布软件管理</a>";
$wintitle = "成功发布文档";
$wecome_info = "软件管理::发布软件";
$win = new OxWindow();


+ 1
- 1
src/user/soft_edit.php View File

@@ -170,7 +170,7 @@ else if ($dopost == 'save') {
$artUrl = $cfg_phpurl."/view.php?aid=$aid";
}
//返回成功信息
$msg = "请选择您的后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新软件</a><a href='soft_edit.php?channelid=$channelid&aid=".$aid."' class='btn btn-success btn-sm'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看软件</a><a href='content_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理软件</a>";
$msg = "请选择您的后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success'>发布新软件</a><a href='soft_edit.php?channelid=$channelid&aid=".$aid."' class='btn btn-success'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-success'>查看软件</a><a href='content_list.php?channelid=$channelid' class='btn btn-success'>管理软件</a>";
$wintitle = "成功修改软件";
$wecome_info = "软件管理::修改软件";
$win = new OxWindow();


+ 40
- 45
src/user/templets/album_add.htm View File

@@ -12,12 +12,12 @@
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/member_album.js"></script>
</head>
<body>
<?php include(DEDEMEMBER."/templets/top_login.htm");?>
<?php pasterTempletDiy('top.htm');?>
<main class="member">
<div class="pannel">
<div class="container py-3">
<div class="row">
<div class="pannel-main col-md-12 mt-3 mb-3">
<div class="pannel-main col-md-12">
<div class="pannel-main-container">
<nav class="navbar navbar-expand-lg pr-0 pl-0">
<ol class="breadcrumb mb-0 mr-auto">
@@ -25,7 +25,7 @@
<li class="breadcrumb-item">发布<?php echo $cInfos['typename'];?></li></li>
</ol>
<span class="navbar-text">
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a>
<a href="javascript:history.back(-1);" class="btn btn-success">返回</a>
</span>
</nav>
<form name="addcontent" action="album_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();">
@@ -40,7 +40,7 @@
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">标签Tag</label>
<label class="col-sm-2 col-form-label">Tag标签</label>
<div class="col-sm-10">
<input name="tags" type="text" id="tags" class="form-control">
</div>
@@ -67,53 +67,48 @@
<div class="form-group row">
<label class="col-sm-2 col-form-label">描述</label>
<div class="col-sm-10">
<textarea class="form-control" name="description" id="description"></textarea>
<textarea name="description" id="description" class="form-control"></textarea>
</div>
</div>
<?php
//自定义字段
PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield');
?>
<input name="maxwidth" type="hidden" id="maxwidth" value="<?php echo $cfg_album_width;?>">
<input name="prow" type="hidden" value="<?php echo $cfg_album_row;?>">
<input name="pcol" type="hidden" value="<?php echo $cfg_album_col;?>">
<input name="ddmaxwidth" type="hidden" value="<?php echo $cfg_album_ddwidth;?>">
<div class="form-group">
<label>表现方式:</label>
<label><input type="radio" name="pagestyle" id="pagestyle1" onclick="checkMuList()" value="1" <?php if ($cfg_album_style==1) echo " checked='checked'";?>> 多页多图显示(适用于QQ表情等)</label>
<label><input type="radio" name="pagestyle" id="pagestyle2" onclick="checkMuList()" value="2" <?php if ($cfg_album_style==2) echo " checked='checked'";?>> 多页单图显示(幻灯)</label>
<label><input type="radio" name="pagestyle" id="pagestyle3" onclick="checkMuList()" value="3" <?php if ($cfg_album_style==3) echo " checked='checked'";?>> 多行多列显示(缩略图)</label>
<div id="spagelist" style="display:none">每页图片数:<input name="pagpicnum" id="pagpicnum" size="10" value="<?php echo $cfg_album_pagesize;?>"></div>
</div>
<div class="form-group">
<label>手工上传</label>
图片数目:<input type="text" name="picnum" value="5" id="picnum" class="form-control d-inline-block w-25">
<button type="button" name="kkkup" id="kkkup2" class="btn btn-success" onclick="MakeUpload(0);">增加</button>(最大60幅)
</div>
<div id="uploadfield"></div>
<script>
MakeUpload(2);
</script>
<?php
//游客强制加验证码
if ($cfg_ml->M_ID === 0){
?>
<label>正文</label>
<div class="contentShow postForm">
<input name="maxwidth" type="hidden" id="maxwidth" value="<?php echo $cfg_album_width;?>">
<input name="prow" type="hidden" value="<?php echo $cfg_album_row;?>">
<input name="pcol" type="hidden" value="<?php echo $cfg_album_col;?>">
<input name="ddmaxwidth" type="hidden" value="<?php echo $cfg_album_ddwidth;?>">
<p class="cellBg">
<label>表现方式:</label>
<label><input type="radio" name="pagestyle" id="pagestyle1" onclick="checkMuList()" value="1" <?php if ($cfg_album_style==1) echo " checked='checked'";?>> 多页多图显示(适用于QQ表情等)</label>
<label><input type="radio" name="pagestyle" id="pagestyle2" onclick="checkMuList()" value="2" <?php if ($cfg_album_style==2) echo " checked='checked'";?>> 多页单图显示(幻灯)</label>
<label><input type="radio" name="pagestyle" id="pagestyle3" onclick="checkMuList()" value="3" <?php if ($cfg_album_style==3) echo " checked='checked'";?>> 多行多列显示(缩略图)</label>
<div id="spagelist" class="mTB10" style="display:none">每页图片数:<input name='pagpicnum' id='pagpicnum' size='10' class="text" value='<?php echo $cfg_album_pagesize;?>'></div>
</p>
<p>
<label>手工上传</label>
图片数目:<input name="picnum" type="text" id="picnum" size="6" value="3" maxlength="100" class="intxt">
<button class="btn btn-success btn-sm" name='kkkup' type='button' id='kkkup2' onclick="MakeUpload(0);">增加</button>(最大60幅)
</p>
<p>
<div id="uploadfield"></div>
<script>
MakeUpload(2);
</script>
</p>
<?php
//游客强制加验证码
if ($cfg_ml->M_ID === 0){
?>
<div class="form-group row mt-3">
<label class="col-sm-2 col-form-label">验证码</label>
<div class="col-sm-10">
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase">
<img src="../apps/vdimgck.php" alt="验证码" title="验证码" onclick="this.src=this.src+'?'" style="cursor:pointer">
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">验证码</label>
<div class="col-sm-10">
<input name="vdcode" type="text" id="vdcode" class="form-control text-uppercase d-inline-block w-25">
<img src="../apps/vdimgck.php" title="验证码" onclick="this.src=this.src+'?'">
</div>
<?php }?>
<p class="mt-3">
<button type="submit" class="btn btn-success btn-sm">提交</button>
<button type="reset" class="btn btn-secondary btn-sm" onclick="location.reload();">重置</button>
</p>
</div>
<?php }?>
<div class="text-center">
<button type="submit" class="btn btn-success">提交</button>
<button type="reset" class="btn btn-secondary" onclick="location.reload();">重置</button>
</div>
</div>
</form>
@@ -123,6 +118,6 @@
</div>
</div>
</main>
<?php include(DEDEMEMBER."/templets/footer.htm");?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 64
- 68
src/user/templets/album_edit.htm View File

@@ -12,12 +12,12 @@
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/member_album.js"></script>
</head>
<body>
<?php include(DEDEMEMBER."/templets/top_login.htm");?>
<?php pasterTempletDiy('top.htm');?>
<main class="member">
<div class="pannel">
<div class="container py-3">
<div class="row">
<div class="pannel-main col-md-12 mt-3 mb-3">
<div class="pannel-main col-md-12">
<div class="pannel-main-container">
<nav class="navbar navbar-expand-lg pr-0 pl-0">
<ol class="breadcrumb mb-0 mr-auto">
@@ -25,7 +25,7 @@
<li class="breadcrumb-item">修改<?php echo $row['title']?></li></li>
</ol>
<span class="navbar-text">
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a>
<a href="javascript:history.back(-1);" class="btn btn-success">返回</a>
</span>
</nav>
<form name="addcontent" action="album_edit.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();">
@@ -44,7 +44,7 @@
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">标签Tag</label>
<label class="col-sm-2 col-form-label">Tag标签</label>
<div class="col-sm-10">
<input name="tags" type="text" id="tags" value="<?php echo GetTags($row['id']);?>" class="form-control">
</div>
@@ -77,69 +77,65 @@
//自定义字段
PrintAutoFieldsEdit($row['fieldset'],$addRow,'autofield');
?>
<label>正文</label>
<div class="contentShow postForm">
<input name="maxwidth" type="hidden" id="maxwidth" value="<?php echo $abinfo->GetAtt('maxwidth');?>">
<input name="prow" type="hidden" value="<?php echo $abinfo->GetAtt('row');?>">
<input name="pcol" type="hidden" value="<?php echo $abinfo->GetAtt('col');?>">
<input name="ddmaxwidth" type="hidden" value="<?php echo $abinfo->GetAtt('ddmaxwidth');?>">
<p class="cellBg">
<label>表现方式:</label>
<label><input type="radio" name="pagestyle" id="pagestyle1" onclick="checkMuList()" value="1" <?php if ($cfg_album_style==1) echo " checked='checked'";?>> 多页多图显示(适用于QQ表情等)</label>
<label><input type="radio" name="pagestyle" id="pagestyle2" onclick="checkMuList()" value="2" <?php if ($cfg_album_style==2) echo " checked='checked'";?>> 多页单图显示(幻灯)</label>
<label><input type="radio" name="pagestyle" id="pagestyle3" onclick="checkMuList()" value="3" <?php if ($cfg_album_style==3) echo " checked='checked'";?>> 多行多列显示(缩略图)</label>
<div id="spagelist" style="<?php if ($abinfo->GetAtt('value')!=2) echo 'display:none';?>" class="mTB10">每页图片数:<input name="pagpicnum" id="pagpicnum size="10 class="text" value="<?php echo $abinfo->GetAtt('pagpicnum');?>"></div>
</p>
<p>
<label>手工上传</label>
图片数目:<input name="picnum" type="text" id="picnum" size="6" value="3" maxlength="100" class="intxt">
<button class="btn btn-success btn-sm" name='kkkup' type='button' id='kkkup2' onclick="MakeUpload(0);">增加</button>(最大60幅)
</p>
<p>
<div id="uploadfield"></div>
<?php
$j = 1;
if (is_array($dtp->CTags))
{
foreach($dtp->CTags as $ctag){
if ($ctag->GetName()=="img"){
?>
<table width="98%" align="center">
<tr>
<td><input type="checkbox" name="isokcheck<?php echo $j;?>" id="isokcheck<?php echo $j;?>" value="1" onclick="CheckSelTable(<?php echo $j;?>)" checked="1"> 显示隐藏图片[<?php echo $j;?>]的选框</td>
</tr>
</table>
<table width="100%" id="seltb<?php echo $j;?>" align="center">
<tr>
<td colspan="2">图片</td>
</tr>
<tr>
<td>本地上传:<input type="text" name="imgfile<?php echo $j;?>" style="width:200px" maxlength="100" class="intxt"></td>
<td rowspan="3" align="center">
<div id="divpicview<?php echo $j;?>" class="divpre"></div>
<img src="<?php echo trim($ctag->GetInnerText());?>" id="picview<?php echo $j;?>" name="picview<?php echo $j;?>" style="width:128px;height:128px">
</td>
</tr>
<input type="hidden" name="imgurl<?php echo $j;?>" value="<?php echo trim($ctag->GetInnerText())?>">
<tr>
<td height="56">简介:<textarea name="imgmsg<?php echo $j;?>" style="height:46px;width:200px"><?php echo trim($ctag->GetAtt('text'))?></textarea></td>
</tr>
</table>
<?php
$j++;
}
}
}
$dtp->Clear();
?>
</p>
<script>
startNum = "<? php echo $j;?>";
</script>
<p class="mt-3">
<button type="submit" class="btn btn-success btn-sm">提交</button>
<button type="reset" class="btn btn-secondary btn-sm" onclick="location.reload();">重置</button>
</p>
<input name="maxwidth" type="hidden" id="maxwidth" value="<?php echo $abinfo->GetAtt('maxwidth');?>">
<input name="prow" type="hidden" value="<?php echo $abinfo->GetAtt('row');?>">
<input name="pcol" type="hidden" value="<?php echo $abinfo->GetAtt('col');?>">
<input name="ddmaxwidth" type="hidden" value="<?php echo $abinfo->GetAtt('ddmaxwidth');?>">
<div class="form-group">
<label>表现方式:</label>
<label><input type="radio" name="pagestyle" id="pagestyle1" onclick="checkMuList()" value="1" <?php if ($cfg_album_style==1) echo " checked='checked'";?>> 多页多图显示(适用于QQ表情等)</label>
<label><input type="radio" name="pagestyle" id="pagestyle2" onclick="checkMuList()" value="2" <?php if ($cfg_album_style==2) echo " checked='checked'";?>> 多页单图显示(幻灯)</label>
<label><input type="radio" name="pagestyle" id="pagestyle3" onclick="checkMuList()" value="3" <?php if ($cfg_album_style==3) echo " checked='checked'";?>> 多行多列显示(缩略图)</label>
<div id="spagelist" style="<?php if ($abinfo->GetAtt('value')!=2) echo 'display:none';?>">每页图片数:<input name="pagpicnum" id="pagpicnum" value="<?php echo $abinfo->GetAtt('pagpicnum');?>"></div>
</div>
<div class="form-group">
<label>手工上传</label>
图片数目:<input type="text" name="picnum" value="5" id="picnum" class="form-control d-inline-block w-25">
<button type="button" name="kkkup" id="kkkup2" class="btn btn-success" onclick="MakeUpload(0);">增加</button>(最大60幅)
</div>
<div id="uploadfield"></div>
<?php
$j = 1;
if (is_array($dtp->CTags))
{
foreach($dtp->CTags as $ctag){
if ($ctag->GetName()=="img"){
?>
<table width="98%" align="center">
<tr>
<td><input type="checkbox" name="isokcheck<?php echo $j;?>" id="isokcheck<?php echo $j;?>" value="1" onclick="CheckSelTable(<?php echo $j;?>)" checked="1"> 显示隐藏图片[<?php echo $j;?>]的选框</td>
</tr>
</table>
<table width="100%" id="seltb<?php echo $j;?>" align="center">
<tr>
<td colspan="2">图片</td>
</tr>
<tr>
<td>本地上传:<input type="text" name="imgfile<?php echo $j;?>" style="width:200px" maxlength="100"></td>
<td rowspan="3" align="center">
<div id="divpicview<?php echo $j;?>" class="divpre"></div>
<img src="<?php echo trim($ctag->GetInnerText());?>" id="picview<?php echo $j;?>" name="picview<?php echo $j;?>" style="width:128px;height:128px">
</td>
</tr>
<input type="hidden" name="imgurl<?php echo $j;?>" value="<?php echo trim($ctag->GetInnerText())?>">
<tr>
<td height="56">简介:<textarea name="imgmsg<?php echo $j;?>" style="height:46px;width:200px"><?php echo trim($ctag->GetAtt('text'))?></textarea></td>
</tr>
</table>
<?php
$j++;
}
}
}
$dtp->Clear();
?>
</p>
<script>
startNum = "<? php echo $j;?>";
</script>
<div class="text-center">
<button type="submit" class="btn btn-success">提交</button>
<button type="reset" class="btn btn-secondary" onclick="location.reload();">重置</button>
</div>
</div>
</form>
@@ -149,6 +145,6 @@
</div>
</div>
</main>
<?php include(DEDEMEMBER."/templets/footer.htm");?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 19
- 21
src/user/templets/archives_add.htm View File

@@ -11,12 +11,12 @@
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/user.css">
</head>
<body>
<?php include(DEDEMEMBER."/templets/top_login.htm");?>
<?php pasterTempletDiy('top.htm');?>
<main class="member">
<div class="pannel">
<div class="container py-3">
<div class="row">
<div class="pannel-main col-md-12 mt-3 mb-3">
<div class="pannel-main col-md-12">
<div class="pannel-main-container">
<nav class="navbar navbar-expand-lg pr-0 pl-0">
<ol class="breadcrumb mb-0 mr-auto">
@@ -24,7 +24,7 @@
<li class="breadcrumb-item">发布<?php echo $cInfos['typename'];?></li></li>
</ol>
<span class="navbar-text">
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a>
<a href="javascript:history.back(-1);" class="btn btn-success">返回</a>
</span>
</nav>
<form name="addcontent" action="archives_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();">
@@ -38,7 +38,7 @@
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">标签Tag</label>
<label class="col-sm-2 col-form-label">Tag标签</label>
<div class="col-sm-10">
<input name="tags" type="text" id="tags" class="form-control">
</div>
@@ -72,23 +72,21 @@
//自定义字段
PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield');
?>
<div class="contentShow postForm">
<?php
//游客强制加验证码
if ($cfg_ml->M_ID === 0){
?>
<div class="form-group row mt-3">
<label class="col-sm-2 col-form-label">验证码</label>
<div class="col-sm-10">
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase">
<img src="../apps/vdimgck.php" alt="验证码" title="验证码" onclick="this.src=this.src+'?'" style="cursor:pointer">
</div>
<?php
//游客强制加验证码
if ($cfg_ml->M_ID === 0){
?>
<div class="form-group row">
<label class="col-sm-2 col-form-label">验证码</label>
<div class="col-sm-10">
<input name="vdcode" type="text" id="vdcode" class="form-control text-uppercase d-inline-block w-25">
<img src="../apps/vdimgck.php" title="验证码" onclick="this.src=this.src+'?'">
</div>
<?php }?>
<p class="mt-3">
<button type="submit" class="btn btn-success btn-sm">提交</button>
<button type="reset" class="btn btn-secondary btn-sm" onclick="location.reload();">重置</button>
</p>
</div>
<?php }?>
<div class="text-center">
<button type="submit" class="btn btn-success">提交</button>
<button type="reset" class="btn btn-secondary" onclick="location.reload();">重置</button>
</div>
</div>
</div>
@@ -98,7 +96,7 @@
</div>
</div>
</main>
<?php include(DEDEMEMBER."/templets/footer.htm");?>
<?php pasterTempletDiy('foot.htm');?>
<script>
function checkSubmit() {
if (document.addcontent.title.value == "") {


+ 8
- 10
src/user/templets/archives_edit.htm View File

@@ -11,12 +11,12 @@
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/user.css">
</head>
<body>
<?php include(DEDEMEMBER."/templets/top_login.htm");?>
<?php pasterTempletDiy('top.htm');?>
<main class="member">
<div class="pannel">
<div class="container py-3">
<div class="row">
<div class="pannel-main col-md-12 mt-3 mb-3">
<div class="pannel-main col-md-12">
<div class="pannel-main-container">
<nav class="navbar navbar-expand-lg pr-0 pl-0">
<ol class="breadcrumb mb-0 mr-auto">
@@ -24,7 +24,7 @@
<li class="breadcrumb-item">修改<?php echo $cInfos['typename'];?></li></li>
</ol>
<span class="navbar-text">
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a>
<a href="javascript:history.back(-1);" class="btn btn-success">返回</a>
</span>
</nav>
<form name="addcontent" action="archives_edit.php?aid=<?php echo $aid;?>" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();">
@@ -38,7 +38,7 @@
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">标签Tag</label>
<label class="col-sm-2 col-form-label">Tag标签</label>
<div class="col-sm-10">
<input name="tags" type="text" id="tags" value="<?php echo $row['keywords'];?>" class="form-control">
</div>
@@ -71,11 +71,9 @@
//自定义字段
PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']), $addRow, 'autofield');
?>
<div class="contentShow postForm">
<p class="mt-3">
<button type="submit" class="btn btn-success btn-sm">提交</button>
<button type="reset" class="btn btn-secondary btn-sm" onclick="location.reload();">重置</button>
</p>
<div class="text-center">
<button type="submit" class="btn btn-success">提交</button>
<button type="reset" class="btn btn-secondary" onclick="location.reload();">重置</button>
</div>
</div>
</form>
@@ -85,7 +83,7 @@
</div>
</div>
</main>
<?php include(DEDEMEMBER."/templets/footer.htm");?>
<?php pasterTempletDiy('foot.htm');?>
<script>
function checkSubmit() {
if (document.addcontent.title.value == "") {


+ 19
- 21
src/user/templets/archives_sg_add.htm View File

@@ -11,12 +11,12 @@
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/user.css">
</head>
<body>
<?php include(DEDEMEMBER."/templets/top_login.htm");?>
<?php pasterTempletDiy('top.htm');?>
<main class="member">
<div class="pannel">
<div class="container py-3">
<div class="row">
<div class="pannel-main col-md-12 mt-3 mb-3">
<div class="pannel-main col-md-12">
<div class="pannel-main-container">
<nav class="navbar navbar-expand-lg pr-0 pl-0">
<ol class="breadcrumb mb-0 mr-auto">
@@ -24,7 +24,7 @@
<li class="breadcrumb-item">发布<?php echo $cInfos['typename'];?></li></li>
</ol>
<span class="navbar-text">
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a>
<a href="javascript:history.back(-1);" class="btn btn-success">返回</a>
</span>
</nav>
<form name="addcontent" action="archives_sg_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();">
@@ -38,7 +38,7 @@
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">标签Tag</label>
<label class="col-sm-2 col-form-label">Tag标签</label>
<div class="col-sm-10">
<input name="tags" type="text" id="tags" class="form-control">
</div>
@@ -72,23 +72,21 @@
//自定义字段
PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield');
?>
<div class="contentShow postForm">
<?php
//游客强制加验证码
if ($cfg_ml->M_ID === 0){
?>
<div class="form-group row mt-3">
<label class="col-sm-2 col-form-label">验证码</label>
<div class="col-sm-10">
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase">
<img src="../apps/vdimgck.php" alt="验证码" title="验证码" onclick="this.src=this.src+'?'" style="cursor:pointer">
</div>
<?php
//游客强制加验证码
if ($cfg_ml->M_ID === 0){
?>
<div class="form-group row mt-3">
<label class="col-sm-2 col-form-label">验证码</label>
<div class="col-sm-10">
<input name="vdcode" type="text" id="vdcode" class="form-control text-uppercase d-inline-block w-25">
<img src="../apps/vdimgck.php" title="验证码" onclick="this.src=this.src+'?'">
</div>
<?php }?>
<p class="mt-3">
<button type="submit" class="btn btn-success btn-sm">提交</button>
<button type="reset" class="btn btn-secondary btn-sm" onclick="location.reload();">重置</button>
</p>
</div>
<?php }?>
<div class="text-center">
<button type="submit" class="btn btn-success">提交</button>
<button type="reset" class="btn btn-secondary" onclick="location.reload();">重置</button>
</div>
</div>
</form>
@@ -98,7 +96,7 @@
</div>
</div>
</main>
<?php include(DEDEMEMBER."/templets/footer.htm");?>
<?php pasterTempletDiy('foot.htm');?>
<script>
function checkSubmit() {
if (document.addcontent.title.value == "") {


+ 7
- 9
src/user/templets/archives_sg_edit.htm View File

@@ -11,12 +11,12 @@
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/user.css">
</head>
<body>
<?php include(DEDEMEMBER."/templets/top_login.htm");?>
<?php pasterTempletDiy('top.htm');?>
<main class="member">
<div class="pannel">
<div class="container py-3">
<div class="row">
<div class="pannel-main col-md-12 mt-3 mb-3">
<div class="pannel-main col-md-12">
<div class="pannel-main-container">
<nav class="navbar navbar-expand-lg pr-0 pl-0">
<ol class="breadcrumb mb-0 mr-auto">
@@ -24,7 +24,7 @@
<li class="breadcrumb-item">修改<?php echo $cInfos['typename'];?></li></li>
</ol>
<span class="navbar-text">
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a>
<a href="javascript:history.back(-1);" class="btn btn-success">返回</a>
</span>
</nav>
<form name="addcontent" action="archives_sg_edit.php?aid=<?php echo $aid;?>" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();">
@@ -65,11 +65,9 @@
//自定义字段
PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']), $addRow, 'autofield');
?>
<div class="contentShow postForm">
<p class="mt-3">
<button type="submit" class="btn btn-success btn-sm">提交</button>
<button type="reset" class="btn btn-secondary btn-sm" onclick="location.reload();">重置</button>
</p>
<div class="text-center">
<button type="submit" class="btn btn-success">提交</button>
<button type="reset" class="btn btn-secondary" onclick="location.reload();">重置</button>
</div>
</div>
</form>
@@ -79,7 +77,7 @@
</div>
</div>
</main>
<?php include(DEDEMEMBER."/templets/footer.htm");?>
<?php pasterTempletDiy('foot.htm');?>
<script>
function checkSubmit() {
if (document.addcontent.title.value == "") {


+ 23
- 23
src/user/templets/article_add.htm View File

@@ -11,12 +11,12 @@
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/user.css">
</head>
<body>
<?php include(DEDEMEMBER."/templets/top_login.htm");?>
<?php pasterTempletDiy('top.htm');?>
<main class="member">
<div class="pannel">
<div class="container py-3">
<div class="row">
<div class="pannel-main col-md-12 mt-3 mb-3">
<div class="pannel-main col-md-12">
<div class="pannel-main-container">
<nav class="navbar navbar-expand-lg pr-0 pl-0">
<ol class="breadcrumb mb-0 mr-auto">
@@ -24,7 +24,7 @@
<li class="breadcrumb-item">发布<?php echo $cInfos['typename'];?></li></li>
</ol>
<span class="navbar-text">
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a>
<a href="javascript:history.back(-1);" class="btn btn-success">返回</a>
</span>
</nav>
<form name="addcontent" action="article_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();">
@@ -38,7 +38,7 @@
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">标签Tag</label>
<label class="col-sm-2 col-form-label">Tag标签</label>
<div class="col-sm-10">
<input name="tags" type="text" id="tags" class="form-control">
</div>
@@ -73,25 +73,25 @@
//自定义字段
PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield');
?>
<label>正文</label>
<div class="contentShow postForm">
<div><?php GetEditor("body","",360,"Member");?></div>
<?php
//游客强制加验证码
if ($cfg_ml->M_ID === 0){
?>
<div class="form-group row mt-3">
<label class="col-sm-2 col-form-label">验证码</label>
<div class="col-sm-10">
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase">
<img src="../apps/vdimgck.php" alt="验证码" title="验证码" onclick="this.src=this.src+'?'" style="cursor:pointer">
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">正文</label>
<div class="col-sm-10"><?php GetEditor("body","",400,"Member");?></div>
</div>
<?php
//游客强制加验证码
if ($cfg_ml->M_ID === 0){
?>
<div class="form-group row">
<label class="col-sm-2 col-form-label">验证码</label>
<div class="col-sm-10">
<input name="vdcode" type="text" id="vdcode" class="form-control text-uppercase d-inline-block w-25">
<img src="../apps/vdimgck.php" title="验证码" onclick="this.src=this.src+'?'">
</div>
<?php }?>
<p class="mt-3">
<button type="submit" class="btn btn-success btn-sm">提交</button>
<button type="reset" class="btn btn-secondary btn-sm" onclick="location.reload();">重置</button>
</p>
</div>
<?php }?>
<div class="text-center">
<button type="submit" class="btn btn-success">提交</button>
<button type="reset" class="btn btn-secondary" onclick="location.reload();">重置</button>
</div>
</div>
</form>
@@ -101,7 +101,7 @@
</div>
</div>
</main>
<?php include(DEDEMEMBER."/templets/footer.htm");?>
<?php pasterTempletDiy('foot.htm');?>
<script>
function checkSubmit() {
if (document.addcontent.title.value == "") {


+ 12
- 12
src/user/templets/article_edit.htm View File

@@ -11,12 +11,12 @@
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/user.css">
</head>
<body>
<?php include(DEDEMEMBER."/templets/top_login.htm");?>
<?php pasterTempletDiy('top.htm');?>
<main class="member">
<div class="pannel">
<div class="container py-3">
<div class="row">
<div class="pannel-main col-md-12 mt-3 mb-3">
<div class="pannel-main col-md-12">
<div class="pannel-main-container">
<nav class="navbar navbar-expand-lg pr-0 pl-0">
<ol class="breadcrumb mb-0 mr-auto">
@@ -24,7 +24,7 @@
<li class="breadcrumb-item">修改<?php echo $row['title']?></li></li>
</ol>
<span class="navbar-text">
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a>
<a href="javascript:history.back(-1);" class="btn btn-success">返回</a>
</span>
</nav>
<form name="addcontent" action="article_edit.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();">
@@ -42,7 +42,7 @@
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">标签Tag</label>
<label class="col-sm-2 col-form-label">Tag标签</label>
<div class="col-sm-10">
<input name="tags" type="text" id="tags" class="form-control" value="<?php echo $row['keywords'];?>" />
</div>
@@ -75,13 +75,13 @@
//自定义字段
PrintAutoFieldsEdit($row['fieldset'],$addRow,'autofield');
?>
<label>正文</label>
<div class="contentShow postForm">
<div><?php GetEditor("body",$addRow['body'],360,"Member");?></div>
<p class="mt-3">
<button type="submit" class="btn btn-success btn-sm">提交</button>
<button type="reset" class="btn btn-secondary btn-sm" onclick="location.reload();">重置</button>
</p>
<div class="form-group row">
<label class="col-sm-2 col-form-label">正文</label>
<div class="col-sm-10"><?php GetEditor("body",$addRow['body'],400,"Member");?></div>
</div>
<div class="text-center">
<button type="submit" class="btn btn-success">提交</button>
<button type="reset" class="btn btn-secondary" onclick="location.reload();">重置</button>
</div>
</div>
</form>
@@ -91,7 +91,7 @@
</div>
</div>
</main>
<?php include(DEDEMEMBER."/templets/footer.htm");?>
<?php pasterTempletDiy('foot.htm');?>
<script>
function checkSubmit() {
if (document.addcontent.title.value == "") {


+ 10
- 10
src/user/templets/buy.htm View File

@@ -11,12 +11,12 @@
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/user.css">
</head>
<body>
<?php include(DEDEMEMBER."/templets/top_login.htm");?>
<?php pasterTempletDiy('top.htm');?>
<main class="member">
<div class="pannel">
<div class="container py-3">
<div class="row">
<div class="pannel-main col-md-12 mt-3 mb-3">
<div class="pannel-main col-md-12">
<div class="pannel-main-container">
<nav class="navbar navbar-expand-lg pr-0 pl-0">
<ol class="breadcrumb mb-0 mr-auto">
@@ -24,7 +24,7 @@
<li class="breadcrumb-item">钱包积分</li></li>
</ol>
<span class="navbar-text">
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a>
<a href="javascript:history.back(-1);" class="btn btn-success">返回</a>
</span>
</nav>
<div id="mainCp">
@@ -43,7 +43,7 @@
<tr>
<td width="20%" align="right">兑换数量:</td>
<td width="270"><input name="money" type="text" id="money" class="form-control" value="<?php echo $canCav;?>" style="width:260px"></td>
<td align="left"><button class="btn btn-success btn-sm" type="submit">兑换</button></td>
<td align="left"><button class="btn btn-success" type="submit">兑换</button></td>
</tr>
</tbody>
</table>
@@ -62,13 +62,13 @@
<tr>
<td align="right">验证码</td>
<td width="270">
<input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase">
<img src="../apps/vdimgck.php" alt="验证码" title="验证码" onclick="this.src=this.src+'?'" style="cursor:pointer">
<input name="vdcode" type="text" id="vdcode" class="form-control text-uppercase d-inline-block w-25">
<img src="../apps/vdimgck.php" title="验证码" onclick="this.src=this.src+'?'">
</td>
</tr>
<tr>
<td align="right"></td>
<td><button class="btn btn-success btn-sm" type="submit">充值</button></td>
<td><button class="btn btn-success" type="submit">充值</button></td>
</tr>
</tbody>
</table>
@@ -89,7 +89,7 @@
<?php echo $moneycards;?>
</tbody>
</table>
<button class="btn btn-success btn-sm" type="submit">购买</button>
<button class="btn btn-success" type="submit">购买</button>
</form>
</div>
<div class="postForm mt-3">
@@ -113,7 +113,7 @@
<?php echo $membertypes?>
</tbody>
</table>
<button class="btn btn-success btn-sm" type="submit">购买</button>
<button class="btn btn-success" type="submit">购买</button>
</form>
</div>
</div>
@@ -123,6 +123,6 @@
</div>
</div>
</main>
<?php include(DEDEMEMBER."/templets/footer.htm");?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 6
- 6
src/user/templets/buy_action_payment.htm View File

@@ -11,12 +11,12 @@
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/user.css">
</head>
<body>
<?php include(DEDEMEMBER."/templets/top_login.htm");?>
<?php pasterTempletDiy('top.htm');?>
<main class="member">
<div class="pannel">
<div class="container py-3">
<div class="row">
<div class="pannel-main col-md-12 mt-3 mb-3">
<div class="pannel-main col-md-12">
<div class="pannel-main-container">
<nav class="navbar navbar-expand-lg pr-0 pl-0">
<ol class="breadcrumb mb-0 mr-auto">
@@ -25,7 +25,7 @@
<li class="breadcrumb-item">确认订单</li></li>
</ol>
<span class="navbar-text">
<a href="javascript:history.back(-1);" class="btn btn-success btn-sm">返回</a>
<a href="javascript:history.back(-1);" class="btn btn-success">返回</a>
</span>
</nav>
<div id="mainCp">
@@ -77,8 +77,8 @@
</tr>
<tr>
<td colspan="2" align="center">
<button type="submit" class="btn btn-success btn-sm">购买并支付</button>
<button type="button" class="btn btn-secondary btn-sm" onclick="location='buy.php'">返回</button>
<button type="submit" class="btn btn-success">购买并支付</button>
<button type="button" class="btn btn-secondary" onclick="location='buy.php'">返回</button>
</td>
</tr>
</tbody>
@@ -92,6 +92,6 @@
</div>
</div>
</main>
<?php include(DEDEMEMBER."/templets/footer.htm");?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 7
- 7
src/user/templets/content_list.htm View File

@@ -22,7 +22,7 @@
</script>
</head>
<body>
<?php include(DEDEMEMBER."/templets/top_login.htm");?>
<?php pasterTempletDiy('top.htm');?>
<main class="member">
<div class="pannel">
<div class="container py-3">
@@ -49,7 +49,7 @@
</li>
</ul>
<span class="navbar-text">
<a class="btn btn-success btn-sm" href="archives_do.php?dopost=addArc&channelid=<?php echo $channelid;?>">发布</a>
<a class="btn btn-success" href="archives_do.php?dopost=addArc&channelid=<?php echo $channelid;?>">发布</a>
</span>
</nav>
<div class="table-responsive">
@@ -83,14 +83,14 @@
if ($fields['arcrank']<0 || $dtime - $fields['senddate'] < $maxtime)
{
?>
<a href="javascript:editArc(<?php echo $fields['id']?>,<?php echo $fields['channel']?>);" class="btn btn-success btn-sm">修改</a>
<a href="javascript:delArc(<?php echo $fields['id']?>);" class="btn btn-danger btn-sm">删除</a>
<a href="javascript:editArc(<?php echo $fields['id']?>,<?php echo $fields['channel']?>);" class="btn btn-success">修改</a>
<a href="javascript:delArc(<?php echo $fields['id']?>);" class="btn btn-danger">删除</a>
<?php
} else {
echo "<span class='btn btn-sm'>无操作</span>";
echo "<span class='btn'>无操作</span>";
}
?>
<a href="javascript:viewArc(<?php echo $fields['id'];?>);" class="btn btn-success btn-sm">预览</a>
<a href="javascript:viewArc(<?php echo $fields['id'];?>);" class="btn btn-success">预览</a>
</td>
</tr>
{/dede:datalist}
@@ -104,6 +104,6 @@
</div>
</div>
</main>
<?php include(DEDEMEMBER."/templets/footer.htm");?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 6
- 6
src/user/templets/content_sg_list.htm View File

@@ -22,7 +22,7 @@
</script>
</head>
<body>
<?php include(DEDEMEMBER."/templets/top_login.htm");?>
<?php pasterTempletDiy('top.htm');?>
<main class="member">
<div class="pannel">
<div class="container py-3">
@@ -49,7 +49,7 @@
</li>
</ul>
<span class="navbar-text">
<a class="btn btn-success btn-sm" href="archives_do.php?dopost=addArc&channelid=<?php echo $channelid;?>">发布</a>
<a class="btn btn-success" href="archives_do.php?dopost=addArc&channelid=<?php echo $channelid;?>">发布</a>
</span>
</nav>
<div class="table-responsive">
@@ -79,9 +79,9 @@
<td><?php echo $fields['click'];?></td>
<td><?php echo GetDateMk($fields['senddate']);?></td>
<td align="center" class="doPost">
<a href="javascript:editArc(<?php echo $fields['aid']?>,<?php echo $fields['channel']?>);" class="btn btn-success btn-sm">修改</a>
<a href="javascript:delArc(<?php echo $fields['aid']?>);" class="btn btn-danger btn-sm">删除</a>
<a href="javascript:viewArc(<?php echo $fields['aid'];?>);" class="btn btn-success btn-sm">预览</a>
<a href="javascript:editArc(<?php echo $fields['aid']?>,<?php echo $fields['channel']?>);" class="btn btn-success">修改</a>
<a href="javascript:delArc(<?php echo $fields['aid']?>);" class="btn btn-danger">删除</a>
<a href="javascript:viewArc(<?php echo $fields['aid'];?>);" class="btn btn-success">预览</a>
</td>
</tr>
{/dede:datalist}
@@ -95,6 +95,6 @@
</div>
</div>
</main>
<?php include(DEDEMEMBER."/templets/footer.htm");?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 5
- 5
src/user/templets/edit_baseinfo.htm View File

@@ -11,7 +11,7 @@
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/user.css">
</head>
<body>
<?php include(DEDEMEMBER."/templets/top_login.htm");?>
<?php pasterTempletDiy('top.htm');?>
<main class="member">
<div class="pannel">
<div class="container py-3">
@@ -137,13 +137,13 @@
<label for="iptValidate" class="col-sm-2 col-form-label">验证码</label>
<div class="col-sm-10">
<div class="input-group">
<input name="vdcode" placeholder="请输入验证码" type="text" class="form-control" id="iptValidate">
<img src="<?php echo $cfg_cmsurl;?>/apps/vdimgck.php" id="validateimg" onclick="this.src='<?php echo $cfg_cmsurl;?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" alt="验证码" style="cursor:pointer">
<input name="vdcode" placeholder="请输入验证码" type="text" class="form-control text-uppercase" id="iptValidate">
<img src="<?php echo $cfg_cmsurl;?>/apps/vdimgck.php" id="validateimg" onclick="this.src='<?php echo $cfg_cmsurl;?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码">
</div>
</div>
</div>
<div class="form-group row">
<div class="col-sm-10"><button type="submit" class="btn btn-success btn-sm">保存</button></div>
<div class="col-sm-10"><button type="submit" class="btn btn-success">保存</button></div>
</div>
</form>
</div>
@@ -152,7 +152,7 @@
</div>
</div>
</main>
<?php include(DEDEMEMBER."/templets/footer.htm");?>
<?php pasterTempletDiy('foot.htm');?>
<script>
function checkSubmit() {
if (document.form2.oldpwd.value == '') {


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

@@ -11,7 +11,7 @@
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/user.css">
</head>
<body>
<?php include(DEDEMEMBER."/templets/top_login.htm");?>
<?php pasterTempletDiy('top.htm');?>
<main class="member">
<div class="pannel">
<div class="container py-3">
@@ -45,7 +45,7 @@
</div>
<div class="form-group row">
<div class="col-sm-10">
<button type="submit" class="btn btn-success btn-sm">设置</button>
<button type="submit" class="btn btn-success">设置</button>
</div>
</div>
</form>
@@ -55,6 +55,6 @@
</div>
</div>
</main>
<?php include(DEDEMEMBER."/templets/footer.htm");?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

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

@@ -11,7 +11,7 @@
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/user.css">
</head>
<body>
<?php include(DEDEMEMBER."/templets/top_login.htm");?>
<?php pasterTempletDiy('top.htm');?>
<main class="member">
<div class="pannel">
<div class="container py-3">
@@ -48,7 +48,7 @@
<div class="col-sm-10"><?php if ($face!='') echo " <img src='$face' class='user-img'>";?></div>
</div>
<div class="form-group row">
<div class="col-sm-10"><button type="submit" class="btn btn-success btn-sm">保存</button></div>
<div class="col-sm-10"><button type="submit" class="btn btn-success">保存</button></div>
</div>
</form>
</div>
@@ -57,6 +57,6 @@
</div>
</div>
</main>
<?php include(DEDEMEMBER."/templets/footer.htm");?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 0
- 37
src/user/templets/footer.htm View File

@@ -1,37 +0,0 @@
<footer class="bg-success">
<div class="copyright py-5">
<p class="text-center mb-0"><?php echo $cfg_powerby;?> Powered by <a href="https://www.dedebiz.com" target="_blank">DedeBIZ开发团队</a></p>
</div>
</footer>
<div class="scroll-top">
<button onclick="gotop()" id="btnScrollTop" title="返回顶部">
<i class="fa fa-chevron-up"></i>
</button>
</div>
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/popper.min.js"></script>
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/bootstrap.bundle.min.js"></script>
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/style.js"></script>
<script async src="<?php echo $cfg_cmsurl;?>/apps/statistics.php?url_type=0"></script>
<script>
//校验是否登录
function CheckLogin() {
$.get("<?php echo $cfg_cmsurl;?>/user/ajax_loginsta.php?format=json",function(data) {
let result = JSON.parse(data);
if (result.code === 200) {
$("#_login").html(`
<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();
} else {
$(".areaValidate").show();
}
});
}
//页面加载触发
$(document).ready(function () {
CheckLogin();
});
</script>

+ 11
- 17
src/user/templets/index-notlogin.htm View File

@@ -4,44 +4,38 @@
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<title><?php echo $cfg_webname;?>-会员登录</title>
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css">
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/user.css">
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
</head>
<body>
<?php include(DEDEMEMBER."/templets/header.htm");?>
<?php pasterTempletDiy('top.htm');?>
<main class="login-from">
<div class="container py-3">
<div class="login-area">
<h4 class="text-center py-2">欢迎登录</h4>
<h2 class="text-center mb-3">欢迎登录</h2>
<form name='form1' method='POST' action='<?php echo $cfg_memberurl;?>/index_do.php'>
<input type="hidden" name="fmdo" value="login">
<input type="hidden" name="dopost" value="login">
<input type="hidden" name="keeptime" value="604800">
<input type="hidden" name="gourl" value="<?php if (!empty($gourl)) echo $gourl;?>">
<div class="input-group mb-3">
<input name="userid" type="text" class="form-control" placeholder="输入用户名">
</div>
<div class="form-group">
<div class="input-group">
<input placeholder="输入密码" name="pwd" type="password" class="form-control" id="iptPwd">
</div>
</div>
<div class="form-group"><input name="userid" type="text" class="form-control" placeholder="输入用户名"></div>
<div class="form-group"><input name="pwd" type="password" class="form-control" id="iptPwd" placeholder="输入密码"></div>
<div class="form-group">
<div class="input-group">
<input name="vdcode" placeholder="请输入验证码" type="text" class="form-control" id="iptValidate">
<img src="<?php echo $cfg_cmsurl;?>/apps/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src='<?php echo $cfg_cmsurl;?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" alt="验证码">
<input name="vdcode" type="text" class="form-control text-uppercase" id="iptValidate" placeholder="请输入验证码">
<img src="<?php echo $cfg_cmsurl;?>/apps/vdimgck.php" id="validateimg" onclick="this.src='<?php echo $cfg_cmsurl;?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码">
</div>
</div>
<button type="submit" class="btn btn-success btnLogin btn-sm">登录</button>
<a href="<?php echo $cfg_memberurl;?>/index_do.php?fmdo=user&dopost=regnew" class="btn btn-outline-success btnLogin mt-2 btn-sm">注册</a>
<a href="<?php echo $cfg_memberurl;?>/resetpassword.php" class="text-dark">忘记密码</a>
<div class="form-group"><button type="submit" class="btn btn-success w-100">登录</button></div>
<div class="form-group"><a href="<?php echo $cfg_memberurl;?>/index_do.php?fmdo=user&dopost=regnew" class="btn btn-outline-success w-100">注册</a></div>
<div><a href="<?php echo $cfg_memberurl;?>/resetpassword.php" class="text-dark">忘记密码</a></div>
</form>
</div>
</div>
</main>
<?php include(DEDEMEMBER."/templets/footer.htm");?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 5
- 6
src/user/templets/index.htm View File

@@ -11,10 +11,9 @@
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/user.css">
</head>
<body>
<?php include(DEDEMEMBER."/templets/top_login.htm");?>
<?php pasterTempletDiy('top.htm');?>
<main class="member">
<div class="pannel">
<div class="container py-3">
<div class="row">
<?php
@@ -25,12 +24,12 @@
<div class="pannel-main-container mb-3">
<div class="media-body row">
<div class="col-12 col-md-3 text-center">
<a href="<?php echo $cfg_memberurl;?>/"><img class="member-logo" src="<?php echo $cfg_ml->fields['face'];?>" class="mr-2" alt="<?php echo $cfg_ml->M_MbType;?>"></a>
<a href="<?php echo $cfg_memberurl;?>/"><img src="<?php echo $cfg_ml->fields['face'];?>" title="<?php echo $cfg_ml->M_LoginID;?>" class="member-logo"></a>
<div class="member-type"><span class="badge badge-success"><?php echo $cfg_ml->M_MbType;?></span></div>
</div>
<div class="col-12 col-md-9 title">
<h3 class="mt-0 mb-3"><?php echo $cfg_ml->M_LoginID;?></h3>
<p>积分:<span class="text-danger"><?php echo $cfg_ml->M_Scores;?></span> 金币:<span class="text-danger"><?php echo $cfg_ml->M_Money;?></span> <a href="<?php echo $cfg_memberurl;?>/buy.php" class="btn btn-danger btn-sm">充值</a></p>
<h2><?php echo $cfg_ml->M_LoginID;?></h2>
<p>积分:<span class="text-danger"><?php echo $cfg_ml->M_Scores;?></span> 金币:<span class="text-danger"><?php echo $cfg_ml->M_Money;?></span> <a href="<?php echo $cfg_memberurl;?>/buy.php" class="btn btn-danger">充值</a></p>
</div>
</div>
</div>
@@ -111,6 +110,6 @@
</div>
</main>
<?php include(DEDEMEMBER."/templets/footer.htm");?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 2
- 2
src/user/templets/info.htm View File

@@ -1,14 +1,14 @@
<div class="container py-3">
<div class="text-center member-info">
<a href="<?php echo $cfg_memberurl;?>/">
<img class="member-logo" src="<?php echo $cfg_ml->fields['face'];?>" alt="<?php echo $cfg_ml->M_MbType;?>">
<img class="member-logo" src="<?php echo $cfg_ml->fields['face'];?>" title="<?php echo $cfg_ml->M_MbType;?>">
</a>
<div class="member-type"><span class="badge badge-success"><?php echo $cfg_ml->M_MbType;?>用户</span></div>
<div>
<h4><?php echo $cfg_ml->M_LoginID;?></h4>
</div>
<div class="member-rank text-danger">积分:<?php echo $cfg_ml->M_Scores;?>
金币:<?php echo $cfg_ml->M_Money;?> <a href="buy.php" class="btn btn-danger btn-sm">充值</a>
金币:<?php echo $cfg_ml->M_Money;?> <a href="buy.php" class="btn btn-danger">充值</a>
</div>
<ul class="nav justify-content-center">
<li class="nav-item">


+ 10
- 16
src/user/templets/login.htm View File

@@ -4,14 +4,14 @@
<meta charset="<?php echo $cfg_soft_lang;?>">
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<title><?php echo $cfg_webname;?>-会员登录</title>
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css">
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/user.css">
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
</head>
<body>
<?php include(DEDEMEMBER."/templets/header.htm");?>
<?php pasterTempletDiy('top.htm');?>
<main class="login-from">
<div class="container py-3">
<div class="login-area">
@@ -21,27 +21,21 @@
<input type="hidden" name="dopost" value="login">
<input type="hidden" name="keeptime" value="604800">
<input type="hidden" name="gourl" value="<?php if (!empty($gourl)) echo $gourl;?>">
<div class="input-group mb-3">
<input name="userid" type="text" class="form-control" placeholder="输入用户名">
</div>
<div class="form-group">
<div class="input-group">
<input placeholder="输入密码" name="pwd" type="password" class="form-control" id="iptPwd">
</div>
</div>
<div class="form-group"><input name="userid" type="text" class="form-control" placeholder="输入用户名"></div>
<div class="form-group"><input name="pwd" type="password" class="form-control" id="iptPwd" placeholder="输入密码"></div>
<div class="form-group">
<div class="input-group">
<input name="vdcode" placeholder="请输入验证码" type="text" class="form-control" id="iptValidate">
<img src="<?php echo $cfg_cmsurl;?>/apps/vdimgck.php" id="validateimg" style="cursor:pointer" onclick="this.src='<?php echo $cfg_cmsurl;?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" alt="验证码">
<input name="vdcode" type="text" class="form-control text-uppercase" id="iptValidate" placeholder="请输入验证码">
<img src="<?php echo $cfg_cmsurl;?>/apps/vdimgck.php" id="validateimg" onclick="this.src='<?php echo $cfg_cmsurl;?>/apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码">
</div>
</div>
<button type="submit" class="btn btn-success btnLogin btn-sm">登录</button>
<a href="<?php echo $cfg_memberurl;?>/index_do.php?fmdo=user&dopost=regnew" class="btn btn-outline-success btnLogin mt-2 btn-sm">注册</a>
<a href="<?php echo $cfg_memberurl;?>/resetpassword.php" class="text-dark">忘记密码</a>
<div class="form-group"><button type="submit" class="btn btn-success w-100">登录</button></div>
<div class="form-group"><a href="<?php echo $cfg_memberurl;?>/index_do.php?fmdo=user&dopost=regnew" class="btn btn-outline-success w-100">注册</a></div>
<div><a href="<?php echo $cfg_memberurl;?>/resetpassword.php" class="text-dark">忘记密码</a></div>
</form>
</div>
</div>
</main>
<?php include(DEDEMEMBER."/templets/footer.htm");?>
<?php pasterTempletDiy('foot.htm');?>
</body>
</html>

+ 5
- 5
src/user/templets/mypay.htm View File

@@ -11,7 +11,7 @@
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/user.css">
</head>
<body>
<?php include(DEDEMEMBER."/templets/top_login.htm");?>
<?php pasterTempletDiy('top.htm');?>
<main class="member">
<div class="pannel">
<div class="container py-3">
@@ -28,7 +28,7 @@
<thead>
<tr>
<th width="6%"></th>
<th width="10%">ID</th>
<th width="10%">id</th>
<th>标题</th>
<th width="20%">消费金币</th>
<th width="20%">消费时间</th>
@@ -52,8 +52,8 @@
{/dede:datalist}
<tr>
<td colspan="6">
<button id="checkedClick" type="button" class="btn btn-success btn-sm">全选</button>
<button type="button" onclick="DoSubmit()" class="btn btn-danger btn-sm">删除</button>
<button id="checkedClick" type="button" class="btn btn-success">全选</button>
<button type="button" onclick="DoSubmit()" class="btn btn-danger">删除</button>
</td>
</tr>
</tbody>
@@ -67,7 +67,7 @@
</div>
</div>
</main>
<?php include(DEDEMEMBER."/templets/footer.htm");?>
<?php pasterTempletDiy('foot.htm');?>
<script>
//获得选中文件的文件名
function GetCheckfolderItem() {


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

Loading…
Cancel
Save