Browse Source

移除背景,修正引号,网页优化渲染

tags/6.2.0
xushubieli 1 year ago
parent
commit
e9cd0737ee
100 changed files with 1664 additions and 1888 deletions
  1. +49
    -61
      src/admin/archives_do.php
  2. +7
    -7
      src/admin/article_coonepage_rule.php
  3. +1
    -1
      src/admin/article_template_rand.php
  4. +9
    -9
      src/admin/catalog_edit.php
  5. +1
    -1
      src/admin/css/frame.css
  6. +1
    -1
      src/admin/css/indexbody.css
  7. +2
    -2
      src/admin/dialog/select_images.php
  8. +2
    -2
      src/admin/dialog/select_media.php
  9. +1
    -1
      src/admin/dialog/select_mimages.php
  10. +3
    -3
      src/admin/dialog/select_soft.php
  11. +2
    -2
      src/admin/dialog/select_templets.php
  12. +2
    -2
      src/admin/file_manage_view.php
  13. +1
    -1
      src/admin/freelist_main.php
  14. +1
    -1
      src/admin/friendlink_main.php
  15. +1
    -1
      src/admin/index_testenv.php
  16. +1
    -1
      src/admin/js/dialog.js
  17. +0
    -3
      src/admin/js/leftmenu.js
  18. +2
    -2
      src/admin/media_main.php
  19. +32
    -32
      src/admin/module_main.php
  20. +6
    -6
      src/admin/module_upload.php
  21. +5
    -5
      src/admin/mychannel_edit.php
  22. +6
    -6
      src/admin/search_keywords_main.php
  23. +2
    -2
      src/admin/sys_admin_user_tj.php
  24. +1
    -1
      src/admin/sys_data_done.php
  25. +3
    -3
      src/admin/sys_info.php
  26. +1
    -1
      src/admin/sys_payment.php
  27. +9
    -9
      src/admin/templets/action_search.htm
  28. +55
    -55
      src/admin/templets/ad_add.htm
  29. +27
    -28
      src/admin/templets/ad_edit.htm
  30. +7
    -7
      src/admin/templets/ad_main.htm
  31. +11
    -11
      src/admin/templets/adtype_main.htm
  32. +49
    -54
      src/admin/templets/album_add.htm
  33. +61
    -63
      src/admin/templets/album_edit.htm
  34. +36
    -40
      src/admin/templets/archives_add.htm
  35. +29
    -32
      src/admin/templets/archives_edit.htm
  36. +10
    -10
      src/admin/templets/archives_sg_add.htm
  37. +10
    -10
      src/admin/templets/archives_sg_edit.htm
  38. +33
    -37
      src/admin/templets/article_add.htm
  39. +14
    -18
      src/admin/templets/article_coonepage_rule.htm
  40. +9
    -11
      src/admin/templets/article_description_main.htm
  41. +24
    -24
      src/admin/templets/article_edit.htm
  42. +19
    -19
      src/admin/templets/article_keywords_main.htm
  43. +3
    -3
      src/admin/templets/article_keywords_select.htm
  44. +10
    -11
      src/admin/templets/article_result_same.htm
  45. +9
    -9
      src/admin/templets/article_test_same.htm
  46. +17
    -23
      src/admin/templets/cards_make.htm
  47. +11
    -11
      src/admin/templets/cards_manmage.htm
  48. +13
    -13
      src/admin/templets/cards_type.htm
  49. +68
    -68
      src/admin/templets/catalog_add.htm
  50. +34
    -40
      src/admin/templets/catalog_add_quick.htm
  51. +63
    -67
      src/admin/templets/catalog_edit.htm
  52. +2
    -2
      src/admin/templets/catalog_main.htm
  53. +5
    -6
      src/admin/templets/content_att.htm
  54. +51
    -61
      src/admin/templets/content_batch_up.htm
  55. +2
    -2
      src/admin/templets/content_i_list.htm
  56. +3
    -3
      src/admin/templets/content_list.htm
  57. +3
    -3
      src/admin/templets/content_s_list.htm
  58. +5
    -5
      src/admin/templets/content_select_list.htm
  59. +6
    -6
      src/admin/templets/content_sg_list.htm
  60. +2
    -2
      src/admin/templets/content_tj.htm
  61. +18
    -25
      src/admin/templets/diy_add.htm
  62. +51
    -56
      src/admin/templets/diy_edit.htm
  63. +5
    -5
      src/admin/templets/diy_edit_content.htm
  64. +27
    -34
      src/admin/templets/diy_field_add.htm
  65. +20
    -25
      src/admin/templets/diy_field_edit.htm
  66. +6
    -6
      src/admin/templets/diy_list.htm
  67. +8
    -8
      src/admin/templets/diy_main.htm
  68. +3
    -3
      src/admin/templets/diy_post.htm
  69. +7
    -9
      src/admin/templets/erradd.htm
  70. +15
    -25
      src/admin/templets/feedback_edit.htm
  71. +10
    -10
      src/admin/templets/feedback_main.htm
  72. +5
    -5
      src/admin/templets/file_edit.htm
  73. +56
    -56
      src/admin/templets/file_manage_main.htm
  74. +3
    -3
      src/admin/templets/file_upload.htm
  75. +78
    -88
      src/admin/templets/freelist_add.htm
  76. +89
    -96
      src/admin/templets/freelist_edit.htm
  77. +24
    -25
      src/admin/templets/freelist_main.htm
  78. +64
    -64
      src/admin/templets/friendlink_add.htm
  79. +25
    -28
      src/admin/templets/friendlink_edit.htm
  80. +21
    -26
      src/admin/templets/friendlink_main.htm
  81. +21
    -31
      src/admin/templets/friendlink_type.htm
  82. +7
    -2
      src/admin/templets/index.htm
  83. +2
    -2
      src/admin/templets/index_body.htm
  84. +4
    -13
      src/admin/templets/index_menu.htm
  85. +15
    -29
      src/admin/templets/log_list.htm
  86. +1
    -1
      src/admin/templets/login.htm
  87. +11
    -12
      src/admin/templets/makehtml_all.htm
  88. +18
    -20
      src/admin/templets/makehtml_archives.htm
  89. +12
    -14
      src/admin/templets/makehtml_freelist.htm
  90. +28
    -28
      src/admin/templets/makehtml_homepage.htm
  91. +14
    -15
      src/admin/templets/makehtml_list.htm
  92. +8
    -10
      src/admin/templets/makehtml_spec.htm
  93. +20
    -24
      src/admin/templets/makehtml_taglist.htm
  94. +25
    -31
      src/admin/templets/media_add.htm
  95. +30
    -39
      src/admin/templets/media_edit.htm
  96. +24
    -35
      src/admin/templets/media_main.htm
  97. +13
    -18
      src/admin/templets/member_main.htm
  98. +16
    -39
      src/admin/templets/member_operations.htm
  99. +3
    -3
      src/admin/templets/member_pm.htm
  100. +5
    -5
      src/admin/templets/member_pmall.htm

+ 49
- 61
src/admin/archives_do.php View File

@@ -38,7 +38,7 @@ if ($dopost == 'editArchives') {
if ($litpic_b64 != "") {
$data = explode(',', $litpic_b64);
$ntime = time();
$savepath = $cfg_image_dir.'/'.MyDate($cfg_addon_savetype, $ntime);
$savepath = $ddcfg_image_dir.'/'.MyDate($cfg_addon_savetype, $ntime);
CreateDir($savepath);
$fullUrl = $savepath.'/'.dd2char(MyDate('mdHis', $ntime).$cuserLogin->getUserID().mt_rand(1000, 9999));
$fullUrl = $fullUrl.".png";
@@ -148,7 +148,7 @@ else if ($dopost == "uploadLitpic") {
if ($upfile == '-1') {
$msg = "<script>
parent.document.getElementById('uploadwait').style.display = 'none';
alert('您没指定要上传文件或文件大小超过限制');
alert('您没指定要上传文件或文件大小超过限制');
</script>";
} else if ($upfile == '-2') {
$msg = "<script>
@@ -215,7 +215,7 @@ else if ($dopost == "commendArchives") {
$dsql->ExecuteNoneQuery(" UPDATE `{$maintable}` SET `flag`='$flag' WHERE aid='{$aid}' ");
}
}
ShowMsg("成功把所选文档设为推荐", $ENV_GOBACK_URL);
ShowMsg("成功把所选文档设为推荐", $ENV_GOBACK_URL);
exit();
}
/*--------------------------
@@ -270,7 +270,7 @@ else if ($dopost == "checkArchives") {
$dsql->ExecuteNoneQuery("UPDATE `#@__taglist` SET arcrank='0' WHERE aid='$aid' ");
$pageurl = MakeArt($aid, false);
}
ShowMsg("成功审核指定文档", $ENV_GOBACK_URL);
ShowMsg("成功审核指定文档", $ENV_GOBACK_URL);
exit();
}
/*-----------------------------
@@ -286,29 +286,26 @@ else if ($dopost == 'moveArchives') {
$tl = new TypeLink($aid);
$typeOptions = $tl->GetOptionArray(0, $admin_catalogs, $channelid);
$typeOptions = "<select name='totype' style='width:320px'>
<option value='0'>请选择移动到的位置</option>
<option value='0'>请选择移动位置</option>
$typeOptions
</select>";
//输出AJAX可移动窗体
$divname = 'moveArchives';
echo "<div class='title' onmousemove=\"DropMoveHand('{$divname}', 225);\" onmousedown=\"DropStartHand();\" onmouseup=\"DropStopHand();\">";
echo "<div class='titLeft'>移动文档</div>";
echo "<div class='titRight'><img src='../static/web/img/ico-close.gif' style='cursor:pointer' onclick='HideObj(\"{$divname}\");ChangeFullDiv(\"hide\");' title='关闭'></div>";
echo "</div>";
echo "<div class='title' onmousemove=\"DropMoveHand('{$divname}', 260);\" onmousedown=\"DropStartHand();\" onmouseup=\"DropStopHand();\">移动文档</div>";
echo "<form name='quickeditform' action='archives_do.php' method='post'>";
echo "<input type='hidden' name='dopost' value='{$dopost}'>";
echo "<input type='hidden' name='qstr' value='{$qstr}'>";
echo "<table width='100%' style='display:inline-block;z-index:9000'>";
?>
<tr>
<td width="86" height="26" class="bline">&nbsp;目标栏目:</td>
<td width="90" class="bline">&nbsp;目标栏目:</td>
<td class="bline"><?php echo $typeOptions; ?></td>
</tr>
<tr>
<td width="86" height="26" class="bline">&nbsp;文档ID:</td>
<td width="90" class="bline">&nbsp;文档ID:</td>
<td class="bline">
<input type="text" name="tmpids" value="<?php echo $qstr; ?>" style="width:320px;overflow:hidden">
<br>移动到目标栏目必须和选定文档频道类型一致,否则程序会自动勿略不符合文档
<br>移动到目标栏目必须和选定文档频道类型一致,否则程序会自动勿略不符合文档
</td>
</tr>
<tr>
@@ -330,7 +327,7 @@ else if ($dopost == 'moveArchives') {
exit();
}
if ($typeInfos['ispart'] != 0) {
ShowMsg('文档保存栏目必须为最终列表栏目', '-1');
ShowMsg('文档保存栏目必须为最终列表栏目', '-1');
exit();
}
if (empty($typeInfos['addtable'])) {
@@ -379,12 +376,12 @@ else if ($dopost == 'return') {
ShowMsg("参数无效", "recycling.php");
exit();
}
$qstrs = explode("`", $qstr);
$qstrs = explode('`', $qstr);
foreach ($qstrs as $aid) {
$dsql->ExecuteNoneQuery("UPDATE `#@__archives` SET arcrank='-1',ismake='0' WHERE id='$aid'");
$dsql->ExecuteNoneQuery("UPDATE `#@__arctiny` SET `arcrank` = '-1' WHERE id = '$aid'; ");
}
ShowMsg("成功还原指定文档", "recycling.php");
ShowMsg("成功还原指定文档", "recycling.php");
exit();
}
/*--------------------------
@@ -395,7 +392,6 @@ else if ($dopost == "delArchives") {
CheckPurview('a_Del,a_AccDel,a_MyDel,sys_ArcBatch');
require_once(DEDEINC."/libraries/oxwindow.class.php");
if (empty($fmdo)) $fmdo = '';

if ($fmdo == 'yes') {
if (!empty($aid) && empty($qstr)) {
$qstr = $aid;
@@ -404,7 +400,7 @@ else if ($dopost == "delArchives") {
ShowMsg("参数无效", $ENV_GOBACK_URL);
exit();
}
$qstrs = explode("`", $qstr);
$qstrs = explode('`', $qstr);
$okaids = array();
foreach ($qstrs as $aid) {
if (!isset($okaids[$aid])) {
@@ -413,7 +409,7 @@ else if ($dopost == "delArchives") {
$okaids[$aid] = 1;
}
}
ShowMsg("成功删除指定文档", $ENV_GOBACK_URL);
ShowMsg("成功删除指定文档", $ENV_GOBACK_URL);
exit();
} else {
$wintitle = "文档管理-删除文档";
@@ -423,8 +419,8 @@ else if ($dopost == "delArchives") {
$win->AddHidden("fmdo", "yes");
$win->AddHidden("dopost", $dopost);
$win->AddHidden("qstr", $qstr);
$win->AddHidden("recycle", $recycle);
$win->AddTitle("您确定删除,序号 $qstr 文档");
$win->AddHidden("aid", $aid);
$win->AddTitle("您确定删除,序号 $qstr 文档");
$winform = $win->GetWindow("ok");
$win->Display();
}
@@ -438,14 +434,13 @@ else if ($dopost == 'clear') {
require_once(DEDEINC."/libraries/oxwindow.class.php");
if (empty($fmdo)) $fmdo = '';
$recycle = empty($recycle) ? "" : $recycle;

if ($fmdo == 'yes') {
if (!empty($aid) && empty($qstr)) $qstr = $aid;
if ($qstr == '') {
ShowMsg("参数无效", "recycling.php");
exit();
}
$qstrs = explode(",", $qstr);
$qstrs = explode('`', $qstr);
$okaids = array();
foreach ($qstrs as $qstr) {
if (!isset($okaids[$qstr])) {
@@ -455,14 +450,14 @@ else if ($dopost == 'clear') {
$okaids[$qstr] = 1;
}
}
ShowMsg("成功删除指定文档", "recycling.php");
ShowMsg("成功删除指定文档", "recycling.php");
exit();
} else {
$dsql->SetQuery("SELECT id FROM `#@__archives` WHERE `arcrank` = '-2'");
$dsql->Execute();
$qstr = '';
while ($row = $dsql->GetArray()) {
$qstr .= $row['id'].",";
$qstr .= $row['id'].'`';
$aid = $row['id'];
}
$num = $dsql->GetTotalRow();
@@ -477,8 +472,9 @@ else if ($dopost == 'clear') {
$win->AddHidden("fmdo", "yes");
$win->AddHidden("dopost", $dopost);
$win->AddHidden("qstr", $qstr);
$win->AddHidden("aid", $aid);
$win->AddHidden("recycle", $recycle);
$win->AddTitle("本次操作将清空回收站 $num 篇文档<br>您确定删除,序号 $qstr 文档");
$win->AddTitle("回收站将清空 $num 篇文档<br>您确定删除,序号 $qstr 文档");
$winform = $win->GetWindow("ok");
$win->Display();
}
@@ -498,7 +494,7 @@ else if ($dopost == 'del') {
ShowMsg("参数无效", "recycling.php");
exit();
}
$qstrs = explode("`", $qstr);
$qstrs = explode('`', $qstr);
$okaids = array();
foreach ($qstrs as $aid) {
if (!isset($okaids[$aid])) {
@@ -507,7 +503,7 @@ else if ($dopost == 'del') {
$okaids[$aid] = 1;
}
}
ShowMsg("成功删除指定文档", "recycling.php");
ShowMsg("成功删除指定文档", "recycling.php");
exit();
} else {
$wintitle = "文档管理-删除文档";
@@ -517,8 +513,9 @@ else if ($dopost == 'del') {
$win->AddHidden("fmdo", "yes");
$win->AddHidden("dopost", $dopost);
$win->AddHidden("qstr", $qstr);
$win->AddHidden("aid", $aid);
$win->AddHidden("recycle", $recycle);
$win->AddTitle("您确要删除,序号 $qstr 文档");
$win->AddTitle("您确要删除,序号 $qstr 文档");
$winform = $win->GetWindow("ok");
$win->Display();
}
@@ -536,17 +533,14 @@ else if ($dopost == 'quickEdit') {
LEFT JOIN `#@__arcrank` ar ON ar.`rank`=arc.arcrank WHERE arc.id='$aid' ";
$arcRow = $dsql->GetOne($query);
$divname = 'quickEdit';
echo "<div class='title' onmousemove=\"DropMoveHand('{$divname}', 225);\" onmousedown=\"DropStartHand();\" onmouseup=\"DropStopHand();\">";
echo "<div class='titLeft'>快速属性编辑</div>";
echo "<div class='titRight'><img src='../static/web/img/ico-close.gif' style='cursor:pointer' onclick='HideObj(\"{$divname}\");ChangeFullDiv(\"hide\");' title='关闭'></div>";
echo "</div>";
echo "<div class='title' onmousemove=\"DropMoveHand('{$divname}', 260);\" onmousedown=\"DropStartHand();\" onmouseup=\"DropStopHand();\">快速属性编辑</div>";
echo "<form name='quickeditform' action='archives_do.php?dopost=quickEditSave&aid={$aid}' method='post'>";
echo "<input type='hidden' name='addtable' value='{$arcRow['addtable']}'>";
echo "<input type='hidden' name='oldtypeid' value='{$arcRow['typeid']}'>";
echo "<table width='100%' style='display:inline-block;z-index:9000'>";
?>
<tr>
<td width="86" height="26" class="bline">&nbsp;所属栏目:</td>
<td width="90" class="bline">&nbsp;所属栏目:</td>
<td class="bline">
<?php
$typeOptions = GetOptionList($arcRow['typeid'], $cuserLogin->getUserChannel(), $arcRow['channel']);
@@ -558,7 +552,7 @@ else if ($dopost == 'quickEdit') {
</td>
</tr>
<tr>
<td width="86" height="26" class="bline">&nbsp;属性:</td>
<td width="90" class="bline">&nbsp;属性:</td>
<td class="bline">
<input type="hidden" name="oldflag" value="<?php echo $arcRow['flag']; ?>">
<?php
@@ -575,15 +569,15 @@ else if ($dopost == 'quickEdit') {
</td>
</tr>
<tr>
<td width="86" height="26" class="bline">&nbsp;标题:</td>
<td width="90" class="bline">&nbsp;标题:</td>
<td class="bline"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:320px"></td>
</tr>
<tr>
<td width="86" height="26" class="bline">&nbsp;简略标题:</td>
<td width="90" class="bline">&nbsp;简略标题:</td>
<td class="bline"><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:320px"></td>
</tr>
<tr>
<td width="86" height="26" class="bline">&nbsp;阅读权限:</td>
<td width="90" class="bline">&nbsp;阅读权限:</td>
<td class="bline">
<select name="arcrank" id="arcrank" style="width:100px">
<option value='<?php echo $arcRow["arcrank"] ?>'>
@@ -601,7 +595,7 @@ else if ($dopost == 'quickEdit') {
</td>
</tr>
<tr>
<td width="86" height="26" class="bline">&nbsp;关键词:</td>
<td width="90" class="bline">&nbsp;关键词:</td>
<td class="bline"><input name="keywords" type="text" id="keywords" value="<?php echo $arcRow['keywords']; ?>" style="width:320px"></td>
</tr>
<tr>
@@ -616,7 +610,7 @@ else if ($dopost == 'quickEdit') {
//AJAX窗体结束
}
/*-----------------------------
//保存快速编辑内容
//保存快速编辑内容
function quickEditSave(){ }
------------------------------*/
else if ($dopost == 'quickEditSave') {
@@ -624,7 +618,7 @@ else if ($dopost == 'quickEditSave') {
//权限检测
if (!TestPurview('a_Edit')) {
if (TestPurview('a_AccEdit')) {
CheckCatalog($typeid, "对不起,您没有操作栏目 {$typeid} 文档权限");
CheckCatalog($typeid, "对不起,您没有操作栏目 {$typeid} 文档权限");
} else {
CheckArcAdmin($aid, $cuserLogin->getUserID());
}
@@ -664,7 +658,7 @@ else if ($dopost == 'quickEditSave') {
//更新HTML
$artUrl = MakeArt($aid, TRUE, TRUE);
$backurl = !empty($_COOKIE['ENV_GOBACK_URL']) ? $_COOKIE['ENV_GOBACK_URL'] : '-1';
ShowMsg('成功更新一篇文档基本信息', $backurl);
ShowMsg('成功更新一篇文档基本信息', $backurl);
exit();
}
/*--------------------------
@@ -687,7 +681,7 @@ else if ($dopost == "makekw") {
$client->appid = $cfg_bizcore_appid;
$client->key = $cfg_bizcore_key;
while ($row = $dsql->GetArray()) {
//跳过已经有关键词内容
//跳过已经有关键词内容
if (trim($row['keywords']) != '') continue;
$aid = $row['id'];
$keywords = '';
@@ -710,7 +704,7 @@ else if ($dopost == "makekw") {
include_once(DEDEINC.'/libraries/splitword.class.php');
$sp = new SplitWord($cfg_soft_lang, $cfg_soft_lang);
while ($row = $dsql->GetArray()) {
//跳过已经有关键词内容
//跳过已经有关键词内容
if (trim($row['keywords']) != '') continue;
$aid = $row['id'];
$keywords = '';
@@ -752,7 +746,7 @@ else if ($dopost == "makekw") {
}
$sp = null;
}
ShowMsg("成功分析指定文档关键词", $ENV_GOBACK_URL);
ShowMsg("成功分析指定文档关键词", $ENV_GOBACK_URL);
exit();
}
/*--------------------------
@@ -767,7 +761,7 @@ else if ($dopost == 'attsAdd') {
exit();
}
if (empty($flagname)) {
ShowMsg("必须指定要添加属性", $ENV_GOBACK_URL);
ShowMsg("必须指定要添加属性", $ENV_GOBACK_URL);
exit();
}
$arcids = preg_replace("#[^0-9,]#", '', preg_replace("#`#", ',', $qstr));
@@ -791,7 +785,7 @@ else if ($dopost == 'attsAdd') {
$dsql->ExecuteNoneQuery(" UPDATE `{$maintable}` SET `flag`='$flag' WHERE aid='{$aid}' ");
}
}
ShowMsg("成功对选中文档增加指定属性", $ENV_GOBACK_URL);
ShowMsg("成功对选中文档增加指定属性", $ENV_GOBACK_URL);
exit();
}
/*--------------------------
@@ -806,7 +800,7 @@ else if ($dopost == 'attsDel') {
exit();
}
if (empty($flagname)) {
ShowMsg("必须指定要删除属性", $ENV_GOBACK_URL);
ShowMsg("必须指定要删除属性", $ENV_GOBACK_URL);
exit();
}
$arcids = preg_replace("#[^0-9,]#", '', preg_replace("#`#", ',', $qstr));
@@ -840,11 +834,11 @@ else if ($dopost == 'attsDel') {
$flag = trim(join(',', $okflags));
$dsql->ExecuteNoneQuery(" UPDATE `{$maintable}` SET `flag`='$flag' WHERE {$idname}='{$aid}' ");
}
ShowMsg("成功对选中文档删除指定属性", $ENV_GOBACK_URL);
ShowMsg("成功对选中文档删除指定属性", $ENV_GOBACK_URL);
exit();
}
/*--------------------------
//获得批量属性处理AJAX窗体
//获得批量属性处理AJAX窗体
function attsDlg(){ }
---------------------------*/
else if ($dopost == 'attsDlg') {
@@ -853,19 +847,16 @@ else if ($dopost == 'attsDlg') {
AjaxHead();
//输出AJAX可移动窗体
$divname = 'attsDlg';
echo "<div class='title' onmousemove=\"DropMoveHand('{$divname}', 225);\" onmousedown=\"DropStartHand();\" onmouseup=\"DropStopHand();\">";
echo "<div class='titLeft'>{$dojobname}</div>";
echo "<div class='titRight'><img src='../static/web/img/ico-close.gif' style='cursor:pointer' onclick='HideObj(\"{$divname}\");ChangeFullDiv(\"hide\");' title='关闭'></div>";
echo "</div>";
echo "<div class='title' onmousemove=\"DropMoveHand('{$divname}', 260);\" onmousedown=\"DropStartHand();\" onmouseup=\"DropStopHand();\">{$dojobname}</div>";
echo "<form name='quickeditform' action='archives_do.php' method='post'>";
echo "<input type='hidden' name='dopost' value='{$dojob}'>";
echo "<input type='hidden' name='qstr' value='{$qstr}'>";
echo "<table width='100%' style='display:inline-block;z-index:9000'>";
?>
<tr>
<td width="86" height="26" class="bline">&nbsp;属性:</td>
<td width="90" class="bline">&nbsp;属性:</td>
<td class="bline">
<input type='hidden' name='oldflag' value='<?php echo $arcRow['flag']; ?>'>
<input type="hidden" name="oldflag" value="<?php echo $arcRow['flag']; ?>">
<?php
$dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC");
$dsql->Execute();
@@ -877,8 +868,8 @@ else if ($dopost == 'attsDlg') {
</td>
</tr>
<tr>
<td width="86" height="26" class="bline">&nbsp;文档ID:</td>
<td class="bline"><input type="text" name="tmpids" value="<?php echo $qstr; ?>" style='width:320px;overflow:hidden'></td>
<td width="90" class="bline">&nbsp;文档ID:</td>
<td class="bline"><input type="text" name="tmpids" value="<?php echo $qstr; ?>" style="width:320px;overflow:hidden"></td>
</tr>
<tr>
<td colspan="2" align="center" class="py-3">
@@ -899,10 +890,7 @@ else if ($dopost == 'getCatMap') {
AjaxHead();
//输出AJAX可移动窗体
$divname = 'getCatMap';
echo "<div class='title' style='cursor:default'>";
echo "<div class='titLeft'>栏目快速选择器</div>";
echo "<div class='titRight'><img src='../static/web/img/ico-close.gif' style='cursor:pointer' onclick='HideObj(\"{$divname}\");ChangeFullDiv(\"hide\");' title='关闭'></div>";
echo "</div>";
echo "<div class='title' style='cursor:default'>栏目快速选择器</div>";
$tus = new TypeUnitSelector();
?>
<form name="quicksel" action="javascript:;" method="get">


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

@@ -56,39 +56,39 @@ else if ($action == 'editload') {
<input type="hidden" name="action" value="editsave">
<table width="430" cellspacing="0" cellpadding="0">
<tr>
<td width="102" height="26">网站名称:</td>
<td width="102" >网站名称:</td>
<td width="302"><input name="title" type="text" id="title" style="width:200px" value="<?php echo $row['title']; ?>"></td>
<td width="26" align="center"><a href="javascript:CloseEditNode()" class="mr-3"><i class="fa fa-window-close-o"></i></a></td>
</tr>
<tr>
<td height="26">原内容编码:</td>
<td>原内容编码:</td>
<td colspan="2">
<label><input type="radio" name="lang" value="utf-8" <?php echo ($row['lang'] == 'utf-8' ? ' checked="checked" ' : ''); ?>> UTF-8</label>
<label><input type="radio" name="lang" value="gb2312" <?php echo ($row['lang'] == 'gb2312' ? ' checked="checked" ' : ''); ?>> GB2312/GBK</label>
</td>
</tr>
<tr>
<td height="26">用作文章来源:</td>
<td>用作文章来源:</td>
<td colspan="2">
<label><input type="radio" name="issource" value="0" <?php echo ($row['issource'] == 0 ? ' checked="checked" ' : ''); ?>> 否</label>
<label><input name="issource" type="radio" value="1" <?php echo ($row['issource'] == 1 ? ' checked="checked" ' : ''); ?>> 是</label>
</td>
</tr>
<tr>
<td height="26">网站网址:</td>
<td>网站网址:</td>
<td colspan="2">
<input name="url" type="text" id="url" value="<?php echo $row['url']; ?>" style="width:200px" />
</td>
</tr>
<tr>
<td height="26"></td>
<td></td>
<td colspan="2">
使用不带http及任何附加目录的网址<br>
如:news.dedebiz.com
</td>
</tr>
<tr>
<td height="26">采集规则:</td>
<td>采集规则:</td>
<td colspan="2">仅针对文章内容,格式:前面HTML{@body}后面HMTL</td>
</tr>
<tr>
@@ -96,7 +96,7 @@ else if ($action == 'editload') {
<td colspan="2"><textarea name="rule" style="width:300px;height:80px"><?php echo $row['rule']; ?></textarea></td>
</tr>
<tr>
<td height="26"></td>
<td></td>
<td colspan="2">
<button class="btn btn-success btn-sm" type="submit" name="Submit" value="">保存</button>
<button type="reset" class="btn btn-success btn-sm" name="Submit2">重置</button>


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

@@ -92,7 +92,7 @@ function DoRand(jobname)
</div>
<table width='100%' align='center'>
<tr>
<td height='26'>
<td>
如果您想对旧的文章应用随机模板设置,请点击此对旧文章进行处理(必须设置好模板项)
<a href='javascript:;' onclick='DoRand(\"makeold\")' class='btn btn-success btn-sm'>设置全部</a>
<a href='javascript:;' onclick='DoRand(\"clearold\")' class='btn btn-success btn-sm'>取消全部</a>


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

@@ -165,14 +165,14 @@ if ($dopost == 'time') {
<input type="hidden" name="moresite" value="<?php echo $myrow['moresite']; ?>">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="160" class="bline" height="26" align="center">是否支持投稿:</td>
<td width="160" class="bline" align="center">是否支持投稿:</td>
<td class="bline">
<label><input type='radio' name='issend' value='0' class='np' <?php if ($myrow['issend'] == "0") echo " checked='1' "; ?>>&nbsp;不支持</label>
<label><input type='radio' name='issend' value='1' class='np' <?php if ($myrow['issend'] == "1") echo " checked='1' "; ?>>&nbsp;支持</label>
</td>
</tr>
<tr>
<td class="bline" height="26" align="center">内容模型:</td>
<td class="bline" align="center">内容模型:</td>
<td class="bline">
<?php
foreach ($channelArray as $k => $arr) {
@@ -183,15 +183,15 @@ if ($dopost == 'time') {
</td>
</tr>
<tr>
<td class="bline" height="26" align="center">栏目名称:</td>
<td class="bline" align="center">栏目名称:</td>
<td class="bline"><input name="typename" type="text" id="typename" value="<?php echo $myrow['typename'] ?>" style="width:260px" class="iptxt"></td>
</tr>
<tr>
<td class="bline" height="26" align="center"> 排列顺序:</td>
<td class="bline" align="center"> 排列顺序:</td>
<td class="bline"> <input name="sortrank" type="text" value="<?php echo $myrow['sortrank'] ?>" style="width:100px" class="iptxt">(由低 &gt; 高)</td>
</tr>
<tr>
<td class="bline" height="26" align="center">浏览权限:</td>
<td class="bline" align="center">浏览权限:</td>
<td class="bline">
<select name="corank" id="corank" style="width:100px">
<?php
@@ -208,11 +208,11 @@ if ($dopost == 'time') {
</td>
</tr>
<tr>
<td class="bline" height="26" align="center">文件保存目录:</td>
<td class="bline" align="center">文件保存目录:</td>
<td class="bline"><input name="typedir" type="text" id="typedir" value="<?php echo $myrow['typedir'] ?>" style="width:260px"class="iptxt"></td>
</tr>
<tr>
<td height="26" align="center" class="bline">栏目列表选项:</td>
<td align="center" class="bline">栏目列表选项:</td>
<td class="bline">
<label><input type='radio' name='isdefault' value='1' class='np' <?php if ($myrow['isdefault'] == 1) echo " checked='1' "; ?>>&nbsp;链接到默认页</label>
<label><input type='radio' name='isdefault' value='0' class='np' <?php if ($myrow['isdefault'] == 0) echo " checked='1' "; ?>>&nbsp;链接到列表第一页</label>
@@ -220,11 +220,11 @@ if ($dopost == 'time') {
</td>
</tr>
<tr>
<td class="bline" height="26" align="center">默认页的名称:</td>
<td class="bline" align="center">默认页的名称:</td>
<td class="bline"><input name="defaultname" type="text" value="<?php echo $myrow['defaultname'] ?>" style="width:260px" class="iptxt"></td>
</tr>
<tr>
<td height="26" class="bline" align="center">栏目属性:</td>
<td class="bline" align="center">栏目属性:</td>
<td class="bline">
<label><input name="ispart" type="radio" id="radio" value="0" class='np' <?php if ($myrow['ispart'] == 0) echo " checked='1' "; ?>>&nbsp;最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label><br>
<label><input name="ispart" type="radio" id="radio2" value="1" class='np' <?php if ($myrow['ispart'] == 1) echo " checked='1' "; ?>>&nbsp;频道封面(栏目本身不允许发布文档)</label><br>


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

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

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

@@ -1 +1 @@
.title{color:#28a745}.title span{padding-left:6px}#addTab{position:absolute;left:460px;top:260px;min-width:360px;height:200px;z-index:2;background:#fff;border:1px solid #ccc;padding:0;display:none;border-radius:.2rem}#editTab{position:absolute;left:460px;top:260px;min-width:360px;height:300px;z-index:1;background:#fff;border:1px solid #ccc;padding:0;display:none;border-radius:.2rem}.txt{float:left}.updatedvt{width:98%;border-bottom:1px dashed #dcdcdc}.upinfotitle{border-bottom:1px solid #ccc;color:#dc3545;font-weight:bold}.verline{border-bottom:1px dashed #ccc}.itemTable{background:#CBD8AC}#loaddiv{top:0;left:0;background:#cdcdcd;opacity:.6;position:absolute;z-index:10000;width:100%;height:100%}#mainmsg{padding-right:8px}.rightside{width:50%;float:left;margin-right:1%;height:670px}.column{width:50%;float:left;margin-right:0.5%}.placeholder{width:98%;margin-left:1%;background:#f0f0f0;border:1px dashed #ddd}.dbox{border:1px solid #DEEAB6;width:98%;margin-left:1%;margin-top:8px}.dbox dt{height:28px;line-height:28px;font-weight:bold;color:#4D6C2F;cursor:move}.dbox dt .l{float:left;padding-left:8px}.dbox dt .r{float:right;padding-right:8px}.dbox dt.lside{border-bottom:1px solid #CFD7C4;background:rgb(239,248,229)}.dbox dt.rside{border-bottom:1px solid #DEEAB6;background:url(../../static/web/img/wbg.gif)repeat-x}.dbox dd{padding:0}.dbox dd.intable{padding-top:0}#updatetest{padding:6px;padding-left:110px;background:url(../../images/ico_spider.gif)no-repeat scroll 10px 15px transparent}.dboxtable td.nline{height:26px;border-bottom:1px dashed #CFD7C4}.dboxtable1 ul li{float:left;display:inline;width:48%;height:26px;line-height:26px;border-bottom:1px dashed #CFD7C4;text-align:center}.biz p{padding:0 15px}.biz img{float:right;margin:40px 15px 0 15px}
.title{color:#28a745}.title span{padding-left:6px}#addTab{position:absolute;left:460px;top:260px;min-width:360px;height:200px;z-index:2;background:#fff;border:1px solid #ccc;padding:0;display:none;border-radius:.2rem}#editTab{position:absolute;left:460px;top:260px;min-width:360px;height:300px;z-index:1;background:#fff;border:1px solid #ccc;padding:0;display:none;border-radius:.2rem}.txt{float:left}.updatedvt{width:98%;border-bottom:1px dashed #dcdcdc}.upinfotitle{border-bottom:1px solid #ccc;color:#dc3545;font-weight:bold}.verline{border-bottom:1px dashed #ccc}.itemTable{background:#CBD8AC}#loaddiv{top:0;left:0;background:#cdcdcd;opacity:.6;position:absolute;z-index:10000;width:100%;height:100%}#mainmsg{padding-right:8px}.rightside{width:50%;float:left;margin-right:1%;height:670px}.column{width:50%;float:left;margin-right:0.5%}.placeholder{width:98%;margin-left:1%;background:#f0f0f0;border:1px dashed #ddd}.dbox{border:1px solid #DEEAB6;width:98%;margin-left:1%;margin-top:8px}.dbox dt{height:28px;line-height:28px;font-weight:bold;color:#4D6C2F;cursor:move}.dbox dt .l{float:left;padding-left:8px}.dbox dt .r{float:right;padding-right:8px}.dbox dt.lside{background:rgb(239,248,229);border-bottom:1px solid #CFD7C4}.dbox dt.rside{background:#f8f8f8;border-bottom:1px solid #DEEAB6}.dbox dd{padding:0}.dbox dd.intable{padding-top:0}.dboxtable td.nline{height:26px;border-bottom:1px dashed #CFD7C4}.dboxtable1 ul li{float:left;display:inline;width:48%;height:26px;line-height:26px;border-bottom:1px dashed #CFD7C4;text-align:center}.biz p{padding:0 15px}.biz img{float:right;margin:40px 15px 0 15px}

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

@@ -56,7 +56,7 @@ if (!empty($noeditor)) {
<link rel="stylesheet" href="../../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../../static/web/css/admin.css">
<style>
html{background:#f6f6f6}
html{background:#f8f8f8}
table{background:#fff}
a{text-decoration:none!important}
.bg{margin:10px;border-radius:.2rem;box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}
@@ -129,7 +129,7 @@ a{text-decoration:none!important}
</script>
<table width="100%" cellpadding="0" cellspacing="1" align="center" class="table table-borderless">
<tr>
<td colspan="4" height="26">
<td colspan="4">
<form action="select_images_post.php" method="POST" enctype="multipart/form-data" name="myform">
<?php $noeditor = !empty($noeditor) ? "<input type='hidden' name='noeditor' value='yes'>" : ''; echo $noeditor; ?>
<input type="hidden" name="activepath" value="<?php echo $activepath ?>">


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

@@ -50,7 +50,7 @@ if (!empty($noeditor)) {
<link rel="stylesheet" href="../../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../../static/web/css/admin.css">
<style>
html{background:#f6f6f6}
html{background:#f8f8f8}
table{background:#fff}
a{text-decoration:none!important}
.bg{margin:10px;border-radius:.2rem;box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}
@@ -75,7 +75,7 @@ a{text-decoration:none!important}
</script>
<table width="100%" align="center" cellspacing="0" cellpadding="2" class="table table-borderless">
<tr>
<td colspan="3" height="26">
<td colspan="3" >
<form action="select_media_post.php" method="POST" enctype="multipart/form-data" name="myform">
<input type="hidden" name="activepath" value="<?php echo $activepath ?>">
<input type="hidden" name="f" value="<?php echo $f ?>">


+ 1
- 1
src/admin/dialog/select_mimages.php View File

@@ -26,7 +26,7 @@ button+button{margin-left:10px}
#file_list:empty:after{content:'可以直接拖拽文件到这里'}
#file_list li{position:relative;display:block;vertical-align:top;padding:10px;border-radius:.25rem}
#file_list li.up-now:after{content:'';position:absolute;top:0;left:0;display:block;width:100%;height:100%;background:rgba(255,255,255,0.8) url(loading.gif) center center no-repeat;border-radius:.25rem;z-index:999}
#file_list li:hover{background:#f6f6f6}
#file_list li:hover{background:#f8f8f8}
#file_list li .picbox{display:flex;flex:0 0 auto;justify-content:center;overflow:hidden;position:relative;width:100%;padding-top:90%;align-items:center}
#file_list li .picbox img{display:block;max-width:100%;max-height:100%;position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);border-radius:.25rem}
#file_list li .namebox{padding:10px;display:flex;justify-content:center;align-items:flex-start}


+ 3
- 3
src/admin/dialog/select_soft.php View File

@@ -49,7 +49,7 @@ if (!empty($noeditor)) {
<link rel="stylesheet" href="../../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../../static/web/css/admin.css">
<style>
html{background:#f6f6f6}
html{background:#f8f8f8}
table{background:#fff}
a{text-decoration:none!important}
.bg{margin:10px;border-radius:.2rem;box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}
@@ -80,7 +80,7 @@ a{text-decoration:none!important}
</script>
<table width="100%" cellpadding="0" cellspacing="1" align="center" class="table table-borderless">
<tr>
<td colspan="3" height="26">
<td colspan="3" >
<form action="select_soft_post.php" method="POST" enctype="multipart/form-data" name='myform'>
<input type="hidden" name="activepath" value="<?php echo $activepath ?>">
<input type="hidden" name="f" value="<?php echo $f ?>">
@@ -168,7 +168,7 @@ a{text-decoration:none!important}
</td>
</tr>
<tr>
<td colspan="3" height="26">点击选择的文件,红色字样的为刚上传的文件</td>
<td colspan="3" >点击选择的文件,红色字样的为刚上传的文件</td>
</tr>
</table>
</body>

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

@@ -41,7 +41,7 @@ if (empty($comeback)) {
<link rel="stylesheet" href="../../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../../static/web/css/admin.css">
<style>
html{background:#f6f6f6}
html{background:#f8f8f8}
table{background:#fff}
a{text-decoration:none!important}
.bg{margin:10px;border-radius:.2rem;box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}
@@ -61,7 +61,7 @@ a{text-decoration:none!important}
</script>
<table width="100%" cellpadding="0" cellspacing="1" align="center" class="table table-borderless">
<tr>
<td colspan="3" height="26">
<td colspan="3" >
<form action="select_templets_post.php" method="POST" enctype="multipart/form-data" name="myform">
<input type="hidden" name="activepath" value="<?php echo $activepath ?>">
<input type="hidden" name="f" value="<?php echo $f ?>">


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

@@ -46,7 +46,7 @@ else if ($fmdo == "newdir") {
$win->AddHidden("activepath", $activepath);
$win->AddHidden("token", make_hash());
$win->AddTitle("当前目录 $activepathname ");
$win->AddItem("新目录:", "<input name='newpath' type='input' class='alltxt' id='newpath'>");
$win->AddItem("新目录:", "<input name='newpath' type='input' id='newpath'>");
$winform = $win->GetWindow("ok");
$win->Display();
}
@@ -62,7 +62,7 @@ else if ($fmdo == "move") {
$win->AddTitle("新位置前面不加'/'表示相对于当前位置,加'/'表示相对于根目录");
$win->AddItem("被移动文件:", $filename);
$win->AddItem("当前位置:", $activepath);
$win->AddItem("新位置:", "<input name='newpath' type='input' class='alltxt' id='newpath' size='40'>");
$win->AddItem("新位置:", "<input name='newpath' type='input' id='newpath' size='40'>");
$winform = $win->GetWindow("ok");
$win->Display();
}


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

@@ -60,7 +60,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'>
$printhead ="<table width='98%' cellpadding='1' cellspacing='1' align='center' class='table maintable' style='margin-bottom:10px'>
<tr align='center' bgcolor='#F8FCF1'>
<td width='5%' class='tbsname'><a href='javascript:;' onclick=\"ReloadPage('aid')\">ID</a></td>
<td width='20%' class='tbsname'>列表名称</td>


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

@@ -32,7 +32,7 @@ $dlist->display();
function GetPic($pic)
{
if ($pic == '') return '无图标';
else return "<img src='$pic' width='88' height='26' />";
else return "<img src='$pic' width='88' />";
}
function GetSta($sta)
{


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

@@ -129,7 +129,7 @@ if (IsWritable(DEDEDATA.'/common.inc.php')) {
$safeMsg[] = '数据安全data/common.inc.php文件,强烈建议以管理员级别设置为644或只读';
}
if (!IsSSL()) {
$safeMsg[] = '当前站点尚未启用HTTPS,强烈建议您启用';
$safeMsg[] = '当前站点尚未启用https,强烈建议您启用';
}
if (version_compare(PHP_VERSION, '5.3.0', '<')) {
$safeMsg[] = "PHP请升级到5.3及以上版本,低版本PHP环境将无法正常使用本系统";


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

@@ -21,7 +21,7 @@ function AlertMsg(title, id) {
msgbg = "#FFF";//内容背景
msgcolor = "#333";//内容颜色
titlecolor = "#254015";//标题颜色
titlebg = "url(../../static/web/img/tbg.gif)";//标题背景
titlebg = "#f8f8f8";
//遮罩背景设置
content = "<div id=show_news>对不起,载入失败</div>";
var sWidth, sHeight;


+ 0
- 3
src/admin/js/leftmenu.js View File

@@ -28,8 +28,6 @@ function showHide(objname)
if(ckstrs[i]==objname){ ischange = true; }
else okstr += (okstr=='' ? ckstrs[i] : ','+ckstrs[i] );
}
if(ischange) setCookie('menuitems',okstr,7);
objsun.className = 'bitem2';
} else {
obj.style.display = 'block';
ischange = true;
@@ -42,7 +40,6 @@ function showHide(objname)
ckstr = (ckstr==null ? objname : ckstr+','+objname);
setCookie('menuitems',ckstr,7);
}
objsun.className = 'bitem';
}
}
//读写cookie函数


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

@@ -60,9 +60,9 @@ function MediaType($tid, $nurl)
} else if ($tid == 2) {
return "FLASH";
} else if ($tid == 3) {
return "视频/音频";
return "视频音频";
} else {
return "附件/其它";
return "附件其它";
}
}
function GetFileSize($fs)


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

@@ -164,40 +164,40 @@ else if ($action == 'setup') {
$msg = "<style>.dtb{border-bottom:1px dotted #eee}</style>
<table width='98%' cellspacing='0' cellpadding='0' class='table'>
<tr>
<td width='260' height='26' class='dtb'>模块名称:</td>
<td width='260' class='dtb'>模块名称:</td>
<td class='dtb'>{$infos['name']}</td>
</tr>
<tr>
<td height='26' class='dtb'>语言:</td>
<td class='dtb'>语言:</td>
<td class='dtb'>{$infos['lang']} {$alertMsg}</td>
</tr>
<tr>
<td height='26' class='dtb'>文件大小:</td>
<td class='dtb'>文件大小:</td>
<td class='dtb'>{$infos['filesize']}</td>
</tr>
<tr>
<td height='26' class='dtb'>开发者ID:</td>
<td class='dtb'>开发者ID:</td>
<td class='dtb'>{$infos['dev_id']} <a href='{$cfg_biz_dedebizUrl}/developer?dev_id={$infos['dev_id']}' target='_blank' class='btn btn-success btn-sm'>{$s}</a></td>
</tr>
<tr>
<td height='26' class='dtb'>发布时间:</td>
<td class='dtb'>发布时间:</td>
<td class='dtb'>{$infos['time']}</td>
</tr>
<tr>
<td height='26' class='dtb'>使用协议:</td>
<td class='dtb'>使用协议:</td>
<td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank' class='btn btn-success btn-sm'>浏览</a></td>
</tr>
<tr>
<td height='26' class='dtb' colspan='2'>
<td class='dtb' colspan='2'>
<div class='alert alert-danger mb-0'>注意事项:安装时请确保文件列表中涉及的目录前可写入权限,此外“后台管理目录”、“后台管理目录/templets”目录也必须暂时设置可写入权限</div>
</td>
</tr>
<tr>
<td height='26'>目录权限检测:<br> ../ 为根目录 <br> ./ 表示当前目录</td>
<td>目录权限检测:<br> ../ 为根目录 <br> ./ 表示当前目录</td>
<td>$prvdir</td>
</tr>
<tr>
<td height='26'>模块包含的所有文件列表:</td>
<td>模块包含的所有文件列表:</td>
<td></td>
</tr>
<tr>
@@ -206,7 +206,7 @@ else if ($action == 'setup') {
</td>
</tr>
<tr>
<td height='26'>对于已存在文件处理方法:</td>
<td>对于已存在文件处理方法:</td>
<td>
<label><input name='isreplace' type='radio' value='1' checked='checked'> 覆盖</label>
<label><input name='isreplace' type='radio' value='3'> 覆盖,保留副本</label>
@@ -299,31 +299,31 @@ else if ($action == 'del') {
$msg = "<style>.dtb{border-bottom:1px dotted #eee}</style>
<table width='98%' cellspacing='0' cellpadding='0' class='table'>
<tr>
<td width='260' height='26' class='dtb'>模块名称:</td>
<td width='260' class='dtb'>模块名称:</td>
<td class='dtb'>{$infos['name']}</td>
</tr>
<tr>
<td height='26' class='dtb'>语言:</td>
<td class='dtb'>语言:</td>
<td class='dtb'>{$infos['lang']} {$alertMsg}</td>
</tr>
<tr>
<td height='26' class='dtb'>文件大小:</td>
<td class='dtb'>文件大小:</td>
<td class='dtb'>{$infos['filesize']}</td>
</tr>
<tr>
<td height='26' class='dtb'>开发者ID:</td>
<td class='dtb'>开发者ID:</td>
<td class='dtb'>{$dev_id}</td>
</tr>
<tr>
<td height='26' class='dtb'>发布时间:</td>
<td class='dtb'>发布时间:</td>
<td class='dtb'>{$infos['time']}</td>
</tr>
<tr>
<td height='26' class='dtb'>使用协议:</td>
<td class='dtb'>使用协议:</td>
<td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank' class='btn btn-success btn-sm'>浏览</a></td>
</tr>
<tr>
<td height='26' colspan='2'>删除模块仅删除这个模块的安装包文件,如果您已经安装,请执行<a href='module_main.php?hash={$hash}&action=uninstall'>卸载程序</a>来删除</td>
<td colspan='2'>删除模块仅删除这个模块的安装包文件,如果您已经安装,请执行<a href='module_main.php?hash={$hash}&action=uninstall'>卸载程序</a>来删除</td>
</tr>
</table>";
$win->AddMsgItem("<div style='line-height:26px'>$msg</div>");
@@ -364,31 +364,31 @@ else if ($action == 'uninstall') {
$msg = "<style>.dtb{border-bottom:1px dotted #eee}</style>
<table width='98%' cellspacing='0' cellpadding='0' class='table'>
<tr>
<td width='260' height='26' class='dtb'>模块名称:</td>
<td width='260' class='dtb'>模块名称:</td>
<td class='dtb'>{$infos['name']}</td>
</tr>
<tr>
<td height='26' class='dtb'>语言:</td>
<td class='dtb'>语言:</td>
<td class='dtb'>{$infos['lang']} {$alertMsg}</td>
</tr>
<tr>
<td height='26' class='dtb'>文件大小:</td>
<td class='dtb'>文件大小:</td>
<td class='dtb'>{$infos['filesize']}</td>
</tr>
<tr>
<td height='26' class='dtb'>开发者ID:</td>
<td class='dtb'>开发者ID:</td>
<td class='dtb'>{$dev_id}</td>
</tr>
<tr>
<td height='26' class='dtb'>发布时间:</td>
<td class='dtb'>发布时间:</td>
<td class='dtb'>{$infos['time']}</td>
</tr>
<tr>
<td height='26' class='dtb'>使用协议:</td>
<td class='dtb'>使用协议:</td>
<td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank' class='btn btn-success btn-sm'>浏览</a></td>
</tr>
<tr>
<td height='26'>模块包含的文件(文件路径相对于当前目录)</td>
<td>模块包含的文件(文件路径相对于当前目录)</td>
<td></td>
</tr>
<tr>
@@ -397,7 +397,7 @@ else if ($action == 'uninstall') {
</td>
</tr>
<tr>
<td height='26'>对于模块的文件处理方法:</td>
<td>对于模块的文件处理方法:</td>
<td>
<label><input type='radio' name='isreplace' value='0' checked='checked'> 手工删除文件,仅运行卸载程序</label>
<label><input name='isreplace' type='radio' value='2'> 删除模块的所有文件</label>
@@ -505,31 +505,31 @@ else if ($action == 'view') {
$msg = "<style>.dtb{border-bottom:1px dotted #eee}</style>
<table width='98%' cellspacing='0' cellpadding='0'>
<tr>
<td width='260' height='26' class='dtb'>模块名称:</td>
<td width='260' class='dtb'>模块名称:</td>
<td class='dtb'>{$infos['name']}</td>
</tr>
<tr>
<td height='26' class='dtb'>语言:</td>
<td class='dtb'>语言:</td>
<td class='dtb'>{$infos['lang']} {$alertMsg}</td>
</tr>
<tr>
<td height='26' class='dtb'>文件大小:</td>
<td class='dtb'>文件大小:</td>
<td class='dtb'>{$infos['filesize']}</td>
</tr>
<tr>
<td height='26' class='dtb'>开发者ID:</td>
<td class='dtb'>开发者ID:</td>
<td class='dtb'>{$dev_id}</td>
</tr>
<tr>
<td height='26' class='dtb'>发布时间:</td>
<td class='dtb'>发布时间:</td>
<td class='dtb'>{$infos['time']}</td>
</tr>
<tr>
<td height='26' class='dtb'>使用协议:</td>
<td class='dtb'>使用协议:</td>
<td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank' class='btn btn-success btn-sm'>浏览</a></td>
</tr>
<tr>
<td height='26'>模块包含的文件(文件路径相对于当前目录)</td>
<td>模块包含的文件(文件路径相对于当前目录)</td>
<td></td>
</tr>
<tr>


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

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


+ 5
- 5
src/admin/mychannel_edit.php View File

@@ -62,23 +62,23 @@ else if ($dopost == "copystart") {
$msg = "
<table width='460' cellspacing='0' cellpadding='0'>
<tr>
<td width='170' height='26' align='center'>新频道id:</td>
<td width='170' align='center'>新频道id:</td>
<td width='230'><input name='newid' type='text' id='newid' size='6' value='{$newid}' /></td>
</tr>
<tr>
<td height='26' align='center'>新频道名称:</td>
<td align='center'>新频道名称:</td>
<td><input name='newtypename' type='text' id='newtypename' value='{$row['typename']}{$idname}' style='width:250px' /></td>
</tr>
<tr>
<td height='26' align='center'>新频道标识:</td>
<td align='center'>新频道标识:</td>
<td><input name='newnid' type='text' id='newnid' value='{$row['nid']}{$idname}' style='width:250px' /></td>
</tr>
<tr>
<td height='26' align='center'>新附加表:</td>
<td align='center'>新附加表:</td>
<td><input name='newaddtable' type='text' id='newaddtable' value='{$row['addtable']}{$idname}' style='width:250px' /></td>
</tr>
<tr>
<td height='26' align='center'>复制模板:</td>
<td align='center'>复制模板:</td>
<td>
<label><input name='copytemplet' type='radio' id='copytemplet' value='1' class='np' checked='checked' /> 复制</label>
&nbsp;


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

@@ -61,9 +61,9 @@ 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='#F8FCF1' height='26'>
<tr align='center' bgcolor='#F8FCF1' >
<td width='5%'>选择</td>
<td width='6%' height='26'><a href='javascript:;' onclick=\"ReloadPage('aid')\">ID</a></td>
<td width='6%' ><a href='javascript:;' onclick=\"ReloadPage('aid')\">ID</a></td>
<td width='20%'>关键词</td>
<td width='30%'>分词结果</td>
<td width='6%'><a href='javascript:;' onclick=\"ReloadPage('count')\">频率</a></td>
@@ -80,8 +80,8 @@ function GetKeywordList($dsql, $pageno, $pagesize, $orderby = 'aid')
while ($row = $dsql->GetArray()) {
$line = "
<tr align='center' onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td height='26'><input name=\"aids[]\" type=\"checkbox\" class=\"np\" value=\"{$row['aid']}\" /></td>
<td height='26'>{$row['aid']}</td>
<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>
<td><input name='spwords' type='text' id='spwords{$row['aid']}' value='{$row['spwords']}' style='width:95%;'></td>
<td><input name='count' type='text' id='count{$row['aid']}' value='{$row['count']}' size='5'></td>
@@ -95,8 +95,8 @@ function GetKeywordList($dsql, $pageno, $pagesize, $orderby = 'aid')
";
echo $line;
}
echo "<tr align='left' height='26'>
<td colspan='8' style='padding-left:10px;'>
echo "<tr align='left'>
<td colspan='8'>
<a href='javascript:selAll()' class='btn btn-success btn-sm'>反选</a>
<a href='javascript:noselAll()' class='btn btn-success btn-sm'>取消</a>
<a href='javascript:delall()' class='btn btn-success btn-sm'>删除</a>


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

@@ -95,7 +95,7 @@ if (isset($dopost) && $dopost == 'getone') {
$ccd = $row['cc'] + $ccd;
$msg = "<table width='100%' align='center' cellpadding='3' cellspacing='1'>
<tr align='center' bgcolor='#F8FCF1'>
<td width='18%' height='26'>管理员</td>
<td width='18%' >管理员</td>
<td width='18%'>文档与点击</td>
<td width='16%'>季度</td>
<td width='16%'>当月</td>
@@ -103,7 +103,7 @@ if (isset($dopost) && $dopost == 'getone') {
<td width='16%'>当天</td>
</tr>
<tr align='center'>
<td height='26'>{$userid}</td>
<td>{$userid}</td>
<td>{$dd} | {$cc}</td>
<td>{$dds} | {$ccs}</td>
<td>{$ddm} | {$ccm}</td>


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

@@ -254,7 +254,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:#424b51;background:#f6f6f6}a{color:#28a745;text-decoration:none}.tips{margin:70px auto 0;padding:0;width:430px;height:auto;background:#fff;border-radius:.2rem}.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:#424b51}.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:#424b51;background:#f8f8f8}a{color:#28a745;text-decoration:none}.tips{margin:70px auto 0;padding:0;width:430px;height:auto;background:#fff;border-radius:.2rem}.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:#424b51}.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)


+ 3
- 3
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 height="26" bgcolor="#F8FCF1" align="center">
<tr bgcolor="#F8FCF1" align="center">
<td width="300">参数说明</td>
<td>参数值</td>
<td width="220">变量名</td>
@@ -114,7 +114,7 @@ EOT;
$row['info'] = preg_replace("#{$keywords}#", '<span class="text-danger">'.$keywords.'</span>', $row['info']);
$row['varname'] = preg_replace("#{$keywords}#", '<span class="text-danger">'.$keywords.'</span>', $row['varname']);
?>
<tr height="26" align="center" bgcolor="<?php echo $bgcolor ?>">
<tr align="center" bgcolor="<?php echo $bgcolor ?>">
<td width="300"><?php echo $row['info']; ?>:</td>
<td align="left" style="padding:6px;">
<?php
@@ -143,7 +143,7 @@ EOT;
exit;
}
if ($i == 1) {
echo '<tr height="26" bgcolor="#f8f8f8" align="center">
echo '<tr bgcolor="#f8f8f8" align="center">
<td colspan="3">没有找到搜索的内容</td>
</tr></table>';
}


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

@@ -137,7 +137,7 @@ class Array2form
}
$tplstring = "
<tr>
<td height='26' align='center'>~title~:</td>
<td align='center'>~title~:</td>
<td>~form~ <small>~description~</small></td>
</tr>
";


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

@@ -3,7 +3,7 @@
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>操作搜索</title>
<title>搜索结果</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
@@ -11,15 +11,15 @@
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td height="26" background="../static/web/img/tbg.gif">当前位置 &gt; 搜索结果</td>
<td bgcolor="#f8f8f8">当前位置 &gt; 搜索结果</td>
</tr>
<tr height="26" bgcolor="#f8f8f8" align="center">
<td align="left">&quot;<span class='text-danger'><?php echo $keyword; ?></span>&quot;的搜索结果</td>
<tr bgcolor="#f8f8f8" align="center">
<td align="left">&quot;<span class="text-danger"><?php echo $keyword; ?></span>&quot;的搜索结果</td>
</tr>
<tr height="26" align="center">
<tr align="center">
<td align="center">
<?php foreach ($asresult as $row) {?>
<table width="98%" cellspacing="5" cellpadding="0" class="table table-borderless">
<?php foreach ($asresult as $row) { ?>
<table width="98%" cellspacing="5" cellpadding="0" class="table table-borderless">
<tr>
<td align="left" bgcolor="#f8f8f8"><?php echo $row['toptitle'] ?> => <?php echo $row['title'] ?></td>
</tr>
@@ -38,8 +38,8 @@
<?php } ?>
</td>
</tr>
<tr height="26" bgcolor="#f8f8f8" align="center">
<td align="center"></td>
<tr bgcolor="#f8f8f8" align="center">
<td></td>
</tr>
</table>
</body>

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

@@ -78,62 +78,62 @@
<form action="ad_add.php" method="post" name="form1" onSubmit="return checkSubmit()">
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="ad_main.php">广告管理</a> &gt; 增加广告位置</td>
<td bgcolor="#f8f8f8"><a href="ad_main.php">广告管理</a> &gt; 增加广告位置</td>
</tr>
<tr>
<td>
<table width="100%" cellspacing="4" cellpadding="4" class="table table-borderless">
<input name="normbody[style]" type="hidden" value="code" id="adstyle">
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>">
<input type='hidden' name='dopost' value='save'>
<input type="hidden" name="dopost" value="save">
<tr>
<td height="26" colspan="3">广告代码的调用方法:{dede:myad name='广告位标识'/} </td>
<td colspan="3">广告代码的调用方法:{dede:myad name='广告位标识'/} </td>
</tr>
<tr>
<td height="26">广告位标识:</td>
<td>广告位标识:</td>
<td colspan="2"><input name="tagname" type="text" id="tagname" class="iptxt" style="width:260px">(使用英文或数字表示的简洁标识)</td>
</tr>
<tr>
<td height="26">广告分类:</td>
<td>广告分类:</td>
<td colspan="2">
<select name='clsid' id="clsid" style='width:160px'>
<option value='0'>默认分类</option>
<select name="clsid" id="clsid" style="width:160px">
<option value="0">默认分类</option>
<?php echo $option; ?>
</select>
</td>
</tr>
<tr>
<td height="26">广告投放范围:</td>
<td colspan="2"><?php
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray(0,0,0);
echo "<select name='typeid' style='width:160px'>";
echo "<option value='0' selected>投放在没有同名标识的所有栏目</option>";
echo $typeOptions;
echo "</select>";
?>
<br>
(如果在所选栏目找不到指定标识的广告内容,系统会自动搜索父栏目)</td>
<td>广告投放范围:</td>
<td colspan="2">
<?php
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray(0,0,0);
echo "<select name='typeid' style='width:160px'>";
echo "<option value='0' selected>投放在没有同名标识的所有栏目</option>";
echo $typeOptions;
echo "</select>";
?>(如果在所选栏目找不到指定标识的广告内容,系统会自动搜索父栏目)
</td>
</tr>
<tr>
<td height="26">广告位名称:</td>
<td>广告位名称:</td>
<td colspan="2"><input name="adname" type="text" id="adname" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td height="26">时间限制:</td>
<td>时间限制:</td>
<td colspan="2">
<input name="timeset" type="radio" class="np" value="0" checked='1' id="notimelimit">
<label for="notimelimit">永不过期</label>
<input name="timeset" type="radio" class="np" value="0" checked="1" id="notimelimit">
<label for="notimelimit"> 永不过期</label>
<input type="radio" name="timeset" class="np" value="1" id="timelimit">
<label for="timelimit">在设内时间内有效</label>
<label for="timelimit"> 在设内时间内有效</label>
</td>
</tr>
<tr>
<td height="26">投放时间:</td>
<td>投放时间:</td>
<td colspan="2">从
<input name="starttime" type="text" id="starttime" value="<?php echo $startDay?>" class='iptxt datepicker' style="width:160px">
<input name="starttime" type="text" id="starttime" value="<?php echo $startDay?>" style="width:160px">
<input name="endtime" type="text" id="endtime" value="<?php echo $endDay?>" class='iptxt datepicker' style="width:160px">
<input name="endtime" type="text" id="endtime" value="<?php echo $endDay?>" style="width:160px">
</td>
</tr>
<tr>
@@ -148,7 +148,7 @@
</ul>
<div style="clear:both"></div>
</div>
<div id='advert'></div>
<div id="advert"></div>
</td>
<td width="10%"></td>
</tr>
@@ -168,7 +168,7 @@
<div style="display:none" id="formtxt">
<div class="content" id="code" style="display:none">
<table width="80%" cellpadding="3" cellspacing="1" class="i_table">
<tr class="b">
<tr>
<td width="260">广告代码:<br>
请填写广告代码,支持html代码</td>
<td><textarea name="normbody[htmlcode]" style="width:380px;height:100px"></textarea></td>
@@ -176,62 +176,62 @@
</table>
</div>
<div class="content" id="txt" style="display:none">
<table width="80%" cellpadding=3 cellspacing=1 class='i_table'>
<table width="80%" cellpadding="3" cellspacing="1" class="i_table">
<tr>
<td class="b" width="260">文字内容 *</td>
<td class="b"><input type="text" name="normbody[title]" value="" class="iptxt" style="width:360px"></td>
<td width="260">文字内容 *</td>
<td><input type="text" name="normbody[title]" value="" class="iptxt" style="width:360px"></td>
</tr>
<tr>
<td class="b">文字链接 *</td>
<td class="b"><input type="text" name="normbody[link]" value="" class="iptxt" style="width:360px"></td>
<td>文字链接 *</td>
<td><input type="text" name="normbody[link]" value="" class="iptxt" style="width:360px"></td>
</tr>
<tr>
<td class="b">文字颜色</td>
<td class="b"><input type="text" name="normbody[color]" value="" class="iptxt" style="width:360px"></td>
<td>文字颜色</td>
<td><input type="text" name="normbody[color]" value="" class="iptxt" style="width:360px"></td>
</tr>
<tr>
<td class="b">文字大小</td>
<td class="b"><input type="text" name="normbody[size]" value="" class="iptxt" style="width:360px"></td>
<td>文字大小</td>
<td><input type="text" name="normbody[size]" value="" class="iptxt" style="width:360px"></td>
</tr>
</table>
</div>
<div class="content" id="img" style="display:none">
<table width="80%" cellpadding=3 cellspacing=1 class='i_table'>
<table width="80%" cellpadding="3" cellspacing="1" class="i_table">
<tr>
<td class="b" width="260">图片地址 *</td>
<td class="b"><input type="text" name="normbody[url]" value="" class="iptxt" style="width:360px"></td>
<td width="260">图片地址 *</td>
<td><input type="text" name="normbody[url]" value="" class="iptxt" style="width:360px"></td>
</tr>
<tr>
<td class="b">图片链接 *</td>
<td class="b"><input type="text" name="normbody[link]" value="" class="iptxt" style="width:360px"></td>
<td>图片链接 *</td>
<td><input type="text" name="normbody[link]" value="" class="iptxt" style="width:360px"></td>
</tr>
<tr>
<td class="b">图片宽度</td>
<td class="b"><input type="text" name="normbody[width]" value="" class="iptxt" style="width:360px"></td>
<td>图片宽度</td>
<td><input type="text" name="normbody[width]" value="" class="iptxt" style="width:360px"></td>
</tr>
<tr>
<td class="b">图片高度</td>
<td class="b"><input type="text" name="normbody[height]" value="" class="iptxt" style="width:360px"></td>
<td>图片高度</td>
<td><input type="text" name="normbody[height]" value="" class="iptxt" style="width:360px"></td>
</tr>
<tr>
<td class="b">图片描述</td>
<td class="b"><input type="text" name="normbody[descrip]" value="" class="iptxt" style="width:360px"></td>
<td>图片描述</td>
<td><input type="text" name="normbody[descrip]" value="" class="iptxt" style="width:360px"></td>
</tr>
</table>
</div>
<div class="content" id="flash" style="display:none">
<table width="80%" cellpadding=3 cellspacing=1 class='i_table'>
<table width="80%" cellpadding="3" cellspacing="1" class="i_table">
<tr>
<td class="b" width="260">flash链接</td>
<td class="b"><input type="text" name="normbody[link]" value="" class="iptxt" style="width:360px"></td>
<td width="260">flash链接</td>
<td><input type="text" name="normbody[link]" value="" class="iptxt" style="width:360px"></td>
</tr>
<tr>
<td class="b">flash宽度</td>
<td class="b"><input type="text" name="normbody[width]" value="" class="iptxt" style="width:360px"></td>
<td>flash宽度</td>
<td><input type="text" name="normbody[width]" value="" class="iptxt" style="width:360px"></td>
</tr>
<tr>
<td class="b">flash高度</td>
<td class="b"><input type="text" name="normbody[height]" value="" class="iptxt" style="width:360px"></td>
<td>flash高度</td>
<td><input type="text" name="normbody[height]" value="" class="iptxt" style="width:360px"></td>
</tr>
</table>
</div>


+ 27
- 28
src/admin/templets/ad_edit.htm View File

@@ -47,59 +47,58 @@
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="ad_main.php">广告管理</a> &gt; 修改广告</td>
<td bgcolor="#f8f8f8"><a href="ad_main.php">广告管理</a> &gt; 修改广告</td>
</tr>
<tr>
<td>
<table width="100%" cellspacing="4" cellpadding="4" class="table table-borderless">
<form action="ad_edit.php" method="post" enctype="multipart/form-data" name="form1">
<input type='hidden' name='aid' value='<?php echo $aid?>'>
<input type='hidden' name='dopost' value='saveedit'>
<input type="hidden" name="aid" value="<?php echo $aid?>">
<input type="hidden" name="dopost" value="saveedit">
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>">
<tr>
<td height="26">广告位标识:</td>
<td>广告位标识:</td>
<td colspan="2"><?php echo $row['tagname']; ?></td>
</tr>
<tr>
<td height="26">广告分类:</td>
<td>广告分类:</td>
<td colspan="2">
<select name='clsid' id="clsid" style='width:160px'>
<option value='0'>默认分类</option>
<select name="clsid" id="clsid" style="width:160px">
<option value="0">默认分类</option>
<?php echo $option; ?>
</select></td>
</select>
</td>
</tr>
<tr>
<td height="26">广告投放范围:</td>
<td colspan="2"><?php
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray($row['typeid'],0,0);
echo "<select name='typeid' style='width:260px'>";
echo "<option value='0' selected>投放在没有同名标识的所有栏目</option>";
echo $typeOptions;
echo "</select>";
?>
<br>
(如果在所选栏目找不到指定标识的广告内容,系统会自动搜索父栏目)</td>
<td>广告投放范围:</td>
<td colspan="2">
<?php
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray($row['typeid'],0,0);
echo "<select name='typeid' style='width:260px'>";
echo "<option value='0' selected>投放在没有同名标识的所有栏目</option>";
echo $typeOptions;
echo "</select>";
?>(如果在所选栏目找不到指定标识的广告内容,系统会自动搜索父栏目)
</td>
</tr>
<tr>
<td height="26">广告位名称:</td>
<td>广告位名称:</td>
<td colspan="2"><input name="adname" type="text" id="adname" value="<?php echo $row['adname']?>" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td height="26">时间限制:</td>
<td>时间限制:</td>
<td colspan="2">
<label><input class="np" name="timeset" type="radio" value="0" <?php if($row['timeset']==0) echo " checked='1' "; ?> />
永不过期</label>
<label><input class="np" type="radio" name="timeset" value="1" <?php if($row['timeset']==1) echo " checked='1' "; ?> />
在设内时间内有效</label>
<label><input class="np" name="timeset" type="radio" value="0" <?php if($row['timeset']==0) echo " checked='1' "; ?>> 永不过期</label>
<label><input class="np" type="radio" name="timeset" value="1" <?php if($row['timeset']==1) echo " checked='1' "; ?>> 在设内时间内有效</label>
</td>
</tr>
<tr>
<td height="26">投放时间:</td>
<td>投放时间:</td>
<td colspan="2">从
<input name="starttime" type="text" id="starttime" value="<?php echo GetDateTimeMk($row['starttime'])?>" class='iptxt datepicker' style="width:160px">
<input name="starttime" type="text" id="starttime" value="<?php echo GetDateTimeMk($row['starttime'])?>" style="width:160px">
<input name="endtime" type="text" id="endtime" value="<?php echo GetDateTimeMk($row['endtime'])?>" class='iptxt datepicker' style="width:160px">
<input name="endtime" type="text" id="endtime" value="<?php echo GetDateTimeMk($row['endtime'])?>" style="width:160px">
</td>
</tr>
<tr>


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

@@ -12,10 +12,10 @@
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td height="26" background="../static/web/img/tbg.gif" colspan="7" style="padding-left:10px">广告管理<a href="ad_add.php" class="btn btn-success btn-sm ml-3">增加一个新广告</a><a href="adtype_main.php" class="btn btn-success btn-sm">广告分类管理</a></td>
<td bgcolor="#f8f8f8" colspan="7">广告管理<a href="ad_add.php" class="btn btn-success btn-sm ml-3">增加一个新广告</a><a href="adtype_main.php" class="btn btn-success btn-sm">广告分类管理</a></td>
</tr>
<tr>
<td height="26" colspan="7" style="padding-left:10px">
<td colspan="7">
<form action="ad_main.php" method="get" name="form3" id="form3">
<input type="hidden" name="dopost" value="listArchives">
<table class="table-borderless">
@@ -33,7 +33,7 @@
</form>
</td>
</tr>
<tr align="center" bgcolor="#F8FCF1" height="26">
<tr bgcolor="#F8FCF1" align="center">
<td width="8%">编号</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 height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>{dede:field.aid /}</td>
<td>{dede:field.clsname function='TestType(@me,1)'/}</td>
<td>{dede:field.adname /}</td>
@@ -51,9 +51,9 @@
<td>{dede:field.timeset function='TimeSetValue(@me)'/}</td>
<td>{dede:field.endtime function='GetDateMk(@me)'/}</td>
<td>
<a href='ad_edit.php?aid={dede:field.aid /}&dopost=gettag' class="btn btn-success btn-sm">代码</a>
<a href='ad_edit.php?aid={dede:field.aid /}&dopost=edit' class="btn btn-success btn-sm">修改</a>
<a href='ad_edit.php?aid={dede:field.aid /}&dopost=delete' class="btn btn-success btn-sm">删除</a>
<a href="ad_edit.php?aid={dede:field.aid /}&dopost=gettag" class="btn btn-success btn-sm">代码</a>
<a href="ad_edit.php?aid={dede:field.aid /}&dopost=edit" class="btn btn-success btn-sm">修改</a>
<a href="ad_edit.php?aid={dede:field.aid /}&dopost=delete" class="btn btn-success btn-sm">删除</a>
</td>
</tr>
{/dede:datalist}


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

@@ -12,10 +12,10 @@
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="adtype_main.php" method="post">
<tr>
<td height="26" background="../static/web/img/tbg.gif" colspan="7" style="padding-left:10px"><input type="hidden" name="dopost" value="save"/>广告分类管理<a href="ad_main.php" class="btn btn-success btn-sm ml-3">广告管理</a></td>
<td bgcolor="#f8f8f8" colspan="7"><input type="hidden" name="dopost" value="save"/>广告分类管理<a href="ad_main.php" class="btn btn-success btn-sm ml-3">广告管理</a></td>
</tr>
<tr bgcolor="#F8FCF1">
<td width="9%" height="26" align="center">类型ID</td>
<td width="9%" align="center">类型ID</td>
<td width="55%" align="center">广告分类</td>
<td width="36%" align="center">状态</td>
</tr>
@@ -25,26 +25,26 @@
$k=0;
while($row = $dsql->GetObject())
{
$k++;
$k++;
?>
<tr align="center">
<td height="26"><input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id?>"/><?php echo $row->id; ?></td>
<td height="26"><input name="pname_<?php echo $k?>" value="<?php echo $row->typename?>" type="text" id="pname_<?php echo $k?>" class='pubinputs' style="width:90%"></td>
<td><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked='1' class='np'> 保留</td>
<td><input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id?>"/><?php echo $row->id; ?></td>
<td><input name="pname_<?php echo $k?>" value="<?php echo $row->typename?>" type="text" id="pname_<?php echo $k?>" class="pubinputs" style="width:90%"></td>
<td><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked="1" class="np"> 保留</td>
</tr>
<?php
}
?>
<input type="hidden" name="idend" value="<?php echo $k?>">
<tr bgcolor="#F8FCF1">
<td height="26" colspan="5" bgcolor="#f8f8f8">新增一个广告类型:</td>
<td colspan="5" bgcolor="#f8f8f8">新增一个广告类型:</td>
</tr>
<tr height="26" align="center">
<td colspan="2"><input name="pname_new" type="text" id="pname_new" class='pubinputs' style="width:90%"></td>
<td align="center"><input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np'> 新增 </td>
<tr align="center">
<td colspan="2"><input name="pname_new" type="text" id="pname_new" class="pubinputs" style="width:90%"></td>
<td align="center"><input name="check_new" type="checkbox" id="check_new" value="1" checked="1" class="np"> 新增 </td>
</tr>
<tr>
<td height="26" colspan="5" align="center" bgcolor="#f8f8f8"><input name="imageField" type="submit" class="np coolbg" value="确定"></td>
<td colspan="5" align="center" bgcolor="#f8f8f8"><input name="submit" type="submit" class="btn btn-success btn-sm" value="确定"></td>
</tr>
</form>
</table>


+ 49
- 54
src/admin/templets/album_add.htm View File

@@ -64,8 +64,8 @@ table{border-collapse:separate}
<input type="hidden" id="albums" name="albums" value="">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
<td width="70%" height="26"><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="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
<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="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">
@@ -73,7 +73,7 @@ table{border-collapse:separate}
<td colspan="2">
<table width="168" cellpadding="0" cellspacing="0">
<tr>
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规内容</td>
<td width="86" height="28" 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>
@@ -83,10 +83,10 @@ table{border-collapse:separate}
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head2" style="display:none">
<tr>
<td colspan="2">
<table width="168" height="26" cellpadding="0" cellspacing="0">
<table width="168" 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="86" height="28" align="center" background="../static/web/img/itemnote1.gif">高级参数</td>
</tr>
</table>
</td>
@@ -94,7 +94,7 @@ table{border-collapse:separate}
</table>
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6;">
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;图集标题:</td>
@@ -106,7 +106,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td width="400%" height="26" colspan="4" class="bline">
<td width="100%" colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;自定义属性:</td>
@@ -128,7 +128,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr id="redirecturltr" style="display:none">
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;跳转网址:</td>
@@ -138,7 +138,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td width="400%" height="26" class="bline">
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
@@ -150,7 +150,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr id="pictable">
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;缩略图:</td>
@@ -160,7 +160,7 @@ table{border-collapse:separate}
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-sm btn-success delete">清空</button>
<label><input type='checkbox' class='np' name='ddisfirst' value='1'>&nbsp;使用图集的第一幅图</label>
<label><input type="checkbox" class="np" name="ddisfirst" value="1">&nbsp;使用图集的第一幅图</label>
</td>
<td width="260" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="max-width:100px;max-height:80px"></td>
</tr>
@@ -168,7 +168,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;来源:</td>
@@ -186,12 +186,12 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布栏目:</td>
<td width="360">
<span id='typeidct'>
<span id="typeidct">
<?php
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid);
echo "<select name='typeid' id='typeid' style='width:160px'>";
@@ -200,7 +200,7 @@ table{border-collapse:separate}
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')
{
@@ -214,22 +214,22 @@ table{border-collapse:separate}
</table>
</td>
</tr>
<tr id='typeid2tr' style='display:none'>
<td height="26" colspan="4" class="bline">
<tr id="typeid2tr" style="display:none">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;副栏目:</td>
<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>
<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>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;关键词:</td>
@@ -245,7 +245,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;描述:</td>
@@ -255,29 +255,24 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;表现方式:</td>
<td>
<label><input name="pagestyle" class="np" type="radio" id="pagestyle1" onClick="checkMuList()" value="1" <?php if($cfg_album_style==1) echo " checked='checked'"; ?> />
<img src='../static/web/img/alb2.jpg' title='单页多图样式'></label>
&nbsp;&nbsp;
<label><input name="pagestyle" class="np" type="radio" id="pagestyle2" onClick="checkMuList()" value="2" <?php if($cfg_album_style==2) echo " checked='checked'"; ?> />
<img src='../static/web/img/alb1.jpg' title='幻灯片样式'></label>
&nbsp;&nbsp;
<label><input name="pagestyle" class="np" type="radio" id="pagestyle3" onClick="checkMuList()" value="3" <?php if($cfg_album_style==3) echo " checked='checked'"; ?> />
<img src='../static/web/img/alb3.jpg' title='多缩略图样式'></label>
<label><input name="pagestyle" class="np" type="radio" id="pagestyle1" onClick="checkMuList()" value="1" <?php if($cfg_album_style==1) echo " checked='checked'"; ?>> <img src="../static/web/img/alb2.jpg" title="单页多图样式"></label>
<label><input name="pagestyle" class="np" type="radio" id="pagestyle2" onClick="checkMuList()" value="2" <?php if($cfg_album_style==2) echo " checked='checked'"; ?>> <img src="../static/web/img/alb1.jpg" title="幻灯片样式"></label>
<label><input name="pagestyle" class="np" type="radio" id="pagestyle3" onClick="checkMuList()" value="3" <?php if($cfg_album_style==3) echo " checked='checked'"; ?>> <img src="../static/web/img/alb3.jpg" title="多缩略图样式"></label>
</td>
</tr>
</table>
</td>
</tr>
<tr id='cfgmulist' style='display:none'>
<td height="26" colspan="4" class="bline">
<tr id="cfgmulist" style="display:none">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td height="26">&nbsp;多列式参数:</td>
<td>&nbsp;多列式参数:</td>
<td>
行&nbsp;<input name="row" type="text" id="row" value="<?php echo $cfg_album_row; ?>" size="6">
列&nbsp;<input name="col" type="text" id="col" value="<?php echo $cfg_album_col; ?>" size="6">
@@ -285,24 +280,24 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td width="86" height="26"></td>
<td width="86" ></td>
<td>(系统仅是每页输出&quot;行x列&quot;张图片,实现需自行控制样式表)</td>
</tr>
</table>
</td>
</tr>
<tr id='spagelist' style='display:none'>
<td height="26" colspan="4" class="bline">
<tr id="spagelist" style="display:none">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;每页图片数:</td>
<td><input name='pagepicnum' type='text' id='pagpicnum' size='10' value='<?php echo $cfg_album_pagesize; ?>'>&nbsp;单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td>
<td><input name="pagepicnum" type="text" id="pagpicnum" size="10" value="<?php echo $cfg_album_pagesize; ?>">&nbsp;单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;上传方式:</td>
@@ -322,8 +317,8 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0" height="100">
<tr>
<td width="90">&nbsp;压缩包文件:</td>
<td><input type='text' name='zipfile' id='zipfile' style='width:260px'>
<button name='addon_bt' type='button' onClick="SelectSoft('form1.zipfile')" class="btn btn-success btn-sm">浏览</button>
<td><input type="text" name="zipfile" id="zipfile" style="width:260px">
<button name="addon_bt" type="button" onClick="SelectSoft('form1.zipfile')" class="btn btn-success btn-sm">浏览</button>
<label><input name="delzip" type="checkbox" id="delzip" value="1" checked="checked">
处理后删除压缩文件</label></td>
</tr>
@@ -331,15 +326,15 @@ table{border-collapse:separate}
</td>
</tr>
<tr id="htmlfield" style="display:none">
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;网上复制:</td>
<td>复制的源网址:<input name='copysource' type='text' value='http://' style='width:260px'>(防盗链网站需填写您复制图片的其中一个网页网址)<br>
<td>复制的源网址:<input name="copysource" type="text" value="http://" style="width:260px">(防盗链网站需填写您复制图片的其中一个网页网址)<br>
把图片从别的网页复制,在这里用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:6px;margin-bottom:6px;border:solid 1px #CCCCCC;width:96%;padding:6px;height:260px;width:100%" contenteditable="true">粘贴到这里</div>
</td>
</tr>
</table>
@@ -349,7 +344,7 @@ table{border-collapse:separate}
<td><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); ?></td>
</tr>
<tr>
<td width="100%" height="26" colspan="4" class="bline">
<td width="100%" colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" height="36">&nbsp;手工上传:</td>
@@ -371,7 +366,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4">
<td colspan="4">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;图集内容:</td>
@@ -384,13 +379,13 @@ table{border-collapse:separate}
<!--高级参数-->
<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">&nbsp;评论选项:</td>
<td width="260">
<label><input type='radio' name='notpost' class='np' value='0' <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?>> 允许评论</label>
<label><input type='radio' name='notpost' class='np' value='1' <?php if($cfg_feedback_forbid=='Y') echo "checked='1' "; ?>> 禁止评论</label>
<label><input type="radio" name="notpost" class="np" value="0" <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?>> 允许评论</label>
<label><input type="radio" name="notpost" class="np" value="1" <?php if($cfg_feedback_forbid=='Y') echo "checked='1' "; ?>> 禁止评论</label>
</td>
<td width="90">发布选项:</td>
<td>
@@ -402,10 +397,10 @@ table{border-collapse:separate}
</td>
</tr>
<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" >&nbsp;图集排序:</td>
<td width="260"> <select name="sortup" id="sortup" style="width:160px">
<option value="0" selected>默认排序</option>
<option value="7">置顶一周</option>
@@ -424,7 +419,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;阅读权限:</td>
@@ -447,7 +442,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布时间:</td>


+ 61
- 63
src/admin/templets/album_edit.htm View File

@@ -64,8 +64,8 @@ table{border-collapse:separate}
<input type="hidden" id="albums" name="albums" value="">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
<td width="70%" height="26"><i class="fa fa-book"></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>
<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="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">
@@ -73,7 +73,7 @@ table{border-collapse:separate}
<td colspan="2">
<table width="168" cellpadding="0" cellspacing="0">
<tr>
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规内容</td>
<td width="86" height="28" 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>
@@ -83,10 +83,10 @@ table{border-collapse:separate}
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head2" style="display:none">
<tr>
<td colspan="2">
<table width="168" height="26" cellpadding="0" cellspacing="0">
<table width="168" 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="86" height="28" align="center" background="../static/web/img/itemnote1.gif">图集图片</td>
</tr>
</table>
</td>
@@ -94,7 +94,8 @@ table{border-collapse:separate}
</table>
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6;">
<tr>
<td height="26" colspan="4" class="bline"><table width="900" cellspacing="0" cellpadding="0">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;图集标题:</td>
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
@@ -105,7 +106,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td width="400%" height="26" colspan="4" class="bline">
<td width="100%" colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;自定义属性:</td>
@@ -128,7 +129,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block'); ?>">
<td colspan="4" class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block'); ?>">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;跳转网址:</td>
@@ -138,7 +139,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td width="400%" height="26" class="bline">
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
@@ -150,7 +151,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr id="pictable">
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" height="80">&nbsp;缩略图:</td>
@@ -167,7 +168,8 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline"><table width="900" cellspacing="0" cellpadding="0">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;来源:</td>
<td width="260">
@@ -184,7 +186,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布栏目:</td>
@@ -196,7 +198,7 @@ table{border-collapse:separate}
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 name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td>
@@ -208,21 +210,21 @@ 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>
<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>
<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>
</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>
@@ -232,7 +234,7 @@ 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>
@@ -252,7 +254,8 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline"><table width="900" cellspacing="0" cellpadding="0">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;图集内容:</td>
<td><?php GetEditor("body",$body,450,"Diy"); ?></td>
@@ -261,26 +264,28 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" bgcolor="#f8f8f8" class="bline2">&nbsp;高级属性:</td>
<td bgcolor="#f8f8f8" class="bline2">&nbsp;高级属性:</td>
</tr>
<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">&nbsp;评论选项:</td>
<td width="260">
<label><input type='radio' name='notpost' class='np' value='0'<?php if($arcRow['notpost']==0) echo " checked='1' "; ?>> 允许评论</label>
<label><input type='radio' name='notpost' class='np' value='1'<?php if($arcRow['notpost']==1) echo " checked='1' "; ?>> 禁止评论</label>
<label>
<input type="radio" name="notpost" 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"; ?>> 生成网页</label>
<label><input type="radio" name="ishtml" class="np" value="0"<?php if($arcRow["ismake"]==-1) echo " checked"; ?>> 仅动态浏览</label>
<td>
<label><input name="ishtml" type="radio" class="np" value="1" <?php if($arcRow["ismake"]!=-1) echo " checked"; ?>> 生成网页</label>
<label><input type="radio" name="ishtml" class="np" value="0" <?php if($arcRow["ismake"]==-1) echo " checked"; ?>> 仅动态浏览</label>
</td>
</tr>
</table>
</tr>
<tr>
<td height="26" class="bline">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;文档排序:</td>
@@ -307,13 +312,13 @@ 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="260">
<select name="arcrank" id="arcrank" style="width:160px">
<option value='<?php echo $arcRow["arcrank"]?>'> <?php echo $arcRow["rankname"]?> </option>
<option value="<?php echo $arcRow['arcrank']?>"> <?php echo $arcRow["rankname"]?> </option>
<?php
$urank = $cuserLogin->getUserRank();
$dsql->SetQuery("Select * from #@__arcrank where adminrank<='$urank'");
@@ -351,24 +356,21 @@ table{border-collapse:separate}
<!--高级参数-->
<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">&nbsp;表现方式:</td>
<td>
<label><input name="pagestyle" class="np" type="radio" id="pagestyle1" onClick="checkMuList()" value="1"<?php if($pagestyle==1) echo " checked='checked'"; ?>>
<img src='../static/web/img/alb2.jpg' title='单页多图样式'></label>&nbsp;&nbsp;
<label><input name="pagestyle" class="np" type="radio" id="pagestyle2" onClick="checkMuList()" value="2"<?php if($pagestyle==2) echo " checked='checked'"; ?>>
<img src='../static/web/img/alb1.jpg' title='幻灯片样式'></label>&nbsp;&nbsp;
<label><input name="pagestyle" class="np" type="radio" id="pagestyle3" onClick="checkMuList()" value="3"<?php if($pagestyle==3) echo " checked='checked'"; ?>>
<img src='../static/web/img/alb3.jpg' title='多缩略图样式'></label>
<label><input name="pagestyle" class="np" type="radio" id="pagestyle1" onClick="checkMuList()" value="1" <?php if($pagestyle==1) echo " checked='checked'"; ?>> <img src="../static/web/img/alb2.jpg" title="单页多图样式"></label>
<label><input name="pagestyle" class="np" type="radio" id="pagestyle2" onClick="checkMuList()" value="2" <?php if($pagestyle==2) echo " checked='checked'"; ?>> <img src="../static/web/img/alb1.jpg" title="幻灯片样式"></label>
<label><input name="pagestyle" class="np" type="radio" id="pagestyle3" onClick="checkMuList()" value="3" <?php if($pagestyle==3) echo " checked='checked'"; ?>> <img src="../static/web/img/alb3.jpg" title="多缩略图样式"></label>
</td>
</tr>
</table>
</td>
</tr>
<tr id='cfgmulist' style='<?php if($pagestyle!=3) echo 'display:none'; ?>'>
<td height="26" colspan="4" class="bline">
<tr id="cfgmulist" style="<?php if($pagestyle!=3) echo 'display:none'; ?>">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="260">&nbsp;多列式参数:</td>
@@ -379,24 +381,24 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td width="86" height="26"></td>
<td width="86" ></td>
<td>(系统仅是每页输出&quot;行x列&quot;张图片,实现需自行控制样式表)</td>
</tr>
</table>
</td>
</tr>
<tr id='spagelist' style='<?php if($pagestyle!=1) echo 'display:none'; ?>'>
<td height="26" colspan="4" class="bline">
<tr id="spagelist" style="<?php if($pagestyle!=1) echo 'display:none'; ?>">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;每页图片数:</td>
<td><input name='pagepicnum' id='pagpicnum' size='10' value='<?php echo $pagepicnum; ?>'> 单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td>
<td><input name="pagepicnum" id="pagpicnum" size="10" value="<?php echo $pagepicnum; ?>"> 单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td>
</tr>
</table>
</td>
</tr>
<tr style='display:none'>
<td height="26" colspan="4" class="bline">
<tr style="display:none">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;限制宽度:</td>
@@ -406,49 +408,45 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;上传方式:</td>
<td><input name="isrm" class="np" type="hidden" id="isrm" value="1" />
<label><input name="byhand" class="np" type="checkbox" id="byhand" value="1" disabled="ture" checked />
手工上传</label>
<label><input name="formzip" class="np" type="checkbox" id="formzip" value="1" onClick="showZipField(this,'zipff','htmlfield')">
从ZIP压缩包中解压图片</label>
<label><input name="byhand" class="np" type="checkbox" id="byhand" value="1" disabled="ture" checked> 手工上传</label>
<label><input name="formzip" class="np" type="checkbox" id="formzip" value="1" onClick="showZipField(this,'zipff','htmlfield')"> 从ZIP压缩包中解压图片</label>
</tr>
</table>
</td>
</tr>
<tr id="zipff" style="display:none">
<td height="26" colspan="4" class="bline"><table width="900" cellspacing="0" cellpadding="0" height="100">
<td colspan="4" class="bline"><table width="900" cellspacing="0" cellpadding="0" height="100">
<tr>
<td width="90">&nbsp;压缩包文件:</td>
<td><input type='text' name='zipfile' id='zipfile' style='width:260px'>
<button name='addon_bt' type='button' class='btn btn-success btn-sm' onClick="SelectSoft('form1.zipfile')">浏览</button>
<label><input name="delzip" type="checkbox" id="delzip" value="1" checked="checked">
处理后删除压缩文件</label>
<td><input type="text" name="zipfile" id="zipfile" style="width:260px">
<button name="addon_bt" type="button" class="btn btn-success btn-sm" onClick="SelectSoft('form1.zipfile')">浏览</button>
<label><input name="delzip" type="checkbox" id="delzip" value="1" checked="checked"> 处理后删除压缩文件</label>
</td>
</tr>
</table>
</td>
</tr>
<tr id="htmlfield" style="display:none">
<td height="26" colspan="4" class="bline"><table width="900" cellspacing="0" cellpadding="0">
<td colspan="4" class="bline"><table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;网上复制:</td>
<td>复制的源网址:
<input name='copysource' type='text' value='http://' style='width:260px'/>(防盗链网站需填写您复制图片的其中一个网页网址)
<br>把图片从别的网页复制,在这里用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>
<input name="copysource" type="text" value="http://" style="width:260px">(防盗链网站需填写您复制图片的其中一个网页网址)<br>
把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片
<input type="button" name="button" id="button" value="预览" onClick="LoadTestDiv()"><br>
<div id="copyhtml" style="margin:10px 0;border:solid 1px #CCCCCC;width:96%;padding:6px;height:260px;width:100%" contenteditable="true">粘贴到这里</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="100%">
<tr>
<td>
@@ -494,7 +492,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td bgcolor="#f8f8f8" height="26" colspan="4" class="bline">
<td bgcolor="#f8f8f8" colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;增加新图片:</td>


+ 36
- 40
src/admin/templets/archives_add.htm View File

@@ -40,8 +40,8 @@ table{border-collapse:separate}
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
<td width="70%" height="26"><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="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-book"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 发布商品</td>
<td width="30%" align="right"><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
@@ -49,7 +49,7 @@ table{border-collapse:separate}
<td colspan="2">
<table width="900" cellpadding="0" cellspacing="0">
<tr>
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规信息</td>
<td width="86" height="28" 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>
<td></td>
</tr>
@@ -60,10 +60,10 @@ table{border-collapse:separate}
<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">
<table 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="86" height="28" align="center" background="../static/web/img/itemnote1.gif">高级参数</td>
</tr>
</table>
</td>
@@ -75,7 +75,7 @@ table{border-collapse:separate}
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6">
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;<?php echo $cInfos['titlename']; ?>:</td>
@@ -87,7 +87,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;自定义属性:</td>
@@ -109,7 +109,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline" id="redirecturltr" style="display:none">
<td colspan="4" class="bline" id="redirecturltr" style="display:none">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;跳转网址:</td>
@@ -119,7 +119,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td width="400%" height="26" class="bline">
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
@@ -131,7 +131,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr id="pictable" style='<?php if($cInfos['needpic']==0) echo 'display:none'; ?>'>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;缩略图:</td>
@@ -148,7 +148,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;来源:</td>
@@ -173,12 +173,12 @@ table{border-collapse:separate}
} else {
?>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布栏目:</td>
<td width="360">
<span id='typeidct'>
<span id="typeidct">
<?php
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid);
echo "<select name='typeid' id='typeid' style='width:160px'>";
@@ -187,7 +187,7 @@ table{border-collapse:separate}
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')
{
@@ -201,28 +201,28 @@ table{border-collapse:separate}
</table>
</td>
</tr>
<tr id='typeid2tr' style='display:none'>
<td height="26" colspan="4" class="bline">
<tr id="typeid2tr" style="display:none">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;副栏目:</td>
<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>
<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>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;关键词:</td>
<td>
<input type='text' name="keywords" id="keywords" value="" style="width:360px">
<button type="button" name="Submit" value="" class="btn btn-success btn-sm" onClick="SelectKeywords('form1.keywords');">浏览</button>
<input type="text" name="keywords" id="keywords" value="" style="width:360px">
<button type="button" name="Submit" value="" class="btn btn-success btn-sm" onClick="SelectKeywords('form1.keywords');">浏览</button>
</td>
<td>
<label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>>&nbsp;自动获取,手动填写用","分开</label>
@@ -232,7 +232,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;描述:</td>
@@ -245,19 +245,15 @@ table{border-collapse:separate}
}
?>
<tr>
<td width="100%" height="26">
<td width="100%">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;附加选项:</td>
<td>
<label><input name="remote" type="checkbox" class="np" id="remote" value="1" <?php if($cfg_rm_remote=='Y') echo ' checked="1" '; ?>>
下载远程图片和资源</label>
<label><input name="dellink" type="checkbox" class="np" id="dellink" value="1" <?php if($cfg_arc_dellink=='Y') echo ' checked="1" '; ?>>
删除非站内链接</label>
<label><input name="autolitpic" type="checkbox" class="np" id="autolitpic" value="1" <?php if($cfg_arc_autopic=='Y') echo ' checked="1" '; ?>>
提取第一个图片为缩略图</label>
<label><input type='checkbox' name='needwatermark' value='1' class='np' <?php if($photo_markup=='1') echo ' checked="1" '; ?>>
图片是否加水印</label>
<label><input name="remote" type="checkbox" class="np" id="remote" value="1" <?php if($cfg_rm_remote=='Y') echo ' checked="1" '; ?>> 下载远程图片和资源</label>
<label><input name="dellink" type="checkbox" class="np" id="dellink" value="1" <?php if($cfg_arc_dellink=='Y') echo ' checked="1" '; ?>> 删除非站内链接</label>
<label><input name="autolitpic" type="checkbox" class="np" id="autolitpic" value="1" <?php if($cfg_arc_autopic=='Y') echo ' checked="1" '; ?>> 提取第一个图片为缩略图</label>
<label><input type="checkbox" name="needwatermark" value="1" class="np" <?php if($photo_markup=='1') echo ' checked="1" '; ?>> 图片是否加水印</label>
</td>
</tr>
</table>
@@ -270,13 +266,13 @@ table{border-collapse:separate}
<!--高级参数-->
<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">&nbsp;评论选项:</td>
<td width="260">
<label><input type='radio' name='notpost' class='np' value='0' <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?>> 允许评论</label>
<label><input type='radio' name='notpost' class='np' value='1' <?php if($cfg_feedback_forbid=='Y') echo "checked='1' "; ?>> 禁止评论</label>
<label><input type="radio" name="notpost" class="np" value="0" <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?>> 允许评论</label>
<label><input type="radio" name="notpost" class="np" value="1" <?php if($cfg_feedback_forbid=='Y') echo "checked='1' "; ?>> 禁止评论</label>
</td>
<td width="90">发布选项:</td>
<td>
@@ -288,10 +284,10 @@ table{border-collapse:separate}
</td>
</tr>
<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" >&nbsp;文档排序:</td>
<td width="260">
<select name="sortup" id="sortup" style="width:160px">
<option value="0" selected>默认排序</option>
@@ -311,7 +307,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;阅读权限:</td>
@@ -333,7 +329,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布时间:</td>


+ 29
- 32
src/admin/templets/archives_edit.htm View File

@@ -37,8 +37,8 @@ table{border-collapse:separate}
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-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-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>
</tr>
</table>
<table width="98%" align="center" cellpadding="0" cellspacing="0" id="head1">
@@ -46,7 +46,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" height="28" 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>
@@ -56,10 +56,10 @@ table{border-collapse:separate}
<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">
<table 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="86" height="28" align="center" background="../static/web/img/itemnote1.gif">高级参数</td>
</tr>
</table>
</td>
@@ -71,7 +71,7 @@ table{border-collapse:separate}
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6">
<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>
@@ -83,7 +83,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td width="400%" height="26" class="bline">
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;自定义属性:</td>
@@ -107,8 +107,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" class="bline" id="redirecturltr"
style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block'); ?>">
<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>
@@ -118,7 +117,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td width="400%" height="26" class="bline">
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
@@ -129,8 +128,8 @@ table{border-collapse:separate}
</table>
</td>
</tr>
<tr id="pictable" style='<?php if($cInfos['needpic']==0) echo 'display:none'; ?>'>
<td height="26" class="bline">
<tr id="pictable" style="<?php if($cInfos['needpic']==0) echo 'display:none'; ?>">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" height="80">&nbsp;缩略图:</td>
@@ -149,7 +148,7 @@ 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>
@@ -174,7 +173,7 @@ 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>
@@ -186,7 +185,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,21 +197,21 @@ 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>
<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>
<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>
</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>
@@ -222,7 +221,7 @@ 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>
@@ -236,15 +235,13 @@ table{border-collapse:separate}
}
?>
<tr>
<td width="900" height="26">
<td width="900" >
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;附加选项:</td>
<td>
<label><input name="remote" type="checkbox" class="np" id="remote" value="1" <?php if($cfg_rm_remote=='Y') echo ' checked="1" '; ?>>
下载远程图片和资源</label>
<label><input name="autolitpic" type="checkbox" class="np" id="autolitpic" value="1" <?php if($cfg_arc_autopic=='Y') echo ' checked="1" '; ?>>
提取第一个图片为缩略图</label>
<label><input 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>
@@ -257,13 +254,13 @@ table{border-collapse:separate}
<!--高级参数-->
<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">&nbsp;评论选项:</td>
<td width="260">
<label><input type='radio' name='notpost' class='np' value='0' <?php if($arcRow['notpost']==0) echo " checked='1' "; ?>> 允许评论</label>
<label><input type='radio' name='notpost' class='np' value='1' <?php if($arcRow['notpost']==1) echo " checked='1' "; ?>> 禁止评论</label>
<label><input type="radio" name="notpost" 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"; ?>> 生成网页</label>
@@ -274,7 +271,7 @@ 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>
@@ -301,7 +298,7 @@ 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>


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

@@ -41,8 +41,8 @@ table{border-collapse:separate}
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
<td width="70%" height="26"><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="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
<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="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">
@@ -50,7 +50,7 @@ table{border-collapse:separate}
<td colspan="2">
<table width="900" cellpadding="0" cellspacing="0">
<tr>
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规信息</td>
<td width="86" height="28" align="center" background="../static/web/img/itemnote1.gif">常规信息</td>
<td></td>
</tr>
</table>
@@ -63,7 +63,7 @@ table{border-collapse:separate}
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6">
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;<?php echo $cInfos['titlename']; ?>:</td>
@@ -73,7 +73,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;自定义属性:</td>
@@ -92,7 +92,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr id="pictable" style="<?php if($cInfos['needpic']==0) echo 'display:none'; ?>">
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;缩略图:</td>
@@ -114,12 +114,12 @@ table{border-collapse:separate}
} else {
?>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布栏目:</td>
<td>
<span id='typeidct'>
<span id="typeidct">
<?php
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid);
echo "<select name='typeid' id='typeid' style='width:160px'>";
@@ -127,7 +127,7 @@ table{border-collapse:separate}
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>
@@ -137,7 +137,7 @@ table{border-collapse:separate}
}
?>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;浏览权限:</td>


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

@@ -38,8 +38,8 @@ table{border-collapse:separate}
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
<td width="70%" height="26"><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="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
<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="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">
@@ -47,7 +47,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" height="28" align="center" background="../static/web/img/itemnote1.gif">常规信息</td>
<td width="86"></td>
</tr>
</table>
@@ -61,7 +61,7 @@ table{border-collapse:separate}
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6">
<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>
@@ -71,7 +71,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td width="400%" height="26" class="bline">
<td width="100%" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;自定义属性:</td>
@@ -92,8 +92,8 @@ table{border-collapse:separate}
</table>
</td>
</tr>
<tr id="pictable" style='<?php if($cInfos['needpic']==0) echo 'display:none'; ?>'>
<td height="26" class="bline">
<tr id="pictable" style="<?php if($cInfos['needpic']==0) echo 'display:none'; ?>">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;缩略图:</td>
@@ -115,7 +115,7 @@ 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>
@@ -127,14 +127,14 @@ 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 $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>
</td>
</tr>
<tr>
<td height="26" class="bline">
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;浏览权限:</td>


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

@@ -44,7 +44,7 @@ table{border-collapse:separate}
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
<td width="60%" height="26"><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="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="30%" align="right"><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>
@@ -53,7 +53,7 @@ table{border-collapse:separate}
<td colspan="2">
<table width="900" cellpadding="0" cellspacing="0">
<tr>
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规信息</td>
<td width="86" height="28" align="center" background="../static/web/img/itemnote1.gif">常规信息</td>
<td><a href="javascript:;" class="btn btn-success btn-sm" onClick="ShowHide('getone')">单页采集</a></td>
</tr>
</table>
@@ -68,11 +68,11 @@ table{border-collapse:separate}
<td colspan="2">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="260" height="26"><a name="downurl"></a>采集单个网页:</td>
<td width="260"><a name="downurl"></a>采集单个网页:</td>
<td width="360" align="center"><input name="geturl" type="text" id="geturl" style="width:260px" value="<?php echo $geturl; ?>"></td>
<td>
<button type="submit" class='btn btn-success btn-sm' name="Submit3">抓取</button>
<button type="button" class='btn btn-success btn-sm' name="setrule" onClick="OpenMyWinCoOne('article_coonepage_rule.php')">规则管理</button>
<button type="submit" class="btn btn-success btn-sm" name="Submit3">抓取</button>
<button type="button" class="btn btn-success btn-sm" name="setrule" onClick="OpenMyWinCoOne('article_coonepage_rule.php')">规则管理</button>
</td>
</tr>
</table>
@@ -85,7 +85,7 @@ table{border-collapse:separate}
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6">
<tr>
<td height="26" colspan="5" class="bline">
<td colspan="5" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;文章标题:</td>
@@ -97,7 +97,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="5" class="bline">
<td colspan="5" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;自定义属性:</td>
@@ -119,7 +119,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="5" class="bline" id="redirecturltr" style="display:none">
<td colspan="5" class="bline" id="redirecturltr" style="display:none">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;跳转网址:</td>
@@ -129,7 +129,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td width="400%" height="26" colspan="2" class="bline">
<td width="100%" colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
@@ -141,7 +141,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr id="pictable">
<td height="26" colspan="5" class="bline">
<td colspan="5" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;缩略图:</td>
@@ -158,7 +158,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="5" class="bline">
<td colspan="5" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;来源:</td>
@@ -176,7 +176,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="5" class="bline">
<td colspan="5" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布栏目:</td>
@@ -205,21 +205,21 @@ table{border-collapse:separate}
</td>
</tr>
<tr id="typeid2tr" style="display:none">
<td height="26" colspan="5" class="bline">
<td colspan="5" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;副栏目:</td>
<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>
</td>
</tr>
<tr>
<td height="26" colspan="5" class="bline">
<td colspan="5" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;关键词:</td>
@@ -235,7 +235,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="5" class="bline">
<td colspan="5" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;描述:</td>
@@ -245,29 +245,29 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td width="100%" height="26" colspan="2" class="bline">
<td width="100%" colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;附加选项:</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="dellink" type="checkbox" class="np" id="dellink" value="1" <?php if($cfg_arc_dellink=='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="dellink" type="checkbox" class="np" id="dellink" value="1" <?php if($cfg_arc_dellink=='Y') echo ' checked="1" '; ?>> 删除非站内链接</label>
<a href="javascript:OpenMyWin('article_allowurl_edit.php')" class="btn btn-success btn-sm">设置</a>&nbsp;
<label><input name="autolitpic" type="checkbox" class="np" id="autolitpic" value="1" <?php if($cfg_arc_autopic=='Y') echo ' checked="1" '; ?>>&nbsp;提取第一个图片为缩略图&nbsp;</label>
<label><input type='checkbox' name='needwatermark' value='1' class='np' <?php if($photo_markup=='1') echo "checked"; ?>>&nbsp;图片是否加水印</label>
<label><input name="autolitpic" type="checkbox" class="np" id="autolitpic" value="1" <?php if($cfg_arc_autopic=='Y') echo ' checked="1" '; ?>> 提取第一个图片为缩略图</label>
<label><input type="checkbox" name="needwatermark" value="1" class="np" <?php if($photo_markup=='1') echo "checked"; ?>> 图片是否加水印</label>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="26" colspan="2" class="bline">
<td width="100%" colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;分页方式:</td>
<td>
<label><input name="sptype" type="radio" class="np" value="hand" <?php if($cfg_arcautosp=='N') echo " checked='1' "?>>&nbsp;手动&nbsp;</label>
<label><input type="radio" name="sptype" value="auto" class="np" <?php if($cfg_arcautosp=='Y') echo " checked='1' "?>>&nbsp;自动&nbsp;</label>
<label><input name="sptype" type="radio" class="np" value="hand" <?php if($cfg_arcautosp=='N') echo " checked='1' "?>> 手动</label>
<label><input type="radio" name="sptype" value="auto" class="np" <?php if($cfg_arcautosp=='Y') echo " checked='1' "?>> 自动</label>
大小:<input name="spsize" type="text" id="spsize" value="<?php echo $cfg_arcautosp_size?>" style="width:60px"> K(分页符为:#p#分页标题#e#)
</td>
</tr>
@@ -278,11 +278,7 @@ table{border-collapse:separate}
<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="100%" id="arcBody"><?php GetEditor("body",$body,450); ?></td>
<td width="260" align="center" id="mPic" style="display:none"></td>
</tr>
</table>
@@ -292,7 +288,7 @@ table{border-collapse:separate}
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif"><a href='javascript:ShowHideT("adset")'>高级参数</a></td>
<td width="86" height="28" align="center" background="../static/web/img/itemnote1.gif"><a href='javascript:ShowHideT("adset")'>高级参数</a></td>
</tr>
</table>
</td>
@@ -300,10 +296,10 @@ table{border-collapse:separate}
</table>
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #dee2e6">
<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" >&nbsp;评论选项:</td>
<td width="260">
<label><input type="radio" name="notpost" class="np" value="0" <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?>> 允许评论</label>
<label><input type="radio" name="notpost" class="np" value="1" <?php if($cfg_feedback_forbid=='Y') echo "checked='1' "; ?>> 禁止评论</label>
@@ -318,10 +314,10 @@ table{border-collapse:separate}
</td>
</tr>
<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" >&nbsp;文章排序:</td>
<td width="260">
<select name="sortup" id="sortup" style="width:160px">
<option value="0" selected>默认排序</option>
@@ -341,7 +337,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;阅读权限:</td>
@@ -366,7 +362,7 @@ table{border-collapse:separate}
{
?>
随机选择模板:
<select name='templet' id='templet' style='width:120px'>
<select name="templet" id="templet" style="width:120px">
<?php
$rndsel = mt_rand(1, count($cfg_tamplate_arr)) - 1;
foreach($cfg_tamplate_arr as $k=>$v)
@@ -387,7 +383,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td height="26" colspan="4" class="bline">
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;发布时间:</td>


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

@@ -92,7 +92,7 @@
<body>
<table width="100%" cellpadding="2" align="center" cellspacing="1" class="table maintable mt-3 mb-3">
<tr bgcolor="#f8f8f8">
<td height="26" colspan="6">
<td colspan="6">
<div style="float:left;padding-left:6px">单页采集规则管理:</div>
<div style="float:right;padding-right:10px"><a href='javascript:ShowAddNode();'
class="btn btn-success btn-sm">增加新网址</a>
@@ -100,7 +100,7 @@
</td>
</tr>
<form name="form2">
<tr align="center" bgcolor="#F8FCF1" height="26">
<tr bgcolor="#F8FCF1" align="center">
<td width="8%">ID</td>
<td width="8%">选择</td>
<td width="20%">网址</td>
@@ -109,13 +109,10 @@
<td width="12%">操作</td>
</tr>
{dede:datalist empty='<tr><td colspan="6"><center>暂无内容</center></td></tr>'}
<tr align='center'
onMouseOut="javascript:this.bgColor='#ffffff';" height="26">
<tr align="center" onMouseOut="javascript:this.bgColor='#ffffff';" >
<td><?php echo $fields['id']?></td>
<td><input name="ids" type="checkbox" id="ids" value="<?php echo $fields['id']?>" class="np"></td>
<td align='left'>
<?php echo $fields['url']; ?>
</td>
<td align="left"><?php echo $fields['url']; ?></td>
<td><?php echo $fields['lang']; ?></td>
<td><?php echo $fields['title']; ?></td>
<td>
@@ -125,7 +122,7 @@
</tr>
{/dede:datalist}
<tr bgcolor="#F8FCF1">
<td height="26" colspan="6">
<td colspan="6">
<a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a>
<a href="javascript:noSelAll()" class="btn btn-success btn-sm">取消</a>
<a href="javascript:DelNode(0)" class="btn btn-success btn-sm">删除</a>
@@ -138,43 +135,42 @@
</table>
<!--下面是隐藏的栏目增加修改表单-->
<div id="editNode">
<span id='editNodeBody'>请稍候,正在载入</span>
<span id="editNodeBody">正在加载</span>
</div>

<div id="addNode">
<form name='addform' action='article_coonepage_rule.php' method='post'>
<input type='hidden' name='action' value='add'>
<form name="addform" action="article_coonepage_rule.php" method="post">
<input type="hidden" name="action" value="add">
<table width="430" cellspacing="0" cellpadding="0">
<tr>
<td width="102" height="26">网站名称:</td>
<td width="102" >网站名称:</td>
<td width="302"><input name="title" type="text" id="title" style="width:260px"></td>
<td width="26" align="center"><a href="javascript:CloseAddNode()" class="mr-3"><i class="fa fa-window-close-o"></i></a></td>
</tr>
<tr>
<td height="26">原内容编码:</td>
<td>原内容编码:</td>
<td colspan="2">
<label><input type="radio" name="lang" value="utf-8" checked="checked"> UTF-8 </label>
<label><input type="radio" name="lang" value="gb2312"> GB2312/GBK</label>
</td>
</tr>
<tr>
<td height="26">用作文章来源:</td>
<td>用作文章来源:</td>
<td colspan="2">
<label><input type="radio" name="issource" value="0"> 否 </label>
<label><input name="issource" type="radio" value="1" checked="checked"> 是</label>
</td>
</tr>
<tr>
<td height="26">网站网址:</td>
<td>网站网址:</td>
<td colspan="2"><input name="url" type="text" id="url" style="width:260px"></td>
</tr>
<tr>
<td height="26"></td>
<td></td>
<td colspan="2">使用不带http及任何附加目录的网址<br>
如:news.dedebiz.com</td>
</tr>
<tr>
<td height="26">采集规则:</td>
<td>采集规则:</td>
<td colspan="2">仅针对文章内容,格式:前面HTML{@body}后面HMTL</td>
</tr>
<tr>


+ 9
- 11
src/admin/templets/article_description_main.htm View File

@@ -12,17 +12,17 @@
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form action="article_description_main.php" name="form1" target="stafrm" method="post">
<tr>
<td height="26" background="../static/web/img/tbg.gif">
<td bgcolor="#f8f8f8">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">自动摘要分页</td>
<td width="30%">自动摘要分页</td>
<td width="70%" align="right"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26">用于自动更新您系统没有填写摘要的文档的摘要信息或更新没分页的文档的自动分页标识(文档使用了自动分页后会降低HTML生成速度,并且在没人工干扰的情况下可能导致分页内容的HTML错误,请小心使用此功能)</td>
<td>用于自动更新您系统没有填写摘要的文档的摘要信息或更新没分页的文档的自动分页标识(文档使用了自动分页后会降低HTML生成速度,并且在没人工干扰的情况下可能导致分页内容的HTML错误,请小心使用此功能)</td>
</tr>
<tr>
<td height="36">
@@ -48,10 +48,8 @@
</tr>
<tr>
<td>操作:
<label><input name="dojob" type="radio" class="np" value="des" checked>
自动摘要</label>
<label><input type="radio" name="dojob" class="np" value="page">
自动分页</label>
<label><input name="dojob" type="radio" class="np" value="des" checked> 自动摘要</label>
<label><input type="radio" name="dojob" class="np" value="page"> 自动分页</label>
</td>
<td>自动分页大小:<?php echo $cfg_arcautosp_size?> K,<a href='sys_info.php' class="btn btn-success btn-sm">修改系统参数</a></td>
</tr>
@@ -59,17 +57,17 @@
</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" align="center">
<td bgcolor="#F8FCF1" align="center">
<button type="submit" name="Submit" class="btn btn-success btn-sm">开始执行分析</button>
</td>
</tr>
</form>
<tr>
<td height="26">
<td>
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;


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

@@ -42,7 +42,7 @@ table{border-collapse:separate}
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-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="60%" ><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 class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>
@@ -51,7 +51,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" height="28" 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>
@@ -61,10 +61,10 @@ table{border-collapse:separate}
<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">
<table 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="86" height="28" align="center" background="../static/web/img/itemnote1.gif">高级参数</td>
</tr>
</table>
</td>
@@ -76,7 +76,7 @@ table{border-collapse:separate}
<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">
<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>
@@ -88,7 +88,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td width="400%" height="26" colspan="2" class="bline">
<td width="100%" colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;自定义属性:</td>
@@ -118,7 +118,7 @@ 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>
@@ -128,7 +128,7 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td width="400%" height="26" colspan="2" class="bline">
<td width="100%" colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;Tag标签:</td>
@@ -140,7 +140,7 @@ 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>
@@ -159,7 +159,7 @@ 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>
@@ -177,7 +177,7 @@ 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>
@@ -189,7 +189,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 +201,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>
<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,7 +218,7 @@ 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>
@@ -228,7 +228,7 @@ 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>
@@ -238,13 +238,13 @@ table{border-collapse:separate}
</td>
</tr>
<tr>
<td width="400%" height="26" colspan="2" class="bline">
<td width="100%" colspan="2" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;附加选项:</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>
@@ -261,10 +261,10 @@ table{border-collapse:separate}
<!--高级参数-->
<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" >&nbsp;评论选项:</td>
<td width="260">
<label><input type="radio" name="notpost" class="np" value="0" <?php if($arcRow['notpost']==0) echo " checked='1' "; ?>> 允许评论</label>
<label><input type="radio" name="notpost" class="np" value="1" <?php if($arcRow['notpost']==1) echo " checked='1' "; ?>> 禁止评论</label>
@@ -279,7 +279,7 @@ 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>
@@ -307,13 +307,13 @@ 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="260">
<select name="arcrank" id="arcrank" style="width:160px">
<option value='<?php echo $arcRow["arcrank"]?>'> <?php echo $arcRow["rankname"]?> </option>
<option value="<?php echo $arcRow['arcrank']?>"><?php echo $arcRow["rankname"]?></option>
<?php
$urank = $cuserLogin->getUserRank();
$dsql->SetQuery("Select * from `#@__arcrank` where adminrank<='$urank'");


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

@@ -30,16 +30,16 @@
<div class="main">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td height="26" colspan="5" background="../static/web/img/tbg.gif">
<table width="96%" class="table table-borderless">
<td bgcolor="#f8f8f8" colspan="5">
<table width="98%" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">文档关键词维护</td>
<form name="form1" action="article_keywords_main.php">
<td width="70%" align="right">
<td width="30%">文档关键词维护</td>
<td width="70%" align="right">
<form name="form1" action="article_keywords_main.php">
<input type="text" name="keyword" placeholder="请输入搜索词" style="width:160px">&nbsp;
<button type="submit" name="sb" value="" class="btn btn-success btn-sm">保存</button>
</td>
</form>
</form>
</td>
</tr>
</table>
</td>
@@ -47,7 +47,7 @@
<form name="form2" action="article_keywords_main.php">
<input type="hidden" name="dopost" value="add">
<tr align="center">
<td width="100%" height="26" colspan="5">
<td width="100%" colspan="5">
<table cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="280" align="center"><input name="keyword" type="text" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
@@ -59,28 +59,28 @@
</td>
</tr>
</form>
<tr align="center" bgcolor="#F8FCF1" height="26">
<tr bgcolor="#F8FCF1" align="center">
<td width="8%">选择</td>
<td width="25%">关键词</td>
<td width="35%">链接网址</td>
<td width="10%">频率</td>
<td width="22%">管理</td>
</tr>
<form name='form3' action="article_keywords_main.php" method="post">
<input type='hidden' name='dopost' value='saveall'>
<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='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td height="26"><input name="aids[]" type="checkbox" value="{dede:field.aid/}" class="np" checked='1'></td>
<td><input type='hidden' value='{dede:field.keyword/}' name='keyword_{dede:field.aid/}'> {dede:field.keyword/}</td>
<td><input name="aids[]" type="checkbox" value="{dede:field.aid/}" class="np" checked='1'></td>
<td><input type="hidden" value="{dede:field.keyword/}" name="keyword_{dede:field.aid/}"> {dede:field.keyword/}</td>
<td>
<input type='hidden' value='{dede:field.rpurl/}' name='rpurlold_{dede:field.aid/}'>
<input type='text' style='width:90%' class='nnpp' value='{dede:field.rpurl/}' name='rpurl_{dede:field.aid/}'>
<input type="hidden" value="{dede:field.rpurl/}" name="rpurlold_{dede:field.aid/}">
<input type="text" style="width:90%" class="nnpp" value="{dede:field.rpurl/}" name="rpurl_{dede:field.aid/}">
</td>
<td><input type='text' size='6' class='nnpp' value='{dede:field.rank/}' name='rank_{dede:field.aid/}'></td>
<td><input type="text" size="6" class="nnpp" value="{dede:field.rank/}" name="rank_{dede:field.aid/}"></td>
<td>
<input type='hidden' name='staold_{dede:field.aid/}' value='{dede:field.sta/}'>
<label><input type='checkbox' name='isnouse_{dede:field.aid/}' class='np' value='1' {dede:field.sta function="GetSta(@me)"/}> 禁用 </label>
<label><input type='checkbox' name='isdel_{dede:field.aid/}' class='np' value='1'> 删除</label>
<input type="hidden" name="staold_{dede:field.aid/}" value="{dede:field.sta/}">
<label><input type="checkbox" name="isnouse_{dede:field.aid/}" class="np" value="1" {dede:field.sta function="GetSta(@me)"/}> 禁用</label>
<label><input type="checkbox" name="isdel_{dede:field.aid/}" class="np" value="1"> 删除</label>
</td>
</tr>
{/dede:datalist}


+ 3
- 3
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 height="26" align="center" colspan="2" style="border-top:0">
<td align="center" colspan="2" style="border-top:0">
<table cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="170"><input name="keyword" type="text" id="keyword" placeholder="请输入关键词" style="width:160px"></td>
@@ -61,7 +61,7 @@
</form>
<form name="form2">
<tr>
<td width="100%" height="26" colspan="2" background="../static/web/img/tbg.gif">
<td width="100%" bgcolor="#f8f8f8" colspan="2">
<table width="100%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%">选择关键词</td>
@@ -81,7 +81,7 @@
</td>
</tr>
<tr>
<td height="26" colspan="2">
<td colspan="2">
<table cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="270"><input name="keywords" type="text" id="keywords" value="<?php echo $keywords?>" placeholder="请输入关键词" style="width:260px"></td>


+ 10
- 11
src/admin/templets/article_result_same.htm View File

@@ -48,16 +48,16 @@
<body>
<table width="100%" cellpadding="2" cellspacing="1" class="table maintable">
<tr>
<td height="26" bgcolor="#f8f8f8" colspan="3">重复文档列表</td>
<td bgcolor="#f8f8f8" colspan="3">重复文档列表</td>
</tr>
<form name="form2" method="POST" action="article_test_same.php">
<input type='hidden' name='deltype' value='<?php echo $deltype; ?>'>
<input type='hidden' name='dopost' value='delsel'>
<input type='hidden' name='pagesize' value='<?php echo $pagesize; ?>'>
<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 height="26" bgcolor="#F8FCF1" align="center">
<input type="hidden" name="deltype" value="<?php echo $deltype; ?>">
<input type="hidden" name="dopost" value="delsel">
<input type="hidden" name="pagesize" value="<?php echo $pagesize; ?>">
<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="#F8FCF1" align="center">
<td width="10%">选择</td>
<td width="10%">重复数量</td>
<td width="80%">文档标题</td>
@@ -67,8 +67,7 @@
{
if($row['dd']==1 ) break;
?>
<tr height="26" align="center" onMouseMove="javascript:this.bgColor='#EFEFEF';"
onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onMouseMove="javascript:this.bgColor='#EFEFEF';" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input name="arcTitles" type="checkbox" id="arcTitle" value="<?php echo urlencode($row['title'])?>" class="np"></td>
<td>
<?php
@@ -82,7 +81,7 @@
}
?>
<tr>
<td height="26" colspan="3">
<td colspan="3">
<input type="button" name="bt1" onclick="selAll()" value="全选" class="btn btn-success btn-sm">
<input type="button" name="bt2" onclick="noSelAll()" value="反选" class="btn btn-success btn-sm">
<input type="button" name="bt3" onclick="delArc()" value="删除" class="btn btn-success btn-sm">


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

@@ -11,23 +11,23 @@
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form action="article_test_same.php" name="form1" target="stafrm">
<input type='hidden' name='dopost' value='analyse'>
<input type="hidden" name="dopost" value="analyse">
<tr>
<td height="26" background="../static/web/img/tbg.gif">
<td bgcolor="#f8f8f8">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">重复文档检测</td>
<td width="30%">重复文档检测</td>
<td width="70%" align="right"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" align="center">
<td align="center">
<table width="98%" align="center" cellpadding="0" cellspacing="0"
class="table table-borderless">
<tr>
<td width="20%" height="26" align="left">频道类型:</td>
<td width="20%" align="left">频道类型:</td>
<td align="left">
<select name="channelid" style="width:160px">
<?php
@@ -43,27 +43,27 @@
</td>
</tr>
<tr>
<td width="20%" height="26" align="left">删除选项:</td>
<td width="20%" align="left">删除选项:</td>
<td align="left">
<label><input name="deltype" type="radio" value="delnew" class='np' checked='1'> 保留最旧的一条 </label>
<label><input type="radio" name="deltype" value="delold" class='np'> 保留最新的一条</label>
</td>
</tr>
<tr>
<td height="26" align="left">每排列出记录:</td>
<td align="left">每排列出记录:</td>
<td align="left"><input name="pagesize" type="text" id="pagesize" value="100" style="width:160px"> 条</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" align="center">
<td bgcolor="#F8FCF1" align="center">
<button type="submit" name="Submit" class="btn btn-success btn-sm">分析标题重复的文档</button>
</td>
</tr>
</form>
<tr>
<td height="26">结果:</td>
<td>结果:</td>
</tr>
<tr>
<td id="mtd">


+ 17
- 23
src/admin/templets/cards_make.htm View File

@@ -9,15 +9,15 @@
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form action="cards_make.php" name="form1" target="stafrm">
<input type="hidden" name="dopost" value="make">
<tr>
<td height="26" background="../static/web/img/tbg.gif">
<td bgcolor="#f8f8f8">
<table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">点卡生成向导:</td>
<td align="right">
<td width="30%">点卡生成向导:</td>
<td width="70%" align="right">
<button type="button" name="ss1" onClick="location='cards_type.php';" class='btn btn-success btn-sm'>点卡产品分类</button>
<button type="button" name="ss2" onClick="location='cards_manage.php';" class='btn btn-success btn-sm'>点卡使用记录</button>
</td>
@@ -31,7 +31,7 @@
<tr>
<td width="90">点卡类型:</td>
<td>
<select name='cardtype' style='width:120px'>
<select name="cardtype" style="width:160px">
<?php
$dsql->SetQuery("Select * From #@__moneycard_type");
$dsql->Execute();
@@ -43,45 +43,39 @@
</select>
</td>
<td width="90">生成数量:</td>
<td>
<input name="mnum" type="text" id="mnum" style='width:120px' value="100" class='pubinputs'>
</td>
<td><input name="mnum" type="text" id="mnum" style="width:160px" value="100" class="pubinputs"></td>
</tr>
<tr>
<td>点卡前缀:</td>
<td>
<input name="snprefix" type="text" id="snprefix" style='width:120px' value="SN" class='pubinputs'>
</td>
<td><input name="snprefix" type="text" id="snprefix" style="width:160px" value="SN" class="pubinputs"></td>
<td>密码长度:</td>
<td><input name="pwdlen" type="text" id="pwdlen" style='width:120px' value="4" class='pubinputs'>
<td><input name="pwdlen" type="text" id="pwdlen" style="width:160px" value="4" class="pubinputs">
</td>
</tr>
<tr>
<td>密码类型:</td>
<td>
<label><input type="radio" name="ctype" value="1" class='np'>
纯数字</label>
<label><input name="ctype" type="radio" value="2" checked='1' class='np'>
大写字母</label></td>
<td>密码组数:</td>
<td><input name="pwdgr" type="text" id="pwdgr" style='width:120px' value="3" class='np'>
<label><input type="radio" name="ctype" value="1" class="np"> 纯数字</label>
<label><input name="ctype" type="radio" value="2" checked="1" class="np"> 大写字母</label>
</td>
<td>密码组数:</td>
<td><input name="pwdgr" type="text" id="pwdgr" style="width:160px" value="3" class="np"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" align="center">
<button type="submit" name="Submit" class='btn btn-success btn-sm'>开始生成点卡</button>
<td bgcolor="#F8FCF1" align="center">
<button type="submit" name="Submit" class="btn btn-success btn-sm">开始生成点卡</button>
</td>
</tr>
</form>
<tr>
<td height="26">
<td>
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;


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

@@ -41,17 +41,17 @@
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td height="26" colspan="7" background="../static/web/img/tbg.gif">
<td bgcolor="#f8f8f8" colspan="7">
<table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">点卡业务管理</td>
<td width="45%" align="right" style="padding-top:10px">
<td width="30%">点卡业务管理</td>
<td width="45%" align="right">
<button type="button" onClick="location='cards_manage.php?isexp=0';" class="btn btn-success btn-sm">未使用</button>
<button type="button" onClick="location='cards_manage.php?isexp=1';" class="btn btn-success btn-sm">已售出</button>
<button type="button" onClick="location='cards_manage.php?isexp=-1';" class="btn btn-success btn-sm">已使用</button>
<button type="button" onClick="location='cards_manage.php';" class="btn btn-success btn-sm">全部</button>
</td>
<td width="25%" align="right" style="padding-top:10px">
<td width="25%" align="right">
<button type="button" onClick="location='cards_make.php';" class="btn btn-success btn-sm">生成点卡</button>
<button type="button" onClick="location='cards_type.php';" class="btn btn-success btn-sm">点卡产品分类</button>
</td>
@@ -59,7 +59,7 @@
</table>
</td>
</tr>
<tr align="center" bgcolor="#F8FCF1">
<tr bgcolor="#F8FCF1" align="center">
<td width="8%">选择</td>
<td width="28%">卡号</td>
<td width="18%">点卡类型</td>
@@ -70,8 +70,8 @@
</tr>
<form name="form1">
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input type='checkbox' name='aids' value='{dede:field.aid/}' class='np'></td>
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input type="checkbox" name="aids" value="{dede:field.aid/}" class="np"></td>
<td>{dede:field.cardid/}</td>
<td><?php echo $TypeNames[$fields['ctid']]?></td>
<td>{dede:field.mtime function='GetDateMk(@me)'/}</td>
@@ -82,14 +82,14 @@
{/dede:datalist}
</form>
<tr>
<td height="26" colspan="7">&nbsp;
<td colspan="7">
<button type="button" onClick="ReSel();" class="btn btn-success btn-sm">反选</button>
<button type="button" onClick="DelSel();" class="btn btn-success btn-sm">删除</button>
     </td>
<button type="button" onClick="DelSel();" class="btn btn-danger btn-sm">删除</button>
</td>
</tr>
<tr>
<td height="36" colspan="7" align="center" bgcolor="#f8f8f8">
{dede:pagelist listitem="info,index,end,pre,next,pageno" listsize="5"/}
{dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='6'/}
</td>
</tr>
</table>


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

@@ -13,11 +13,11 @@
<form name="form1" action="cards_type.php" method="post">
<input type="hidden" name="dopost" value="save">
<tr>
<td height="26" colspan="4" background="../static/web/img/tbg.gif">点卡产品分类</td>
<td bgcolor="f8f8f8" colspan="4">点卡产品分类</td>
</tr>
<tr bgcolor="#F8FCF1">
<td width="30%" height="26" align="center">产品名称</td>
<td width="27%" align="center">点数(金币数)</td>
<td width="30%" align="center">产品名称</td>
<td width="27%" align="center">点数(金币数)</td>
<td width="30%" align="center">价格</td>
<td width="17%" align="center">状态</td>
</tr>
@@ -31,23 +31,23 @@
?>
<input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->tid?>">
<tr align="center">
<td height="26"><input name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" type="text" id="pname_<?php echo $k?>" class='pubinputs' style="width:90%"></td>
<td height="26"><input name="num_<?php echo $k?>" value="<?php echo $row->num?>" type="text" id="num_<?php echo $k?>" class='pubinputs' style="width:80%"></td>
<td><input name="money_<?php echo $k?>" value="<?php echo $row->money?>" type="text" id="money_<?php echo $k?>" class='pubinputs' style="width:80%">(元)</td>
<td><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked='1' class='np'> 保留</td>
<td><input name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" type="text" id="pname_<?php echo $k?>" class="pubinputs" style="width:90%"></td>
<td><input name="num_<?php echo $k?>" value="<?php echo $row->num?>" type="text" id="num_<?php echo $k?>" class="pubinputs" style="width:80%"></td>
<td><input name="money_<?php echo $k?>" value="<?php echo $row->money?>" type="text" id="money_<?php echo $k?>" class="pubinputs" style="width:80%">(元)</td>
<td><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked="1" class="np"> 保留</td>
</tr>
<?php
}
?>
<input type="hidden" name="idend" value="<?php echo $k?>">
<tr bgcolor="#F8FCF1">
<td height="26" colspan="4" bgcolor="#f8f8f8" style="padding-left:10px">新增一个点卡产品类型:</td>
<td colspan="4" bgcolor="#f8f8f8">新增一个点卡产品类型:</td>
</tr>
<tr height="26" align="center">
<td><input name="pname_new" type="text" id="pname_new" class='pubinputs' style="width:90%"></td>
<td><input name="num_new" value="100" type="text" id="num_new" class='pubinputs' style="width:80%"></td>
<td><input name="money_new" type="text" id="money_new" class='pubinputs' style='width:80%' value="30">(元)</td>
<td align="center"><input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np'> 新增</td>
<tr align="center">
<td><input name="pname_new" type="text" id="pname_new" class="pubinputs" style="width:90%"></td>
<td><input name="num_new" value="100" type="text" id="num_new" class="pubinputs" style="width:80%"></td>
<td><input name="money_new" type="text" id="money_new" class="pubinputs" style="width:80%" value="30">(元)</td>
<td align="center"><input name="check_new" type="checkbox" id="check_new" value="1" checked="1" class="np"> 新增</td>
</tr>
<tr>
<td colspan="4" align="center" bgcolor="#f8f8f8" class="py-3"><button type="submit" class="btn btn-success btn-sm">保存</button></td>


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

@@ -113,10 +113,10 @@
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
<td width="100%" height="26">
<td width="100%">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height="26"><i class="fa fa-book"></i> <a href="catalog_main.php">栏目管理</a> &gt; 增加栏目</td>
<td><i class="fa fa-book"></i> <a href="catalog_main.php">栏目管理</a> &gt; 增加栏目</td>
</tr>
</table>
</td>
@@ -130,7 +130,7 @@
<form name="form1" action="catalog_add.php" method="post" onSubmit="return checkSubmit()">
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="reid" id="reid" value="<?php echo $id; ?>">
<input type='hidden' name='topid' id='topid' value='<?php echo $topid; ?>'>
<input type="hidden" name="topid" id="topid" value="<?php echo $topid; ?>">
<?php
if($id>0)
{
@@ -145,7 +145,7 @@
<td colspan="2" bgcolor="#fff" align="left">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规选项</td>
<td width="86" height="28" 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>
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
</tr>
@@ -156,10 +156,10 @@
<table width="100%" cellspacing="0" id="head2" cellpadding="0" style="display:none">
<tr>
<td colspan="2" bgcolor="#fff" style="text-align:left">
<table height="26" cellpadding="0" cellspacing="0">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="86" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="86" align="center" background="../static/web/img/itemnote1.gif">高级选项</td>
<td width="86" height="28" align="center" background="../static/web/img/itemnote1.gif">高级选项</td>
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
</tr>
</table>
@@ -169,11 +169,11 @@
<table width="100%" cellspacing="0" id="head3" cellpadding="0" style="display:none">
<tr>
<td colspan="2" bgcolor="#fff" style="text-align:left">
<table height="26" cellpadding="0" cellspacing="0">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="86" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级选项</td>
<td width="86" align="center" background="../static/web/img/itemnote1.gif">栏目内容</td>
<td width="86" height="28" align="center" background="../static/web/img/itemnote1.gif">栏目内容</td>
</tr>
</table>
</td>
@@ -181,21 +181,21 @@
</table>
<table width="100%" id="needset" cellspacing="0" cellpadding="0" style="border:1px solid #dee2e6" class="table">
<tr>
<td width="260" class="bline" height="26" style="padding-left:10px">是否支持投稿:</td>
<td width="260" class="bline" style="padding-left:10px">是否支持投稿:</td>
<td class="bline">
<label><input type='radio' name='issend' value='0' class='np' <?php if($issend==0) echo " checked='checked' "; ?>>&nbsp;不支持&nbsp;</label>
<label><input type='radio' name='issend' value='1' class='np' <?php if($issend==1) echo " checked='checked' "; ?>>&nbsp;支持</label>
<label><input type="radio" name="issend" value="0" class="np" <?php if($issend==0) echo " checked='checked' "; ?>> 不支持</label>
<label><input type="radio" name="issend" value="1" class="np" <?php if($issend==1) echo " checked='checked' "; ?>> 支持</label>
</td>
</tr>
<tr>
<td width="260" class="bline" height="26" style="padding-left:10px">是否隐藏栏目:</td>
<td width="260" class="bline" style="padding-left:10px">是否隐藏栏目:</td>
<td class="bline">
<label><input type='radio' name='ishidden' value='0' class='np' checked="checked">&nbsp;显示&nbsp;</label>
<label><input type='radio' name='ishidden' value='1' class='np'>&nbsp;隐藏</label>
<label><input type="radio" name="ishidden" value="0" class="np" checked="checked"> 显示</label>
<label><input type="radio" name="ishidden" value="1" class="np"> 隐藏</label>
</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">内容模型:</td>
<td class="bline" style="padding-left:10px">内容模型:</td>
<td class="bline">
<select name="channeltype" id="channeltype" style="width:160px" onChange="ParTemplet(this)">
<?php
@@ -213,41 +213,41 @@
</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">中文名称:</td>
<td class="bline" style="padding-left:10px">中文名称:</td>
<td class="bline"><input name="typename" type="text" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">中文概述:</td>
<td class="bline" style="padding-left:10px">中文概述:</td>
<td class="bline"><input name="cnoverview" type="text" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">英文名称:</td>
<td class="bline" style="padding-left:10px">英文名称:</td>
<td class="bline"><input name="enname" type="text" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">英文概述:</td>
<td class="bline" style="padding-left:10px">英文概述:</td>
<td class="bline"><input name="enoverview" type="text" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">栏目大图:</td>
<td class="bline" style="padding-left:10px">栏目大图:</td>
<td>
<input name="bigpic" type="text" class="alltxt" style="width:260px">
<input name="bigpic" type="text" style="width:260px">
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.bigpic');">
</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">栏目小图:</td>
<td class="bline" style="padding-left:10px">栏目小图:</td>
<td>
<input name="litimg" type="text" class="alltxt" style="width:260px">
<input name="litimg" type="text" style="width:260px">
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litimg');">
</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">排列顺序:</td>
<td class="bline" style="padding-left:10px">排列顺序:</td>
<td class="bline"><input name="sortrank" type="text" class="pubinputs" style="width:60px">(由低 &gt; 高)</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">浏览权限:</td>
<td class="bline" style="padding-left:10px">浏览权限:</td>
<td class="bline">
<select name="corank" id="corank" style="width:160px">
<?php
@@ -267,7 +267,7 @@
</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">上级目录:</td>
<td class="bline" style="padding-left:10px">上级目录:</td>
<td class="bline">
<?php
$pardir = '{cmspath}'.$cfg_arcdir;
@@ -279,7 +279,7 @@
</td>
</tr>
<tr>
<td height="26" style="padding-left:10px">文件保存目录:</td>
<td style="padding-left:10px">文件保存目录:</td>
<td style="padding:0">
<table cellspacing="1" cellpadding="1" class="table-borderless">
<tr >
@@ -290,7 +290,7 @@
</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">目录相对位置:</td>
<td class="bline" style="padding-left:10px">目录相对位置:</td>
<td class="bline">
<input name="referpath" type="radio" id="truepath1" class="np" value="parent" checked="chekced">
<label for="truepath1">上级目录</label>
@@ -305,32 +305,32 @@
</td>
</tr>
<tr>
<td height="26" style="padding-left:10px">栏目列表选项:</td>
<td style="padding-left:10px">栏目列表选项:</td>
<td>
<input type='radio' name='isdefault' id="isdefault1" value='1' class='np' checked="checked">
<input type="radio" name="isdefault" id="isdefault1" value="1" class="np" checked="checked">
<label for="isdefault1">链接到默认页</label>
<input type='radio' name='isdefault' id="isdefault0" value='0' class='np'>
<input type="radio" name="isdefault" id="isdefault0" value="0" class="np">
<label for="isdefault0">链接到列表第一页</label>
<input type='radio' name='isdefault' id="isdefault-1" value='-1' class='np'>
<input type="radio" name="isdefault" id="isdefault-1" value="-1" class="np">
<label for="isdefault-1">使用动态页</label>
</td>
</tr>
<tr>
<td height="26" class="bline" style="padding-left:10px">默认页的名称:</td>
<td class="bline" style="padding-left:10px">默认页的名称:</td>
<td class="bline"><input name="defaultname" type="text" value="index.html" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td height="26" class="bline" style="padding-left:10px">栏目属性:</td>
<td class="bline" style="padding-left:10px">栏目属性:</td>
<td class="bline">
<input name="ispart" type="radio" id="ispart0" value="0" class='np' checked="checked">
<input name="ispart" type="radio" id="ispart0" value="0" class="np" checked="checked">
<label for="ispart0">最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label><br>
<input name="ispart" type="radio" id="ispart1" value="1" class='np'>
<input name="ispart" type="radio" id="ispart1" value="1" class="np">
<label for="ispart1">频道封面(栏目本身不允许发布文档)</label> <br>
<input name="ispart" type="radio" id="ispart2" value="2" class='np'>
<input name="ispart" type="radio" id="ispart2" value="2" class="np">
<label for="ispart2">外部连接(在"文件保存目录"处填写网址)</label>
</td>
</tr>
<tr id='helpvarco' style='display:none'>
<tr id="helpvarco" style="display:none">
<td height="80" bgcolor="#f8f8f8" style="padding-left:10px">栏目交叉说明:</td>
<td bgcolor="#f8f8f8">交叉栏目是指一个大栏目与另一个非下级的子栏目出现交叉的情况,相当于系统原来的副栏目功能,不过现在改在栏目里预先设置好<br>例如:网站上有大栏目——智能手机、音乐手机,另外又有栏目——诺基亚&gt;智能手机、诺基亚&gt;音乐手机,这样顶级的大栏目就和另一个大栏目的子栏目形成了交叉,这样只需要在大栏目中指定交叉的栏目即可<br>注:会自动索引交叉栏目的内容,但不会索引交叉栏目下级栏目的内容,这种应用也适用于按地区划分资讯的站点
</td>
@@ -345,10 +345,10 @@
<input name="cross" type="radio" id="cross2" value="2" class='np' onClick="CheckCross()">
<label for="cross2">手工指定交叉栏目ID(用逗号分开)</label>
<br>
<textarea name="crossid" id="crossid" class="alltxt" style="display:none"></textarea>
<textarea name="crossid" id="crossid" style="display:none"></textarea>
</td>
</tr>
<tr id='smclass' style='<?php echo ($channelid<0 ? '' : 'display:none'); ?>'>
<tr id="smclass" style="<?php echo ($channelid<0 ? '' : 'display:none'); ?>">
<td class="bline" style="padding-left:10px">绑定小分类:<br>仅适用[分类信息模型]</td>
<td class="bline">
<select name="smalltype[]" multiple="yes" style="width:160px;height:100px">
@@ -378,29 +378,29 @@
{
?>
<tr>
<td class="bline" width="260" height="26" style="padding-left:10px">多站点支持:</td>
<td class="bline" width="260" style="padding-left:10px">多站点支持:</td>
<td class="bline">
<label><input name="moresite" type="radio" class="np" value="0" checked="checked">&nbsp;不启用&nbsp;</label>
<label><input type="radio" name="moresite" class="np" value="1">&nbsp;启用</label>
</td>
</tr>
<tr>
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">说明:</td>
<td bgcolor="#f8f8f8" style="padding-left:10px">说明:</td>
<td bgcolor="#f8f8f8">如果需要绑定二级域名,必须在“系统参数”中设定“支持多站点”</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">绑定域名:</td>
<td class="bline"><input name="siteurl" type="text" id="siteurl" onChange="CheckPathSet();" class="alltxt" style="width:260px">(需加 http://,一级或二级域名的根网址)</td>
<td class="bline" style="padding-left:10px">绑定域名:</td>
<td class="bline"><input name="siteurl" type="text" id="siteurl" onChange="CheckPathSet();" style="width:260px">(需加 http://,一级或二级域名的根网址)</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">站点根目录:</td>
<td class="bline" style="padding-left:10px">站点根目录:</td>
<td class="bline">为简化操作,站点根目录与当前栏目目录一致,请注意当前栏目文件保存目录的设置,域名需自行手工绑定到这个目录</td>
</tr>
<?php
}
?>
<tr id='helpvar1' style='display:none'>
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
<tr id="helpvar1" style="display:none">
<td bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
<td bgcolor="#f8f8f8">
{tid}表示栏目ID,<br>
{cid}表示频道模型的'名字ID'(
@@ -411,38 +411,38 @@
}
?>)<br>
模板文件的默认位置是放在模板目录 "cms安装目录<?php echo $cfg_templets_dir ?>" 内
<input type='hidden' value='{style}' name='dfstyle' class="pubinputs">
<input type="hidden" value="{style}" name="dfstyle" class="pubinputs">
</td>
</tr>
<tr>
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">规则选项:</td>
<td bgcolor="#f8f8f8" style="padding-left:10px">规则选项:</td>
<td bgcolor="#f8f8f8">按不同的内容类型设定相关模板及命名规则</td>
</tr>
<tr>
<td height="26" style="padding-left:10px">封面模板:</td>
<td style="padding-left:10px">封面模板:</td>
<td>
<input name="tempindex" type="text" value="{style}/index_<?php echo $nid?>.htm" class="alltxt" style="width:260px">
<input name="tempindex" type="text" value="{style}/index_<?php echo $nid?>.htm" style="width:260px">
<button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览</button>
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar1')" style="cursor:pointer"></i>
</td>
</tr>
<tr>
<td height="26" style="padding-left:10px">列表模板:</td>
<td style="padding-left:10px">列表模板:</td>
<td>
<input name="templist" type="text" value="{style}/list_<?php echo $nid?>.htm" class="alltxt" style="width:260px">
<input name="templist" type="text" value="{style}/list_<?php echo $nid?>.htm" style="width:260px">
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templist')">浏览</button>
</td>
</tr>
<tr>
<td height="26" style="padding-left:10px">文章模板:</td>
<td style="padding-left:10px">文章模板:</td>
<td>
<input name="temparticle" type="text" value="{style}/article_<?php echo $nid?>.htm" class="alltxt" style="width:260px">
<input name="temparticle" type="text" value="{style}/article_<?php echo $nid?>.htm" style="width:260px">
<button type="button" name="set4" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.temparticle')">浏览</button>
</td>
</tr>
<tr id='helpvar2' style='display:none'>
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
<td height="26" bgcolor="#f8f8f8">
<tr id="helpvar2" style="display:none">
<td bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
<td bgcolor="#f8f8f8">
{Y}、{M}、{D} 年月日<br>
{timestamp} INT类型的UNIX时间戳<br>
{aid} 文章ID<br>
@@ -453,39 +453,39 @@
</td>
</tr>
<tr>
<td height="26" style="padding-left:10px">文章命名规则:</td>
<td style="padding-left:10px">文章命名规则:</td>
<td>
<input name="namerule" type="text" id="namerule" value="<?php echo $cfg_df_namerule; ?>" class="alltxt" style="width:260px">
<input name="namerule" type="text" id="namerule" value="<?php echo $cfg_df_namerule; ?>" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar2')" style="cursor:pointer"></i>
</td>
</tr>
<tr id='helpvar3' style='display:none'>
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
<tr id="helpvar3" style="display:none">
<td bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
<td bgcolor="#f8f8f8">{page} 列表的页码</td>
</tr>
<tr>
<td height="26" style="padding-left:10px">列表命名规则:</td>
<td style="padding-left:10px">列表命名规则:</td>
<td>
<input name="namerule2" type="text" id="namerule2" value="{typedir}/{tid}-{page}.html" class="alltxt" style="width:260px">
<input name="namerule2" type="text" id="namerule2" value="{typedir}/{tid}-{page}.html" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar3')" style="cursor:pointer"></i>
</td>
</tr>
<tr>
<td height="60" style="padding-left:10px">SEO标题:</td>
<td><input name="seotitle" type="text" id="seotitle" class="alltxt" style="width:260px">(栏目模板里用{dede:field.seotitle /}调用)</td>
<td><input name="seotitle" type="text" id="seotitle" style="width:260px">(栏目模板里用{dede:field.seotitle /}调用)</td>
</tr>
<tr>
<td height="60" style="padding-left:10px">关键词:</td>
<td><textarea name="keywords" id="keywords" class="alltxt" style="width:360px;height:50px"></textarea></td>
<td><textarea name="keywords" id="keywords" style="width:360px;height:50px"></textarea></td>
</tr>
<tr>
<td height="60" style="padding-left:10px">栏目描述:</td>
<td height="60"><textarea name="description" id="description" class="alltxt" style="width:360px;height:50px"></textarea></td>
<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">
<tr>
<td height="26" style="padding-left:10px">说明:栏目内容是替代原来栏目单独页的更灵活的一种方式,可在栏目模板中用{dede:field.content/}调用,通常用于企业简介之类的用途</td>
<td style="padding-left:10px">说明:栏目内容是替代原来栏目单独页的更灵活的一种方式,可在栏目模板中用{dede:field.content/}调用,通常用于企业简介之类的用途</td>
</tr>
<tr>
<td>


+ 34
- 40
src/admin/templets/catalog_add_quick.htm View File

@@ -84,10 +84,10 @@
<input type="hidden" name="savetype" value="" id="savetype">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
<td width="100%" height="26">
<td width="100%">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height="26"><i class="fa fa-book"></i> <a href="catalog_main.php">栏目管理</a> &gt; 批量增加栏目</td>
<td><i class="fa fa-book"></i> <a href="catalog_main.php">栏目管理</a> &gt; 批量增加栏目</td>
</tr>
</table>
</td>
@@ -107,7 +107,7 @@
<td colspan="2">
<table width="86" cellpadding="0" cellspacing="0">
<tr>
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规选项</td>
<td width="86" height="28" align="center" background="../static/web/img/itemnote1.gif">常规选项</td>
</tr>
</table>
</td>
@@ -115,23 +115,20 @@
</table>
<table width="100%" id="needset" cellspacing="0" cellpadding="0" style="border:1px solid #dee2e6" class="table">
<tr>
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">公用参数:</td>
<td bgcolor="#f8f8f8" style="padding-left:10px">公用参数:</td>
<td bgcolor="#f8f8f8"></td>
</tr>
<tr>
<td width="260" class="bline" height="26" style="padding-left:10px">是否支持投稿:</td>
<td width="260" class="bline" style="padding-left:10px">是否支持投稿:</td>
<td class="bline">
<label><input type='radio' name='issend' value='0' class='np' />
不支持</label>
&nbsp;
<label><input type='radio' name='issend' value='1' class='np' checked='1' />
支持</label>
<label><input type="radio" name="issend" value="0" class="np"> 不支持</label>
<label><input type="radio" name="issend" value="1" class="np" checked="1"> 支持</label>
</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">目录保存位置:</td>
<td class="bline" style="padding-left:10px">目录保存位置:</td>
<td class="bline">
<input name="referpath" type="radio" id="truepath1" class="np" value="parent" checked='1' />
<input name="referpath" type="radio" id="truepath1" class="np" value="parent" checked="1">
<label for="truepath1">默认HMTL目录(
<?php
$pardir = '{cmspath}'.$cfg_arcdir;
@@ -146,16 +143,16 @@
</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">隶属栏目:</td>
<td class="bline" style="padding-left:10px">隶属栏目:</td>
<td class="bline">
<select name='reid' onchange="showSeltype(this)" style="width:160px">
<option value='0'>选择所属目录</option>
<select name="reid" onchange="showSeltype(this)" style="width:160px">
<option value="0">选择所属目录</option>
<?php echo $typeOptions; ?>
</select>(默认为顶级栏目)
</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">内容模型:</td>
<td class="bline" style="padding-left:10px">内容模型:</td>
<td class="bline"><select name="channeltype" id="channeltype" onChange="ParTemplet(this)" style="width:160px">
<?php
foreach($channelArray as $k=>$arr)
@@ -168,23 +165,20 @@
</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">栏目列表选项:</td>
<td class="bline" style="padding-left:10px">栏目列表选项:</td>
<td class="bline">
<label><input type='radio' name='isdefault' value='1' class='np' checked='1' />
链接到默认页</label>
<label><input type='radio' name='isdefault' value='0' class='np' />
链接到列表第一页</label>
<label><input type='radio' name='isdefault' value='-1' class='np' />
使用动态页</label>
<label><input type="radio" name="isdefault" value="1" class="np" checked="1"> 链接到默认页</label>
<label><input type="radio" name="isdefault" value="0" class="np"> 链接到列表第一页</label>
<label><input type="radio" name="isdefault" value="-1" class="np"> 使用动态页</label>
</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">默认页的名称:</td>
<td class="bline" style="padding-left:10px">默认页的名称:</td>
<td class="bline"><input name="defaultname" type="text" value="index.html" class="pubinputs" style="width:260px"></td>
</tr>
<tr id='helpvar2' style='display:none'>
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
<td height="26" bgcolor="#f8f8f8"> {Y}、{M}、{D} 年月日<br>
<tr id="helpvar2" style="display:none">
<td bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
<td bgcolor="#f8f8f8"> {Y}、{M}、{D} 年月日<br>
{timestamp} INT类型的UNIX时间戳<br>
{aid} 文章ID<br>
{pinyin} 拼音+文章ID<br>
@@ -194,48 +188,48 @@
</td>
</tr>
<tr>
<td height="26" class="bline" style="padding-left:10px">文章命名规则:</td>
<td class="bline" style="padding-left:10px">文章命名规则:</td>
<td class="bline">
<input name="namerule" type="text" id="namerule" value="{typedir}/{aid}.html" class="pubinputs" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar2')" style="cursor:pointer"></i>
</td>
</tr>
<tr id='helpvar3' style='display:none'>
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
<tr id="helpvar3" style="display:none">
<td bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
<td bgcolor="#f8f8f8">{page} 列表的页码</td>
</tr>
<tr>
<td height="26" style="padding-left:10px">列表命名规则:</td>
<td style="padding-left:10px">列表命名规则:</td>
<td>
<input name="namerule2" type="text" id="namerule2" value="{typedir}/{tid}-{page}.html" class="pubinputs" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar3')" style="cursor:pointer"></i>
</td>
</tr>
<tr>
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">栏目填写:</td>
<td bgcolor="#f8f8f8" style="padding-left:10px">栏目填写:</td>
<td bgcolor="#f8f8f8"></td>
</tr>
<tr>
<td colspan='2'>
<td colspan="2">
<table id="addQuick" width="850" cellpadding="3" cellspacing="1">
<tbody>
<tr bgcolor="#F8FCF1">
<td width="60" height="26">排序</td>
<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>
</tr>
<tr height="26" align="center">
<tr align="center">
<td class="rank">
<input type="hidden" name="posttype" value="" class="pubinputs">
<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 align="center"><input type="text" name="toptype" id="toptype" class="pubinputs" style="width:160px"></td>
<td><input type="text" name="sontype" id="sontype" class="pubinputs" style="width:360px"></td>
<td align="center"><button name="" type="button" id="add" class="btn btn-success btn-sm del">删除</button></td>
</tr>
<?php for($i=2;$i<=10;$i++) { ?>
<tr height="26" class="repeat" align="center">
<tr class="repeat" align="center">
<td class="rank">
<input type="hidden" name="posttype<?php echo $i; ?>" value="<?php echo $i; ?>">
<input type="text" name="rank<?php echo $i; ?>" id="rank<?php echo $i; ?>" value="<?php echo $i; ?>" class="pubinputs" style="width:60px">
@@ -250,11 +244,11 @@
<table id="addQuickRel" width="302" cellpadding="3" cellspacing="1" style="display:none">
<tbody>
<tr bgcolor="#F8FCF1" align="center">
<td width="60" height="26">排序</td>
<td width="60" >排序</td>
<td width="170">栏目名称</td>
<td align="center"><button type="button" id="addrel" class="btn btn-success btn-sm">添加</button></td>
</tr>
<tr height="26" align="center">
<tr align="center">
<td class="rank">
<input type="hidden" name="posttype" value="" class="pubinputs">
<input type="text" name="rank" id="rank" value="1" class="pubinputs" style="width:60px">
@@ -263,7 +257,7 @@
<td align="center"><button name="" type="button" id="add" class="btn btn-success btn-sm del">删除</button></td>
</tr>
<?php for($i=2;$i<=10;$i++) { ?>
<tr height="26" class="repeat" align="center">
<tr class="repeat" align="center">
<td class="rank">
<input type="hidden" name="posttype<?php echo $i; ?>" value="<?php echo $i; ?>">
<input type="text" name="rank<?php echo $i; ?>" id="rank<?php echo $i; ?>" value="<?php echo $i; ?>" class="pubinputs" style="width:60px">


+ 63
- 67
src/admin/templets/catalog_edit.htm View File

@@ -102,10 +102,10 @@
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
<td width="100%" height="26">
<td width="100%">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height="26"><i class="fa fa-book"></i> <a href="catalog_main.php">栏目管理</a> &gt; 修改栏目</td>
<td><i class="fa fa-book"></i> <a href="catalog_main.php">栏目管理</a> &gt; 修改栏目</td>
</tr>
</table>
</td>
@@ -126,7 +126,7 @@
<td colspan="2" bgcolor="#fff" align="left">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规选项</td>
<td width="86" height="28" 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>
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
</tr>
@@ -137,10 +137,10 @@
<table width="100%" cellspacing="0" id="head2" cellpadding="0" style="display:none">
<tr>
<td colspan="2" bgcolor="#fff" style="text-align:left">
<table height="26" cellpadding="0" cellspacing="0">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="86" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="86" align="center" background="../static/web/img/itemnote1.gif">高级选项</td>
<td width="86" height="28" align="center" background="../static/web/img/itemnote1.gif">高级选项</td>
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td>
</tr>
</table>
@@ -150,11 +150,11 @@
<table width="100%" cellspacing="0" id="head3" cellpadding="0" style="display:none">
<tr>
<td colspan="2" bgcolor="#fff" style="text-align:left">
<table height="26" cellpadding="0" cellspacing="0">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="86" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td>
<td width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级选项</td>
<td width="86" align="center" background="../static/web/img/itemnote1.gif">栏目内容</td>
<td width="86" height="28" align="center" background="../static/web/img/itemnote1.gif">栏目内容</td>
</tr>
</table>
</td>
@@ -162,21 +162,21 @@
</table>
<table width="100%" id="needset" cellspacing="0" cellpadding="0" style="border:1px solid #dee2e6" class="table">
<tr>
<td width="260" class="bline" height="26" style="padding-left:10px">是否支持投稿:</td>
<td width="260" class="bline" style="padding-left:10px">是否支持投稿:</td>
<td class="bline">
<label><input type='radio' name='issend' value='0' class='np' <?php if($myrow['issend']=="0") echo " checked='1' "; ?>>&nbsp;不支持&nbsp;</label>
<label><input type='radio' name='issend' value='1' class='np' <?php if($myrow['issend']=="1") echo " checked='1' "; ?>>&nbsp;支持</label>
<label><input type="radio" name="issend" value="0" class="np" <?php if($myrow['issend']=="0") echo " checked='1' "; ?>> 不支持</label>
<label><input type="radio" name="issend" value="1" class="np" <?php if($myrow['issend']=="1") echo " checked='1' "; ?>> 支持</label>
</td>
</tr>
<tr>
<td width="260" class="bline" height="26" style="padding-left:10px">是否隐藏栏目:</td>
<td width="260" class="bline" style="padding-left:10px">是否隐藏栏目:</td>
<td class="bline">
<label><input type='radio' name='ishidden' value='0' class='np' <?php if($myrow['ishidden']=="0") echo " checked='1' "; ?>>&nbsp;显示&nbsp;</label>
<label><input type='radio' name='ishidden' value='1' class='np' <?php if($myrow['ishidden']=="1") echo " checked='1' "; ?>>&nbsp;隐藏</label>
<label><input type="radio" name="ishidden" value="0" class="np" <?php if($myrow['ishidden']=="0") echo " checked='1' "; ?>> 显示</label>
<label><input type="radio" name="ishidden" value="1" class="np" <?php if($myrow['ishidden']=="1") echo " checked='1' "; ?>> 隐藏</label>
</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">内容模型:</td>
<td class="bline" style="padding-left:10px">内容模型:</td>
<td class="bline">
<select name="channeltype" id="channeltype" style="width:260px" onChange="ParTemplet(this)">
<?php
@@ -190,41 +190,41 @@
</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">中文名称:</td>
<td class="bline" style="padding-left:10px">中文名称:</td>
<td class="bline"><input name="typename" type="text" value="<?php echo $myrow['typename']?>" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">中文概述:</td>
<td class="bline" style="padding-left:10px">中文概述:</td>
<td class="bline"><input name="cnoverview" type="text" value="<?php echo $myrow['cnoverview']?>" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">英文名称:</td>
<td class="bline" style="padding-left:10px">英文名称:</td>
<td class="bline"><input name="enname" type="text" value="<?php echo $myrow['enname']?>" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">英文概述:</td>
<td class="bline" style="padding-left:10px">英文概述:</td>
<td class="bline"><input name="enoverview" type="text" value="<?php echo $myrow['enoverview']?>" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">栏目大图:</td>
<td class="bline" style="padding-left:10px">栏目大图:</td>
<td>
<input name="bigpic" type="text" class="alltxt" value="<?php echo $myrow['bigpic']?>" style="width:260px">
<input name="bigpic" type="text" value="<?php echo $myrow['bigpic']?>" style="width:260px">
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.bigpic');">
</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">栏目小图:</td>
<td class="bline" style="padding-left:10px">栏目小图:</td>
<td>
<input name="litimg" type="text" class="alltxt" value="<?php echo $myrow['litimg']?>" style="width:260px">
<input name="litimg" type="text" value="<?php echo $myrow['litimg']?>" style="width:260px">
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litimg');">
</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">排列顺序:</td>
<td class="bline" style="padding-left:10px">排列顺序:</td>
<td class="bline"><input name="sortrank" type="text" value="<?php echo $myrow['sortrank']?>" class="iptxt" style="width:60px">(由低 &gt; 高)</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">浏览权限:</td>
<td class="bline" style="padding-left:10px">浏览权限:</td>
<td class="bline">
<select name="corank" id="corank" style="width:160px">
<?php
@@ -243,30 +243,30 @@
</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">文件保存目录:</td>
<td class="bline" style="padding-left:10px">文件保存目录:</td>
<td class="bline"><input name="typedir" type="text" id="typedir" value="<?php echo $myrow['typedir']?>" class="iptxt" style="width:260px">(标签“{cmspath}”必填,请勿删除)</td>
</tr>
<tr>
<td height="26" style="padding-left:10px">栏目列表选项:</td>
<td style="padding-left:10px">栏目列表选项:</td>
<td>
<label><input type='radio' name='isdefault' value='1' class='np' <?php if($myrow['isdefault']==1) echo " checked='1' "; ?>>&nbsp;链接到默认页</label>
<label><input type='radio' name='isdefault' value='0' class='np' <?php if($myrow['isdefault']==0) echo " checked='1' "; ?>>&nbsp;链接到列表第一页</label>
<label><input type='radio' name='isdefault' value='-1' class='np' <?php if($myrow['isdefault']==-1) echo " checked='1' "; ?>>&nbsp;使用动态页</label>
<label><input type="radio" name="isdefault" value="1" class="np" <?php if($myrow['isdefault']==1) echo " checked='1' "; ?>> 链接到默认页</label>
<label><input type="radio" name="isdefault" value="0" class="np" <?php if($myrow['isdefault']==0) echo " checked='1' "; ?>> 链接到列表第一页</label>
<label><input type="radio" name="isdefault" value="-1" class="np" <?php if($myrow['isdefault']==-1) echo " checked='1' "; ?>> 使用动态页</label>
</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">默认页的名称:</td>
<td class="bline" style="padding-left:10px">默认页的名称:</td>
<td class="bline"><input name="defaultname" type="text" value="<?php echo $myrow['defaultname']?>" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td height="26" class="bline" style="padding-left:10px">栏目属性:</td>
<td class="bline" style="padding-left:10px">栏目属性:</td>
<td class="bline">
<label><input name="ispart" type="radio" id="radio" value="0" class='np' <?php if($myrow['ispart']==0) echo " checked='1' "; ?>>&nbsp;最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label><br>
<label><input name="ispart" type="radio" id="radio2" value="1" class='np' <?php if($myrow['ispart']==1) echo " checked='1' "; ?>>&nbsp;频道封面(栏目本身不允许发布文档)</label><br>
<label><input name="ispart" type="radio" id="radio3" value="2" class='np' <?php if($myrow['ispart']==2) echo " checked='1' "; ?>>&nbsp;外部连接(在"文件保存目录"处填写网址)</label>
<label><input name="ispart" type="radio" id="radio" value="0" class='np' <?php if($myrow['ispart']==0) echo " checked='1' "; ?>> 最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label><br>
<label><input name="ispart" type="radio" id="radio2" value="1" class='np' <?php if($myrow['ispart']==1) echo " checked='1' "; ?>> 频道封面(栏目本身不允许发布文档)</label><br>
<label><input name="ispart" type="radio" id="radio3" value="2" class='np' <?php if($myrow['ispart']==2) echo " checked='1' "; ?>> 外部连接(在"文件保存目录"处填写网址)</label>
</td>
</tr>
<tr id='helpvarco' style='display:none'>
<tr id="helpvarco" style="display:none">
<td height="80" bgcolor="#f8f8f8" style="padding-left:10px">栏目交叉说明:</td>
<td bgcolor="#f8f8f8">交叉栏目是指一个大栏目与另一个非下级的子栏目出现交叉的情况,相当于系统原来的副栏目功能,不过现在改在栏目里预先设置好<br>例如:网站上有大栏目——智能手机、音乐手机,另外又有栏目——诺基亚&gt;智能手机、诺基亚&gt;音乐手机,这样顶级的大栏目就和另一个大栏目的子栏目形成了交叉,这样只需要在大栏目中指定交叉的栏目即可<br>注:会自动索引交叉栏目的内容,但不会索引交叉栏目下级栏目的内容,这种应用也适用于按地区划分资讯的站点
</td>
@@ -274,14 +274,14 @@
<tr>
<td style="padding-left:10px">栏目交叉:<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvarco')" style="cursor:pointer"></i> 仅适用[最终列表栏目]</td>
<td class="bline">
<label><input name="cross" type="radio" id="cross0" onClick="CheckCross()" value="0" class='np' <?php if($myrow['cross']==0) echo " checked='1' "; ?>>&nbsp;不交叉</label>
<label><input name="cross" type="radio" id="cross1" onClick="CheckCross()" value="1" class='np' <?php if($myrow['cross']==1) echo " checked='1' "; ?>>&nbsp;自动获取同名栏目内容</label>
<label><input name="cross" type="radio" id="cross2" onClick="CheckCross()" value="2" class='np' <?php if($myrow['cross']==2) echo " checked='1' "; ?>>&nbsp;手工指定交叉栏目ID(用逗号分开)</label>
<label><input name="cross" type="radio" id="cross0" onClick="CheckCross()" value="0" class='np' <?php if($myrow['cross']==0) echo " checked='1' "; ?>> 不交叉</label>
<label><input name="cross" type="radio" id="cross1" onClick="CheckCross()" value="1" class='np' <?php if($myrow['cross']==1) echo " checked='1' "; ?>> 自动获取同名栏目内容</label>
<label><input name="cross" type="radio" id="cross2" onClick="CheckCross()" value="2" class='np' <?php if($myrow['cross']==2) echo " checked='1' "; ?>> 手工指定交叉栏目ID(用逗号分开)</label>
<br>
<textarea name="crossid" id="crossid" class="alltxt" style="<?php if($myrow['cross']!=2) echo'display:none'; ?>"><?php echo $myrow['crossid']; ?></textarea>
<textarea name="crossid" id="crossid" style="<?php if($myrow['cross']!=2) echo'display:none'; ?>"><?php echo $myrow['crossid']; ?></textarea>
</td>
</tr>
<tr id='smclass' style='<?php echo ($channelid<0 ? '' : 'display:none'); ?>'>
<tr id="smclass" style="<?php echo ($channelid<0 ? '' : 'display:none'); ?>">
<td class="bline" style="padding-left:10px">绑定小分类:<br>仅适用[分类信息模型]</td>
<td class="bline">
<select name="smalltype[]" multiple="yes" style="width:160px;height:100px">
@@ -313,26 +313,26 @@
</table>
<table width="100%" cellspacing="0" cellpadding="0" style="display:none;border:1px solid #dee2e6" id="adset" class="table">
<tr>
<td class="bline" width="260" height="26" style="padding-left:10px">多站点支持:</td>
<td class="bline" width="260" style="padding-left:10px">多站点支持:</td>
<td class="bline">
<label><input name="moresite" type="radio" class="np" value="0" <?php if($myrow['moresite']==0) echo " checked='1' "; ?>>&nbsp;不启用&nbsp;</label>
<label><input type="radio" name="moresite" class="np" value="1" <?php if($myrow['moresite']==1) echo " checked='1' "; ?>>&nbsp;启用</label>
<label><input name="moresite" type="radio" class="np" value="0" <?php if($myrow['moresite']==0) echo " checked='1' "; ?>> 不启用</label>
<label><input type="radio" name="moresite" class="np" value="1" <?php if($myrow['moresite']==1) echo " checked='1' "; ?>> 启用</label>
</td>
</tr>
<tr>
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">说明:</td>
<td bgcolor="#f8f8f8" style="padding-left:10px">说明:</td>
<td bgcolor="#f8f8f8">绑名绑定仅需要在顶级栏目设定,子级栏目修改无效</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">绑定域名:</td>
<td class="bline" style="padding-left:10px">绑定域名:</td>
<td class="bline"><input name="siteurl" type="text" id="siteurl" value="<?php echo $myrow['siteurl']?>" class="iptxt" style="width:260px">(需加 http://,一级或二级域名的根网址)</td>
</tr>
<tr>
<td class="bline" height="26" style="padding-left:10px">站点根目录:</td>
<td class="bline" style="padding-left:10px">站点根目录:</td>
<td class="bline">为简化操作,站点根目录与当前栏目目录一致,请注意当前栏目文件保存目录的设置,域名需自行手工绑定到这个目录</td>
</tr>
<tr id='helpvar1' style='display:none'>
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
<td bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
<td bgcolor="#f8f8f8">
{tid}表示栏目ID,<br>
{cid}表示频道模型的'名字ID'(
@@ -343,11 +343,11 @@
}
?>)<br>
模板文件的默认位置是放在模板目录 "cms安装目录<?php echo $cfg_templets_dir ?>" 内
<input type='hidden' value='{style}' name='dfstyle'>
<input type="hidden" value="{style}" name="dfstyle">
</td>
</tr>
<tr>
<td height="26" style="padding-left:10px">封面模板:</td>
<td style="padding-left:10px">封面模板:</td>
<td>
<input name="tempindex" type="text" 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>
@@ -355,22 +355,22 @@
</td>
</tr>
<tr>
<td height="26" style="padding-left:10px">列表模板:</td>
<td style="padding-left:10px">列表模板:</td>
<td>
<input name="templist" type="text" value="<?php echo $myrow['templist']?>" class="iptxt" style="width:260px">
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templist')">浏览</button>
</td>
</tr>
<tr>
<td height="26" style="padding-left:10px">文章模板:</td>
<td style="padding-left:10px">文章模板:</td>
<td>
<input name="temparticle" type="text" value="<?php echo $myrow['temparticle']?>" class="iptxt" style="width:260px">
<button type="button" name="set4" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.temparticle')">浏览</button>
</td>
</tr>
<tr id='helpvar2' style='display:none'>
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
<td height="26" bgcolor="#f8f8f8">
<tr id="helpvar2" style="display:none">
<td bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
<td bgcolor="#f8f8f8">
{Y}、{M}、{D} 年月日<br>
{timestamp} INT类型的UNIX时间戳<br>
{aid} 文章ID<br>
@@ -381,18 +381,18 @@
</td>
</tr>
<tr>
<td height="26" style="padding-left:10px">文章命名规则:</td>
<td style="padding-left:10px">文章命名规则:</td>
<td>
<input name="namerule" type="text" id="namerule" value="<?php echo $myrow['namerule']?>" class="iptxt" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar2')" style="cursor:pointer"></i>
</td>
</tr>
<tr id='helpvar3' style='display:none'>
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
<tr id="helpvar3" style="display:none">
<td bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
<td bgcolor="#f8f8f8">{page} 列表的页码</td>
</tr>
<tr>
<td height="26" style="padding-left:10px">列表命名规则:</td>
<td style="padding-left:10px">列表命名规则:</td>
<td>
<input name="namerule2" type="text" 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>
@@ -400,15 +400,15 @@
</tr>
<tr>
<td height="60" style="padding-left:10px">SEO标题:</td>
<td><input name="seotitle" type="text" id="seotitle" value="<?php echo $myrow['seotitle']?>" class="alltxt" style="width:260px">(栏目模板里用{dede:field.seotitle /}调用)</td>
<td><input name="seotitle" type="text" id="seotitle" value="<?php echo $myrow['seotitle']?>" style="width:260px">(栏目模板里用{dede:field.seotitle /}调用)</td>
</tr>
<tr>
<td height="60" style="padding-left:10px">关键词:</td>
<td><textarea name="keywords" cid="keywords" class="alltxt" style="width:360px;height:50px"><?php echo $myrow['keywords']?></textarea></td>
<td><textarea name="keywords" cid="keywords" style="width:360px;height:50px"><?php echo $myrow['keywords']?></textarea></td>
</tr>
<tr>
<td height="60" style="padding-left:10px">栏目描述:</td>
<td height="60"><textarea name="description" id="description" class="alltxt" style="width:360px;height:50px"><?php echo $myrow['description']?></textarea></td>
<td height="60"><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $myrow['description']?></textarea></td>
</tr>
<tr>
<td height="36" style="padding-left:10px">继承选项:</td>
@@ -419,14 +419,10 @@
</table>
<table width="100%" cellspacing="0" cellpadding="0" style="display:none;border:1px solid #dee2e6" id="ctset" class="table">
<tr>
<td height="26">说明:栏目内容是替代原来栏目单独页的更灵活的一种方式,可在栏目模板中用{dede:field.content/}调用,通常用于企业简介之类的用途</td>
<td>说明:栏目内容是替代原来栏目单独页的更灵活的一种方式,可在栏目模板中用{dede:field.content/}调用,通常用于企业简介之类的用途</td>
</tr>
<tr>
<td>
<?php
GetEditor("content",$myrow['content'],"450","Default","print","false");
?>
</td>
<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">


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

@@ -59,7 +59,7 @@
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="maintable mt-3 mb-3">
<tr>
<td height="26" style="background:#f8f8f8;border: 1px solid #dee2e6">
<td style="background:#f8f8f8;border: 1px solid #dee2e6">
<span style="float:left;padding-left:10px;line-height:26px" class="py-3">网站栏目管理</span>
<span style="float:right;padding-right:10px" class="py-3">
<a href="catalog_add.php?listtype=all" class="btn btn-success btn-sm">增加顶级栏目</a>
@@ -69,7 +69,7 @@
</td>
</tr>
<tr>
<td height="26">
<td>
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td style="padding-left:10px">


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

@@ -13,18 +13,17 @@
<form name="form1" action="content_att.php" method="post">
<input type="hidden" name="dopost" value="save">
<tr>
<td height="26" colspan="3" background="../static/web/img/tbg.gif" style="padding-left:10px">文档自定义属性管理
</td>
<td bgcolor="#f8f8f8" colspan="3">文档自定义属性管理</td>
</tr>
<tr>
<td height="26" colspan="3">
<td colspan="3">
自定义属性的意义和使用说明:<br>
在以往的版本中,网站主页、频道封面的设计,都只能单调的用 arclist 标记把某栏目最新或按特定排序方式的文档无选择的读出来,这样做法存在很大的不足,例如,我希望在最顶部的地方显示我想要的文档,在以往的版本中是无法做到的,但使用自定义属性之后,只要给arclist 标记加上 att='自定义属性的ID' 的属性,然后在发布的时候对适合的文档选择专门的属性,那么使用arclist的地方就会按您的意愿显示指定的文档<br>
注意事项:这个版本中att对应的字段是SET类型字段,因此为了数据安全起见不允许用户增加其它类型,但调用时允许使用组合条件,如:att='c,p'表示推荐图片新闻
</td>
</tr>
<tr bgcolor="#F8FCF1">
<td width="15%" height="26" align="center">ID</td>
<td width="15%" align="center">ID</td>
<td width="15%">排序</td>
<td width="70%">属性名称</td>
</tr>
@@ -39,8 +38,8 @@
<input type="hidden" name="att_<?php echo $k?>" value="<?php echo $row->att?>">
<tr>
<td align="center"><?php echo $row->att; ?></td>
<td><input name="sortid_<?php echo $k?>" value="<?php echo $row->sortid; ?>" type="text" id="sortid_<?php echo $k?>" class='pubinputs' style='width:50%'></td>
<td><input name="attname_<?php echo $k?>" value="<?php echo $row->attname; ?>" type="text" id="attname_<?php echo $k?>" size="30" class='pubinputs'></td>
<td><input name="sortid_<?php echo $k?>" value="<?php echo $row->sortid; ?>" type="text" id="sortid_<?php echo $k?>" class="pubinputs" style="width:50%"></td>
<td><input name="attname_<?php echo $k?>" value="<?php echo $row->attname; ?>" type="text" id="attname_<?php echo $k?>" size="30" class="pubinputs"></td>
</tr>
<?php
}


+ 51
- 61
src/admin/templets/content_batch_up.htm View File

@@ -57,15 +57,15 @@
</script>
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="content_batchup_action.php" target="stafrm" method="post">
<input type="hidden" name="dopost" value="go">
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<td bgcolor="#f8f8f8" colspan="2">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">文档批量维护</td>
<td align="right"></td>
<td width="30%">文档批量维护</td>
<td width="70%" align="right"></td>
</tr>
</table>
</td>
@@ -74,39 +74,36 @@
<td width="260">选定栏目:</td>
<td>
<?php
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray(0,$admin_catalogs,0,1);
echo "<select name='typeid' style='width:260px'>";
echo "<option value='0' selected>不限栏目</option>";
echo $typeOptions;
echo "</select>";
?>
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray(0,$admin_catalogs,0,1);
echo "<select name='typeid' style='width:260px'>";
echo "<option value='0' selected>不限栏目</option>";
echo $typeOptions;
echo "</select>";
?>
</td>
</tr>
<tr>
<td height="26">起始ID:</td>
<td height="26">开始:
<input name="startid" type="text" id="startid" size="10">
结束:
<input name="endid" type="text" id="endid" size="10"></td>
<td>起始ID:</td>
<td>
开始:<input name="startid" type="text" id="startid" size="10">
结束:<input name="endid" type="text" id="endid" size="10">
</td>
</tr>
<tr>
<td height="26">档案发布时间:</td>
<td height="26">
<td>档案发布时间:</td>
<td>
<table cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td colspan="2">
<label><input name="seltime" type="checkbox" class="np" id="seltime" value="1" onClick="ShowHideTime()">
启用时间筛选(仅移动或删除文档可用该选项)</label>
<label><input name="seltime" type="checkbox" class="np" id="seltime" value="1" onClick="ShowHideTime()"> 启用时间筛选(仅移动或删除文档可用该选项)</label>
</td>
</tr>
<tr id='seltimeField' style='display:none' height='26'>
<td width="260">开始:
<?php $nowtime = GetDateTimeMk(time()-(24*3600*30)); ?>
<tr id="seltimeField" style="display:none">
<td width="260">开始:<?php $nowtime = GetDateTimeMk(time()-(24*3600*30)); ?>
<input name="starttime" value="<?php echo $nowtime; ?>" type="text" id="starttime" class="datepicker">
</td>
<td width="260">结束:
<?php $nowtime = GetDateTimeMk(time()); ?>
<td width="260">结束:<?php $nowtime = GetDateTimeMk(time()); ?>
<input name="endtime" value="<?php echo $nowtime; ?>" type="text" id="endtime" class="datepicker">
</td>
</tr>
@@ -114,47 +111,43 @@
</td>
</tr>
<tr>
<td height="26">用户的登录id:</td>
<td height="26"><input name="userid" type="text" id="userid" size="20">(网址uid=后面跟的id)</td>
<td>用户的登录id:</td>
<td><input name="userid" type="text" id="userid" size="20">(网址uid=后面跟的id)</td>
</tr>
<tr>
<td height="26">操作:</td>
<td height="26">
<label><input name="action" type="radio" class="np" id="checkradio" onClick="ShowHideMove()" value="check"
checked='1'>
审核文档</label>
<label><input name="action" type="radio" class="np" value="makehtml" id="makehtmlradio" onClick="ShowHideMove()">
更新HTML</label>
<label><input name="action" type="radio" class="np" value="move" id="moveradio" onClick="ShowHideMove()">
移动文档</label>
<label><input name="action" type="radio" class="np" id="delradio" value="del" onClick="ShowHideMove()">
删除文档</label></td>
<td>操作:</td>
<td>
<label><input name="action" type="radio" class="np" id="checkradio" onClick="ShowHideMove()" value="check" checked="1"> 审核文档</label>
<label><input name="action" type="radio" class="np" value="makehtml" id="makehtmlradio" onClick="ShowHideMove()"> 更新HTML</label>
<label><input name="action" type="radio" class="np" value="move" id="moveradio" onClick="ShowHideMove()"> 移动文档</label>
<label><input name="action" type="radio" class="np" id="delradio" value="del" onClick="ShowHideMove()"> 删除文档</label>
</td>
</tr>
<tr>
<td height="26" align="center"><span class='moveField' style='display:none'>移动选项:</span></td>
<td height="26">
<td align="center"><span class="moveField" style="display:none">移动选项:</span></td>
<td>
<?php
echo "<span class='moveField' style='display:none'>新位置:";
echo "<select name='newtypeid' style='width:260px'>";
echo $typeOptions;
echo "</select>";
echo "<hr>";
echo "标题关键词:<input id='movekeyword' type='text' name='keyword' value='' ></span>";
?>
echo "<span class='moveField' style='display:none'>新位置:";
echo "<select name='newtypeid' style='width:260px'>";
echo $typeOptions;
echo "</select>";
echo "<hr>";
echo "标题关键词:<input id='movekeyword' type='text' name='keyword' value='' ></span>";
?>
</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
<td bgcolor="#F8FCF1" colspan="2" align="center">
<button name="b112" type="button" onClick="document.form1.submit();" class="btn btn-success btn-sm">开始操作</button>
</td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<td colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
@@ -178,27 +171,24 @@
<form name="form2" action="content_batchup_action.php" target="stafrm" method="post">
<input type="hidden" name="dopost" value="go">
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<td bgcolor="#f8f8f8" colspan="2">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">错误文档修正</td>
<td width="30%">错误文档修正</td>
<td width="70%" align="right"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" colspan="2" align="center">
<label><input type='radio' value='delnulltitle' name='action' class='np'>
删除空标题的文章</label>
<label><input type='radio' value='delnullbody' name='action' class='np'>
删除内容为空的文章</label>
<label><input type='radio' value='modddpic' name='action' class='np'>
更正缩图错误</label>
<td colspan="2" align="center">
<label><input type="radio" value="delnulltitle" name="action" class="np"> 删除空标题的文章</label>
<label><input type="radio" value="delnullbody" name="action" class="np"> 删除内容为空的文章</label>
<label><input type="radio" value="modddpic" name="action" class="np"> 更正缩图错误</label>
</td>
</tr>
<tr>
<td height="26" colspan="2" bgcolor="#f8f8f8" align="center">
<td colspan="2" bgcolor="#f8f8f8" align="center">
<button name="b112" type="button" onClick="document.form2.submit();" class="btn btn-success btn-sm">开始操作</button>
</td>
</tr>


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

@@ -65,9 +65,9 @@
</form>
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3">
<tr>
<td height="26" colspan="7" style="margin-left:10px;background:#f8f8f8">{dede:global.positionname/}文档列表</td>
<td colspan="7" style="margin-left:10px;background:#f8f8f8">{dede:global.positionname/}文档列表</td>
</tr>
<tr align="center" bgcolor="#F8FCF1" height="26">
<tr bgcolor="#F8FCF1" align="center">
<td width="12%">文档图片</td>
<td width="32%">文档标题</td>
<td width="16%">类目</td>


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

@@ -72,9 +72,9 @@
<form name="form2">
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3">
<tr>
<td height="26" colspan="10" style="background:#f8f8f8">{dede:global.positionname/}文档列表</td>
<td colspan="10" style="background:#f8f8f8">{dede:global.positionname/}文档列表</td>
</tr>
<tr align="center" bgcolor="#F8FCF1" height="26">
<tr bgcolor="#F8FCF1" align="center">
<td width="6%">ID</td>
<td width="6%">选择</td>
<td width="30%">文章标题</td>
@@ -87,7 +87,7 @@
<td width="10%">操作</td>
</tr>
{dede:datalist empty='<tr><td colspan="10"><center>暂无内容</center></td></tr>'}
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>{dede:field.id/}</td>
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np"></td>
<td 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>


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

@@ -118,10 +118,10 @@
</form>
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3">
<tr>
<td height="26" colspan="9" style="margin-left:10px;background:#f8f8f8">文章列表</td>
<td colspan="9" style="margin-left:10px;background:#f8f8f8">文章列表</td>
</tr>
<form name="form2">
<tr align="center" bgcolor="#F8FCF1" height="26">
<tr bgcolor="#F8FCF1" align="center">
<td width="6%">ID</td>
<td width="4%">选择</td>
<td width="30%">文章标题</td>
@@ -133,7 +133,7 @@
<td width="10%">属性</td>
</tr>
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';" height="26">
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';" >
<td>{dede:field.id/}</td>
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np"></td>
<td align="left"><a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}</a></td>


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

@@ -50,10 +50,10 @@
<body>
<table width="100%" align="center" cellpadding="2" cellspacing="1" class="table maintable mt-3 mb-3">
<tr>
<td height="26" colspan="9" background="../static/web/img/tbg.gif">文章列表</td>
<td bgcolor="#f8f8f8" colspan="9">文章列表</td>
</tr>
<form name="form2">
<tr align="center" bgcolor="#F8FCF1" height="26">
<tr bgcolor="#F8FCF1" align="center">
<td width="6%">ID</td>
<td width="4%">选择</td>
<td width="30%">文章标题</td>
@@ -65,7 +65,7 @@
<td width="13%">属性</td>
</tr>
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'}
<tr align="center" onMouseOut="javascript:this.bgColor='#ffffff';" height="26">
<tr align="center" onMouseOut="javascript:this.bgColor='#ffffff';" >
<td>{dede:field.id/}</td>
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np"></td>
<td align="left"><a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}</a></td>
@@ -78,7 +78,7 @@
</tr>
{/dede:datalist}
<tr bgcolor="#F8FCF1">
<td height="26" colspan="9">
<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>
<a href="javascript:ReturnValue()" class="btn btn-success btn-sm">把选定值加到列表</a>
@@ -104,7 +104,7 @@
</select>
</td>
<td width="90">关键词:</td>
<td width="170"><input type='text' name='keyword' value='<?php echo $keyword?>' style='width:160px'></td>
<td width="170"><input type="text" name="keyword" value="<?php echo $keyword?>" style="width:160px"></td>
<td width="90"><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>


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

@@ -136,8 +136,8 @@
</td>
</tr>
</table>
<form name='form3' action='content_sg_list.php' method='get'>
<input type='hidden' name='dopost' value='listArchives'>
<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">
@@ -159,10 +159,10 @@
</form>
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3">
<tr>
<td height="26" colspan="9" background="../static/web/img/tbg.gif" style="padding-left:10px">{dede:global.positionname/}文档列表</td>
<td bgcolor="#f8f8f8" colspan="9">{dede:global.positionname/}文档列表</td>
</tr>
<form name="form2">
<tr align="center" bgcolor="#F8FCF1" height="26">
<tr bgcolor="#F8FCF1" align="center">
<td width="6%">ID</td>
<td width="6%">选择</td>
<td width="30%">文章标题</td>
@@ -174,7 +174,7 @@
<td width="10%">操作</td>
</tr>
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'}
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>{dede:field.id/}</td>
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.aid/}" class="np"></td>
<td align="left"><a href="archives_do.php?aid={dede:field.aid/}&dopost=editArchives">{dede:field.title/}{dede:field.flag function='IsCommendArchives(@me)'/}</a></td>
@@ -197,7 +197,7 @@
<a class="btn btn-success btn-sm" href="javascript:checkArc(0)" class="coolbg">审核</a>
<a class="btn btn-success btn-sm" href="javascript:adArc(0)" class="coolbg">推荐</a>
<a class="btn btn-success btn-sm" href="javascript:;" onClick="moveArc(event,this,<?php echo (empty($channelid) ? 0 : $channelid); ?>)" class="coolbg">移动</a>
<a class="btn btn-success btn-sm" href="javascript:delArc(0)" class="coolbg">删除</a>
<a class="btn btn-danger btn-sm" href="javascript:delArc(0)" class="coolbg">删除</a>
<?php
if(!empty($f)) {
?>


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

@@ -9,7 +9,7 @@
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center">
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">文档信息统计</td>
<td bgcolor="#f8f8f8" colspan="2">文档信息统计</td>
</tr>
<tr>
<td colspan="2" align="center">
@@ -60,7 +60,7 @@
</td>
</tr>
<tr>
<td height="26" colspan="2" bgcolor="#DFE9C0"></td>
<td colspan="2" bgcolor="#DFE9C0"></td>
</tr>
</table>
</body>

+ 18
- 25
src/admin/templets/diy_add.htm View File

@@ -39,65 +39,58 @@
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="diy_add.php?action=add" method="post" onSubmit="return checkSubmit();">
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<td bgcolor="#f8f8f8" colspan="2">
<a href="diy_main.php">自定义表单管理</a> &gt; 新增自定义表单
</td>
</tr>
<tr>
<td width="260" height="26" align="left">
diyid:<br>
<span class="style2" id='help1'>数字,创建后不可修改,并具有唯一性推荐使用默认值</span>
</td>
<td width="260" align="left">diyid:<span class="style2" id="help1">数字,创建后不可修改,并具有唯一性推荐使用默认值</span></td>
<td>
<input name="diyid" type="text" id="diyid" size="10" value="<?php echo $newdiyid?>" class="pubinputs"
style='width:60px'>
* <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help1')" style="cursor:hand"></i>
<input name="diyid" type="text" id="diyid" size="10" value="<?php echo $newdiyid?>" class="pubinputs" style='width:60px'> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help1')" style="cursor:hand"></i>
</td>
</tr>
<tr>
<td height="26" align="left">
自定义表单名称:<br>
<span class="style2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span>
</td>
<td align="left">自定义表单名称:<br>
<span class="style2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span></td>
<td>
<input name="name" type="text" id="name" value="自定义表单<?php echo $newdiyid; ?>" class="pubinputs" style="width:160px" > *<i class="fa fa-question-circle" title="帮助" onClick="showHide2('help3')" style="cursor:hand"></i>
<input name="name" type="text" id="name" value="自定义表单<?php echo $newdiyid; ?>" class="pubinputs" style="width:160px" > * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help3')" style="cursor:hand"></i>
</td>
</tr>
<tr>
<td height="26" align="left">数据表:<br>
<td align="left">数据表:<br>
<span class="style2" id="help5">必须由英文、数字、下划线组成,用于保存自定义表单数据,不能和已有表名重复,创建后不可修改表名</span></td>
<td>
<input name="table" type="text" id="table" value="<?php echo $cfg_dbprefix; ?>diyform<?php echo $newdiyid; ?>" class="pubinputs" style="width:160px"> *<i class="fa fa-question-circle" title="帮助" onClick="showHide2('help5')" style="cursor:hand"></i>
<input name="table" type="text" id="table" value="<?php echo $cfg_dbprefix; ?>diyform<?php echo $newdiyid; ?>" class="pubinputs" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help5')" style="cursor:hand"></i>
</td>
</tr>
<tr>
<td height="26" align="left">字段配置:</td>
<td align="left">字段配置:</td>
<td><span class="style1">建立自定义表单后在“修改”自定义表单的地方添加字段即可</span></td>
</tr>
<tr>
<td height="26" align="left">列表模板:</td>
<td align="left">列表模板:</td>
<td><input name="listtemplate" type="text" id="listtemplate" value="list_diyform<?php echo $newdiyid; ?>.htm" class="pubinputs" style="width:160px"></td>
</tr>
<tr>
<td height="26" align="left">内容模板:</td>
<td align="left">内容模板:</td>
<td><input name="viewtemplate" type="text" id="viewtemplate" value="view_diyform<?php echo $newdiyid; ?>.htm" class="pubinputs" style="width:160px"></td>
</tr>
<tr>
<td height="26" align="left">发布模板:</td>
<td align="left">发布模板:</td>
<td><input name="posttemplate" type="text" id="posttemplate" value="post_diyform<?php echo $newdiyid; ?>.htm" class="pubinputs" style="width:160px"></td>
</tr>
<tr>
<td height="26" align="left">前台列表和内容页公开:</td>
<td align="left">前台列表和内容页公开:</td>
<td>
<label><input name="public" type="radio" value="2" class='np'> 完全公开</label>
<label><input name="public" type="radio" value="1" class='np' checked='1'> 公开审核过的</label>
<label><input name="public" type="radio" value="0" class='np'> 不公开</label>
<label><input name="public" type="radio" value="2" class="np"> 完全公开</label>
<label><input name="public" type="radio" value="1" class="np" checked="1"> 公开审核过的</label>
<label><input name="public" type="radio" value="0" class="np"> 不公开</label>
</td>
</tr>
<tr>
<td bgcolor="#f8f8f8" colspan="2" align="center" class="py-3">
<button type="submit" name="button" id="button" class='btn btn-success btn-sm'>保存</button>
<button type="button" class='btn btn-success btn-sm' id="button2" onclick="location='diy_main.php';">返回</button>
<button type="submit" name="button" id="button" class="btn btn-success btn-sm">保存</button>
<button type="button" class="btn btn-success btn-sm" id="button2" onclick="location='diy_main.php';">返回</button>
</td>
</tr>
</form>


+ 51
- 56
src/admin/templets/diy_edit.htm View File

@@ -43,48 +43,43 @@
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="diy_edit.php" method="post" onSubmit="return checkSubmit();">
<input type='hidden' name='diyid' value='<?php echo $diyid; ?>'>
<input type='hidden' name='dopost' value='save'>
<input type="hidden" name="diyid" value="<?php echo $diyid; ?>">
<input type="hidden" name="dopost" value="save">
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="diy_main.php">自定义表单管理</a> &gt; 修改自定义表单</td>
<td bgcolor="#f8f8f8" colspan="2"><a href="diy_main.php">自定义表单管理</a> &gt; 修改自定义表单</td>
</tr>
<tr>
<td width="260" height="26">自定义表单 diyid:<br>
<span class="style2" id='help1'>数字,创建后不可修改,并具有唯一性</span>
</td>
<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>
</td>
</tr>
<tr>
<td height="26">自定义表单名称:(修改表名不会创建新表,如果您不懂手工处理这些表,请不要修改)<br>
<td>自定义表单名称:(修改表名不会创建新表,如果您不懂手工处理这些表,请不要修改)<br>
<span class="style2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span></td>
<td>
<input name="name" type="text" id="name" value="<?php echo $row['name']?>" class='alltxt' style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help3')" style="cursor:hand"></i>
<input name="name" type="text" id="name" value="<?php echo $row['name']?>" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help3')" style="cursor:hand"></i>
</td>
</tr>
<tr>
<td height="26">数据表:<br>
<span class="style2" id="help5">自定义表单数据表创建后不可修改表名</span>
</td>
<td>数据表:<br>
<span class="style2" id="help5">自定义表单数据表创建后不可修改表名</span></td>
<td>
<input name="table" type="text" id="table" value="<?php echo $row['table']; ?>" class='alltxt' disabled='1' style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help5')" style="cursor:hand"></i>
<input name="table" type="text" id="table" value="<?php echo $row['table']; ?>" disabled="1" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help5')" style="cursor:hand"></i>
</td>
</tr>
<tr>
<td height="26" bgcolor="#f8f8f8">模型字段配置:<br>
信息索引类字段系统已经加入,您只需要增加其它个性化字段即可
</td>
<td bgcolor="#f8f8f8">模型字段配置:信息索引类字段系统已经加入,您只需要增加其它个性化字段即可</td>
<td bgcolor="#f8f8f8">
<button name="fset" type="button" id="fset" onClick="location.href='diy_field_add.php?diyid=<?php echo $diyid; ?>'" class="btn btn-success btn-sm"
>添加新字段</button>
</td>
</tr>
<tr>
<td colspan='2'>
<td colspan="2">
<table width="100%" cellpadding="1" cellspacing="1" align="center">
<tr align="center" bgcolor="#F8FCF1" height="26">
<tr bgcolor="#F8FCF1" align="center">
<td width="28%">表单提示文字</td>
<td width="18%">数据字段名</td>
<td width="20%">数据类型</td>
@@ -92,42 +87,41 @@
<td>维护</td>
</tr>
<?php
$ds = file(DedeInclude('/inc/fieldtype.txt'));
foreach($ds as $d){
$dds = explode(',',trim($d));
$fieldtypes[$dds[0]] = $dds[1];
}
$fieldset = stripslashes($row['info']);
$dtp = new DedeTagParse();
$dtp->SetNameSpace("field","<",">");
$dtp->LoadSource($fieldset);
if(is_array($dtp->CTags)){
foreach($dtp->CTags as $ctag)
{
?> <tr height="26" align="center">
$ds = file(DedeInclude('/inc/fieldtype.txt'));
foreach($ds as $d){
$dds = explode(',',trim($d));
$fieldtypes[$dds[0]] = $dds[1];
}
$fieldset = stripslashes($row['info']);
$dtp = new DedeTagParse();
$dtp->SetNameSpace("field","<",">");
$dtp->LoadSource($fieldset);
if(is_array($dtp->CTags)){
foreach($dtp->CTags as $ctag)
{
?>
<tr align="center">
<td>
<?php
$itname = $ctag->GetAtt('itemname');
if($itname=='') echo "没指定";
else echo $itname;
?>
</td>
<td>
<?php echo $ctag->GetTagName()?>
$itname = $ctag->GetAtt('itemname');
if($itname=='') echo "没指定";
else echo $itname;
?>
</td>
<td><?php echo $ctag->GetTagName()?></td>
<td>
<?php
$ft = $ctag->GetAtt('type');
if(isset($fieldtypes[$ft])) echo $fieldtypes[$ft];
else echo "系统专用类型";
?>
$ft = $ctag->GetAtt('type');
if(isset($fieldtypes[$ft])) echo $fieldtypes[$ft];
else echo "系统专用类型";
?>
</td>
<td>
<?php
$ft = $ctag->GetAtt('autofield');
if($ft==''||$ft==0) echo "固化表单";
else echo "自动表单";
?>
$ft = $ctag->GetAtt('autofield');
if($ft==''||$ft==0) echo "固化表单";
else echo "自动表单";
?>
</td>
<td>
<a href="diy_field_edit.php?diyid=<?php echo $diyid; ?>&fname=<?php echo $ctag->GetTagName()?>" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i> 修改</a>
@@ -135,25 +129,26 @@ foreach($dtp->CTags as $ctag)
</td>
</tr>
<?php
}}
?>
}
}
?>
</table>
</td>
</tr>
<tr>
<td height="26">列表模板:</td>
<td><input name="listtemplate" type="text" id="listtemplate" style="width:160px" value="<?php echo $row['listtemplate']; ?>" class='alltxt'></td>
<td>列表模板:</td>
<td><input name="listtemplate" type="text" id="listtemplate" style="width:160px" value="<?php echo $row['listtemplate']; ?>"></td>
</tr>
<tr>
<td height="26">内容模板:</td>
<td><input name="viewtemplate" type="text" id="viewtemplate" style="width:160px" value="<?php echo $row['viewtemplate']; ?>" class='alltxt'></td>
<td>内容模板:</td>
<td><input name="viewtemplate" type="text" id="viewtemplate" style="width:160px" value="<?php echo $row['viewtemplate']; ?>"></td>
</tr>
<tr>
<td height="26">发布模板:</td>
<td><input name="posttemplate" type="text" id="posttemplate" style="width:160px" value="<?php echo $row['posttemplate']; ?>" class='alltxt'></td>
<td>发布模板:</td>
<td><input name="posttemplate" type="text" id="posttemplate" style="width:160px" value="<?php echo $row['posttemplate']; ?>"></td>
</tr>
<tr>
<td height="26">前台列表和内容页公开:</td>
<td>前台列表和内容页公开:</td>
<td>
<label><input name="public" type="radio" value="2" <?php echo $row['public'] == 2 ? 'checked' : ''; ?> class='np'> 完全公开 </label>
<label><input name="public" type="radio" value="1" <?php echo $row['public'] == 1 ? 'checked' : ''; ?> class='np'> 公开审核过的 </label>
@@ -162,8 +157,8 @@ foreach($dtp->CTags as $ctag)
</tr>
<tr>
<td bgcolor="#f8f8f8" colspan="2" align="center" class="py-3">
<button type="submit" name="button" id="button" class='btn btn-success btn-sm'>保存</button>
<button type="button" class='btn btn-success btn-sm' id="button2" onclick="location='diy_main.php';">返回</button>
<button type="submit" name="button" id="button" class="btn btn-success btn-sm">保存</button>
<button type="button" class="btn btn-success btn-sm" id="button2" onclick="location='diy_main.php';">返回</button>
</td>
</tr>
</form>


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

@@ -11,9 +11,9 @@
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td width="100%" height="26" colspan="2" background="../static/web/img/tbg.gif"><a href="<?php echo $ENV_GOBACK_URL; ?>">表单管理</a> &gt; 编辑评论</td>
<td width="100%" bgcolor="#f8f8f8" colspan="2"><a href="<?php echo $ENV_GOBACK_URL; ?>">表单管理</a> &gt; 编辑评论</td>
</tr>
<tr>
<td colspan="2" align="center">
@@ -40,15 +40,15 @@
$row[$field] = "<input type='text' name='".$field."' value='".$row[$field]."'>";
}
}
echo '<tr><td width="260" height="26">'.$fielddata[0].':'.'</td><td>'.$row[$field].'</td></tr>';
echo '<tr><td width="260">'.$fielddata[0].':'.'</td><td>'.$row[$field].'</td></tr>';
$formfields .= $formfields == ''? $field.','.$fielddata[1] : ';'.$field.','.$fielddata[1];
}
echo "<input type='hidden' name='dede_fields' value='".$formfields."'>";
?>
<tr>
<td colspan="2" align="center" class="py-3">
<button type="submit" name="Submit1" class='btn btn-success btn-sm'>保存</button>
<button type="button" name="Submit2" class='btn btn-success btn-sm' onClick="location='<?php echo $ENV_GOBACK_URL; ?>';">返回</button>
<button type="submit" name="Submit1" class="btn btn-success btn-sm">保存</button>
<button type="button" name="Submit2" class="btn btn-success btn-sm" onClick="location='<?php echo $ENV_GOBACK_URL; ?>';">返回</button>
</td>
</tr>
</table>


+ 27
- 34
src/admin/templets/diy_field_add.htm View File

@@ -68,15 +68,15 @@
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="diy_field_add.php" method="post" onSubmit="return GetFields();">
<input type='hidden' name='action' value='save'>
<input type='hidden' name='diyid' value='<?php echo $diyid?>'>
<input type='hidden' name='fieldstring' value=''>
<input type="hidden" name="action" value="save">
<input type="hidden" name="diyid" value="<?php echo $diyid?>">
<input type="hidden" name="fieldstring" value="">
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<td bgcolor="#f8f8f8" colspan="2">
<table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px"><a href="diy_main.php">自定义表单管理</a> &gt; 增加新字段</td>
<td align="right">
<td width="30%"><a href="diy_main.php">自定义表单管理</a> &gt; 增加新字段</td>
<td width="70%" align="right">
<button type="button" name="ss1" onClick="location='diy_edit.php?diyid=<?php echo $diyid; ?>&dopost=edit';" class="btn btn-success btn-sm">当前表单信息</button>
</td>
</tr>
@@ -88,57 +88,50 @@
</tr>
<tr>
<td width="30%">表单提示文字:<br>
<span class="style2">发布内容时显示的提示文字</span>
</td>
<span class="style2">发布内容时显示的提示文字</span></td>
<td><input name="itemname" type="text" id="itemname" class="pubinputs"> *</td>
</tr>
<tr>
<td>字段名称:<br>
<span class="style2">只能用英文字母或数字,数据表的真实字段名,如果数据类型是联动类型,该项应该填写联动类型的<a href='stepselect_main.php' target='_blank'>[组名称]</a></span>
</td>
<span class="style2">只能用英文字母或数字,数据表的真实字段名,如果数据类型是联动类型,该项应该填写联动类型的<a href="stepselect_main.php" target="_blank">[组名称]</a></span></td>
<td><input name="fieldname" type="text" id="fieldname" class="pubinputs"> *</td>
</tr>
<tr>
<td>内容是否需要分页符:<br>
<span class="style2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span>
</td>
<span class="style2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td>
<td>
<input name="isnull" type="hidden" value="1">
<label><input name="spage" type="radio" value="split" class='np'>
是</label>
<label><input name="spage" type="radio" value="no" class='np' checked='1'>
否</label>
<label><input name="spage" type="radio" value="split" class="np"> 是</label>
<label><input name="spage" type="radio" value="no" class="np" checked="1"> 否</label>
</td>
</tr>
<tr>
<td>数据类型:</td>
<td>
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype1' value="text" checked='1'> 单行文本(varchar)</label></div>
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype2' value="textchar"> 单行文本(char)</label></div>
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype3' value="multitext"> 多行文本</label></div>
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype4' value="htmltext"> HTML文本</label></div>
<br class='cls'>
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype6' value="int"> 整数类型</label></div>
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype7' value="float"> 小数类型</label></div>
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype8' value="datetime"> 时间类型</label></div>
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype13' value="select"> 使用option下拉框</label></div>
<br class='cls'>
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype14' value="radio"> 使用radio选项卡</label></div>
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype15' value="checkbox"> Checkbox多选框</label></div>
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype9' value="img"> 图片</label></div>
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype12' value="addon"> 附件类型</label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype1" value="text" checked="1"> 单行文本(varchar)</label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype2" value="textchar"> 单行文本(char)</label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype3" value="multitext"> 多行文本</label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype4" value="htmltext"> HTML文本</label></div>
<br class="cls">
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype6" value="int"> 整数类型</label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype7" value="float"> 小数类型</label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype8" value="datetime"> 时间类型</label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype13" value="select"> 使用option下拉框</label></div>
<br class="cls">
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype14" value="radio"> 使用radio选项卡</label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype15" value="checkbox"> Checkbox多选框</label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype9" value="img"> 图片</label></div>
<div class="nw"><label><input type="radio" class="np" name="dtype" id="dtype12" value="addon"> 附件类型</label></div>
</td>
</tr>
<tr>
<td>默认值:<br>
<span class="style2">如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(用“,”分开,如“男,女,人妖”)</span>
</td>
<span class="style2">如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(用“,”分开,如“男,女,人妖”)</span></td>
<td><textarea name="vdefault" type="text" id="vdefault" style="width:70%;height:60px"></textarea></td>
</tr>
<tr>
<td>最大长度:<br>
<span class="style2">文本数据必须填写,大于255为text类型</span>
</td>
<span class="style2">文本数据必须填写,大于255为text类型</span></td>
<td><input name="maxlength" type="text" id="maxlength" class="pubinputs" value="250" style="width:80px"></td>
</tr>
<tr>


+ 20
- 25
src/admin/templets/diy_field_edit.htm View File

@@ -54,17 +54,17 @@ td{ padding:6px; padding-left:6px; }
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="diy_field_edit.php" method="post" onSubmit="return GetFields();">
<input type='hidden' name='action' value='save'>
<input type='hidden' name='diyid' value='<?php echo $diyid?>'>
<input type='hidden' name='fname' value='<?php echo $fname?>'>
<input type='hidden' name='issystem' value='<?php echo $issystem?>'>
<input type='hidden' name='fieldstring' value=''>
<input type="hidden" name="action" value="save">
<input type="hidden" name="diyid" value="<?php echo $diyid?>">
<input type="hidden" name="fname" value="<?php echo $fname?>">
<input type="hidden" name="issystem" value="<?php echo $issystem?>">
<input type="hidden" name="fieldstring" value="">
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<td bgcolor="#f8f8f8" colspan="2">
<table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px"><a href="diy_main.php">自定义表单管理</a> &gt; 修改字段</td>
<td align="right">
<td width="30%"><a href="diy_main.php">自定义表单管理</a> &gt; 修改字段</td>
<td width="70%" align="right">
<button type="button" name="ss1" onClick="location='diy_edit.php?diyid=<?php echo $diyid; ?>&dopost=edit';" class="btn btn-success btn-sm">当前表单信息</button>
</td>
</tr>
@@ -73,14 +73,12 @@ td{ padding:6px; padding-left:6px; }
</tr>
<tr>
<td>表单提示文字:<br>
<span class="style2">发布内容时显示的提示文字</span>
</td>
<span class="style2">发布内容时显示的提示文字</span></td>
<td><input name="itemname" type="text" id="itemname" value="<?php echo $ctag->GetAtt('itemname')?>" class="pubinputs"> *(发布内容时显示的项名字)</td>
</tr>
<tr>
<td width="28%">字段名称:<br>
<span class="style2">只能用英文字母或数字,数据表的真实字段名</span>
</td>
<span class="style2">只能用英文字母或数字,数据表的真实字段名</span></td>
<td width="72%" style="table-layout:fixed;word-break:break-all"><?php echo $fname?></td>
</tr>
<tr>
@@ -123,33 +121,30 @@ td{ padding:6px; padding-left:6px; }
<span class="style2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td>
<td>
<input name="isnull" type="hidden" value="1">
<label><input name="spage" type="radio" value="split"<?php if($ctag->GetAtt('page')=='split') echo " checked='1' "; ?> class='np'>
是 &nbsp; </label>
<label><input name="spage" type="radio" value="no"<?php if($ctag->GetAtt('page')=='no'||$ctag->GetAtt('page')=='') echo " checked='1' "; ?> class='np'>
否</label></td>
</tr>
<label><input name="spage" type="radio" value="split"<?php if($ctag->GetAtt('page')=='split') echo " checked='1' "; ?> class='np'> 是</label>
<label><input name="spage" type="radio" value="no"<?php if($ctag->GetAtt('page')=='no'||$ctag->GetAtt('page')=='') echo " checked='1' "; ?> class='np'> 否</label>
</td>
</tr>
<tr>
<td>默认值:<br>
<span class="style2"> 如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(用“,”分开,如“男,女,人妖”),如果为联动选框,这里填写联动选框项目名称</span></td>
<span class="style2"> 如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(用“,”分开,如“男,女,人妖”)如果为联动选框,这里填写联动选框项目名称</span></td>
<td><textarea name="vdefault" type="text" id="vdefault" style="width:70%;height:60px"><?php echo $ctag->GetAtt('default'); ?></textarea></td>
</tr>
<tr>
<td>最大长度:<br>
<span class="style2"> 文本数据必须填写,大于255为text类型 </span></td>
<td>
<input name="maxlength" type="text" id="maxlength" value="<?php echo $ctag->GetAtt('maxlength')?>" style="width:80px;padding-top:3px;"></td>
<td><input name="maxlength" type="text" id="maxlength" value="<?php echo $ctag->GetAtt('maxlength')?>" style="width:80px;padding-top:6px"></td>
</tr>
<tr>
<td style="padding-left:10px">自定义表单HTML:</td>
<td>
自定义表单HTML用~name~表示提示文字,~form~表示表单元素<br> </td>
<td>自定义表单HTML:</td>
<td>自定义表单HTML用~name~表示提示文字,~form~表示表单元素</td>
</tr>
<tr>
<td align="center"><br> </td>
<td align="center"></td>
<td><textarea name="vinnertext" cols="45" rows="5" id="vinnertext" style="width:70%;height:120px"><?php echo $ctag->GetInnerText(); ?></textarea></td>
</tr>
<tr>
<td height="26" colspan="2" bgcolor="#f8f8f8">
<td colspan="2" bgcolor="#f8f8f8">
<table width="100%" cellspacing="0" cellpadding="0" class="table table-borderless mb-3">
<tr>
<td align="center" class="py-3">


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

@@ -13,7 +13,7 @@
<input type="hidden" name="diyid" value="<?php echo $diyid; ?>">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td colspan="3" height="26" background="../static/web/img/tbg.gif">
<td bgcolor="#f8f8f8" colspan="3">
<div style="float:left"><a href="diy_main.php">自定义表单管理</a> &gt; <?php echo $diy->name; ?></div>
<div style="float:right;padding-right:10px"><a href="/apps/diy.php?action=list&diyid=<?php echo $diy->diyid; ?>" target="_blank"><i class="fa fa-globe" title="前台预览"></i> 前台预览</a></div>
</td>
@@ -24,7 +24,7 @@
{
$allowhtml = array('htmltext');
$fields['sta'] = $fields['ifcheck'] == 1 ? '已审核':'未审核';
echo '<tr bgcolor="#F8FCF1" height="26"><td width="18%"><input type="checkbox" name="id[]" value="'.$fields['id'].'" class="np"></td><td><a href="diy_list.php?action=edit&diyid='.$diy->diyid.'&id='.$fields['id'].'">'.$fields['id'].'</a> '.$fields['sta'].'</td><td width="12%" align="center"><a href="diy_list.php?action=edit&diyid='.$diy->diyid.'&id='.$fields['id'].'"><i class="btn btn-sm fa fa-pencil-square-o" title="修改"></i></a></td></tr>';
echo '<tr bgcolor="#F8FCF1" ><td width="18%"><input type="checkbox" name="id[]" value="'.$fields['id'].'" class="np"></td><td><a href="diy_list.php?action=edit&diyid='.$diy->diyid.'&id='.$fields['id'].'">'.$fields['id'].'</a> '.$fields['sta'].'</td><td width="12%" align="center"><a href="diy_list.php?action=edit&diyid='.$diy->diyid.'&id='.$fields['id'].'"><i class="btn btn-sm fa fa-pencil-square-o" title="修改"></i></a></td></tr>';
foreach($fieldlist as $field=>$fielddata)
{
if($fields[$field]=='') continue;
@@ -46,14 +46,14 @@
?>
{/dede:datalist}
<tr>
<td colspan="3" height="26" bgcolor="#fff">{dede:pagelist listsize='6'/}</td>
<td colspan="3" bgcolor="#fff">{dede:pagelist listsize='6'/}</td>
</tr>
<tr>
<td bgcolor="#f8f8f8" colspan="3" class="py-3">
<input type="button" name="select" onClick="selAll()" class="btn btn-success btn-sm" value="全选">
<input type="button" name="select" onClick="noSelAll()" class="btn btn-success btn-sm" value="取消">&nbsp;
<label><input type="radio" name="action" value="check">&nbsp;审核</label>
<label><input type="radio" name="action" value="delete">&nbsp;删除</label>
<input type="button" name="select" onClick="noSelAll()" class="btn btn-success btn-sm" value="取消">
<label><input type="radio" name="action" value="check"> 审核</label>
<label><input type="radio" name="action" value="delete"> 删除</label>
<input type="submit" name="submit" class="btn btn-success btn-sm" value="提交">
</td>
</tr>


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

@@ -10,20 +10,20 @@
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="maintable mt-3" style="border:1px solid #dee2e6;border-bottom:none">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="maintable mt-3 mb-3" style="border:1px solid #dee2e6">
<tr>
<td class="tbtitletxt" background="../static/web/img/tbg.gif">
<table width="96%" cellpadding="0" cellspacing="0">
<td bgcolor="#f8f8f8">
<table width="98%" cellpadding="0" cellspacing="0">
<tr>
<td width="30%" height="36" style="padding-left:10px"><a href="diy_add.php" class="btn btn-success btn-sm">增加新的自定义表单</a></td>
<td align="right"></td>
<td width="30%" class="py-3"><a href="diy_add.php" class="btn btn-success btn-sm ml-3">增加新的自定义表单</a></td>
<td width="70%" align="right"></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable" style="margin-bottom:10px">
<tr align="center" bgcolor="#F8FCF1" height="26">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3">
<tr bgcolor="#F8FCF1" align="center">
<td>diyid</td>
<td>名称</td>
<td>表名</td>
@@ -43,7 +43,7 @@
</tr>
{/dede:datalist}
</table>
<table class="mb-3" width="98%" cellpadding="5" cellspacing="1" align="center" style="margin:auto;border:1px solid #dee2e6">
<table width="98%" cellpadding="5" cellspacing="1" align="center" class="table maintable mb-3">
<tr>
<td bgcolor="#f8f8f8" height="36" align="center">{dede:pagelist listsize='6'/}</td>
</tr>


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

@@ -15,7 +15,7 @@
</script>
</head>
<body>
<form name="form1" action="diy_list.php" method="post" >
<form name="form1" action="diy_list.php" method="post">
<input type="hidden" name="action" value="post">
<input type="hidden" name="diyid" value="<?php echo $diyid; ?>">
<input type="hidden" name="do" value="2">
@@ -31,8 +31,8 @@
<table width="98%" align="center" cellpadding="3" cellspacing="1">
<tr>
<td bgcolor="#f8f8f8" align="center" class="py-3">
<input type="submit" name="submit" value="提交" class='np coolbg'>&nbsp;
<input type="reset" name="reset" value="重置" class='np coolbg'>
<input type="submit" name="submit" value="提交" class="btn btn-success btn-sm">
<input type="reset" name="reset" value="重置" class="btn btn-success btn-sm">
</td>
</tr>
</table>


+ 7
- 9
src/admin/templets/erradd.htm View File

@@ -55,12 +55,11 @@
}
</script>
<form name="form2">
<table width="98%" align="center" cellpadding="3" cellspacing="1"
class="table maintable mt-3 mb-3">
<table width="98%" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3 mb-3">
<tr>
<td height="26" background="../static/web/img/tbg.gif" colspan="8" style="padding-left:10px">文章错误管理</td>
<td bgcolor="#f8f8f8" colspan="8">文章错误管理</td>
</tr>
<tr align="center" bgcolor="#F8FCF1" height="26">
<tr bgcolor="#F8FCF1" align="center">
<td width="5%">选择</td>
<td width="7%">编号</td>
<td width="12%">挑错人</td>
@@ -71,8 +70,7 @@
<td width="15%">修改建议</td>
</tr>
{dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'}
<tr height="26" align="center"
onMouseMove="javascript:this.bgColor='#F8FCF1';" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onMouseMove="javascript:this.bgColor='#F8FCF1';" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input name="id" type="checkbox" id="id" value="{dede:field.id/}" class="np"></td>
<td>{dede:field.id /}</td>
<td>{dede:field.mid function='username(@me)'/}</td>
@@ -83,14 +81,14 @@
<td>{dede:field.oktxt /}</td>
</tr>
{/dede:datalist}
<tr align="left" height="26">
<tr align="left" >
<td colspan="8">
<a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a>
<a href="javascript:noSelAll()" class="btn btn-success btn-sm">取消</a>
<a href="javascript:delArc(0)" class="btn btn-success btn-sm">删除</a>
<a href="javascript:delArc(0)" class="btn btn-danger btn-sm">删除</a>
</td>
</tr>
<tr align="center" bgcolor="#f8f8f8" height="36">
<tr height="36" bgcolor="#f8f8f8" align="center">
<td colspan="8">{dede:pagelist listsize='6'/}</td>
</tr>
</table>


+ 15
- 25
src/admin/templets/feedback_edit.htm View File

@@ -11,55 +11,45 @@
<body>
<table width="98%" align="center" cellpadding="1" cellspacing="1" class="table maintable mt-3 mb-3">
<tr>
<td width="100%" height="26" colspan="2" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="<?php echo $ENV_GOBACK_URL; ?>">评论管理</a> &gt; 编辑评论</td>
<td width="100%" bgcolor="#f8f8f8" colspan="2"><a href="<?php echo $ENV_GOBACK_URL; ?>">评论管理</a> &gt; 编辑评论</td>
</tr>
<tr>
<td height="187" colspan="2" align="center">
<td colspan="2" align="center">
<form name="form1" method="post" action="feedback_edit.php">
<input type="hidden" name="dopost" value="edit">
<input type="hidden" name="id" value="<?php echo $row['id']; ?>">
<table width="100%" cellpadding="3" cellspacing="1" class="table table-borderless">
<tr>
<td width="260" height="26">评论所属文章:</td>
<td>
<?php echo RemoveXSS($row['arctitle']); ?>
</td>
<td width="260">评论所属文章:</td>
<td><?php echo RemoveXSS($row['arctitle']); ?></td>
</tr>
<tr>
<td height="26">评论人:</td>
<td>
<input name="username" type="text" id="username" size="20" value="<?php echo $row['username']; ?>">
</td>
<td>评论人:</td>
<td><input name="username" type="text" id="username" size="20" value="<?php echo $row['username']; ?>"></td>
</tr>
<tr>
<td height="26">评论发布时间:</td>
<td>
<?php echo GetDateTimeMK($row['dtime']); ?>
</td>
<td>评论发布时间:</td>
<td><?php echo GetDateTimeMK($row['dtime']); ?></td>
</tr>
<tr>
<td height="26">IP地址:</td>
<td>
<?php echo $row['ip']; ?>
</td>
<td>IP地址:</td>
<td><?php echo $row['ip']; ?></td>
</tr>
<tr>
<td height="26">评论内容:</td>
<td>评论内容:</td>
<td>修改的评论内容HTML代码不会被屏蔽,可用HTML语法编辑</td>
</tr>
<tr>
<td height="62" align="center"></td>
<td height="62">
<textarea name="msg" cols="60" rows="5" id="msg"><?php echo cn_substr(Text2Html($row['msg']), 250); ?></textarea></td>
<td height="62"><textarea name="msg" cols="60" rows="5" id="msg"><?php echo cn_substr(Text2Html($row['msg']), 250); ?></textarea></td>
</tr>
<tr>
<td height="26">管理员回复:</td>
<td>管理员回复:</td>
<td>回复内容的HTML代码会被屏蔽</td>
</tr>
<tr>
<td height="26" align="center"></td>
<td height="26">
<textarea name="adminmsg" cols="60" rows="5" id="adminmsg"></textarea></td>
<td align="center"></td>
<td><textarea name="adminmsg" cols="60" rows="5" id="adminmsg"></textarea></td>
</tr>
<tr>
<td colspan="2" align="center" class="py-3">


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

@@ -69,7 +69,7 @@
<body>
<table width="98%" cellpadding="3" align="center" cellspacing="1" class="table maintable mt-3 mb-3">
<tr>
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px">
<td bgcolor="#f8f8f8">
<div style="float:left">评论管理</div>
<div style="float:right;padding-right:10px">
<form name="form1">
@@ -90,7 +90,7 @@
{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='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';" class="table table-borderless">
<table width="100%" cellpadding="0" cellspacing="1" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';" class="table table-borderless">
<tr>
<td width="8%">选择 <input name="fid" type="checkbox" class="np" id="fid" value="{dede:field.id/}"></td>
<td width="10%">用户:{dede:field.username/}</td>
@@ -107,7 +107,7 @@
</td>
</tr>
<tr align="center">
<td height="26" colspan="6">
<td colspan="6">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="left">
@@ -127,14 +127,14 @@
<table width="98%">
<tr>
<td width="30%">
<button type='button' name='kk1' onClick="selAll()" class="btn btn-success btn-sm">全选</button>
<button type='button' name='kk2' onClick="selNone()" class="btn btn-success btn-sm">取消</button>
<button type='button' name='kk3' onClick="selNor()" class="btn btn-success btn-sm">反选</button>
<button type="button" name="kk1" onClick="selAll()" class="btn btn-success btn-sm">全选</button>
<button type="button" name="kk2" onClick="selNone()" class="btn btn-success btn-sm">取消</button>
<button type="button" name="kk3" onClick="selNor()" class="btn btn-success btn-sm">反选</button>
</td>
<td align="right">
<button type='button' name='db' onClick="delFeedbackIP()" class="btn btn-success btn-sm">删除相同IP的所有评论</button>
<button type='button' name='db' onClick="delFeedback()" class="btn btn-success btn-sm">删除评论</button>
<button type='button' name='db2' onClick="checkFeedback()" class="btn btn-success btn-sm">审核评论</button>
<td width="70%" align="right">
<button type="button" name="db" onClick="delFeedbackIP()" class="btn btn-danger btn-sm">删除相同IP的所有评论</button>
<button type="button" name="db" onClick="delFeedback()" class="btn btn-success btn-sm">删除评论</button>
<button type="button" name="db2" onClick="checkFeedback()" class="btn btn-success btn-sm">审核评论</button>
</td>
</tr>
</table>


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

@@ -35,15 +35,15 @@
<input type="hidden" name="_csrf_token" value="{dede:global name='csrf_token'/}">
<table width="100%" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3 mb-3">
<tr>
<td height="26" colspan="2" background="../static/web/img/wbg.gif" style="padding-left:10px">修改新建文件</td>
<td colspan="2" bgcolor="#f8f8f8">修改新建文件</td>
</tr>
<tr>
<td height="26">工作目录</td>
<td height="26"><input name="activepath" value="{dede:global name='activepath'/}" style="width:260px">(空白表示根目录,不允许用“..”形式的路径)</td>
<td>工作目录</td>
<td><input name="activepath" value="{dede:global name='activepath'/}" style="width:260px">(空白表示根目录,不允许用“..”形式的路径)</td>
</tr>
<tr>
<td height="26">文件名称</td>
<td height="26"><input name="filename" value="{dede:global name='filename'/}" style="width:260px">(不允许用 “..”形式的路径)</td>
<td>文件名称</td>
<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>


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

@@ -15,12 +15,12 @@
</style>
</head>
<body>
<table width='98%' cellspacing='1' cellpadding='2' align='center' class="table maintable mt-3 mb-3">
<tr height="26" align="center">
<td width="36%" background="../static/web/img/wbg.gif">文件名称</td>
<td width="12%" background="../static/web/img/wbg.gif">文件大小</td>
<td width="20%" background="../static/web/img/wbg.gif">修改时间</td>
<td width="30%" background="../static/web/img/wbg.gif">操作</td>
<table width="98%" cellspacing="1" cellpadding="2" align="center" class="table maintable mt-3 mb-3">
<tr align="center">
<td width="36%" bgcolor="#f8f8f8">文件名称</td>
<td width="12%" bgcolor="#f8f8f8">文件大小</td>
<td width="20%" bgcolor="#f8f8f8">修改时间</td>
<td width="30%" bgcolor="#f8f8f8">操作</td>
</tr>
<?php
$dh = scandir($inpath);
@@ -56,8 +56,8 @@ foreach ($dh as $file)
}
$tmp = preg_replace("#[\/][^\/]*$#i","",$activepath);
$line = "\n<tr>
<td height='26'>
<a href=file_manage_main.php?activepath=".urlencode($tmp)."><img src='../static/web/img/dir2.gif'>上级目录</a>
<td>
<a href='file_manage_main.php?activepath=".urlencode($tmp)."'><img src='../static/web/img/dir2.gif'>上级目录</a>
</td>
<td colspan='3'>当前目录:$activepath</td>
</tr>";
@@ -67,14 +67,14 @@ foreach ($dh as $file)
{
if(preg_match("#^_(.*)$#i",$file)) continue; #屏蔽FrontPage扩展目录和linux隐蔽目录
if(preg_match("#^\.(.*)$#i",$file)) continue;
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" 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>
<a href='file_manage_main.php?activepath=".urlencode("$activepath/$file")."'><img src='../static/web/img/dir.gif'>$file</a></td>
<td></td>
<td></td>
<td>
<a href=file_manage_view.php?filename=".urlencode($file)."&activepath=".urlencode($activepath)."&fmdo=rename class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a>
<a href=file_manage_view.php?filename=".urlencode($file)."&activepath=".urlencode($activepath)."&type=dir&fmdo=del class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a>
<a href='file_manage_view.php?filename=".urlencode($file)."&activepath=".urlencode($activepath)."&fmdo=rename' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a>
<a href='file_manage_view.php?filename=".urlencode($file)."&activepath=".urlencode($activepath)."&type=dir&fmdo=del' class='btn btn-success btn-sm'><i class='fa fa-trash'></i> 删除</a>
</td>
</td>
</tr>";
@@ -82,9 +82,9 @@ foreach ($dh as $file)
}
else if(preg_match("#\.(gif|png)#i",$file))
{
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href=$activeurl/$file target=_blank><img src='../static/web/img/gif.gif'>$file</a></td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/gif.gif'>$file</a></td>
<td>$filesize KB</td>
<td align='center'>$filetime</td>
<td>
@@ -97,9 +97,9 @@ foreach ($dh as $file)
}
else if(preg_match("#\.(jpg)#i",$file))
{
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href=$activeurl/$file target=_blank><img src='../static/web/img/jpg.gif'>$file</a></td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/jpg.gif'>$file</a></td>
<td>$filesize KB</td>
<td align='center' class='linerow'>$filetime</td>
<td>
@@ -112,9 +112,9 @@ foreach ($dh as $file)
}
else if(preg_match("#\.(swf|fla|fly)#i",$file))
{
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href=$activeurl/$file target=_blank><img src='../static/web/img/flash.gif'>$file</a></td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/flash.gif'>$file</a></td>
<td>$filesize KB</td>
<td align='center'>$filetime</td>
<td>
@@ -127,9 +127,9 @@ foreach ($dh as $file)
}
else if(preg_match("#\.(zip|rar|tar.gz)#i",$file))
{
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href=$activeurl/$file target=_blank><img src='../static/web/img/zip.gif'>$file</a></td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/zip.gif'>$file</a></td>
<td>$filesize KB</td>
<td align='center'>$filetime</td>
<td>
@@ -142,9 +142,9 @@ foreach ($dh as $file)
}
else if(preg_match("#\.(exe)#i",$file))
{
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href=$activeurl/$file target=_blank><img src='../static/web/img/exe.gif'>$file</a></td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/exe.gif'>$file</a></td>
<td>$filesize KB</td>
<td align='center'>$filetime</td>
<td>
@@ -157,9 +157,9 @@ foreach ($dh as $file)
}
else if(preg_match("#\.(mp3|wma)#i",$file))
{
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href=$activeurl/$file target=_blank><img src='../static/web/img/mp3.gif'>$file</a></td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/mp3.gif'>$file</a></td>
<td>$filesize KB</td>
<td align='center'>$filetime</td>
<td>
@@ -172,9 +172,9 @@ foreach ($dh as $file)
}
else if(preg_match("#\.(wmv|api)#i",$file))
{
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href=$activeurl/$file target=_blank><img src='../static/web/img/wmv.gif'>$file</a></td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/wmv.gif'>$file</a></td>
<td>$filesize KB</td>
<td align='center'>$filetime</td>
<td>
@@ -187,9 +187,9 @@ foreach ($dh as $file)
}
else if(preg_match("#\.(rm|rmvb)#i",$file))
{
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href=$activeurl/$file target=_blank><img src='../static/web/img/rm.gif'>$file</a></td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/rm.gif'>$file</a></td>
<td>$filesize KB</td>
<td align='center' class='linerow'>$filetime</td>
<td>
@@ -205,7 +205,7 @@ foreach ($dh as $file)
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath);
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href=$activeurl/$file target=_blank><img src='../static/web/img/txt.gif'>$file</a></td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/txt.gif'>$file</a></td>
<td>$filesize KB</td>
<td align='center'>$filetime</td>
<td>
@@ -220,9 +220,9 @@ foreach ($dh as $file)
else if(preg_match("#\.(htm|html)#i",$file))
{
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath);
$line = "\n<tr height='26'onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href=$activeurl/$file target=_blank><img src='../static/web/img/htm.gif'>$file</a></td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/htm.gif'>$file</a></td>
<td>$filesize KB</td>
<td align='center'>$filetime</td>
<td>
@@ -237,9 +237,9 @@ foreach ($dh as $file)
else if(preg_match("#\.(php)#i",$file))
{
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath);
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href=$activeurl/$file target=_blank><img src='../static/web/img/php.gif'>$file</a></td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/php.gif'>$file</a></td>
<td>$filesize KB</td>
<td align='center'>$filetime</td>
<td>
@@ -254,9 +254,9 @@ foreach ($dh as $file)
else if(preg_match("#\.(js)#i",$file))
{
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath);
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href=$activeurl/$file target=_blank><img src='../static/web/img/js.gif'>$file</a></td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/js.gif'>$file</a></td>
<td>$filesize KB</td>
<td align='center'>$filetime</td>
<td>
@@ -271,9 +271,9 @@ foreach ($dh as $file)
else if(preg_match("#\.(css)#i",$file))
{
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath);
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td>
<a href=$activeurl/$file target=_blank><img src='../static/web/img/css.gif'>$file</a></td>
<a href='$activeurl/$file' target='_blank'><img src='../static/web/img/css.gif'>$file</a></td>
<td>$filesize KB</td>
<td align='center'>$filetime</td>
<td>
@@ -285,8 +285,8 @@ foreach ($dh as $file)
</tr>";
$files[] = $line;
} else {
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td><a href=$activeurl/$file target=_blank>$file</td>
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#F8FCF1';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">
<td><a href='$activeurl/$file' target='_blank'>$file</td>
<td>$filesize KB</td>
<td align='center'>$filetime</td>
<td>
@@ -296,24 +296,24 @@ foreach ($dh as $file)
</td>
</tr>";
$files[] = $line;
}
}
foreach ($dirs as $dir)
{
echo $dir;
}
foreach ($files as $file)
{
echo $file;
}
?>
}
}
foreach ($dirs as $dir)
{
echo $dir;
}
foreach ($files as $file)
{
echo $file;
}
?>
<tr>
<td colspan="4" height='26' bgcolor='#f8f8f8'>
<a href='file_manage_main.php' class="btn btn-success btn-sm">根目录</a>
<a href='file_manage_view.php?fmdo=newfile&activepath=<?php echo urlencode($activepath)?>' class="btn btn-success btn-sm">新建文件</a>
<a href='file_manage_view.php?fmdo=newdir&activepath=<?php echo urlencode($activepath)?>' class="btn btn-success btn-sm">新建目录</a>
<a href='file_manage_view.php?fmdo=upload&activepath=<?php echo urlencode($activepath)?>' class="btn btn-success btn-sm">文件上传</a>
<a href='file_manage_control.php?fmdo=space&activepath=<?php echo urlencode($activepath)?>' class="btn btn-success btn-sm">空间检查</a>
<td colspan="4" bgcolor="#f8f8f8">
<a href="file_manage_main.php" class="btn btn-success btn-sm">根目录</a>
<a href="file_manage_view.php?fmdo=newfile&activepath=<?php echo urlencode($activepath)?>" class="btn btn-success btn-sm">新建文件</a>
<a href="file_manage_view.php?fmdo=newdir&activepath=<?php echo urlencode($activepath)?>" class="btn btn-success btn-sm">新建目录</a>
<a href="file_manage_view.php?fmdo=upload&activepath=<?php echo urlencode($activepath)?>" class="btn btn-success btn-sm">文件上传</a>
<a href="file_manage_control.php?fmdo=space&activepath=<?php echo urlencode($activepath)?>" class="btn btn-success btn-sm">空间检查</a>
</td>
</tr>
</table>


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

@@ -26,8 +26,8 @@
}
</script>
<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">
<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">
<tr>
<td style="padding-bottom:1rem">
@@ -38,7 +38,7 @@
<tr>
<td>
<div id="upfield">
<p>文件1:<input type='file' name='upfile1' style='width:380px'></p>
<p>文件1:<input type="file" name="upfile1" style="width:380px"></p>
</div>
</td>
</tr>


+ 78
- 88
src/admin/templets/freelist_add.htm View File

@@ -43,12 +43,12 @@
</li>
</div>
<div style="display:none" id="list3">
<table width='98%' cellspacing='2' cellpadding='0'>
<table width="98%" cellspacing="2" cellpadding="0">
<tr>
<td align='center'>[field:imglink/]</td>
<td align="center">[field:imglink/]</td>
</tr>
<tr>
<td align='center'>[field:textlink/]</td>
<td align="center">[field:textlink/]</td>
</tr>
</table>
</div>
@@ -67,10 +67,10 @@
</div>
</li>
</div>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table-borderless mt-3" style="border:1px solid #dee2e6;border-bottom:none">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table-borderless mt-3" style="border:1px solid #dee2e6;border-bottom:0">
<tr>
<td align="left" background="../static/web/img/tbg.gif" class="py-3" style="padding-left:10px"><a href="freelist_main.php">自由列表管理</a> &gt; 增加一个列表</td>
<td align="right" background="../static/web/img/tbg.gif"></td>
<td align="left" bgcolor="#f8f8f8" class="py-3"><a href="freelist_main.php">自由列表管理</a> &gt; 增加一个列表</td>
<td align="right" bgcolor="#f8f8f8"></td>
</tr>
</table>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable">
@@ -83,152 +83,143 @@
<td style="padding:0">
<table width="100%" cellspacing="1" cellpadding="0">
<tr>
<td height="26" colspan="2" align="left"><i class="fa fa-question-circle" title="帮助"></i> 自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成Google Map、生成按自定义排序规则的文章列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或访问速度</td>
<td colspan="2" align="left"><i class="fa fa-question-circle" title="帮助"></i> 自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成Google Map、生成按自定义排序规则的文章列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或访问速度</td>
</tr>
<tr>
<td width="260" height="26" align="left">自由列表标题:</td>
<td width="260" align="left">自由列表标题:</td>
<td align="left"><input name="title" type="text" id="title" style="width:260px"></td>
</tr>
<tr>
<td height="26" align="left">列表HTML存放目录:</td>
<td align="left"><input name="listdir" type="text" id="listdir" value="{cmspath}/a/freelist/" style="width:260px">
{listdir}变量的值</td>
<td align="left">列表HTML存放目录:</td>
<td align="left"><input name="listdir" type="text" id="listdir" value="{cmspath}/a/freelist/" style="width:260px"> {listdir}变量的值</td>
</tr>
<tr>
<td height="26" align="left">目录默认页名称:</td>
<td align="left">目录默认页名称:</td>
<td align="left">
<input name="defaultpage" type="text" id="defaultpage" value="index.html" style="width:260px">
<label><input name="nodefault" type="checkbox" id="nodefault" value="1">
不使用目录默认主页</label>
<label><input name="nodefault" type="checkbox" id="nodefault" value="1"> 不使用目录默认主页</label>
</td>
</tr>
<tr>
<td height="26" align="left">命名规则:</td>
<td align="left">命名规则:</td>
<td align="left"><input name="namerule" type="text" id="namerule" value="{listdir}/index_{listid}_{page}.html" style="width:260px"></td>
</tr>
<tr>
<td height="26" align="left">列表模板:</td>
<td align="left">列表模板:</td>
<td align="left">
<input name="templet" type="text" id="templet" value="{style}/list_free.htm" style="width:260px">
<button type="button" name="set4" onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览</button>
</td>
</tr>
<tr>
<td height="26" align="left">最大列出页数:</td>
<td align="left">最大列出页数:</td>
<td align="left"><input name="maxpage" type="text" id="maxpage" value="100" style="width:60px"></td>
</tr>
<tr>
<td height="26" align="left"></td>
<td align="left"></td>
<td align="left">以下选项用于模板里的 &lt;meta name=&quot;keywords|description&quot; content=&quot;&quot;&gt; 描述</td>
</tr>
<tr>
<td height="26" align="left">关键词:</td>
<td align="left">关键词:</td>
<td align="left"><input name="keywords" type="text" id="keywords" style="width:260px"></td>
</tr>
<tr>
<td height="26" align="left">列表描述:</td>
<td align="left">列表描述:</td>
<td align="left"><textarea name="description" id="description" style="width:360px;height:50px"></textarea></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" align="left" style="background:#F8FCF1">列表样式:这里是定义自由列表模板里的{dede:freelist/}标记的样式和属性</td>
<td align="left" style="background:#F8FCF1">列表样式:这里是定义自由列表模板里的{dede:freelist/}标记的样式和属性</td>
</tr>
<tr>
<td align="left">
<table width="99%" cellspacing="0" cellpadding="0">
<table width="98%" cellspacing="0" cellpadding="0">
<tr>
<td width="25%" height="126">
<label><img src="../static/web/img/g_t2.jpg" width="130" height="100">
<input name="liststyle" type="radio" onClick="ChangeListStyle()" value="1"></label>
<label><img src="../static/web/img/g_t2.jpg"><input name="liststyle" type="radio" onClick="ChangeListStyle()" value="1"></label>
</td>
<td width="25%">
<label><img src="../static/web/img/g_t1.jpg">
<input type="radio" onClick="ChangeListStyle()" name="liststyle" value="2"></label>
<label><img src="../static/web/img/g_t1.jpg"><input type="radio" onClick="ChangeListStyle()" name="liststyle" value="2"></label>
</td>
<td width="25%">
<label><img src="../static/web/img/g_t3.jpg">
<input type="radio" onClick="ChangeListStyle()" name="liststyle" value="3"></label>
<label><img src="../static/web/img/g_t3.jpg"><input type="radio" onClick="ChangeListStyle()" name="liststyle" value="3"></label>
</td>
<td>
<label><img src="../static/web/img/g_t4.jpg"> <input name="liststyle" type="radio" onClick="ChangeListStyle()" value="4" checked></label>
<label><img src="../static/web/img/g_t4.jpg"><input name="liststyle" type="radio" onClick="ChangeListStyle()" value="4" checked></label>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" align="left">限定栏目:
<td align="left">限定栏目:
<?php
echo "<select name='typeid' style='width:160px'>";
echo "<option value='0'>不限栏目</option>";
$dsql->SetQuery("Select ID,typename, channeltype From #@__arctype");
$dsql->Execute();
while($lrow = $dsql->GetObject()){
$disable = '';
if($lrow->channeltype < -1)
{
$disable = 'disabled';
}
echo "<option value='{$lrow->ID}' $disable>{$lrow->typename}</option>";
}
echo "</select>";
?> </td>
echo "<select name='typeid' style='width:160px'>";
echo "<option value='0'>不限栏目</option>";
$dsql->SetQuery("Select ID,typename, channeltype From #@__arctype");
$dsql->Execute();
while($lrow = $dsql->GetObject()){
$disable = '';
if($lrow->channeltype < -1)
{
$disable = 'disabled';
}
echo "<option value='{$lrow->ID}' $disable>{$lrow->typename}</option>";
}
echo "</select>";
?>
</td>
</tr>
<tr>
<td height="26" align="left">限定频道:
<td align="left">限定频道:
<?php
echo "<select name='channel' style='width:160px'>";
echo "<option value='0' selected>不限</option>";
$dsql->SetQuery("Select ID,typename From #@__channeltype where ID>0");
$dsql->Execute();
while($row = $dsql->GetObject())
{
echo "<option value='{$row->ID}'>{$row->typename}</option>";
}
echo "</select>";
?>
 (如果限定了频道内容模型,则允许使用附加表指定的列表字段作为底层变量)</td>
echo "<select name='channel' style='width:160px'>";
echo "<option value='0' selected>不限</option>";
$dsql->SetQuery("Select ID,typename From #@__channeltype where ID>0");
$dsql->Execute();
while($row = $dsql->GetObject())
{
echo "<option value='{$row->ID}'>{$row->typename}</option>";
}
echo "</select>";
?>(如果限定了频道内容模型,则允许使用附加表指定的列表字段作为底层变量)
</td>
</tr>
<tr>
<td height="26" align="left">附加属性:
<td align="left">附加属性:
<?php
echo "<select name='att' style='width:160px'>";
echo "<option value='0' selected>不限</option>";
$dsql->SetQuery("Select * From #@__arcatt");
$dsql->Execute();
while($row = $dsql->GetObject())
{
echo "<option value='{$row->att}'>{$row->attname}</option>";
}
echo "</select>";
?>
echo "<select name='att' style='width:160px'>";
echo "<option value='0' selected>不限</option>";
$dsql->SetQuery("Select * From #@__arcatt");
$dsql->Execute();
while($row = $dsql->GetObject())
{
echo "<option value='{$row->att}'>{$row->attname}</option>";
}
echo "</select>";
?>
文档发布时间:<input name="subday" type="text" id="subday2" value="0" style="width:60px"> 天以内(0表示不限)
</td>
</tr>
<tr>
<td height="26" align="left">每页记录数:
<input name="pagesize" type="text" id="pagesize" value="30" style="width:60px">
显示列数:
<input name="col" type="text" id="col3" value="1" style="width:60px">
标题长度:
<input name="titlelen" type="text" id="titlelen" value="60" style="width:60px"(1字节 = 0.5个中文字)
<td align="left">
每页记录数:<input name="pagesize" type="text" id="pagesize" value="30" style="width:60px">
显示列数: <input name="col" type="text" id="col3" value="1" style="width:60px">
标题长度:<input name="titlelen" type="text" id="titlelen" value="60" style="width:60px">(1字节 = 0.5个中文字)
</td>
</tr>
<tr>
<td height="26" align="left"> 高级筛选:
<label><input name="types[]" type="checkbox" id="type1" value="image">
带缩略图</label>
<label><input name="types[]" type="checkbox" id="type2" value="commend">
推荐</label>
<label><input name="types[]" type="checkbox" id="type3" value="spec">
专题</label> 关键词:
<input name="keywordarc" type="text" id="keywordarc">(&quot;,&quot;逗号分开)
<td align="left">高级筛选:
<label><input name="types[]" type="checkbox" id="type1" value="image"> 带缩略图</label>
<label><input name="types[]" type="checkbox" id="type2" value="commend"> 推荐</label>
<label><input name="types[]" type="checkbox" id="type3" value="spec"> 专题</label>
关键词:<input name="keywordarc" type="text" id="keywordarc">(&quot;,&quot;逗号分开)
</td>
</tr>
<tr>
<td height="26" align="left">排列顺序:
<td align="left">排列顺序:
<select name="orderby" id="orderby" style="width:160px">
<option value="sortrank">置顶权限值</option>
<option value="pubdate" selected>发布时间</option>
@@ -238,17 +229,16 @@
<option value="lastpost">最后评论时间</option>
<option value="postnum">评论总数</option>
</select>
<label><input name="order" type="radio" value="desc" checked>
由高到低</label>
<label><input type="radio" name="order" value="asc">
由低到高</label>
<label><input name="order" type="radio" value="desc" checked> 由高到低</label>
<label><input type="radio" name="order" value="asc"> 由低到高</label>
</td>
</tr>
<tr>
<td height="26" align="left">循环内的单行记录样式(InnerText):[<a href='javascript:ShowHide("innervar");'><i class="fa fa-question-circle" title="帮助"></i> 底层变量field参考</a>]</td>
<td align="left">循环内的单行记录样式(InnerText):[<a href='javascript:ShowHide("innervar");'><i class="fa fa-question-circle" title="帮助"></i> 底层变量field参考</a>]</td>
</tr>
<tr>
<td height="99" align="left"><textarea name="innertext" cols="80" rows="6" id="myinnertext" style="width:80%;height:120px"></textarea>
<td height="99" align="left">
<textarea name="innertext" cols="80" rows="6" id="myinnertext" style="width:80%;height:120px"></textarea>
<script>document.form1.innertext.value = document.getElementById("list4").innerHTML.toLowerCase();</script>
</td>
</tr>


+ 89
- 96
src/admin/templets/freelist_edit.htm View File

@@ -18,7 +18,7 @@
else if (myems[1].checked) itxt.value = document.getElementById("list2").innerHTML;
else if (myems[2].checked) itxt.value = document.getElementById("list3").innerHTML;
else if (myems[3].checked) itxt.value = document.getElementById("list4").innerHTML;
itxt.value = itxt.value.replace("<BR>", "<br>");
itxt.value = itxt.value.replace("<br>", "<br>");
itxt.value = itxt.value.toLowerCase();
}
function ShowHide(objname) {
@@ -55,10 +55,10 @@
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="aid" value="<?php echo $row['aid']?>">
<tr>
<td height="26" background="../static/web/img/tbg.gif">
<td bgcolor="#f8f8f8">
<table width="98%" cellpadding="0" cellspacing="0" class="table-borderless">
<tr>
<td width="30%" style="padding-left:10px"><a href="freelist_main.php">自由列表管理</a> &gt; 修改自由列表</td>
<td width="30%"><a href="freelist_main.php">自由列表管理</a> &gt; 修改自由列表</td>
<td width="70%" align="right"></td>
</tr>
</table>
@@ -71,26 +71,25 @@
<td style="padding:0">
<table width="100%" cellspacing="1" cellpadding="0">
<tr>
<td height="26" colspan="2" align="left"><i class="fa fa-question-circle" title="帮助"></i> 自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成Google Map、生成按自定义排序规则的文章列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或访问速度</td>
<td colspan="2" align="left"><i class="fa fa-question-circle" title="帮助"></i> 自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成Google Map、生成按自定义排序规则的文章列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或访问速度</td>
</tr>
<tr>
<td width="260" height="26" align="left">自由列表标题:</td>
<td width="260" align="left">自由列表标题:</td>
<td align="left"><input name="title" type="text" id="title" value="<?php echo $row['title']?>" style="width:260px"></td>
</tr>
<tr>
<td height="26" align="left">列表HTML存放目录:</td>
<td align="left">列表HTML存放目录:</td>
<td align="left"><input name="listdir" type="text" id="listdir" value="<?php echo $row['listdir']?>" style="width:260px"> {listdir}变量的值</td>
</tr>
<tr>
<td height="26" align="left">目录默认页名称:</td>
<td align="left">目录默认页名称:</td>
<td align="left">
<input name="defaultpage" type="text" id="defaultpage" value="<?php echo $row['defaultpage']?>" style="width:260px">
<label><input name="nodefault" type="checkbox" id="nodefault" value="1" <?php if($row['nodefault']==1) echo " checked"; ?>>
不使用目录默认主页</label>
<label><input name="nodefault" type="checkbox" id="nodefault" value="1" <?php if($row['nodefault']==1) echo " checked"; ?>> 不使用目录默认主页</label>
</td>
</tr>
<tr>
<td height="26" align="left">命名规则:</td>
<td align="left">命名规则:</td>
<td align="left"><input name="namerule" type="text" id="namerule" value="<?php echo $row['namerule']?>" style="width:260px"></td>
</tr>
<tr>
@@ -101,127 +100,123 @@
</td>
</tr>
<tr>
<td height="26" align="left">最大列出页数:</td>
<td align="left">最大列出页数:</td>
<td align="left"><input name="maxpage" type="text" id="maxpage" value="<?php echo $row['maxpage']; ?>" style="width:60px"></td>
</tr>
<tr>
<td height="26" align="left"></td>
<td align="left"></td>
<td align="left">以下选项用于模板里的 &lt;meta name=&quot;keywords|description&quot; content=&quot;&quot;&gt; 描述</td>
</tr>
<tr>
<td height="26" align="left">关键词:</td>
<td align="left">关键词:</td>
<td align="left"><input name="keywords" type="text" id="keywords" value="<?php echo $row['keywords']; ?>" style="width:260px"></td>
</tr>
<tr>
<td height="26" align="left">列表描述:</td>
<td align="left">列表描述:</td>
<td align="left"><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $row['description']?></textarea></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" align="left" style="background:#F8FCF1">列表样式:这里是定义自由列表模板里的{dede:freelist/}标记的样式和属性</td>
<td align="left" style="background:#F8FCF1">列表样式:这里是定义自由列表模板里的{dede:freelist/}标记的样式和属性</td>
</tr>
<tr>
<td height="26" align="left">限定栏目:
<td align="left">限定栏目:
<?php
$typeid = $ctag->GetAtt('typeid');
echo "<select name='typeid' style='width:160px'>";
echo "<option value='0'>不限栏目</option>";
$dsql->SetQuery("Select id,typename, channeltype From #@__arctype");
$dsql->Execute();
while($lrow = $dsql->GetObject()){
$disable = '';
if($lrow->channeltype < -1)
{
$disable = 'disabled';
}
if($lrow->id==$typeid) echo "<option value='{$lrow->id}' selected $disable>{$lrow->typename}</option>";
else echo "<option value='{$lrow->id}' $disable>{$lrow->typename}</option>";
}
echo "</select>";
?></td>
$typeid = $ctag->GetAtt('typeid');
echo "<select name='typeid' style='width:160px'>";
echo "<option value='0'>不限栏目</option>";
$dsql->SetQuery("Select id,typename, channeltype From #@__arctype");
$dsql->Execute();
while($lrow = $dsql->GetObject()){
$disable = '';
if($lrow->channeltype < -1)
{
$disable = 'disabled';
}
if($lrow->id==$typeid) echo "<option value='{$lrow->id}' selected $disable>{$lrow->typename}</option>";
else echo "<option value='{$lrow->id}' $disable>{$lrow->typename}</option>";
}
echo "</select>";
?>
</td>
</tr>
<tr>
<td height="26" align="left">限定频道:
<td align="left">限定频道:
<?php
$channel = $ctag->GetAtt('channel');
echo "<select name='channel' style='width:160px'><option value='0'>不限</option>";
$dsql->SetQuery("Select id,typename From #@__channeltype where id>0");
$dsql->Execute();
while($nrow = $dsql->GetObject())
{
if($nrow->id==$channel) echo "<option value='{$nrow->id}' selected>{$nrow->typename}</option>";
else echo "<option value='{$nrow->id}'>{$nrow->typename}</option>";
}
echo "</select>";
?>
 (如果限定了频道内容模型,则允许使用附加表指定的列表字段作为底层变量)</td>
$channel = $ctag->GetAtt('channel');
echo "<select name='channel' style='width:160px'><option value='0'>不限</option>";
$dsql->SetQuery("Select id,typename From #@__channeltype where id>0");
$dsql->Execute();
while($nrow = $dsql->GetObject())
{
if($nrow->id==$channel) echo "<option value='{$nrow->id}' selected>{$nrow->typename}</option>";
else echo "<option value='{$nrow->id}'>{$nrow->typename}</option>";
}
echo "</select>";
?>(如果限定了频道内容模型,则允许使用附加表指定的列表字段作为底层变量)
</td>
</tr>
<tr>
<td height="26" align="left">附加属性:
<td align="left">附加属性:
<?php
$att = $ctag->GetAtt('att');
echo "<select name='att' style='width:160px'>";
echo "<option value='0'>不限</option>";
$dsql->SetQuery("Select * From #@__arcatt");
$dsql->Execute();
while($nrow = $dsql->GetObject())
{
if($att==$nrow->att)
{
echo "<option value='{$nrow->att}' selected>{$nrow->attname}</option>";
} else {
echo "<option value='{$nrow->att}'>{$nrow->attname}</option>";
}
}
echo "</select>";
?>
$att = $ctag->GetAtt('att');
echo "<select name='att' style='width:160px'>";
echo "<option value='0'>不限</option>";
$dsql->SetQuery("Select * From #@__arcatt");
$dsql->Execute();
while($nrow = $dsql->GetObject())
{
if($att==$nrow->att)
{
echo "<option value='{$nrow->att}' selected>{$nrow->attname}</option>";
} else {
echo "<option value='{$nrow->att}'>{$nrow->attname}</option>";
}
}
echo "</select>";
?>
文档发布时间:<input name="subday" type="text" id="subday" size="6" value="<?php echo $ctag->GetAtt('subday')?>"> 天以内(0表示不限)
</td>
</tr>
<tr>
<td height="26" align="left">每页记录数:
<input name="pagesize" type="text" id="pagesize" value="<?php echo $ctag->GetAtt('pagesize')?>" size="4">
显示列数:
<input name="col" type="text" id="col" value="<?php $col = $ctag->GetAtt('col'); $v = ( empty($col) ? '1' : $col ); echo $v; ?>" size="4">
标题长度:
<input name="titlelen" type="text" id="titlelen" value="<?php echo $ctag->GetAtt('titlelen')?>" size="4">(1字节 = 0.5个中文字)
<td align="left">
每页记录数:<input name="pagesize" type="text" id="pagesize" value="<?php echo $ctag->GetAtt('pagesize')?>" size="4">
显示列数:<input name="col" type="text" id="col" value="<?php $col = $ctag->GetAtt('col'); $v = ( empty($col) ? '1' : $col ); echo $v; ?>" size="4">
标题长度:<input name="titlelen" type="text" id="titlelen" value="<?php echo $ctag->GetAtt('titlelen')?>" size="4">(1字节 = 0.5个中文字)
</td>
</tr>
<tr>
<td height="26" align="left">
<td align="left">
<?php
$setype = $ctag->GetAtt('type');
if($setype=='') $setype = 'X';
?>
$setype = $ctag->GetAtt('type');
if($setype=='') $setype = 'X';
?>
高级筛选:
<label><input name="types[]" type="checkbox" id="type1" value="image" <?php if(preg_match("#image#i",$setype)) echo ' checked'; ?>>
带缩略图</label>
<label><input name="types[]" type="checkbox" id="type2" value="commend" <?php if(preg_match("#commend#i", $setype)) echo ' checked'; ?>>
推荐</label>
<label><input name="types[]" type="checkbox" id="type3" value="spec" class="inputbut" <?php if(preg_match("#spec#i", $setype)) echo ' checked'; ?>>
专题</label>
<label><input name="types[]" type="checkbox" id="type1" value="image" <?php if(preg_match("#image#i",$setype)) echo ' checked'; ?>> 带缩略图</label>
<label><input name="types[]" type="checkbox" id="type2" value="commend" <?php if(preg_match("#commend#i", $setype)) echo ' checked'; ?>> 推荐</label>
<label><input name="types[]" type="checkbox" id="type3" value="spec" class="inputbut" <?php if(preg_match("#spec#i", $setype)) echo ' checked'; ?>> 专题</label>
关键词:<input name="keywordarc" type="text" id="keywordarc" value="<?php echo $ctag->GetAtt('keyword')?>">(&quot;,&quot;逗号分开)
</td>
</tr>
<tr>
<td height="26" align="left">排列顺序:
<td align="left">排列顺序:
<?php
$orderby = $ctag->GetAtt('orderby');
$sorta = "sortrank,置顶权限值;pubdate,发布时间;senddate,录入时间;click,点击量;id,文档ID,lastpost,最后评论时间;postnum,评论总数;rand,随机获取";
$sortas = explode(';',$sorta);
foreach($sortas as $v)
{
$vs = explode(',',$v);
$vs[0] = trim($vs[0]);
$sortarrs[$vs[0]] = $vs[1];
}
?>
$orderby = $ctag->GetAtt('orderby');
$sorta = "sortrank,置顶权限值;pubdate,发布时间;senddate,录入时间;click,点击量;id,文档ID,lastpost,最后评论时间;postnum,评论总数;rand,随机获取";
$sortas = explode(';',$sorta);
foreach($sortas as $v)
{
$vs = explode(',',$v);
$vs[0] = trim($vs[0]);
$sortarrs[$vs[0]] = $vs[1];
}
?>
<select name="orderby" id="orderby" style="width:160px">
<?php
echo "<option value=\"$orderby\" selected>{$sortarrs[$orderby]}</option>";
?>
echo "<option value=\"$orderby\" selected>{$sortarrs[$orderby]}</option>";
?>
<option value="sortrank">置顶权限值</option>
<option value="pubdate">发布时间</option>
<option value="senddate">录入时间</option>
@@ -230,14 +225,12 @@
<option value="lastpost">最后评论时间</option>
<option value="postnum">评论总数</option>
</select>
<label><input name="order" type="radio" value="desc" <?php if($ctag->GetAtt('orderway')=='desc') echo " checked"; ?>>
由高到低</label>
<label><input type="radio" name="order" value="asc" <?php if($ctag->GetAtt('orderway')=='asc') echo " checked"; ?>>
由低到高</label>
<label><input name="order" type="radio" value="desc" <?php if($ctag->GetAtt('orderway')=='desc') echo " checked"; ?>> 由高到低</label>
<label><input type="radio" name="order" value="asc" <?php if($ctag->GetAtt('orderway')=='asc') echo " checked"; ?>> 由低到高</label>
</td>
</tr>
<tr>
<td height="26" align="left">循环内的单行记录样式(InnerText):[<a href='javascript:ShowHide("innervar");'><i class="fa fa-question-circle" title="帮助"></i> 底层变量field参考</a>]</td>
<td align="left">循环内的单行记录样式(InnerText):[<a href='javascript:ShowHide("innervar");'><i class="fa fa-question-circle" title="帮助"></i> 底层变量field参考</a>]</td>
</tr>
<tr>
<td height="80" align="left">


+ 24
- 25
src/admin/templets/freelist_main.htm View File

@@ -104,35 +104,14 @@
</script>
</head>
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="maintable mt-3" style="border:1px solid #dee2e6;border-bottom:none">
<table width="98%" cellpadding="5" cellspacing="1" align="center" class="table table-borderless maintable mt-3 mb-3">
<tr>
<td class="tbtitletxt" background="../static/web/img/tbg.gif">
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td width='36%' class="py-3" style="padding-left:10px">自由列表管理</td>
<td width="30%"></td>
<td width="34%" align="right" style="padding-right:10px"><a href="freelist_add.php" class="btn btn-success btn-sm">增加列表</a></td>
</tr>
</table>
</td>
</tr>
</table>
<div id='rslist'>
<?php
GetTagList($dsql,$pageno,$pagesize,$orderby);
?>
</div>
<div id='pagelist' class="mt-3 mb-3">
<script>ReloadPageNum(1);</script>
</div>
<table width="98%" cellpadding="5" cellspacing="1" align="center" style="margin:auto;border:1px solid #dee2e6" class="table table-borderless maintable mb-3">
<tr>
<td bgcolor="#f8f8f8" height="36" align="center">
<table width="100%" cellpadding="0" cellspacing="0" class="table">
<td bgcolor="#f8f8f8" align="center">
<table cellpadding="0" cellspacing="0" class="table">
<form action="freelist_main.php" name="form1" id="form1">
<tr>
<td width="170" align="center">
<input type="text" name="keyword" id="keyword" class='alltxt' value="<?php echo $keyword?>" style="width:160px">
<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>
@@ -145,5 +124,25 @@
</td>
</tr>
</table>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="maintable mb-3">
<tr>
<td bgcolor="#f8f8f8">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="30%" class="py-3">自由列表管理</td>
<td width="70%" align="right"><a href="freelist_add.php" class="btn btn-success btn-sm">增加列表</a></td>
</tr>
</table>
</td>
</tr>
</table>
<div id="rslist">
<?php
GetTagList($dsql,$pageno,$pagesize,$orderby);
?>
</div>
<div id="pagelist" class=" mb-3">
<script>ReloadPageNum(1);</script>
</div>
</body>
</html>

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

@@ -32,72 +32,72 @@
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="friendlink_main.php">友情链接管理</a> &gt; 增加链接</td>
<td bgcolor="#f8f8f8"><a href="friendlink_main.php">友情链接管理</a> &gt; 增加链接</td>
</tr>
<tr>
<td>
<form action="friendlink_add.php" method="post" enctype="multipart/form-data" name="form1" onSubmit="return CheckSubmit();";>
<input type="hidden" name="dopost" value="add">
<table width="80%" cellspacing="1" cellpadding="3" class="table table-borderless">
<tr>
<td width="260" height="26">网址:</td>
<td height="26"><input name="url" type="text" id="url" value="http://" class='pubinputs' style="width:260px"></td>
</tr>
<tr>
<td height="26">网站名称:</td>
<td><input name="webname" type="text" id="webname" size="30" class='pubinputs' style="width:260px"></td>
</tr>
<tr>
<td height="26">排列位置:</td>
<td><input name="sortrank" type="text" id="sortrank" value="1" class='pubinputs' style='width:60px'>(由小到大排列)</td>
</tr>
<tr>
<td height="26">网站Logo:</td>
<td><input name="logo" type="text" id="logo" size="30" class='pubinputs' style="width:260px">(88*31 gif或jpg)</td>
</tr>
<tr>
<td height="26">上传Logo:</td>
<td><input name="logoimg" type="file" id="logoimg" style="width:260px"></td>
</tr>
<tr>
<td height="26">网站简况:</td>
<td><textarea name="msg" id="msg" style="width:360px;height:50px"></textarea></td>
</tr>
<tr>
<td height="26">站长Email:</td>
<td><input name="email" type="text" id="email" class='pubinputs' style="width:260px"></td>
</tr>
<tr>
<td height="26">网站类型:</td>
<td>
<select name="typeid" id="typeid" style="width:160px">
<?php
$dsql->SetQuery("select * from #@__flinktype");
$dsql->Execute();
while($row=$dsql->GetObject())
{
echo " <option value='".$row->id."'>".$row->typename."</option>";
}
?>
</select>
</td>
</tr>
<tr>
<td height="26">链接位置:</td>
<td>
<label><input type='radio' name='ischeck' value="1" checked='1'> 内页</label>
<label><input type='radio' name='ischeck' value="2"/> 首页 </label>
</td>
</tr>
<tr>
<td colspan="2" align="center" class="py-3">
<button type="submit" name="Submit" class="btn btn-success btn-sm">提交</button>
<button type="reset" name="Submit" onClick="location.href='<?php echo $ENV_GOBACK_URL?>';" class="btn btn-success btn-sm">返回</button>
</td>
</tr>
</table>
</form>
</td>
<td>
<form action="friendlink_add.php" method="post" enctype="multipart/form-data" name="form1" onSubmit="return CheckSubmit();";>
<input type="hidden" name="dopost" value="add">
<table width="98%" cellspacing="1" cellpadding="3" class="table table-borderless">
<tr>
<td width="260">网址:</td>
<td><input name="url" type="text" id="url" value="http://" class='pubinputs' style="width:260px"></td>
</tr>
<tr>
<td>网站名称:</td>
<td><input name="webname" type="text" id="webname" size="30" class='pubinputs' style="width:260px"></td>
</tr>
<tr>
<td>排列位置:</td>
<td><input name="sortrank" type="text" id="sortrank" value="1" class='pubinputs' style='width:60px'>(由小到大排列)</td>
</tr>
<tr>
<td>网站Logo:</td>
<td><input name="logo" type="text" id="logo" size="30" class='pubinputs' style="width:260px">(88*31 gif或jpg)</td>
</tr>
<tr>
<td>上传Logo:</td>
<td><input name="logoimg" type="file" id="logoimg" style="width:260px"></td>
</tr>
<tr>
<td>网站简况:</td>
<td><textarea name="msg" id="msg" style="width:360px;height:50px"></textarea></td>
</tr>
<tr>
<td>站长Email:</td>
<td><input name="email" type="text" id="email" class='pubinputs' style="width:260px"></td>
</tr>
<tr>
<td>网站类型:</td>
<td>
<select name="typeid" id="typeid" style="width:160px">
<?php
$dsql->SetQuery("select * from #@__flinktype");
$dsql->Execute();
while($row=$dsql->GetObject())
{
echo " <option value='".$row->id."'>".$row->typename."</option>";
}
?>
</select>
</td>
</tr>
<tr>
<td>链接位置:</td>
<td>
<label><input type="radio" name="ischeck" value="1" checked="1"> 内页</label>
<label><input type="radio" name="ischeck" value="2"> 首页 </label>
</td>
</tr>
<tr>
<td colspan="2" align="center" class="py-3">
<button type="submit" name="Submit" class="btn btn-success btn-sm">提交</button>
<button type="reset" name="Submit" onClick="location.href='<?php echo $ENV_GOBACK_URL?>';" class="btn btn-success btn-sm">返回</button>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</body>

+ 25
- 28
src/admin/templets/friendlink_edit.htm View File

@@ -11,7 +11,7 @@
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="friendlink_main.php">友情链接管理</a> &gt; 链接修改</td>
<td bgcolor="#f8f8f8"><a href="friendlink_main.php">友情链接管理</a> &gt; 链接修改</td>
</tr>
<tr>
<td>
@@ -20,56 +20,53 @@
<input type="hidden" name="dopost" value="saveedit">
<table width="80%" cellspacing="1" cellpadding="3" class="table table-borderless">
<tr>
<td width="260" height="26">网址:</td>
<td height="26"><input name="url" type="text" id="url" value="<?php echo $myLink['url']?>" class='pubinputs' style="width:260px"></td>
<td width="260">网址:</td>
<td><input name="url" type="text" id="url" value="<?php echo $myLink['url']?>" style="width:260px"></td>
</tr>
<tr>
<td width="260" height="26">排列位置:</td>
<td height="26"><input name="sortrank" type="text" id="sortrank" value="<?php echo $myLink['sortrank']?>" class='pubinputs' style="width:60px">(由小到大排列)</td>
<td width="260">排列位置:</td>
<td><input name="sortrank" type="text" id="sortrank" value="<?php echo $myLink['sortrank']?>" style="width:60px">(由小到大排列)</td>
</tr>
<tr>
<td height="26">网站名称:</td>
<td><input name="webname" type="text" id="webname" size="30" value="<?php echo $myLink['webname']?>" class='pubinputs' style="width:260px"></td>
<td>网站名称:</td>
<td><input name="webname" type="text" id="webname" value="<?php echo $myLink['webname']?>" style="width:260px"></td>
</tr>
<tr>
<td height="26">网站Logo:</td>
<td><input name="logo" type="text" id="logo" size="40" value="<?php echo $myLink['logo']?>" style="width:260px">(88*31 gif或jpg)</td>
<td>网站Logo:</td>
<td><input name="logo" type="text" id="logo" value="<?php echo $myLink['logo']?>" style="width:260px">(88*31 gif或jpg)</td>
</tr>
<tr>
<td height="26">上传Logo:</td>
<td>上传Logo:</td>
<td><input name="logoimg" type="file" id="logoimg" style="width:260px"></td>
</tr>
<tr>
<td height="26">网站简况:</td>
<td>网站简况:</td>
<td><textarea name="msg" id="msg" style="width:360px;height:50px"><?php echo dede_htmlspecialchars($myLink['msg'])?></textarea></td>
</tr>
<tr>
<td height="26">站长Email:</td>
<td><input name="email" type="text" id="email" value="<?php echo $myLink['email']?>" class='pubinputs' style="width:260px"></td>
<td>站长Email:</td>
<td><input name="email" type="text" id="email" value="<?php echo $myLink['email']?>" class="pubinputs" style="width:260px"></td>
</tr>
<tr>
<td height="26">链接位置:</td>
<td>链接位置:</td>
<td>
<label><input type='radio' name='ischeck' value="0" <?php if($myLink['ischeck']==0) echo " checked='1' "?> />
未审核</label>
<label><input type='radio' name='ischeck' value="1" <?php if($myLink['ischeck']==1) echo " checked='1' "?> />
内页</label>
<label><input type='radio' name='ischeck' value="2" <?php if($myLink['ischeck']==2) echo " checked='1' "?> />
首页</label>
<label><input type="radio" name="ischeck" value="0" <?php if($myLink['ischeck']==0) echo " checked='1' "?>> 未审核</label>
<label><input type="radio" name="ischeck" value="1" <?php if($myLink['ischeck']==1) echo " checked='1' "?>> 内页</label>
<label><input type="radio" name="ischeck" value="2" <?php if($myLink['ischeck']==2) echo " checked='1' "?>> 首页</label>
</td>
</tr>
<tr>
<td height="26">网站类型:</td>
<td>网站类型:</td>
<td>
<select name="typeid" id="typeid" style="width:160px">
<?php
echo " <option value='".$myLink['typeid']."'>".$myLink['typename']."</option>";
$dsql->SetQuery("select * from #@__flinktype where id<>'".$myLink['typeid']."'");
$dsql->Execute();
while($row=$dsql->GetObject()){
echo " <option value='".$row->id."'>".$row->typename."</option>";
}
?>
echo " <option value='".$myLink['typeid']."'>".$myLink['typename']."</option>";
$dsql->SetQuery("select * from #@__flinktype where id<>'".$myLink['typeid']."'");
$dsql->Execute();
while($row=$dsql->GetObject()){
echo " <option value='".$row->id."'>".$row->typename."</option>";
}
?>
</select>
</td>
</tr>


+ 21
- 26
src/admin/templets/friendlink_main.htm View File

@@ -38,19 +38,17 @@
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td height="26" background="../static/web/img/tbg.gif" colspan="8" style="padding-left:10px">
<div style="float:left">
友情链接管理
</div>
<td bgcolor="#f8f8f8" colspan="8">
<div style="float:left">友情链接管理</div>
<div style="float:right;padding-right:10px">
<a href="friendlink_add.php" class="btn btn-success btn-sm">增加链接</a>
<a href="friendlink_type.php" class="btn btn-success btn-sm">网站类型管理</a>
<a href='{dede:global name=' cfg_phpurl' /}/flink.php' target='_blank' class="btn btn-success btn-sm">友情链接预览</a>
<a href="{dede:global name=' cfg_phpurl' /}/flink.php" target="_blank" class="btn btn-success btn-sm">友情链接预览</a>
</div>
</td>
</tr>
<tr>
<td height="26" align="center" bgcolor="#f8f8f8" colspan="8">
<td align="center" bgcolor="#f8f8f8" colspan="8">
<form action="friendlink_main.php" name="form1" method="get">
<table cellspacing="0" cellpadding="3" class="table table-borderless">
<tr>
@@ -58,12 +56,12 @@
<td width="170">
<select name="ischeck" id="ischeck" style="width:160px">
<?php
foreach($selCheckArr as $k=>$v)
{
if($k==$ischeck) echo "<option value='$k' selected>$v</option>";
else echo "<option value='$k'>$v</option>";
}
?>
foreach($selCheckArr as $k=>$v)
{
if($k==$ischeck) 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>
@@ -72,10 +70,10 @@
</form>
</td>
</tr>
<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 align="center" bgcolor="#F8FCF1" height="26">
<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="#F8FCF1" align="center">
<td width="6%">选择</td>
<td width="23%">网站名称</td>
<td width="12%">网站Logo</td>
@@ -86,7 +84,7 @@
<td width="15%">管理</td>
</tr>
{dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'}
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input type='checkbox' name='aids' value='{dede:field.id/}' class='np'></td>
<td>{dede:field.webname function='dede_htmlspecialchars(@me)'/}<br><i>地址:{dede:field.url/}</i> </td>
<td>{dede:field.logo function="GetPic(@me)"/}</td>
@@ -95,25 +93,22 @@
<td>{dede:field.ischeck function="GetSta(@me)"/}</td>
<td>{dede:field.sortrank/}</td>
<td>
<a href='friendlink_edit.php?id={dede:field.id/}&dopost=getedit' class="btn btn-success btn-sm">修改</a>
<a href='friendlink_edit.php?id={dede:field.id/}&dopost=delete' class="btn btn-success btn-sm">删除</a>
<a href="friendlink_edit.php?id={dede:field.id/}&dopost=getedit" class="btn btn-success btn-sm">修改</a>
<a href="friendlink_edit.php?id={dede:field.id/}&dopost=delete"class="btn btn-success btn-sm">删除</a>
</td>
</tr>
{/dede:datalist}
</form>
<tr>
<td colspan="8">
<a href='javascript:;' onclick='Sel("all")' class="btn btn-success btn-sm">全选</a>
<a href='javascript:;' onclick='Sel("none")' class="btn btn-success btn-sm">取消</a>
<a href='javascript:;' onclick='checkSubmit()' class="btn btn-success btn-sm">批量删除</a>
<a href="javascript:;" onclick="Sel('all')" class="btn btn-success btn-sm">全选</a>
<a href="javascript:;" onclick="Sel('none')" class="btn btn-success btn-sm">取消</a>
<a href="javascript:;" onclick="checkSubmit()" class="btn btn-success btn-sm">批量删除</a>
</td>
</tr>
<tr align="center" bgcolor="#f8f8f8" height="36">
<tr height="36" bgcolor="#f8f8f8" align="center">
<td colspan="8">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

+ 21
- 31
src/admin/templets/friendlink_type.htm View File

@@ -13,55 +13,45 @@
<form name="form1" action="friendlink_type.php" method="post">
<input type="hidden" name="dopost" value="save">
<tr>
<td height="26" background="../static/web/img/tbg.gif" colspan="9" style="padding-left:10px">
<a href="friendlink_main.php">友情链接管理</a>&nbsp;
<td bgcolor="#f8f8f8" colspan="3">
<a href="friendlink_main.php">友情链接管理</a>
<a href="friendlink_add.php" class="btn btn-success btn-sm">增加链接</a>
<a href="friendlink_type.php" class="btn btn-success btn-sm">网站类型管理</a>
<a href='../apps/flink_add.php' target='_blank' class="btn btn-success btn-sm">外部申请表单</a>
<a href="../apps/flink_add.php" target="_blank" class="btn btn-success btn-sm">外部申请表单</a>
</td>
</tr>
<tr bgcolor="#F8FCF1">
<td width="4%" height="26" align="center">类型ID</td>
<td width="4%" align="center">类型ID</td>
<td width="60%" align="center">网站名称</td>
<td width="36%" align="center">状态</td>
</tr>
<?php
$dsql->SetQuery("Select * From #@__flinktype");
$dsql->Execute();
$k=0;
while($row = $dsql->GetObject())
{
$k++;
?>
$dsql->SetQuery("Select * From #@__flinktype");
$dsql->Execute();
$k=0;
while($row = $dsql->GetObject())
{
$k++;
?>
<input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id?>">
<tr align="center">
<td height="26"><?php echo $row->id; ?>
</td>

<td height="26"><input name="pname_<?php echo $k?>" value="<?php echo $row->typename?>" type="text" id="pname_<?php echo $k?>" class='pubinputs' style="width:90%"></td>
<td>
<label><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked='1'
class='np'>
保留 </label></td>
<td><?php echo $row->id; ?></td>
<td><input name="pname_<?php echo $k?>" value="<?php echo $row->typename?>" type="text" id="pname_<?php echo $k?>" style="width:90%"></td>
<td><label><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked='1' class='np'> 保留</label></td>
</tr>
<?php
}
?>
}
?>
<input type="hidden" name="idend" value="<?php echo $k?>">
<tr bgcolor="#F8FCF1">
<td height="26" colspan="5" bgcolor="#f8f8f8">新增一个网站类型:</td>
<td colspan="3" bgcolor="#f8f8f8">新增一个网站类型:</td>
</tr>
<tr height="26" align="center">
<td colspan="2">
<input name="pname_new" type="text" id="pname_new" class='pubinputs' style="width:90%"></td>

<td align="center">
<label><input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np'>
新增 </label></td>
<tr align="center">
<td colspan="2"><input name="pname_new" type="text" id="pname_new" class="pubinputs" style="width:90%"></td>
<td align="center"><label><input name="check_new" type="checkbox" id="check_new" value="1" checked="1" class="np"> 新增</label></td>
</tr>
<tr>
<td height="26" colspan="5" align="center" bgcolor="#f8f8f8">
<input name="imageField" type="submit" class="np coolbg" value="确定"></td>
<td colspan="3" align="center" bgcolor="#f8f8f8"><input name="imageField" type="submit" class="np coolbg" value="确定"></td>
</tr>
</form>
</table>


+ 7
- 2
src/admin/templets/index.htm View File

@@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title><?php echo $cfg_webname; ?>后台管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="css/frame.css">
<script src="../static/web/js/jquery.min.js"></script>
@@ -83,8 +84,12 @@
</div>
<div class="head">
<div class="top">
<div class="top_logo"><a target="main" href="index_body.php"><?php echo $cfg_webname; ?>系统</a></div>
<div class="top_version">V<?php echo $cfg_version_detail; ?></div>
<div class="top_logo">
<span class="top_dedebiz"><a target="main" href="index_body.php"><?php echo $cfg_webname; ?>系统</a></span>
<span class="top_version">V<?php echo $cfg_version_detail; ?></span>
<span class="btn btn-primary btn-sm">安全</span>
<!-- <span class="btn btn-warning btn-sm">非安全</span> -->
</div>
<div class="top_link">
<ul>
<li class="welcome">


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

@@ -121,7 +121,7 @@
<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-body" id="_systeminfo">正在载</div>
<div class="card-body" id="_systeminfo">正在载</div>
</div>
</div>
<div class="col-md-6 mt-3 mb-3">
@@ -135,7 +135,7 @@
<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-body" id="newarticles">正在载</div>
<div class="card-body" id="newarticles">正在载</div>
</div>
</div>
</div>


+ 4
- 13
src/admin/templets/index_menu.htm View File

@@ -13,7 +13,7 @@
<style>
body {
margin: 0;
background: #f6f6f6;
background: #f8f8f8;
padding-left: 6px;
overflow: scroll;
overflow-x: hidden
@@ -33,26 +33,17 @@
background: url(../static/web/img/menunewbg.gif)repeat-x;
clear: both
}
dl.bitem2 {
margin: 0 0 2px 10px;
width: 140px;
background: url(../static/web/img/menunewbg2.gif)repeat-x;
clear: both
}
dl.bitem dt,
dl.bitem2 dt {
dl.bitem dt {
padding-left: 30px;
height: 26px;
line-height: 26px;
cursor: pointer
}
dl.bitem dd,
dl.bitem2 dd {
dl.bitem dd {
padding: 10px;
background: #fff
}
dl.bitem dt b,
dl.bitem2 dt b {
dl.bitem dt b {
color: #4f7632
}
a.mm div {


+ 15
- 29
src/admin/templets/log_list.htm View File

@@ -44,10 +44,10 @@
<body>
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td height="26" colspan="7" background="../static/web/img/tbg.gif">
<table width="96%" cellpadding="0" cellspacing="0" class="table table-borderless">
<td bgcolor="#f8f8f8" colspan="7">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">管理系统日志</td>
<td width="30%">管理系统日志</td>
<td width="70%" align="right"></td>
</tr>
</table>
@@ -56,7 +56,7 @@
<tr align="center">
<td colspan="7">
<table width="100%" cellspacing="0" cellpadding="0" class="table-borderless">
<form name='formsearch'>
<form name="formsearch">
<tr>
<td width="180" align="center">
<select name="adminid" id="adminid" style="width:160px">
@@ -80,7 +80,7 @@
</table>
</td>
</tr>
<tr align="center" bgcolor="#F8FCF1">
<tr bgcolor="#F8FCF1" align="center">
<td width="8%">选择</td>
<td width="11%">管理员</td>
<td width="15%">访问文件</td>
@@ -91,35 +91,21 @@
</tr>
<form name="form1">
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>
<input name='logs' type='checkbox' class='np' id="logs" value='{dede:field.lid/}'>
</td>
<td>
{dede:field.userid/}
</td>
<td>
<input class="np" type="text" value="{dede:field.filename/}" name="t0" style="width:100px">
</td>
<td>
{dede:field.method/}
</td>
<td>
{dede:field.cip/}
</td>
<td>
{dede:field.dtime function="MyDate('y/m/d H:i:s',@me)" /}
</td>
<td>
<input class="np" type="text" value="{dede:field.query/}" name="t1" style="width:280px">
</td>
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input name="logs" type="checkbox" class="np" id="logs" value="{dede:field.lid/}"></td>
<td>{dede:field.userid/}</td>
<td><input class="np" type="text" value="{dede:field.filename/}" name="t0" style="width:100px"></td>
<td>{dede:field.method/}</td>
<td>{dede:field.cip/}</td>
<td>{dede:field.dtime function="MyDate('y/m/d H:i:s',@me)" /}</td>
<td><input class="np" type="text" value="{dede:field.query/}" name="t1" style="width:280px"></td>
</tr>
{/dede:datalist}
</form>
<tr>
<td height="26" colspan="7">
<td colspan="7">
<button type="button" onClick="ReSel();" class="btn btn-success btn-sm">反选</button>
<button type="button" onClick="DelSel();" class="btn btn-success btn-sm">删除所选</button>
<button type="button" onClick="DelSel();" class="btn btn-danger btn-sm">删除</button>
<button type="button" onClick="ClearLog();" class="btn btn-success btn-sm">清空所有日志</button>
</td>
</tr>


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

@@ -13,7 +13,7 @@
body {
font: 14px Helvetica Neue, Helvetica, PingFang SC, Tahoma, Arial, sans-serif;
color: #424b51;
background: #f6f6f6
background: #f8f8f8
}
img {
max-width: 100%


+ 11
- 12
src/admin/templets/makehtml_all.htm View File

@@ -65,35 +65,34 @@
<form name="form1" action="makehtml_all.php" target="stafrm" method="post">
<input type="hidden" name="action" value="make">
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif" style="padding-left:10px">更新整站
</td>
<td bgcolor="#f8f8f8" colspan="2">更新整站</td>
</tr>
<tr>
<td width="260" height="26">更新选项:</td>
<td height="26">
<td width="260">更新选项:</td>
<td>
<label><input name="uptype" id="uptype1" type="radio" value="time" onClick="SelUp()" checked="checked">&nbsp;指定时间的所有更新</label>
<label><input name="uptype" id="uptype2" type="radio" onClick="SelUp()" value="id">&nbsp;指定ID文档的所有更新</label>
<label><input name="uptype" id="uptype3" type="radio" onClick="SelUp()" value="mkall">&nbsp;更新所有</label>
</td>
</tr>
<tr id="seltime">
<td height="26">起始时间:</td>
<td height="26"><input type="text" name="starttime" id="starttime" value="<?php echo GetDateMk(time()); ?>" class="datepicker" style="width:160px"></td>
<td>起始时间:</td>
<td><input type="text" name="starttime" id="starttime" value="<?php echo GetDateMk(time()); ?>" class="datepicker" style="width:160px"></td>
</tr>
<tr id="selid" style="display:none">
<td height="26">起始ID:</td>
<td height="26"><input name="startid" type="text" id="startid" value="0" style="width:60px"></td>
<td>起始ID:</td>
<td><input name="startid" type="text" id="startid" value="0" style="width:60px"></td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">开始更新</button></td>
<td bgcolor="#F8FCF1" colspan="2" align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">开始更新</button></td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<td colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;


+ 18
- 20
src/admin/templets/makehtml_archives.htm View File

@@ -10,25 +10,23 @@
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name='form2' action='content_list.php' method="get" target='stafrm'>
<input type='hidden' name='nullfield' value='ok'>
<form name="form2" action="content_list.php" method="get" target="stafrm">
<input type="hidden" name="nullfield" value="ok">
</form>
<form name="form1" action="makehtml_archives_action.php" method="get" target='stafrm'>
<form name="form1" action="makehtml_archives_action.php" method="get" target="stafrm">
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<td bgcolor="#f8f8f8" colspan="2">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新文档</td>
<td width="70%" align="right">
<a href="makehtml_list.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新栏目</a>
</td>
<td width="30%">更新文档</td>
<td width="70%" align="right"><a href="makehtml_list.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新栏目</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="260" height="26">选择栏目:</td>
<td height="26">
<td width="260">选择栏目:</td>
<td>
<?php
if(empty($cid)) $cid="0";
$tl = new TypeLink($cid);
@@ -41,30 +39,30 @@
</td>
</tr>
<tr>
<td height="26">起始ID:</td>
<td height="26"><input name="startid" type="text" id="startid" style="width:60px">(空或0表示从头开始)</td>
<td>起始ID:</td>
<td><input name="startid" type="text" id="startid" style="width:60px">(空或0表示从头开始)</td>
</tr>
<tr>
<td height="26">结束ID:</td>
<td height="26"><input name="endid" type="text" id="endid" style="width:60px">(空或0表示直到结束ID)</td>
<td>结束ID:</td>
<td><input name="endid" type="text" id="endid" style="width:60px">(空或0表示直到结束ID)</td>
</tr>
<tr>
<td height="26">每页生成:</td>
<td height="26"> <input name="pagesize" type="text" id="pagesize" value="20" style="width:60px"> 个文件</td>
<td>每页生成:</td>
<td> <input name="pagesize" type="text" id="pagesize" value="20" style="width:60px"> 个文件</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
<td bgcolor="#F8FCF1" colspan="2" align="center">
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
<button type="button" name="b113" class="btn btn-success btn-sm" onClick="document.form2.submit();">查看所有文档</button>
</td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<td colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;


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

@@ -9,35 +9,33 @@
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_freelist_action.php" method="get" target='stafrm'>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_freelist_action.php" method="get" target="stafrm">
<tr>
<td colspan="2" background="../static/web/img/tbg.gif">
<td bgcolor="#f8f8f8" colspan="2">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="24%" style="padding-left:10px">更新自由列表</td>
<td width="76%" align="right"><button type="button" name="b113" onClick="location='freelist_main.php';" class="btn btn-success btn-sm">管理自由列表</button>
<td width="30%">更新自由列表</td>
<td width="70%" align="right"><button type="button" name="b113" onClick="location='freelist_main.php';" class="btn btn-success btn-sm">管理自由列表</button>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26">&nbsp;&nbsp;起始ID:</td>
<td height="26"><input name="startid" type="text" id="startid" size="10" <?php if(!empty($aid)) echo " value='$aid'"; ?>>(空或0表示从头开始)</td>
<td>起始ID:</td>
<td><input name="startid" type="text" id="startid" size="10" <?php if(!empty($aid)) echo " value='$aid'"; ?>>(空或0表示从头开始)</td>
</tr>
<tr>
<td height="26">&nbsp;&nbsp;结束ID:</td>
<td height="26"><input name="endid" type="text" id="endid" size="10" <?php if(!empty($aid)) echo " value='$aid'"; ?>>(空或0表示直到结束ID)</td>
<td>结束ID:</td>
<td><input name="endid" type="text" id="endid" size="10" <?php if(!empty($aid)) echo " value='$aid'"; ?>>(空或0表示直到结束ID)</td>
</tr>
<tr>
<td height="26">&nbsp;&nbsp;每批生成:</td>
<td height="26"><input name="pagesize" type="text" id="pagesize" value="100" size="8"> 个文件</td>
<td>每批生成:</td>
<td><input name="pagesize" type="text" id="pagesize" value="100" size="8"> 个文件</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
<button type="button" onClick="document.form1.submit();" class="btn btn-success btn-sm">开始更新</button>
</td>
<td bgcolor="#F8FCF1" colspan="2" align="center"><button type="button" onClick="document.form1.submit();" class="btn btn-success btn-sm">开始更新</button></td>
</tr>
</form>
<tr>


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

@@ -25,10 +25,10 @@
<form name="form1" action="makehtml_homepage.php" target="stafrm" method="post">
<input type="hidden" name="dopost" value="make">
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<td bgcolor="#f8f8f8" colspan="2">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新首页</td>
<td width="30%">更新首页</td>
<td width="70%" align="right"></td>
</tr>
</table>
@@ -36,32 +36,32 @@
</tr>
<tr>
<td width="260">选择首页模板:</td>
<td height="26">
<td>
<input name="templet" type="text" id="templet" value="<?php echo $row['templet']?>" style="width:260px">
<button class="btn btn-success btn-sm" type="button" name="set4" value="" onClick="SelectTemplets('form1.templet');">浏览</button>
</td>
</tr>
<tr>
<td height="26" colspan="2">
<td colspan="2">
默认的情况下,生成的首页文件放在CMS的安装目录,如果您的CMS不是安装在网站根目录的,又想把首页创建到网站根目录,那么请用相对路径来表示“首页位置”<br>
例:您的CMS安装在 http://www.abc.com/DedeBIZ/ 目录,您想生成的首页为http://www.abc.com/index.html,那吗首页位置就应该用:“../index.html”
</td>
</tr>
<tr>
<td height="26">首页位置:</td>
<td height="26"><input name="position" type="text" id="position" value="<?php echo $row['position']?>" style="width:260px"></td>
<td>首页位置:</td>
<td><input name="position" type="text" id="position" value="<?php echo $row['position']?>" style="width:260px"></td>
</tr>
<tr>
<td height="26">相关选项:</td>
<td height="26">
<td>相关选项:</td>
<td>
<label><input name="saveset" type="radio" value="0" class="np"> 不保存当前选项 </label>
<label><input name="saveset" type="radio" class="np" value="1" checked> 保存当前选项</label>
</td>
</tr>
<tr>
<td height="26">首页模式:</td>
<td height="26">
<label><input name="showmod" type="radio" value="0" class="np" <?php echo ($row['showmod']==0)? "checked='checked'" : ""; ?>> 动态浏览 </label>
<td>首页模式:</td>
<td>
<label><input name="showmod" type="radio" value="0" class="np" <?php echo ($row['showmod']==0)? "checked='checked'" : ""; ?>> 动态浏览</label>
<label><input name="showmod" type="radio" class="np" value="1" <?php echo ($row['showmod']==1)? "checked='checked'" : ""; ?>> 生成静态(或者手动删除根目录下index.html文件)</label>
</td>
</tr>
@@ -74,7 +74,7 @@
if($data->code == -1){
?>
<tr>
<td height="26" colspan="2">尚未开启DedeBIZ商业组件 <a class="btn btn-danger btn-sm" target="_blank" href="https://www.dedebiz.com/start?code=-1008">如何启动组件</a></td>
<td colspan="2">尚未开启DedeBIZ商业组件 <a class="btn btn-danger btn-sm" target="_blank" href="https://www.dedebiz.com/start?code=-1008">如何启动组件</a></td>
</tr>
<?php
} else {
@@ -83,24 +83,24 @@
if($rs["admin_pwd_exists"] == "false") {
?>
<tr>
<td height="26">设置操作密码:</td>
<td height="26"><input name="dedebiz_admin" type="password" id="dedebiz_admin" value="" style="width:260px">设定后所有的DedeBIZ涉及安全操作输入当前操作密码</td>
<td>设置操作密码:</td>
<td><input name="dedebiz_admin" type="password" id="dedebiz_admin" value="" style="width:260px">设定后所有的DedeBIZ涉及安全操作输入当前操作密码</td>
</tr>
<tr>
<td height="26">重复操作密码:</td>
<td height="26"><input name="re_dedebiz_admin" type="password" id="re_dedebiz_admin" value="" style="width:260px"></td>
<td>重复操作密码:</td>
<td><input name="re_dedebiz_admin" type="password" id="re_dedebiz_admin" value="" style="width:260px"></td>
</tr>
<?php
} else {
?>
<tr>
<td height="26">操作密码:</td>
<td height="26"><input name="dedebiz_admin" type="password" id="dedebiz_admin" value="" style="width:260px"></td>
<td>操作密码:</td>
<td><input name="dedebiz_admin" type="password" id="dedebiz_admin" value="" style="width:260px"></td>
</tr>
<tr>
<td height="26">首页状态:</td>
<td height="26">
<label><input name="lockindex" type="radio" class="np" value="unlock" <?php echo ($rs['index_lock_state']==true)? "checked='checked'" : ""; ?>> 解锁 </label>
<td>首页状态:</td>
<td>
<label><input name="lockindex" type="radio" class="np" value="unlock" <?php echo ($rs['index_lock_state']==true)? "checked='checked'" : ""; ?>> 解锁</label>
<label><input name="lockindex" type="radio" value="lock" class="np" <?php echo ($row['index_lock_state']==false)? "checked='checked'" : ""; ?>> 锁定</label>
</td>
</tr>
@@ -110,24 +110,24 @@
} else {
?>
<tr>
<td height="26" colspan="2">尚未开启DedeBIZ商业组件 <a class="btn btn-danger btn-sm" target="_blank" href="https://www.dedebiz.com/start?code=-1008">如何启动组件</a></td>
<td colspan="2">尚未开启DedeBIZ商业组件 <a class="btn btn-danger btn-sm" target="_blank" href="https://www.dedebiz.com/start?code=-1008">如何启动组件</a></td>
</tr>
<?php
}
?>
}
?>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
<td bgcolor="#F8FCF1" 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>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<td colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;


+ 14
- 15
src/admin/templets/makehtml_list.htm View File

@@ -10,15 +10,14 @@
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_list_action.php" method="get" target='stafrm'>
<form name="form1" action="makehtml_list_action.php" method="get" target="stafrm">
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<td bgcolor="#f8f8f8" colspan="2">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新栏目</td>
<td width="30%">更新栏目</td>
<td width="70%" align="right">
<a href="makehtml_archives.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>"
class="btn btn-success btn-sm">更新文档</a>
<a href="makehtml_archives.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新文档</a>
<a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a>
</td>
</tr>
@@ -27,7 +26,7 @@
</tr>
<tr>
<td width="260">选择栏目:</td>
<td height="26">
<td>
<?php
if(empty($cid)) $cid=0;
$tl = new TypeLink($cid);
@@ -40,28 +39,28 @@
</td>
</tr>
<tr>
<td height="26">每次最大创建页数:</td>
<td height="26"><input name="maxpagesize" type="text" id="maxpagesize" value="50" style="width:60px"> 个文件</td>
<td>每次最大创建页数:</td>
<td><input name="maxpagesize" type="text" id="maxpagesize" value="50" style="width:60px"> 个文件</td>
</tr>
<tr>
<td height="26">是否更新子栏目:</td>
<td height="26">
<label><input name="upnext" type="radio" class="np" value="1" checked='1'> 更新子级栏目 </label>
<td>是否更新子栏目:</td>
<td>
<label><input name="upnext" type="radio" class="np" value="1" checked="1"> 更新子级栏目</label>
<label><input type="radio" name="upnext" class="np" value="0"> 仅更新所选栏目</label>
</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
<td bgcolor="#F8FCF1" colspan="2" align="center">
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
</td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<td colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;


+ 8
- 10
src/admin/templets/makehtml_spec.htm View File

@@ -10,33 +10,31 @@
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_spec.php" method="get" target='stafrm'>
<form name="form1" action="makehtml_spec.php" method="get" target="stafrm">
<input type="hidden" name="dopost" value="ok">
<tr>
<td height="26" background="../static/web/img/tbg.gif">
<td bgcolor="#f8f8f8">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新专题</td>
<td width="30%">更新专题</td>
<td width="70%" align="right"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26">为了安全起见,专题目录建议设置仅可读写权限,发布专题后需要手动更新,默认文件为:<?php echo $cfg_cmspath.$cfg_special."/index.html"?></td>
<td>为了安全起见,专题目录建议设置仅可读写权限,发布专题后需要手动更新,默认文件为:<?php echo $cfg_cmspath.$cfg_special."/index.html"?></td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" align="center">
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
</td>
<td bgcolor="#F8FCF1" align="center"><button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button></td>
</tr>
</form>
<tr>
<td height="26">
<td>
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;


+ 20
- 24
src/admin/templets/makehtml_taglist.htm View File

@@ -19,15 +19,13 @@
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_tag_action_list.php" method="get" target='stafrm'>
<form name="form1" action="makehtml_tag_action_list.php" method="get" target="stafrm">
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<td bgcolor="#f8f8f8" colspan="2">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新标签</td>
<td width="70%" align="right">
<a href="tags_main.php" class="btn btn-success btn-sm">标签管理</a>
</td>
<td width="30%">更新标签</td>
<td width="70%" align="right"><a href="tags_main.php" class="btn btn-success btn-sm">标签管理</a></td>
</tr>
</table>
</td>
@@ -37,51 +35,49 @@
$row = $dsql->GetOne("Select tag From `#@__tagindex` where id = '$tagid' ");
?>
<tr>
<td width="260" height="26">输入标签:</td>
<td height="26"><input type="hidden" name="tagid" value="<?php echo $tagid;?>"><?php echo $row['tag'];?> <a class="text-success" href="makehtml_taglist.php">重新选择</a></td>
<td width="260">输入标签:</td>
<td><input type="hidden" name="tagid" value="<?php echo $tagid;?>"><?php echo $row['tag'];?> <a class="text-success" href="makehtml_taglist.php">重新选择</a></td>
</tr>
<?php
} else {
?>
<tr>
<td width="260" height="26">起始ID:</td>
<td height="26"><input name="startid" type="text" id="startid" style="width:60px">(空或0表示从头开始)</td>
<td width="260">起始ID:</td>
<td><input name="startid" type="text" id="startid" style="width:60px">(空或0表示从头开始)</td>
</tr>
<tr>
<td height="26">结束ID:</td>
<td height="26"><input name="endid" type="text" id="endid" style="width:60px">(空或0表示直到结束ID)</td>
<td>结束ID:</td>
<td><input name="endid" type="text" id="endid" style="width:60px">(空或0表示直到结束ID)</td>
</tr>
<?php
}
?>
<tr>
<td height="26">生成位置:</td>
<td height="26"><input name="tagsdir" type="text" id="tagsdir" value="<?php echo $cfg_tags_dir;?>" style="width:260px" disabled> <a href="sys_info.php">系统设置</a>-其他选项中“TAGS生成目录”项进行调整</td>
<td>生成位置:</td>
<td><input name="tagsdir" type="text" id="tagsdir" value="<?php echo $cfg_tags_dir;?>" style="width:260px" disabled> <a href="sys_info.php">系统设置</a>-其他选项中“TAGS生成目录”项进行调整</td>
</tr>
<tr>
<td height="26">每次最大创建页数:</td>
<td height="26"><input name="maxpagesize" type="text" id="maxpagesize" value="50" style="width:60px"> 个文件</td>
<td>每次最大创建页数:</td>
<td><input name="maxpagesize" type="text" id="maxpagesize" value="50" style="width:60px"> 个文件</td>
</tr>
<tr>
<td height="26">标签说明:</td>
<td height="26">
<td>标签说明:</td>
<td>
生成静态文件后,访问动态文件则直接跳转到静态文件,如果需要动态访问,删除对应文件即可<br>
Tag首页模板文件:<?php echo $cfg_templets_dir; ?>/<?php echo $cfg_df_style?>/tag.htm<br>
Tag列表页模板文件:<?php echo $cfg_templets_dir; ?>/<?php echo $cfg_df_style?>/taglist.htm<br>
</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.action='makehtml_taglist_action.php';onTagSubmit();">生成标签</button>
</td>
<td bgcolor="#F8FCF1" colspan="2" align="center"><button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.action='makehtml_taglist_action.php';onTagSubmit();">生成标签</button></td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<td colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<td width="30%">结果:</td>
<td width="70%" align="right">
<script>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;


+ 25
- 31
src/admin/templets/media_add.htm View File

@@ -48,57 +48,51 @@
<body>
<table width="98%" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3 mb-3">
<tr>
<td height="26" background="../static/web/img/tbg.gif">
<td bgcolor="#f8f8f8">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="45%">上传新文件</td>
<td width="55%" align="right"><a href='media_main.php' class="btn btn-success btn-sm">附件/媒体数据管理</a></td>
<td width="30%">上传新文件</td>
<td width="70%" align="right"><a href="media_main.php" class="btn btn-success btn-sm">附件媒体数据管理</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26"><i class="fa fa-question-circle" title="帮助"></i> 提示:图片类型仅支持jpg、png、gif、wbmp格式,flash为.swf格式,视音频和附件为限定扩展名的类型(可在系统参数中修改)</td>
<td><i class="fa fa-question-circle" title="帮助"></i> 提示:图片类型仅支持jpg、png、gif、wbmp格式,flash为.swf格式,视音频和附件为限定扩展名的类型(可在系统参数中修改)</td>
</tr>
<tr>
<td height="70" align="center">
<td align="center">
<table width="100%" cellpadding="0" cellspacing="0" class="table table-borderless">
<form enctype="multipart/form-data" name='form1' action="media_add.php" method="POST" onSubmit="return CheckSubmit();">
<form enctype="multipart/form-data" name="form1" action="media_add.php" method="POST" onSubmit="return CheckSubmit();">
<input type="hidden" name="dopost" value="upload">
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>">
<tr>
<td width="260" height="26" class="bline">媒体类型:</td>
<td height="26" class="bline">
<label><input name="mediatype" type="radio" class="np" value="1" checked='1'>
图片 </label>
<label><input type="radio" name="mediatype" class="np" value="2">
FLASH </label>
<label><input type="radio" name="mediatype" class="np" value="3">
视频/音频 </label>
<label><input type="radio" name="mediatype" class="np" value="4">
附件/其它 </label>
<td width="260" class="bline">媒体类型:</td>
<td class="bline">
<label><input name="mediatype" type="radio" class="np" value="1" checked="1"> 图片</label>
<label><input type="radio" name="mediatype" class="np" value="2"> FLASH</label>
<label><input type="radio" name="mediatype" class="np" value="3"> 视频音频</label>
<label><input type="radio" name="mediatype" class="np" value="4"> 附件其它</label>
</td>
</tr>
<tr>
<td height="26" class="bline">说明标题:</td>
<td height="26" class="bline">
<input name="title" type="text" id="title" size="30" style="width:300px">
</td>
<td class="bline">说明标题:</td>
<td class="bline"><input name="title" type="text" id="title" size="30" style="width:300px"></td>
</tr>
<tr>
<td height="26" class="bline">参数说明:</td>
<td height="26" class="bline" colspan="2">图片不需要指定“宽”、“高”,其它附加参数仅方便多媒体文件管理,没其它含义</td>
<td class="bline">参数说明:</td>
<td class="bline" colspan="2">图片不需要指定“宽”、“高”,其它附加参数仅方便多媒体文件管理,没其它含义</td>
</tr>
<tr>
<td height="26" class="bline">附加参数:</td>
<td height="26" class="bline">
<td class="bline">附加参数:</td>
<td class="bline">
宽:<input name="mediawidth" type="text" id="mediawidth" style="width:60px">(像素)
高:<input name="mediaheight" type="text" id="mediaheight" style="width:60px">(像素)
播放时间:<input name="playtime" type="text" id="mediawidth3" style="width:60px">(分钟)
</td>
</tr>
<tr>
<td height="26" class="bline">上传文件:</td>
<td class="bline">上传文件:</td>
<td class="bline">
数量:<input name="picnum" type="text" id="picnum" value="5" style="width:60px">
<button type="button" name="Submit" class="btn btn-success btn-sm" onClick="MakeUpload()">增加</button>
@@ -108,12 +102,12 @@
<tr>
<td></td>
<td>
<input name="upfile1" type="file" id="upfile1" class='pubinputs' style='width:260px'><br>
<input name="upfile2" type="file" id="upfile2" class='pubinputs' style='width:260px'><br>
<input name="upfile3" type="file" id="upfile3" class='pubinputs' style='width:260px'><br>
<input name="upfile4" type="file" id="upfile4" class='pubinputs' style='width:260px'><br>
<input name="upfile5" type="file" id="upfile5" class='pubinputs' style='width:260px'><br>
<span id='uploadfield'></span>
<input name="upfile1" type="file" id="upfile1" class="pubinputs" style="width:260px"><br>
<input name="upfile2" type="file" id="upfile2" class="pubinputs" style="width:260px"><br>
<input name="upfile3" type="file" id="upfile3" class="pubinputs" style="width:260px"><br>
<input name="upfile4" type="file" id="upfile4" class="pubinputs" style="width:260px"><br>
<input name="upfile5" type="file" id="upfile5" class="pubinputs" style="width:260px"><br>
<span id="uploadfield"></span>
</td>
</tr>
<tr>


+ 30
- 39
src/admin/templets/media_edit.htm View File

@@ -28,65 +28,58 @@
</script>
</head>
<body>
<table width="99%" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3 mb-3">
<table width="98%" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3 mb-3">
<tr>
<td height="26" background="../static/web/img/tbg.gif">
<td bgcolor="#f8f8f8">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="70%">修改媒体</td>
<td width="30%" align="right"><a href='media_main.php' class="btn btn-success btn-sm">附件媒体数据管理</a></td>
<td width="30%">修改媒体</td>
<td width="70%" align="right"><a href="media_main.php" class="btn btn-success btn-sm">附件媒体数据管理</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26">
<td>
<div class="alert alert-info mb-0">图片类型仅支持jpg、png、gif、wbmp格式,flash为.swf格式,视音频和附件为限定扩展名的类型(可在系统参数中修改)</div>
</td>
</tr>
<tr>
<td height="70" align="center">
<td align="center">
<table width="100%" cellpadding="0" cellspacing="0">
<form enctype="multipart/form-data" name='form1' action="media_edit.php" method="POST"
onSubmit="return CheckSubmit();">
<form enctype="multipart/form-data" name="form1" action="media_edit.php" method="POST" onSubmit="return CheckSubmit();">
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>">
<input type="hidden" name="aid" value="<?php echo $aid?>">
<tr>
<td width="15%" height="26" align="left" class="bline">媒体类型:</td>
<td width="85%" height="26" align="left" class="bline">
<label><input type="radio" name="mediatype" class="np" value="1" <?php if($myrow['mediatype']==1) echo " checked"; ?>>
图片</label>
<label><input type="radio" name="mediatype" class="np" value="2" <?php if($myrow['mediatype']==2) echo " checked"; ?>>
FLASH</label>
<label><input type="radio" name="mediatype" class="np" value="3" <?php if($myrow['mediatype']==3) echo " checked"; ?>>
视频/音频</label>
<label><input type="radio" name="mediatype" class="np" value="4" <?php if($myrow['mediatype']==4) echo " checked"; ?>>
附件/其它</label>
<td width="15%" align="left" class="bline">媒体类型:</td>
<td width="85%" align="left" class="bline">
<label><input type="radio" name="mediatype" class="np" value="1" <?php if($myrow['mediatype']==1) echo " checked"; ?>> 图片</label>
<label><input type="radio" name="mediatype" class="np" value="2" <?php if($myrow['mediatype']==2) echo " checked"; ?>> FLASH</label>
<label><input type="radio" name="mediatype" class="np" value="3" <?php if($myrow['mediatype']==3) echo " checked"; ?>> 视频音频</label>
<label><input type="radio" name="mediatype" class="np" value="4" <?php if($myrow['mediatype']==4) echo " checked"; ?>> 附件其它</label>
</td>
</tr>
<tr>
<td height="26" class="bline">说明标题:</td>
<td height="26" class="bline">
<input name="title" type="text" id="title" size="30" value="<?php echo $myrow['title']?>">
</td>
<td class="bline">说明标题:</td>
<td class="bline"><input name="title" type="text" id="title" value="<?php echo $myrow['title']?>" style="width:300px"></td>
</tr>
<tr>
<td height="26" class="bline">参数说明:</td>
<td height="26" class="bline" colspan="2">图片不需要指定“宽”、“高”,其它附加参数仅方便多媒体文件管理,没其它含义</td>
<td class="bline">参数说明:</td>
<td class="bline" colspan="2">图片不需要指定“宽”、“高”,其它附加参数仅方便多媒体文件管理,没其它含义</td>
</tr>
<tr>
<td height="26" class="bline">附加参数:</td>
<td height="26" class="bline">
宽:<input name="mediawidth" type="text" id="mediawidth" size="5" value="<?php echo $myrow['width']?>">(像素)
高:<input name="mediaheight" type="text" id="mediaheight" size="5" value="<?php echo $myrow['height']?>">(像素)
播放时间:<input name="playtime" type="text" id="playtime" size="5" value="<?php echo $myrow['playtime']?>">(分钟)
<td class="bline">附加参数:</td>
<td class="bline">
宽:<input name="mediawidth" type="text" id="mediawidth" value="<?php echo $myrow['width']?>" style="width:60px">(像素)
高:<input name="mediaheight" type="text" id="mediaheight" value="<?php echo $myrow['height']?>" style="width:60px">(像素)
播放时间:<input name="playtime" type="text" id="playtime" value="<?php echo $myrow['playtime']?>" style="width:60px">(分钟)
</td>
</tr>
<tr>
<td height="26" class="bline">原文件:</td>
<td height="26" class="bline">
<input name="filename" type="text" id="filename" style='width:260px' value="<?php echo $myrow['url']?>">
<td class="bline">原文件:</td>
<td class="bline">
<input name="filename" type="text" id="filename" value="<?php echo $myrow['url']?>" style="width:260px">
<a href="<?php echo $myrow['url']?>" target="_blank">[查看]</a>
</td>
</tr>
@@ -102,16 +95,14 @@
else $w = $sizes[0];
?>
<tr>
<td height="26" class="bline">预览:</td>
<td height="26" class="bline">
<a href="<?php echo $myrow['url']?>" target="_blank"><img src="<?php echo $myrow['url'].'?q='.time()?>" width="<?php echo $w?>" id="picview"></a>
</td>
<td class="bline">预览:</td>
<td class="bline"><a href="<?php echo $myrow['url']?>" target="_blank"><img src="<?php echo $myrow['url'].'?q='.time()?>" width="<?php echo $w?>" id="picview"></a></td>
</tr>
<?php } } } ?>
<tr>
<td height="26" class="bline">修改文件:</td>
<td height="26" class="bline">
<input name="upfile" type="file" id="upfile" style='width:260px'>
<td class="bline">修改文件:</td>
<td class="bline">
<input name="upfile" type="file" id="upfile" style="width:260px">
</td>
</tr>
<tr>


+ 24
- 35
src/admin/templets/media_main.htm View File

@@ -58,13 +58,11 @@
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td height="26" colspan="7" background="../static/web/img/tbg.gif">
<table width='96%' cellpadding='0' cellspacing='0' style="padding-left:10px" class="table-borderless">
<td bgcolor="#f8f8f8" colspan="7">
<table width="98%" cellpadding="0" cellspacing="0" class="table-borderless">
<tr>
<td width='30%'>附件数据管理</td>
<td align='right'>
<a href="media_add.php" class="btn btn-success btn-sm">上传新文件</a>
</td>
<td width="30%">附件数据管理</td>
<td width="70%" align="right"><a href="media_add.php" class="btn btn-success btn-sm">上传新文件</a></td>
</tr>
</table>
</td>
@@ -72,25 +70,25 @@
<tr>
<td colspan="7">
<table width="900" cellspacing="0" cellpadding="0" class="table-borderless">
<form name='forms' method='post' action='media_main.php'>
<form name="forms" method="post" action="media_main.php">
<tr>
<td width="280" align="center">
<input name="keyword" type="text" id="keyword" placeholder="请输入关键词" value="<?php echo $keyword?>" style="width:260px">
</td>
<td width="170">
<select name='mediatype' style='width:160px'>
<option value='0'>文件类型</option>
<option value='1' <?php if($mediatype==1) echo " selected"?>>图片</option>
<option value='2' <?php if($mediatype==2) echo " selected"?>>FLASH</option>
<option value='3' <?php if($mediatype==3) echo " selected"?>>视频/音频</option>
<option value='4' <?php if($mediatype==4) echo " selected"?>>其它附件</option>
<select name="mediatype" style="width:160px">
<option value="0">文件类型</option>
<option value="1" <?php if($mediatype==1) echo " selected"?>>图片</option>
<option value="2" <?php if($mediatype==2) echo " selected"?>>FLASH</option>
<option value="3" <?php if($mediatype==3) echo " selected"?>>视频音频</option>
<option value="4" <?php if($mediatype==4) echo " selected"?>>其它附件</option>
</select>
</td>
<td width="170">
<select name='membertype' style='width:160px'>
<option value='0'>用户组</option>
<option value='1' <?php if($membertype==1) echo " selected"?>>管理员</option>
<option value='2' <?php if($membertype==2) echo " selected"?>>外部会员</option>
<select name="membertype" style="width:160px">
<option value="0">用户组</option>
<option value="1" <?php if($membertype==1) echo " selected"?>>管理员</option>
<option value="2" <?php if($membertype==2) echo " selected"?>>外部会员</option>
</select>
</td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
@@ -99,7 +97,7 @@
</table>
</td>
</tr>
<tr bgcolor="#F8FCF1" height="26" align="center">
<tr bgcolor="#F8FCF1" align="center">
<td width="8%">选择</td>
<td width="28%">文件标题</td>
<td width="10%">文件大小</td>
@@ -108,24 +106,18 @@
<td width="9%">文件类型</td>
<td width="15%">管理</td>
</tr>
<form name='form1'>
<form name="form1">
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>
<input type='checkbox' name='aids' id='aids{dede:field.aid/}' value='{dede:field.aid/}' class='np'>
</td>
<td>
<a href='{dede:field.url/}' title='{dede:field.url/}' target='_blank'>
{dede:field.title/}
</a>
</td>
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input type="checkbox" name="aids" id="aids{dede:field.aid/}" value="{dede:field.aid/}" class="np"></td>
<td><a href="{dede:field.url/}" title="{dede:field.url/}" target="_blank">{dede:field.title/}</a></td>
<td>{dede:field.filesize function='GetFileSize(@me)'/}</td>
<td>{dede:field.adminname function="UploadAdmin(@me,$fields['membername'])"/}</td>
<td>{dede:field.uptime function="MyDate('Y-m-d H:i',@me)"/}</td>
<td>{dede:field.mediatype function="MediaType(@me,$fields['url'])"/}</td>
<td>
<a href='media_edit.php?aid={dede:field.aid/}&dopost=edit' class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i> 修改</a>
<a href='media_edit.php?aid={dede:field.aid/}&dopost=del' class="btn btn-success btn-sm"><i class="fa fa-trash"></i> 删除</a>
<a href="media_edit.php?aid={dede:field.aid/}&dopost=edit" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i> 修改</a>
<a href="media_edit.php?aid={dede:field.aid/}&dopost=del" class="btn btn-success btn-sm"><i class="fa fa-trash"></i> 删除</a>
</td>
</tr>
{/dede:datalist}
@@ -133,16 +125,13 @@
<td colspan="7">
<button type="button" name="b4" class="btn btn-success btn-sm" onClick="AllSel();">全选</button>
<button type="button" name="b5" class="btn btn-success btn-sm" onClick="NoneSel();">取消</button>
<button type="button" name="b6" class="btn btn-success btn-sm" onClick="DelSel();">删除所选</button>
<button type="button" name="b6" class="btn btn-success btn-sm" onClick="DelSel();">删除</button>
</td>
</tr>
<tr bgcolor="#f8f8f8" height="36">
<tr height="36" bgcolor="#f8f8f8">
<td colspan="7" align="center">{dede:pagelist listsize='6'/}</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</body>
</html>

+ 13
- 18
src/admin/templets/member_main.htm View File

@@ -4,7 +4,7 @@
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>网站会员管理</title>
<title>注册会员列表</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
@@ -39,7 +39,7 @@
</td>
<td width="170">
<select name="spacesta" id="spacesta" style="width:160px">
<option value='-10'>会员状态</option>
<option value="-10">会员状态</option>
<?php
foreach($staArr as $k=>$v)
{
@@ -59,11 +59,11 @@
<form name="form2">
<table width="98%" align="center" cellpadding="2" cellspacing="1" class="table maintable mb-3">
<tr>
<td height="26" colspan="9" background="../static/web/img/tbg.gif">
<table width="99%" cellspacing="0" cellpadding="0" class="table table-borderless">
<td bgcolor="#f8f8f8" colspan="9">
<table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">注册会员列表</td>
<td width="70%" align="right" style="padding-right:10px">
<td width="30%">注册会员列表</td>
<td width="70%" align="right">
<a href="member_main.php">所有会员</a> |
<a href="member_main.php?spacesta=-2">被禁言用户</a> |
<a href="member_main.php?matt=1">被推荐</a> |
@@ -73,7 +73,7 @@
</table>
</td>
</tr>
<tr bgcolor="#FEFCEF" height="26" align="center">
<tr bgcolor="#f8f8f8" align="center">
<td width="6%">选择</td>
<td width="6%">mid</td>
<td width="10%">登录名</td>
@@ -85,7 +85,7 @@
<td>操作</td>
</tr>
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'}
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><input name="mid" type="checkbox" id="mid" value="{dede:field.mid/}" class="np"></td>
<td>{dede:field.mid/}</td>
<td>
@@ -99,18 +99,13 @@
?>
</td>
<td>{dede:field.email/}<br>
昵称:{dede:field.uname/}
</td>
<td>
{dede:field.sex /}
</td>
昵称:{dede:field.uname/}</td>
<td>{dede:field.sex /}</td>
<td><a href="member_main.php?rank={dede:field.rank/}">{dede:field.rank function="GetMemberName(@me,'限制会员')"/}</a></td>
<td>{dede:field.mtype /} 用户 {dede:field.matt function="GetMAtt(@me)" /}<br>
金币:{dede:field.money /} 积分:{dede:field.scores /}
</td>
金币:{dede:field.money /} 积分:{dede:field.scores /}</td>
<td>{dede:field.logintime function="MyDate('y-m-d H:i',@me)" /}<br>
{dede:field.loginip /}
</td>
{dede:field.loginip /}</td>
<td align="center">
<a href="member_view.php?id={dede:field.mid/}" class="btn btn-success btn-sm">修改</a>
<a href="member_do.php?id={dede:field.mid/}&dopost=delmember" class="btn btn-success btn-sm">删除</a>
@@ -123,7 +118,7 @@
<td colspan="9" class="py-3">
<button type="button" onClick="selAll();" class="btn btn-success btn-sm">全选</button>
<button type="button" onClick="noSelAll();" class="btn btn-success btn-sm">取消</button>
<button type="button" onClick="delArc(0);" class="btn btn-success btn-sm">删除</button>(如果已经整合了论坛的用户请不要使用批量删除功能)
<button type="button" onClick="delArc(0);" class="btn btn-danger btn-sm">删除</button>(如果已经整合了论坛的用户请不要使用批量删除功能)
</td>
</tr>
<tr>


+ 16
- 39
src/admin/templets/member_operations.htm View File

@@ -71,19 +71,17 @@
</form>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3">
<tr>
<td height="26" colspan="8" background="../static/web/img/tbg.gif">
<td bgcolor="f8f8f8" colspan="8">
<table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">会员消费管理</td>
<td width="45%" align="right" style="padding-top:10px">
<td width="30%">会员消费管理</td>
<td width="45%" align="right">
<button type="button" onClick="location='member_operations.php?sta=0';" class="btn btn-success btn-sm">未付款</button>
<button type="button" onClick="location='member_operations.php?sta=1';" class="btn btn-success btn-sm">已付款</button>
<button type="button" onClick="location='member_operations.php?sta=2';" class="btn btn-success btn-sm">已完成</button>
<button type="button" onClick="location='member_operations.php';" class="btn btn-success btn-sm">全部</button>
</td>
<td width="25%" align="right" style="padding-top:10px">
<button type="button" onClick="location='member_main.php';" class="btn btn-success btn-sm">会员管理</button>
</td>
<td width="25%" align="right"><button type="button" onClick="location='member_main.php';" class="btn btn-success btn-sm">会员管理</button></td>
</tr>
</table>
</td>
@@ -100,49 +98,28 @@
</tr>
<form name="form1">
{dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'}
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td align="center">
<input type='checkbox' name='aids' value='<?php echo $fields['aid']?>' class='np'></td>
<td align="center">
<?php echo $fields['buyid']?>
</td>
<td align="center">
<?php
echo $fields['pname'].'('.$fields['oldinfo'].')';
?>
</td>
<td align="center">
<?php echo GetPType($fields['product'])?>
</td>
<td align="center">
<?php echo GetDateTimeMk($fields['mtime'])?>
(<span>{dede:field.mtime function="floorTime(time()-@me,@me)"/}</span>)
</td>
<td align="center">
<?php echo $fields['money']?>
</td>
<td align="center">
<?php echo GetSta($fields['sta'])?>
</td>
<td align="center">
<?php echo GetMemberID($fields['mid'])?>
</td>
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td align="center"><input type="checkbox" name="aids" value="<?php echo $fields['aid']?>" class="np"></td>
<td align="center"><?php echo $fields['buyid']?></td>
<td align="center"><?php echo $fields['pname'].'('.$fields['oldinfo'].')'; ?></td>
<td align="center"><?php echo GetPType($fields['product'])?></td>
<td align="center"><?php echo GetDateTimeMk($fields['mtime'])?>({dede:field.mtime function="floorTime(time()-@me,@me)"/})</td>
<td align="center"><?php echo $fields['money']?></td>
<td align="center"><?php echo GetSta($fields['sta'])?></td>
<td align="center"><?php echo GetMemberID($fields['mid'])?></td>
</tr>
{/dede:datalist}
</form>
<tr>
<td height="26" colspan="8" bgcolor="#FCFDF7" style="padding-top:10px">
&nbsp;
<td colspan="8">
<button type="button" onClick="ReSel();" class="btn btn-success btn-sm">反选</button>
<button type="button" onClick="DelSel();" class="btn btn-success btn-sm">删除</button>
<button type="button" onClick="DelSel();" class="btn btn-danger btn-sm">删除</button>
<button type="button" onClick="UpSel();" class="btn btn-success btn-sm">设为已付款状态</button>
<button type="button" onClick="OkSel();" class="btn btn-success btn-sm">设为已完成状态</button>
</td>
</tr>
<tr>
<td height="36" colspan="8" bgcolor="#f8f8f8" align="center">
{dede:pagelist listitem="info,index,end,pre,next,pageno" listsize="5"/}
</td>
<td height="36" bgcolor="#f8f8f8" colspan="8" align="center">{dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='6'/}</td>
</tr>
</table>
</body>

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

@@ -36,9 +36,9 @@
</form>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3">
<tr>
<td height="26" colspan="7" background="../static/web/img/tbg.gif"><span class="current" id="cate_1">短信列表</span> <a href="member_pmall.php">群发短信</a> <a href="member_pmone.php">单独短信</a></td>
<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="#F8FCF1" height="26">
<tr bgcolor="#F8FCF1" >
<td width="10%" align="center">发送时间</td>
<td width="20%" align="center">标题</td>
<td width="5%" align="center">已读</td>
@@ -48,7 +48,7 @@
<td width="10%" align="center">操作</td>
</tr>
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" 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>


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

@@ -35,7 +35,7 @@
</form>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3">
<tr>
<td height="26" colspan="7" background="../static/web/img/tbg.gif"><a href="member_pm.php">短信列表</a> <span class="current" id="cate_1">群发短信</span> <a href="member_pmone.php">单独短信</a></td>
<td bgcolor="#f8f8f8" colspan="7"><a href="member_pm.php">短信列表</a> <span class="current" id="cate_1">群发短信</span> <a href="member_pmone.php">单独短信</a></td>
</tr>
<tr>
<td colspan="7">
@@ -43,15 +43,15 @@
<input name="action" type="hidden" value="post">
<table width="100%" cellpadding="1" cellspacing="1">
<tr>
<td width="260" height="26">标题:</td>
<td height="26"><input name="subject" type="text" id="subject" class="company_manage_form_label" style="width:260px">(标题少于70个字符内)</td>
<td width="260">标题:</td>
<td><input name="subject" type="text" id="subject" class="company_manage_form_label" style="width:260px">(标题少于70个字符内)</td>
</tr>
<tr>
<td height="26"><label for="pm_textarea">内容:</label></td>
<td><label for="pm_textarea">内容:</label></td>
<td><textarea name="message" id="message" class="company_manage_form_label1" style="width:360px;height:100px"></textarea>(1000个字符以内)</td>
</tr>
<tr>
<td colspan="2" align="center" class="py-3"><input type="submit" value="提交" class="button01"></td>
<td colspan="2" align="center" class="py-3"><input type="submit" value="提交" class="btn btn-success btn-sm"></td>
</tr>
</table>
</form>


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

Loading…
Cancel
Save