Browse Source

提取1.0特征文件

tags/6.2.0
xushubieli 1 year ago
parent
commit
0455347125
100 changed files with 2185 additions and 1063 deletions
  1. +1
    -1
      src/admin/catalog_edit.php
  2. +99
    -1
      src/admin/css/albumupload.css
  3. +91
    -1
      src/admin/css/login.css
  4. +276
    -1
      src/admin/css/menu.css
  5. +2
    -2
      src/admin/freelist_main.php
  6. +2
    -2
      src/admin/index_body.php
  7. +1
    -1
      src/admin/js/album.js
  8. +1
    -1
      src/admin/js/handlers.js
  9. +17
    -26
      src/admin/js/indexbody.js
  10. +940
    -0
      src/admin/js/mode/clike/clike.js
  11. +1
    -1
      src/admin/module_main.php
  12. +2
    -2
      src/admin/search_keywords_main.php
  13. +1
    -1
      src/admin/sys_admin_user_tj.php
  14. +1
    -1
      src/admin/sys_data_done.php
  15. +1
    -1
      src/admin/sys_info.php
  16. +1
    -1
      src/admin/templets/action_search.htm
  17. +1
    -1
      src/admin/templets/ad_add.htm
  18. +2
    -2
      src/admin/templets/ad_main.htm
  19. +2
    -2
      src/admin/templets/adtype_main.htm
  20. +14
    -36
      src/admin/templets/album_add.htm
  21. +113
    -138
      src/admin/templets/album_edit.htm
  22. +9
    -30
      src/admin/templets/archives_add.htm
  23. +45
    -73
      src/admin/templets/archives_edit.htm
  24. +8
    -13
      src/admin/templets/archives_sg_add.htm
  25. +8
    -13
      src/admin/templets/archives_sg_edit.htm
  26. +11
    -31
      src/admin/templets/article_add.htm
  27. +1
    -1
      src/admin/templets/article_coonepage_rule.htm
  28. +1
    -1
      src/admin/templets/article_description_main.htm
  29. +50
    -76
      src/admin/templets/article_edit.htm
  30. +2
    -2
      src/admin/templets/article_keywords_main.htm
  31. +1
    -1
      src/admin/templets/article_keywords_select.htm
  32. +2
    -2
      src/admin/templets/article_result_same.htm
  33. +1
    -1
      src/admin/templets/article_test_same.htm
  34. +1
    -1
      src/admin/templets/cards_make.htm
  35. +2
    -2
      src/admin/templets/cards_manmage.htm
  36. +2
    -2
      src/admin/templets/cards_type.htm
  37. +19
    -19
      src/admin/templets/catalog_add.htm
  38. +22
    -22
      src/admin/templets/catalog_add_quick.htm
  39. +18
    -18
      src/admin/templets/catalog_edit.htm
  40. +1
    -1
      src/admin/templets/content_att.htm
  41. +1
    -1
      src/admin/templets/content_batch_up.htm
  42. +22
    -28
      src/admin/templets/content_i_list.htm
  43. +30
    -36
      src/admin/templets/content_list.htm
  44. +11
    -17
      src/admin/templets/content_s_list.htm
  45. +3
    -3
      src/admin/templets/content_select_list.htm
  46. +13
    -19
      src/admin/templets/content_sg_list.htm
  47. +3
    -3
      src/admin/templets/diy_add.htm
  48. +7
    -7
      src/admin/templets/diy_edit.htm
  49. +1
    -1
      src/admin/templets/diy_list.htm
  50. +3
    -3
      src/admin/templets/diy_main.htm
  51. +2
    -2
      src/admin/templets/erradd.htm
  52. +4
    -4
      src/admin/templets/feedback_main.htm
  53. +1
    -1
      src/admin/templets/file_edit.htm
  54. +14
    -14
      src/admin/templets/file_manage_main.htm
  55. +1
    -1
      src/admin/templets/file_upload.htm
  56. +4
    -4
      src/admin/templets/freelist_add.htm
  57. +3
    -3
      src/admin/templets/freelist_edit.htm
  58. +9
    -17
      src/admin/templets/freelist_main.htm
  59. +1
    -1
      src/admin/templets/friendlink_add.htm
  60. +2
    -2
      src/admin/templets/friendlink_main.htm
  61. +2
    -2
      src/admin/templets/friendlink_type.htm
  62. +16
    -20
      src/admin/templets/index.htm
  63. +18
    -11
      src/admin/templets/index_body.htm
  64. +1
    -1
      src/admin/templets/index_menu.htm
  65. +2
    -2
      src/admin/templets/log_list.htm
  66. +39
    -41
      src/admin/templets/login.htm
  67. +1
    -1
      src/admin/templets/makehtml_all.htm
  68. +1
    -1
      src/admin/templets/makehtml_archives.htm
  69. +1
    -1
      src/admin/templets/makehtml_freelist.htm
  70. +2
    -2
      src/admin/templets/makehtml_homepage.htm
  71. +1
    -1
      src/admin/templets/makehtml_list.htm
  72. +1
    -1
      src/admin/templets/makehtml_spec.htm
  73. +1
    -1
      src/admin/templets/makehtml_taglist.htm
  74. +2
    -2
      src/admin/templets/media_main.htm
  75. +35
    -41
      src/admin/templets/member_main.htm
  76. +6
    -12
      src/admin/templets/member_operations.htm
  77. +12
    -18
      src/admin/templets/member_pm.htm
  78. +10
    -16
      src/admin/templets/member_pmall.htm
  79. +10
    -16
      src/admin/templets/member_pmone.htm
  80. +2
    -2
      src/admin/templets/member_rank.htm
  81. +7
    -7
      src/admin/templets/member_scores.htm
  82. +1
    -1
      src/admin/templets/member_type.htm
  83. +3
    -3
      src/admin/templets/module_edit.htm
  84. +2
    -2
      src/admin/templets/module_main.htm
  85. +3
    -3
      src/admin/templets/module_make.htm
  86. +1
    -1
      src/admin/templets/mychannel_add.htm
  87. +11
    -11
      src/admin/templets/mychannel_edit.htm
  88. +1
    -1
      src/admin/templets/mychannel_field_add.htm
  89. +8
    -8
      src/admin/templets/mychannel_main.htm
  90. +2
    -2
      src/admin/templets/mytag_main.htm
  91. +1
    -1
      src/admin/templets/mytag_tag_guide.htm
  92. +2
    -2
      src/admin/templets/plus_main.htm
  93. +1
    -1
      src/admin/templets/recycling.htm
  94. +1
    -1
      src/admin/templets/shops_delivery.htm
  95. +6
    -12
      src/admin/templets/shops_operations.htm
  96. +10
    -31
      src/admin/templets/soft_add.htm
  97. +12
    -35
      src/admin/templets/soft_edit.htm
  98. +18
    -22
      src/admin/templets/spec_add.htm
  99. +17
    -21
      src/admin/templets/spec_edit.htm
  100. +7
    -8
      src/admin/templets/stepselect_main.htm

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

@@ -232,7 +232,7 @@ if ($dopost == 'time') {
</td>
</tr>
<tr>
<td bgcolor="#FBFCE2" colspan="2" align="center" class="py-2">
<td bgcolor="#fbfce2" colspan="2" align="center" class="py-2">
<button onclick='getSelCat("<?php echo $targetid; ?>");' class='btn btn-success btn-sm'>保存</button>
<button type='button' onclick='CloseMsg()' class='btn btn-success btn-sm'>关闭</button>
</td>


+ 99
- 1
src/admin/css/albumupload.css View File

@@ -1 +1,99 @@
div.flash{margin:10px 5px;width:375px;border-color:#D9E4FF;border-radius:.2rem}#btnSubmit{margin:0 0 0 155px}.progressWrapper{width:357px;overflow:hidden}.progressContainer{padding:4px;margin:5px;background:#f8f8f8;border:solid 1px #E8E8E8;overflow:hidden}.message{margin:10px 0;padding:10px 20px;background:#FFC;border:solid 1px #FD9;overflow:hidden}.red{background:#FFEBEB;border:solid 1px #B50000}.green{background:#EBFFEB;border:solid 1px #DDF0DD}.blue{background:#F0F5FF;border:solid 1px #CEE2F2}.progressName{width:320px;height:14px;text-align:left;white-space:nowrap;overflow:hidden}.progressBarInProgress,.progressBarComplete,.progressBarError{margin-top:2px;width:0;height:2px;font-size:0;background:blue}.progressBarComplete{width:100%;background:green;visibility:hidden}.progressBarError{width:100%;background:#dc3545;visibility:hidden}.progressBarStatus{margin-top:2px;width:340px;text-align:left;white-space:nowrap}a.progressCancel{font-size:0;display:block;height:14px;width:14px;background-image:url(../../images/cancelbutton.gif);background-repeat:no-repeat;background-position:-14px 0;float:right}a.progressCancel:hover{background-position:0 0}.swfupload{vertical-align:top}.albCt{float:left;width:240px;height:180px;margin-right:10px;margin-bottom:10px;border:1px dashed #eee;background:#f8f8f8;text-align:center;padding:10px}.albEdit{height:180px}.picinfo{height:30px;line-height:30px;margin:10px 0}.thumbnails img,.thumbnailsEdit img{margin:5px}.albCt img{max-width:100%;height:100px}
div.flash {
margin:10px 5px;
width:375px;
border-color:#D9E4FF;
border-radius:.2rem
}
#btnSubmit {
margin:0 0 0 150px
}
.progressWrapper {
width:360px;
overflow:hidden
}
.progressContainer {
padding:5px;
margin:5px;
background:#f8f8f8;
border:solid 1px #E8E8E8;
overflow:hidden
}
.message {
margin:10px 0;
padding:10px 20px;
background:#FFC;
border:solid 1px #FD9;
overflow:hidden
}
.red {
background:#FFEBEB;
border:solid 1px #B50000
}
.green {
background:#EBFFEB;
border:solid 1px #DDF0DD
}
.blue {
background:#F0F5FF;
border:solid 1px #CEE2F2
}
.progressName {
width:320px;
height:16px;
text-align:left;
white-space:nowrap;
overflow:hidden
}
.progressBarInProgress,.progressBarComplete,.progressBarError {
margin-top:2px;
width:0;
height:2px;
font-size:0;
background:blue
}
.progressBarComplete {
width:100%;
background:green;
visibility:hidden
}
.progressBarError {
width:100%;
background:#dc3545;
visibility:hidden
}
.progressBarStatus {
margin-top:2px;
width:340px;
text-align:left;
white-space:nowrap
}
.swfupload {
vertical-align:top
}
.albCt {
float:left;
width:220px;
height:auto;
margin-right:10px;
margin-bottom:10px;
border:1px dashed #eee;
background:#f8f8f8;
text-align:center;
padding:10px
}
.albEdit {
height:auto
}
.picinfo {
height:30px;
line-height:30px;
margin:10px 0
}
.thumbnails img,.thumbnailsEdit img {
margin:5px
}
.albCt img {
max-width:200px;
max-height:150px;
cursor:pointer
}

+ 91
- 1
src/admin/css/login.css View File

@@ -1 +1,91 @@
body{font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f8f8f8}img{max-width:100%}input{font-size:14px !important}header{background:#fff}header .logo{padding:1rem 0;width:300px}.goindex{line-height:68px}.login-from{max-width:560px;width:100%}.login-area{padding:1.25rem;background:#fff;border-radius:.2rem}.login-area .btnLogin{width:100%}.login-power{padding-top:1rem}.login-power a,.goindex a{color:#28a745}.btnLogin,.form-control{height:36px}
* {
margin:0;
padding:0;
letter-spacing:.6px;
box-sizing:border-box
}
body {
line-height:1.5;
font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;
color:#545b62;
background:#f8f8f8
}
a {
color:#545b62
}
h2 {
font-size:24px
}
input,select,.btn {
font-size:14px!important
}
.biz-head {
padding:1rem 0;
background:#fff
}
.logo {
height:36px
}
.biz-nav {
height:36px;
line-height:36px
}
.biz-nav-a {
padding-right:30px
}
.biz-btn {
color:#545b62
}
.dropdown-menu {
min-width:8rem;
font-size:14px
}
.dropdown-item {
padding:0 1rem;
height:30px;
line-height:30px;
font-size:14px;
color:#545b62!important
}
.login-from {
margin:0 auto;
width:500px
}
.login-area {
padding:1.25rem;
background:#fff;
border-radius:.2rem
}
.login-power {
padding-top:1rem
}
.login-power a,.goindex a {
color:#1eb867
}
.form-control {
height:36px
}
#browsehappy {
padding:20px 30px;
font-size:14px;
line-height:16px;
color:#856404;
background:#fff3cd;
border-radius:.25rem;
border:0
}
.browsehappy-close {
float:right;
cursor:pointer
}
@media (max-width:760px) {
.biz-head {
padding:1rem 15px
}
.biz-nav-a {
display:none!important
}
.login-from {
width:100%
}
}

+ 276
- 1
src/admin/css/menu.css View File

@@ -1 +1,276 @@
*{margin:0;padding:0;letter-spacing:.4px;box-sizing:border-box}body{line-height:1.5;font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#fff;overflow:hidden}body.hidemenu{background:none}body.showmenu .body-left{display:block}body.hidemenu .body-left{display:none}body.showmenu .body-right{left:240px;transition:all .2s}body.hidemenu .body-right{left:0;transition:all .2s}a,a:hover{text-decoration:none}ul,li{list-style:none}input[type=text]{padding:.2rem;width:160px;height:26px;line-height:26px;font-size:12px;background:#fff;border:0;border-radius:.2rem;vertical-align:middle}input[type=text]:focus{box-shadow:none;outline:none}.body-left{position:absolute;top:60px;width:240px;left:0;bottom:0;z-index:7}.body-right{position:absolute;right:0;top:60px;bottom:0;z-index:7}.main{height:100%}.main iframe{width:100%;height:100%;z-index:20}.menu{height:100%}.menu iframe{width:100%;height:100%;z-index:20}.head{position:relative;width:100%;height:60px;overflow:hidden;z-index:8}.top{width:100%;height:60px;background:linear-gradient(45deg,#008e38,#57960f 50%);box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075)}.top .top-logo{float:left;margin-left:30px;width:210px}.top .top-dedebiz a{float:left;height:60px;line-height:60px;font-size:18px;font-weight:600;color:#fff}.top .top-dedebiz a img{width:90px}.top .top-version a{float:left;height:60px;line-height:60px;font-size:18px;font-weight:600;color:#fff}.top .top-version{float:left;margin-top:20px;margin-left:5px;color:#fff}.top .btn-primary{float:left;margin-top:18px;margin-left:5px;padding:2px;line-height:12px;font-size:12px;color:#fff}.top .btn-warning{float:left;margin-top:18px;margin-left:5px;padding:2px;line-height:12px;font-size:12px;color:#fff}.top .top-item ul li{float:left;padding-left:30px;height:60px;line-height:60px}.top .top-item ul li a,.top .top-admin ul li a{color:#fff}.top .top-item ul li a:hover,.top .top-admin ul li a:hover{color:#dee2e6}.search{margin-left:-20px;height:20px;line-height:20px;font-size:12px;color:#545b62;background:0;border-radius:.2rem;border:0;cursor:pointer}.top .top-admin{float:right;margin-right:30px;height:60px;line-height:60px}.top .top-admin img{margin-right:10px;width:30px;height:30px;border-radius:50%}.top .top-admin ul li{float:left;padding-left:30px;height:60px;line-height:60px}.menu-box{margin:0;padding:0 6px;background:#f8f8f8;overflow:scroll;overflow-x:hidden}.menu-left{padding-top:1rem}.menu-right{width:100%;background:#fff;box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075);border-radius:0 0 .2rem .2rem}a.menu-item div{margin-bottom:6px;padding:6px 0;width:46px;color:#545b62;background:#fff;box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075);border-radius:.2rem 0 0 .2rem;text-align:center;transition:all .2s;cursor:pointer}a.menu-item:hover div{color:#fff;background:#545b62}a.menu-active div{margin-bottom:6px;padding:6px 0;width:46px;color:#fff;background:#545b62;box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075);border-radius:.2rem 0 0 .2rem;text-align:center}dl.bitem{margin:1rem 0 10px 0;padding:0 10px}dl.bitem dt{margin-bottom:10px;padding-left:10px;height:28px;line-height:28px;background:#f8f8f8;border-radius:.2rem;cursor:pointer}dl.bitem dt b{color:#545b62}dl.bitem dt b i{margin-right:10px;width:10px}.sitemu li{display:block;padding-left:30px;height:26px;line-height:26px}.fllct{float:left}.flrct{float:right}.fa{font-size:14px!important}.fa-minus-circle{color:#dc3545}.fa-plus-circle{color:#28a745}
* {
margin:0;
padding:0;
letter-spacing:.6px;
box-sizing:border-box
}
body {
line-height:1.5;
font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;
color:#545b62;
background:#fff
}
body.hidemenu {
background:none
}
body.showmenu .body-left {
display:block
}
body.hidemenu .body-left {
display:none
}
body.showmenu .body-right {
left:230px;
transition:all .2s
}
body.hidemenu .body-right {
left:0;
transition:all .2s
}
a,a:hover {
text-decoration:none
}
ul,li {
list-style:none
}
input[type=text] {
padding:.2rem;
width:160px;
height:26px;
line-height:26px;
font-size:12px;
background:#fff;
border:0;
border-radius:.2rem;
vertical-align:middle
}
input[type=text]:focus {
box-shadow:none;
outline:none
}
.body-left {
position:absolute;
top:60px;
width:230px;
left:0;
bottom:0;
z-index:7
}
.body-right {
position:absolute;
right:0;
top:60px;
bottom:0;
z-index:7
}
.main {
height:100%
}
.main iframe {
width:100%;
height:100%;
z-index:20
}
.menu {
height:100%
}
.menu iframe {
width:100%;
height:100%;
z-index:20
}
.head {
position:relative;
width:100%;
height:60px;
overflow:hidden;
z-index:8
}
.top {
width:100%;
height:60px;
background:linear-gradient(45deg,#008e38,#57960f 50%);
box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075)
}
.top-logo {
margin-left:30px;
float:left;
width:200px
}
.top-dedebiz a {
float:left;
height:60px;
line-height:60px;
font-size:18px;
font-weight:600;
color:#fff
}
.top-dedebiz a img {
width:90px
}
.top-version a {
float:left;
height:60px;
line-height:60px;
font-size:18px;
font-weight:600;
color:#fff
}
.top-version {
float:left;
margin-top:20px;
margin-left:5px;
color:#fff
}
.btn-primary {
float:left;
margin-top:18px;
margin-left:5px;
padding:2px;
line-height:12px;
font-size:12px;
color:#fff
}
.btn-warning {
float:left;
margin-top:18px;
margin-left:5px;
padding:2px;
line-height:12px;
font-size:12px;
color:#fff
}
.top-item ul li {
float:left;
padding-left:30px;
height:60px;
line-height:60px
}
.top-item ul li a,.top-admin ul li a {
color:#fff
}
.top-item ul li a:hover,.top-admin ul li a:hover {
color:#dee2e6
}
.search {
margin-left:-20px;
height:20px;
line-height:20px;
font-size:12px;
color:#545b62;
background:0;
border-radius:.2rem;
border:0;
cursor:pointer
}
.top-admin {
float:right;
margin-right:30px;
height:60px;
line-height:60px
}
.top-admin img {
margin-right:10px;
width:30px;
height:30px;
border-radius:50%
}
.top-admin ul li {
float:left;
padding-left:30px;
height:60px;
line-height:60px
}
.menu-body {
margin:0;
padding:0 10px
}
.menu-left {
padding-top:1rem
}
.menu-right {
width:100%;
background:#fff;
box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075);
border-radius:0 0 .2rem .2rem
}
a.menu-item div {
margin-bottom:5px;
padding:5px 0;
width:40px;
color:#545b62;
background:#fff;
box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075);
border-radius:.2rem 0 0 .2rem;
text-align:center;
transition:all .2s;
cursor:pointer
}
a.menu-item:hover div {
color:#fff;
background:#545b62
}
a.menu-active div {
margin-bottom:5px;
padding:5px 0;
width:40px;
color:#fff;
background:#545b62;
box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075);
border-radius:.2rem 0 0 .2rem;
text-align:center
}
dl.bitem {
margin:1rem 0 10px 0;
padding:0 10px
}
dl.bitem dt {
margin-bottom:10px;
padding-left:10px;
height:28px;
line-height:28px;
background:#f6f6f6;
border-radius:.2rem;
cursor:pointer
}
dl.bitem dt b {
color:#545b62
}
dl.bitem dt b i {
margin-right:10px;
width:10px
}
.sitemu li {
display:block;
padding-left:30px;
height:26px;
line-height:26px
}
.fllct {
float:left
}
.flrct {
float:right
}
.fa {
font-size:14px!important
}
.fa-minus-circle {
color:#dc3545
}
.fa-plus-circle {
color:#28a745
}
#browsehappy {
padding:20px 30px;
font-size:14px;
line-height:16px;
color:#856404;
background:#fff3cd;
border-radius:.25rem;
border:0
}
.browsehappy-close {
float:right;
cursor:pointer
}

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

@@ -61,7 +61,7 @@ function GetTagList($dsql,$pageno,$pagesize,$orderby='aid')
global $cfg_phpurl,$addsql;
$start = ($pageno-1) * $pagesize;
$printhead ="<table width='98%' cellpadding='1' cellspacing='1' align='center' class='table maintable' style='margin-bottom:10px'>
<tr align='center' bgcolor='#FBFCE2'>
<tr align='center' bgcolor='#fbfce2'>
<td width='5%' class='tbsname'><a href='javascript:;' onclick=\"ReloadPage('aid')\">id</a></td>
<td width='20%' class='tbsname'>列表名称</td>
<td width='20%' class='tbsname'>模板文件</td>
@@ -75,7 +75,7 @@ function GetTagList($dsql,$pageno,$pagesize,$orderby='aid')
while($row = $dsql->GetArray())
{
$listurl = GetFreeListUrl($row['aid'],$row['namerule'],$row['listdir'],$row['defaultpage'],$row['nodefault']);
$line = "<tr align='center' onMouseMove=\"javascript:this.bgColor='#FBFCE2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "<tr align='center' onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>{$row['aid']}</td>
<td> <a href='$listurl' target='_blank'>{$row['title']}</a> </td>
<td> {$row['templet']} </td>


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

@@ -68,7 +68,7 @@ else if ($dopost == 'setskin') {
if (!extension_loaded("openssl")) {
echo json_encode(array(
"code" => -1001,
"msg" => "PHP不支持OpenSSL,无法完成商业版授权",
"msg" => "PHP不支持OpenSSL,无法完成商业版授权",
"result" => null,
));
exit;
@@ -76,7 +76,7 @@ else if ($dopost == 'setskin') {
if (empty($cfg_auth_code)) {
echo json_encode(array(
"code" => -1002,
"msg" => "当前站点尚未升级商业版授权",
"msg" => "无法启动商业版组件<a href='https://www.dedebiz.com/auth'>《商业版授权》</a>",
"result" => null,
));
exit;


+ 1
- 1
src/admin/js/album.js View File

@@ -95,7 +95,7 @@ function seePicNewAlb(f, imgdid, frname, hpos, acname) {
newobj.style.top = hpos;
newobj.style.left = 100;
document.body.appendChild(newobj);
newobj.innerHTML = '<img src="../../static/web/img/loadinglit.gif"> 正在上传';
newobj.innerHTML = '<img src="../../static/web/img/loadinglit.gif">';
}
newobj.style.display = 'block';
//提交后还原form的action等参数


+ 1
- 1
src/admin/js/handlers.js View File

@@ -28,5 +28,5 @@ function addImage(src, pid) {
newImgDiv.innerHTML = '<img src="' + src + '" onClick="addtoEdit(' + pid + ')">' + delstr;
}
}
newImgDiv.innerHTML += '<div style="margin-top:10px">名称:<input type="text" name="picinfo' + albImg + '" value="" style="width:' + iptwidth + 'px"></div>';
newImgDiv.innerHTML += '<div class="mt-1">名称:<input type="text" name="picinfo' + albImg+ '" value="" style="width:' + iptwidth + 'px"></div>';
}

+ 17
- 26
src/admin/js/indexbody.js View File

@@ -57,19 +57,19 @@ function ViewDedeBIZ() {
<table width="100%" class="table table-borderless">
<tbody>
<tr>
<td style="width:50%">版本号:</td>
<td width="160">版本号:</td>
<td>V${dedebizInfo.result.server_version}</td>
</tr>
<tr>
<td style="width:50%">运行时间:</td>
<td width="160">运行时间:</td>
<td>${dedebizInfo.result.server_run_time}</td>
</tr>
<tr>
<td style="width:50%">服务器系统:</td>
<td width="160">服务器系统:</td>
<td>${dedebizInfo.result.server_goos}(${dedebizInfo.result.server_goarch})</td>
</tr>
<tr>
<td style="width:50%">内存占用:</td>
<td width="160">内存占用:</td>
<td>${dedebizInfo.result.server_memory_usage}%</td>
</tr>
</tbody>
@@ -84,32 +84,24 @@ function LoadServer() {
if (typeof rsp.result.domain !== "undefined") {
infoStr += `
<tr>
<td style="width:50%">授权域名:</td>
<td>${rsp.result.domain} <a href="${cfg_biz_dedebizUrl}/auth/?domain=${rsp.result.domain}" class="btn btn-success btn-sm">证书</a></td>
<td width="160">授权域名:</td>
<td>${rsp.result.domain}</td>
</tr>
`;
}
if (typeof rsp.result.title !== "undefined") {
infoStr += `
<tr>
<td style="width:50%">站点名称:</td>
<td>${rsp.result.title}</td>
</tr>
`;
}
if (typeof rsp.result.stype !== "undefined") {
infoStr += `
<tr>
<td style="width:50%">站点类型:</td>
<td>${rsp.result.stype}</td>
<td width="160">站点名称:</td>
<td><a href="${cfg_biz_dedebizUrl}/auth/?domain=${rsp.result.domain}">${rsp.result.title}(${rsp.result.stype})</a></td>
</tr>
`;
}
if (typeof rsp.result.auth_version !== "undefined" && typeof rsp.result.auth_at !== "undefined") {
infoStr += `
<tr>
<td style="width:50%">授权版本:</td>
<td>V${rsp.result.auth_version}.x.x(时间:${rsp.result.auth_at})</td>
<td width="160">授权版本:</td>
<td>${rsp.result.auth_version}.x.x(时间:${rsp.result.auth_at})</td>
</tr>
`;
}
@@ -117,15 +109,15 @@ function LoadServer() {
//下面是DedeBIZ Core组件信息
infoStr += `
<tr>
<td style="width:50%">版本组件:</td>
<td><a href="${cfg_biz_dedebizUrl}/start?code=-1008" target="_blank" class="btn btn-danger btn-sm">启动组件</a></td>
<td width="160">版本组件:</td>
<td><a href="${cfg_biz_dedebizUrl}/start?code=-1008" target="_blank" class="btn btn-warning btn-sm">启动组件</a></td>
</tr>
`;
} else {
dedebizInfo = JSON.parse(rsp.result.core.data);
infoStr += `
<tr>
<td style="width:50%">版本组件:</td>
<td width="160">版本组件:</td>
<td><a href="javascript:ViewDedeBIZ()" class="btn btn-success btn-sm">组件信息</a></td>
</tr>
`;
@@ -137,11 +129,10 @@ function LoadServer() {
<table width="100%" class="table table-borderless">
<tbody>
<tr>
<td style="width:60%">尚未启动商业版组件,原因:${rsp.msg}</td>
<td style="text-align:right">当前版本:社区版<a href="${cfg_biz_dedebizUrl}/start?code=${rsp.code}" target="_blank" class="btn btn-success btn-sm ml-3">升级商业版</a></td>
<td>当前站点为社区版,${rsp.msg}</td>
</tr>
<tr>
<td colspan="2">如果您已购买商业版授权,可以在我们的授权中心查询到相信关授权信息,如果查询结果与实际授权不符,则说明您可能购买了非法商业授权,请及时与我们取得联系,谢谢。</td>
<td>如果您已购买商业版授权,可以在我们的授权中心查询到相信关授权信息,如果查询结果与实际授权不符,则说明您可能购买了非法商业授权,请及时与我们取得联系。</td>
</tr>
</tbody>
</table>
@@ -233,7 +224,7 @@ async function LoadStatChart() {
responsive: true,
plugins: {
legend: {
position: 'top',
position: 'right',
}
}
},
@@ -260,7 +251,7 @@ async function LoadStatChart() {
borderWidth: 1
}
, {
label: '访问次数',
label: 'VV',
data: vvs,
borderColor: 'rgba(75, 192, 192, 1)',
backgroundColor: 'rgba(75, 192, 192, 0.2)',


+ 940
- 0
src/admin/js/mode/clike/clike.js View File

@@ -0,0 +1,940 @@
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/LICENSE

(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // AMD
define(["../../lib/codemirror"], mod);
else // Plain browser env
mod(CodeMirror);
})(function(CodeMirror) {
"use strict";

function Context(indented, column, type, info, align, prev) {
this.indented = indented;
this.column = column;
this.type = type;
this.info = info;
this.align = align;
this.prev = prev;
}
function pushContext(state, col, type, info) {
var indent = state.indented;
if (state.context && state.context.type == "statement" && type != "statement")
indent = state.context.indented;
return state.context = new Context(indent, col, type, info, null, state.context);
}
function popContext(state) {
var t = state.context.type;
if (t == ")" || t == "]" || t == "}")
state.indented = state.context.indented;
return state.context = state.context.prev;
}

function typeBefore(stream, state, pos) {
if (state.prevToken == "variable" || state.prevToken == "type") return true;
if (/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(stream.string.slice(0, pos))) return true;
if (state.typeAtEndOfLine && stream.column() == stream.indentation()) return true;
}

function isTopScope(context) {
for (;;) {
if (!context || context.type == "top") return true;
if (context.type == "}" && context.prev.info != "namespace") return false;
context = context.prev;
}
}

CodeMirror.defineMode("clike", function(config, parserConfig) {
var indentUnit = config.indentUnit,
statementIndentUnit = parserConfig.statementIndentUnit || indentUnit,
dontAlignCalls = parserConfig.dontAlignCalls,
keywords = parserConfig.keywords || {},
types = parserConfig.types || {},
builtin = parserConfig.builtin || {},
blockKeywords = parserConfig.blockKeywords || {},
defKeywords = parserConfig.defKeywords || {},
atoms = parserConfig.atoms || {},
hooks = parserConfig.hooks || {},
multiLineStrings = parserConfig.multiLineStrings,
indentStatements = parserConfig.indentStatements !== false,
indentSwitch = parserConfig.indentSwitch !== false,
namespaceSeparator = parserConfig.namespaceSeparator,
isPunctuationChar = parserConfig.isPunctuationChar || /[\[\]{}\(\),;\:\.]/,
numberStart = parserConfig.numberStart || /[\d\.]/,
number = parserConfig.number || /^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,
isOperatorChar = parserConfig.isOperatorChar || /[+\-*&%=<>!?|\/]/,
isIdentifierChar = parserConfig.isIdentifierChar || /[\w\$_\xa1-\uffff]/,
// An optional function that takes a {string} token and returns true if it
// should be treated as a builtin.
isReservedIdentifier = parserConfig.isReservedIdentifier || false;

var curPunc, isDefKeyword;

function tokenBase(stream, state) {
var ch = stream.next();
if (hooks[ch]) {
var result = hooks[ch](stream, state);
if (result !== false) return result;
}
if (ch == '"' || ch == "'") {
state.tokenize = tokenString(ch);
return state.tokenize(stream, state);
}
if (numberStart.test(ch)) {
stream.backUp(1)
if (stream.match(number)) return "number"
stream.next()
}
if (isPunctuationChar.test(ch)) {
curPunc = ch;
return null;
}
if (ch == "/") {
if (stream.eat("*")) {
state.tokenize = tokenComment;
return tokenComment(stream, state);
}
if (stream.eat("/")) {
stream.skipToEnd();
return "comment";
}
}
if (isOperatorChar.test(ch)) {
while (!stream.match(/^\/[\/*]/, false) && stream.eat(isOperatorChar)) {}
return "operator";
}
stream.eatWhile(isIdentifierChar);
if (namespaceSeparator) while (stream.match(namespaceSeparator))
stream.eatWhile(isIdentifierChar);

var cur = stream.current();
if (contains(keywords, cur)) {
if (contains(blockKeywords, cur)) curPunc = "newstatement";
if (contains(defKeywords, cur)) isDefKeyword = true;
return "keyword";
}
if (contains(types, cur)) return "type";
if (contains(builtin, cur)
|| (isReservedIdentifier && isReservedIdentifier(cur))) {
if (contains(blockKeywords, cur)) curPunc = "newstatement";
return "builtin";
}
if (contains(atoms, cur)) return "atom";
return "variable";
}

function tokenString(quote) {
return function(stream, state) {
var escaped = false, next, end = false;
while ((next = stream.next()) != null) {
if (next == quote && !escaped) {end = true; break;}
escaped = !escaped && next == "\\";
}
if (end || !(escaped || multiLineStrings))
state.tokenize = null;
return "string";
};
}

function tokenComment(stream, state) {
var maybeEnd = false, ch;
while (ch = stream.next()) {
if (ch == "/" && maybeEnd) {
state.tokenize = null;
break;
}
maybeEnd = (ch == "*");
}
return "comment";
}

function maybeEOL(stream, state) {
if (parserConfig.typeFirstDefinitions && stream.eol() && isTopScope(state.context))
state.typeAtEndOfLine = typeBefore(stream, state, stream.pos)
}

// Interface

return {
startState: function(basecolumn) {
return {
tokenize: null,
context: new Context((basecolumn || 0) - indentUnit, 0, "top", null, false),
indented: 0,
startOfLine: true,
prevToken: null
};
},

token: function(stream, state) {
var ctx = state.context;
if (stream.sol()) {
if (ctx.align == null) ctx.align = false;
state.indented = stream.indentation();
state.startOfLine = true;
}
if (stream.eatSpace()) { maybeEOL(stream, state); return null; }
curPunc = isDefKeyword = null;
var style = (state.tokenize || tokenBase)(stream, state);
if (style == "comment" || style == "meta") return style;
if (ctx.align == null) ctx.align = true;

if (curPunc == ";" || curPunc == ":" || (curPunc == "," && stream.match(/^\s*(?:\/\/.*)?$/, false)))
while (state.context.type == "statement") popContext(state);
else if (curPunc == "{") pushContext(state, stream.column(), "}");
else if (curPunc == "[") pushContext(state, stream.column(), "]");
else if (curPunc == "(") pushContext(state, stream.column(), ")");
else if (curPunc == "}") {
while (ctx.type == "statement") ctx = popContext(state);
if (ctx.type == "}") ctx = popContext(state);
while (ctx.type == "statement") ctx = popContext(state);
}
else if (curPunc == ctx.type) popContext(state);
else if (indentStatements &&
(((ctx.type == "}" || ctx.type == "top") && curPunc != ";") ||
(ctx.type == "statement" && curPunc == "newstatement"))) {
pushContext(state, stream.column(), "statement", stream.current());
}

if (style == "variable" &&
((state.prevToken == "def" ||
(parserConfig.typeFirstDefinitions && typeBefore(stream, state, stream.start) &&
isTopScope(state.context) && stream.match(/^\s*\(/, false)))))
style = "def";

if (hooks.token) {
var result = hooks.token(stream, state, style);
if (result !== undefined) style = result;
}

if (style == "def" && parserConfig.styleDefs === false) style = "variable";

state.startOfLine = false;
state.prevToken = isDefKeyword ? "def" : style || curPunc;
maybeEOL(stream, state);
return style;
},

indent: function(state, textAfter) {
if (state.tokenize != tokenBase && state.tokenize != null || state.typeAtEndOfLine) return CodeMirror.Pass;
var ctx = state.context, firstChar = textAfter && textAfter.charAt(0);
var closing = firstChar == ctx.type;
if (ctx.type == "statement" && firstChar == "}") ctx = ctx.prev;
if (parserConfig.dontIndentStatements)
while (ctx.type == "statement" && parserConfig.dontIndentStatements.test(ctx.info))
ctx = ctx.prev
if (hooks.indent) {
var hook = hooks.indent(state, ctx, textAfter, indentUnit);
if (typeof hook == "number") return hook
}
var switchBlock = ctx.prev && ctx.prev.info == "switch";
if (parserConfig.allmanIndentation && /[{(]/.test(firstChar)) {
while (ctx.type != "top" && ctx.type != "}") ctx = ctx.prev
return ctx.indented
}
if (ctx.type == "statement")
return ctx.indented + (firstChar == "{" ? 0 : statementIndentUnit);
if (ctx.align && (!dontAlignCalls || ctx.type != ")"))
return ctx.column + (closing ? 0 : 1);
if (ctx.type == ")" && !closing)
return ctx.indented + statementIndentUnit;

return ctx.indented + (closing ? 0 : indentUnit) +
(!closing && switchBlock && !/^(?:case|default)\b/.test(textAfter) ? indentUnit : 0);
},

electricInput: indentSwitch ? /^\s*(?:case .*?:|default:|\{\}?|\})$/ : /^\s*[{}]$/,
blockCommentStart: "/*",
blockCommentEnd: "*/",
blockCommentContinue: " * ",
lineComment: "//",
fold: "brace"
};
});

function words(str) {
var obj = {}, words = str.split(" ");
for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
return obj;
}
function contains(words, word) {
if (typeof words === "function") {
return words(word);
} else {
return words.propertyIsEnumerable(word);
}
}
var cKeywords = "auto if break case register continue return default do sizeof " +
"static else struct switch extern typedef union for goto while enum const " +
"volatile inline restrict asm fortran";

// Keywords from https://en.cppreference.com/w/cpp/keyword includes C++20.
var cppKeywords = "alignas alignof and and_eq audit axiom bitand bitor catch " +
"class compl concept constexpr const_cast decltype delete dynamic_cast " +
"explicit export final friend import module mutable namespace new noexcept " +
"not not_eq operator or or_eq override private protected public " +
"reinterpret_cast requires static_assert static_cast template this " +
"thread_local throw try typeid typename using virtual xor xor_eq";

var objCKeywords = "bycopy byref in inout oneway out self super atomic nonatomic retain copy " +
"readwrite readonly strong weak assign typeof nullable nonnull null_resettable _cmd " +
"@interface @implementation @end @protocol @encode @property @synthesize @dynamic @class " +
"@public @package @private @protected @required @optional @try @catch @finally @import " +
"@selector @encode @defs @synchronized @autoreleasepool @compatibility_alias @available";

var objCBuiltins = "FOUNDATION_EXPORT FOUNDATION_EXTERN NS_INLINE NS_FORMAT_FUNCTION " +
" NS_RETURNS_RETAINEDNS_ERROR_ENUM NS_RETURNS_NOT_RETAINED NS_RETURNS_INNER_POINTER " +
"NS_DESIGNATED_INITIALIZER NS_ENUM NS_OPTIONS NS_REQUIRES_NIL_TERMINATION " +
"NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_SWIFT_NAME NS_REFINED_FOR_SWIFT"

// Do not use this. Use the cTypes function below. This is global just to avoid
// excessive calls when cTypes is being called multiple times during a parse.
var basicCTypes = words("int long char short double float unsigned signed " +
"void bool");

// Do not use this. Use the objCTypes function below. This is global just to avoid
// excessive calls when objCTypes is being called multiple times during a parse.
var basicObjCTypes = words("SEL instancetype id Class Protocol BOOL");

// Returns true if identifier is a "C" type.
// C type is defined as those that are reserved by the compiler (basicTypes),
// and those that end in _t (Reserved by POSIX for types)
// http://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html
function cTypes(identifier) {
return contains(basicCTypes, identifier) || /.+_t$/.test(identifier);
}

// Returns true if identifier is a "Objective C" type.
function objCTypes(identifier) {
return cTypes(identifier) || contains(basicObjCTypes, identifier);
}

var cBlockKeywords = "case do else for if switch while struct enum union";
var cDefKeywords = "struct enum union";

function cppHook(stream, state) {
if (!state.startOfLine) return false
for (var ch, next = null; ch = stream.peek();) {
if (ch == "\\" && stream.match(/^.$/)) {
next = cppHook
break
} else if (ch == "/" && stream.match(/^\/[\/\*]/, false)) {
break
}
stream.next()
}
state.tokenize = next
return "meta"
}

function pointerHook(_stream, state) {
if (state.prevToken == "type") return "type";
return false;
}

// For C and C++ (and ObjC): identifiers starting with __
// or _ followed by a capital letter are reserved for the compiler.
function cIsReservedIdentifier(token) {
if (!token || token.length < 2) return false;
if (token[0] != '_') return false;
return (token[1] == '_') || (token[1] !== token[1].toLowerCase());
}

function cpp14Literal(stream) {
stream.eatWhile(/[\w\.']/);
return "number";
}

function cpp11StringHook(stream, state) {
stream.backUp(1);
// Raw strings.
if (stream.match(/^(?:R|u8R|uR|UR|LR)/)) {
var match = stream.match(/^"([^\s\\()]{0,16})\(/);
if (!match) {
return false;
}
state.cpp11RawStringDelim = match[1];
state.tokenize = tokenRawString;
return tokenRawString(stream, state);
}
// Unicode strings/chars.
if (stream.match(/^(?:u8|u|U|L)/)) {
if (stream.match(/^["']/, /* eat */ false)) {
return "string";
}
return false;
}
// Ignore this hook.
stream.next();
return false;
}

function cppLooksLikeConstructor(word) {
var lastTwo = /(\w+)::~?(\w+)$/.exec(word);
return lastTwo && lastTwo[1] == lastTwo[2];
}

// C#-style strings where "" escapes a quote.
function tokenAtString(stream, state) {
var next;
while ((next = stream.next()) != null) {
if (next == '"' && !stream.eat('"')) {
state.tokenize = null;
break;
}
}
return "string";
}

// C++11 raw string literal is <prefix>"<delim>( anything )<delim>", where
// <delim> can be a string up to 16 characters long.
function tokenRawString(stream, state) {
// Escape characters that have special regex meanings.
var delim = state.cpp11RawStringDelim.replace(/[^\w\s]/g, '\\$&');
var match = stream.match(new RegExp(".*?\\)" + delim + '"'));
if (match)
state.tokenize = null;
else
stream.skipToEnd();
return "string";
}

function def(mimes, mode) {
if (typeof mimes == "string") mimes = [mimes];
var words = [];
function add(obj) {
if (obj) for (var prop in obj) if (obj.hasOwnProperty(prop))
words.push(prop);
}
add(mode.keywords);
add(mode.types);
add(mode.builtin);
add(mode.atoms);
if (words.length) {
mode.helperType = mimes[0];
CodeMirror.registerHelper("hintWords", mimes[0], words);
}

for (var i = 0; i < mimes.length; ++i)
CodeMirror.defineMIME(mimes[i], mode);
}

def(["text/x-csrc", "text/x-c", "text/x-chdr"], {
name: "clike",
keywords: words(cKeywords),
types: cTypes,
blockKeywords: words(cBlockKeywords),
defKeywords: words(cDefKeywords),
typeFirstDefinitions: true,
atoms: words("NULL true false"),
isReservedIdentifier: cIsReservedIdentifier,
hooks: {
"#": cppHook,
"*": pointerHook,
},
modeProps: {fold: ["brace", "include"]}
});

def(["text/x-c++src", "text/x-c++hdr"], {
name: "clike",
keywords: words(cKeywords + " " + cppKeywords),
types: cTypes,
blockKeywords: words(cBlockKeywords + " class try catch"),
defKeywords: words(cDefKeywords + " class namespace"),
typeFirstDefinitions: true,
atoms: words("true false NULL nullptr"),
dontIndentStatements: /^template$/,
isIdentifierChar: /[\w\$_~\xa1-\uffff]/,
isReservedIdentifier: cIsReservedIdentifier,
hooks: {
"#": cppHook,
"*": pointerHook,
"u": cpp11StringHook,
"U": cpp11StringHook,
"L": cpp11StringHook,
"R": cpp11StringHook,
"0": cpp14Literal,
"1": cpp14Literal,
"2": cpp14Literal,
"3": cpp14Literal,
"4": cpp14Literal,
"5": cpp14Literal,
"6": cpp14Literal,
"7": cpp14Literal,
"8": cpp14Literal,
"9": cpp14Literal,
token: function(stream, state, style) {
if (style == "variable" && stream.peek() == "(" &&
(state.prevToken == ";" || state.prevToken == null ||
state.prevToken == "}") &&
cppLooksLikeConstructor(stream.current()))
return "def";
}
},
namespaceSeparator: "::",
modeProps: {fold: ["brace", "include"]}
});

def("text/x-java", {
name: "clike",
keywords: words("abstract assert break case catch class const continue default " +
"do else enum extends final finally for goto if implements import " +
"instanceof interface native new package private protected public " +
"return static strictfp super switch synchronized this throw throws transient " +
"try volatile while @interface"),
types: words("var byte short int long float double boolean char void Boolean Byte Character Double Float " +
"Integer Long Number Object Short String StringBuffer StringBuilder Void"),
blockKeywords: words("catch class do else finally for if switch try while"),
defKeywords: words("class interface enum @interface"),
typeFirstDefinitions: true,
atoms: words("true false null"),
number: /^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,
hooks: {
"@": function(stream) {
// Don't match the @interface keyword.
if (stream.match('interface', false)) return false;

stream.eatWhile(/[\w\$_]/);
return "meta";
},
'"': function(stream, state) {
if (!stream.match(/""$/)) return false;
state.tokenize = tokenTripleString;
return state.tokenize(stream, state);
}
},
modeProps: {fold: ["brace", "import"]}
});

def("text/x-csharp", {
name: "clike",
keywords: words("abstract as async await base break case catch checked class const continue" +
" default delegate do else enum event explicit extern finally fixed for" +
" foreach goto if implicit in interface internal is lock namespace new" +
" operator out override params private protected public readonly ref return sealed" +
" sizeof stackalloc static struct switch this throw try typeof unchecked" +
" unsafe using virtual void volatile while add alias ascending descending dynamic from get" +
" global group into join let orderby partial remove select set value var yield"),
types: words("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func" +
" Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32" +
" UInt64 bool byte char decimal double short int long object" +
" sbyte float string ushort uint ulong"),
blockKeywords: words("catch class do else finally for foreach if struct switch try while"),
defKeywords: words("class interface namespace struct var"),
typeFirstDefinitions: true,
atoms: words("true false null"),
hooks: {
"@": function(stream, state) {
if (stream.eat('"')) {
state.tokenize = tokenAtString;
return tokenAtString(stream, state);
}
stream.eatWhile(/[\w\$_]/);
return "meta";
}
}
});

function tokenTripleString(stream, state) {
var escaped = false;
while (!stream.eol()) {
if (!escaped && stream.match('"""')) {
state.tokenize = null;
break;
}
escaped = stream.next() == "\\" && !escaped;
}
return "string";
}

function tokenNestedComment(depth) {
return function (stream, state) {
var ch
while (ch = stream.next()) {
if (ch == "*" && stream.eat("/")) {
if (depth == 1) {
state.tokenize = null
break
} else {
state.tokenize = tokenNestedComment(depth - 1)
return state.tokenize(stream, state)
}
} else if (ch == "/" && stream.eat("*")) {
state.tokenize = tokenNestedComment(depth + 1)
return state.tokenize(stream, state)
}
}
return "comment"
}
}

def("text/x-scala", {
name: "clike",
keywords: words(
/* scala */
"abstract case catch class def do else extends final finally for forSome if " +
"implicit import lazy match new null object override package private protected return " +
"sealed super this throw trait try type val var while with yield _ " +

/* package scala */
"assert assume require print println printf readLine readBoolean readByte readShort " +
"readChar readInt readLong readFloat readDouble"
),
types: words(
"AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either " +
"Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable " +
"Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering " +
"Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder " +
"StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector " +

/* package java.lang */
"Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable " +
"Compiler Double Exception Float Integer Long Math Number Object Package Pair Process " +
"Runtime Runnable SecurityManager Short StackTraceElement StrictMath String " +
"StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"
),
multiLineStrings: true,
blockKeywords: words("catch class enum do else finally for forSome if match switch try while"),
defKeywords: words("class enum def object package trait type val var"),
atoms: words("true false null"),
indentStatements: false,
indentSwitch: false,
isOperatorChar: /[+\-*&%=<>!?|\/#:@]/,
hooks: {
"@": function(stream) {
stream.eatWhile(/[\w\$_]/);
return "meta";
},
'"': function(stream, state) {
if (!stream.match('""')) return false;
state.tokenize = tokenTripleString;
return state.tokenize(stream, state);
},
"'": function(stream) {
stream.eatWhile(/[\w\$_\xa1-\uffff]/);
return "atom";
},
"=": function(stream, state) {
var cx = state.context
if (cx.type == "}" && cx.align && stream.eat(">")) {
state.context = new Context(cx.indented, cx.column, cx.type, cx.info, null, cx.prev)
return "operator"
} else {
return false
}
},

"/": function(stream, state) {
if (!stream.eat("*")) return false
state.tokenize = tokenNestedComment(1)
return state.tokenize(stream, state)
}
},
modeProps: {closeBrackets: {pairs: '()[]{}""', triples: '"'}}
});

function tokenKotlinString(tripleString){
return function (stream, state) {
var escaped = false, next, end = false;
while (!stream.eol()) {
if (!tripleString && !escaped && stream.match('"') ) {end = true; break;}
if (tripleString && stream.match('"""')) {end = true; break;}
next = stream.next();
if(!escaped && next == "$" && stream.match('{'))
stream.skipTo("}");
escaped = !escaped && next == "\\" && !tripleString;
}
if (end || !tripleString)
state.tokenize = null;
return "string";
}
}

def("text/x-kotlin", {
name: "clike",
keywords: words(
/*keywords*/
"package as typealias class interface this super val operator " +
"var fun for is in This throw return annotation " +
"break continue object if else while do try when !in !is as? " +

/*soft keywords*/
"file import where by get set abstract enum open inner override private public internal " +
"protected catch finally out final vararg reified dynamic companion constructor init " +
"sealed field property receiver param sparam lateinit data inline noinline tailrec " +
"external annotation crossinline const operator infix suspend actual expect setparam value"
),
types: words(
/* package java.lang */
"Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable " +
"Compiler Double Exception Float Integer Long Math Number Object Package Pair Process " +
"Runtime Runnable SecurityManager Short StackTraceElement StrictMath String " +
"StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray " +
"ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy " +
"LazyThreadSafetyMode LongArray Nothing ShortArray Unit"
),
intendSwitch: false,
indentStatements: false,
multiLineStrings: true,
number: /^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,
blockKeywords: words("catch class do else finally for if where try while enum"),
defKeywords: words("class val var object interface fun"),
atoms: words("true false null this"),
hooks: {
"@": function(stream) {
stream.eatWhile(/[\w\$_]/);
return "meta";
},
'*': function(_stream, state) {
return state.prevToken == '.' ? 'variable' : 'operator';
},
'"': function(stream, state) {
state.tokenize = tokenKotlinString(stream.match('""'));
return state.tokenize(stream, state);
},
"/": function(stream, state) {
if (!stream.eat("*")) return false;
state.tokenize = tokenNestedComment(1);
return state.tokenize(stream, state)
},
indent: function(state, ctx, textAfter, indentUnit) {
var firstChar = textAfter && textAfter.charAt(0);
if ((state.prevToken == "}" || state.prevToken == ")") && textAfter == "")
return state.indented;
if ((state.prevToken == "operator" && textAfter != "}" && state.context.type != "}") ||
state.prevToken == "variable" && firstChar == "." ||
(state.prevToken == "}" || state.prevToken == ")") && firstChar == ".")
return indentUnit * 2 + ctx.indented;
if (ctx.align && ctx.type == "}")
return ctx.indented + (state.context.type == (textAfter || "").charAt(0) ? 0 : indentUnit);
}
},
modeProps: {closeBrackets: {triples: '"'}}
});

def(["x-shader/x-vertex", "x-shader/x-fragment"], {
name: "clike",
keywords: words("sampler1D sampler2D sampler3D samplerCube " +
"sampler1DShadow sampler2DShadow " +
"const attribute uniform varying " +
"break continue discard return " +
"for while do if else struct " +
"in out inout"),
types: words("float int bool void " +
"vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 " +
"mat2 mat3 mat4"),
blockKeywords: words("for while do if else struct"),
builtin: words("radians degrees sin cos tan asin acos atan " +
"pow exp log exp2 sqrt inversesqrt " +
"abs sign floor ceil fract mod min max clamp mix step smoothstep " +
"length distance dot cross normalize ftransform faceforward " +
"reflect refract matrixCompMult " +
"lessThan lessThanEqual greaterThan greaterThanEqual " +
"equal notEqual any all not " +
"texture1D texture1DProj texture1DLod texture1DProjLod " +
"texture2D texture2DProj texture2DLod texture2DProjLod " +
"texture3D texture3DProj texture3DLod texture3DProjLod " +
"textureCube textureCubeLod " +
"shadow1D shadow2D shadow1DProj shadow2DProj " +
"shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod " +
"dFdx dFdy fwidth " +
"noise1 noise2 noise3 noise4"),
atoms: words("true false " +
"gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex " +
"gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 " +
"gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 " +
"gl_FogCoord gl_PointCoord " +
"gl_Position gl_PointSize gl_ClipVertex " +
"gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor " +
"gl_TexCoord gl_FogFragCoord " +
"gl_FragCoord gl_FrontFacing " +
"gl_FragData gl_FragDepth " +
"gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix " +
"gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse " +
"gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse " +
"gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose " +
"gl_ProjectionMatrixInverseTranspose " +
"gl_ModelViewProjectionMatrixInverseTranspose " +
"gl_TextureMatrixInverseTranspose " +
"gl_NormalScale gl_DepthRange gl_ClipPlane " +
"gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel " +
"gl_FrontLightModelProduct gl_BackLightModelProduct " +
"gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ " +
"gl_FogParameters " +
"gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords " +
"gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats " +
"gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits " +
"gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits " +
"gl_MaxDrawBuffers"),
indentSwitch: false,
hooks: {"#": cppHook},
modeProps: {fold: ["brace", "include"]}
});

def("text/x-nesc", {
name: "clike",
keywords: words(cKeywords + " as atomic async call command component components configuration event generic " +
"implementation includes interface module new norace nx_struct nx_union post provides " +
"signal task uses abstract extends"),
types: cTypes,
blockKeywords: words(cBlockKeywords),
atoms: words("null true false"),
hooks: {"#": cppHook},
modeProps: {fold: ["brace", "include"]}
});

def("text/x-objectivec", {
name: "clike",
keywords: words(cKeywords + " " + objCKeywords),
types: objCTypes,
builtin: words(objCBuiltins),
blockKeywords: words(cBlockKeywords + " @synthesize @try @catch @finally @autoreleasepool @synchronized"),
defKeywords: words(cDefKeywords + " @interface @implementation @protocol @class"),
dontIndentStatements: /^@.*$/,
typeFirstDefinitions: true,
atoms: words("YES NO NULL Nil nil true false nullptr"),
isReservedIdentifier: cIsReservedIdentifier,
hooks: {
"#": cppHook,
"*": pointerHook,
},
modeProps: {fold: ["brace", "include"]}
});

def("text/x-objectivec++", {
name: "clike",
keywords: words(cKeywords + " " + objCKeywords + " " + cppKeywords),
types: objCTypes,
builtin: words(objCBuiltins),
blockKeywords: words(cBlockKeywords + " @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),
defKeywords: words(cDefKeywords + " @interface @implementation @protocol @class class namespace"),
dontIndentStatements: /^@.*$|^template$/,
typeFirstDefinitions: true,
atoms: words("YES NO NULL Nil nil true false nullptr"),
isReservedIdentifier: cIsReservedIdentifier,
hooks: {
"#": cppHook,
"*": pointerHook,
"u": cpp11StringHook,
"U": cpp11StringHook,
"L": cpp11StringHook,
"R": cpp11StringHook,
"0": cpp14Literal,
"1": cpp14Literal,
"2": cpp14Literal,
"3": cpp14Literal,
"4": cpp14Literal,
"5": cpp14Literal,
"6": cpp14Literal,
"7": cpp14Literal,
"8": cpp14Literal,
"9": cpp14Literal,
token: function(stream, state, style) {
if (style == "variable" && stream.peek() == "(" &&
(state.prevToken == ";" || state.prevToken == null ||
state.prevToken == "}") &&
cppLooksLikeConstructor(stream.current()))
return "def";
}
},
namespaceSeparator: "::",
modeProps: {fold: ["brace", "include"]}
});

def("text/x-squirrel", {
name: "clike",
keywords: words("base break clone continue const default delete enum extends function in class" +
" foreach local resume return this throw typeof yield constructor instanceof static"),
types: cTypes,
blockKeywords: words("case catch class else for foreach if switch try while"),
defKeywords: words("function local class"),
typeFirstDefinitions: true,
atoms: words("true false null"),
hooks: {"#": cppHook},
modeProps: {fold: ["brace", "include"]}
});

// Ceylon Strings need to deal with interpolation
var stringTokenizer = null;
function tokenCeylonString(type) {
return function(stream, state) {
var escaped = false, next, end = false;
while (!stream.eol()) {
if (!escaped && stream.match('"') &&
(type == "single" || stream.match('""'))) {
end = true;
break;
}
if (!escaped && stream.match('``')) {
stringTokenizer = tokenCeylonString(type);
end = true;
break;
}
next = stream.next();
escaped = type == "single" && !escaped && next == "\\";
}
if (end)
state.tokenize = null;
return "string";
}
}

def("text/x-ceylon", {
name: "clike",
keywords: words("abstracts alias assembly assert assign break case catch class continue dynamic else" +
" exists extends finally for function given if import in interface is let module new" +
" nonempty object of out outer package return satisfies super switch then this throw" +
" try value void while"),
types: function(word) {
// In Ceylon all identifiers that start with an uppercase are types
var first = word.charAt(0);
return (first === first.toUpperCase() && first !== first.toLowerCase());
},
blockKeywords: words("case catch class dynamic else finally for function if interface module new object switch try while"),
defKeywords: words("class dynamic function interface module object package value"),
builtin: words("abstract actual aliased annotation by default deprecated doc final formal late license" +
" native optional sealed see serializable shared suppressWarnings tagged throws variable"),
isPunctuationChar: /[\[\]{}\(\),;\:\.`]/,
isOperatorChar: /[+\-*&%=<>!?|^~:\/]/,
numberStart: /[\d#$]/,
number: /^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,
multiLineStrings: true,
typeFirstDefinitions: true,
atoms: words("true false null larger smaller equal empty finished"),
indentSwitch: false,
styleDefs: false,
hooks: {
"@": function(stream) {
stream.eatWhile(/[\w\$_]/);
return "meta";
},
'"': function(stream, state) {
state.tokenize = tokenCeylonString(stream.match('""') ? "triple" : "single");
return state.tokenize(stream, state);
},
'`': function(stream, state) {
if (!stringTokenizer || !stream.match('`')) return false;
state.tokenize = stringTokenizer;
stringTokenizer = null;
return state.tokenize(stream, state);
},
"'": function(stream) {
stream.eatWhile(/[\w\$_\xa1-\uffff]/);
return "atom";
},
token: function(_stream, state, style) {
if ((style == "variable" || style == "type") &&
state.prevToken == ".") {
return "variable-2";
}
}
},
modeProps: {
fold: ["brace", "import"],
closeBrackets: {triples: '"'}
}
});

});

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

@@ -141,7 +141,7 @@ else if ($action == 'setup') {
}
}
$prvdir = "<table cellpadding='1' cellspacing='1'>\r\n";
$prvdir .= "<tr style='background:#FBFCE2'><th width='270'>目录</td><th align='center'>可写</td></tr>\r\n";
$prvdir .= "<tr style='background:#fbfce2'><th width='270'>目录</td><th align='center'>可写</td></tr>\r\n";
foreach ($prvdirs as $k => $v) {
if ($v) $cw = '√';
else $cw = "<span class='text-danger'>×</span>";


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

@@ -61,7 +61,7 @@ function GetKeywordList($dsql, $pageno, $pagesize, $orderby = 'aid')
$printhead = "<form name='form3' action=\"search_keywords_main.php\" method=\"post\">
<input name=\"dopost\" type=\"hidden\" value=\"\">
<table width='98%' cellpadding='1' cellspacing='1' style='margin-bottom:10px' align='center' class='table maintable'>
<tr align='center' bgcolor='#FBFCE2'>
<tr align='center' bgcolor='#fbfce2'>
<td width='5%'>选择</td>
<td width='6%'><a href='javascript:;' onclick=\"ReloadPage('aid')\">id</a></td>
<td width='20%'>关键词</td>
@@ -79,7 +79,7 @@ function GetKeywordList($dsql, $pageno, $pagesize, $orderby = 'aid')
$dsql->Execute();
while ($row = $dsql->GetArray()) {
$line = "
<tr align='center' onMouseMove=\"javascript:this.bgColor='#FBFCE2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<tr align='center' onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td><input name=\"aids[]\" type=\"checkbox\" class=\"np\" value=\"{$row['aid']}\" /></td>
<td>{$row['aid']}</td>
<td><input name='keyword' type='text' id='keyword{$row['aid']}' value='{$row['keyword']}' style='width:93%;'></td>


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

@@ -94,7 +94,7 @@ if (isset($dopost) && $dopost == 'getone') {
$ddd = $row['dd'] + $ddd;
$ccd = $row['cc'] + $ccd;
$msg = "<table width='100%' align='center' cellpadding='3' cellspacing='1'>
<tr align='center' bgcolor='#FBFCE2'>
<tr align='center' bgcolor='#fbfce2'>
<td width='18%'>管理员</td>
<td width='18%'>文档与点击</td>
<td width='16%'>季度</td>


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

@@ -257,7 +257,7 @@ else if ($dopost == 'redat') {
function PutInfo($msg1, $msg2)
{
global $cfg_soft_lang;
$msginfo = "<!DOCTYPE html><html><head><meta charset='utf-8'><meta http-equiv='X-UA-Compatible' content='IE=Edge,chrome=1'><title>提示信息</title><style>body{margin:0;line-height:1.5;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f8f8f8}a{color:#28a745;text-decoration:none}.tips{margin:70px auto 0;padding:0;width:430px;height:auto;background:#fff;border-radius:.2rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.075)}.tips-head{margin:0 20px;padding:16px 0;border-bottom:1px solid #f8f8f8}.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #dc3545}.tips-box{padding:20px;min-height:120px;color:#545b62}.btn a{display:inline-block;margin:20px auto 0;padding:.375rem .75rem;font-size:12px;color:#fff;background:#28a745;border-radius:.2rem;text-align:center;transition:all .6s}.btn a:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(38,159,86,.5)}@media (max-width:768px){body{padding:0 15px}.tips{width:100%}}</style></head><body><center><div class='tips'><div class='tips-head'><p>提示信息</p></div><div class='tips-box'>{$msg1}{$msg2}</div></div>";
$msginfo = "<!DOCTYPE html><html><head><meta charset='utf-8'><meta http-equiv='X-UA-Compatible' content='IE=Edge,chrome=1'><title>提示信息</title><style>body{margin:0;line-height:1.5;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f8f8f8}a{color:#28a745;text-decoration:none}.tips{margin:70px auto 0;padding:0;width:500px;height:auto;background:#fff;border-radius:.2rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.075)}.tips-head{margin:0 20px;padding:16px 0;border-bottom:1px solid #f8f8f8}.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #dc3545}.tips-box{padding:20px;min-height:120px;color:#545b62}.btn a{display:inline-block;margin:20px auto 0;padding:.375rem .75rem;font-size:12px;color:#fff;background:#28a745;border-radius:.2rem;text-align:center;transition:all .6s}.btn a:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(38,159,86,.5)}@media (max-width:768px){body{padding:0 15px}.tips{width:100%}}</style></head><body><center><div class='tips'><div class='tips-head'><p>提示信息</p></div><div class='tips-box'>{$msg1}{$msg2}</div></div>";
echo $msginfo."</center></body></html>";
}
function RpLine($str)


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

@@ -97,7 +97,7 @@ else if ($dopost == 'search') {
$configstr = <<<EOT
<table width="100%" cellspacing="1" cellpadding="1" id="tdSearch">
<tbody>
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="300">参数说明</td>
<td>参数值</td>
<td width="220">变量名</td>


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

@@ -13,7 +13,7 @@
<tr>
<td bgcolor="#f8f8f8">当前位置 &gt; 搜索结果</td>
</tr>
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td align="left">&quot;<span class="text-danger"><?php echo $keyword; ?></span>&quot;的搜索结果</td>
</tr>
<tr align="center">


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

@@ -66,7 +66,7 @@
cursor: pointer;
}
.typetab ul .act {
background:#FBFCE2;
background:#fbfce2;
}
.i_table {
border: 1px solid #eee;


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

@@ -33,7 +33,7 @@
</form>
</td>
</tr>
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="8%">id</td>
<td width="20%">分类</td>
<td width="20%">广告名称</td>
@@ -43,7 +43,7 @@
<td width="18%">管理</td>
</tr>
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>{dede:field.aid/}</td>
<td>{dede:field.clsname function='TestType(@me,1)'/}</td>
<td>{dede:field.adname/}</td>


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

@@ -14,7 +14,7 @@
<tr>
<td bgcolor="#f8f8f8" colspan="7"><input type="hidden" name="dopost" value="save">广告分类管理<a href="ad_main.php" class="btn btn-success btn-sm ml-2">广告管理</a></td>
</tr>
<tr bgcolor="#FBFCE2">
<tr bgcolor="#fbfce2">
<td width="9%" align="center">id</td>
<td width="55%" align="center">广告分类</td>
<td width="36%" align="center">状态</td>
@@ -36,7 +36,7 @@
}
?>
<input type="hidden" name="idend" value="<?php echo $k?>">
<tr bgcolor="#FBFCE2">
<tr bgcolor="#fbfce2">
<td colspan="5" bgcolor="#f8f8f8">新增一个广告类型:</td>
</tr>
<tr align="center">


+ 14
- 36
src/admin/templets/album_add.htm View File

@@ -21,12 +21,6 @@
<script src="js/album.js"></script>
<script src="js/handlers.js"></script>
<script src="../static/web/js/cropper.min.js"></script>
<style>
img{margin:0 10px;vertical-align:baseline}
table{border-collapse:separate}
.albEdit {height:auto}
.form-control{display:inline-block;margin-right:10px;width:160px}
</style>
<script>
var swfu = null;
var vcc = 0;
@@ -63,37 +57,24 @@
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="maxwidth" id="maxwidth" size="10" value="<?php echo $cfg_album_width; ?>">
<input type="hidden" id="albums" name="albums" value="">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-book"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">图集列表</a> &gt; 发布图集</td>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">图集列表</a> &gt; 发布图集</td>
<td width="30%" align="right"><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
<tr>
<td colspan="2">
<table width="168" cellpadding="0" cellspacing="0">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">常规内容</td>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">高级参数</a></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规内容</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head2" style="display:none">
<tr>
<td colspan="2">
<table width="168" cellpadding="0" cellspacing="0">
<tr>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规内容</a></td>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">高级参数</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6;">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -163,7 +144,7 @@
<button type="button" id="btnClearAll" class="btn btn-sm btn-success delete">清空</button>
<label><input type="checkbox" name="ddisfirst" value="1"> 使用图集的第一幅图</label>
</td>
<td width="260" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="max-width:100px;max-height:80px"></td>
<td align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" class="thumbnail"></td>
</tr>
</table>
</td>
@@ -201,7 +182,7 @@
echo "</select>";
?>
</span>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title="快捷选择" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title="快捷选择" style="cursor:pointer"></i>
<?php
if($cfg_need_typeid2=='Y')
{
@@ -223,7 +204,7 @@
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="" style="width:160px">
<i class="btn btn-sm fa fa-search" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title='选择副栏目'></i>
<i class="btn btn-sm fa fa-search" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title='选择副栏目'></i>
</td>
</tr>
</table>
@@ -275,13 +256,13 @@
<tr>
<td> 多列式参数:</td>
<td>
&nbsp;<input type="text" name="row" id="row" value="<?php echo $cfg_album_row; ?>" size="6">
&nbsp;<input type="text" name="col" id="col" value="<?php echo $cfg_album_col; ?>" size="6">
<input type="text" name="row" id="row" value="<?php echo $cfg_album_row; ?>" size="6">
<input type="text" name="col" id="col" value="<?php echo $cfg_album_col; ?>" size="6">
缩略图宽度限制:<input type="text" name="ddmaxwidth" id="ddmaxwidth" value="<?php echo $cfg_album_ddwidth; ?>" size="6"> 像素
</td>
</tr>
<tr>
<td width="84"></td>
<td width="80"></td>
<td>(系统仅是每页输出&quot;行x列&quot;张图片,实现需自行控制样式表)</td>
</tr>
</table>
@@ -336,7 +317,7 @@
把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片
<input type="button" name="button" id="button" value="预览" onClick="LoadTestDiv()">
<br>
<div id="copyhtml" style="margin-top:6px;margin-bottom:6px;border:solid 1px #CCCCCC;width:96%;padding:6px;height:260px;width:100%" contenteditable="true">粘贴到这里</div>
<div id="copyhtml" style="margin-top:10px;margin-bottom:10px;padding:10px;width:96%;height:260px;border:solid 1px #ccc" contenteditable="true">粘贴到这里</div>
</td>
</tr>
</table>
@@ -368,7 +349,7 @@
</td>
</tr>
<tr>
<td colspan="4">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 图集内容:</td>
@@ -377,9 +358,6 @@
</table>
</td>
</tr>
</table>
<!--高级参数-->
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #dee2e6;display:none">
<tr>
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -461,7 +439,7 @@
</td>
</tr>
</table>
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3">
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3">
<tr>
<td align="center" class="py-2">
<button type="submit" class="btn btn-success btn-sm">保存</button>


+ 113
- 138
src/admin/templets/album_edit.htm View File

@@ -21,12 +21,6 @@
<script src="js/album.js"></script>
<script src="js/handlers.js"></script>
<script src="../static/web/js/cropper.min.js"></script>
<style>
img{margin:0 10px;vertical-align:baseline}
table{border-collapse:separate}
.albEdit {height:auto}
.form-control{display:inline-block;margin-right:10px;width:160px}
</style>
<script>
var swfu = null;
var vcc = 0;
@@ -62,37 +56,24 @@
<input type="hidden" name="imagebody" value="">
<input type="hidden" name="dopost" value="save">
<input type="hidden" id="albums" name="albums" value="">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-book"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">图集列表</a> &gt; 修改图集</td>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">图集列表</a> &gt; 修改图集</td>
<td width="30%" align="right"><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
<tr>
<td colspan="2">
<table width="168" cellpadding="0" cellspacing="0">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">常规内容</td>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">图集图片</a></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规内容</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head2" style="display:none">
<tr>
<td colspan="2">
<table width="168" cellpadding="0" cellspacing="0">
<tr>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规内容</a></td>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">图集图片</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6;">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -160,9 +141,9 @@
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-smete">清空</button>
</td>
<td align="center"><img id="litPic" src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" style="max-width:100px;max-height:80px"></td>
<td align="center"><img src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" id="litPic" class="thumbnail"></td>
</tr>
</table>
</td>
@@ -198,7 +179,7 @@
echo $typeOptions;
echo '</select>';
?>
<i class="btn btn-sm fa fa-search" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title="快捷选择"></i>
<i class="btn btn-sm fa fa-search" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title="快捷选择"></i>
</td>
<td width="90">消费金币:</td>
<td><input type="text" name="money" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td>
@@ -217,7 +198,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" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')" title="选择副栏目"></i>
</td>
</tr>
</table>
@@ -253,107 +234,6 @@
?>
</td>
</tr>
<tr>
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 图集内容:</td>
<td><?php GetEditor("body",$body,450,"Diy"); ?></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#f8f8f8" class="bline2"> 高级属性:</td>
</tr>
<tr>
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" width="260"> 评论选项:</td>
<td width="260">
<label><input type="radio" name="notpost" value="0" <?php if($arcRow['notpost']==0) echo "checked='1'"; ?>> 允许评论</label>
<label><input type="radio" name="notpost" value="1" <?php if($arcRow['notpost']==1) echo "checked='1'"; ?>> 禁止评论</label>
</td>
<td width="90">发布选项:</td>
<td>
<label><input type="radio" name="ishtml" value="1" <?php if($arcRow["ismake"]!=-1) echo "checked"; ?>> 生成网页</label>
<label><input type="radio" name="ishtml" value="0" <?php if($arcRow["ismake"]==-1) echo "checked"; ?>> 仅动态浏览</label>
</td>
</tr>
</table>
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文档排序:</td>
<td width="260">
<select name="sortup" id="sortup" style="width:160px">
<?php
$subday = SubDay($arcRow["sortrank"],$arcRow["pubdate"]);
echo "<option value='0'>正常排序</option>";
if($subday>0) echo "<option value='$subday' selected>置顶 $subday 天</option>";
?>
<option value="7">置顶一周</option>
<option value="30">置顶一个月</option>
<option value="90">置顶三个月</option>
<option value="180">置顶半年</option>
<option value="360">置顶一年</option>
</select></td>
<td width="90">标题颜色:</td>
<td>
<input type="text" name="color" id="color" value="<?php echo $arcRow['color']?>" style="width:160px">
<button type="button" name="modcolor" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 阅读权限:</td>
<td width="260">
<select name="arcrank" id="arcrank" style="width:160px">
<option value="<?php echo $arcRow['arcrank']?>"> <?php echo $arcRow["rankname"]?> </option>
<?php
$urank = $cuserLogin->getUserRank();
$dsql->SetQuery("Select * from #@__arcrank where adminrank<='$urank'");
$dsql->Execute();
while($row = $dsql->GetObject()){
echo "<option value='".$row->rank."'>".$row->membername."</option>";
}
?>
</select>
</td>
<td width="90">文件名称:</td>
<td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" style="width:160px">(不包括后缀名如.html等)</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="70" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布时间:</td>
<td width="260">
<?php
$nowtime = GetDateTimeMk(time());
echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker' style='width:160px'>";
?>
</td>
<td width="90">浏览次数:</td>
<td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:160px"></td>
</tr>
</table>
</td>
</tr>
</table>
<!--高级参数-->
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #dee2e6;display:none">
<tr>
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -374,13 +254,13 @@
<tr>
<td width="260"> 多列式参数:</td>
<td>
&nbsp;<input type="text" name="row" id="row" value="<?php echo $irow; ?>" size="6">
&nbsp;<input type="text" name="col" id="col" value="<?php echo $icol; ?>" size="6">
<input type="text" name="row" id="row" value="<?php echo $irow; ?>" size="6">
<input type="text" name="col" id="col" value="<?php echo $icol; ?>" size="6">
缩略图宽度限制:<input type="text" name="ddmaxwidth" id="ddmaxwidth" value="<?php echo $ddmaxwidth; ?>" size="6"> 像素
</td>
</tr>
<tr>
<td width="84"></td>
<td width="80"></td>
<td>(系统仅是每页输出&quot;行x列&quot;张图片,实现需自行控制样式表)</td>
</tr>
</table>
@@ -472,10 +352,10 @@
$fhtml .= "<div class='albCt albEdit' id='albold{$j}'>";
$fhtml .= "<input type='hidden' name='imgurl{$j}' value='{$bigimg}'>";
$fhtml .= "<input type='hidden' name='imgddurl{$j}' value='{$litimg}'>";
$fhtml .= "<img src='{$litimg}'style='width:120px'><a href=\"javascript:delAlbPicOld('$bigimg',$j)\" class=\"btn btn-success btn-sm\">删除</a>";
$fhtml .= "<div style='margin-top:10px'>名称:<input type='text' name='imgmsg{$j}' value='".$ctag->GetAtt('text')."'></div>";
$fhtml .= "<div style='margin-top:10px'>更换:<input type='file' name='imgfile{$j}' style='width:160px'></div>";
$fhtml .= "</div>";
$fhtml .= "<img src='{$litimg}'><a href=\"javascript:delAlbPicOld('$bigimg',$j)\" class=\"btn btn-success btn-sm\">删除</a>";
$fhtml .= "<div class='mt-1'>名称:<input type='text' name='imgmsg{$j}' value='".$ctag->GetAtt('text')."' style='width:160px'></div>";
$fhtml .= "<div class='mt-1'>更换:<input type='file' name='imgfile{$j}' style='width:160px'></div>";
$fhtml .= "</div>";
echo $fhtml;
$j++;
}
@@ -501,7 +381,7 @@
</td>
</tr>
<tr>
<td colspan="4">
<td colspan="4" class="bline">
<table width="100%">
<tr>
<td>
@@ -512,8 +392,103 @@
</table>
</td>
</tr>
<tr>
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 图集内容:</td>
<td><?php GetEditor("body",$body,450,"Diy"); ?></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" width="260"> 评论选项:</td>
<td width="260">
<label><input type="radio" name="notpost" value="0" <?php if($arcRow['notpost']==0) echo "checked='1'"; ?>> 允许评论</label>
<label><input type="radio" name="notpost" value="1" <?php if($arcRow['notpost']==1) echo "checked='1'"; ?>> 禁止评论</label>
</td>
<td width="90">发布选项:</td>
<td>
<label><input type="radio" name="ishtml" value="1" <?php if($arcRow["ismake"]!=-1) echo "checked"; ?>> 生成网页</label>
<label><input type="radio" name="ishtml" value="0" <?php if($arcRow["ismake"]==-1) echo "checked"; ?>> 仅动态浏览</label>
</td>
</tr>
</table>
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文档排序:</td>
<td width="260">
<select name="sortup" id="sortup" style="width:160px">
<?php
$subday = SubDay($arcRow["sortrank"],$arcRow["pubdate"]);
echo "<option value='0'>正常排序</option>";
if($subday>0) echo "<option value='$subday' selected>置顶 $subday 天</option>";
?>
<option value="7">置顶一周</option>
<option value="30">置顶一个月</option>
<option value="90">置顶三个月</option>
<option value="180">置顶半年</option>
<option value="360">置顶一年</option>
</select></td>
<td width="90">标题颜色:</td>
<td>
<input type="text" name="color" id="color" value="<?php echo $arcRow['color']?>" style="width:160px">
<button type="button" name="modcolor" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 阅读权限:</td>
<td width="260">
<select name="arcrank" id="arcrank" style="width:160px">
<option value="<?php echo $arcRow['arcrank']?>"> <?php echo $arcRow["rankname"]?> </option>
<?php
$urank = $cuserLogin->getUserRank();
$dsql->SetQuery("Select * from #@__arcrank where adminrank<='$urank'");
$dsql->Execute();
while($row = $dsql->GetObject()){
echo "<option value='".$row->rank."'>".$row->membername."</option>";
}
?>
</select>
</td>
<td width="90">文件名称:</td>
<td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" style="width:160px">(不包括后缀名如.html等)</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="70" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布时间:</td>
<td width="260">
<?php
$nowtime = GetDateTimeMk(time());
echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker' style='width:160px'>";
?>
</td>
<td width="90">浏览次数:</td>
<td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:160px"></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3">
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3">
<tr>
<td align="center" class="py-2">
<button type="submit" class="btn btn-success btn-sm">保存</button>


+ 9
- 30
src/admin/templets/archives_add.htm View File

@@ -18,10 +18,6 @@
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="js/main.js"></script>
<script src="../static/web/js/cropper.min.js"></script>
<style>
table{border-collapse:separate}
.form-control{display:inline-block;margin-right:10px;width:160px}
</style>
<script>
function checkSubmit() {
if (document.form1.title.value == "") {
@@ -36,9 +32,9 @@
</script>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-book"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 发布商品</td>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 发布商品</td>
<td width="30%" align="right"><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td>
</tr>
</table>
@@ -47,21 +43,7 @@
<td colspan="2">
<table width="900" cellpadding="0" cellspacing="0">
<tr>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">常规信息</td>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">高级参数</a></td>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head2" style="display:none">
<tr>
<td colspan="2">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规信息</a></td>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">高级参数</td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规信息</td>
</tr>
</table>
</td>
@@ -71,7 +53,7 @@
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="cid" value="<?php echo $cid?>">
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -140,7 +122,7 @@
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class='btn btn-success btn-sm'>选择图片</button>
<button type="button" id="btnClearAll" class="btn btn-success delete">清空</button>
</td>
<td align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="max-width:100px;max-height:80px"></td>
<td align="center"><img src="../static/web/img/defaultpic.jpg" id="litPic" class="thumbnail"></td>
</tr>
</table>
</td>
@@ -185,7 +167,7 @@
echo "</select>";
?>
</span>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title="快捷选择" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title="快捷选择" style="cursor:pointer"></i>
<?php
if($cfg_need_typeid2=='Y')
{
@@ -207,7 +189,7 @@
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="" style="width:160px">
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title="选择副栏目" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title="选择副栏目" style="cursor:pointer"></i>
</td>
</tr>
</table>
@@ -258,11 +240,8 @@
</td>
</tr>
<tr>
<td><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset'])); ?></td>
<td class="bline"><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset'])); ?></td>
</tr>
</table>
<!--高级参数-->
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #dee2e6;display:none">
<tr>
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -344,7 +323,7 @@
</td>
</tr>
</table>
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3">
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3">
<tr>
<td align="center" class="py-2">
<button type="submit" class="btn btn-success btn-sm">保存</button>


+ 45
- 73
src/admin/templets/archives_edit.htm View File

@@ -27,18 +27,12 @@
}
}
</script>
<style>
body{background:#fff}
img{vertical-align:baseline}
table{border-collapse:separate}
.form-control{display:inline-block;margin-right:10px;width:160px}
</style>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%" height="26"><i class="fa fa-book"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 修改商品</td>
<td width="30%" align='right'><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 修改商品</td>
<td width="30%" align="right"><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
@@ -46,20 +40,7 @@ table{border-collapse:separate}
<td colspan="2">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规信息</td>
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级参数</a></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head2" style="display:none">
<tr>
<td colspan="2">
<table height="26" cellpadding="0" cellspacing="0">
<tr>
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem1()">常规信息</a></td>
<td width="86" align="center" background="../static/web/img/itemnote1.gif">高级参数</td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规信息</td>
</tr>
</table>
</td>
@@ -69,24 +50,24 @@ table{border-collapse:separate}
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="id" value="<?php echo $aid?>">
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td height="26" class="bline">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;<?php echo $cInfos['titlename']; ?>:</td>
<td width="90"> <?php echo $cInfos['titlename']; ?>:</td>
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="90">&nbsp;简略标题:</td>
<td width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="400%" height="26" class="bline">
<td width="400%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;自定义属性:</td>
<td width="90"> 自定义属性:</td>
<td>
<?php
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC");
@@ -107,21 +88,21 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" class="bline" id="redirecturltr"
<td class="bline" id="redirecturltr"
style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block'); ?>">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;跳转网址:</td>
<td width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']; ?>" style="width:300px"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="400%" height="26" class="bline">
<td width="400%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
@@ -130,29 +111,27 @@ table{border-collapse:separate}
</td>
</tr>
<tr id="pictable" style='<?php if($cInfos['needpic']==0) echo 'display:none'; ?>'>
<td height="26" class="bline">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" height="80">&nbsp;缩略图:</td>
<td width="90" height="80"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="np">&nbsp;远程</label>
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="np"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button>
</td>
<td align="center">
<img id="litPic" src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" style="max-width:100px;max-height:80px">
<button id="btnClearAll" type="button" class="btn btn-success btn-smete">清空</button>
</td>
<td align="center"><img src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" id="litPic" class="thumbnail"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" class="bline">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;来源:</td>
<td width="90"> 来源:</td>
<td width="260">
<input name="source" type="text" id="source" value="<?php echo $arcRow['source']?>" style="width:160px">
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button>
@@ -174,10 +153,10 @@ table{border-collapse:separate}
} else {
?>
<tr>
<td height="26" class="bline">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布栏目:</td>
<td width="90"> 发布栏目:</td>
<td width="360">
<?php
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid);
@@ -186,7 +165,7 @@ table{border-collapse:separate}
echo $typeOptions;
echo "</select>";
?>
<i class='btn btn-sm fa fa-search' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title='快捷选择' style='cursor:pointer'></i>
<i class='btn btn-sm fa fa-search' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title='快捷选择' style='cursor:pointer'></i>
</td>
<td width="90">消费金币:</td>
<td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td>
@@ -198,34 +177,34 @@ table{border-collapse:separate}
if($cfg_need_typeid2=='Y') {
?>
<tr>
<td height="26" class="bline">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;副栏目:</td>
<td width="90"> 副栏目:</td>
<td>
<span id='typeid2ct'></span>
<input type='text' name='typeid2' id='typeid2' value='<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']); ?>' style='width:260px;'>
<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>
<i class='btn btn-sm fa fa-search' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')" title='选择副栏目' style='cursor:pointer'></i>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" class="bline">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;关键词:</td>
<td width="90"> 关键词:</td>
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:360px"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" class="bline">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;描述:</td>
<td width="90"> 描述:</td>
<td><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $arcRow['description']?></textarea></td>
</tr>
</table>
@@ -236,17 +215,13 @@ table{border-collapse:separate}
}
?>
<tr>
<td>
<?php
PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow);
?>
</td>
<td class="bline"><?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow);?></td>
</tr>
<tr>
<td width="400%" height="26">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;附加选项:</td>
<td width="90"> 附加选项:</td>
<td>
<label><input name="remote" type="checkbox" class="np" id="remote" value="1" <?php if($cfg_rm_remote=='Y') echo ' checked="1" '; ?>>
下载远程图片和资源</label>
@@ -257,22 +232,19 @@ table{border-collapse:separate}
</table>
</td>
</tr>
</table>
<!--高级参数-->
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #dee2e6;display:none">
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" height="26" width="260">&nbsp;评论选项:</td>
<td width="90" width="260"> 评论选项:</td>
<td width="260">
<label><input type='radio' name='notpost' class='np' value='0' <?php if($arcRow['notpost']==0) echo " checked='1' "; ?> /> 允许评论</label>
&nbsp;
<label><input type='radio' name='notpost' class='np' value='1' <?php if($arcRow['notpost']==1) echo " checked='1' "; ?> /> 禁止评论</label>
</td>
<td width="90">发布选项:</td>
<td><label><input name="ishtml" type="radio" class="np" value="1" <?php if($arcRow["ismake"]!=-1) echo " checked"; ?>>
生成HTML</label>
生成网页</label>
<label><input type="radio" name="ishtml" class="np" value="0" <?php if($arcRow["ismake"]==-1) echo " checked"; ?>>
仅动态浏览</label>
</td>
@@ -281,10 +253,10 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" class="bline">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;文档排序:</td>
<td width="90"> 文档排序:</td>
<td width="260"><select name="sortup" id="sortup" style="width:160px">
<?php
$subday = SubDay($arcRow["sortrank"],$arcRow["pubdate"]);
@@ -308,10 +280,10 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" class="bline">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;阅读权限:</td>
<td width="90"> 阅读权限:</td>
<td width="260"><select name="arcrank" id="arcrank" style="width:160px">
<option value='<?php echo $arcRow["arcrank"]?>'><?php echo $arcRow["rankname"]?></option>
<?php
@@ -334,7 +306,7 @@ table{border-collapse:separate}
<td height="70" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;更新时间:</td>
<td width="90"> 更新时间:</td>
<td width="260"><?php
$nowtime = GetDateTimeMk(time());
echo "<input name='pubdate' value='$nowtime' type='text' id='pubdate' class='datepicker' style='width:160px'>";
@@ -347,9 +319,9 @@ table{border-collapse:separate}
</td>
</tr>
</table>
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3">
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3">
<tr>
<td align="center" class="py-3">
<td align="center" class="py-2">
<button type="submit" class="btn btn-success btn-sm">保存</button>
<button type="button" onClick="location.reload();" class="btn btn-success btn-sm">重置</button>
</td>


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

@@ -18,10 +18,6 @@
<script src="../static/web/js/daterangepicker.js"></script>
<script src="js/main.js"></script>
<script src="../static/web/js/cropper.min.js"></script>
<style>
table{border-collapse:separate}
.form-control{display:inline-block;margin-right:6px;width:160px}
</style>
<script>
function checkSubmit()
{
@@ -37,9 +33,9 @@
</script>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-book"></i> <a href="content_sg_list.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 发布分类</td>
<td width="70%"><i class="fa fa-map"></i> <a href="content_sg_list.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 发布分类</td>
<td width="30%" align="right"><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>
@@ -48,8 +44,7 @@
<td colspan="2">
<table width="900" cellpadding="0" cellspacing="0">
<tr>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">常规信息</td>
<td></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规信息</td>
</tr>
</table>
</td>
@@ -59,7 +54,7 @@
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="cid" value="<?php echo $cid?>">
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -99,9 +94,9 @@
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit2" onclick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button>
<button type="button"id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
<button type="button"id="btnClearAll" class="btn btn-success btn-smete">清空</button>
</td>
<td width="260" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="max-width:100px;max-height:80px"></td>
<td align="center"><img src="../static/web/img/defaultpic.jpg" id="litPic" class="thumbnail"></td>
</tr>
</table>
</td>
@@ -125,7 +120,7 @@
echo $typeOptions;
echo "</select>";
?></span>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title="快捷选择" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title="快捷选择" style="cursor:pointer"></i>
</td>
</tr>
</table>
@@ -160,7 +155,7 @@
<td><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); ?></td>
</tr>
</table>
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3">
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3">
<tr>
<td align="center" class="py-2">
<button type="submit" class="btn btn-success btn-sm">保存</button>


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

@@ -18,10 +18,6 @@
<script src="js/main.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="../static/web/js/cropper.min.js"></script>
<style>
table{border-collapse:separate}
.form-control{display:inline-block;margin-right:6px;width:160px}
</style>
<script>
function checkSubmit()
{
@@ -34,9 +30,9 @@
</script>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-book"></i> <a href="content_sg_list.php?cid=<?php echo $addRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 修改分类</td>
<td width="70%"><i class="fa fa-map"></i> <a href="content_sg_list.php?cid=<?php echo $addRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 修改分类</td>
<td width="30%" align="right"><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>
@@ -45,8 +41,7 @@
<td colspan="2">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">常规信息</td>
<td width="84"></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规信息</td>
</tr>
</table>
</td>
@@ -57,7 +52,7 @@
<input type="hidden" name="id" value="<?php echo $aid; ?>">
<input type="hidden" name="sortrank" value="<?php echo $addRow['senddate']; ?>">
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -100,9 +95,9 @@
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-smete">清空</button>
</td>
<td align="center"><img id="litPic" src="<?php if($addRow['litpic']!='') echo $addRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" style="max-width:100px;max-height:80px"></td>
<td align="center"><img src="<?php if($addRow['litpic']!='') echo $addRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" id="litPic" class="thumbnail"></td>
</tr>
</table>
</td>
@@ -125,7 +120,7 @@
echo $typeOptions;
echo "</select>";
?>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $addRow['typeid']; ?>')" title="快捷选择" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $addRow['typeid']; ?>')" title="快捷选择" style="cursor:pointer"></i>
</td>
</tr>
</table>
@@ -162,7 +157,7 @@
</td>
</tr>
</table>
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3">
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3">
<tr>
<td align="center" class="py-2">
<button type="submit" class="btn btn-success btn-sm">保存</button>


+ 11
- 31
src/admin/templets/article_add.htm View File

@@ -19,12 +19,6 @@
<script src="js/handlers.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="../static/web/js/cropper.min.js"></script>
<style>
table{border-collapse:separate}
.albCt img{cursor:pointer}
.multipic{border:1px dashed #FC6}
.albCt{border-bottom:1px dashed #FC0;margin-bottom:10px;padding-bottom:10px}
</style>
<script>
var arctype = 'article';
function checkSubmit() {
@@ -40,9 +34,9 @@
</script>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="60%"><i class="fa fa-book"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文章列表</a> &gt; 发布文章</td>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文章列表</a> &gt; 发布文章</td>
<td width="30%" align="right"><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>
@@ -51,7 +45,7 @@
<td colspan="2">
<table width="900" cellpadding="0" cellspacing="0">
<tr>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">常规信息</td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规信息</td>
<td><a href="javascript:;" class="btn btn-success btn-sm" onClick="ShowHide('getone')">单页采集</a></td>
</tr>
</table>
@@ -81,7 +75,7 @@
<form name="form1" action="article_add.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit()">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td colspan="5" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -148,9 +142,9 @@
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-smete">清空</button>
</td>
<td width="260" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="max-width:100px;max-height:80px"></td>
<td align="center"><img src="../static/web/img/defaultpic.jpg" id="litPic" class="thumbnail"></td>
</tr>
</table>
</td>
@@ -188,7 +182,7 @@
echo "</select>";
?>
</span>
<i class='btn btn-sm fa fa-search' style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title="快捷选择"></i>
<i class='btn btn-sm fa fa-search' style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title="快捷选择"></i>
<?php
if($cfg_need_typeid2=='Y')
{
@@ -210,7 +204,7 @@
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="" style="width:260px">
<i class="btn btn-sm fa fa-search" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title="选择副栏目"></i>
<i class="btn btn-sm fa fa-search" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title="选择副栏目"></i>
</td>
</tr>
</table>
@@ -276,23 +270,9 @@
<td colspan="2"><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); ?></td>
</tr>
<tr>
<td width="100%" id="arcBody"><?php GetEditor("body",$body,450); ?></td>
<td width="260" align="center" id="mPic" style="display:none"></td>
<td class="bline"><?php GetEditor("body",$body,450); ?></td>
<td id="mPic" style="display:none"></td>
</tr>
</table>
<!--高级参数-->
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1" style="margin-top:10px">
<tr>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" height="28" align="center" bgcolor="#FBFCE2"><a href='javascript:ShowHideT("adset")'>高级参数</a></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #dee2e6">
<tr>
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -398,7 +378,7 @@
</td>
</tr>
</table>
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3">
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3">
<tr>
<td align="center" class="py-2">
<button type="submit" class="btn btn-success">保存</button>


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

@@ -99,7 +99,7 @@
</td>
</tr>
<form name="form2">
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="8%">id</td>
<td width="8%">选择</td>
<td width="20%">网址</td>


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

@@ -57,7 +57,7 @@
</td>
</tr>
<tr>
<td bgcolor="#FBFCE2" align="center">
<td bgcolor="#fbfce2" align="center">
<button type="submit" name="Submit" class="btn btn-success btn-sm">开始执行分析</button>
</td>
</tr>


+ 50
- 76
src/admin/templets/article_edit.htm View File

@@ -30,19 +30,11 @@
}
}
</script>
<style>
body{background:#fff}
img{vertical-align:baseline}
table{border-collapse:separate}
.albCt img{cursor:pointer}
.multipic{border:1px dashed #FC6}
.albCt{border-bottom:1px dashed #FC0;margin-bottom:10px;padding-bottom:10px}
</style>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="60%" height="26"><i class="fa fa-book"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文章列表</a> &gt; 修改文章</td>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文章列表</a> &gt; 修改文章</td>
<td width="30%" align="right"><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>
@@ -51,20 +43,7 @@ table{border-collapse:separate}
<td colspan="2">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规信息</td>
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级参数</a></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head2" style="display:none">
<tr>
<td colspan="2">
<table height="26" cellpadding="0" cellspacing="0">
<tr>
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem1()">常规信息</a></td>
<td width="86" align="center" background="../static/web/img/itemnote1.gif">高级参数</td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规信息</td>
</tr>
</table>
</td>
@@ -74,12 +53,12 @@ table{border-collapse:separate}
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="id" value="<?php echo $aid?>">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td height="26" colspan="2" class="bline">
<td colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;文章标题:</td>
<td width="90"> 文章标题:</td>
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="90">简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
@@ -88,10 +67,10 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td width="400%" height="26" colspan="2" class="bline">
<td width="400%" colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;自定义属性:</td>
<td width="90"> 自定义属性:</td>
<td>
<?php
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC");
@@ -106,9 +85,9 @@ table{border-collapse:separate}
}
if(preg_match("#".$trow->att."#", $arcRow['flag']))
{
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'>&nbsp;{$trow->attname}[{$trow->att}]</label>&nbsp;";
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label> ";
} else {
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick}>&nbsp;{$trow->attname}[{$trow->att}]</label>&nbsp;";
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick}> {$trow->attname}[{$trow->att}]</label> ";
}
}
?>
@@ -118,20 +97,20 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="2" class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block'); ?>">
<td colspan="2" class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block'); ?>">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;跳转网址:</td>
<td width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="400%" height="26" colspan="2" class="bline">
<td width="400%" colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
@@ -140,29 +119,27 @@ table{border-collapse:separate}
</td>
</tr>
<tr id="pictable">
<td height="26" colspan="2" class="bline">
<td colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;缩略图:</td>
<td width="90"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="np">&nbsp;远程</label>
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote" class="np"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button>
</td>
<td align="center">
<img id="litPic" src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" style="max-width:100px;max-height:80px">
<button id="btnClearAll" type="button" class="btn btn-success btn-smete">清空</button>
</td>
<td align="center"><img src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" id="litPic" class="thumbnail"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" colspan="2" class="bline">
<td colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;来源:</td>
<td width="90"> 来源:</td>
<td width="260">
<input name="source" type="text" id="source" value="<?php echo $arcRow['source']?>" style="width:160px">
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button>
@@ -177,10 +154,10 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="2" class="bline">
<td colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布栏目:</td>
<td width="90"> 发布栏目:</td>
<td width="360">
<?php
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid);
@@ -189,7 +166,7 @@ table{border-collapse:separate}
echo $typeOptions;
echo "</select>";
?>
<i class='btn btn-sm fa fa-search' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title="快捷选择" style="cursor:pointer"></i>
<i class='btn btn-sm fa fa-search' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title="快捷选择" style="cursor:pointer"></i>
</td>
<td width="90">消费金币:</td>
<td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td>
@@ -201,14 +178,14 @@ table{border-collapse:separate}
if($cfg_need_typeid2=='Y') {
?>
<tr>
<td height="26" colspan="2" class="bline">
<td colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;副栏目:</td>
<td width="90"> 副栏目:</td>
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="<?php echo ($arcRow['typeid2']=='0'?'':$arcRow['typeid2']); ?>" style="width:160px">
<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' style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')" title="选择副栏目"></i>
</td>
</tr>
</table>
@@ -218,20 +195,20 @@ table{border-collapse:separate}
}
?>
<tr>
<td height="26" class="bline">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;关键词:</td>
<td width="90"> 关键词:</td>
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:360px"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" class="bline">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;描述:</td>
<td width="90"> 描述:</td>
<td><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $arcRow['description']?></textarea></td>
</tr>
</table>
@@ -245,48 +222,45 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td width="400%" height="26" colspan="2" class="bline">
<td width="400%" colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;附加选项:</td>
<td width="90"> 附加选项:</td>
<td>
<label><input name="remote" type="checkbox" class="np" id="remote" value="1" <?php if($cfg_rm_remote=='Y') echo ' checked="1" '; ?>>&nbsp;下载远程图片和资源&nbsp;</label>
<label><input name="autolitpic" type="checkbox" class="np" id="autolitpic" value="1" <?php if($cfg_arc_autopic=='Y') echo ' checked="1" '; ?>>&nbsp;提取第一个图片为缩略图</label>
<label><input name="remote" type="checkbox" class="np" id="remote" value="1" <?php if($cfg_rm_remote=='Y') echo ' checked="1" '; ?>> 下载远程图片和资源</label>
<label><input name="autolitpic" type="checkbox" class="np" id="autolitpic" value="1" <?php if($cfg_arc_autopic=='Y') echo ' checked="1" '; ?>> 提取第一个图片为缩略图</label>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%"><?php GetEditor("body",stripcslashes($addRow['body']),450); ?></td>
<td width="260" align="center" bgcolor="#FFFFCC" id="mPic" style="display:none"></td>
<td class="bline"><?php GetEditor("body",stripcslashes($addRow['body']),450); ?></td>
<td id="mPic" style="display:none"></td>
</tr>
</table>
<!--高级参数-->
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #dee2e6;display:none">
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" height="26">&nbsp;评论选项:</td>
<td width="90"> 评论选项:</td>
<td width="260">
<label><input type="radio" name="notpost" class="np" value="0" <?php if($arcRow['notpost']==0) echo " checked='1' "; ?>>&nbsp;允许评论&nbsp;</label>
<label><input type="radio" name="notpost" class="np" value="1" <?php if($arcRow['notpost']==1) echo " checked='1' "; ?>>&nbsp;禁止评论</label>
<label><input type="radio" name="notpost" class="np" value="0" <?php if($arcRow['notpost']==0) echo " checked='1' "; ?>> 允许评论</label>
<label><input type="radio" name="notpost" class="np" value="1" <?php if($arcRow['notpost']==1) echo " checked='1' "; ?>> 禁止评论</label>
</td>
<td width="90">发布选项:</td>
<td>
<label><input name="ishtml" type="radio" class="np" value="1" <?php if($arcRow["ismake"]!=-1) echo " checked"; ?>>&nbsp;生成HTML&nbsp;</label>
<label><input type="radio" name="ishtml" class="np" value="0" <?php if($arcRow["ismake"]==-1) echo " checked"; ?>>&nbsp;仅动态浏览</label>
<label><input name="ishtml" type="radio" class="np" value="1" <?php if($arcRow["ismake"]!=-1) echo " checked"; ?>> 生成网页</label>
<label><input type="radio" name="ishtml" class="np" value="0" <?php if($arcRow["ismake"]==-1) echo " checked"; ?>> 仅动态浏览</label>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" class="bline">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;文章排序:</td>
<td width="90"> 文章排序:</td>
<td width="260">
<select name="sortup" id="sortup" style="width:160px">
<?php
@@ -311,10 +285,10 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" class="bline">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;阅读权限:</td>
<td width="90"> 阅读权限:</td>
<td width="260">
<select name="arcrank" id="arcrank" style="width:160px">
<option value='<?php echo $arcRow["arcrank"]?>'> <?php echo $arcRow["rankname"]?> </option>
@@ -359,7 +333,7 @@ table{border-collapse:separate}
<td height="70" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;更新时间:</td>
<td width="90"> 更新时间:</td>
<td width="260"><?php
$nowtime = GetDateTimeMk(time());
echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker' style='width:160px'>";
@@ -372,9 +346,9 @@ table{border-collapse:separate}
</td>
</tr>
</table>
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3">
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3">
<tr>
<td align="center" class="py-3">
<td align="center" class="py-2">
<button type="submit" class="btn btn-success btn-sm">保存</button>
<button type="button" onClick="location.reload();" class="btn btn-success btn-sm">重置</button>
</td>


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

@@ -59,7 +59,7 @@
</td>
</tr>
</form>
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="8%">选择</td>
<td width="25%">关键词</td>
<td width="35%">链接网址</td>
@@ -69,7 +69,7 @@
<form name="form3" action="article_keywords_main.php" method="post">
<input type="hidden" name="dopost" value="saveall">
{dede:datalist empty='<tr><td colspan="5"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input type="checkbox" name="aids[]" value="{dede:field.aid/}" checked='1'></td>
<td><input type="hidden" value="{dede:field.keyword/}" name="keyword_{dede:field.aid/}"> {dede:field.keyword/}</td>
<td>


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

@@ -47,7 +47,7 @@
<form name="form1" action="article_keywords_main.php">
<input type="hidden" name="dopost" value="add">
<tr id="addnew" style="display:none">
<td align="center" colspan="2" style="border-top:0">
<td align="center" colspan="2" class="border-top-0">
<table cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="170"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" style="width:160px"></td>


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

@@ -55,7 +55,7 @@
<input type="hidden" name="channelid" value="<?php echo $channelid; ?>">
<input type="hidden" name="maintable" value="<?php echo $maintable; ?>">
<input type="hidden" name="titles" value="">
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="10%">选择</td>
<td width="10%">重复数量</td>
<td width="80%">文档标题</td>
@@ -65,7 +65,7 @@
{
if($row['dd']==1 ) break;
?>
<tr align="center" onMouseMove="javascript:this.bgColor='#EFEFEF';" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onMouseMove="javascript:this.bgColor='#EFEFEF';" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input type="checkbox" name="arcTitles" id="arcTitle" value="<?php echo urlencode($row['title'])?>"></td>
<td>
<?php


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

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


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

@@ -65,7 +65,7 @@
</td>
</tr>
<tr>
<td bgcolor="#FBFCE2" align="center">
<td bgcolor="#fbfce2" align="center">
<button type="submit" name="Submit" class="btn btn-success btn-sm">开始生成点卡</button>
</td>
</tr>


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

@@ -59,7 +59,7 @@
</table>
</td>
</tr>
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="8%">选择</td>
<td width="28%">卡号</td>
<td width="18%">点卡类型</td>
@@ -70,7 +70,7 @@
</tr>
<form name="form1">
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input type="checkbox" name="aids" value="{dede:field.aid/}"></td>
<td>{dede:field.cardid/}</td>
<td><?php echo $TypeNames[$fields['ctid']]?></td>


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

@@ -15,7 +15,7 @@
<tr>
<td bgcolor="f8f8f8" colspan="4">点卡产品分类</td>
</tr>
<tr bgcolor="#FBFCE2">
<tr bgcolor="#fbfce2">
<td width="30%" align="center">产品名称</td>
<td width="27%" align="center">点数(金币数)</td>
<td width="30%" align="center">价格</td>
@@ -40,7 +40,7 @@
}
?>
<input type="hidden" name="idend" value="<?php echo $k?>">
<tr bgcolor="#FBFCE2">
<tr bgcolor="#fbfce2">
<td colspan="4" bgcolor="#f8f8f8">新增一个点卡产品类型:</td>
</tr>
<tr align="center">


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

@@ -111,12 +111,12 @@
</script>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="100%">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><i class="fa fa-book"></i> <a href="catalog_main.php">栏目管理</a> &gt; 增加栏目</td>
<td><i class="fa fa-map"></i> <a href="catalog_main.php">栏目管理</a> &gt; 增加栏目</td>
</tr>
</table>
</td>
@@ -142,9 +142,9 @@
<td colspan="2" bgcolor="#fff" align="left">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">常规选项</td>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">高级选项</a></td>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规选项</td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">高级选项</a></td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
</tr>
</table>
</td>
@@ -155,9 +155,9 @@
<td colspan="2" bgcolor="#fff" style="text-align:left">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">高级选项</td>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">高级选项</td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
</tr>
</table>
</td>
@@ -168,15 +168,15 @@
<td colspan="2" bgcolor="#fff" style="text-align:left">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">高级选项</td>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">栏目内容</td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">高级选项</td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">栏目内容</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" id="needset" cellspacing="0" cellpadding="0" style="border:1px solid #dee2e6" class="table">
<table width="100%" id="needset" cellspacing="0" cellpadding="0" class="biz-border table">
<tr>
<td width="260" class="bline">是否支持投稿:</td>
<td class="bline">
@@ -277,7 +277,7 @@
</tr>
<tr>
<td>文件保存目录:</td>
<td style="padding:0">
<td class="p-0">
<table cellspacing="1" cellpadding="1" class="table-borderless">
<tr>
<td><input type="text" name="typedir" id="typedir" class="pubinputs" style="width:260px"></td>
@@ -357,7 +357,7 @@
</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" style="display:none;border:1px solid #dee2e6" id="adset" class="table">
<table width="100%" cellspacing="0" cellpadding="0" id="adset" class="biz-border table" style="display:none">
<?php
if($id==0)
{
@@ -408,7 +408,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 class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar1')" style="cursor:pointer"></i>
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar1')" style="cursor:pointer"></i>
</td>
</tr>
<tr>
@@ -441,7 +441,7 @@
<td>文章命名规则:</td>
<td>
<input type="text" name="namerule" tid="namerule" value="<?php echo $cfg_df_namerule; ?>" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar2')" style="cursor:pointer"></i>
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar2')" style="cursor:pointer"></i>
</td>
</tr>
<tr id="helpvar3" style="display:none">
@@ -452,7 +452,7 @@
<td>列表命名规则:</td>
<td>
<input type="text" name="namerule2" id="namerule2" value="{typedir}/{tid}-{page}.html" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar3')" style="cursor:pointer"></i>
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar3')" style="cursor:pointer"></i>
</td>
</tr>
<tr>
@@ -468,7 +468,7 @@
<td height="60"><textarea name="description" id="description" style="width:360px;height:50px"></textarea></td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" style="display:none;border:1px solid #dee2e6" id="ctset" class="table">
<table width="100%" cellspacing="0" cellpadding="0" id="ctset" class="biz-border table" style="display:none">
<tr>
<td>说明:栏目内容是替代原来栏目单独页的更灵活的一种方式,可在栏目模板中用{dede:field.content/}调用,通常用于企业简介之类的用途</td>
</tr>
@@ -476,7 +476,7 @@
<td><?php GetEditor("content","","450","Default","print","false"); ?></td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3">
<table width="100%" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3">
<tr>
<td align="center" class="py-2">
<button type="submit" class="btn btn-success btn-sm">保存</button>


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

@@ -82,12 +82,12 @@
<form name="form1" action="catalog_add.php" method="post">
<input type="hidden" name="dopost" value="savequick">
<input type="hidden" name="savetype" value="" id="savetype">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="100%">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><i class="fa fa-book"></i> <a href="catalog_main.php">栏目管理</a> &gt; 批量增加栏目</td>
<td><i class="fa fa-map"></i> <a href="catalog_main.php">栏目管理</a> &gt; 批量增加栏目</td>
</tr>
</table>
</td>
@@ -102,15 +102,15 @@
<table width="100%" cellspacing="0" id="head1" cellpadding="0">
<tr>
<td colspan="2">
<table width="84" cellpadding="0" cellspacing="0">
<table width="80" cellpadding="0" cellspacing="0">
<tr>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">常规选项</td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规选项</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" id="needset" cellspacing="0" cellpadding="0" style="border:1px solid #dee2e6" class="table">
<table width="100%" id="needset" cellspacing="0" cellpadding="0" class="biz-border table">
<tr>
<td bgcolor="#f8f8f8">公用参数:</td>
<td bgcolor="#f8f8f8"></td>
@@ -134,11 +134,11 @@
?>)</label>
<label><input type="radio" name="referpath" value="cmspath"> CMS根目录</label>
<input type="hidden" name="nextdir" id="nextdir" value="<?php echo $pardir; ?>">
<span id="pathtype" style="display:none"><input type="radio" name="referpath" id="truepath3" value="typepath">属栏目所属的目录</span>
<span id="pathtype" style="display:none"><input type="radio" name="referpath" id="truepath3" value="typepath">属栏目所属的目录</span>
</td>
</tr>
<tr>
<td class="bline">属栏目:</td>
<td class="bline">属栏目:</td>
<td class="bline">
<select name="reid" onchange="showSeltype(this)" style="width:160px">
<option value="0">选择所属目录</option>
@@ -186,7 +186,7 @@
<td class="bline">文章命名规则:</td>
<td class="bline">
<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')" style="cursor:pointer"></i>
</td>
</tr>
<tr id="helpvar3" style="display:none">
@@ -197,7 +197,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')" style="cursor:pointer"></i>
</td>
</tr>
<tr>
@@ -206,13 +206,13 @@
</tr>
<tr>
<td colspan="2">
<table id="addQuick" width="850" cellpadding="3" cellspacing="1">
<table id="addQuick" width="98%" cellpadding="3" cellspacing="1">
<tbody>
<tr bgcolor="#FBFCE2">
<tr bgcolor="#fbfce2">
<td width="60">排序</td>
<td width="170">顶级栏目名称</td>
<td width="370">子栏目(用&quot;目录名称1,目录名称2&quot;这样表示多个栏目)</td>
<td align="center"><button type="button" id="add" class="btn btn-success btn-sm">添加</button></td>
<td width="260">顶级栏目名称</td>
<td>子栏目(用&quot;目录名称1,目录名称2&quot;这样表示多个栏目)</td>
<td width="60" align="center"><button type="button" id="add" class="btn btn-success btn-sm">添加</button></td>
</tr>
<tr align="center">
<td class="rank">
@@ -220,8 +220,8 @@
<input type="text" name="rank" id="rank" value="1" class="pubinputs" style="width:60px">
</td>
<td align="center"><input type="text" name="toptype" id="toptype" class="pubinputs" style="width:160px"></td>
<td><input type="text" name="sontype" id="sontype" class="pubinputs" style="width:360px"></td>
<td align="center"><button type="button" name="" id="add" class="btn btn-success btn-sm del">删除</button></td>
<td><input type="text" name="sontype" id="sontype" class="pubinputs" style="width:100%"></td>
<td align="center"><button type="button" name="" id="add" class="btn btn-success btn-sm">删除</button></td>
</tr>
<?php for($i=2;$i<=10;$i++) { ?>
<tr class="repeat" align="center">
@@ -230,15 +230,15 @@
<input type="text" name="rank<?php echo $i; ?>" id="rank<?php echo $i; ?>" value="<?php echo $i; ?>" class="pubinputs" style="width:60px">
</td>
<td><input type="text" name="toptype<?php echo $i; ?>" id="toptype<?php echo $i; ?>" class="pubinputs" style="width:160px"></td>
<td><input type="text" name="sontype<?php echo $i; ?>" id="sontype<?php echo $i; ?>" class="pubinputs" style="width:360px"></td>
<td align="center"><button type="button" name="" id="add" class="btn btn-success btn-sm del">删除</button></td>
<td><input type="text" name="sontype<?php echo $i; ?>" id="sontype<?php echo $i; ?>" class="pubinputs" style="width:100%"></td>
<td align="center"><button type="button" name="" id="add" class="btn btn-success btn-sm">删除</button></td>
</tr>
<?php } ?>
</tbody>
</table>
<table id="addQuickRel" width="302" cellpadding="3" cellspacing="1" style="display:none">
<tbody>
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="60">排序</td>
<td width="170">栏目名称</td>
<td align="center"><button type="button" id="addrel" class="btn btn-success btn-sm">添加</button></td>
@@ -249,7 +249,7 @@
<input type="text" name="rank" id="rank" value="1" class="pubinputs" style="width:60px">
</td>
<td><input type="text" name="reltype" id="reltype" class="pubinputs" style="width:160px"></td>
<td align="center"><button type="button" name="" id="add" class="btn btn-success btn-sm del">删除</button></td>
<td align="center"><button type="button" name="" id="add" class="btn btn-success btn-sm">删除</button></td>
</tr>
<?php for($i=2;$i<=10;$i++) { ?>
<tr class="repeat" align="center">
@@ -258,7 +258,7 @@
<input type="text" name="rank<?php echo $i; ?>" id="rank<?php echo $i; ?>" value="<?php echo $i; ?>" class="pubinputs" style="width:60px">
</td>
<td><input type="text" name="reltype<?php echo $i; ?>" id="reltype<?php echo $i; ?>" class="pubinputs" style="width:160px"></td>
<td align="center"><button type="button" id="add" class="btn btn-success btn-sm del">删除</button></td>
<td align="center"><button type="button" id="add" class="btn btn-success btn-sm">删除</button></td>
</tr>
<?php } ?>
</tbody>
@@ -266,7 +266,7 @@
</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3">
<table width="100%" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3">
<tr>
<td align="center" class="py-2">
<button type="submit" class="btn btn-success btn-sm">保存</button>


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

@@ -100,12 +100,12 @@
</script>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="100%">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><i class="fa fa-book"></i> <a href="catalog_main.php">栏目管理</a> &gt; 修改栏目</td>
<td><i class="fa fa-map"></i> <a href="catalog_main.php">栏目管理</a> &gt; 修改栏目</td>
</tr>
</table>
</td>
@@ -123,9 +123,9 @@
<td colspan="2" bgcolor="#fff" align="left">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">常规选项</td>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">高级选项</a></td>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规选项</td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">高级选项</a></td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
</tr>
</table>
</td>
@@ -136,9 +136,9 @@
<td colspan="2" bgcolor="#fff" style="text-align:left">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">高级选项</td>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">高级选项</td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
</tr>
</table>
</td>
@@ -149,15 +149,15 @@
<td colspan="2" bgcolor="#fff" style="text-align:left">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">高级选项</td>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">栏目内容</td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">高级选项</td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">栏目内容</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" id="needset" cellspacing="0" cellpadding="0" style="border:1px solid #dee2e6" class="table">
<table width="100%" id="needset" cellspacing="0" cellpadding="0" class="biz-border table">
<tr>
<td width="260" class="bline">是否支持投稿:</td>
<td class="bline">
@@ -308,7 +308,7 @@
</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" style="display:none;border:1px solid #dee2e6" id="adset" class="table">
<table width="100%" cellspacing="0" cellpadding="0" id="adset" class="biz-border table" style="display:none">
<tr>
<td class="bline" width="260">多站点支持:</td>
<td class="bline">
@@ -348,7 +348,7 @@
<td>
<input type="text" name="tempindex" value="<?php echo $myrow['tempindex']?>" class="iptxt" style="width:260px">
<button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览</button>
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar1')" style="cursor:pointer"></i>
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar1')" style="cursor:pointer"></i>
</td>
</tr>
<tr>
@@ -381,7 +381,7 @@
<td>文章命名规则:</td>
<td>
<input type="text" name="namerule" id="namerule" value="<?php echo $myrow['namerule']?>" class="iptxt" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar2')" style="cursor:pointer"></i>
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar2')" style="cursor:pointer"></i>
</td>
</tr>
<tr id="helpvar3" style="display:none">
@@ -392,7 +392,7 @@
<td>列表命名规则:</td>
<td>
<input type="text" name="namerule2" id="namerule2" value="<?php echo $myrow['namerule2']?>" class="iptxt" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar3')" style="cursor:pointer"></i>
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar3')" style="cursor:pointer"></i>
</td>
</tr>
<tr>
@@ -414,7 +414,7 @@
</td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" style="display:none;border:1px solid #dee2e6" id="ctset" class="table">
<table width="100%" cellspacing="0" cellpadding="0" id="ctset" class="biz-border table" style="display:none">
<tr>
<td>说明:栏目内容是替代原来栏目单独页的更灵活的一种方式,可在栏目模板中用{dede:field.content/}调用,通常用于企业简介之类的用途</td>
</tr>
@@ -422,7 +422,7 @@
<td><?php GetEditor("content",$myrow['content'],"450","Default","print","false"); ?></td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3">
<table width="100%" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3">
<tr>
<td align="center" class="py-2">
<button type="submit" class="btn btn-success btn-sm">保存</button>


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

@@ -22,7 +22,7 @@
注意事项:这个版本中att对应的字段是SET类型字段,因此为了数据安全起见不允许用户增加其它类型,但调用时允许使用组合条件,如:att='c,p'表示推荐图片新闻
</td>
</tr>
<tr bgcolor="#FBFCE2">
<tr bgcolor="#fbfce2">
<td width="15%" align="center">id</td>
<td width="15%">排序</td>
<td width="70%">属性名称</td>


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

@@ -137,7 +137,7 @@
</td>
</tr>
<tr>
<td bgcolor="#FBFCE2" colspan="2" align="center">
<td bgcolor="#fbfce2" colspan="2" align="center">
<button type="button" name="b112" onClick="document.form1.submit();" class="btn btn-success btn-sm">开始操作</button>
</td>
</tr>


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

@@ -34,32 +34,26 @@
</table>
<form name="form3" action="content_i_list.php" method="get">
<input type="hidden" name="dopost" value="listArchives">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="mt-3 mb-3" style="border:1px solid #dee2e6">
<tr>
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="180" align="center">
<select name="cid" style="width:160px">
<option value="0">选择栏目</option>
{dede:global.optionarr/}
</select>
</td>
<td width="270"><input type="text" name="keyword" placeholder="请输入关键词" value="{dede:global.keyword/}" style="width:260px"></td>
<td width="170">
<select name="orderby" style="width:160px">
<option value="id">排序</option>
<option value="pubdate">更新时间</option>
<option value="sortrank">置顶权值</option>
<option value="click">点击量</option>
<option value="scores">评论积分</option>
<option value="lastpost">最后评论</option>
</select>
</td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr bgcolor="#f8f8f8">
<td width="180" align="center">
<select name="cid" style="width:160px">
<option value="0">选择栏目</option>
{dede:global.optionarr/}
</select>
</td>
<td width="270"><input type="text" name="keyword" placeholder="请输入关键词" value="{dede:global.keyword/}" style="width:260px"></td>
<td width="170">
<select name="orderby" style="width:160px">
<option value="id">排序</option>
<option value="pubdate">更新时间</option>
<option value="sortrank">置顶权值</option>
<option value="click">点击量</option>
<option value="scores">评论积分</option>
<option value="lastpost">最后评论</option>
</select>
</td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
</form>
@@ -67,7 +61,7 @@
<tr>
<td colspan="7" style="margin-left:10px;background:#f8f8f8">{dede:global.positionname/}文档列表</td>
</tr>
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="12%">文档图片</td>
<td width="32%">文档标题</td>
<td width="16%">类目</td>
@@ -85,8 +79,8 @@
<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>
<a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}&nbsp;{dede:field.flag function='IsCommendArchives(@me)'/}</a>
<i class="btn btn-sm fa fa-cogs" onClick="QuickEdit({dede:field.id/},event,this);" title="编辑属性" style="cursor:pointer"></i>
<a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/} {dede:field.flag function='IsCommendArchives(@me)'/}</a>
</p>
<span>时间:{dede:field.senddate function='GetDateTimeMk(@me)'/}</span>
</td>


+ 30
- 36
src/admin/templets/content_list.htm View File

@@ -34,38 +34,32 @@
</table>
<form name="form3" action="content_list.php" method="get">
<input type="hidden" name="dopost" value="listArchives">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="mt-3 mb-3" style="border:1px solid #dee2e6">
<tr>
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="180" align="center">
<select name="cid" style="width:160px">
<option value="0">选择栏目</option>
{dede:global.optionarr/}
</select>
</td>
<td width="270"><input type="text" name="keyword" placeholder="请输入关键词" value="{dede:global.keyword/}" style="width:260px"></td>
<td width="170">
<select name="orderby" style="width:160px">
<option value="id">选择排序</option>
<option value="pubdate">更新时间</option>
<option value="sortrank">置顶权值</option>
<option value="click">点击量</option>
<option value="scores">评论积分</option>
<option value="lastpost">最后评论</option>
</select>
</td>
<td width="170">
<select name="flag" style="width:160px">
<option value="">选择属性</option>
{dede:global.flagsArr/}
</select>
</td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr bgcolor="#f8f8f8">
<td width="180" align="center">
<select name="cid" style="width:160px">
<option value="0">选择栏目</option>
{dede:global.optionarr/}
</select>
</td>
<td width="270"><input type="text" name="keyword" placeholder="请输入关键词" value="{dede:global.keyword/}" style="width:260px"></td>
<td width="170">
<select name="orderby" style="width:160px">
<option value="id">选择排序</option>
<option value="pubdate">更新时间</option>
<option value="sortrank">置顶权值</option>
<option value="click">点击量</option>
<option value="scores">评论积分</option>
<option value="lastpost">最后评论</option>
</select>
</td>
<td width="170">
<select name="flag" style="width:160px">
<option value="">选择属性</option>
{dede:global.flagsArr/}
</select>
</td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
</form>
@@ -74,7 +68,7 @@
<tr>
<td colspan="10" style="background:#f8f8f8">{dede:global.positionname/}文档列表</td>
</tr>
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="6%">id</td>
<td width="6%">选择</td>
<td width="30%">文章标题</td>
@@ -87,7 +81,7 @@
<td width="10%">操作</td>
</tr>
{dede:datalist empty='<tr><td colspan="10"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>{dede:field.id/}</td>
<td><input type="checkbox" name="arcID" id="arcID" value="{dede:field.id/}"></td>
<td align="left"><span id="arc{dede:field.id/}"><a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}</a></span>{dede:field.flag function='IsCommendArchives(@me)'/}</td>
@@ -98,9 +92,9 @@
<td>{dede:field.arcrank function="GetRankName(@me)"/}</td>
<td>{dede:field.mid function=GetMemberName(@me)/}</td>
<td>
<a href="javascript:;" title="属性" class="btn btn-success btn-sm" onClick="QuickEdit('{dede:field.id/}',event,this);"><i class="fa fa-cogs"></i></a>
<a href="javascript:;" title="编辑" class="btn btn-success btn-sm" onClick="editArc({dede:field.id/});"><i class="fa fa-pencil-square-o"></i></a>
<a href="javascript:;" title="预览" class="btn btn-success btn-sm" onClick="viewArc({dede:field.id/});"><i class="fa fa-globe"></i></a>
<a href="javascript:;" title="属性" class="btn btn-success btn-sm" onClick="QuickEdit('{dede:field.id/}',event,this);"><i class="fa fa-cogs"></i> </a>
<a href="javascript:;" title="编辑" class="btn btn-success btn-sm" onClick="editArc({dede:field.id/});"><i class="fa fa-pencil-square-o"></i> </a>
<a href="javascript:;" title="预览" class="btn btn-success btn-sm" onClick="viewArc({dede:field.id/});"><i class="fa fa-globe"></i> </a>
</td>
</tr>
{/dede:datalist}


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

@@ -97,22 +97,16 @@
</table>
<form name="form3" action="content_s_list.php" method="get">
<input type="hidden" name="dopost" value="listArchives">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="mb-3" style="border:1px solid #dee2e6">
<tr>
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="180" align="center">
<select name="cid" style="width:160px">
<option value="0">选择分类</option>
<?php echo $optionarr?>
</select>
</td>
<td width="270"><input type="text" name="keyword" placeholder="请输入关键词" value="<?php echo $keyword?>" style="width:260px"></td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr bgcolor="#f8f8f8">
<td width="180" align="center">
<select name="cid" style="width:160px">
<option value="0">选择分类</option>
<?php echo $optionarr?>
</select>
</td>
<td width="270"><input type="text" name="keyword" placeholder="请输入关键词" value="<?php echo $keyword?>" style="width:260px"></td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
</form>
@@ -121,7 +115,7 @@
<td colspan="9" style="margin-left:10px;background:#f8f8f8">文章列表</td>
</tr>
<form name="form2">
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="6%">id</td>
<td width="4%">选择</td>
<td width="30%">文章标题</td>
@@ -133,7 +127,7 @@
<td width="10%">属性</td>
</tr>
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>{dede:field.id/}</td>
<td><input type="checkbox" name="arcID" id="arcID" value="{dede:field.id/}"></td>
<td align="left"><a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}</a></td>


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

@@ -53,7 +53,7 @@
<td bgcolor="#f8f8f8" colspan="9">文章列表</td>
</tr>
<form name="form2">
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="6%">id</td>
<td width="4%">选择</td>
<td width="30%">文章标题</td>
@@ -77,7 +77,7 @@
<td>{dede:field.flag function="IsCommendArchives(@me)"/}</td>
</tr>
{/dede:datalist}
<tr bgcolor="#FBFCE2">
<tr bgcolor="#fbfce2">
<td colspan="9">
<a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a>
<a href="javascript:noSelAll()" class="btn btn-success btn-sm">取消</a>
@@ -85,7 +85,7 @@
</td>
</tr>
</form>
<tr align="right" bgcolor="#FBFCE2">
<tr align="right" bgcolor="#fbfce2">
<td height="36" colspan="9" align="center">{dede:pagelist listsize='6'/}</td>
</tr>
</table>


+ 13
- 19
src/admin/templets/content_sg_list.htm View File

@@ -138,22 +138,16 @@
</table>
<form name="form3" action="content_sg_list.php" method="get">
<input type="hidden" name="dopost" value="listArchives">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="mb-3" style="border:1px solid #dee2e6">
<tr>
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="180" align="center">
<select name="cid" style="width:160px">
<option value="0">选择分类</option>
{dede:global.optionarr/}
</select>
</td>
<td width="270"><input type="text" name="keyword" placeholder="请输入关键词" value="{dede:global.keyword/}" style="width:260px"></td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr bgcolor="#f8f8f8">
<td width="180" align="center">
<select name="cid" style="width:160px">
<option value="0">选择分类</option>
{dede:global.optionarr/}
</select>
</td>
<td width="270"><input type="text" name="keyword" placeholder="请输入关键词" value="{dede:global.keyword/}" style="width:260px"></td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
</form>
@@ -162,7 +156,7 @@
<td bgcolor="#f8f8f8" colspan="9">{dede:global.positionname/}文档列表</td>
</tr>
<form name="form2">
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="6%">id</td>
<td width="6%">选择</td>
<td width="30%">文章标题</td>
@@ -174,7 +168,7 @@
<td width="10%">操作</td>
</tr>
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>{dede:field.id/}</td>
<td><input type="checkbox" name="arcID" id="arcID" value="{dede:field.aid/}"></td>
<td align="left"><a href="archives_do.php?aid={dede:field.aid/}&dopost=editArchives">{dede:field.title/}{dede:field.flag function='IsCommendArchives(@me)'/}</a></td>
@@ -184,8 +178,8 @@
<td>{dede:field.click/}</td>
<td>{dede:field.mid function=GetMemberName(@me)/}</td>
<td>
<a href="javascript:editArc({dede:field.aid/})" class="btn btn-success btn-sm" title="编辑"><i class="fa fa-pencil-square-o"></i></a>
<a href="javascript:viewArc({dede:field.aid/})" class="btn btn-success btn-sm" title="预览"><i class="fa fa-globe"></i></a>
<a href="javascript:editArc({dede:field.aid/})" class="btn btn-success btn-sm" title="编辑"><i class="fa fa-pencil-square-o"></i> </a>
<a href="javascript:viewArc({dede:field.aid/})" class="btn btn-success btn-sm" title="预览"><i class="fa fa-globe"></i> </a>
</td>
</tr>
{/dede:datalist}


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

@@ -39,21 +39,21 @@
<tr>
<td width="260" align="left">diyid:<span class="style2" id="help1">数字,创建后不可修改,并具有唯一性推荐使用默认值</span></td>
<td>
<input type="text" name="diyid" id="diyid" size="10" value="<?php echo $newdiyid?>" class="pubinputs" style='width:60px'> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help1')" style="cursor:hand"></i>
<input type="text" name="diyid" id="diyid" size="10" value="<?php echo $newdiyid?>" class="pubinputs" style='width:60px'> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help1')" style="cursor:hand"></i>
</td>
</tr>
<tr>
<td align="left">自定义表单名称:<br>
<span class="style2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span></td>
<td>
<input type="text" name="name" id="name" value="自定义表单<?php echo $newdiyid; ?>" class="pubinputs" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help3')" style="cursor:hand"></i>
<input type="text" name="name" id="name" value="自定义表单<?php echo $newdiyid; ?>" class="pubinputs" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help3')" style="cursor:hand"></i>
</td>
</tr>
<tr>
<td align="left">数据表:<br>
<span class="style2" id="help5">必须由英文、数字、下划线组成,用于保存自定义表单数据,不能和已有表名重复,创建后不可修改表名</span></td>
<td>
<input type="text" name="table" id="table" value="<?php echo $cfg_dbprefix; ?>diyform<?php echo $newdiyid; ?>" class="pubinputs" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help5')" style="cursor:hand"></i>
<input type="text" name="table" id="table" value="<?php echo $cfg_dbprefix; ?>diyform<?php echo $newdiyid; ?>" class="pubinputs" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help5')" style="cursor:hand"></i>
</td>
</tr>
<tr>


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

@@ -47,21 +47,21 @@
<td width="260">自定义表单 diyid:<span class="style2" id="help1">数字,创建后不可修改,并具有唯一性</span></td>
<td>
<?php echo $diyid; ?>
<i class="fa fa-question-circle" title="帮助" onClick="showHide2('help1')" style="cursor:hand"></i>
<i class="fa fa-question-circle" title="帮助" onClick="showHide2('help1')" style="cursor:hand"></i>
</td>
</tr>
<tr>
<td>自定义表单名称:修改表名不会创建新表,如果您不懂手工处理这些表,请不要修改<br>
<span class="style2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span></td>
<td>
<input type="text" name="name" id="name" value="<?php echo $row['name']?>" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help3')" style="cursor:hand"></i>
<input type="text" name="name" id="name" value="<?php echo $row['name']?>" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help3')" style="cursor:hand"></i>
</td>
</tr>
<tr>
<td>数据表:<br>
<span class="style2" id="help5">自定义表单数据表创建后不可修改表名</span></td>
<td>
<input type="text" name="table" id="table" value="<?php echo $row['table']; ?>" disabled="1" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help5')" style="cursor:hand"></i>
<input type="text" name="table" id="table" value="<?php echo $row['table']; ?>" disabled="1" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help5')" style="cursor:hand"></i>
</td>
</tr>
<tr>
@@ -74,7 +74,7 @@
<tr>
<td colspan="2">
<table width="100%" cellpadding="1" cellspacing="1" align="center">
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="28%">表单提示文字</td>
<td width="18%">数据字段名</td>
<td width="20%">数据类型</td>
@@ -145,9 +145,9 @@
<tr>
<td>前台列表和内容页公开:</td>
<td>
<label><input type="radio" name="public" value="2" <?php echo $row['public'] == 2 ? 'checked' : ''; ?>> 完全公开 </label>
<label><input type="radio" name="public" value="1" <?php echo $row['public'] == 1 ? 'checked' : ''; ?>> 公开审核过的 </label>
<label><input type="radio" name="public" value="0" <?php echo $row['public'] == 0 ? 'checked' : ''; ?>> 不公开 </label>
<label><input type="radio" name="public" value="2" <?php echo $row['public'] == 2 ? 'checked' : ''; ?>> 完全公开</label>
<label><input type="radio" name="public" value="1" <?php echo $row['public'] == 1 ? 'checked' : ''; ?>> 公开审核过的</label>
<label><input type="radio" name="public" value="0" <?php echo $row['public'] == 0 ? 'checked' : ''; ?>> 不公开</label>
</td>
</tr>
<tr>


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

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


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

@@ -10,7 +10,7 @@
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="maintable mt-3 mb-3" style="border:1px solid #dee2e6">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="maintable biz-border mt-3 mb-3">
<tr>
<td bgcolor="#f8f8f8">
<table width="98%" cellpadding="0" cellspacing="0">
@@ -23,14 +23,14 @@
</tr>
</table>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3">
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td>diyid</td>
<td>名称</td>
<td>表名</td>
<td>管理</td>
</tr>
{dede:datalist empty='<tr bgcolor="white"><td colspan="4"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>{dede:field.diyid/}</td>
<td><a href="diy_list.php?action=list&diyid={dede:field.diyid/}">{dede:field.name/}</a></td>
<td>{dede:field.table/}</td>


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

@@ -59,7 +59,7 @@
<tr>
<td bgcolor="#f8f8f8" colspan="8">文章错误管理</td>
</tr>
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="5%">选择</td>
<td width="7%">id</td>
<td width="12%">挑错人</td>
@@ -70,7 +70,7 @@
<td width="15%">修改建议</td>
</tr>
{dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'}
<tr align="center" onMouseMove="javascript:this.bgColor='#FBFCE2';" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onMouseMove="javascript:this.bgColor='#fbfce2';" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input type="checkbox" name="id" id="id" value="{dede:field.id/}"></td>
<td>{dede:field.id/}</td>
<td>{dede:field.mid function='username(@me)'/}</td>


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

@@ -85,12 +85,12 @@
</tr>
<form name="feedback">
<tr>
<td style="padding:0">
<td class="p-0">
<table width="100%" cellpadding="0" cellspacing="0" class="table table-borderless">
{dede:datalist empty='<tr><td><center>暂无内容</center></td></tr>'}
<tr>
<td style="padding:0">
<table width="100%" cellpadding="0" cellspacing="1" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';" class="table table-borderless">
<td class="p-0">
<table width="100%" cellpadding="0" cellspacing="1" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';" class="table table-borderless">
<tr>
<td width="8%">选择 <input type="checkbox" name="fid" id="fid" value="{dede:field.id/}"></td>
<td width="10%">用户:{dede:field.username/}</td>
@@ -141,7 +141,7 @@
</td>
</tr>
<tr>
<td height="36" bgcolor="#f8f8f8" align="center" style="border-top:1px solid #dee2e6">{dede:pagelist listsize='6'/}</td>
<td height="36" align="center">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
</td>


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

@@ -46,7 +46,7 @@
<td><input name="filename" value="{dede:global name='filename'/}" style="width:260px">(不允许用 “..”形式的路径)</td>
</tr>
<tr class="table">
<td colspan="2" style="padding:0">{dede:global name='contentView'/}</td>
<td colspan="2" class="p-0">{dede:global name='contentView'/}</td>
</tr>
<tr>
<td bgcolor="#f8f8f8" colspan="2" align="center" class="py-2">


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

@@ -67,7 +67,7 @@
{
if(preg_match("#^_(.*)$#i",$file)) continue;
if(preg_match("#^\.(.*)$#i",$file)) continue;
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#FBFCE2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href='file_manage_main.php?activepath=".urlencode("$activepath/$file")."'><img src='../static/web/img/dir.gif'>$file</a></td>
<td></td>
@@ -82,7 +82,7 @@
}
else if(preg_match("#\.(gif|png)#i",$file))
{
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#FBFCE2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/gif.gif'>$file</a></td>
<td>$filesize KB</td>
@@ -97,7 +97,7 @@
}
else if(preg_match("#\.(jpg)#i",$file))
{
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#FBFCE2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/jpg.gif'>$file</a></td>
<td>$filesize KB</td>
@@ -112,7 +112,7 @@
}
else if(preg_match("#\.(swf|fla|fly)#i",$file))
{
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#FBFCE2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/flash.gif'>$file</a></td>
<td>$filesize KB</td>
@@ -127,7 +127,7 @@
}
else if(preg_match("#\.(zip|rar|tar.gz)#i",$file))
{
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#FBFCE2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/zip.gif'>$file</a></td>
<td>$filesize KB</td>
@@ -142,7 +142,7 @@
}
else if(preg_match("#\.(exe)#i",$file))
{
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#FBFCE2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/exe.gif'>$file</a></td>
<td>$filesize KB</td>
@@ -157,7 +157,7 @@
}
else if(preg_match("#\.(mp3|wma)#i",$file))
{
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#FBFCE2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/mp3.gif'>$file</a></td>
<td>$filesize KB</td>
@@ -172,7 +172,7 @@
}
else if(preg_match("#\.(wmv|api)#i",$file))
{
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#FBFCE2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/wmv.gif'>$file</a></td>
<td>$filesize KB</td>
@@ -187,7 +187,7 @@
}
else if(preg_match("#\.(rm|rmvb)#i",$file))
{
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#FBFCE2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/rm.gif'>$file</a></td>
<td>$filesize KB</td>
@@ -203,7 +203,7 @@
else if(preg_match("#\.(txt|inc|pl|cgi|asp|xml|xsl|aspx|cfm)#",$file))
{
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath);
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#FBFCE2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/txt.gif'>$file</a></td>
<td>$filesize KB</td>
@@ -237,7 +237,7 @@
else if(preg_match("#\.(php)#i",$file))
{
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath);
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#FBFCE2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/php.gif'>$file</a></td>
<td>$filesize KB</td>
@@ -254,7 +254,7 @@
else if(preg_match("#\.(js)#i",$file))
{
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath);
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#FBFCE2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/js.gif'>$file</a></td>
<td>$filesize KB</td>
@@ -271,7 +271,7 @@
else if(preg_match("#\.(css)#i",$file))
{
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath);
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#FBFCE2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/css.gif'>$file</a></td>
<td>$filesize KB</td>
@@ -285,7 +285,7 @@
</tr>";
$files[] = $line;
} else {
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#FBFCE2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#fbfce2';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td><a href='$activeurl/$file' target='_blank'>$file</td>
<td>$filesize KB</td>
<td align='center'>$filetime</td>


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

@@ -28,7 +28,7 @@
<form method="POST" enctype="multipart/form-data" action="file_manage_control.php" name="form1">
<input type="hidden" name="activepath" value="{dede:global name='activepath'/}">
<input type="hidden" name="fmdo" value="upload">
<table cellpadding="0" cellspacing="0" width="100%" class="mt-3">
<table cellpadding="0" cellspacing="0" width="100%" class="mt-3 mb-3">
<tr>
<td style="padding-bottom:1rem">
<input type="button" class="btn btn-success btn-sm" value="增加上传框" name="bbb" class="bt1" onClick="make_upload();">


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

@@ -67,7 +67,7 @@
</div>
</li>
</div>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table-borderless mt-3" style="border:1px solid #dee2e6;border-bottom:0">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table-borderless biz-border mt-3 mb-3">
<tr>
<td bgcolor="#f8f8f8" class="py-2"><a href="freelist_main.php" class="ml-2">自由列表管理</a> &gt; 增加一个列表</td>
<td align="right" bgcolor="#f8f8f8"></td>
@@ -77,10 +77,10 @@
<form action="freelist_add.php" method="post" name="form1" onSubmit="return CheckSubmit();">
<input type="hidden" name="dopost" value="save">
<tr>
<td style="padding:0">
<td class="p-0">
<table width="100%" align="center" cellpadding="0" cellspacing="1" class="table-borderless">
<tr>
<td style="padding:0">
<td class="p-0">
<table width="100%" cellspacing="1" cellpadding="0">
<tr>
<td colspan="2"><i class="fa fa-question-circle" title="帮助"></i> 自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成按自定义排序规则的文章列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或访问速度</td>
@@ -131,7 +131,7 @@
</td>
</tr>
<tr>
<td style="background:#FBFCE2">列表样式:这里是定义自由列表模板里的{dede:freelist/}标记的样式和属性</td>
<td style="background:#fbfce2">列表样式:这里是定义自由列表模板里的{dede:freelist/}标记的样式和属性</td>
</tr>
<tr>
<td>


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

@@ -65,10 +65,10 @@
</td>
</tr>
<tr>
<td style="padding:0">
<td class="p-0">
<table width="100%" align="right" cellpadding="0" cellspacing="1" class="table-borderless">
<tr>
<td style="padding:0">
<td class="p-0">
<table width="100%" cellspacing="1" cellpadding="0">
<tr>
<td colspan="2"><i class="fa fa-question-circle" title="帮助"></i> 自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成按自定义排序规则的文章列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或访问速度</td>
@@ -119,7 +119,7 @@
</td>
</tr>
<tr>
<td style="background:#FBFCE2">列表样式:这里是定义自由列表模板里的{dede:freelist/}标记的样式和属性</td>
<td style="background:#fbfce2">列表样式:这里是定义自由列表模板里的{dede:freelist/}标记的样式和属性</td>
</tr>
<tr>
<td>限定栏目:


+ 9
- 17
src/admin/templets/freelist_main.htm View File

@@ -104,23 +104,15 @@
</script>
</head>
<body>
<table width="98%" cellpadding="5" cellspacing="1" align="center" class="mt-3 mb-3" style="border:1px solid #dee2e6">
<tr>
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<form action="freelist_main.php" name="form1" id="form1">
<tr>
<td width="170" align="center">
<input type="text" name="keyword" id="keyword" value="<?php echo $keyword?>" style="width:160px">
</td>
<td>
<button type="submit" name="Submit2" class="btn btn-success btn-sm">搜索</button>
<button type="button" name="bt1" onclick="location='freelist_add.php';" class="btn btn-success btn-sm">增加列表</button>
<button type="button" name="bt2" onclick="location='makehtml_freelist.php';" class="btn btn-success btn-sm">更新所有列表</button>
</td>
</tr>
</form>
</table>
<table width="98%" cellpadding="5" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr bgcolor="#f8f8f8">
<td width="170" align="center">
<input type="text" name="keyword" id="keyword" value="<?php echo $keyword?>" style="width:160px">
</td>
<td>
<button type="submit" name="Submit2" class="btn btn-success btn-sm">搜索</button>
<button type="button" name="bt1" onclick="location='freelist_add.php';" class="btn btn-success btn-sm">增加列表</button>
<button type="button" name="bt2" onclick="location='makehtml_freelist.php';" class="btn btn-success btn-sm">更新所有列表</button>
</td>
</tr>
</table>


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

@@ -86,7 +86,7 @@
<td>链接位置:</td>
<td>
<label><input type="radio" name="ischeck" value="1" checked="1"> 内页</label>
<label><input type="radio" name="ischeck" value="2"> 首页 </label>
<label><input type="radio" name="ischeck" value="2"> 首页</label>
</td>
</tr>
<tr>


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

@@ -73,7 +73,7 @@
<form name="form1" method="post" action="friendlink_edit.php" onSubmit="return checkSubmit();">
<input type="hidden" name="dopost" value="delall">
<input type="hidden" name="allid" value="">
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="6%">选择</td>
<td width="23%">网站名称</td>
<td width="12%">网站Logo</td>
@@ -84,7 +84,7 @@
<td width="15%">管理</td>
</tr>
{dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input type='checkbox' name='aids' value='{dede:field.id/}'></td>
<td>{dede:field.webname function='dede_htmlspecialchars(@me)'/}<br><i>地址:{dede:field.url/}</i> </td>
<td>{dede:field.logo function="GetPic(@me)"/}</td>


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

@@ -20,7 +20,7 @@
<a href="../apps/flink.php?dopost=add" target="_blank" class="btn btn-success btn-sm">外部申请表单</a>
</td>
</tr>
<tr bgcolor="#FBFCE2">
<tr bgcolor="#fbfce2">
<td width="4%" align="center">id</td>
<td width="60%" align="center">网站名称</td>
<td width="36%" align="center">状态</td>
@@ -43,7 +43,7 @@
}
?>
<input type="hidden" name="idend" value="<?php echo $k?>">
<tr bgcolor="#FBFCE2">
<tr bgcolor="#fbfce2">
<td colspan="3" bgcolor="#f8f8f8">新增一个网站类型:</td>
</tr>
<tr align="center">


+ 16
- 20
src/admin/templets/index.htm View File

@@ -12,16 +12,12 @@
<script src="../static/web/js/jquery.min.js"></script>
</head>
<body class="showmenu">
<?php
if(preg_match('/MSIE/i',$_SERVER['HTTP_USER_AGENT']) || preg_match('/Trident/i',$_SERVER['HTTP_USER_AGENT'])){
?>
<div id="browsehappy" style="padding:20px 30px;font-size:14px;line-height:16px;color:#856404;background:#fff3cd;border-radius:.25rem;border:none">
<a onclick="document.getElementById('browsehappy').style.display='none';" style="float:right;cursor:pointer">×</a>
<?php if (preg_match('/MSIE/i',$_SERVER['HTTP_USER_AGENT']) || preg_match('/Trident/i',$_SERVER['HTTP_USER_AGENT'])){?>
<div id="browsehappy">
<span>您正在使用一个过时的浏览器,请您<a href="https://www.dedebiz.com/browsehappy" target="_blank">升级浏览器</a>,以提高您对后台体验</span>
<a onclick="document.getElementById('browsehappy').style.display='none';" class="browsehappy-close">×</a>
</div>
<?php
}
?>
<?php }?>
<div class="head">
<div class="top">
<div class="top-logo">
@@ -35,20 +31,20 @@
</div>
<div class="top-item">
<ul class="mb-0">
<li class="pl-0"><a href="javascript:;" id="togglemenu" title="侧边伸缩"><i class="fa fa-dedent"></i></a></li>
<li class="pl-0"><a href="javascript:;" id="togglemenu" title="侧边伸缩"><i class="fa fa-dedent"></i> </a></li>
<?php if($cuserLogin->getUserType()>=10){ ?>
<li><a href="sys_info.php" target="main" title="系统配置"><i class="fa fa-cog"></i></a></li>
<li><a href="catalog_main.php" target="main" title="栏目管理"><i class="fa fa-bars"></i></a></li>
<li><a href="file_manage_main.php<?php echo DEDEBIZ_SAFE_MODE?'?activepath='.$cfg_medias_dir:''; ?>" target="main" title="文件管理"><i class="fa fa-folder"></i></a></li>
<li><a href="sys_info.php" target="main" title="系统配置"><i class="fa fa-cog"></i> </a></li>
<li><a href="catalog_main.php" target="main" title="栏目管理"><i class="fa fa-bars"></i> </a></li>
<li><a href="file_manage_main.php<?php echo DEDEBIZ_SAFE_MODE?'?activepath='.$cfg_medias_dir:''; ?>" target="main" title="文件管理"><i class="fa fa-folder"></i> </a></li>
<?php }?>
<?php if(!DEDEBIZ_SAFE_MODE){ ?><li><a href="templets_main.php" target="main" title="模板管理"><i class="fa fa-cube"></i></a></li><?php }?>
<li><a href="makehtml_all.php" target="main" title="更新整站"><i class="fa fa-repeat"></i></a></li>
<?php echo ($cfg_mb_open=='Y')?'<li><a href="../user" target="_blank" title="会员中心"><i class="fa fa-user-circle"></i></a></li>':''; ?>
<li><a href="../" target="_blank" title="预览主页"><i class="fa fa-eye"></i></a></li>
<?php if(!DEDEBIZ_SAFE_MODE){ ?><li><a href="templets_main.php" target="main" title="模板管理"><i class="fa fa-cube"></i> </a></li><?php }?>
<li><a href="makehtml_all.php" target="main" title="更新整站"><i class="fa fa-repeat"></i> </a></li>
<?php echo ($cfg_mb_open=='Y')?'<li><a href="../user" target="_blank" title="会员中心"><i class="fa fa-user-circle"></i> </a></li>':''; ?>
<li><a href="../" target="_blank" title="预览主页"><i class="fa fa-eye"></i> </a></li>
<li>
<form action="action_search.php" method="post" target="main">
<input type="text" name="keyword" placeholder="功能搜索" class="allsearch">
<button type="submit" class="search"><i class="fa fa-search"></i></button>
<button type="submit" class="search"><i class="fa fa-search"></i> </button>
</form>
</li>
</ul>
@@ -56,7 +52,7 @@
<div class="top-admin">
<ul class="mb-0">
<li><a href="sys_admin_user_edit.php?id=<?php echo $cuserLogin->getUserID(); ?>&dopost=edit" target="main"><img src="../static/web/img/avatar.png" title="<?php echo $cuserLogin->getUserName(); ?>"><?php echo $cuserLogin->getUserName(); ?><?php if($cuserLogin->getUserType()==10){echo "管理员";} else if($cuserLogin->getUserType()==5) {echo "频道员";} else {echo "信息员";}?></a></li>
<li><a href="exit.php" title="退出系统"><i class="fa fa-power-off"></i></a></li>
<li><a href="exit.php" title="退出系统">退了</a></li>
</ul>
</div>
</div>
@@ -79,10 +75,10 @@
$("#togglemenu").click(function () {
if ($("body").attr("class") == "showmenu") {
$("body").attr("class", "hidemenu");
$(this).html('<i class="fa fa-indent"></i>');
$(this).html('<i class="fa fa-indent"></i> ');
} else {
$("body").attr("class", "showmenu");
$(this).html('<i class="fa fa-dedent"></i>');
$(this).html('<i class="fa fa-dedent"></i> ');
}
});
}


+ 18
- 11
src/admin/templets/index_body.htm View File

@@ -22,16 +22,18 @@
<div id="body-tips" class="col-md-12"></div>
<div class="col-md-12 mt-3 mb-3">
<div class="card">
<div class="card-header"><a href="#statChart" title="查看流量统计图"><i class="fa fa-bar-chart"></i> 流量统计表</a></div>
<div class="card-header">
<a href="#statChart" title="查看流量统计图"><i class="fa fa-bar-chart"></i> 流量统计表</a>
</div>
<div class="card-body">
<table class="table">
<tbody>
<tr class="title">
<td width="20%" style="border-top:0"></td>
<td width="20%" style="border-top:0">浏览次数(PV)</td>
<td width="20%" style="border-top:0">独立访客(UV)</td>
<td width="20%" style="border-top:0">IP</td>
<td width="20%" style="border-top:0">访问次数</td>
<td width="20%" class="border-top-0"></td>
<td width="20%" class="border-top-0">浏览次数(PV)</td>
<td width="20%" class="border-top-0">独立访客(UV)</td>
<td width="20%" class="border-top-0">独立IP(IP)</td>
<td width="20%" class="border-top-0">访问次数(VV)</td>
</tr>
<tr class="bg-white">
<td class="today">今日</td>
@@ -62,11 +64,11 @@
<div class="col-md-6 mt-3 mb-3 updatenews">
<div class="card">
<div class="card-header">
<a href="javascript:copyFn()"><i class="fa fa-gear"></i> 系统信息</a><span id="text">V:<?php echo $cfg_version_detail; ?>|操作系统:<?php echo PHP_OS; ?>|Web服务器:<?php echo $_SERVER['SERVER_SOFTWARE']; ?>|PHP版本:<?php echo @phpversion(); ?>|数据库版本:<?php echo $dsql->GetVersion(); ?></span>
<a href="javascript:copyFn()"><i class="fa fa-gear"></i> 系统信息</a>
<span id="text">V:<?php echo $cfg_version_detail; ?>|操作系统:<?php echo PHP_OS; ?>|Web服务器:<?php echo $_SERVER['SERVER_SOFTWARE']; ?>|PHP版本:<?php echo @phpversion(); ?>|数据库版本:<?php echo $dsql->GetVersion(); ?></span>
</div>
<div class="card-body">
<div id="updateinfos"><?php echo "<iframe src='{$offUrl}&uptime={$oktime}' name='stafrm' id='stafrm' style='width:98%;height:70px;padding:.6rem;border:0'></iframe>"; ?></div>
<table width="98%" class="table table-borderless">
<table class="table table-borderless">
<tr>
<td>
<div class="web-info">
@@ -105,7 +107,10 @@
</div>
<div class="col-md-6 mt-3 mb-3">
<div class="card">
<div class="card-header"><i class="fa fa-database"></i> 版本授权</div>
<div class="card-header">
<span><i class="fa fa-database"></i> 版本授权</span>
<a href="" class="float-right">软件更新</a>
</div>
<div class="card-body" id="system-info">正在加载</div>
</div>
</div>
@@ -119,7 +124,9 @@
</div>
<div class="col-md-6 mt-3 mb-3">
<div class="card">
<div class="card-header"><i class="fa fa-file-word-o"></i> 最新文档</div>
<div class="card-header">
<span><i class="fa fa-file-word-o"></i> 最新文档</span>
</div>
<div class="card-body" id="system-word">正在加载</div>
</div>
</div>


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

@@ -13,7 +13,7 @@
<script src="js/leftmenu.js"></script>
<base target="main">
</head>
<body class="menu-box">
<body class="menu-body">
<table cellspacing="0" cellpadding="0">
<tr>
<td valign="top" class="menu-left">


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

@@ -80,7 +80,7 @@
</table>
</td>
</tr>
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="8%">选择</td>
<td width="11%">管理员</td>
<td width="15%">访问文件</td>
@@ -91,7 +91,7 @@
</tr>
<form name="form1">
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input type="checkbox" name="logs" id="logs" value="{dede:field.lid/}"></td>
<td>{dede:field.userid/}</td>
<td><input type="text" value="{dede:field.filename/}" name="t0" style="width:100px"></td>


+ 39
- 41
src/admin/templets/login.htm View File

@@ -11,55 +11,53 @@
<link rel="stylesheet" href="css/login.css">
</head>
<body>
<?php
if(preg_match('/MSIE/i',$_SERVER['HTTP_USER_AGENT']) || preg_match('/Trident/i',$_SERVER['HTTP_USER_AGENT'])){
?>
<div id="browsehappy" style="padding:20px 30px;font-size:14px;line-height:16px;color:#856404;background:#fff3cd;border-radius:.25rem;border:none">
<a onclick="document.getElementById('browsehappy').style.display='none';" style="float:right;cursor:pointer">×</a>
<?php if (preg_match('/MSIE/i',$_SERVER['HTTP_USER_AGENT']) || preg_match('/Trident/i',$_SERVER['HTTP_USER_AGENT'])){?>
<div id="browsehappy">
<span>您正在使用一个过时的浏览器,请您<a href="https://www.dedebiz.com/browsehappy" target="_blank">升级浏览器</a>,以提高您对后台体验</span>
<a onclick="document.getElementById('browsehappy').style.display='none';" class="browsehappy-close">×</a>
</div>
<?php
}
?>
<header>
<div class="container top">
<?php }?>
<div class="d-flex flex-md-row align-items-center shadow-sm biz-head mb-5">
<div class="container">
<div class="row">
<div class="col-10">
<div class="logo"><img src="../static/web/img/admin-logo.png" title="<?php echo $cfg_soft_enname; ?>"></div>
<div class="col-6 text-left">
<div class="logo"><img src="../static/web/img/logo.png" title="<?php echo $cfg_soft_enname;?>" class="logo"></div>
</div>
<div class="col-2 d-flex justify-content-end goindex">
<a href="../index.php" target="_blank"><i class="fa fa-home"></i></a>
<div class="col-6 text-right d-flex justify-content-end biz-nav">
<a href="/" target="_blank" class="biz-nav-a"><i class="fa fa-home"></i> 网站首页</a>
</div>
</div>
</div>
</header>
<main class="container login-from mt-5">
<?php echo $redmsg; ?>
<div class="login-area shadow-sm">
<h4 class="mb-4 text-center">后台登录</h4>
<form name="form1" method="post" action="login.php">
<input type="hidden" name="gotopage" value="<?php if(!empty($gotopage)) echo RemoveXSS($gotopage); ?>">
<input type="hidden" name="dopost" value="login">
<input type="hidden" name="adminstyle" value="newDedeBIZ">
<div class="form-group">
<label for="iptUserid">用户名</label>
<input type="text" name="userid" class="form-control" id="iptUserid">
</div>
<div class="form-group">
<label for="iptPassword">密码</label>
<input type="password" name="pwd" class="form-control" id="iptPassword">
</div>
<div class="form-group">
<label for="iptValidate">验证码</label>
<div class="input-group">
<input type="text" name="validate" class="form-control" id="iptValidate" style="text-transform:uppercase">
<img src="../apps/vdimgck.php" onclick="this.src='../apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" id="validateimg" style="cursor:pointer">
</div>
<div class="container">
<div class="login-from">
<?php echo $redmsg;?>
<div class="login-area shadow-sm">
<h2 class="mb-4 text-center">后台登录</h2>
<form name="form1" method="post" action="login.php">
<input type="hidden" name="gotopage" value="<?php if(!empty($gotopage)) echo RemoveXSS($gotopage);?>">
<input type="hidden" name="dopost" value="login">
<input type="hidden" name="adminstyle" value="newDedeBIZ">
<div class="form-group">
<label for="iptUserid">用户名</label>
<input type="text" name="userid" id="iptUserid" class="form-control">
</div>
</div>
<button type="submit" class="btn btn-success btnLogin btn-sm">登录</button>
<div class="login-power"><?php echo $cfg_powerby; ?></div>
</form>
<div class="form-group">
<label for="iptPassword">密码</label>
<input type="password" name="pwd" id="iptPassword" class="form-control">
</div>
<div class="form-group">
<label for="iptValidate">验证码</label>
<div class="input-group">
<input type="text" name="validate" id="iptValidate" class="form-control text-uppercase">
<img src="../apps/vdimgck.php" onclick="this.src='../apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" id="validateimg">
</div>
</div>
<div><button type="submit" class="btn btn-success w-100">登录</button></div>
<div class="login-power"><?php echo $cfg_powerby; ?></div>
</form>
</div>
</div>
</main>
</div>
</body>
</html>

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

@@ -84,7 +84,7 @@
<td><input type="text" name="startid" id="startid" value="0" style="width:60px"></td>
</tr>
<tr>
<td bgcolor="#FBFCE2" colspan="2" align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">开始更新</button></td>
<td bgcolor="#fbfce2" colspan="2" align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">开始更新</button></td>
</tr>
</form>
<tr>


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

@@ -51,7 +51,7 @@
<td> <input type="text" name="pagesize" id="pagesize" value="20" style="width:60px"> 个文件</td>
</tr>
<tr>
<td bgcolor="#FBFCE2" colspan="2" align="center">
<td bgcolor="#fbfce2" colspan="2" align="center">
<button type="button" name="b112" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
<button type="button" name="b113" class="btn btn-success btn-sm" onClick="document.form2.submit();">查看所有文档</button>
</td>


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

@@ -35,7 +35,7 @@
<td><input type="text" name="pagesize" id="pagesize" value="100" size="8"> 个文件</td>
</tr>
<tr>
<td bgcolor="#FBFCE2" colspan="2" align="center"><button type="button" onClick="document.form1.submit();" class="btn btn-success btn-sm">开始更新</button></td>
<td bgcolor="#fbfce2" colspan="2" align="center"><button type="button" onClick="document.form1.submit();" class="btn btn-success btn-sm">开始更新</button></td>
</tr>
</form>
<tr>


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

@@ -54,7 +54,7 @@
<tr>
<td>相关选项:</td>
<td>
<label><input type="radio" name="saveset" value="0"> 不保存当前选项 </label>
<label><input type="radio" name="saveset" value="0"> 不保存当前选项</label>
<label><input type="radio" name="saveset" value="1" checked> 保存当前选项</label>
</td>
</tr>
@@ -116,7 +116,7 @@
}
?>
<tr>
<td bgcolor="#FBFCE2" colspan="2" align="center">
<td bgcolor="#fbfce2" colspan="2" align="center">
<button name="view" class="btn btn-success btn-sm" type="button" id="view" onClick="window.open('makehtml_homepage.php?dopost=view&templet='+form1.templet.value);">预览首页</button>
<button type="button" onclick="htmlSubmit()" class="btn btn-success btn-sm" name="Submit">开始更新</button>
</td>


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

@@ -50,7 +50,7 @@
</td>
</tr>
<tr>
<td bgcolor="#FBFCE2" colspan="2" align="center">
<td bgcolor="#fbfce2" colspan="2" align="center">
<button type="button" name="b112" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
</td>
</tr>


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

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


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

@@ -69,7 +69,7 @@
</td>
</tr>
<tr>
<td bgcolor="#FBFCE2" colspan="2" align="center"><button type="button" name="b112" class="btn btn-success btn-sm" onClick="document.form1.action='makehtml_taglist_action.php';onTagSubmit();">生成标签</button></td>
<td bgcolor="#fbfce2" colspan="2" align="center"><button type="button" name="b112" class="btn btn-success btn-sm" onClick="document.form1.action='makehtml_taglist_action.php';onTagSubmit();">生成标签</button></td>
</tr>
</form>
<tr>


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

@@ -97,7 +97,7 @@
</table>
</td>
</tr>
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="8%">选择</td>
<td width="28%">文件标题</td>
<td width="10%">文件大小</td>
@@ -108,7 +108,7 @@
</tr>
<form name="form1">
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input type="checkbox" name="aids" id="aids{dede:field.aid/}" value="{dede:field.aid/}"></td>
<td><a href="{dede:field.url/}" title="{dede:field.url/}" target="_blank">{dede:field.title/}</a></td>
<td>{dede:field.filesize function='GetFileSize(@me)'/}</td>


+ 35
- 41
src/admin/templets/member_main.htm View File

@@ -13,46 +13,40 @@
</head>
<body>
<form action="member_main.php" name="form1" method="get">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="mt-3 mb-3" style="border:1px solid #dee2e6">
<tr>
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" value="{dede:global name='keyword'/}" style="width:260px"></td>
<td width="170">
<select name="sortkey" id="sortkey" style="width:160px">
{dede:global name='sortform'/}
<option value="mid">mid/注册时间</option>
<option value="logintime">登录时间</option>
<option value="rank">会员等级</option>
<option value="money">会员金币</option>
<option value="scores">会员积分</option>
</select>
</td>
<td width="170">
<select name="sex" id="sex" style="width:160px">
{dede:global name='sexform'/}
<option value="男">男</option>
<option value="女">女</option>
<option value="保密">保密</option>
</select>
</td>
<td width="170">
<select name="spacesta" id="spacesta" style="width:160px">
<option value="-10">会员状态</option>
<?php
foreach($staArr as $k=>$v)
{
if($spacesta==$k) echo "<option value='$k' selected>$v</option>";
else echo "<option value='$k'>$v</option>";
}
?>
</select>
</td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr bgcolor="#f8f8f8">
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" value="{dede:global name='keyword'/}" style="width:260px"></td>
<td width="170">
<select name="sortkey" id="sortkey" style="width:160px">
{dede:global name='sortform'/}
<option value="mid">mid/注册时间</option>
<option value="logintime">登录时间</option>
<option value="rank">会员等级</option>
<option value="money">会员金币</option>
<option value="scores">会员积分</option>
</select>
</td>
<td width="170">
<select name="sex" id="sex" style="width:160px">
{dede:global name='sexform'/}
<option value="男">男</option>
<option value="女">女</option>
<option value="保密">保密</option>
</select>
</td>
<td width="170">
<select name="spacesta" id="spacesta" style="width:160px">
<option value="-10">会员状态</option>
<?php
foreach($staArr as $k=>$v)
{
if($spacesta==$k) echo "<option value='$k' selected>$v</option>";
else echo "<option value='$k'>$v</option>";
}
?>
</select>
</td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
</form>
@@ -73,7 +67,7 @@
</table>
</td>
</tr>
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="6%">选择</td>
<td width="6%">mid</td>
<td width="10%">登录名</td>
@@ -85,7 +79,7 @@
<td>操作</td>
</tr>
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input type="checkbox" name="mid" id="mid" value="{dede:field.mid/}"></td>
<td>{dede:field.mid/}</td>
<td>


+ 6
- 12
src/admin/templets/member_operations.htm View File

@@ -56,16 +56,10 @@
</head>
<body>
<form name="form2" method="get" action="member_operations.php">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="mt-3 mb-3" style="border:1px solid #dee2e6">
<tr>
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="280" align="center"><input type="text" name="buyid" id="buyid" placeholder="请输入订单号" style="width:260px"></td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
</td>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr bgcolor="#f8f8f8">
<td width="280" align="center"><input type="text" name="buyid" id="buyid" placeholder="请输入订单号" style="width:260px"></td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
</form>
@@ -86,7 +80,7 @@
</table>
</td>
</tr>
<tr bgcolor="#FBFCE2">
<tr bgcolor="#fbfce2">
<td width="8%" align="center">选择</td>
<td width="20%" align="center">订单号</td>
<td align="center">产品名称</td>
@@ -98,7 +92,7 @@
</tr>
<form name="form1">
{dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td align="center"><input type="checkbox" name="aids" value="<?php echo $fields['aid']?>"></td>
<td align="center"><?php echo $fields['buyid']?></td>
<td align="center"><?php echo $fields['pname'].'('.$fields['oldinfo'].')'; ?></td>


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

@@ -14,23 +14,17 @@
</head>
<body>
<form action="member_pm.php" name="form1" method="get">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="mt-3 mb-3" style="border:1px solid #dee2e6">
<tr>
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="280" align="center"><input type="text" name="keyword" id="keyword" value="{dede:global name='keyword'/}" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input type="text" name="username" id="username" value="{dede:global name='username'/}" placeholder="请输入用户名" style="width:260px"></td>
<td width="170">
<select name="folder" id="folder" style="width:160px">
<option value="inbox">收件箱</option>
<option value="outbox">发件箱</option>
</select>
</td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr bgcolor="#f8f8f8">
<td width="280" align="center"><input type="text" name="keyword" id="keyword" value="{dede:global name='keyword'/}" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input type="text" name="username" id="username" value="{dede:global name='username'/}" placeholder="请输入用户名" style="width:260px"></td>
<td width="170">
<select name="folder" id="folder" style="width:160px">
<option value="inbox">收件箱</option>
<option value="outbox">发件箱</option>
</select>
</td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
</form>
@@ -38,7 +32,7 @@
<tr>
<td bgcolor="#f8f8f8" colspan="7"><span class="current" id="cate_1">短信列表</span> <a href="member_pmall.php">群发短信</a> <a href="member_pmone.php">单独短信</a></td>
</tr>
<tr bgcolor="#FBFCE2">
<tr bgcolor="#fbfce2">
<td width="10%" align="center">发送时间</td>
<td width="20%" align="center">标题</td>
<td width="5%" align="center">已读</td>
@@ -48,7 +42,7 @@
<td width="10%" align="center">操作</td>
</tr>
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>{dede:field.sendtime function='GetDateMk(@me)'/}</td>
<td>{dede:field.subject function='dede_htmlspecialchars(@me)'/}</td>
<td>{dede:field.hasview function='IsReader(@me)'/}</td>


+ 10
- 16
src/admin/templets/member_pmall.htm View File

@@ -13,23 +13,17 @@
</head>
<body>
<form action="member_pm.php" name="form1" method="get">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="mt-3 mb-3" style="border:1px solid #dee2e6">
<tr>
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input type="text" name="username" id="username" placeholder="请输入用户名" style="width:260px"></td>
<td width="170">
<select name="folder" id="folder" style="width:160px">
<option value="inbox">收件箱</option>
<option value="outbox">发件箱</option>
</select>
</td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr bgcolor="#f8f8f8">
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input type="text" name="username" id="username" placeholder="请输入用户名" style="width:260px"></td>
<td width="170">
<select name="folder" id="folder" style="width:160px">
<option value="inbox">收件箱</option>
<option value="outbox">发件箱</option>
</select>
</td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
</form>


+ 10
- 16
src/admin/templets/member_pmone.htm View File

@@ -13,23 +13,17 @@
</head>
<body>
<form action="member_pm.php" name="form1" method="get">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="mt-3 mb-3" style="border:1px solid #dee2e6">
<tr>
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input type="text" name="username" id="username" placeholder="请输入用户名" style="width:260px"></td>
<td width="170">
<select name="folder" id="folder" style="width:160px">
<option value="inbox">收件箱</option>
<option value="outbox">发件箱</option>
</select>
</td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr bgcolor="#f8f8f8">
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input type="text" name="username" id="username" placeholder="请输入用户名" style="width:260px"></td>
<td width="170">
<select name="folder" id="folder" style="width:160px">
<option value="inbox">收件箱</option>
<option value="outbox">发件箱</option>
</select>
</td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
</form>


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

@@ -15,7 +15,7 @@
<tr>
<td bgcolor="#f8f8f8" colspan="6">会员管理 &gt; 会员级别设置</td>
</tr>
<tr bgcolor="#FBFCE2">
<tr bgcolor="#fbfce2">
<td colspan="6">级别名称和级别值:注册会员这个级别不能删除,否则会员系统将会无法正常使用某些功能</td>
</tr>
<tr align="center">
@@ -52,7 +52,7 @@
}
?>
<input type="hidden" name="idend" value="<?php echo $k; ?>">
<tr bgcolor="#FBFCE2">
<tr bgcolor="#fbfce2">
<td colspan="6">新增一个级别:由于会员升级是以级别值由低向高升级的,因此增加组别时需注意此值的设置,如果您增加新的会员组的级别值低于10,将自动被视为普通的注册会员</td>
</tr>
<tr align="center">


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

@@ -24,23 +24,23 @@
<body>
<form action="member_scores.php" method="post">
<input name="action" type="hidden" value="save">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="tbtitle mt-3 mb-3" style="border:1px solid #dee2e6">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="tbtitle biz-border mt-3 mb-3">
<tr>
<td width="100%" bgcolor="#f8f8f8"><a href="member_main.php">会员管理</a> &gt; 积分头衔设置</td>
</tr>
</table>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable">
<tr>
<td width="6%" align="center" bgcolor="#FBFCE2"><input type="checkbox" name="chkall" id="chkall" onClick="CheckAll(this.form)"> 删</td>
<td width="23%" align="center" bgcolor="#FBFCE2">积分大于</td>
<td width="30%" align="center" bgcolor="#FBFCE2">星星数</td>
<td width="23%" align="center" bgcolor="#FBFCE2">级别头衔</td>
<td width="30%" align="center" bgcolor="#FBFCE2">是否默认</td>
<td width="6%" align="center" bgcolor="#fbfce2"><input type="checkbox" name="chkall" id="chkall" onClick="CheckAll(this.form)"> 删</td>
<td width="23%" align="center" bgcolor="#fbfce2">积分大于</td>
<td width="30%" align="center" bgcolor="#fbfce2">星星数</td>
<td width="23%" align="center" bgcolor="#fbfce2">级别头衔</td>
<td width="30%" align="center" bgcolor="#fbfce2">是否默认</td>
</tr>
<?php
foreach($Scores as $v){
?>
<tr onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td align="center"><input type="checkbox" name="Ids-<?php echo $v['id']?>" id="Ids-<?php echo $v['id']?>" value="1"></td>
<td align="center"><input type="text" name="integral-<?php echo $v['id']?>" id="integral-<?php echo $v['id']?>" value="<?php echo $v['integral']?>" style="width:160px"></td>
<td align="center"><input type="text" name="icon-<?php echo $v['id']?>" id="icon-<?php echo $v['id']?>" value="<?php echo $v['icon']?>" style="width:60px"></td>


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

@@ -25,7 +25,7 @@
</table>
</td>
</tr>
<tr bgcolor="#FBFCE2">
<tr bgcolor="#fbfce2">
<td width="22%" align="center">产品名称</td>
<td width="23%" align="center">会员级别</td>
<td width="21%" align="center">产品价格</td>


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

@@ -96,7 +96,7 @@
<td>
<table width="100%" cellpadding="5" cellspacing="1">
<tr>
<td bgcolor="#FBFCE2">使用协议或说明:<br>
<td bgcolor="#fbfce2">使用协议或说明:<br>
如果需要带HTML格式,请编译后点击修改时使用HTML</td>
</tr>
<tr>
@@ -113,7 +113,7 @@
<div style="margin:5px 0px 5px 5px;display:<?php if(isset($autosetup) && $autosetup==1) echo 'block'; else echo 'none'; ?>" id="autosetupct">
<table width="100%" cellpadding="5" cellspacing="1">
<tr>
<td bgcolor="#FBFCE2">
<td bgcolor="#fbfce2">
请使用MySQL4.0版本格式的SQL语句:<br>
MySQL4.1/5.x版本请把创建表语句 ENGINE=MyISAM DEFAULT CHARSET=* ,改为 TYPE=MyISAM ,SQL语句允许换行,但必须用 ";换行" 表示一条SQL语句结束<br>
如果SQL中包含有模块网址的,用 _ROOTURL_ 表示,如:_ROOTURL_/ask/index.php
@@ -135,7 +135,7 @@
<div style='margin:5px 0px 5px 5px;display:<?php if(isset($autodel) && $autodel==1) echo 'block'; else echo 'none'; ?>' id='autodelct'>
<table width="100%" cellpadding="5" cellspacing="1">
<tr>
<td bgcolor="#FBFCE2">卸载时执行的SQL语句:<br>
<td bgcolor="#fbfce2">卸载时执行的SQL语句:<br>
(SQL允许换行,但必须用 ";换行" 表示一条SQL语句结束)</td>
</tr>
<tr>


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

@@ -37,7 +37,7 @@
</div>
</td>
</tr>
<tr bgcolor="#FBFCE2">
<tr bgcolor="#fbfce2">
<td align="center" width="16%">模块名称</td>
<td align="center" width="12%">发布时间</td>
<td align="center" width="10%">编码</td>
@@ -50,7 +50,7 @@
foreach($modules as $k=>$v)
{
?>
<tr align="center" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><?php echo $v['name']; ?></td>
<td><?php echo $v['time']; ?></td>
<td>


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

@@ -91,7 +91,7 @@
<div style="margin:5px 0px 5px 5px;display:none" id="autoreadmect">
<table width="100%" cellpadding="5" cellspacing="1">
<tr>
<td bgcolor="#FBFCE2">
<td bgcolor="#fbfce2">
填写使用协议或说明:<br>
如果需要带HTML格式,请编译后点击修改时使用HTML</td>
</tr>
@@ -113,7 +113,7 @@
<div style="margin:5px 0px 5px 5px;display:none" id="autosetupct">
<table width="100%" cellpadding="5" cellspacing="1">
<tr>
<td bgcolor="#FBFCE2">
<td bgcolor="#fbfce2">
请使用MySQL4.0版本格式的SQL语句:<br>
MySQL4.1/5.x版本请把创建表语句 ENGINE=MyISAM DEFAULT CHARSET=* ,改为 TYPE=MyISAM ,SQL语句允许换行,但必须用 ";换行" 表示一条SQL语句结束<br>
如果SQL中包含有模块网址的,用 _ROOTURL_ 表示,如:_ROOTURL_/ask/index.php
@@ -135,7 +135,7 @@
<div style="margin:5px 0px 5px 5px;display:none" id="autodelct">
<table width="100%" cellpadding="5" cellspacing="1">
<tr>
<td bgcolor="#FBFCE2">卸载时执行的SQL语句:<br>
<td bgcolor="#fbfce2">卸载时执行的SQL语句:<br>
(SQL允许换行,但必须用 ";换行" 表示一条SQL语句结束)
</td>
</tr>


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

@@ -111,7 +111,7 @@
$dsql->Execute();
while($row3 = $dsql->GetObject())
{
echo "<label><input type='radio' name='usertype' value=".$row3->name."> ".$row3->name." </label>";
echo "<label><input type='radio' name='usertype' value=".$row3->name."> ".$row3->name."</label>";
}
?>
<label><input type="radio" name="usertype" value="" checked="1"> 不限</label>


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

@@ -76,8 +76,8 @@
<td colspan="2">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">基本设置</td>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">字段管理</a></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">基本设置</td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">字段管理</a></td>
</tr>
</table>
</td>
@@ -88,8 +88,8 @@
<td colspan="2">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">基本设置</a></td>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">字段管理</td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">基本设置</a></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">字段管理</td>
</tr>
</table>
</td>
@@ -101,16 +101,16 @@
{
?>
<tr>
<td colspan="2" style="color:#dc3545;border-top:0">您目前所展开的是系统模型,系统模型一般对发布程序和管理程序已经固化,如果您胡乱修改系统模型将会导致使用这种内容类型的频道可能崩溃</td>
<td colspan="2" class="border-top-0">您目前所展开的是系统模型,系统模型一般对发布程序和管理程序已经固化,如果您胡乱修改系统模型将会导致使用这种内容类型的频道可能崩溃</td>
</tr>
<?php
}
?>
<tr>
<td style="border-top:0">模型性质<br>
<td class="border-top-0">模型性质<br>
<span class="style2" id="help5">如果为系统模型将禁止删除,此选项不可修改,对于独立模型,系统强制创建字段aid、栏目id、发布时间、文档标题</span>
</td>
<td style="border-top:0">
<td class="border-top-0">
<?php
if($row['issystem']==0) echo "自动模型";
else if($row['issystem']==1) echo "系统模型";
@@ -253,7 +253,7 @@
<tr>
<td colspan='2'>
<table width="100%" cellpadding="1" cellspacing="1" align="center">
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="28%">表单提示文字</td>
<td width="18%">数据字段名</td>
<td width="20%">数据类型</td>
@@ -288,7 +288,7 @@
foreach($dtp->CTags as $ctag)
{
?>
<tr align="center" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>
<?php
$itname = $ctag->GetAtt('itemname');
@@ -319,9 +319,9 @@
if($ft==1)
{
?>
<a href="mychannel_field_edit.php?id=<?php echo $id; ?>&fname=<?php echo $ctag->GetTagName(); ?>&issystem=<?php echo $row['issystem']; ?>"><i class="btn btn-sm fa fa-pencil-square-o" title="修改"></i></a>
<a href="mychannel_field_edit.php?id=<?php echo $id; ?>&fname=<?php echo $ctag->GetTagName(); ?>&issystem=<?php echo $row['issystem']; ?>"><i class="btn btn-sm fa fa-pencil-square-o" title="修改"></i> </a>
<?php if($row['issystem']!=1){ ?>
<a href="javascript:;" onClick="javascript:DelNote('mychannel_field_edit.php?id=<?php echo $id; ?>&fname=<?php echo $ctag->GetTagName(); ?>&action=delete');"><i class="btn btn-sm fa fa-trash" title="删除"></i></a>
<a href="javascript:;" onClick="javascript:DelNote('mychannel_field_edit.php?id=<?php echo $id; ?>&fname=<?php echo $ctag->GetTagName(); ?>&action=delete');"><i class="btn btn-sm fa fa-trash" title="删除"></i> </a>
<?php } ?>
<?php
} else {


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

@@ -167,7 +167,7 @@
<div class="nw"><label><input type="radio" name="dtype" id="dtype11" value="media"> 多媒体文件</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype12" value="addon"> 附件类型</label></div>
<br class="cls">
<div class="nw"><label><input type="radio" name="dtype" id="dtype13" value="select"> 使用option下拉框 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype13" value="select"> 使用option下拉框</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype14" value="radio"> 使用radio选项卡</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype15" value="checkbox"> checkbox多选框</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype16" value="stepselect"> 联动类型</label></div>


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

@@ -40,7 +40,7 @@
<span class="btn-text"><i class="fa fa-trash" title="删除"></i> 删除</span>
</td>
</tr>
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="6%">id</td>
<td width="16%">频道名称</td>
<td width="12%">识别id</td>
@@ -54,7 +54,7 @@
<center>暂无内容</center>
</td>
</tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>{dede:field.id/}</td>
<td><a href="mychannel_edit.php?id={dede:field.id/}&dopost=edit">{dede:field.typename/}</a></td>
<td>{dede:field.nid/}</td>
@@ -62,12 +62,12 @@
<td>{dede:field.isshow function="GetSta(@me,$fields['id'])"/}</td>
<td>{dede:field.issystem function='IsSystem(@me)'/}</td>
<td>
<a href="mychannel_edit.php?id={dede:field.id/}&dopost=copystart"><i class="btn btn-sm fa fa-clone" title="复制"></i></a>
<a href="mychannel_edit.php?id={dede:field.id/}&dopost=gettemplets"><i class="btn btn-sm fa fa-file-text-o" title="模板"></i></a>
<a href="mychannel_edit.php?id={dede:field.id/}&dopost=export"><i class="btn btn-sm fa fa-download" title="导出"></i></a>
<a href="mychannel_edit.php?id={dede:field.id/}&dopost=edit"><i class="btn btn-sm fa fa-pencil-square-o" title="修改"></i></a>
<a href="mychannel_edit.php?mid={dede:field.id/}&dopost=modifysearch"><i class="btn btn-sm fa fa-search" title="自定义搜索"></i></a>
<a href="mychannel_edit.php?id={dede:field.id/}&dopost=delete"><i class="btn btn-sm fa fa-trash" title="删除"></i></a>
<a href="mychannel_edit.php?id={dede:field.id/}&dopost=copystart"><i class="btn btn-sm fa fa-clone" title="复制"></i> </a>
<a href="mychannel_edit.php?id={dede:field.id/}&dopost=gettemplets"><i class="btn btn-sm fa fa-file-text-o" title="模板"></i> </a>
<a href="mychannel_edit.php?id={dede:field.id/}&dopost=export"><i class="btn btn-sm fa fa-download" title="导出"></i> </a>
<a href="mychannel_edit.php?id={dede:field.id/}&dopost=edit"><i class="btn btn-sm fa fa-pencil-square-o" title="修改"></i> </a>
<a href="mychannel_edit.php?mid={dede:field.id/}&dopost=modifysearch"><i class="btn btn-sm fa fa-search" title="自定义搜索"></i> </a>
<a href="mychannel_edit.php?id={dede:field.id/}&dopost=delete"><i class="btn btn-sm fa fa-trash" title="删除"></i> </a>
</td>
</tr>
{/dede:datalist}


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

@@ -14,7 +14,7 @@
<tr>
<td bgcolor="#f8f8f8" colspan="6">自定义标记管理<a class="btn btn-success btn-sm ml-2" href="mytag_add.php">增加一个标记</a><a class="btn btn-success btn-sm" href="mytag_tag_guide.php">智能标记向导</a></td>
</tr>
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="10%">id</td>
<td width="20%">标记名称</td>
<td width="15%">所属栏目</td>
@@ -23,7 +23,7 @@
<td width="20%">管理</td>
</tr>
{dede:datalist empty='<tr><td colspan="6"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>{dede:field.aid/}</td>
<td>{dede:field.tagname/}</td>
<td>{dede:field.typename function='TestType(@me)'/}</td>


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

@@ -148,7 +148,7 @@
</tr>
<tr>
<td>提取特定文档:<button type="button"class="btn btn-success btn-sm" id="selarc" onClick="SelectArcList('form1.arcid');">选择节点文章</button>
<textarea name="arcid" rows="3" id="arcid" style="width:90%" class="mt-3"></textarea>
<textarea name="arcid" rows="3" id="arcid" style="width:90%" class="mt-3 mb-3"></textarea>
</td>
</tr>
<tr>


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

@@ -15,14 +15,14 @@
<td width="30%" colspan="2">插件管理</td>
<td align="right" colspan="2">[<a href="module_main.php?moduletype=plus">安装新插件</a>]</td>
</tr>
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="10%">id</td>
<td width="40%">插件名称</td>
<td width="20%">插件作者</td>
<td width="30%">管理</td>
</tr>
{dede:datalist empty='<tr><td colspan="4"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>{dede:field.aid/}</td>
<td>{dede:field.plusname/}</td>
<td>{dede:field.writer/}</td>


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

@@ -72,7 +72,7 @@
<td bgcolor="#f8f8f8" colspan="7">文档回收站</td>
</tr>
<form name="form2">
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="6%">id</td>
<td width="4%">选择</td>
<td width="28%">文章标题</td>


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

@@ -57,7 +57,7 @@
<td bgcolor="#f8f8f8" colspan="2" align="left">已有配送方式列表</td>
</tr>
<tr>
<td colspan="2" align="center" style="border-top:0">
<td colspan="2" align="center" class="border-top-0">
<table width="100%" cellpadding="1" cellspacing="2" class="table">
<?php foreach($deliveryarr as $rs) { ?>
<input type="hidden" name="pid[]" value="<?php echo $rs['pid']; ?>">


+ 6
- 12
src/admin/templets/shops_operations.htm View File

@@ -70,16 +70,10 @@
</head>
<body>
<form name="form2" method="get" action="shops_operations.php">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="mt-3 mb-3" style="border:1px solid #dee2e6">
<tr>
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="280" align="center"><input name="buyid" type="text" id="buyid" placeholder="请输入订单号" style="width:260px"></td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
</td>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr bgcolor="#f8f8f8">
<td width="280" align="center"><input name="buyid" type="text" id="buyid" placeholder="请输入订单号" style="width:260px"></td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>
</form>
@@ -101,7 +95,7 @@
</table>
</td>
</tr>
<tr bgcolor="#FBFCE2">
<tr bgcolor="#fbfce2">
<td width="8%" align="center">选择</td>
<td width="25%" align="center">订单号</td>
<td align="center">收货人</td>
@@ -116,7 +110,7 @@
</tr>
<form name="form1">
{dede:datalist empty='<tr><td colspan="11"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#FBFCE2';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
<td align="center"><input type='checkbox' name='aids' value='<?php echo $fields['oid']?>'></td>
<td align="center"><?php echo $fields['oid']; ?></td>
<td align="center"><a href="javascript:OpenMyWinN('shops_operations_userinfo.php?oid=<?php echo $fields['oid']?>',800,600);"><?php echo $fields['consignee']?></a></td>


+ 10
- 31
src/admin/templets/soft_add.htm View File

@@ -18,11 +18,6 @@
<script src="../static/web/js/daterangepicker.js"></script>
<script src="js/main.js"></script>
<script src="../static/web/js/cropper.min.js"></script>
<style>
table{border-collapse:separate}
.form-control{display:inline-block;margin-right:10px;width:160px}
.style1 {color:#555}
</style>
<script>
function checkSubmit() {
if (document.form1.title.value == '') {
@@ -56,9 +51,9 @@
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="cid" value="<?php echo $cid; ?>">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="60%"><i class="fa fa-book"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">软件列表</a> &gt; 发布软件</td>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">软件列表</a> &gt; 发布软件</td>
<td align="right"><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a><a href="soft_config.php" class="btn btn-success btn-sm">下载频道参数设定</a></td>
</tr>
</table>
@@ -67,26 +62,13 @@
<td colspan="2">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">常规信息</td>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">高级参数</a></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规信息</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head2" style="display:none">
<tr>
<td colspan="2">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规信息</a></td>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">高级参数</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -151,9 +133,9 @@
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class='btn btn-success btn-sm'>选择图片</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-smete">清空</button>
</td>
<td width="260" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="max-width:100px;max-height:80px"></td>
<td align="center"><img src="../static/web/img/defaultpic.jpg" id="litPic" class="thumbnail"></td>
</tr>
</table>
</td>
@@ -191,7 +173,7 @@
echo "</select>";
?>
</span>
<i class='btn btn-sm fa fa-search' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid')" title='快捷选择'></i>
<i class='btn btn-sm fa fa-search' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid')" title='快捷选择'></i>
<?php
if($cfg_need_typeid2=='Y')
{
@@ -213,7 +195,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" onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid2')" title='选择副栏目' style='cursor:pointer'></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid2')" title='选择副栏目' style='cursor:pointer'></i>
</td>
</tr>
</table>
@@ -449,11 +431,8 @@
</td>
</tr>
<tr>
<td height="100"><?php GetEditor('body', '', 250, 'Small'); ?></td>
<td class="bline"><?php GetEditor('body','',450,'Small');?></td>
</tr>
</table>
<!--高级参数-->
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" style="display:none;border:1px solid #dee2e6">
<tr>
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -531,7 +510,7 @@
</td>
</tr>
</table>
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3">
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3">
<tr>
<td align="center" class="py-2">
<button type="submit" class="btn btn-success btn-sm">保存</button>


+ 12
- 35
src/admin/templets/soft_edit.htm View File

@@ -18,11 +18,6 @@
<script src="../static/web/js/daterangepicker.js"></script>
<script src="js/main.js"></script>
<script src="../static/web/js/cropper.min.js"></script>
<style>
table{border-collapse:separate}
.form-control{display:inline-block;margin-right:10px;width:160px}
.style1 {color:#555}
</style>
<script>
function checkSubmit() {
if (document.form1.title.value == '') {
@@ -51,37 +46,24 @@
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="id" value="<?php echo $aid?>">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="85%"><i class="fa fa-book"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives"></a><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">软件列表</a> &gt; 修改软件</td>
<td align="right"> <a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td>
<td width="90%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives"></a><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">软件列表</a> &gt; 修改软件</td>
<td align="right"><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
<tr>
<td colspan="2">
<table width="168" cellpadding="0" cellspacing="0">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">常规参数</td>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">高级参数</a></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规参数</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head2" style="display:none">
<tr>
<td colspan="2">
<table width="168" cellpadding="0" cellspacing="0">
<tr>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规参数</a></td>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">高级参数</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -150,11 +132,9 @@
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
</td>
<td align="center">
<img id="litPic" src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" style="max-width:100px;max-height:80px">
<button type="button" id="btnClearAll" class="btn btn-success btn-smete">清空</button>
</td>
<td align="center"><img src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" id="litPic" class="thumbnail"></td>
</tr>
</table>
</td>
@@ -190,7 +170,7 @@
echo $typeOptions;
echo "</select>";
?>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title="快捷选择" style="cursor:pointer"></i>
<i class="btn btn-sm fa fa-search" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title="快捷选择" style="cursor:pointer"></i>
</td>
<td width="90">消费金币:</td>
<td><input type="text" name="needmoney" id="needmoney" value="<?php echo $needmoney; ?>" style="width:160px"></td>
@@ -209,7 +189,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="选择副栏目" style="cursor:pointer"></i> </td>
</tr>
</table>
</td>
@@ -400,11 +380,8 @@
</td>
</tr>
<tr>
<td height="100" colspan="4"><?php GetEditor("body",$addRow["introduce"],250,"Small"); ?></td>
<td class="bline"><?php GetEditor("body",$addRow["introduce"],250,"Small"); ?></td>
</tr>
</table>
<!--高级参数-->
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" style="display:none;border:1px solid #dee2e6">
<tr>
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -486,7 +463,7 @@
</td>
</tr>
</table>
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3">
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3">
<tr>
<td align="center" class="py-2">
<button type="submit" class="btn btn-success btn-sm">保存</button>


+ 18
- 22
src/admin/templets/spec_add.htm View File

@@ -18,10 +18,6 @@
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="js/main.js"></script>
<script src="../static/web/js/cropper.min.js"></script>
<style>
table{border-collapse:separate}
.form-control{display:inline-block;margin-right:10px;width:160px}
</style>
<script>
function checkSubmit() {
if (document.form1.title.value == "") {
@@ -66,19 +62,19 @@
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="arcrank" value="0">
<input type="hidden" name="source" value="本站">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="85%"><i class="fa fa-book"></i> <a href="content_s_list.php">专题列表</a><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"></a> &gt; 发布专题</td>
<td width="10%" align="right"> <a href="makehtml_spec.php" class="btn btn-success btn-sm">更新专题</a></td>
<td width="70%"><i class="fa fa-map"></i> <a href="content_s_list.php">专题列表</a><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"></a> &gt; 发布专题</td>
<td width="30%" align="right"><a href="makehtml_spec.php" class="btn btn-success btn-sm">更新专题</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
<tr>
<td colspan="2">
<table width="168" cellpadding="0" cellspacing="0">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">常规参数</td>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">专题文档</a></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规参数</td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">专题文档</a></td>
</tr>
</table>
</td>
@@ -87,16 +83,16 @@
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head2" style="display:none">
<tr>
<td colspan="2">
<table width="168" cellpadding="0" cellspacing="0">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规参数</a></td>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">专题文档</td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规参数</a></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">专题文档</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -139,9 +135,9 @@
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-smete">清空</button>
</td>
<td width="260" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="height:80px"></td>
<td align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" id="litPic" class="thumbnail"></td>
</tr>
</table>
</td>
@@ -193,7 +189,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="快捷选择" style="cursor:pointer"></i>
</td>
</tr>
</table>
@@ -246,7 +242,7 @@
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 专题模板:</td>
<td width="260">
<td width="260">
<input type="text" name="templet" id="templet" value="<?php echo $cfg_df_style?>/article_spec.htm" style="width:160px">
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览</button>
</td>
@@ -261,7 +257,7 @@
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 发布时间:</td>
<td width="260"><?php
<td width="260"><?php
$nowtime = GetDateTimeMk(time());
echo "<input name='pubdate' value='$nowtime' type='text' id='pubdate' class='datepicker' style='width:160px'>";
?>
@@ -276,7 +272,7 @@
<td><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); ?></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" style="display:none;border:1px solid #dee2e6">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" class="biz-border" style="display:none">
<tr>
<td class="bline2">专题节点列表: <br>
1、文章列表用ID1,ID2,ID3这样形式分开,系统会自动排除不同节点的相同文章;<br>
@@ -300,7 +296,7 @@
$nodename = $nodeid = '';
}
?>
<tr bgcolor="#FBFCE2">
<tr bgcolor="#fbfce2">
<td width="260">节点<?php echo $i?>名称:</td>
<td colspan="2">
<table width="900" cellspacing="0" cellpadding="0">
@@ -355,7 +351,7 @@
</td>
</tr>
</table>
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0">
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3">
<tr>
<td align="center" class="py-2">
<button type="submit" class="btn btn-success btn-sm">保存</button>


+ 17
- 21
src/admin/templets/spec_edit.htm View File

@@ -18,10 +18,6 @@
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="js/main.js"></script>
<script src="../static/web/js/cropper.min.js"></script>
<style>
table{border-collapse:separate}
.form-control{display:inline-block;margin-right:10px;width:160px}
</style>
<script>
function SelectTemplets(fname) {
var pos = GetWinPos(800,600);
@@ -63,19 +59,19 @@
<input type="hidden" name="arcrank" value="<?php echo $arcRow['arcrank']?>">
<input type="hidden" name="source" value="本站">
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="85%"><i class="fa fa-book"></i> <a href="content_s_list.php">专题列表</a><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"></a> &gt; 修改专题</td>
<td width="10%" align="right"><a href="makehtml_spec.php" class="btn btn-success btn-sm">更新专题</a></td>
<td width="70%"><i class="fa fa-map"></i> <a href="content_s_list.php">专题列表</a><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"></a> &gt; 修改专题</td>
<td width="30%" align="right"><a href="makehtml_spec.php" class="btn btn-success btn-sm">更新专题</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
<tr>
<td colspan="2">
<table width="168" cellpadding="0" cellspacing="0">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">常规参数</td>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">专题文档</a></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">常规参数</td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem2()">专题文档</a></td>
</tr>
</table>
</td>
@@ -84,16 +80,16 @@
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head2" style="display:none">
<tr>
<td colspan="2">
<table width="168" cellpadding="0" cellspacing="0">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="84" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规参数</a></td>
<td width="84" height="28" align="center" bgcolor="#FBFCE2">专题文档</td>
<td width="80" align="center" bgcolor="#f8f8f8"><a href="javascript:;" onClick="ShowItem1()">常规参数</a></td>
<td width="80" height="28" align="center" bgcolor="#fbfce2">专题文档</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" class="biz-border">
<tr>
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
@@ -139,9 +135,9 @@
<label><input type="checkbox" name="ddisremote" value='1'> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-smete">清空</button>
</td>
<td align="center"><img id="litPic" src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" style="height:80px"></td>
<td align="center"><img id="litPic" src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" id="litPic" class="thumbnail"></td>
</tr>
</table>
</td>
@@ -197,7 +193,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="快捷选择" style="cursor:pointer"></i>
</td>
</tr>
</table>
@@ -291,7 +287,7 @@
<td><?php PrintAutoFieldsEdit(stripslashes($cInfos['fieldset']),$addRow,'autofield'); ?></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" style="display:none;border:1px solid #dee2e6">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" class="biz-border" style="display:none">
<tr>
<td class="bline2"> 专题节点列表:文章列表用ID1,ID2,ID3这样形式分开,系统会自动排除不同节点的相同文章<br>关于单条记录模板里的[field:fieldname/]标记的使用,请参考关于系统帮助关于arclist标记的说明</td>
</tr>
@@ -325,7 +321,7 @@
$rownum = $ctag->GetAtt('rownum');
if(empty($rownum)) $rownum = 40;
?>
<tr bgcolor="#FBFCE2">
<tr bgcolor="#fbfce2">
<td width="260">节点<?php echo $i?>名称:</td>
<td colspan="2">
<table width="900" cellspacing="0" cellpadding="0">
@@ -372,7 +368,7 @@
for($i;$i<=$cfg_specnote;$i++)
{
?>
<tr bgcolor="#FBFCE2">
<tr bgcolor="#fbfce2">
<td width="90">节点<?php echo $i?>名称:</td>
<td colspan="2">
<table width="900" cellspacing="0" cellpadding="0">
@@ -418,7 +414,7 @@
</td>
</tr>
</table>
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0">
<table width="98%" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" class="biz-border border-top-0 mb-3">
<tr>
<td align="center" class="py-2">
<button type="submit" class="btn btn-success btn-sm">保存</button>


+ 7
- 8
src/admin/templets/stepselect_main.htm View File

@@ -134,7 +134,6 @@
}
</script>
<style>
li{float:left;padding-right:10px;line-height:26px}
.abt{width:90%;border:1px #ffffff solid}
#edsta{position:absolute;top:70px;left:110px;width:280px;height:200px;background:#f8f8f8;border:1px solid #dedede;display:none;padding:6px}
#edsta div{margin:6px}
@@ -149,7 +148,7 @@ li{float:left;padding-right:10px;line-height:26px}
<td bgcolor="#f8f8f8" colspan="6">联动枚举组管理</td>
</tr>
<tr>
<td width="90">选择组别:</td>
<td width="90">选择组别:</td>
<td width="270">
<select name="egroup1" id="egroup1" onChange="ChangePage(this)" style="width:260px">
<option value='0'>所有组</option>
@@ -234,7 +233,7 @@ li{float:left;padding-right:10px;line-height:26px}
<span class="float-left"><a href="stepselect_main.php">枚举组列表</a> &gt; <a href="stepselect_main.php?egroup=<?php echo $egroup; ?>"><?php echo $selgroup; ?></a> &gt; 子分类列表</span>
</td>
</tr>
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="6%">选择</td>
<td width="6%">id</td>
<td width="20%">枚举名</td>
@@ -253,7 +252,7 @@ li{float:left;padding-right:10px;line-height:26px}
<form name="form1" action="stepselect_main.php" method="post">
<input type="hidden" name="action" value="delenumAllSel">
{dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'}
<tr align="center" onMouseMove="javascript:this.bgColor='#FBFCE2';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
<tr align="center" onMouseMove="javascript:this.bgColor='#fbfce2';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
<td><input type="checkbox" name="ids[]" value="{dede:field.id/}"></td>
<td>{dede:field.id/}</td>
<td>
@@ -312,11 +311,11 @@ li{float:left;padding-right:10px;line-height:26px}
?>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3">
<tr>
<td bgcolor="#f8f8f8" colspan="8">
<td bgcolor="#f8f8f8" colspan="7">
<span class="float-left"><a href="stepselect_main.php">枚举组列表</a></span>
</td>
</tr>
<tr bgcolor="#FBFCE2" align="center">
<tr bgcolor="#fbfce2" align="center">
<td width="6%">选择</td>
<td width="6%">id</td>
<td width="28%">组类别名</td>
@@ -326,7 +325,7 @@ li{float:left;padding-right:10px;line-height:26px}
<td>操作</td>
</tr>
{dede:datalist}
<tr align="center" onMouseMove="javascript:this.bgColor='#FBFCE2';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
<tr align="center" onMouseMove="javascript:this.bgColor='#fbfce2';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
<td><input type="checkbox" name="ids[]" value="{dede:field.id/}"></td>
<td>{dede:field.id/}</td>
<td><a href="stepselect_main.php?egroup={dede:field.egroup/}">{dede:field.itemname/}</a></td>
@@ -354,7 +353,7 @@ li{float:left;padding-right:10px;line-height:26px}
</tr>
{/dede:datalist}
<tr bgcolor="#f8f8f8" align="center" class="py-2">
<td colspan="8">{dede:pagelist listsize='6'/}</td>
<td colspan="7">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
<?php


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

Loading…
Cancel
Save