Browse Source

优化属性

tags/6.2.0
xushubieli 1 year ago
parent
commit
0f0680af3e
100 changed files with 641 additions and 651 deletions
  1. +7
    -7
      src/admin/archives_do.php
  2. +2
    -2
      src/admin/article_coonepage_rule.php
  3. +2
    -2
      src/admin/article_select_sw.php
  4. +7
    -7
      src/admin/catalog_edit.php
  5. +7
    -7
      src/admin/file_manage_view.php
  6. +1
    -1
      src/admin/inc/inc_archives_functions.php
  7. +1
    -1
      src/admin/index_body.php
  8. +2
    -2
      src/admin/member_main.php
  9. +6
    -6
      src/admin/module_main.php
  10. +4
    -4
      src/admin/mychannel_edit.php
  11. +2
    -2
      src/admin/plus_main.php
  12. +5
    -5
      src/admin/templets/ad_add.htm
  13. +3
    -3
      src/admin/templets/ad_edit.htm
  14. +29
    -29
      src/admin/templets/album_add.htm
  15. +26
    -26
      src/admin/templets/album_edit.htm
  16. +17
    -17
      src/admin/templets/archives_add.htm
  17. +16
    -16
      src/admin/templets/archives_edit.htm
  18. +4
    -4
      src/admin/templets/archives_sg_add.htm
  19. +5
    -5
      src/admin/templets/archives_sg_edit.htm
  20. +19
    -19
      src/admin/templets/article_add.htm
  21. +2
    -2
      src/admin/templets/article_coonepage_rule.htm
  22. +8
    -8
      src/admin/templets/article_description_main.htm
  23. +17
    -17
      src/admin/templets/article_edit.htm
  24. +3
    -3
      src/admin/templets/article_keywords_main.htm
  25. +6
    -6
      src/admin/templets/article_keywords_select.htm
  26. +1
    -1
      src/admin/templets/article_test_same.htm
  27. +3
    -3
      src/admin/templets/cards_type.htm
  28. +20
    -24
      src/admin/templets/catalog_add.htm
  29. +6
    -6
      src/admin/templets/catalog_add_quick.htm
  30. +16
    -16
      src/admin/templets/catalog_edit.htm
  31. +2
    -2
      src/admin/templets/content_att.htm
  32. +2
    -2
      src/admin/templets/content_batch_up.htm
  33. +1
    -1
      src/admin/templets/content_list.htm
  34. +6
    -6
      src/admin/templets/diy_add.htm
  35. +6
    -6
      src/admin/templets/diy_edit.htm
  36. +7
    -7
      src/admin/templets/diy_field_add.htm
  37. +4
    -4
      src/admin/templets/diy_field_edit.htm
  38. +2
    -2
      src/admin/templets/feedback_edit.htm
  39. +12
    -12
      src/admin/templets/freelist_add.htm
  40. +12
    -12
      src/admin/templets/freelist_edit.htm
  41. +6
    -6
      src/admin/templets/friendlink_add.htm
  42. +6
    -6
      src/admin/templets/friendlink_edit.htm
  43. +1
    -1
      src/admin/templets/friendlink_main.htm
  44. +1
    -1
      src/admin/templets/log_list.htm
  45. +1
    -1
      src/admin/templets/makehtml_all.htm
  46. +4
    -4
      src/admin/templets/makehtml_archives.htm
  47. +3
    -3
      src/admin/templets/makehtml_freelist.htm
  48. +3
    -3
      src/admin/templets/makehtml_homepage.htm
  49. +1
    -1
      src/admin/templets/makehtml_list.htm
  50. +1
    -1
      src/admin/templets/makehtml_spec.htm
  51. +5
    -5
      src/admin/templets/makehtml_taglist.htm
  52. +5
    -5
      src/admin/templets/media_add.htm
  53. +5
    -5
      src/admin/templets/media_edit.htm
  54. +7
    -7
      src/admin/templets/media_main.htm
  55. +1
    -1
      src/admin/templets/member_main.htm
  56. +1
    -1
      src/admin/templets/member_operations.htm
  57. +2
    -2
      src/admin/templets/member_pm.htm
  58. +4
    -4
      src/admin/templets/member_pmall.htm
  59. +5
    -5
      src/admin/templets/member_pmone.htm
  60. +3
    -3
      src/admin/templets/member_scores.htm
  61. +6
    -6
      src/admin/templets/member_toadmin.htm
  62. +4
    -4
      src/admin/templets/member_type.htm
  63. +5
    -5
      src/admin/templets/member_view.htm
  64. +5
    -5
      src/admin/templets/module_edit.htm
  65. +1
    -1
      src/admin/templets/module_help.htm
  66. +6
    -6
      src/admin/templets/module_make.htm
  67. +5
    -7
      src/admin/templets/module_upload.htm
  68. +14
    -14
      src/admin/templets/mychannel_add.htm
  69. +13
    -13
      src/admin/templets/mychannel_edit.htm
  70. +21
    -21
      src/admin/templets/mychannel_field_add.htm
  71. +3
    -3
      src/admin/templets/mychannel_field_edit.htm
  72. +3
    -3
      src/admin/templets/mytag_add.htm
  73. +2
    -2
      src/admin/templets/mytag_edit.htm
  74. +7
    -7
      src/admin/templets/mytag_tag_guide.htm
  75. +1
    -1
      src/admin/templets/search_keywords_main.htm
  76. +4
    -4
      src/admin/templets/shops_delivery.htm
  77. +13
    -13
      src/admin/templets/shops_operations_cart.htm
  78. +23
    -23
      src/admin/templets/soft_add.htm
  79. +3
    -3
      src/admin/templets/soft_config.htm
  80. +21
    -21
      src/admin/templets/soft_edit.htm
  81. +24
    -24
      src/admin/templets/spec_add.htm
  82. +31
    -35
      src/admin/templets/spec_edit.htm
  83. +7
    -7
      src/admin/templets/sys_admin_user_add.htm
  84. +6
    -6
      src/admin/templets/sys_admin_user_edit.htm
  85. +1
    -1
      src/admin/templets/sys_cache_up.htm
  86. +3
    -3
      src/admin/templets/sys_data_replace.htm
  87. +2
    -2
      src/admin/templets/sys_group_add.htm
  88. +2
    -2
      src/admin/templets/sys_group_edit.htm
  89. +4
    -4
      src/admin/templets/sys_info.htm
  90. +2
    -2
      src/admin/templets/sys_payment_install.htm
  91. +2
    -2
      src/admin/templets/sys_safetest.htm
  92. +3
    -3
      src/admin/templets/tags_main.htm
  93. +5
    -5
      src/admin/templets/templets_one_add.htm
  94. +7
    -7
      src/admin/templets/templets_one_edit.htm
  95. +5
    -5
      src/admin/templets/vote_add.htm
  96. +5
    -5
      src/admin/templets/vote_edit.htm
  97. +2
    -2
      src/apps/vote.php
  98. +1
    -1
      src/static/ckeditor/plugins/image/dialogs/image.js
  99. +1
    -1
      src/theme/plus/list_diyform.htm
  100. +2
    -2
      src/theme/system/info_link.htm

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

@@ -561,20 +561,20 @@ else if ($dopost == 'quickEdit') {
while ($trow = $dsql->GetObject()) {
if ($trow->att == 'j' || $trow->att == 'p') continue;
if (preg_match("#".$trow->att."#", $arcRow['flag']))
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}{$trow->att}[{$trow->att}] </label>";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}{$trow->att}[{$trow->att}]</label>";
else
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}] </label>";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>";
}
?>
</td>
</tr>
<tr>
<td width="90" class="bline"> 标题:</td>
<td class="bline"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:320px"></td>
<td class="bline"><input type="text" name="title" id="title" value="<?php echo $arcRow['title']; ?>" style="width:320px"></td>
</tr>
<tr>
<td width="90" class="bline"> 简略标题:</td>
<td class="bline"><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:320px"></td>
<td class="bline"><input type="text" name="shorttitle" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:320px"></td>
</tr>
<tr>
<td width="90" class="bline"> 阅读权限:</td>
@@ -591,12 +591,12 @@ else if ($dopost == 'quickEdit') {
}
?>
</select>
需要金币:<input name="money" type="text" id="money" value="<?php echo $arcRow["money"]; ?>" style="width:100px">
需要金币:<input type="text" name="money" id="money" value="<?php echo $arcRow["money"]; ?>" style="width:100px">
</td>
</tr>
<tr>
<td width="90" class="bline"> 关键词:</td>
<td class="bline"><input name="keywords" type="text" id="keywords" value="<?php echo $arcRow['keywords']; ?>" style="width:320px"></td>
<td class="bline"><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']; ?>" style="width:320px"></td>
</tr>
<tr>
<td colspan="2" align="center" class="py-3">
@@ -862,7 +862,7 @@ else if ($dopost == 'attsDlg') {
$dsql->Execute();
while ($trow = $dsql->GetObject()) {
if ($trow->att == 'j' || $trow->att == 'p') continue;
echo "<label><input type='radio' name='flagname' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}] <label>";
echo "<label class='mr-1'><input type='radio' name='flagname' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]<label>";
}
?>
</td>


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

@@ -57,7 +57,7 @@ else if ($action == 'editload') {
<table width="430" cellspacing="0" cellpadding="0">
<tr>
<td width="90">网站名称:</td>
<td width="270"><input name="title" type="text" id="title" style="width:260px" value="<?php echo $row['title']; ?>"></td>
<td width="270"><input type="text" name="title" id="title" style="width:260px" value="<?php echo $row['title']; ?>"></td>
</tr>
<tr>
<td>原内容编码:</td>
@@ -75,7 +75,7 @@ else if ($action == 'editload') {
</tr>
<tr>
<td>网站网址:</td>
<td colspan="2"><input name="url" type="text" id="url" value="<?php echo $row['url']; ?>" style="width:260px"></td>
<td colspan="2"><input type="text" name="url" id="url" value="<?php echo $row['url']; ?>" style="width:260px"></td>
</tr>
<tr>
<td></td>


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

@@ -14,7 +14,7 @@ header("Expires:0");
if ($t == 'source') {
$m_file = DEDEDATA."/admin/source.txt";
$allsources = file($m_file);
echo "<div class='coolbg4'>[<a href=\"javascript:OpenMyWin('article_source_edit.php');ClearDivCt('mysource');\">设置</a>]&nbsp;";
echo "<div class='coolbg4'>[<a href=\"javascript:OpenMyWin('article_source_edit.php');ClearDivCt('mysource');\">设置</a>]";
echo "[<a href='javascript:;' onclick='javascript:HideObj(\"mysource\");ChangeFullDiv(\"hide\");'>关闭</a>]</div>\r\n<div class='wsselect'>\r\n";
foreach ($allsources as $v) {
$v = trim($v);
@@ -26,7 +26,7 @@ if ($t == 'source') {
} else {
//作者列表
$m_file = DEDEDATA."/admin/writer.txt";
echo "<div class='coolbg4'>[<a href=\"javascript:OpenMyWin('article_writer_edit.php');ClearDivCt('mywriter');\">设置</a>]&nbsp;";
echo "<div class='coolbg4'>[<a href=\"javascript:OpenMyWin('article_writer_edit.php');ClearDivCt('mywriter');\">设置</a>]";
echo "[<a href='javascript:;' onclick='javascript:HideObj(\"mywriter\");ChangeFullDiv(\"hide\");'>关闭</a>]</div>\r\n<div class='wsselect'>\r\n";
if (filesize($m_file) > 0) {
$fp = fopen($m_file, 'r');


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

@@ -184,11 +184,11 @@ if ($dopost == 'time') {
</tr>
<tr>
<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>
<td class="bline"><input type="text" name="typename" value="<?php echo $myrow['typename'] ?>" style="width:260px" class="iptxt"></td>
</tr>
<tr>
<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>
<td class="bline"> <input type="text" name="sortrank" value="<?php echo $myrow['sortrank'] ?>" style="width:100px" class="iptxt">(由低 &gt; 高)</td>
</tr>
<tr>
<td class="bline" align="center">浏览权限:</td>
@@ -209,7 +209,7 @@ if ($dopost == 'time') {
</tr>
<tr>
<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>
<td class="bline"><input type="text" name="typedir" value="<?php echo $myrow['typedir'] ?>" style="width:260px" class="iptxt"></td>
</tr>
<tr>
<td align="center" class="bline">栏目列表选项:</td>
@@ -221,14 +221,14 @@ if ($dopost == 'time') {
</tr>
<tr>
<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>
<td class="bline"><input type="text" name="defaultname" value="<?php echo $myrow['defaultname'] ?>" style="width:260px" class="iptxt"></td>
</tr>
<tr>
<td class="bline" align="center">栏目属性:</td>
<td class="bline">
<label><input name="ispart" type="radio" id="radio" value="0" <?php if ($myrow['ispart'] == 0) echo "checked='1'"; ?>> 最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label><br>
<label><input name="ispart" type="radio" id="radio2" value="1" <?php if ($myrow['ispart'] == 1) echo "checked='1'"; ?>> 频道封面(栏目本身不允许发布文档)</label><br>
<label><input name="ispart" type="radio" id="radio3" value="2" <?php if ($myrow['ispart'] == 2) echo "checked='1'"; ?>> 外部连接(在"文件保存目录"处填写网址)</label>
<label><input name="ispart" type="radio" value="0" <?php if ($myrow['ispart'] == 0) echo "checked='1'"; ?>> 最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label><br>
<label><input name="ispart" type="radio" value="1" <?php if ($myrow['ispart'] == 1) echo "checked='1'"; ?>> 频道封面(栏目本身不允许发布文档)</label><br>
<label><input name="ispart" type="radio" value="2" <?php if ($myrow['ispart'] == 2) echo "checked='1'"; ?>> 外部连接(在"文件保存目录"处填写网址)</label>
</td>
</tr>
<tr>


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

@@ -21,7 +21,7 @@ else $inpath = $cfg_basedir.$activepath;
if ($fmdo == "rename") {
if ($activepath == "") $ndirstring = "根目录";
$ndirstring = $activepath;
$wintitle = "&nbsp;文件管理";
$wintitle = "文件管理";
$wecome_info = "文件管理::修改文件名 [<a href='file_manage_main.php?activepath=$activepath'>文件浏览器</a>]</a>";
$win = new OxWindow();
$win->Init("file_manage_control.php", "js/blank.js", "POST");
@@ -38,8 +38,8 @@ if ($fmdo == "rename") {
else if ($fmdo == "newdir") {
if ($activepath == "") $activepathname = "根目录";
else $activepathname = $activepath;
$wintitle = "&nbsp;文件管理";
$wecome_info = "&nbsp;文件管理::新建目录 [<a href='file_manage_main.php?activepath=$activepath'>文件浏览器</a>]</a>";
$wintitle = "文件管理";
$wecome_info = "文件管理::新建目录 [<a href='file_manage_main.php?activepath=$activepath'>文件浏览器</a>]</a>";
$win = new OxWindow();
$win->Init("file_manage_control.php", "js/blank.js", "POST");
$win->AddHidden("fmdo", $fmdo);
@@ -52,8 +52,8 @@ else if ($fmdo == "newdir") {
}
//移动文件
else if ($fmdo == "move") {
$wintitle = "&nbsp;文件管理";
$wecome_info = "&nbsp;文件管理::移动文件 [<a href='file_manage_main.php?activepath=$activepath'>文件浏览器</a>]</a>";
$wintitle = "文件管理";
$wecome_info = "文件管理::移动文件 [<a href='file_manage_main.php?activepath=$activepath'>文件浏览器</a>]</a>";
$win = new OxWindow();
$win->Init("file_manage_control.php", "js/blank.js", "POST");
$win->AddHidden("fmdo", $fmdo);
@@ -68,8 +68,8 @@ else if ($fmdo == "move") {
}
//删除文件
else if ($fmdo == "del") {
$wintitle = "&nbsp;文件管理";
$wecome_info = "&nbsp;文件管理::删除文件 [<a href='file_manage_main.php?activepath=$activepath'>文件浏览器</a>]</a>";
$wintitle = "文件管理";
$wecome_info = "文件管理::删除文件 [<a href='file_manage_main.php?activepath=$activepath'>文件浏览器</a>]</a>";
$win = new OxWindow();
$win->Init("file_manage_control.php", "js/blank.js", "POST");
$win->AddHidden("fmdo", $fmdo);


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

@@ -12,7 +12,7 @@ require_once(DEDEINC.'/libraries/dedehttpdown.class.php');
require_once(DEDEINC.'/image.func.php');
require_once(DEDEINC.'/archive/partview.class.php');
$backurl = !empty($_COOKIE['ENV_GOBACK_URL']) ? $_COOKIE['ENV_GOBACK_URL'] : '';
$backurl = preg_match("#content_#", $backurl) ? "<a href='$backurl' class='btn btn-success btn-sm'>记忆的列表页</a> &nbsp;" : '';
$backurl = preg_match("#content_#", $backurl) ? "<a href='$backurl' class='btn btn-success btn-sm'>记忆的列表页</a>" : '';
if (!isset($_NOT_ARCHIVES)) {
require_once(DEDEINC.'/customfields.func.php');
}


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

@@ -51,7 +51,7 @@ else if ($dopost == 'setskin') {
if(trim($row['editcon'])==''){
$row['editcon'] = 'archives_edit.php';
}
$rowarcrank = $row['arcrank']==-1? "&nbsp;<span class='text-danger'>[未审核]</span>":"";
$rowarcrank = $row['arcrank']==-1? " <span class='text-danger'>[未审核]</span>":"";
$pubdate = GetDateMk($row['pubdate']);
echo "<tr><td><a href='{$row['editcon']}?aid={$row['id']}&channelid={$row['channel']}'>{$row['title']}</a>{$rowarcrank}</td><td width='90'>{$pubdate}</td></tr>";
}


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

@@ -82,6 +82,6 @@ function GetMemberName($rank, $mt)
function GetMAtt($m)
{
if ($m < 1) return '';
else if ($m == 10) return "&nbsp;<span class='text-danger'>[管理员]</span>";
else return "&nbsp;<i class=\"fa fa-user-o\" aria-hidden=\"true\"></i> <span class='text-danger'>[荐]</span>";
else if ($m == 10) return " <span class='text-danger'>[管理员]</span>";
else return " <i class=\"fa fa-user-o\" aria-hidden=\"true\"></i> <span class='text-danger'>[荐]</span>";
}

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

@@ -161,7 +161,7 @@ else if ($action == 'setup') {
if (($devInfo['dev_id'] == $infos['dev_id']) && !empty($devInfo['dev_id'])) {
$s = "已认证";
}
$win->AddTitle("&nbsp;<a href='module_main.php'>模块管理</a> &gt; 安装模块:{$infos['name']}");
$win->AddTitle("<a href='module_main.php'>模块管理</a> &gt; 安装模块:{$infos['name']}");
$win->AddHidden("hash", $hash);
$win->AddHidden("action", 'setupstart');
$msg = "<style>.dtb{border-bottom:1px dotted #eee}</style>
@@ -209,8 +209,8 @@ else if ($action == 'setup') {
<tr>
<td>对于已存在文件处理方法:</td>
<td>
<label><input name='isreplace' type='radio' value='1' checked='checked'> 覆盖</label>
<label><input name='isreplace' type='radio' value='3'> 覆盖,保留副本</label>
<label><input type='radio' name='isreplace' value='1' checked='checked'> 覆盖</label>
<label><input type='radio' name='isreplace' value='3'> 覆盖,保留副本</label>
<label><input type='radio' name='isreplace' value='0'> 保留旧文件</label>
</td>
</tr>
@@ -345,7 +345,7 @@ function UnInstall();
else if ($action == 'uninstall') {
$dm = new DedeModule($mdir);
$infos = $dm->GetModuleInfo($hash);
if ($infos['url'] == '') $infos['url'] = '&nbsp;';
if ($infos['url'] == '') $infos['url'] = ' ';
$alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '<br>(这个模块的语言编码与您系统的编码不一致,请向开发者确认它的兼容性)');
$filelists = (array)$dm->GetFileLists($hash);
$filelist = '';
@@ -401,7 +401,7 @@ else if ($action == 'uninstall') {
<td>对于模块的文件处理方法:</td>
<td>
<label><input type='radio' name='isreplace' value='0' checked='checked'> 手工删除文件,仅运行卸载程序</label>
<label><input name='isreplace' type='radio' value='2'> 删除模块的所有文件</label>
<label><input type='radio' name='isreplace' value='2'> 删除模块的所有文件</label>
</td>
</tr>
</table>";
@@ -472,7 +472,7 @@ function ViewOne();
else if ($action == 'view') {
$dm = new DedeModule($mdir);
$infos = $dm->GetModuleInfo($hash);
if ($infos['url'] == '') $infos['url'] = '&nbsp;';
if ($infos['url'] == '') $infos['url'] = ' ';
$alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '<br>(这个模块的语言编码与您系统的编码不一致,请向开发者确认它的兼容性)');
$filelists = (array)$dm->GetFileLists($hash);
$filelist = '';


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

@@ -52,10 +52,10 @@ else if ($dopost == "copystart") {
}
$row = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE id='$id'");
$wintitle = "频道管理-模型复制";
$wecome_info = "&nbsp;<a href='mychannel_main.php'>频道管理</a>::模型复制";
$wecome_info = "<a href='mychannel_main.php'>频道管理</a>::模型复制";
$win = new OxWindow();
$win->Init("mychannel_edit.php", "js/blank.js", "post");
$win->AddTitle("&nbsp;被复制频道:[<span class='text-danger'>".$row['typename']."</span>]");
$win->AddTitle("被复制频道:[<span class='text-danger'>".$row['typename']."</span>]");
$win->AddHidden("cid", $id);
$win->AddHidden("id", $id);
$win->AddHidden("dopost", 'copysave');
@@ -328,11 +328,11 @@ function __GetTemplate()
else if ($dopost == "gettemplets") {
require_once(DEDEINC."/libraries/oxwindow.class.php");
$row = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE id='$id'");
$wintitle = "&nbsp;频道管理-查看模板";
$wintitle = "频道管理-查看模板";
$wecome_info = "<a href='mychannel_main.php'>频道管理</a>::查看模板";
$win = new OxWindow();
$win->Init("", "js/blank.js", "");
$win->AddTitle("&nbsp;频道[".$row['typename']."]默认模板文件说明:");
$win->AddTitle("频道[".$row['typename']."]默认模板文件说明:");
$defaulttemplate = $cfg_templets_dir.'/'.$cfg_df_style;
$msg = "
文档模板:{$defaulttemplate}/article_{$row['nid']}.htm


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

@@ -20,8 +20,8 @@ $dlist->display();
function GetSta($sta, $id, $title)
{
if ($sta == 1) {
return " &nbsp; <a href='plus_edit.php?dopost=edit&aid=$id'>修改</a> &nbsp; 启用 &gt; <a href='plus_edit.php?dopost=hide&aid=$id'>禁用</a> &nbsp; <a href='plus_edit.php?dopost=delete&aid=$id&title=".urlencode($title)."'>删除</a>";
return "<a href='plus_edit.php?dopost=edit&aid=$id'>修改</a> 启用 &gt; <a href='plus_edit.php?dopost=hide&aid=$id'>禁用</a> <a href='plus_edit.php?dopost=delete&aid=$id&title=".urlencode($title)."'>删除</a>";
} else {
return " &nbsp; <a href='plus_edit.php?aid=$id'>修改</a> &nbsp; 禁用 &gt; <a href='plus_edit.php?dopost=show&aid=$id'>启用</a> &nbsp; <a href='plus_edit.php?dopost=delete&aid=$id&title=".urlencode($title)."'>册除</a>";
return "<a href='plus_edit.php?aid=$id'>修改</a> 禁用 &gt; <a href='plus_edit.php?dopost=show&aid=$id'>启用</a> <a href='plus_edit.php?dopost=delete&aid=$id&title=".urlencode($title)."'>册除</a>";
}
}

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

@@ -83,7 +83,7 @@
<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="normbody[style]" value="code" id="adstyle">
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>">
<input type="hidden" name="dopost" value="save">
<tr>
@@ -91,7 +91,7 @@
</tr>
<tr>
<td>广告位标识:</td>
<td colspan="2"><input name="tagname" type="text" id="tagname" class="iptxt" style="width:260px">(使用英文或数字表示的简洁标识)</td>
<td colspan="2"><input type="text" name="tagname" id="tagname" class="iptxt" style="width:260px">(使用英文或数字表示的简洁标识)</td>
</tr>
<tr>
<td>广告分类:</td>
@@ -117,7 +117,7 @@
</tr>
<tr>
<td>广告位名称:</td>
<td colspan="2"><input name="adname" type="text" id="adname" class="iptxt" style="width:260px"></td>
<td colspan="2"><input type="text" name="adname" id="adname" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td>时间限制:</td>
@@ -129,8 +129,8 @@
<tr>
<td>投放时间:</td>
<td colspan="2">
从:<input name="starttime" type="text" id="starttime" value="<?php echo $startDay?>" style="width:160px">
到:<input name="endtime" type="text" id="endtime" value="<?php echo $endDay?>" style="width:160px">
从:<input type="text" name="starttime" id="starttime" value="<?php echo $startDay?>" style="width:160px">
到:<input type="text" name="endtime" id="endtime" value="<?php echo $endDay?>" style="width:160px">
</td>
</tr>
<tr>


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

@@ -84,7 +84,7 @@
</tr>
<tr>
<td>广告位名称:</td>
<td colspan="2"><input name="adname" type="text" id="adname" value="<?php echo $row['adname']?>" class="iptxt" style="width:260px"></td>
<td colspan="2"><input type="text" name="adname" id="adname" value="<?php echo $row['adname']?>" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td>时间限制:</td>
@@ -96,8 +96,8 @@
<tr>
<td>投放时间:</td>
<td colspan="2">
从:<input name="starttime" type="text" id="starttime" value="<?php echo GetDateTimeMk($row['starttime'])?>" style="width:160px">
到:<input name="endtime" type="text" id="endtime" value="<?php echo GetDateTimeMk($row['endtime'])?>" style="width:160px">
从:<input type="text" name="starttime" id="starttime" value="<?php echo GetDateTimeMk($row['starttime'])?>" style="width:160px">
到:<input type="text" name="endtime" id="endtime" value="<?php echo GetDateTimeMk($row['endtime'])?>" style="width:160px">
</td>
</tr>
<tr>


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

@@ -60,7 +60,7 @@ table{border-collapse:separate}
<input type="hidden" name="cid" value="<?php echo $cid; ?>">
<input type="hidden" name="imagebody" value="">
<input type="hidden" name="dopost" value="save">
<input name="maxwidth" type="hidden" id="maxwidth" size="10" value="<?php echo $cfg_album_width; ?>">
<input type="hidden" name="maxwidth" id="maxwidth" size="10" value="<?php echo $cfg_album_width; ?>">
<input type="hidden" id="albums" name="albums" value="">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">
<tr>
@@ -98,9 +98,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 图集标题:</td>
<td width="400"><input name="title" type="text" id="title" value="" style="width:380px"></td>
<td width="400"><input type="text" name="title" id="title" value="" style="width:380px"></td>
<td width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" style="width:160px"></td>
<td><input type="text" name="shorttitle" id="shorttitle" style="width:160px"></td>
</tr>
</table>
</td>
@@ -117,9 +117,9 @@ table{border-collapse:separate}
while($trow = $dsql->GetObject())
{
if($trow->att=='j')
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>";
else
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>";
}
?>
</td>
@@ -132,7 +132,7 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="" style="width:300px"></td>
<td><input type="text" name="redirecturl" id="redirecturl" value="" style="width:300px"></td>
</tr>
</table>
</td>
@@ -142,9 +142,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $maxWright['cc']; ?>" style="width:60px">(越小越靠前)</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc']; ?>" style="width:60px">(越小越靠前)</td>
</tr>
</table>
</td>
@@ -155,11 +155,11 @@ table{border-collapse:separate}
<tr>
<td width="90"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" style="width:300px">
<input type="text" name="picname" id="picname" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-sm btn-success delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-sm btn-success delete">清空</button>
<label><input type="checkbox" name="ddisfirst" value="1"> 使用图集的第一幅图</label>
</td>
<td width="260" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="max-width:100px;max-height:80px"></td>
@@ -173,13 +173,13 @@ table{border-collapse:separate}
<tr>
<td width="90"> 来源:</td>
<td width="260">
<input name="source" type="text" id="source" value=""style="width:160px" >
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button>
<input type="text" name="source" id="source" value=""style="width:160px" >
<button type="button" name="selsource" id="selsource" class="btn btn-success btn-sm">选择</button>
</td>
<td width="60">作者:</td>
<td>
<input name="writer" type="text" id="writer" value="" style="width:160px">
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button>
<input type="text" name="writer" id="writer" value="" style="width:160px">
<button type="button" name="selwriter" id="selwriter" class="btn btn-success btn-sm">选择</button>
</td>
</tr>
</table>
@@ -209,7 +209,7 @@ table{border-collapse:separate}
?>
</td>
<td width="90">消费金币:</td>
<td><input name="money" type="text" id="money" value="0" style="width:160px"></td>
<td><input type="text" name="money" id="money" value="0" style="width:160px"></td>
</tr>
</table>
</td>
@@ -234,7 +234,7 @@ table{border-collapse:separate}
<tr>
<td width="90"> 关键词:</td>
<td>
<input type='text' name="keywords" id="keywords" value="" style="width:360px">
<input type="text" name="keywords" id="keywords" value="" style="width:360px">
<button type="button" name="Submit" onClick="SelectKeywords('form1.keywords');" class="btn btn-success btn-sm">浏览</button>
</td>
<td>
@@ -260,9 +260,9 @@ table{border-collapse:separate}
<tr>
<td width="90"> 表现方式:</td>
<td>
<label><input name="pagestyle" type="radio" id="pagestyle1" onClick="checkMuList()" value="1" <?php if($cfg_album_style==1) echo " checked='checked'"; ?>> <img src="../static/web/img/alb2.jpg" title="单页多图样式"></label>
<label><input name="pagestyle" type="radio" id="pagestyle2" onClick="checkMuList()" value="2" <?php if($cfg_album_style==2) echo " checked='checked'"; ?>> <img src="../static/web/img/alb1.jpg" title="幻灯片样式"></label>
<label><input name="pagestyle" type="radio" id="pagestyle3" onClick="checkMuList()" value="3" <?php if($cfg_album_style==3) echo " checked='checked'"; ?>> <img src="../static/web/img/alb3.jpg" title="多缩略图样式"></label>
<label><input type="radio" name="pagestyle" 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 type="radio" name="pagestyle" 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 type="radio" name="pagestyle" 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>
@@ -272,11 +272,11 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td>&nbsp;多列式参数:</td>
<td> 多列式参数:</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">
缩略图宽度限制:<input name="ddmaxwidth" type="text" id="ddmaxwidth" value="<?php echo $cfg_album_ddwidth; ?>" size="6"> 像素
行&nbsp;<input type="text" name="row" id="row" value="<?php echo $cfg_album_row; ?>" size="6">
列&nbsp;<input type="text" name="col" id="col" value="<?php echo $cfg_album_col; ?>" size="6">
缩略图宽度限制:<input type="text" name="ddmaxwidth" id="ddmaxwidth" value="<?php echo $cfg_album_ddwidth; ?>" size="6"> 像素
</td>
</tr>
<tr>
@@ -291,7 +291,7 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 每页图片数:</td>
<td><input name="pagepicnum" type="text" id="pagpicnum" size="10" value="<?php echo $cfg_album_pagesize; ?>"> 单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td>
<td><input type="text" name="pagepicnum" id="pagpicnum" size="10" value="<?php echo $cfg_album_pagesize; ?>"> 单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td>
</tr>
</table>
</td>
@@ -302,7 +302,7 @@ table{border-collapse:separate}
<tr>
<td width="90"> 上传方式:</td>
<td>
<input name="isrm" type="hidden" id="isrm" value="1">
<input type="hidden" name="isrm" id="isrm" value="1">
<label><input type="checkbox" name="byhand" id="byhand" value="1" disabled="ture" checked />
手工上传</label>
<label><input type="checkbox" name="formzip" id="formzip" value="1" onClick="showZipField(this,'zipff','htmlfield')">
@@ -331,7 +331,7 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 网上复制:</td>
<td>复制的源网址:<input name="copysource" type="text" value="http://" style="width:260px">(防盗链网站需填写您复制图片的其中一个网页网址)<br>
<td>复制的源网址:<input type="text" name="copysource" value="http://" style="width:260px">(防盗链网站需填写您复制图片的其中一个网页网址)<br>
把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片
<input type="button" name="button" id="button" value="预览" onClick="LoadTestDiv()">
<br>
@@ -401,7 +401,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" >&nbsp;图集排序:</td>
<td width="90"> 图集排序:</td>
<td width="260"> <select name="sortup" id="sortup" style="width:160px">
<option value="0" selected>默认排序</option>
<option value="7">置顶一周</option>
@@ -412,8 +412,8 @@ table{border-collapse:separate}
</select> </td>
<td width="90">标题颜色:</td>
<td>
<input name="color" type="text" id="color" style="width:160px">
<button class="btn btn-success btn-sm" name="modcolor" type="button" id="modcolor" onClick="ShowColor(event,this)">选取</button>
<input type="text" name="color" id="color" style="width:160px">
<button type="button" name="modcolor" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button>
</td>
</tr>
</table>


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

@@ -98,9 +98,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 图集标题:</td>
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="400"><input type="text" name="title" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
<td><input type="text" name="shorttitle" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -119,9 +119,9 @@ table{border-collapse:separate}
if($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'";
else $jumpclick = '';
if(preg_match("#".$trow->att."#", $arcRow['flag']))
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label>";
else
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} /> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} /> {$trow->attname}[{$trow->att}]</label>";
}
?></td>
</tr>
@@ -133,7 +133,7 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td>
<td><input type="text" name="redirecturl" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td>
</tr>
</table>
</td>
@@ -143,9 +143,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td><input type="text" name="tags" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
</tr>
</table>
</td>
@@ -156,11 +156,11 @@ table{border-collapse:separate}
<tr>
<td width="90" height="80"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<input type="text" name="picname" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
</td>
<td align="center"><img id="litPic" src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" style="max-width:100px;max-height:80px"></td>
</tr>
@@ -173,13 +173,13 @@ table{border-collapse:separate}
<tr>
<td width="90"> 来源:</td>
<td width="260">
<input name="source" type="text" id="source" value="<?php echo $arcRow['source']?>" style="width:160px">
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button>
<input type="text" name="source" id="source" value="<?php echo $arcRow['source']?>" style="width:160px">
<button type="button" name="selsource" id="selsource" class="btn btn-success btn-sm">选择</button>
</td>
<td width="90">作者:</td>
<td>
<input name="writer" type="text" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px">
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button>
<input type="text" name="writer" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px">
<button type="button"name="selwriter" id="selwriter" class="btn btn-success btn-sm">选择</button>
</td>
</tr>
</table>
@@ -201,7 +201,7 @@ table{border-collapse:separate}
<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>
<td><input type="text" name="money" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -303,8 +303,8 @@ table{border-collapse:separate}
</select></td>
<td width="90">标题颜色:</td>
<td>
<input name="color" type="text" id="color" value="<?php echo $arcRow['color']?>" style="width:160px">
<button name="modcolor" type="button" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button>
<input type="text" name="color" id="color" value="<?php echo $arcRow['color']?>" style="width:160px">
<button type="button" name="modcolor" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button>
</td>
</tr>
</table>
@@ -360,9 +360,9 @@ table{border-collapse:separate}
<tr>
<td width="90"> 表现方式:</td>
<td>
<label><input name="pagestyle" type="radio" id="pagestyle1" onClick="checkMuList()" value="1" <?php if($pagestyle==1) echo " checked='checked'"; ?>> <img src="../static/web/img/alb2.jpg" title="单页多图样式"></label>
<label><input name="pagestyle" type="radio" id="pagestyle2" onClick="checkMuList()" value="2" <?php if($pagestyle==2) echo " checked='checked'"; ?>> <img src="../static/web/img/alb1.jpg" title="幻灯片样式"></label>
<label><input name="pagestyle" type="radio" id="pagestyle3" onClick="checkMuList()" value="3" <?php if($pagestyle==3) echo " checked='checked'"; ?>> <img src="../static/web/img/alb3.jpg" title="多缩略图样式"></label>
<label><input type="radio" name="pagestyle" id="pagestyle1" onClick="checkMuList()" value="1" <?php if($pagestyle==1) echo " checked='checked'"; ?>> <img src="../static/web/img/alb2.jpg" title="单页多图样式"></label>
<label><input type="radio" name="pagestyle" id="pagestyle2" onClick="checkMuList()" value="2" <?php if($pagestyle==2) echo " checked='checked'"; ?>> <img src="../static/web/img/alb1.jpg" title="幻灯片样式"></label>
<label><input type="radio" name="pagestyle" 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>
@@ -374,9 +374,9 @@ table{border-collapse:separate}
<tr>
<td width="260"> 多列式参数:</td>
<td>
行&nbsp;<input name="row" type="text" id="row" value="<?php echo $irow; ?>" size="6">
列&nbsp;<input name="col" type="text" id="col" value="<?php echo $icol; ?>" size="6">
缩略图宽度限制:<input name="ddmaxwidth" type="text" id="ddmaxwidth" value="<?php echo $ddmaxwidth; ?>" size="6"> 像素
行&nbsp;<input type="text" name="row" id="row" value="<?php echo $irow; ?>" size="6">
列&nbsp;<input type="text" name="col" id="col" value="<?php echo $icol; ?>" size="6">
缩略图宽度限制:<input type="text" name="ddmaxwidth" id="ddmaxwidth" value="<?php echo $ddmaxwidth; ?>" size="6"> 像素
</td>
</tr>
<tr>
@@ -401,7 +401,7 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 限制宽度:</td>
<td><input name="maxwidth" type="text" id="maxwidth" size="10" value="<?php echo $maxwidth?>">(防止图片太宽在模板页中溢出)</td>
<td><input type="text" name="maxwidth" id="maxwidth" size="10" value="<?php echo $maxwidth?>">(防止图片太宽在模板页中溢出)</td>
</tr>
</table>
</td>
@@ -411,7 +411,7 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 上传方式:</td>
<td><input name="isrm" type="hidden" id="isrm" value="1" />
<td><input type="hidden" name="isrm" id="isrm" value="1">
<label><input type="checkbox" name="byhand" id="byhand" value="1" disabled="ture" checked> 手工上传</label>
<label><input type="checkbox" name="formzip" id="formzip" value="1" onClick="showZipField(this,'zipff','htmlfield')"> 从ZIP压缩包中解压图片</label>
</tr>
@@ -423,7 +423,7 @@ table{border-collapse:separate}
<tr>
<td width="90"> 压缩包文件:</td>
<td><input type="text" name="zipfile" id="zipfile" style="width:260px">
<button name="addon_bt" type="button" class="btn btn-success btn-sm" onClick="SelectSoft('form1.zipfile')">浏览</button>
<button type="button" name="addon_bt" class="btn btn-success btn-sm" onClick="SelectSoft('form1.zipfile')">浏览</button>
<label><input type="checkbox" name="delzip" id="delzip" value="1" checked="checked"> 处理后删除压缩文件</label>
</td>
</tr>
@@ -435,7 +435,7 @@ table{border-collapse:separate}
<tr>
<td width="90"> 网上复制:</td>
<td>复制的源网址:
<input name="copysource" type="text" value="http://" style="width:260px">(防盗链网站需填写您复制图片的其中一个网页网址)<br>
<input type="text" name="copysource" 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>


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

@@ -79,9 +79,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> <?php echo $cInfos['titlename']; ?>:</td>
<td width="400"><input name="title" type="text" id="title" value="" style="width:380px"></td>
<td width="400"><input type="text" name="title" id="title" value="" style="width:380px"></td>
<td width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" style="width:160px"></td>
<td><input type="text" name="shorttitle" id="shorttitle" style="width:160px"></td>
</tr>
</table>
</td>
@@ -98,9 +98,9 @@ table{border-collapse:separate}
while($trow = $dsql->GetObject())
{
if($trow->att=='j')
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>";
else
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>";
}
?>
</td>
@@ -113,7 +113,7 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="" style="width:300px"></td>
<td><input type="text" name="redirecturl" id="redirecturl" value="" style="width:300px"></td>
</tr>
</table>
</td>
@@ -123,9 +123,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $maxWright['cc']; ?>" style="width:60px">(越小越靠前)</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc']; ?>" style="width:60px">(越小越靠前)</td>
</tr>
</table>
</td>
@@ -136,11 +136,11 @@ table{border-collapse:separate}
<tr>
<td width="90"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" style="width:300px">
<input type="text" name="picname" id="picname" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class='btn btn-success btn-sm'>选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-success delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success delete">清空</button>
</td>
<td align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="max-width:100px;max-height:80px"></td>
</tr>
@@ -153,13 +153,13 @@ table{border-collapse:separate}
<tr>
<td width="90"> 来源:</td>
<td width="260">
<input name="source" type="text" id="source" style="width:160px" value="" size="16">
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button>
<input type="text" name="source" id="source" style="width:160px" value="" size="16">
<button type="button" name="selsource" id="selsource" class="btn btn-success btn-sm">选择</button>
</td>
<td width="60">作者:</td>
<td>
<input name="writer" type="text" id="writer" value="" style="width:160px">
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button>
<input type="text" name="writer" id="writer" value="" style="width:160px">
<button type="button" name="selwriter" id="selwriter" class="btn btn-success btn-sm">选择</button>
</td>
</tr>
</table>
@@ -196,7 +196,7 @@ table{border-collapse:separate}
?>
</td>
<td width="90">消费金币:</td>
<td><input name="money" type="text" id="money" value="0" style="width:160px"></td>
<td><input type="text" name="money" id="money" value="0" style="width:160px"></td>
</tr>
</table>
</td>
@@ -287,7 +287,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" >&nbsp;文档排序:</td>
<td width="90"> 文档排序:</td>
<td width="260">
<select name="sortup" id="sortup" style="width:160px">
<option value="0" selected>默认排序</option>
@@ -299,8 +299,8 @@ table{border-collapse:separate}
</select> </td>
<td width="90">标题颜色:</td>
<td>
<input name="color" type="text" id="color" style="width:160px">
<button name="modcolor" type="button" id="modcolor" onClick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button>
<input type="text" name="color" id="color" style="width:160px">
<button type="button" name="modcolor" id="modcolor" onClick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button>
</td>
</tr>
</table>


+ 16
- 16
src/admin/templets/archives_edit.htm View File

@@ -75,9 +75,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> <?php echo $cInfos['titlename']; ?>:</td>
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="400"><input type="text" name="title" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
<td><input type="text" name="shorttitle" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -96,9 +96,9 @@ table{border-collapse:separate}
if($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'";
else $jumpclick = '';
if(preg_match("#".$trow->att."#", $arcRow['flag']))
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label>";
else
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} /> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} /> {$trow->attname}[{$trow->att}]</label>";
}
?>
</td>
@@ -111,7 +111,7 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']; ?>" style="width:300px"></td>
<td><input type="text" name="redirecturl" id="redirecturl" value="<?php echo $addRow['redirecturl']; ?>" style="width:300px"></td>
</tr>
</table>
</td>
@@ -121,9 +121,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td><input type="text" name="tags" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
</tr>
</table>
</td>
@@ -134,11 +134,11 @@ table{border-collapse:separate}
<tr>
<td width="90" height="80"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<input type="text" name="picname" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button>
<button type="button"id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
</td>
<td align="center">
<img id="litPic" src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" style="max-width:100px;max-height:80px">
@@ -153,13 +153,13 @@ table{border-collapse:separate}
<tr>
<td width="90"> 来源:</td>
<td width="260">
<input name="source" type="text" id="source" value="<?php echo $arcRow['source']?>" style="width:160px">
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button>
<input type="text" name="source" id="source" value="<?php echo $arcRow['source']?>" style="width:160px">
<button type="button" name="selsource" id="selsource" class="btn btn-success btn-sm">选择</button>
</td>
<td width="60">作者:</td>
<td>
<input name="writer" type="text" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px">
<button class="btn btn-success btn-sm" name="selwriter" type="button" id="selwriter">选择</button>
<input type="text" name="writer" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px">
<button type="button" class="btn btn-success btn-sm" name="selwriter" id="selwriter">选择</button>
</td>
</tr>
</table>
@@ -188,7 +188,7 @@ table{border-collapse:separate}
<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>
<td><input type="text" name="money" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -291,8 +291,8 @@ table{border-collapse:separate}
</td>
<td width="90">标题颜色:</td>
<td>
<input name="color" type="text" id="color" value="<?php echo $arcRow['color']?>" style="width:160px">
<button name="modcolor" type="button" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button>
<input type="text" name="color" id="color" value="<?php echo $arcRow['color']?>" style="width:160px">
<button type="button" name="modcolor" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button>
</td>
</tr>
</table>


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

@@ -67,7 +67,7 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> <?php echo $cInfos['titlename']; ?>:</td>
<td><input name="title" type="text" id="title" value="" style="width:380px"></td>
<td><input type="text" name="title" id="title" value="" style="width:380px"></td>
</tr>
</table>
</td>
@@ -83,7 +83,7 @@ table{border-collapse:separate}
$dsql->Execute();
while($trow = $dsql->GetObject())
{
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>";
}
?>
</td>
@@ -97,11 +97,11 @@ table{border-collapse:separate}
<tr>
<td width="90"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" style="width:300px">
<input type="text" name="picname" id="picname" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit2" onclick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button>
<button type="button"id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
</td>
<td width="260" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="max-width:100px;max-height:80px"></td>
</tr>


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

@@ -65,7 +65,7 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> <?php echo $cInfos['titlename']; ?>:</td>
<td><input name="title" type="text" id="title" value="<?php echo $addRow['title']; ?>" style="width:380px"></td>
<td><input type="text" name="title" id="title" value="<?php echo $addRow['title']; ?>" style="width:380px"></td>
</tr>
</table>
</td>
@@ -82,9 +82,9 @@ table{border-collapse:separate}
while($trow = $dsql->GetObject())
{
if(preg_match("#".$trow->att."#", $addRow['flag']))
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label>";
else
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>";
}
?>
</td>
@@ -98,11 +98,11 @@ table{border-collapse:separate}
<tr>
<td width="90"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" style="width:300px" value="<?php echo $addRow['litpic']?>">
<input type="text" name="picname" id="picname" style="width:300px" value="<?php echo $addRow['litpic']?>">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
</td>
<td align="center"><img id="litPic" src="<?php if($addRow['litpic']!='') echo $addRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" style="max-width:100px;max-height:80px"></td>
</tr>


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

@@ -69,7 +69,7 @@ table{border-collapse:separate}
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<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 width="360" align="center"><input type="text" name="geturl" 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>
@@ -89,9 +89,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文章标题:</td>
<td width="400"><input name="title" type="text" id="title" value="<?php echo $title; ?>" style="width:380px"></td>
<td width="400"><input type="text" name="title" id="title" value="<?php echo $title; ?>" style="width:380px"></td>
<td width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" style="width:160px"></td>
<td><input type="text" name="shorttitle" id="shorttitle" style="width:160px"></td>
</tr>
</table>
</td>
@@ -108,9 +108,9 @@ table{border-collapse:separate}
while($trow = $dsql->GetObject())
{
if($trow->att=='j')
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>&nbsp;";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>";
else
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>&nbsp;";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>";
}
?>
</td>
@@ -123,7 +123,7 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="" style="width:300px"></td>
<td><input type="text" name="redirecturl" id="redirecturl" value="" style="width:300px"></td>
</tr>
</table>
</td>
@@ -133,9 +133,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td><input type="text" name="tags"id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $maxWright['cc']; ?>" style="width:60px">(越小越靠前)</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc']; ?>" style="width:60px">(越小越靠前)</td>
</tr>
</table>
</td>
@@ -146,11 +146,11 @@ table{border-collapse:separate}
<tr>
<td width="90"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" style="width:300px">
<input type="text" name="picname" id="picname" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
</td>
<td width="260" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="max-width:100px;max-height:80px"></td>
</tr>
@@ -163,13 +163,13 @@ table{border-collapse:separate}
<tr>
<td width="90"> 来源:</td>
<td width="260">
<input name="source" type="text" id="source" value="<?php echo $source; ?>" style="width:160px">
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button>
<input type="text" name="source" id="source" value="<?php echo $source; ?>" style="width:160px">
<button type="button" name="selsource" id="selsource" class="btn btn-success btn-sm">选择</button>
</td>
<td width="60"> 作者:</td>
<td>
<input name="writer" type="text" id="writer" value="<?php echo $writer; ?>" style="width:160px">
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button>
<input type="text" name="writer" id="writer" value="<?php echo $writer; ?>" style="width:160px">
<button type="button" name="selwriter" id="selwriter" class="btn btn-success btn-sm">选择</button>
</td>
</tr>
</table>
@@ -199,7 +199,7 @@ table{border-collapse:separate}
?>
</td>
<td width="90">消费金币:</td>
<td><input name="money" type="text" id="money" value="0" style="width:160px"></td>
<td><input type="text" name="money" id="money" value="0" style="width:160px"></td>
</tr>
</table>
</td>
@@ -299,7 +299,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" >&nbsp;评论选项:</td>
<td width="90"> 评论选项:</td>
<td width="260">
<label><input type="radio" name="notpost" value="0" <?php if($cfg_feedback_forbid=='N') echo "checked='1'"; ?>> 允许评论</label>
<label><input type="radio" name="notpost" value="1" <?php if($cfg_feedback_forbid=='Y') echo "checked='1'"; ?>> 禁止评论</label>
@@ -317,7 +317,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" >&nbsp;文章排序:</td>
<td width="90"> 文章排序:</td>
<td width="260">
<select name="sortup" id="sortup" style="width:160px">
<option value="0" selected>默认排序</option>
@@ -329,8 +329,8 @@ table{border-collapse:separate}
</select> </td>
<td width="90">标题颜色:</td>
<td>
<input name="color" type="text" id="color" style="width:160px">
<button class="btn btn-success btn-sm" name="modcolor" type="button" id="modcolor" onClick="ShowColor(event, this)">选取</button>
<input type="text" name="color" id="color" style="width:160px">
<button type="button" name="modcolor" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event, this)">选取</button>
</td>
</tr>
</table>


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

@@ -142,7 +142,7 @@
<table width="430" cellspacing="0" cellpadding="0">
<tr>
<td width="90">网站名称:</td>
<td width="270"><input name="title" type="text" id="title" style="width:260px" value="<?php echo $row['title']; ?>"></td>
<td width="270"><input type="text" name="title" id="title" style="width:260px" value="<?php echo $row['title']; ?>"></td>
</tr>
<tr>
<td>原内容编码:</td>
@@ -160,7 +160,7 @@
</tr>
<tr>
<td>网站网址:</td>
<td colspan="2"><input name="url" type="text" id="url" style="width:260px"></td>
<td colspan="2"><input type="text" name="url" id="url" style="width:260px"></td>
</tr>
<tr>
<td></td>


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

@@ -28,21 +28,21 @@
<td height="36">
<table width="90%" cellpadding="2" cellspacing="2" class="table table-borderless">
<tr>
<td width="560">频道ID:<input name="channel" type="text" id="channel" value="1" style="width:260px">(可在“<a href="mychannel_main.php">频道模型管理</a>”处获得)</td>
<td>摘要大小:<input name="dsize" type="text" id="dsize" value="<?php echo $cfg_auot_description?>" style="width:260px">(最大250字节)</td>
<td width="560">频道ID:<input type="text" name="channel" id="channel" value="1" style="width:260px">(可在“<a href="mychannel_main.php">频道模型管理</a>”处获得)</td>
<td>摘要大小:<input type="text" name="dsize" id="dsize" value="<?php echo $cfg_auot_description?>" style="width:260px">(最大250字节)</td>
</tr>
<tr>
<td>数据表:<input name="table" type="text" id="table2" value="<?php echo $cfg_dbprefix?>addonarticle" style="width:260px"></td>
<td>分析字段:<input name="field" type="text" id="field2" value="body" style="width:260px"></td>
<td>数据表:<input type="text" name="table" id="table2" value="<?php echo $cfg_dbprefix?>addonarticle" style="width:260px"></td>
<td>分析字段:<input type="text" name="field" id="field2" value="body" style="width:260px"></td>
</tr>
<tr>
<td>最小值:<input name="msize" type="text" id="msize2" value="512" style="width:260px">(字节,内容大于该值才分析)</td>
<td>每批处理:<input name="pagesize" type="text" id="pagesize" value="100" style="width:260px">条记录</td>
<td>最小值:<input type="text" name="msize" id="msize2" value="512" style="width:260px">(字节,内容大于该值才分析)</td>
<td>每批处理:<input type="text" name="pagesize" id="pagesize" value="100" style="width:260px">条记录</td>
</tr>
<tr>
<td>
开始ID:<input name="sid" type="text" id="sid" style="width:60px">
结束ID:<input name="eid" type="text" id="eid" style="width:60px">
开始ID:<input type="text" name="sid" id="sid" style="width:60px">
结束ID:<input type="text" name="eid" id="eid" style="width:60px">
</td>
<td></td>
</tr>


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

@@ -80,9 +80,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文章标题:</td>
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="400"><input type="text" name="title" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="90">简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
<td><input type="text" name="shorttitle" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -106,9 +106,9 @@ table{border-collapse:separate}
}
if(preg_match("#".$trow->att."#", $arcRow['flag']))
{
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label>&nbsp;";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label>";
} else {
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick}>&nbsp;{$trow->attname}[{$trow->att}]</label>&nbsp;";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick}> {$trow->attname}[{$trow->att}]</label>";
}
}
?>
@@ -122,7 +122,7 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td>
<td><input type="text" name="redirecturl" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td>
</tr>
</table>
</td>
@@ -132,9 +132,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td><input type="text" name="tags" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
</tr>
</table>
</td>
@@ -145,11 +145,11 @@ table{border-collapse:separate}
<tr>
<td width="90"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<input type="text" name="picname" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
</td>
<td align="center">
<img id="litPic" src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" style="max-width:100px;max-height:80px">
@@ -164,13 +164,13 @@ table{border-collapse:separate}
<tr>
<td width="90"> 来源:</td>
<td width="260">
<input name="source" type="text" id="source" value="<?php echo $arcRow['source']?>" style="width:160px">
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button>
<input type="text" name="source" id="source" value="<?php echo $arcRow['source']?>" style="width:160px">
<button type="button" name="selsource" id="selsource" class="btn btn-success btn-sm">选择</button>
</td>
<td width="60">作者:</td>
<td>
<input name="writer" type="text" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px">
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button>
<input type="text" name="writer" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px">
<button type="button" name="selwriter" id="selwriter" class="btn btn-success btn-sm">选择</button>
</td>
</tr>
</table>
@@ -192,7 +192,7 @@ table{border-collapse:separate}
<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>
<td><input type="text" name="money" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -264,7 +264,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" >&nbsp;评论选项:</td>
<td width="90"> 评论选项:</td>
<td width="260">
<label><input type="radio" name="notpost" value="0" <?php if($arcRow['notpost']==0) echo "checked='1'"; ?>> 允许评论</label>
<label><input type="radio" name="notpost" value="1" <?php if($arcRow['notpost']==1) echo "checked='1'"; ?>> 禁止评论</label>
@@ -299,8 +299,8 @@ table{border-collapse:separate}
</td>
<td width="90">标题颜色:</td>
<td>
<input name="color" type="text" id="color" value="<?php echo $arcRow['color']?>" style="width:160px">
<button name="modcolor" type="button" id="modcolor" onClick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button>
<input type="text" name="color" id="color" value="<?php echo $arcRow['color']?>" style="width:160px">
<button type="button" name="modcolor" id="modcolor" onClick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button>
</td>
</tr>
</table>


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

@@ -50,9 +50,9 @@
<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>
<td width="270"><input name="rpurl" type="text" id="rpurl" placeholder="请输入链接" style="width:260px"></td>
<td width="70"><input name="rank" type="text" id="rank" value="30" style="width:60px"></td>
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input type="text" name="rpurl" id="rpurl" placeholder="请输入链接" style="width:260px"></td>
<td width="70"><input type="text" name="rank" id="rank" value="30" style="width:60px"></td>
<td><button type="submit" name="Submit" class="btn btn-success btn-sm">保存</button></td>
</tr>
</table>


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

@@ -50,9 +50,9 @@
<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>
<td width="170"><input name="rpurl" type="text" id="rpurl" placeholder="请输入链接" style="width:160px"></td>
<td width="170"><input name="rank" type="text" id="rank" placeholder="请输入频率" style="width:160px"></td>
<td width="170"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" style="width:160px"></td>
<td width="170"><input type="text" name="rpurl" id="rpurl" placeholder="请输入链接" style="width:160px"></td>
<td width="170"><input type="text" name="rank" id="rank" placeholder="请输入频率" style="width:160px"></td>
<td><input type="submit" name="Submit" value="保存" class="btn btn-success btn-sm"></td>
</tr>
</table>
@@ -66,8 +66,8 @@
<tr>
<td width="30%">选择关键词</td>
<td width="70%" align="right">
<button class="btn btn-success btn-sm" type="button" name="kwa" onClick="AddNewKw()">新增关键词</button>
<button class="btn btn-success btn-sm" type="button" name="kwm" onClick="location='article_keywords_main.php';">关键词管理</button>
<button type="button" class="btn btn-success btn-sm" name="kwa" onClick="AddNewKw()">新增关键词</button>
<button type="button"class="btn btn-success btn-sm" name="kwm" onClick="location='article_keywords_main.php';">关键词管理</button>
</td>
</tr>
</table>
@@ -84,7 +84,7 @@
<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>
<td width="270"><input type="text" name="keywords" id="keywords" value="<?php echo $keywords?>" placeholder="请输入关键词" style="width:260px"></td>
<td><button type="button" class="btn btn-success btn-sm" name="Submit" onClick="ReturnValue()">选用</button></td>
</tr>
</table>


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

@@ -51,7 +51,7 @@
</tr>
<tr>
<td align="left">每排列出记录:</td>
<td align="left"><input name="pagesize" type="text" id="pagesize" value="100" style="width:160px"> 条</td>
<td align="left"><input type="text" name="pagesize" id="pagesize" value="100" style="width:160px"> 条</td>
</tr>
</table>
</td>


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

@@ -44,9 +44,9 @@
<td colspan="4" bgcolor="#f8f8f8">新增一个点卡产品类型:</td>
</tr>
<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><input type="text" name="pname_new" id="pname_new" class="pubinputs" style="width:90%"></td>
<td><input type="text" name="num_new" id="num_new" class="pubinputs" style="width:80%" value="100"></td>
<td><input type="text" name="money_new" id="money_new" class="pubinputs" style="width:80%" value="30">(元)</td>
<td align="center"><input type="checkbox" name="check_new" id="check_new" value="1" checked="1"> 新增</td>
</tr>
<tr>


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

@@ -214,37 +214,37 @@
</tr>
<tr>
<td class="bline" style="padding-left:10px">中文名称:</td>
<td class="bline"><input name="typename" type="text" class="iptxt" style="width:260px"></td>
<td class="bline"><input type="text" name="typename" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">中文概述:</td>
<td class="bline"><input name="cnoverview" type="text" class="iptxt" style="width:260px"></td>
<td class="bline"><input type="text" name="cnoverview" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">英文名称:</td>
<td class="bline"><input name="enname" type="text" class="iptxt" style="width:260px"></td>
<td class="bline"><input type="text" name="enname" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">英文概述:</td>
<td class="bline"><input name="enoverview" type="text" class="iptxt" style="width:260px"></td>
<td class="bline"><input type="text" name="enoverview" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">栏目大图:</td>
<td>
<input name="bigpic" type="text" style="width:260px">
<input type="text" name="bigpic" style="width:260px">
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.bigpic');">
</td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">栏目小图:</td>
<td>
<input name="litimg" type="text" style="width:260px">
<input type="text" name="litimg" style="width:260px">
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litimg');">
</td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">排列顺序:</td>
<td class="bline"><input name="sortrank" type="text" class="pubinputs" style="width:60px">(由低 &gt; 高)</td>
<td class="bline"><input type="text" name="sortrank" class="pubinputs" style="width:60px">(由低 &gt; 高)</td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">浏览权限:</td>
@@ -275,7 +275,7 @@
$pardir = preg_replace("#\/{1,}#", '/', $pardir);
echo $pardir;
?>
<input name="nextdir" type="hidden" id="nextdir" value="<?php echo $pardir?>">
<input type="hidden" name="nextdir" id="nextdir" value="<?php echo $pardir?>">
</td>
</tr>
<tr>
@@ -292,12 +292,12 @@
<tr>
<td class="bline" style="padding-left:10px">目录相对位置:</td>
<td class="bline">
<label><input name="referpath" type="radio" value="parent" checked="chekced"> 上级目录</label>
<label><input type="radio" name="referpath" value="parent" checked="chekced"> 上级目录</label>
<?php
if($moresite==0){
?>
<label><input name="referpath" type="radio" value="cmspath"> CMS根目录</label>
<label><input name="referpath" type="radio" value="basepath"> 站点根目录</label>
<label><input type="radio" name="referpath" value="cmspath"> CMS根目录</label>
<label><input type="radio" name="referpath" value="basepath"> 站点根目录</label>
<?php } ?>
</td>
</tr>
@@ -311,7 +311,7 @@
</tr>
<tr>
<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>
<td class="bline"><input type="text" name="defaultname" value="index.html" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">栏目属性:</td>
@@ -378,7 +378,7 @@
</tr>
<tr>
<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>
<td class="bline"><input type="text" name="siteurl" id="siteurl" onChange="CheckPathSet();" style="width:260px">(需加 http://,一级或二级域名的根网址)</td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">站点根目录:</td>
@@ -409,7 +409,7 @@
<tr>
<td style="padding-left:10px">封面模板:</td>
<td>
<input name="tempindex" type="text" value="{style}/index_<?php echo $nid?>.htm" style="width:260px">
<input type="text" name="tempindex" value="{style}/index_<?php echo $nid?>.htm" style="width:260px">
<button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览</button>
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar1')" style="cursor:pointer"></i>
</td>
@@ -417,14 +417,14 @@
<tr>
<td style="padding-left:10px">列表模板:</td>
<td>
<input name="templist" type="text" value="{style}/list_<?php echo $nid?>.htm" style="width:260px">
<input type="text" name="templist" 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 style="padding-left:10px">文章模板:</td>
<td>
<input name="temparticle" type="text" value="{style}/article_<?php echo $nid?>.htm" style="width:260px">
<input type="text" name="temparticle" 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>
@@ -443,7 +443,7 @@
<tr>
<td style="padding-left:10px">文章命名规则:</td>
<td>
<input name="namerule" type="text" id="namerule" value="<?php echo $cfg_df_namerule; ?>" style="width:260px">
<input type="text" name="namerule" tid="namerule" value="<?php echo $cfg_df_namerule; ?>" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar2')" style="cursor:pointer"></i>
</td>
</tr>
@@ -454,13 +454,13 @@
<tr>
<td style="padding-left:10px">列表命名规则:</td>
<td>
<input name="namerule2" type="text" id="namerule2" value="{typedir}/{tid}-{page}.html" style="width:260px">
<input type="text" name="namerule2" id="namerule2" value="{typedir}/{tid}-{page}.html" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar3')" style="cursor:pointer"></i>
</td>
</tr>
<tr>
<td height="60" style="padding-left:10px">SEO标题:</td>
<td><input name="seotitle" type="text" id="seotitle" style="width:260px">(栏目模板里用{dede:field.seotitle /}调用)</td>
<td><input type="text" name="seotitle" id="seotitle" style="width:260px">(栏目模板里用{dede:field.seotitle /}调用)</td>
</tr>
<tr>
<td height="60" style="padding-left:10px">关键词:</td>
@@ -476,11 +476,7 @@
<td style="padding-left:10px">说明:栏目内容是替代原来栏目单独页的更灵活的一种方式,可在栏目模板中用{dede:field.content/}调用,通常用于企业简介之类的用途</td>
</tr>
<tr>
<td>
<?php
GetEditor("content","","450","Default","print","false");
?>
</td>
<td><?php GetEditor("content","","450","Default","print","false"); ?></td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3">


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

@@ -172,7 +172,7 @@
</tr>
<tr>
<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>
<td class="bline"><input type="text" name="defaultname" value="index.html" class="pubinputs" style="width:260px"></td>
</tr>
<tr id="helpvar2" style="display:none">
<td bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td>
@@ -188,7 +188,7 @@
<tr>
<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">
<input type="text" name="namerule" id="namerule" value="{typedir}/{aid}.html" class="pubinputs" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar2')" style="cursor:pointer"></i>
</td>
</tr>
@@ -199,7 +199,7 @@
<tr>
<td style="padding-left:10px">列表命名规则:</td>
<td>
<input name="namerule2" type="text" id="namerule2" value="{typedir}/{tid}-{page}.html" class="pubinputs" style="width:260px">
<input type="text" name="namerule2" id="namerule2" value="{typedir}/{tid}-{page}.html" class="pubinputs" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar3')" style="cursor:pointer"></i>
</td>
</tr>
@@ -224,7 +224,7 @@
</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>
<td align="center"><button type="button" name="" id="add" class="btn btn-success btn-sm del">删除</button></td>
</tr>
<?php for($i=2;$i<=10;$i++) { ?>
<tr class="repeat" align="center">
@@ -234,7 +234,7 @@
</td>
<td><input type="text" name="toptype<?php echo $i; ?>" id="toptype<?php echo $i; ?>" class="pubinputs" style="width:160px"></td>
<td><input type="text" name="sontype<?php echo $i; ?>" id="sontype<?php echo $i; ?>" class="pubinputs" style="width:360px"></td>
<td align="center"><button name="" type="button" id="add" class="btn btn-success btn-sm del">删除</button></td>
<td align="center"><button type="button" name="" id="add" class="btn btn-success btn-sm del">删除</button></td>
</tr>
<?php } ?>
</tbody>
@@ -252,7 +252,7 @@
<input type="text" name="rank" id="rank" value="1" class="pubinputs" style="width:60px">
</td>
<td><input type="text" name="reltype" id="reltype" class="pubinputs" style="width:160px"></td>
<td align="center"><button name="" type="button" id="add" class="btn btn-success btn-sm del">删除</button></td>
<td align="center"><button type="button" name="" id="add" class="btn btn-success btn-sm del">删除</button></td>
</tr>
<?php for($i=2;$i<=10;$i++) { ?>
<tr class="repeat" align="center">


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

@@ -191,37 +191,37 @@
</tr>
<tr>
<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>
<td class="bline"><input type="text" name="typename" value="<?php echo $myrow['typename']?>" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<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>
<td class="bline"><input type="text" name="cnoverview" value="<?php echo $myrow['cnoverview']?>" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<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>
<td class="bline"><input type="text" name="enname" value="<?php echo $myrow['enname']?>" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<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>
<td class="bline"><input type="text" name="enoverview" value="<?php echo $myrow['enoverview']?>" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">栏目大图:</td>
<td>
<input name="bigpic" type="text" value="<?php echo $myrow['bigpic']?>" style="width:260px">
<input type="text" name="bigpic" 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" style="padding-left:10px">栏目小图:</td>
<td>
<input name="litimg" type="text" value="<?php echo $myrow['litimg']?>" style="width:260px">
<input type="text" name="litimg" 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" 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>
<td class="bline"><input type="text" name="sortrank" value="<?php echo $myrow['sortrank']?>" class="iptxt" style="width:60px">(由低 &gt; 高)</td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">浏览权限:</td>
@@ -244,7 +244,7 @@
</tr>
<tr>
<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>
<td class="bline"><input type="text" name="typedir" id="typedir" value="<?php echo $myrow['typedir']?>" class="iptxt" style="width:260px">(标签“{cmspath}”必填,请勿删除)</td>
</tr>
<tr>
<td style="padding-left:10px">栏目列表选项:</td>
@@ -256,7 +256,7 @@
</tr>
<tr>
<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>
<td class="bline"><input type="text" name="defaultname" value="<?php echo $myrow['defaultname']?>" class="iptxt" style="width:260px"></td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">栏目属性:</td>
@@ -325,7 +325,7 @@
</tr>
<tr>
<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>
<td class="bline"><input type="text" name="siteurl" id="siteurl" value="<?php echo $myrow['siteurl']?>" class="iptxt" style="width:260px">(需加 http://,一级或二级域名的根网址)</td>
</tr>
<tr>
<td class="bline" style="padding-left:10px">站点根目录:</td>
@@ -349,7 +349,7 @@
<tr>
<td style="padding-left:10px">封面模板:</td>
<td>
<input name="tempindex" type="text" value="<?php echo $myrow['tempindex']?>" class="iptxt" style="width:260px">
<input type="text" name="tempindex" value="<?php echo $myrow['tempindex']?>" class="iptxt" style="width:260px">
<button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览</button>
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar1')" style="cursor:pointer"></i>
</td>
@@ -357,14 +357,14 @@
<tr>
<td style="padding-left:10px">列表模板:</td>
<td>
<input name="templist" type="text" value="<?php echo $myrow['templist']?>" class="iptxt" style="width:260px">
<input type="text" name="templist" 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 style="padding-left:10px">文章模板:</td>
<td>
<input name="temparticle" type="text" value="<?php echo $myrow['temparticle']?>" class="iptxt" style="width:260px">
<input type="text" name="temparticle" 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>
@@ -383,7 +383,7 @@
<tr>
<td style="padding-left:10px">文章命名规则:</td>
<td>
<input name="namerule" type="text" id="namerule" value="<?php echo $myrow['namerule']?>" class="iptxt" style="width:260px">
<input type="text" name="namerule" id="namerule" value="<?php echo $myrow['namerule']?>" class="iptxt" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar2')" style="cursor:pointer"></i>
</td>
</tr>
@@ -394,13 +394,13 @@
<tr>
<td style="padding-left:10px">列表命名规则:</td>
<td>
<input name="namerule2" type="text" id="namerule2" value="<?php echo $myrow['namerule2']?>" class="iptxt" style="width:260px">
<input type="text" name="namerule2" id="namerule2" value="<?php echo $myrow['namerule2']?>" class="iptxt" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar3')" style="cursor:pointer"></i>
</td>
</tr>
<tr>
<td height="60" style="padding-left:10px">SEO标题:</td>
<td><input name="seotitle" type="text" id="seotitle" value="<?php echo $myrow['seotitle']?>" style="width:260px">(栏目模板里用{dede:field.seotitle /}调用)</td>
<td><input type="text" name="seotitle" id="seotitle" value="<?php echo $myrow['seotitle']?>" style="width:260px">(栏目模板里用{dede:field.seotitle /}调用)</td>
</tr>
<tr>
<td height="60" style="padding-left:10px">关键词:</td>


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

@@ -38,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 type="text" name="sortid_<?php echo $k?>" value="<?php echo $row->sortid; ?>" id="sortid_<?php echo $k?>" class="pubinputs" style="width:50%"></td>
<td><input type="text" name="attname_<?php echo $k?>" value="<?php echo $row->attname; ?>" id="attname_<?php echo $k?>" size="30" class="pubinputs"></td>
</tr>
<?php
}


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

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


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

@@ -45,7 +45,7 @@
{dede:global.optionarr/}
</select>
</td>
<td width="270"><input name="keyword" type="text" placeholder="请输入关键词" value="{dede:global.keyword/}" style="width:260px"></td>
<td width="270"><input type="text" name="keyword" placeholder="请输入关键词" value="{dede:global.keyword/}" style="width:260px"></td>
<td width="170">
<select name="orderby" style="width:160px">
<option value="id">选择排序</option>


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

@@ -46,21 +46,21 @@
<tr>
<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 type="text" name="diyid" id="diyid" size="10" value="<?php echo $newdiyid?>" class="pubinputs" style='width:60px'> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help1')" style="cursor:hand"></i>
</td>
</tr>
<tr>
<td align="left">自定义表单名称:<br>
<span class="style2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span></td>
<td>
<input 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 type="text" name="name" id="name" value="自定义表单<?php echo $newdiyid; ?>" class="pubinputs" style="width:160px" > * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help3')" style="cursor:hand"></i>
</td>
</tr>
<tr>
<td align="left">数据表:<br>
<span class="style2" id="help5">必须由英文、数字、下划线组成,用于保存自定义表单数据,不能和已有表名重复,创建后不可修改表名</span></td>
<td>
<input 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 type="text" name="table" id="table" value="<?php echo $cfg_dbprefix; ?>diyform<?php echo $newdiyid; ?>" class="pubinputs" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help5')" style="cursor:hand"></i>
</td>
</tr>
<tr>
@@ -69,15 +69,15 @@
</tr>
<tr>
<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>
<td><input type="text" name="listtemplate" id="listtemplate" value="list_diyform<?php echo $newdiyid; ?>.htm" class="pubinputs" style="width:160px"></td>
</tr>
<tr>
<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>
<td><input type="text" name="viewtemplate" id="viewtemplate" value="view_diyform<?php echo $newdiyid; ?>.htm" class="pubinputs" style="width:160px"></td>
</tr>
<tr>
<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>
<td><input type="text" name="posttemplate" id="posttemplate" value="post_diyform<?php echo $newdiyid; ?>.htm" class="pubinputs" style="width:160px"></td>
</tr>
<tr>
<td align="left">前台列表和内容页公开:</td>


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

@@ -59,20 +59,20 @@
<td>自定义表单名称:(修改表名不会创建新表,如果您不懂手工处理这些表,请不要修改)<br>
<span class="style2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span></td>
<td>
<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>
<input type="text" name="name" id="name" value="<?php echo $row['name']?>" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help3')" style="cursor:hand"></i>
</td>
</tr>
<tr>
<td>数据表:<br>
<span class="style2" id="help5">自定义表单数据表创建后不可修改表名</span></td>
<td>
<input 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>
<input type="text" name="table" id="table" value="<?php echo $row['table']; ?>" disabled="1" style="width:160px"> * <i class="fa fa-question-circle" title="帮助" onClick="showHide2('help5')" style="cursor:hand"></i>
</td>
</tr>
<tr>
<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 type="button" name="fset" id="fset" onClick="location.href='diy_field_add.php?diyid=<?php echo $diyid; ?>'" class="btn btn-success btn-sm"
>添加新字段</button>
</td>
</tr>
@@ -137,15 +137,15 @@
</tr>
<tr>
<td>列表模板:</td>
<td><input name="listtemplate" type="text" id="listtemplate" style="width:160px" value="<?php echo $row['listtemplate']; ?>"></td>
<td><input type="text" name="listtemplate" id="listtemplate" style="width:160px" value="<?php echo $row['listtemplate']; ?>"></td>
</tr>
<tr>
<td>内容模板:</td>
<td><input name="viewtemplate" type="text" id="viewtemplate" style="width:160px" value="<?php echo $row['viewtemplate']; ?>"></td>
<td><input type="text" name="viewtemplate" id="viewtemplate" style="width:160px" value="<?php echo $row['viewtemplate']; ?>"></td>
</tr>
<tr>
<td>发布模板:</td>
<td><input name="posttemplate" type="text" id="posttemplate" style="width:160px" value="<?php echo $row['posttemplate']; ?>"></td>
<td><input type="text" name="posttemplate" id="posttemplate" style="width:160px" value="<?php echo $row['posttemplate']; ?>"></td>
</tr>
<tr>
<td>前台列表和内容页公开:</td>


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

@@ -89,20 +89,20 @@
<tr>
<td width="30%">表单提示文字:<br>
<span class="style2">发布内容时显示的提示文字</span></td>
<td><input name="itemname" type="text" id="itemname" class="pubinputs"> *</td>
<td><input type="text" name="itemname" id="itemname" class="pubinputs"> *</td>
</tr>
<tr>
<td>字段名称:<br>
<span class="style2">只能用英文字母或数字,数据表的真实字段名,如果数据类型是联动类型,该项应该填写联动类型的<a href="stepselect_main.php" target="_blank">[组名称]</a></span></td>
<td><input name="fieldname" type="text" id="fieldname" class="pubinputs"> *</td>
<td><input type="text" name="fieldname" id="fieldname" class="pubinputs"> *</td>
</tr>
<tr>
<td>内容是否需要分页符:<br>
<span class="style2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td>
<td>
<input name="isnull" type="hidden" value="1">
<label><input name="spage" type="radio" value="split"> 是</label>
<label><input name="spage" type="radio" value="no" checked="1"> 否</label>
<input type="hidden" name="isnull" value="1">
<label><input type="radio" name="spage" value="split"> 是</label>
<label><input type="radio" name="spage" value="no" checked="1"> 否</label>
</td>
</tr>
<tr>
@@ -127,12 +127,12 @@
<tr>
<td>默认值:<br>
<span class="style2">如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(用“,”分开,如“男,女,人妖”)</span></td>
<td><textarea name="vdefault" type="text" id="vdefault" style="width:70%;height:60px"></textarea></td>
<td><textarea name="vdefault" id="vdefault" style="width:70%;height:60px"></textarea></td>
</tr>
<tr>
<td>最大长度:<br>
<span class="style2">文本数据必须填写,大于255为text类型</span></td>
<td><input name="maxlength" type="text" id="maxlength" class="pubinputs" value="250" style="width:80px"></td>
<td><input type="text" name="maxlength" id="maxlength" class="pubinputs" value="250" style="width:80px"></td>
</tr>
<tr>
<td>自定义表单HTML:</td>


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

@@ -74,7 +74,7 @@ td{ padding:6px; padding-left:6px; }
<tr>
<td>表单提示文字:<br>
<span class="style2">发布内容时显示的提示文字</span></td>
<td><input name="itemname" type="text" id="itemname" value="<?php echo $ctag->GetAtt('itemname')?>" class="pubinputs"> *(发布内容时显示的项名字)</td>
<td><input type="text" name="itemname" id="itemname" value="<?php echo $ctag->GetAtt('itemname')?>" class="pubinputs"> *(发布内容时显示的项名字)</td>
</tr>
<tr>
<td width="28%">字段名称:<br>
@@ -120,7 +120,7 @@ td{ padding:6px; padding-left:6px; }
<td>内容是否需要分页符:<br>
<span class="style2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td>
<td>
<input name="isnull" type="hidden" value="1">
<input type="hidden" name="isnull" value="1">
<label><input type="radio" name="spage" value="split"<?php if($ctag->GetAtt('page')=='split') echo "checked='1'"; ?>> 是</label>
<label><input type="radio" name="spage" value="no"<?php if($ctag->GetAtt('page')=='no'||$ctag->GetAtt('page')=='') echo "checked='1'"; ?>> 否</label>
</td>
@@ -128,12 +128,12 @@ td{ padding:6px; padding-left:6px; }
<tr>
<td>默认值:<br>
<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>
<td><textarea name="vdefault" 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:6px"></td>
<td><input type="text" name="maxlength" id="maxlength" value="<?php echo $ctag->GetAtt('maxlength')?>" style="width:80px;padding-top:6px"></td>
</tr>
<tr>
<td>自定义表单HTML:</td>


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

@@ -25,7 +25,7 @@
</tr>
<tr>
<td>评论人:</td>
<td><input name="username" type="text" id="username" size="20" value="<?php echo $row['username']; ?>"></td>
<td><input type="text" name="username" id="username" size="20" value="<?php echo $row['username']; ?>"></td>
</tr>
<tr>
<td>评论发布时间:</td>
@@ -54,7 +54,7 @@
<tr>
<td colspan="2" align="center" class="py-3">
<button type="submit" class="btn btn-success btn-sm">保存</button>
<button onClick="location='<?php echo $ENV_GOBACK_URL; ?>';" type="button" class="btn btn-success btn-sm">返回</button>
<button type="button" onClick="location='<?php echo $ENV_GOBACK_URL; ?>';" class="btn btn-success btn-sm">返回</button>
</td>
</tr>
</table>


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

@@ -87,33 +87,33 @@
</tr>
<tr>
<td width="260" align="left">自由列表标题:</td>
<td align="left"><input name="title" type="text" id="title" style="width:260px"></td>
<td align="left"><input type="text" name="title" id="title" style="width:260px"></td>
</tr>
<tr>
<td 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"><input type="text" name="listdir" id="listdir" value="{cmspath}/a/freelist/" style="width:260px"> {listdir}变量的值</td>
</tr>
<tr>
<td align="left">目录默认页名称:</td>
<td align="left">
<input name="defaultpage" type="text" id="defaultpage" value="index.html" style="width:260px">
<input type="text" name="defaultpage" id="defaultpage" value="index.html" style="width:260px">
<label><input type="checkbox" name="nodefault" id="nodefault" value="1"> 不使用目录默认主页</label>
</td>
</tr>
<tr>
<td align="left">命名规则:</td>
<td align="left"><input name="namerule" type="text" id="namerule" value="{listdir}/index_{listid}_{page}.html" style="width:260px"></td>
<td align="left"><input type="text" name="namerule" id="namerule" value="{listdir}/index_{listid}_{page}.html" style="width:260px"></td>
</tr>
<tr>
<td align="left">列表模板:</td>
<td align="left">
<input name="templet" type="text" id="templet" value="{style}/list_free.htm" style="width:260px">
<input type="text" name="templet" 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 align="left">最大列出页数:</td>
<td align="left"><input name="maxpage" type="text" id="maxpage" value="100" style="width:60px"></td>
<td align="left"><input type="text" name="maxpage" id="maxpage" value="100" style="width:60px"></td>
</tr>
<tr>
<td align="left"></td>
@@ -121,7 +121,7 @@
</tr>
<tr>
<td align="left">关键词:</td>
<td align="left"><input name="keywords" type="text" id="keywords" style="width:260px"></td>
<td align="left"><input type="text" name="keywords" id="keywords" style="width:260px"></td>
</tr>
<tr>
<td align="left">列表描述:</td>
@@ -200,14 +200,14 @@
}
echo "</select>";
?>
文档发布时间:<input name="subday" type="text" id="subday2" value="0" style="width:60px"> 天以内(0表示不限)
文档发布时间:<input type="text" name="subday" id="subday2" value="0" style="width:60px"> 天以内(0表示不限)
</td>
</tr>
<tr>
<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个中文字)
每页记录数:<input type="text" name="pagesize" id="pagesize" value="30" style="width:60px">
显示列数: <input type="text" name="col" id="col3" value="1" style="width:60px">
标题长度:<input type="text" name="titlelen" id="titlelen" value="60" style="width:60px">(1字节 = 0.5个中文字)
</td>
</tr>
<tr>
@@ -229,7 +229,7 @@
<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="desc" checked> 由高到低</label>
<label><input type="radio" name="order" value="asc"> 由低到高</label>
</td>
</tr>


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

@@ -75,33 +75,33 @@
</tr>
<tr>
<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>
<td align="left"><input type="text" name="title" id="title" value="<?php echo $row['title']?>" style="width:260px"></td>
</tr>
<tr>
<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>
<td align="left"><input type="text" name="listdir" id="listdir" value="<?php echo $row['listdir']?>" style="width:260px"> {listdir}变量的值</td>
</tr>
<tr>
<td align="left">目录默认页名称:</td>
<td align="left">
<input name="defaultpage" type="text" id="defaultpage" value="<?php echo $row['defaultpage']?>" style="width:260px">
<input type="text" name="defaultpage" id="defaultpage" value="<?php echo $row['defaultpage']?>" style="width:260px">
<label><input type="checkbox" name="nodefault" id="nodefault" value="1" <?php if($row['nodefault']==1) echo "checked"; ?>> 不使用目录默认主页</label>
</td>
</tr>
<tr>
<td align="left">命名规则:</td>
<td align="left"><input name="namerule" type="text" id="namerule" value="<?php echo $row['namerule']?>" style="width:260px"></td>
<td align="left"><input type="text" name="namerule" id="namerule" value="<?php echo $row['namerule']?>" style="width:260px"></td>
</tr>
<tr>
<td height="36" align="left">列表模板:</td>
<td align="left">
<input name="templet" type="text" id="templet" value="<?php echo $row['templet']?>" style="width:260px">
<input type="text" name="templet" id="templet" value="<?php echo $row['templet']?>" style="width:260px">
<button type="button" name="set4" onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览</button>
</td>
</tr>
<tr>
<td align="left">最大列出页数:</td>
<td align="left"><input name="maxpage" type="text" id="maxpage" value="<?php echo $row['maxpage']; ?>" style="width:60px"></td>
<td align="left"><input type="text" name="maxpage" id="maxpage" value="<?php echo $row['maxpage']; ?>" style="width:60px"></td>
</tr>
<tr>
<td align="left"></td>
@@ -109,7 +109,7 @@
</tr>
<tr>
<td align="left">关键词:</td>
<td align="left"><input name="keywords" type="text" id="keywords" value="<?php echo $row['keywords']; ?>" style="width:260px"></td>
<td align="left"><input type="text" name="keywords" id="keywords" value="<?php echo $row['keywords']; ?>" style="width:260px"></td>
</tr>
<tr>
<td align="left">列表描述:</td>
@@ -177,14 +177,14 @@
}
echo "</select>";
?>
文档发布时间:<input name="subday" type="text" id="subday" size="6" value="<?php echo $ctag->GetAtt('subday')?>"> 天以内(0表示不限)
文档发布时间:<input type="text" name="subday" id="subday" size="6" value="<?php echo $ctag->GetAtt('subday')?>"> 天以内(0表示不限)
</td>
</tr>
<tr>
<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个中文字)
每页记录数:<input type="text" name="pagesize" id="pagesize" value="<?php echo $ctag->GetAtt('pagesize')?>" size="4">
显示列数:<input type="text" name="col" id="col" value="<?php $col = $ctag->GetAtt('col'); $v = ( empty($col) ? '1' : $col ); echo $v; ?>" size="4">
标题长度:<input type="text" name="titlelen" id="titlelen" value="<?php echo $ctag->GetAtt('titlelen')?>" size="4">(1字节 = 0.5个中文字)
</td>
</tr>
<tr>
@@ -197,7 +197,7 @@
<label><input type="checkbox" name="types[]" id="type1" value="image" <?php if(preg_match("#image#i",$setype)) echo ' checked'; ?>> 带缩略图</label>
<label><input type="checkbox" name="types[]" id="type2" value="commend" <?php if(preg_match("#commend#i", $setype)) echo ' checked'; ?>> 推荐</label>
<label><input type="checkbox" name="types[]" id="type3" value="spec" class="inputbut" <?php if(preg_match("#spec#i", $setype)) echo ' checked'; ?>> 专题</label>
关键词:<input name="keywordarc" type="text" id="keywordarc" value="<?php echo $ctag->GetAtt('keyword')?>">(&quot;,&quot;逗号分开)
关键词:<input type="text" name="keywordarc" id="keywordarc" value="<?php echo $ctag->GetAtt('keyword')?>">(&quot;,&quot;逗号分开)
</td>
</tr>
<tr>


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

@@ -41,23 +41,23 @@
<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>
<td><input type="text" name="url" 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>
<td><input type="text" name="webname" 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>
<td><input type="text" name="sortrank" 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>
<td><input type="text" name="logo" 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>
<td><input type="text" name="logoimg" type="file" id="logoimg" style="width:260px"></td>
</tr>
<tr>
<td>网站简况:</td>
@@ -65,7 +65,7 @@
</tr>
<tr>
<td>站长Email:</td>
<td><input name="email" type="text" id="email" class='pubinputs' style="width:260px"></td>
<td><input type="text" name="email" id="email" class='pubinputs' style="width:260px"></td>
</tr>
<tr>
<td>网站类型:</td>


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

@@ -21,23 +21,23 @@
<table width="80%" cellspacing="1" cellpadding="3" class="table table-borderless">
<tr>
<td width="260">网址:</td>
<td><input name="url" type="text" id="url" value="<?php echo $myLink['url']?>" style="width:260px"></td>
<td><input type="text" name="url" id="url" value="<?php echo $myLink['url']?>" style="width:260px"></td>
</tr>
<tr>
<td width="260">排列位置:</td>
<td><input name="sortrank" type="text" id="sortrank" value="<?php echo $myLink['sortrank']?>" style="width:60px">(由小到大排列)</td>
<td><input type="text" name="sortrank" id="sortrank" value="<?php echo $myLink['sortrank']?>" style="width:60px">(由小到大排列)</td>
</tr>
<tr>
<td>网站名称:</td>
<td><input name="webname" type="text" id="webname" value="<?php echo $myLink['webname']?>" style="width:260px"></td>
<td><input type="text" name="webname" id="webname" value="<?php echo $myLink['webname']?>" style="width:260px"></td>
</tr>
<tr>
<td>网站Logo:</td>
<td><input name="logo" type="text" id="logo" value="<?php echo $myLink['logo']?>" style="width:260px">(88*31 gif或jpg)</td>
<td><input type="text" name="logo" id="logo" value="<?php echo $myLink['logo']?>" 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>
<td><input type="text" name="logoimg" type="file" id="logoimg" style="width:260px"></td>
</tr>
<tr>
<td>网站简况:</td>
@@ -45,7 +45,7 @@
</tr>
<tr>
<td>站长Email:</td>
<td><input name="email" type="text" id="email" value="<?php echo $myLink['email']?>" class="pubinputs" style="width:260px"></td>
<td><input type="text" name="email" id="email" value="<?php echo $myLink['email']?>" class="pubinputs" style="width:260px"></td>
</tr>
<tr>
<td>链接位置:</td>


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

@@ -52,7 +52,7 @@
<form action="friendlink_main.php" name="form1" method="get">
<table cellspacing="0" cellpadding="3" class="table table-borderless">
<tr>
<td width="280" align="center"><input name="keyword" type="text" id="keyword" placeholder="请输入关键词" value="<?php echo $keyword; ?>" style="width:260px"></td>
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" value="<?php echo $keyword; ?>" style="width:260px"></td>
<td width="170">
<select name="ischeck" id="ischeck" style="width:160px">
<?php


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

@@ -64,7 +64,7 @@
<?php echo $adminlist?>
</select>
</td>
<td width="170"><input name="cip" type="text" id="cip" placeholder="请输入IP地址" style="width:160px"></td>
<td width="170"><input type="text" name="cip" id="cip" placeholder="请输入IP地址" style="width:160px"></td>
<td width="170">
<select name="dtime" id="dtime" style="width:160px">
<option value="0" selected>全部</option>


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

@@ -81,7 +81,7 @@
</tr>
<tr id="selid" style="display:none">
<td>起始ID:</td>
<td><input name="startid" type="text" id="startid" value="0" style="width:60px"></td>
<td><input type="text" name="startid" id="startid" value="0" style="width:60px"></td>
</tr>
<tr>
<td bgcolor="#F8FCF1" colspan="2" align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">开始更新</button></td>


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

@@ -40,19 +40,19 @@
</tr>
<tr>
<td>起始ID:</td>
<td><input name="startid" type="text" id="startid" style="width:60px">(空或0表示从头开始)</td>
<td><input type="text" name="startid" id="startid" style="width:60px">(空或0表示从头开始)</td>
</tr>
<tr>
<td>结束ID:</td>
<td><input name="endid" type="text" id="endid" style="width:60px">(空或0表示直到结束ID)</td>
<td><input type="text" name="endid" id="endid" style="width:60px">(空或0表示直到结束ID)</td>
</tr>
<tr>
<td>每页生成:</td>
<td> <input name="pagesize" type="text" id="pagesize" value="20" style="width:60px"> 个文件</td>
<td> <input type="text" name="pagesize" id="pagesize" value="20" style="width:60px"> 个文件</td>
</tr>
<tr>
<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="b112" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
<button type="button" name="b113" class="btn btn-success btn-sm" onClick="document.form2.submit();">查看所有文档</button>
</td>
</tr>


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

@@ -24,15 +24,15 @@
</tr>
<tr>
<td>起始ID:</td>
<td><input name="startid" type="text" id="startid" size="10" <?php if(!empty($aid)) echo " value='$aid'"; ?>>(空或0表示从头开始)</td>
<td><input type="text" name="startid" id="startid" size="10" <?php if(!empty($aid)) echo " value='$aid'"; ?>>(空或0表示从头开始)</td>
</tr>
<tr>
<td>结束ID:</td>
<td><input name="endid" type="text" id="endid" size="10" <?php if(!empty($aid)) echo " value='$aid'"; ?>>(空或0表示直到结束ID)</td>
<td><input type="text" name="endid" id="endid" size="10" <?php if(!empty($aid)) echo " value='$aid'"; ?>>(空或0表示直到结束ID)</td>
</tr>
<tr>
<td>每批生成:</td>
<td><input name="pagesize" type="text" id="pagesize" value="100" size="8"> 个文件</td>
<td><input type="text" name="pagesize" id="pagesize" value="100" size="8"> 个文件</td>
</tr>
<tr>
<td bgcolor="#F8FCF1" colspan="2" align="center"><button type="button" onClick="document.form1.submit();" class="btn btn-success btn-sm">开始更新</button></td>


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

@@ -37,8 +37,8 @@
<tr>
<td width="260">选择首页模板:</td>
<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>
<input type="text" name="templet" id="templet" value="<?php echo $row['templet']?>" style="width:260px">
<button type="button" name="set4" value="" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览</button>
</td>
</tr>
<tr>
@@ -49,7 +49,7 @@
</tr>
<tr>
<td>首页位置:</td>
<td><input name="position" type="text" id="position" value="<?php echo $row['position']?>" style="width:260px"></td>
<td><input type="text" name="position" id="position" value="<?php echo $row['position']?>" style="width:260px"></td>
</tr>
<tr>
<td>相关选项:</td>


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

@@ -51,7 +51,7 @@
</tr>
<tr>
<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="b112" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
</td>
</tr>
</form>


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

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


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

@@ -43,22 +43,22 @@
?>
<tr>
<td width="260">起始ID:</td>
<td><input name="startid" type="text" id="startid" style="width:60px">(空或0表示从头开始)</td>
<td><input type="text" name="startid" id="startid" style="width:60px">(空或0表示从头开始)</td>
</tr>
<tr>
<td>结束ID:</td>
<td><input name="endid" type="text" id="endid" style="width:60px">(空或0表示直到结束ID)</td>
<td><input type="text" name="endid" id="endid" style="width:60px">(空或0表示直到结束ID)</td>
</tr>
<?php
}
?>
<tr>
<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>
<td><input type="text" name="tagsdir" id="tagsdir" value="<?php echo $cfg_tags_dir;?>" style="width:260px" disabled> <a href="sys_info.php">系统设置</a>-其他选项中“TAGS生成目录”项进行调整</td>
</tr>
<tr>
<td>每次最大创建页数:</td>
<td><input name="maxpagesize" type="text" id="maxpagesize" value="50" style="width:60px"> 个文件</td>
<td><input type="text" name="maxpagesize" id="maxpagesize" value="50" style="width:60px"> 个文件</td>
</tr>
<tr>
<td>标签说明:</td>
@@ -69,7 +69,7 @@
</td>
</tr>
<tr>
<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>
<td bgcolor="#F8FCF1" colspan="2" align="center"><button type="button" name="b112" class="btn btn-success btn-sm" onClick="document.form1.action='makehtml_taglist_action.php';onTagSubmit();">生成标签</button></td>
</tr>
</form>
<tr>


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

@@ -77,7 +77,7 @@
</tr>
<tr>
<td class="bline">说明标题:</td>
<td class="bline"><input name="title" type="text" id="title" size="30" style="width:300px"></td>
<td class="bline"><input type="text" name="title" id="title" size="30" style="width:300px"></td>
</tr>
<tr>
<td class="bline">参数说明:</td>
@@ -86,15 +86,15 @@
<tr>
<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">(分钟)
宽:<input type="text" name="mediawidth" id="mediawidth" style="width:60px">(像素)
高:<input type="text" name="mediaheight" id="mediaheight" style="width:60px">(像素)
播放时间:<input type="text" name="playtime" id="mediawidth3" style="width:60px">(分钟)
</td>
</tr>
<tr>
<td class="bline">上传文件:</td>
<td class="bline">
数量:<input name="picnum" type="text" id="picnum" value="5" style="width:60px">
数量:<input type="text" name="picnum" id="picnum" value="5" style="width:60px">
<button type="button" name="Submit" class="btn btn-success btn-sm" onClick="MakeUpload()">增加</button>
<button type="button" name="Submit" class="btn btn-success btn-sm" onClick="ResetUpload()">恢复</button>
</td>


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

@@ -62,7 +62,7 @@
</tr>
<tr>
<td class="bline">说明标题:</td>
<td class="bline"><input name="title" type="text" id="title" value="<?php echo $myrow['title']?>" style="width:300px"></td>
<td class="bline"><input type="text" name="title" id="title" value="<?php echo $myrow['title']?>" style="width:300px"></td>
</tr>
<tr>
<td class="bline">参数说明:</td>
@@ -71,15 +71,15 @@
<tr>
<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">(分钟)
宽:<input type="text" name="mediawidth" id="mediawidth" value="<?php echo $myrow['width']?>" style="width:60px">(像素)
高:<input type="text" name="mediaheight" id="mediaheight" value="<?php echo $myrow['height']?>" style="width:60px">(像素)
播放时间:<input type="text" name="playtime" id="playtime" value="<?php echo $myrow['playtime']?>" style="width:60px">(分钟)
</td>
</tr>
<tr>
<td class="bline">原文件:</td>
<td class="bline">
<input name="filename" type="text" id="filename" value="<?php echo $myrow['url']?>" style="width:260px">
<input type="text" name="filename" id="filename" value="<?php echo $myrow['url']?>" style="width:260px">
<a href="<?php echo $myrow['url']?>" target="_blank">[查看]</a>
</td>
</tr>


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

@@ -73,22 +73,22 @@
<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">
<input type="text" name="keyword" 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>
<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>
<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>


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

@@ -18,7 +18,7 @@
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="280" align="center"><input name="keyword" type="text" id="keyword" placeholder="请输入关键词" value="{dede:global name='keyword'/}" style="width:260px"></td>
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" value="{dede:global name='keyword'/}" style="width:260px"></td>
<td width="170">
<select name="sortkey" id="sortkey" style="width:160px">
{dede:global name='sortform'/}


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

@@ -61,7 +61,7 @@
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="280" align="center"><input name="buyid" type="text" id="buyid" placeholder="请输入订单号" style="width:260px"></td>
<td width="280" align="center"><input type="text" name="buyid" id="buyid" placeholder="请输入订单号" style="width:260px"></td>
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
</tr>
</table>


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

@@ -19,8 +19,8 @@
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="280" align="center"><input name="keyword" type="text" id="keyword" value="{dede:global name='keyword'/}" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input name="username" type="text" id="username" value="{dede:global name='username'/}" placeholder="请输入用户名" style="width:260px"></td>
<td width="280" align="center"><input type="text" name="keyword" id="keyword" value="{dede:global name='keyword'/}" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input type="text" name="username" id="username" value="{dede:global name='username'/}" placeholder="请输入用户名" style="width:260px"></td>
<td width="170">
<select name="folder" id="folder" style="width:160px">
<option value="inbox">收件箱</option>


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

@@ -18,8 +18,8 @@
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="280" align="center"><input name="keyword" type="text" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input name="username" type="text" id="username" placeholder="请输入用户名" style="width:260px"></td>
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input type="text" name="username" id="username" placeholder="请输入用户名" style="width:260px"></td>
<td width="170">
<select name="folder" id="folder" style="width:160px">
<option value="inbox">收件箱</option>
@@ -40,11 +40,11 @@
<tr>
<td colspan="7">
<form id="postall" method="post" action="member_pmall.php">
<input name="action" type="hidden" value="post">
<input type="hidden" name="action" value="post">
<table width="100%" cellpadding="1" cellspacing="1">
<tr>
<td width="260">标题:</td>
<td><input name="subject" type="text" id="subject" class="company_manage_form_label" style="width:260px">(标题少于70个字符内)</td>
<td><input type="text" name="subject" id="subject" class="company_manage_form_label" style="width:260px">(标题少于70个字符内)</td>
</tr>
<tr>
<td><label for="pm_textarea">内容:</label></td>


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

@@ -18,8 +18,8 @@
<td height="36" bgcolor="#f8f8f8">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="280" align="center"><input name="keyword" type="text" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input name="username" type="text" id="username" placeholder="请输入用户名" style="width:260px"></td>
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input type="text" name="username" id="username" placeholder="请输入用户名" style="width:260px"></td>
<td width="170">
<select name="folder" id="folder" style="width:160px">
<option value="inbox">收件箱</option>
@@ -40,15 +40,15 @@
<tr>
<td colspan="7">
<form id="postall" method="post" action="member_pmone.php">
<input name="action" type="hidden" value="post">
<input type="hidden" name="action" value="post">
<table width="100%" cellpadding="1" cellspacing="1">
<tr>
<td width="260">发送到:</td>
<td><input name="msgtoid" type="text" class="text" value="<?php echo empty($touid)? '' : $touid?>" style="width:260px"> 填写用户登录的ID(网址uid=后面跟着的ID)</td>
<td><input type="text" name="msgtoid" class="text" value="<?php echo empty($touid)? '' : $touid?>" style="width:260px"> 填写用户登录的ID(网址uid=后面跟着的ID)</td>
</tr>
<tr>
<td>标题:</td>
<td><input name="subject" type="text" id="subject" class="company_manage_form_label" style="width:260px">(标题少于70个字符内)</td>
<td><input type="text" name="subject" id="subject" class="company_manage_form_label" style="width:260px">(标题少于70个字符内)</td>
</tr>
<tr>
<td><label for="pm_textarea">内容:</label></td>


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

@@ -57,9 +57,9 @@
?>
<tr>
<td>新增:</td>
<td align="center"><input name="add_integral" type="text" id="add_integral" style="width:160px"></td>
<td align="center"><input name="add_icon" type="text" id="add_icon" style="width:60px"></td>
<td align="center"><input name="add_titles" type="text" id="add_titles" style="width:160px"></td>
<td align="center"><input type="text" name="add_integral" id="add_integral" style="width:160px"></td>
<td align="center"><input type="text" name="add_icon" id="add_icon" style="width:60px"></td>
<td align="center"><input type="text" name="add_titles" id="add_titles" style="width:160px"></td>
<td align="center">
<select name="add_isdefault" id="add_isdefault">
<option value="1">是</option>


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

@@ -56,11 +56,11 @@
</tr>
<tr>
<td class="bline">用户笔名:</td>
<td class="bline"><input name="uname" type="text" id="uname" size="16" value="<?php echo $row['uname']?>" style="width:260px">(发布文章后显示责任编辑的名字)</td>
<td class="bline"><input type="text" name="uname" id="uname" size="16" value="<?php echo $row['uname']?>" style="width:260px">(发布文章后显示责任编辑的名字)</td>
</tr>
<tr>
<td class="bline">用户密码:</td>
<td class="bline"><input name="pwd" type="text" id="pwd" size="16" style="width:260px">(留空则不修改,只能用'0-9a-zA-Z.@_-!'以内范围的字符)</td>
<td class="bline"><input type="text" name="pwd" id="pwd" size="16" style="width:260px">(留空则不修改,只能用'0-9a-zA-Z.@_-!'以内范围的字符)</td>
</tr>
<tr>
<td class="bline">用户类型:</td>
@@ -89,17 +89,17 @@
</tr>
<tr>
<td class="bline">真实姓名:</td>
<td class="bline"><input name="tname" type="text" id="tname" size="16" style="width:260px" value=""></td>
<td class="bline"><input type="text" name="tname" id="tname" size="16" style="width:260px" value=""></td>
</tr>
<tr>
<td class="bline">电子邮箱:</td>
<td class="bline"><input name="email" type="text" id="email" size="16" style="width:260px" value="<?php echo $row['email']?>"></td>
<td class="bline"><input type="text" name="email" id="email" size="16" style="width:260px" value="<?php echo $row['email']?>"></td>
</tr>
<tr>
<td class="bline">安全验证串:</td>
<td class="bline">
<input name="safecode" type="text" id="safecode" size="16" style="width:260px">
<input name="randcode" type="hidden" value="<?php echo $randcode; ?>">(复制本代码:<span style='color:#e74d58'><?php echo $safecode; ?></span>)</td>
<input type="text" name="safecode" id="safecode" size="16" style="width:260px">
<input type="hidden" name="randcode" value="<?php echo $randcode; ?>">(复制本代码:<span style='color:#e74d58'><?php echo $safecode; ?></span>)</td>
</tr>
<tr>
<td colspan="2" align="center" class="py-3">


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

@@ -42,7 +42,7 @@
?>
<input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->aid?>">
<tr align="center">
<td><input name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" type="text" id="pname_<?php echo $k?>" style="width:90%" class="pubinputs"></td>
<td><input type="text" name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" id="pname_<?php echo $k?>" style="width:90%" class="pubinputs"></td>
<td>
<select name="rank_<?php echo $k?>" id="rank_<?php echo $k?>" style="width:90%">
<?php
@@ -53,7 +53,7 @@
?>
</select>
</td>
<td><input name="money_<?php echo $k?>" value="<?php echo $row->money?>" type="text" id="money_<?php echo $k?>" style="width:80%" class="pubinputs">(元)</td>
<td><input type="text" name="money_<?php echo $k?>" value="<?php echo $row->money?>" id="money_<?php echo $k?>" style="width:80%" class="pubinputs">(元)</td>
<td>
<select name="exptime_<?php echo $k?>" id="exptime_<?php echo $k?>" style="width:90%">
<?php
@@ -74,7 +74,7 @@
<td colspan="5"> 新增一个会员产品类型:</td>
</tr>
<tr align="center">
<td><input name="pname_new" type="text" id="pname_new" style="width:90%" class="pubinputs"></td>
<td><input type="text" name="pname_new" id="pname_new" style="width:90%" class="pubinputs"></td>
<td>
<select name="rank_new" id="rank_new" style="width:90%">
<?php
@@ -84,7 +84,7 @@
?>
</select>
</td>
<td><input name="money_new" type="text" id="money_new" style="width:80%" value="100" class="pubinputs">(元)</td>
<td><input type="text" name="money_new" id="money_new" style="width:80%" value="100" class="pubinputs">(元)</td>
<td>
<select name="exptime_new" id="exptime_new" style="width:90%">
<?php


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

@@ -77,11 +77,11 @@
</tr>
<tr>
<td class="bline">电子邮箱:</td>
<td class="bline"><input name="email" type="text" id="email" value="<?php echo $row['email']?>" style="width:260px"></td>
<td class="bline"><input type="text" name="email" id="email" value="<?php echo $row['email']?>" style="width:260px"></td>
</tr>
<tr>
<td class="bline">昵称:</td>
<td class="bline"><input name="uname" type="text" value="<?php echo $row['uname']?>" id="uname" style="width:260px"></td>
<td class="bline"><input type="text" name="uname" value="<?php echo $row['uname']?>" id="uname" style="width:260px"></td>
</tr>
<tr>
<td class="bline">性别:</td>
@@ -94,8 +94,8 @@
<tr>
<td class="bline">金币 :</td>
<td class="bline">
<input name="money" type="text" id="money" value="<?php echo $row['money']; ?>" style="width:60px">
积分:<input name="scores" type="text" id="scores" value="<?php echo $row['scores']; ?>" style="width:60px">
<input type="text" name="money" id="money" value="<?php echo $row['money']; ?>" style="width:60px">
积分:<input type="text" name="scores" id="scores" value="<?php echo $row['scores']; ?>" style="width:60px">
</td>
</tr>
<tr>
@@ -137,7 +137,7 @@
<?php } ?>
<td class="bline">推荐级别:</td>
<td class="bline">
<input name="oldmatt" type="hidden" id="oldmatt" value="<?php echo $row['matt']?>" style="width:60px">
<input type="hidden" name="oldmatt" id="oldmatt" value="<?php echo $row['matt']?>" style="width:60px">
<input name="matt" type="text" id="matt" value="<?php echo $row['matt']?>" style="width:60px">(0为普通,1为推荐,10为管理员不能在前台登录非管理员ID是严格使用10属性的,要新建管理在<a href='sys_admin_user_add.php' target='_blank'>系统帐号</a>地方增加)
</td>
</tr>


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

@@ -43,11 +43,11 @@
</tr>
<tr>
<td width="260">模块名称:</td>
<td><input name="modulname" type="text" id="modulname" style="width:160px" value="<?php echo $name; ?>"></td>
<td><input type="text" name="modulname" id="modulname" style="width:160px" value="<?php echo $name; ?>"></td>
</tr>
<tr>
<td>开发者ID:</td>
<td><input name="dev_id2" type="text" id="dev_id2" style="width:160px" value="<?php echo $dev_id; ?>" disabled> <a href="<?php echo $cfg_biz_dedebizUrl; ?>/developer" target="_blank" class="text-success">如何获取开发者ID</a></td>
<td><input type="text" name="dev_id2" id="dev_id2" style="width:160px" value="<?php echo $dev_id; ?>" disabled> <a href="<?php echo $cfg_biz_dedebizUrl; ?>/developer" target="_blank" class="text-success">如何获取开发者ID</a></td>
</tr>
<tr>
<td>语言编码:</td>
@@ -71,7 +71,7 @@
</tr>
<tr>
<td>发布时间:</td>
<td><input name="mtime" type="text" id="mtime" style="width:160px" value="<?php echo $time; ?>"></td>
<td><input type="text" name="mtime" id="mtime" style="width:160px" value="<?php echo $time; ?>"></td>
</tr>
<tr>
<td>是否涉及会员系统:</td>
@@ -79,8 +79,8 @@
<label><input type="radio" name="ismember" value="0" onclick="ShowHideMb('ismember0','rboxct')" <?php if($ismember=='0') echo "checked='1'"; ?>> 不涉及</label>
<label><input type="radio" name="ismember" value="1" onclick="ShowHideMb('ismember0','rboxct')" <?php if($ismember=='1') echo "checked='1'"; ?>> 涉及</label>
<div id="rboxct" style="display:<?php echo ($ismember=='0' ? 'none' : 'block'); ?>">
导航使用名称:<input name="indexname" type="text" id="indexname" style="width:160px" value="<?php echo $indexname; ?>"><br>
导航使用网址:<input name="indexurl" type="text" id="indexurl" style="width:160px" value="<?php echo $indexurl; ?>">(用相对于会员中心的网址,如:../ask)
导航使用名称:<input type="text" name="indexname" id="indexname" style="width:160px" value="<?php echo $indexname; ?>"><br>
导航使用网址:<input type="text" name="indexurl" id="indexurl" style="width:160px" value="<?php echo $indexurl; ?>">(用相对于会员中心的网址,如:../ask)
</div>
</td>
</tr>


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

@@ -34,7 +34,7 @@
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td width="100%"> &nbsp;<a href="plus_main.php">模块管理</a> &gt; DedeBIZ模块开发指南</td>
<td width="100%"><a href="plus_main.php">模块管理</a> &gt; DedeBIZ模块开发指南</td>
</tr>
<tr>
<td>


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

@@ -38,11 +38,11 @@
</tr>
<tr>
<td width="260">模块名称:</td>
<td><input name="modulname" type="text" id="modulname" style="width:160px"> </td>
<td><input type="text" name="modulname" id="modulname" style="width:160px"> </td>
</tr>
<tr>
<td>语言编码:</td>
<td><?php echo $cfg_soft_lang; ?>(不同编码模块可以使用,但不能在此打包)<input name="lang" type="hidden" value="<?php echo $cfg_soft_lang; ?>"></td>
<td><?php echo $cfg_soft_lang; ?>(不同编码模块可以使用,但不能在此打包)<input type="hidden" name="lang" value="<?php echo $cfg_soft_lang; ?>"></td>
</tr>
<tr>
<td>封装类型:</td>
@@ -55,11 +55,11 @@
</tr>
<tr>
<td>开发者ID:</td>
<td><input name="dev_id" type="text" id="dev_id" style="width:160px"> <a href="<?php echo $cfg_biz_dedebizUrl; ?>/developer" target="_blank" class="text-success">如何获取开发者ID</a></td>
<td><input type="text" name="dev_id" id="dev_id" style="width:160px"> <a href="<?php echo $cfg_biz_dedebizUrl; ?>/developer" target="_blank" class="text-success">如何获取开发者ID</a></td>
</tr>
<tr>
<td>发布时间:</td>
<td><input name="mtime" type="text" id="mtime" style="width:160px" value="<?php echo GetDateMk(time()); ?>"> </td>
<td><input type="text" name="mtime" id="mtime" style="width:160px" value="<?php echo GetDateMk(time()); ?>"> </td>
</tr>
<tr>
<td>是否涉及会员系统:</td>
@@ -67,8 +67,8 @@
<label><input type="radio" name="ismember" value="0" onclick="ShowHideMb('ismember0','rboxct')" checked="checked"> 不涉及</label>
<label><input type="radio" name="ismember" value="1" onclick="ShowHideMb('ismember0','rboxct')"> 涉及</label>
<div id="rboxct" style="display:none">
导航使用名称:<input name="indexname" type="text" id="indexname" style="width:160px" value=""><br>
导航使用网址:<input name="indexurl" type="text" id="indexurl" style="width:160px" value="">
导航使用名称:<input type="text" name="indexname" id="indexname" style="width:160px" value=""><br>
导航使用网址:<input type="text" name="indexurl" id="indexurl" style="width:160px" value="">
(用相对于会员中心的网址,如:../ask)
</div>
</td>


+ 5
- 7
src/admin/templets/module_upload.htm View File

@@ -17,19 +17,19 @@
</tr>
<tr>
<td width="260">插件名称</td>
<td><input name="plusname" type="text" id="plusname"> </td>
<td><input type="text" name="plusname" id="plusname"> </td>
</tr>
<tr>
<td>作者</td>
<td><input name="writer" type="text" id="writer"></td>
<td><input type="text" name="writer" id="writer"></td>
</tr>
<tr>
<td>主程序文件</td>
<td><input name="link" type="text" id="link" size="30"></td>
<td><input type="text" name="link" id="link" size="30"></td>
</tr>
<tr>
<td>目标框架</td>
<td><input name="target" type="text" id="target" value="main"></td>
<td><input type="text" name="target" id="target" value="main"></td>
</tr>
<tr>
<td>文件列表</td>
@@ -37,9 +37,7 @@
<textarea name="filelist" rows="8" id="filelist" style="width:60%"></textarea></td>
</tr>
<tr>
<td bgcolor="#f8f8f8" colspan="2" align="center" class="py-3">
<button type="submit" class="btn btn-success btn-sm">确定</button>
</td>
<td bgcolor="#f8f8f8" colspan="2" align="center" class="py-3"><button type="submit" class="btn btn-success btn-sm">确定</button></td>
</tr>
</form>
</table>


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

@@ -50,23 +50,23 @@
<tr>
<td width="30%">频道ID<br>
<span class="style2" id='help1'>数字,创建后不可修改,并具有唯一性</span></td>
<td width="70%"><input name="id" type="text" id="id" size="10" value="<?php echo $newid; ?>" class="pubinputs"> *</td>
<td width="70%"><input type="text" name="id" id="id" size="10" value="<?php echo $newid; ?>" class="pubinputs"> *</td>
</tr>
<tr>
<td>名字标识<br>
<span class="style2" id="help2">与文档的模板相关连,建议由英文、数字或下划线组成,因为部份Unix系统无法识别中文文件,频道默认文档模板是“default/article_名字标识.htm”,列表模板、封面模板类推 </span></td>
<td><input name="nid" type="text" id="nid" value="ch<?php echo $newid; ?>" class="pubinputs"> *</td>
<td><input type="text" name="nid" id="nid" value="ch<?php echo $newid; ?>" class="pubinputs"> *</td>
</tr>
<tr>
<td>频道名称<br>
<span class="style2" id="help3">频道的中文名称,在后台管理,前台发布等均使用此名字</span></td>
<td><input name="typename" type="text" id="typename" value="频道<?php echo $newid; ?>" class="pubinputs"> *</td>
<td><input type="text" name="typename" id="typename" value="频道<?php echo $newid; ?>" class="pubinputs"> *</td>
</tr>
<tr>
<td>附加表<br>
<span class="style2" id="help4">频道除主表以外其它自定义类型数据存放数据的表,如果您不使用主表关连的各种特性(推荐、会员权限等),也可以使用完全以附加表作为存储数据</span></td>
<td>
<input name="addtable" type="text" id="addtable" value="<?php echo $cfg_dbprefix,'addon',$newid; ?>" class="pubinputs"> 必须由英文、数字、下划线组成 *
<input type="text" name="addtable" id="addtable" value="<?php echo $cfg_dbprefix,'addon',$newid; ?>" class="pubinputs"> 必须由英文、数字、下划线组成 *
<label><input type="checkbox" name="isdel" id="isdel" value="1"> 删除已有表</label>
</td>
</tr>
@@ -74,8 +74,8 @@
<td>模型性质<br>
<span class="style2" id="help5">如果为系统模型将禁止删除,此选项不可修改,对于独立模型,系统强制创建字段aid,typeid,senddate,title,mid,channel,独立模型的文档内容必须点击栏目进入列表才能管理</span></td>
<td>
<label><input type="radio" name="issystem" id="is1" value="0" onClick="PublicDefault()" checked="1"> 自动模型 </label>
<label><input type="radio" name="issystem" id="is2" value="1" onClick="PublicDefault()"> 系统模型 </label>
<label><input type="radio" name="issystem" id="is1" value="0" onClick="PublicDefault()" checked="1"> 自动模型</label>
<label><input type="radio" name="issystem" id="is2" value="1" onClick="PublicDefault()"> 系统模型</label>
<label><input type="radio" name="issystem" id="is3" value="-1" onClick="PublicDefault()"> 独立模型(不使用主表)</label>
</td>
</tr>
@@ -127,7 +127,7 @@
</tr>
<tr>
<td>投稿标题使用名称</td>
<td><input name="titlename" type="text" id="titlename" value="标题" class="pubinputs"></td>
<td><input type="text" name="titlename" id="titlename" value="标题" class="pubinputs"></td>
</tr>
<tr>
<td>投稿是否使用摘要<br>
@@ -147,7 +147,7 @@
<tr>
<td>默认栏目ID<br>
<span class="style2" id="help8">与投稿是唯一性结合可以用模型设计自定义表单</span></td>
<td><input name="dfcid" type="text" id="dfcid" value="0" class="pubinputs"></td>
<td><input type="text" name="dfcid" id="dfcid" value="0" class="pubinputs"></td>
</tr>
<tr>
<td>投稿具有唯一性<br>
@@ -159,27 +159,27 @@
</tr>
<tr>
<td>档案发布程序</td>
<td><input name="addcon" type="text" id="addcon" value="archives_add.php" class="pubinputs"> *</td>
<td><input type="text" name="addcon" id="addcon" value="archives_add.php" class="pubinputs"> *</td>
</tr>
<tr>
<td>档案修改程序</td>
<td><input name="editcon" type="text" id="editcon" value="archives_edit.php" class="pubinputs"> *</td>
<td><input type="text" name="editcon" id="editcon" value="archives_edit.php" class="pubinputs"> *</td>
</tr>
<tr>
<td>档案管理程序</td>
<td><input name="mancon" type="text" id="mancon" value="content_list.php" class="pubinputs"> *</td>
<td><input type="text" name="mancon" id="mancon" value="content_list.php" class="pubinputs"> *</td>
</tr>
<tr>
<td>前台会员发布程序</td>
<td><input name="useraddcon" type="text" id="useraddcon" value="archives_add.php" class="pubinputs"></td>
<td><input type="text" name="useraddcon" id="useraddcon" value="archives_add.php" class="pubinputs"></td>
</tr>
<tr>
<td>前台会员修改程序</td>
<td><input name="usereditcon" type="text" id="usereditcon" value="archives_edit.php" class="pubinputs"></td>
<td><input type="text" name="usereditcon" id="usereditcon" value="archives_edit.php" class="pubinputs"></td>
</tr>
<tr>
<td>前台会员管理程序</td>
<td><input name="usermancon" type="text" id="usermancon" value="content_list.php" class="pubinputs"></td>
<td><input type="text" name="usermancon" id="usermancon" value="content_list.php" class="pubinputs"></td>
</tr>
<tr>
<td colspan="2" align="center" class="py-3">


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

@@ -127,12 +127,12 @@
</tr>
<tr>
<td>频道名称<br><span class="style2" id="help3">频道的中文名称,在后台管理,前台发布等均使用此名字</span></td>
<td><input name="typename" type="text" id="typename" value="<?php echo $row['typename']; ?>" class="pubinputs"></td>
<td><input type="text" name="typename" id="typename" value="<?php echo $row['typename']; ?>" class="pubinputs"></td>
</tr>
<tr>
<td>附加表<br>
<span class="style2" id="help4">频道除主表以外其它自定义类型数据存放数据的表,如果您不使用主表关连的各种特性(推荐、会员权限等),也可以使用完全以附加表作为存储数据</span></td>
<td><input name="addtable" type="text" id="addtable" value="<?php echo $row['addtable']; ?>" class="pubinputs">(#@__ 是表示数据表前缀)</td>
<td><input type="text" name="addtable" id="addtable" value="<?php echo $row['addtable']; ?>" class="pubinputs">(#@__ 是表示数据表前缀)</td>
</tr>
<tr>
<td>是否支持会员投稿</td>
@@ -183,43 +183,43 @@
</tr>
<tr>
<td>档案发布程序</td>
<td><input name="addcon" type="text" id="addcon" value="<?php echo $row['addcon']; ?>" class="pubinputs"></td>
<td><input type="text" name="addcon" id="addcon" value="<?php echo $row['addcon']; ?>" class="pubinputs"></td>
</tr>
<tr>
<td>档案修改程序</td>
<td><input name="editcon" type="text" id="editcon" value="<?php echo $row['editcon']; ?>" class="pubinputs"></td>
<td><input type="text" name="editcon" id="editcon" value="<?php echo $row['editcon']; ?>" class="pubinputs"></td>
</tr>
<tr>
<td>档案管理程序</td>
<td><input name="mancon" type="text" id="mancon" value="<?php echo $row['mancon']; ?>" class="pubinputs"></td>
<td><input type="text" name="mancon" id="mancon" value="<?php echo $row['mancon']; ?>" class="pubinputs"></td>
</tr>
<tr>
<td>前台会员发布程序</td>
<td><input name="useraddcon" type="text" id="useraddcon" value="<?php echo $row['useraddcon']; ?>" class="pubinputs"></td>
<td><input type="text" name="useraddcon" id="useraddcon" value="<?php echo $row['useraddcon']; ?>" class="pubinputs"></td>
</tr>
<tr>
<td>前台会员修改程序</td>
<td><input name="usereditcon" type="text" id="usereditcon" value="<?php echo $row['usereditcon']; ?>" class="pubinputs"></td>
<td><input type="text" name="usereditcon" id="usereditcon" value="<?php echo $row['usereditcon']; ?>" class="pubinputs"></td>
</tr>
<tr>
<td>前台会员管理程序</td>
<td><input name="usermancon" type="text" id="usermancon" value="<?php echo $row['usermancon']; ?>" class="pubinputs"></td>
<td><input type="text" name="usermancon" id="usermancon" value="<?php echo $row['usermancon']; ?>" class="pubinputs"></td>
</tr>
<tr>
<td>列表附加字段<br>
<span class="style2" id="help6">用&quot;,&quot;分开,可以在列表模板{dede:list}{/dede:list}中用[field:name/]调用</span></td>
<td><input name="listfields" type="text" id="listfields" size="50" value="<?php echo $row['listfields']; ?>" class="pubinputs" style="width:80%"></td>
<td><input type="text" name="listfields" id="listfields" size="50" value="<?php echo $row['listfields']; ?>" class="pubinputs" style="width:80%"></td>
</tr>
<tr>
<td>投稿标题使用名称</td>
<td><input name="titlename" type="text" id="titlename" value="<?php echo $row['titlename']; ?>" class="pubinputs"></td>
<td><input type="text" name="titlename" id="titlename" value="<?php echo $row['titlename']; ?>" class="pubinputs"></td>
</tr>
<tr>
<td>投稿是否使用摘要<br>
<span class="style2">如果不使用主表(独立模型)缩略图设置同</span></td>
<td>
<label><input type="radio" name="needdes" value="1" <?php if($row['needdes']==1) echo "checked='1'"; ?>> 使用</label>
<label><input type="radio" name="needdes" value="0" <?php if($row['needdes']==0) echo "checked='1'"; ?>> 不使用 </label>
<label><input type="radio" name="needdes" value="0" <?php if($row['needdes']==0) echo "checked='1'"; ?>> 不使用</label>
</td>
</tr>
<tr>
@@ -231,7 +231,7 @@
</tr>
<tr>
<td>默认栏目ID<br><span class="style2" id="help8">与投稿是唯一性结合可以用模型设计自定义表单</span></td>
<td><input name="dfcid" type="text" id="dfcid" value="<?php echo $row['dfcid']; ?>" class="pubinputs" style="width:160px"></td>
<td><input type="text" name="dfcid" id="dfcid" value="<?php echo $row['dfcid']; ?>" class="pubinputs" style="width:160px"></td>
</tr>
<tr>
<td>投稿具有唯一性<br>
@@ -245,7 +245,7 @@
<table width="98%" id='adset' cellpadding="3" cellspacing="1" align="center" class="table maintable" style='display:none'>
<tr>
<td>模型字段配置(可视化模式)</td>
<td><button name="fset" type="button" id="fset" onClick="location.href='mychannel_field_add.php?id=<?php echo $id; ?>'" class="btn btn-success btn-sm">添加新字段</button></td>
<td><button type="button" name="fset" id="fset" onClick="location.href='mychannel_field_add.php?id=<?php echo $id; ?>'" class="btn btn-success btn-sm">添加新字段</button></td>
</tr>
<tr>
<td colspan='2'>


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

@@ -110,12 +110,12 @@
<tr>
<td width="30%">表单提示文字:<br>
<span class="style2">发布内容时显示的提示文字</span></td>
<td><input name="itemname" type="text" id="itemname" class="pubinputs"> *</td>
<td><input type="text" name="itemname" id="itemname" class="pubinputs"> *</td>
</tr>
<tr>
<td>字段名称:<br>
<span class="style2">只能用英文字母或数字,数据表的真实字段名,如果数据类型是联动类型,该项应该填写联动类型的<a href='stepselect_main.php' target='_blank'>[组名称]</a></span></td>
<td><input name="fieldname" type="text" id="fieldname" class="pubinputs"> *</td>
<td><input type="text" name="fieldname" id="fieldname" class="pubinputs"> *</td>
</tr>
<tr>
<td>字段类型:</td>
@@ -135,7 +135,7 @@
<td>内容是否需要分页符:<br>
<span class="style2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td>
<td>
<input name="isnull" type="hidden" value="1">
<input type="hidden" name="isnull" value="1">
<label><input type="radio" name="spage" value="split"> 是</label>
<label><input type="radio" name="spage" value="no" checked="1"> 否</label>
</td>
@@ -143,27 +143,27 @@
<tr>
<td>数据类型:</td>
<td id="dataType">
<div class="nw"><label><input type="radio" name="dtype" id="dtype1" value="text" checked='1'> 单行文本(varchar) </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype2" value="textchar"> 单行文本(char) </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype3" value="multitext"> 多行文本 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype4" value="htmltext"> HTML文本 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype1" value="text" checked='1'> 单行文本(varchar)</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype2" value="textchar"> 单行文本(char)</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype3" value="multitext"> 多行文本</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype4" value="htmltext"> HTML文本</label></div>
<br class="cls">
<div class="nw"><label><input type="radio" name="dtype" id="dtype5" value="textdata"> 文本保存HTML数据 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype6" value="int"> 整数类型 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype7" value="float"> 小数类型 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype8" value="datetime"> 时间类型 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype5" value="textdata"> 文本保存HTML数据</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype6" value="int"> 整数类型</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype7" value="float"> 小数类型</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype8" value="datetime"> 时间类型</label></div>
<br class="cls">
<div class="nw"><label><input type="radio" name="dtype" id="dtype9" value="img"> 图片 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype10" value="imgfile"> 图片(仅网址) </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype11" value="media"> 多媒体文件 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype12" value="addon"> 附件类型 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype9" value="img"> 图片</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype10" value="imgfile"> 图片(仅网址)</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype11" value="media"> 多媒体文件</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype12" value="addon"> 附件类型</label></div>
<br class="cls">
<div class="nw"><label><input type="radio" name="dtype" id="dtype13" value="select"> 使用option下拉框 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype14" value="radio"> 使用radio选项卡 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype15" value="checkbox"> Checkbox多选框 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype16" value="stepselect"> 联动类型 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype14" value="radio"> 使用radio选项卡</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype15" value="checkbox"> Checkbox多选框</label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype16" value="stepselect"> 联动类型</label></div>
<br class="cls">
<div class="nw"><label><input type="radio" name="dtype" id="dtype16" value="relation"> 关联内容 </label></div>
<div class="nw"><label><input type="radio" name="dtype" id="dtype16" value="relation"> 关联内容</label></div>
</td>
</tr>
<tr id="_relation" style="display:none">
@@ -191,12 +191,12 @@
<tr>
<td>默认值:<br>
<span class="style2">如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(用“,”分开,如“男,女,人妖”)</span></td>
<td><textarea name="vdefault" type="text" id="vdefault" style="width:70%;height:60px"></textarea></td>
<td><textarea name="vdefault" id="vdefault" style="width:70%;height:60px"></textarea></td>
</tr>
<tr>
<td>最大长度:<br>
<span class="style2">文本数据必须填写,大于255为text类型</span></td>
<td><input name="maxlength" type="text" id="maxlength" class="pubinputs" value="250" style="width:80px"></td>
<td><input type="text" name="maxlength" id="maxlength" class="pubinputs" value="250" style="width:80px"></td>
</tr>
<tr>
<td>自定义表单HTML:</td>


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

@@ -110,7 +110,7 @@
<tr>
<td>表单提示文字:<br>
<span class="style2">发布内容时显示的提示文字</span></td>
<td><input name="itemname" type="text" id="itemname" value="<?php echo $ctag->GetAtt('itemname')?>" class="pubinputs"> *(发布内容时显示的项名字)</td>
<td><input type="text" name="itemname" id="itemname" value="<?php echo $ctag->GetAtt('itemname')?>" class="pubinputs"> *(发布内容时显示的项名字)</td>
</tr>
<tr>
<td width="28%">字段名称:<br>
@@ -204,12 +204,12 @@
<tr>
<td>默认值:<br>
<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>
<td><textarea name="vdefault" 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;height:24px;padding-top:3px;"></td>
<td><input type="text" name="maxlength" id="maxlength" value="<?php echo $ctag->GetAtt('maxlength')?>" style="width:80px;height:24px;padding-top:3px;"></td>
</tr>
<tr>
<td>自定义表单HTML:</td>


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

@@ -85,7 +85,7 @@
</tr>
<tr>
<td align="center">标记名称:</td>
<td colspan="2"><input name="tagname" type="text" id="tagname"></td>
<td colspan="2"><input type="text" name="tagname" id="tagname"></td>
</tr>
<tr>
<td align="center">时间限制:</td>
@@ -96,11 +96,11 @@
</tr>
<tr>
<td align="center">开始时间:</td>
<td colspan="2"><input name="starttime" type="text" id="starttime" value="<?php echo $startDay?>" class="datepicker"></td>
<td colspan="2"><input type="text" name="starttime" id="starttime" value="<?php echo $startDay?>" class="datepicker"></td>
</tr>
<tr>
<td align="center">结束时间:</td>
<td colspan="2"><input name="endtime" type="text" id="endtime" value="<?php echo $endDay?>" class="datepicker"></td>
<td colspan="2"><input type="text" name="endtime" id="endtime" value="<?php echo $endDay?>" class="datepicker"></td>
</tr>
<tr>
<td height="80" align="center">正常显示内容:</td>


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

@@ -45,11 +45,11 @@
</tr>
<tr>
<td align="center">开始时间:</td>
<td colspan="2"><input name="starttime" type="text" id="starttime" value="<?php echo GetDateTimeMk($row['starttime'])?>"></td>
<td colspan="2"><input type="text" name="starttime" id="starttime" value="<?php echo GetDateTimeMk($row['starttime'])?>"></td>
</tr>
<tr>
<td align="center">结束时间:</td>
<td colspan="2"><input name="endtime" type="text" id="endtime" value="<?php echo GetDateTimeMk($row['endtime'])?>"></td>
<td colspan="2"><input type="text" name="endtime" id="endtime" value="<?php echo GetDateTimeMk($row['endtime'])?>"></td>
</tr>
<tr>
<td height="80" align="center">正常显示内容:</td>


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

@@ -118,9 +118,9 @@
</tr>
<tr>
<td>
调用记录条数:<input name="row" type="text" id="row" value="10" size="4">
显示列数:<input name="col" type="text" id="col" value="1" size="4">
标题长度:<input name="titlelen" type="text" id="titlelen" value="24" size="4">(1 字节 = 0.5个中文字)
调用记录条数:<input type="text" name="row" id="row" value="10" size="4">
显示列数:<input type="text" name="col" id="col" value="1" size="4">
标题长度:<input type="text" name="titlelen" id="titlelen" value="24" size="4">(1 字节 = 0.5个中文字)
</td>
</tr>
<tr>
@@ -148,10 +148,10 @@
</td>
</tr>
<tr>
<td>文档发布时间:<input name="subday" type="text" id="subday" value="0" size="6">天以内(0 表示不限)</td>
<td>文档发布时间:<input type="text" name="subday" id="subday" value="0" size="6">天以内(0 表示不限)</td>
</tr>
<tr>
<td>提取特定文档:<button class="btn btn-success btn-sm" type="button" id="selarc" onClick="SelectArcList('form1.arcid');">选择节点文章</button>
<td>提取特定文档:<button type="button"class="btn btn-success btn-sm" id="selarc" onClick="SelectArcList('form1.arcid');">选择节点文章</button>
<textarea name="arcid" rows="3" id="arcid" style="width:90%" class="mt-3"></textarea>
</td>
</tr>
@@ -166,8 +166,8 @@
</tr>
<tr>
<td height="36">
<button name="Submit1" type="button" id="Submit1" class="btn btn-success btn-sm" onClick="DoSubmit('gettag')" value="" class="coolbg np">生成模板调用标记</button>
<button name="Submit2" type="button" id="Submit2" class="btn btn-success btn-sm" onClick="DoSubmit('savetag')" value="保存为自定义标记" class="coolbg np">生成模板调用标记</button>
<butto type="button"n name="Submit1" id="Submit1" class="btn btn-success btn-sm" onClick="DoSubmit('gettag')" value="" class="coolbg np">生成模板调用标记</button>
<button type="button" name="Submit2" id="Submit2" class="btn btn-success btn-sm" onClick="DoSubmit('savetag')" value="保存为自定义标记" class="coolbg np">生成模板调用标记</button>
</td>
</tr>
</table>


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

@@ -143,7 +143,7 @@ function ReloadPageNum(startnum) {
<table width="98%" cellpadding="1" cellspacing="1" bgcolor="#f8f8f8" class="table maintable mt-3 mb-3">
<tr>
<td width="30%">搜索关键词维护</td>
<td width="70%" align="right"><button class="btn btn-success btn-sm" name="n1" type="button" id="n1" onClick="location='article_keywords_main.php';">文档关键词维护</button></td>
<td width="70%" align="right"><button type="button" name="n1" id="n1" class="btn btn-success btn-sm" onClick="location='article_keywords_main.php';">文档关键词维护</button></td>
</tr>
</table>
<span id="rslist">


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

@@ -26,11 +26,11 @@
</tr>
<tr align="center">
<td width="10%" align="right">名称:</td>
<td align="left"><input name="dname" type="text" id="dname" style="width:160px"> * 此处填写配送方式名称</td>
<td align="left"><input type="text" name="dname" id="dname" style="width:160px"> * 此处填写配送方式名称</td>
</tr>
<tr align="center">
<td width="10%" align="right">手续费:</td>
<td align="left"><input name="price" type="text" id="price" value="0.00" style="width:60px"> 元 * 发货时所用的手续费,若要收取,请填写(精确到小数位两位)</td>
<td align="left"><input type="text" name="price" id="price" value="0.00" style="width:60px"> 元 * 发货时所用的手续费,若要收取,请填写(精确到小数位两位)</td>
</tr>
<tr align="center">
<td width="10%" align="right">简要说明:</td>
@@ -63,11 +63,11 @@
<input type="hidden" name="pid[]" value="<?php echo $rs['pid']; ?>">
<tr>
<td width="30%" align="left">
<input name="m_dname<?php echo $rs['pid']; ?>" type="text" value="<?php echo $rs['dname']; ?>">
<input type="text" name="m_dname<?php echo $rs['pid']; ?>" value="<?php echo $rs['dname']; ?>">
<a class="btn btn-success btn-sm" href="shops_delivery.php?do=del&id=<?php echo $rs['pid']; ?>" onClick="return(confirm('删除后无法恢复,您确定删除吗'))">删除</a>
</td>
<td width="70%" align="left">
<span>手续费:<input name="m_price<?php echo $rs['pid']; ?>" type="text" id="m_price<?php echo $rs['pid']; ?>" value="<?php echo $rs['price']; ?>" style="width:60px"> 元</span>
<span>手续费:<input type="text" name="m_price<?php echo $rs['pid']; ?>" id="m_price<?php echo $rs['pid']; ?>" value="<?php echo $rs['price']; ?>" style="width:60px"> 元</span>
<textarea name="m_des<?php echo $rs['pid']; ?>" id="m_des<?php echo $rs['pid']; ?>" style="width:360px;height:50px"><?php echo $rs['des']; ?></textarea>
</td>
</tr>


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

@@ -19,55 +19,55 @@
</tr>
<tr>
<td align="right">商品名称:</td>
<td>&nbsp;{dede:field.title/}</td>
<td> {dede:field.title/}</td>
</tr>
<tr>
<td align="right">单价(元/单位):</td>
<td>&nbsp;{dede:field.uprice/}</td>
<td> {dede:field.uprice/}</td>
</tr>
<tr>
<td align="right">数量:</td>
<td>&nbsp;{dede:field.cartcount/}</td>
<td> {dede:field.cartcount/}</td>
</tr>
<tr>
<td align="right">支付方式:</td>
<td>&nbsp;<?php echo GetSta($fields['state'],$oid)?></td>
<td> <?php echo GetSta($fields['state'],$oid)?></td>
</tr>
<tr>
<td align="right">配送:</td>
<td>&nbsp;{dede:field.dname/} 费用:{dede:field.dprice/}元</td>
<td> {dede:field.dname/} 费用:{dede:field.dprice/}元</td>
</tr>
<tr>
<td align="right">购买时间:</td>
<td>&nbsp;{dede:field.stime function=GetDateTimeMk(@me)/}</td>
<td> {dede:field.stime function=GetDateTimeMk(@me)/}</td>
</tr>
<tr>
<td align="right">收货人:</td>
<td>&nbsp;<?php echo $row['consignee']?></td>
<td> <?php echo $row['consignee']?></td>
</tr>
<tr>
<td align="right">地址:</td>
<td>&nbsp;<?php echo $row['address']?></td>
<td> <?php echo $row['address']?></td>
</tr>
<tr>
<td align="right">邮编:</td>
<td>&nbsp;<?php echo $row['zip']?></td>
<td> <?php echo $row['zip']?></td>
</tr>
<tr>
<td align="right">联系电话:</td>
<td>&nbsp;<?php echo $row['tel']?></td>
<td> <?php echo $row['tel']?></td>
</tr>
<tr>
<td align="right">邮箱:</td>
<td>&nbsp;<?php echo $row['email']?></td>
<td> <?php echo $row['email']?></td>
</tr>
<tr>
<td align="right">留言:</td>
<td>&nbsp;<?php echo $row['des']?></td>
<td> <?php echo $row['des']?></td>
</tr>
<tr>
<td align="right">合计(元):</td>
<td>&nbsp;{dede:field.priceCount/}元</td>
<td> {dede:field.priceCount/}元</td>
</tr>
{/dede:datalist}
<tr>


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

@@ -93,9 +93,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 软件名称:</td>
<td width="400"><input name="title" type="text" id="title" style="width:380px"></td>
<td width="400"><input type="text" name="title" id="title" style="width:380px"></td>
<td width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" style="width:160px"></td>
<td><input type="text" name="shorttitle" id="shorttitle" style="width:160px"></td>
</tr>
</table>
</td>
@@ -111,9 +111,9 @@ table{border-collapse:separate}
while($trow = $dsql->GetObject())
{
if($trow->att=='j')
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>";
else
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>";
}
?></td>
</tr>
@@ -125,7 +125,7 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="" style="width:300px"></td>
<td><input type="text" name="redirecturl" id="redirecturl" value="" style="width:300px"></td>
</tr>
</table>
</td>
@@ -135,9 +135,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $maxWright['cc']; ?>" style="width:60px">(越小越靠前)</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc']; ?>" style="width:60px">(越小越靠前)</td>
</tr>
</table>
</td>
@@ -148,11 +148,11 @@ table{border-collapse:separate}
<tr>
<td width="90"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" style="width:300px">
<input type="text" name="picname" id="picname" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class='btn btn-success btn-sm'>选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
</td>
<td width="260" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="max-width:100px;max-height:80px"></td>
</tr>
@@ -165,13 +165,13 @@ table{border-collapse:separate}
<tr>
<td width="90"> 来源:</td>
<td width="260">
<input name="source" type="text" id="source" style="width:160px">
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button>
<input type="text" name="source" id="source" style="width:160px">
<button type="button" name="selsource" id="selsource" class="btn btn-success btn-sm">选择</button>
</td>
<td width="60">作者:</td>
<td>
<input name="writer" type="text" id="writer" style="width:160px">
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button>
<input type="text" name="writer" id="writer" style="width:160px">
<button type="button" name="selwriter" id="selwriter" class="btn btn-success btn-sm">选择</button>
</td>
</tr>
</table>
@@ -201,7 +201,7 @@ table{border-collapse:separate}
?>
</td>
<td width="90" align="center">消费金币:</td>
<td><input name="needmoney" type="text" id="needmoney" value="<?php echo $softconfig['dfywboy']; ?>" style="width:160px"></td>
<td><input type="text" name="needmoney" id="needmoney" value="<?php echo $softconfig['dfywboy']; ?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -318,9 +318,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 官方网址:</td>
<td width="310"><input name="officialUrl" type="text" id="officialUrl" value="http://" style="width:260px"></td>
<td width="310"><input type="text" name="officialUrl" id="officialUrl" value="http://" style="width:260px"></td>
<td width="90">演示地址:</td>
<td><input name="officialDemo" type="text" id="officialDemo" value="http://" style="width:260px"></td>
<td><input type="text" name="officialDemo" id="officialDemo" value="http://" style="width:260px"></td>
</tr>
</table>
</td>
@@ -331,7 +331,7 @@ table{border-collapse:separate}
<tr>
<td width="90"> 软件大小:</td>
<td>
<input name="softsize" type="text" id="softsize" style="width:60px">
<input type="text" name="softsize" id="softsize" style="width:60px">
<select name="unit" id="unit">
<option value="MB" selected>MB</option>
<option value="KB">KB</option>
@@ -368,11 +368,11 @@ table{border-collapse:separate}
<tr>
<td width="90"> 本地地址:</td>
<td>
<input name="softurl1" type="text" id="softurl1" style="width:260px">
<button class="btn btn-success btn-sm" name="sel1" type="button" id="sel1" onClick="SelectSoft('form1.softurl1')">选取</button>
<input type="text" name="softurl1" id="softurl1" style="width:260px">
<button type="button" name="sel1" id="sel1" class="btn btn-success btn-sm" onClick="SelectSoft('form1.softurl1')">选取</button>
</td>
<td width="90">服务器名称:</td>
<td><input name="servermsg1" type="text" id="servermsg1" value="本地下载" style="width:160px"></td>
<td><input type="text" name="servermsg1" id="servermsg1" value="本地下载" style="width:160px"></td>
</tr>
</table>
</td>
@@ -477,7 +477,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" >&nbsp;文章排序:</td>
<td width="90"> 文章排序:</td>
<td width="260">
<select name="sortup" id="sortup" style="width:160px">
<option value="0" selected>默认排序</option>
@@ -490,8 +490,8 @@ table{border-collapse:separate}
</td>
<td width="90">标题颜色:</td>
<td>
<input name="color" type="text" id="color" style="width:160px">
<button name="modcolor" type="button" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button>
<input type="text" name="color" id="color" style="width:160px">
<button type="button" name="modcolor" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button>
</td>
</tr>
</table>


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

@@ -105,9 +105,9 @@
</tr>
<tr>
<td colspan="2">
服务器网址:<input name="serverurl" type="text" id="serverurl" value="http://">
服务器名称:<input name="servername" type="text" id="servername">
服务器类型:<input name="servertype" type="text" id="servertype" value="默认">
服务器网址:<input type="text" name="serverurl" id="serverurl" value="http://">
服务器名称:<input type="text" name="servername" id="servername">
服务器类型:<input type="text" name="servertype" id="servertype" value="默认">
<button type="button" name="Submit" onClick="AddServer()" class="btn btn-success btn-sm">增加一项</button>
</td>
</tr>


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

@@ -87,9 +87,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文章标题:</td>
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="400"><input type="text" name="title" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
<td><input type="text" name="shorttitle" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -108,9 +108,9 @@ table{border-collapse:separate}
if($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'";
else $jumpclick = '';
if(preg_match("#".$trow->att."#",$arcRow['flag']))
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label>";
else
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} /> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} /> {$trow->attname}[{$trow->att}]</label>";
}
?>
</td>
@@ -123,7 +123,7 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 跳转网址:</td>
<td><input name="redirecturl" type="text" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td>
<td><input type="text" name="redirecturl" id="redirecturl" value="<?php echo $addRow['redirecturl']?>" style="width:300px"></td>
</tr>
</table>
</td>
@@ -133,9 +133,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> Tag标签:</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td><input type="text" name="tags" id="tags" value="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td>
<td width="60">权重:</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $arcRow['weight']; ?>" style="width:60px">(越小越靠前)</td>
</tr>
</table>
</td>
@@ -146,11 +146,11 @@ table{border-collapse:separate}
<tr>
<td width="90" height="80"> 缩略图:</td>
<td width="560">
<input name="picname" type="text" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<input type="text" name="picname" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
</td>
<td align="center">
<img id="litPic" src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" style="max-width:100px;max-height:80px">
@@ -165,13 +165,13 @@ table{border-collapse:separate}
<tr>
<td width="90"> 来源:</td>
<td width="260">
<input name="source" type="text" id="source"value="<?php echo $arcRow['source']?>" style="width:160px">
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button>
<input type="text" name="source" id="source"value="<?php echo $arcRow['source']?>" style="width:160px">
<button type="button" name="selsource" id="selsource" class="btn btn-success btn-sm">选择</button>
</td>
<td width="60">作者:</td>
<td>
<input name="writer" type="text" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px">
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button>
<input type="text" name="writer" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px">
<button type="button" name="selwriter" id="selwriter" class="btn btn-success btn-sm">选择</button>
</td>
</tr>
</table>
@@ -193,7 +193,7 @@ table{border-collapse:separate}
<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="needmoney" type="text" id="needmoney" value="<?php echo $needmoney; ?>" style="width:160px"></td>
<td><input type="text" name="needmoney" id="needmoney" value="<?php echo $needmoney; ?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -323,9 +323,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 官方网址:</td>
<td width="310"><input name="officialUrl" type="text" id="officialUrl" value="<?php echo $addRow['officialUrl']?>" style="width:260px"></td>
<td width="310"><input type="text" name="officialUrl" id="officialUrl" value="<?php echo $addRow['officialUrl']?>" style="width:260px"></td>
<td width="90">程序演示:</td>
<td><input name="officialDemo" type="text" id="officialDemo" value="<?php echo $addRow['officialDemo']?>" style="width:260px"></td>
<td><input type="text" name="officialDemo" id="officialDemo" value="<?php echo $addRow['officialDemo']?>" style="width:260px"></td>
</tr>
</table>
</td>
@@ -336,7 +336,7 @@ table{border-collapse:separate}
<tr>
<td width="90"> 软件大小:</td>
<td><input name="softsize" type="text" id="softsize" value="<?php echo $addRow['softsize']?>" style="width:60px"></td>
<td width="90" >&nbsp;需会员权限:</td>
<td width="90"> 需会员权限:</td>
<td>
<select name="daccess" id="daccess" style="width:160px">
<?php
@@ -368,9 +368,9 @@ table{border-collapse:separate}
<tr>
<td width="90"> 其它地址:</td>
<td>
<input name="picnum" type="text" id="picnum" size="8" value="5">
<button class='btn btn-success btn-sm' name='kkkup' type='button' id='kkkup2' onClick="MakeUpload();">增加数量</button>
<button class='btn btn-success btn-sm' type="button" name="Submit3" id="btsh3" onClick="ShowHideAddr();">隐藏地址</button>(最多为30个链接)
<input type="text" name="picnum" id="picnum" size="8" value="5">
<button type="button" name="kkkup" id="kkkup2" class="btn btn-success btn-sm" onClick="MakeUpload();">增加数量</button>
<button type="button" name="Submit3" id="btsh3" class="btn btn-success btn-sm" onClick="ShowHideAddr();">隐藏地址</button>(最多为30个链接)
</td>
</tr>
</table>
@@ -443,7 +443,7 @@ table{border-collapse:separate}
</select> </td>
<td width="90">标题颜色:</td>
<td>
<input name="color" type="text" id="color" value="<?php echo $arcRow['color']?>" style="width:160px">
<input type="text" name="color" id="color" value="<?php echo $arcRow['color']?>" style="width:160px">
<button class='btn btn-success btn-sm' name="modcolor" type="button" id="modcolor" onClick="ShowColor(event,this)">选取</button>
</td>
</tr>


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

@@ -103,9 +103,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 专题名称:</td>
<td width="400"><input name="title" type="text" id="title" value="" style="width:380px"></td>
<td width="400"><input type="text" name="title" id="title" value="" style="width:380px"></td>
<td width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" style="width:160px"></td>
<td><input type="text" name="shorttitle" id="shorttitle" style="width:160px"></td>
</tr>
</table>
</td>
@@ -122,7 +122,7 @@ table{border-collapse:separate}
{
if($trow->att!='j')
{
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}] </label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>";
}
}
?></td>
@@ -136,11 +136,11 @@ table{border-collapse:separate}
<tr>
<td width="90"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" style="width:300px">
<input type="text" name="picname" id="picname" style="width:300px">
<label><input type="checkbox" name="ddisremote" value="1" id="ddisremote"> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
</td>
<td width="260" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="height:80px"></td>
</tr>
@@ -152,7 +152,7 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 责任编辑:</td>
<td><input name="writer" type="text" id="writer" style="width:160px"></td>
<td><input type="text" name="writer" id="writer" style="width:160px"></td>
</tr>
</table>
</td>
@@ -161,7 +161,7 @@ table{border-collapse:separate}
<td colspan="4" class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90" >&nbsp;内容排序:</td>
<td width="90"> 内容排序:</td>
<td width="260">
<select name="sortup" id="sortup" style="width:160px">
<option value="0" selected>默认排序</option>
@@ -174,8 +174,8 @@ table{border-collapse:separate}
</td>
<td width="90">标题颜色:</td>
<td>
<input name="color" type="text" id="color" style="width:160px">
<button name="modcolor" type="button" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button>
<input type="text" name="color" id="color" style="width:160px">
<button type="button" name="modcolor" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button>
</td>
</tr>
</table>
@@ -235,7 +235,7 @@ table{border-collapse:separate}
</td>
<td width="90">发布选项:</td>
<td>
<label><input name="ishtml" type="radio" value="1" checked="1"> 生成网页</label>
<label><input type="radio" name="ishtml" value="1" checked="1"> 生成网页</label>
<label><input type="radio" name="ishtml" value="0"> 仅动态浏览</label>
</td>
</tr>
@@ -248,7 +248,7 @@ table{border-collapse:separate}
<tr>
<td width="90"> 专题模板:</td>
<td width="260">
<input name="templet" type="text" id="templet" value="<?php echo $cfg_df_style?>/article_spec.htm" style="width:160px">
<input type="text" name="templet" id="templet" value="<?php echo $cfg_df_style?>/article_spec.htm" style="width:160px">
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览</button>
</td>
<td width="90">文件名称:</td>
@@ -306,9 +306,9 @@ table{border-collapse:separate}
<td colspan="2">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="310"><input name="notename<?php echo $i?>" type="text" value="<?php echo $nodename; ?>" id="notename<?php echo $i?>" style="width:300px"></td>
<td width="310"><input type="text" name="notename<?php echo $i?>" value="<?php echo $nodename; ?>" id="notename<?php echo $i?>" style="width:300px"></td>
<td width="90">节点标识:</td>
<td><input name="noteid<?php echo $i?>" type="text" value="<?php echo $nodeid; ?>" id="noteid<?php echo $i?>" style="width:160px"></td>
<td><input type="text" name="noteid<?php echo $i?>" value="<?php echo $nodeid; ?>" id="noteid<?php echo $i?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -321,21 +321,21 @@ table{border-collapse:separate}
<tr>
<td>文档来源:</td>
<td colspan="2">
<label><input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="0" checked> 按文章列表</label>
<label><input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="1"> 自动获取文档</label>
<label>关键词:<input name="keywords<?php echo $i?>" type="text" id="keywords<?php echo $i?>" value="" size="16">(逗号分开)</label>
栏目ID:<label><input name="typeid<?php echo $i?>" type="text" id="_typeid<?php echo $i?>" value="0" size="4"></label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" checked> 按文章列表</label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1"> 自动获取文档</label>
<label>关键词:<input type="text" name="keywords<?php echo $i?>" id="keywords<?php echo $i?>" value="" size="16">(逗号分开)</label>
栏目ID:<label><input type="text" name="typeid<?php echo $i?>" id="_typeid<?php echo $i?>" value="0" size="4"></label>
</td>
</tr>
<tr>
<td height="50" rowspan="2">节点布局:</td>
<td colspan="2">
列数:<input name="col<?php echo $i?>" type="text" id="col<?php echo $i?>" value="1" size="3">
图片宽:<input name="imgwidth<?php echo $i?>" type="text" id="imgwidth<?php echo $i?>" value="120" size="3">
图片高:<input name="imgheight<?php echo $i?>" type="text" id="imgheight<?php echo $i?>" value="90" size="3">
标题长:<input name="titlelen<?php echo $i?>" type="text" id="titlelen<?php echo $i?>" value="60" size="3">
简介长:<input name="infolen<?php echo $i?>" type="text" id="infolen<?php echo $i?>" value="160" size="3">
文档数:<input name="rownum<?php echo $i?>" type="text" id="rownum<?php echo $i?>" value="10" size="3">
列数:<input type="text" name="col<?php echo $i?>" id="col<?php echo $i?>" value="1" size="3">
图片宽:<input type="text" name="imgwidth<?php echo $i?>" id="imgwidth<?php echo $i?>" value="120" size="3">
图片高:<input type="text" name="imgheight<?php echo $i?>" id="imgheight<?php echo $i?>" value="90" size="3">
标题长:<input type="text" name="titlelen<?php echo $i?>" id="titlelen<?php echo $i?>" value="60" size="3">
简介长:<input type="text" name="infolen<?php echo $i?>" id="infolen<?php echo $i?>" value="160" size="3">
文档数:<input type="text" name="rownum<?php echo $i?>" id="rownum<?php echo $i?>" value="10" size="3">
</td>
</tr>
<tr>
@@ -345,7 +345,7 @@ table{border-collapse:separate}
<tr>
<td>节点容器模板:</td>
<td colspan="2">
<input name="notetemplet<?php echo $i?>" type="text" id="notetemplet<?php echo $i?>" value="system/channel_spec_note.htm" style="width:300px">
<input type="text" name="notetemplet<?php echo $i?>" id="notetemplet<?php echo $i?>" value="system/channel_spec_note.htm" style="width:300px">
<button type="button" name="selno<?php echo $i?>" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.notetemplet<?php echo $i?>');">浏览</button>
</td>
</tr>


+ 31
- 35
src/admin/templets/spec_edit.htm View File

@@ -101,9 +101,9 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 专题名称:</td>
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="400"><input type="text" name="title" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="90"> 简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
<td><input type="text" name="shorttitle" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -121,9 +121,9 @@ table{border-collapse:separate}
{
if($trow->att=='j') continue;
if(preg_match("#".$trow->att."#", $arcRow['flag']))
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label>";
else
echo "<label><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> ";
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>";
}
?>
</td>
@@ -137,11 +137,11 @@ table{border-collapse:separate}
<tr>
<td width="90" height="90"> 缩略图:</td>
<td>
<input name="picname" type="text" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<input type="text" name="picname" id="picname" value="<?php echo $arcRow['litpic']?>" style="width:300px">
<label><input type="checkbox" name="ddisremote" value='1'> 远程</label>
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span>
<button type="button" name="Submit" onClick="SelectImage('form1.picname','');" class="btn btn-success btn-sm">选择图片</button>
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button>
<button type="button" id="btnClearAll" class="btn btn-success btn-sm delete">清空</button>
</td>
<td align="center"><img id="litPic" src="<?php if($arcRow['litpic']!='') echo $arcRow['litpic']; else echo '../static/web/img/defaultpic.jpg'; ?>" style="height:80px"></td>
</tr>
@@ -153,7 +153,7 @@ table{border-collapse:separate}
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 责任编辑:</td>
<td><input name="writer" type="text" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px"></td>
<td><input type="text" name="writer" id="writer" value="<?php echo $arcRow['writer']?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -179,8 +179,8 @@ table{border-collapse:separate}
</td>
<td width="90">标题颜色:</td>
<td>
<input name="color" type="text" id="color" style="width:160px" value="<?php echo $arcRow['color']?>">
<button name="modcolor" type="button" id="modcolor" value="" onClick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button>
<input type="text" name="color" id="color" style="width:160px" value="<?php echo $arcRow['color']?>">
<button type="button" name="modcolor" id="modcolor" value="" onClick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button>
</td>
</tr>
</table>
@@ -232,7 +232,6 @@ table{border-collapse:separate}
<td width="90" width="260"> 评论选项:</td>
<td width="260">
<label><input type="radio" name="notpost" value="0" <?php if($arcRow['notpost']==0) echo "checked='1'"; ?>> 允许评论</label>
&nbsp;
<label><input type="radio" name="notpost" value="1" <?php if($arcRow['notpost']==1) echo "checked='1'"; ?>> 禁止评论</label>
<td width="90">发布选项:</td>
<td>
@@ -249,7 +248,7 @@ table{border-collapse:separate}
<tr>
<td width="90"> 专题模板:</td>
<td width="260">
<input name="templet" type="text" id="templet" value="<?php echo $addRow['templet']?>" style="width:160px">
<input type="text" name="templet" id="templet" value="<?php echo $addRow['templet']?>" style="width:160px">
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览</button>
</td>
<td width="90"> 文件名称:</td>
@@ -333,9 +332,9 @@ table{border-collapse:separate}
<td colspan="2">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="310"><input name="notename<?php echo $i?>" type="text" id="notename<?php echo $i?>" style="width:300px" value="<?php echo $notename?>"></td>
<td width="310"><input type="text" name="notename<?php echo $i?>" id="notename<?php echo $i?>" style="width:300px" value="<?php echo $notename?>"></td>
<td width="90">节点标识:</td>
<td><input name="noteid<?php echo $i?>" type="text" id="noteid<?php echo $i?>" value="<?php echo $noteid?>" style="width:160px"></td>
<td><input type="text" name="noteid<?php echo $i?>" id="noteid<?php echo $i?>" value="<?php echo $noteid?>" style="width:160px"></td>
</tr>
</table>
</td>
@@ -343,26 +342,26 @@ table{border-collapse:separate}
<tr>
<td>节点文章列表:</td>
<td><textarea name="arcid<?php echo $i?>" rows="3" onblur="CheckVal(<?php echo $i ?>)" id="arcid<?php echo $i?>" style="width:90%"><?php echo $idlist?></textarea></td>
<td><button class="btn btn-success btn-sm" name="selarc<?php echo $i?>" type="button" id="selarc<?php echo $i?>2" onClick="SelectArcList('form1.arcid<?php echo $i?>');">选择节点文章</button></td>
<td><button type="button" class="btn btn-success btn-sm" name="selarc<?php echo $i?>" id="selarc<?php echo $i?>2" onClick="SelectArcList('form1.arcid<?php echo $i?>');">选择节点文章</button></td>
</tr>
<tr>
<td>文档来源:</td>
<td colspan="2">
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" <?php if($isauto==0) echo "checked"; ?>> 按文章列表</label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1" <?php if($isauto==1) echo "checked"; ?>> 自动获取文档</label>
<label>关键词:<input name="keywords<?php echo $i?>" type="text" value="<?php echo $keywords?>" id="keywords<?php echo $i?>" value="" size="16">(逗号分开)</label>
<label>栏目ID:<input name="typeid<?php echo $i?>" type="text" value="<?php echo $typeid?>" id="typeid<?php echo $i?>" value="0" size="4"></label>
<label>关键词:<input type="text" name="keywords<?php echo $i?>" value="<?php echo $keywords?>" id="keywords<?php echo $i?>" value="" size="16">(逗号分开)</label>
<label>栏目ID:<input type="text" name="typeid<?php echo $i?>" value="<?php echo $typeid?>" id="typeid<?php echo $i?>" value="0" size="4"></label>
</td>
</tr>
<tr>
<td height="50" rowspan="2">节点布局:</td>
<td colspan="2">
列数:<input name="col<?php echo $i?>" type="text" id="col<?php echo $i?>" value="<?php echo $col?>" size="3">
图片宽:<input name="imgwidth<?php echo $i?>" type="text" id="imgwidth<?php echo $i?>" value="<?php echo $imgwidth?>" size="3">
图片高:<input name="imgheight<?php echo $i?>" type="text" id="imgheight<?php echo $i?>" value="<?php echo $imgheight?>" size="3">
标题长:<input name="titlelen<?php echo $i?>" type="text" id="titlelen<?php echo $i?>" value="<?php echo $titlelen?>" size="3">
简介长:<input name="infolen<?php echo $i?>" type="text" id="infolen<?php echo $i?>" value="<?php echo $infolen?>" size="3">
文档数:<input name="rownum<?php echo $i?>" type="text" id="rownum<?php echo $i?>" value="<?php echo $rownum?>" size="3">
列数:<input type="text" name="col<?php echo $i?>" id="col<?php echo $i?>" value="<?php echo $col?>" size="3">
图片宽:<input type="text" name="imgwidth<?php echo $i?>" id="imgwidth<?php echo $i?>" value="<?php echo $imgwidth?>" size="3">
图片高:<input type="text" name="imgheight<?php echo $i?>" id="imgheight<?php echo $i?>" value="<?php echo $imgheight?>" size="3">
标题长:<input type="text" name="titlelen<?php echo $i?>" id="titlelen<?php echo $i?>" value="<?php echo $titlelen?>" size="3">
简介长:<input type="text" name="infolen<?php echo $i?>" id="infolen<?php echo $i?>" value="<?php echo $infolen?>" size="3">
文档数:<input type="text" name="rownum<?php echo $i?>" id="rownum<?php echo $i?>" value="<?php echo $rownum?>" size="3">
</td>
</tr>
<tr>
@@ -380,9 +379,9 @@ table{border-collapse:separate}
<td colspan="2">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="310"><input name="notename<?php echo $i?>" type="text" id="notename<?php echo $i?>" style="width:300px"></td>
<td width="310"><input type="text" name="notename<?php echo $i?>" id="notename<?php echo $i?>" style="width:300px"></td>
<td width="90">节点标识:</td>
<td><input name="noteid<?php echo $i?>" type="text" id="noteid<?php echo $i?>" style="width:100px"></td>
<td><input type="text" name="noteid<?php echo $i?>" id="noteid<?php echo $i?>" style="width:100px"></td>
</tr>
</table>
</td>
@@ -397,21 +396,18 @@ table{border-collapse:separate}
<td colspan="2">
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" checked> 按文章列表</label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1"> 自动获取文档</label>
<label>关键词:<input name="keywords<?php echo $i?>" type="text" id="keywords<?php echo $i?>" value="" size="16">(空格分开)</label>
<label>栏目ID:<input name="typeid<?php echo $i?>" type="text" id="_typeid<?php echo $i?>" value="0" size="4"></label>
<label>关键词:<input type="text" name="keywords<?php echo $i?>" id="keywords<?php echo $i?>" value="" size="16">(空格分开)</label>
<label>栏目ID:<input type="text" name="typeid<?php echo $i?>" id="_typeid<?php echo $i?>" value="0" size="4"></label>
</td>
</tr>
<tr>
<td height="50" rowspan="2">节点布局:<br></td>
<td colspan="2">列数:<input name="col<?php echo $i?>" type="text" id="col<?php echo $i?>" value="1" size="3">
图片高:<input name="imgheight<?php echo $i?>" type="text" id="imgheight<?php echo $i?>" value="90" size="3">
图片宽:<input name="imgwidth<?php echo $i?>" type="text" id="imgwidth<?php echo $i?>" value="120" size="3">
标题长:
<input name="titlelen<?php echo $i?>" type="text" id="titlelen<?php echo $i?>" value="60" size="3">
简介长:
<input name="infolen<?php echo $i?>" type="text" id="infolen<?php echo $i?>" value="160" size="3">
文档数:
<input name="rownum<?php echo $i?>" type="text" id="rownum<?php echo $i?>" value="40" size="3">
<td colspan="2">列数:<input type="text" name="col<?php echo $i?>" id="col<?php echo $i?>" value="1" size="3">
图片高:<input type="text" name="imgheight<?php echo $i?>" id="imgheight<?php echo $i?>" value="90" size="3">
图片宽:<input type="text" name="imgwidth<?php echo $i?>" id="imgwidth<?php echo $i?>" value="120" size="3">
标题长:<input type="text" name="titlelen<?php echo $i?>" id="titlelen<?php echo $i?>" value="60" size="3">
简介长:<input type="text" name="infolen<?php echo $i?>" id="infolen<?php echo $i?>" value="160" size="3">
文档数:<input type="text" name="rownum<?php echo $i?>" id="rownum<?php echo $i?>" value="40" size="3">
</td>
</tr>
<tr>


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

@@ -51,15 +51,15 @@
<table width="98%" cellspacing="1" cellpadding="1" class="table table-borderless">
<tr>
<td width="260" class="bline">用户登录ID:</td>
<td><input name="userid" type="text" id="userid" size="16" style="width:260px">(只能用'0-9'、'a-z'、'A-Z'、'.'、'@'、'_'、'-'、'!'以内范围的字符)</td>
<td><input type="text" name="userid" id="userid" size="16" style="width:260px">(只能用'0-9'、'a-z'、'A-Z'、'.'、'@'、'_'、'-'、'!'以内范围的字符)</td>
</tr>
<tr>
<td class="bline">用户笔名:</td>
<td><input name="uname" type="text" id="uname" size="16" style="width:260px">(发布文章后显示责任编辑的名字)</td>
<td><input type="text" name="uname" id="uname" size="16" style="width:260px">(发布文章后显示责任编辑的名字)</td>
</tr>
<tr>
<td class="bline">用户密码:</td>
<td><input name="pwd" type="text" id="pwd" size="16" style="width:260px">(只能用'0-9'、'a-z'、'A-Z'、'.'、'@'、'_'、'-'、'!'以内范围的字符)</td>
<td><input type="text" name="pwd" id="pwd" size="16" style="width:260px">(只能用'0-9'、'a-z'、'A-Z'、'.'、'@'、'_'、'-'、'!'以内范围的字符)</td>
</tr>
<tr>
<td class="bline">用户组:</td>
@@ -88,17 +88,17 @@
</tr>
<tr>
<td class="bline">真实姓名:</td>
<td class="bline"><input name="tname" type="text" id="tname"style="width:260px"></td>
<td class="bline"><input type="text" name="tname" id="tname"style="width:260px"></td>
</tr>
<tr>
<td class="bline">电子邮箱:</td>
<td class="bline"><input name="email" type="text" id="email" style="width:260px"></td>
<td class="bline"><input type="text" name="email" id="email" style="width:260px"></td>
</tr>
<tr>
<td class="bline">安全验证串:</td>
<td class="bline">
<input name="safecode" type="text" id="safecode" style="width:260px">
<input name="randcode" type="hidden" value="<?php echo $randcode; ?>">(复制本代码:<span style='color:#e74d58'><?php echo $safecode; ?></span>)
<input type="text" name="safecode" id="safecode" style="width:260px">
<input type="hidden" name="randcode" value="<?php echo $randcode; ?>">(复制本代码:<span style='color:#e74d58'><?php echo $safecode; ?></span>)
</td>
</tr>
<tr>


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

@@ -33,11 +33,11 @@
</tr>
<tr>
<td class="bline">用户笔名:</td>
<td class="bline"><input name="uname" type="text" id="uname" size="16" value="<?php echo $row['uname']?>" style="width:260px">(发布文章后显示责任编辑的名字)</td>
<td class="bline"><input type="text" name="uname" id="uname" size="16" value="<?php echo $row['uname']?>" style="width:260px">(发布文章后显示责任编辑的名字)</td>
</tr>
<tr>
<td class="bline">用户密码:</td>
<td class="bline"><input name="pwd" type="text" id="pwd" size="16" style="width:260px">(留空则不修改,只能用'0-9a-zA-Z.@_-!'以内范围的字符)</td>
<td class="bline"><input type="text" name="pwd" id="pwd" size="16" style="width:260px">(留空则不修改,只能用'0-9a-zA-Z.@_-!'以内范围的字符)</td>
</tr>
<tr>
<td class="bline">用户类型:</td>
@@ -66,17 +66,17 @@
</tr>
<tr>
<td class="bline">真实姓名:</td>
<td class="bline"><input name="tname" type="text" id="tname" value="<?php echo $row['tname']?>" style="width:260px"></td>
<td class="bline"><input type="text" name="tname" id="tname" value="<?php echo $row['tname']?>" style="width:260px"></td>
</tr>
<tr>
<td class="bline">电子邮箱:</td>
<td class="bline"><input name="email" type="text" id="email" value="<?php echo $row['email']?>" style="width:260px"></td>
<td class="bline"><input type="text" name="email" id="email" value="<?php echo $row['email']?>" style="width:260px"></td>
</tr>
<tr>
<td class="bline">安全验证串:</td>
<td class="bline">
<input name="safecode" type="text" id="safecode" style="width:260px">
<input name="randcode" type="hidden" value="<?php echo $randcode; ?>">(复制本代码:<span style='color:#e74d58'><?php echo $safecode; ?></span>)
<input type="text" name="safecode" id="safecode" style="width:260px">
<input type="hidden" name="randcode" value="<?php echo $randcode; ?>">(复制本代码:<span style='color:#e74d58'><?php echo $safecode; ?></span>)
</td>
</tr>
<tr>


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

@@ -28,7 +28,7 @@
</td>
</tr>
<tr>
<td bgcolor="#F8FCF1" align="center"><button name="b112" type="button" class="btn btn-success btn-sm" value="" onClick="document.form1.submit();">开始执行</button></td>
<td bgcolor="#F8FCF1" align="center"><button type="button" name="b112" class="btn btn-success btn-sm" value="" onClick="document.form1.submit();">开始执行</button></td>
</tr>
</form>
<tr>


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

@@ -83,7 +83,7 @@
<td id='fields'></td>
</tr>
<tr>
<td>要替换的字段:<input name="rpfield" type="text" id="rpfield"></td>
<td>要替换的字段:<input type="text" name="rpfield" id="rpfield"></td>
</tr>
</table>
</td>
@@ -93,7 +93,7 @@
<td>
<label><input type="radio" name="rptype" id="ot1" value="replace" checked="1"> 普通替换</label>
<label><input type="radio" name="rptype" id="ot2" value="regex"> 正则表达式</label>
主键字段:<input name="keyfield" type="text" id="keyfield" size="12">(正则模式必须指定)
主键字段:<input type="text" name="keyfield" id="keyfield" size="12">(正则模式必须指定)
</td>
</tr>
<tr>
@@ -106,7 +106,7 @@
</tr>
<tr>
<td>替换条件:</td>
<td><input name="condition" type="text" id="condition" style="width:60%">(空完全替换)</td>
<td><input type="text" name="condition" id="condition" style="width:60%">(空完全替换)</td>
</tr>
<tr>
<td>安全确认码:</td>


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

@@ -20,11 +20,11 @@
<table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="10%" >组名称:</td>
<td width="90%" style="text-align:left"><input name="groupname" type="text" id="groupname"></td>
<td width="90%" style="text-align:left"><input type="text" name="groupname" id="groupname"></td>
</tr>
<tr>
<td width="10%" >级别值:</td>
<td width="90%" style="text-align:left"><input name="rankid" type="text" id="rankid" size="6">(数字,系统已占用的级别值:
<td width="90%" style="text-align:left"><input type="text" name="rankid" id="rankid" size="6">(数字,系统已占用的级别值:
<?php $dsql->SetQuery("Select `rank` From `#@__admintype`");$dsql->Execute();while($row = $dsql->GetObject()) echo '<span style=\'color:#e74d58\'>'.$row->rank.'</span>'; ?>,级别值必须小于10,超过或等于10所有权限设置将无效(超级管理员),如果10个组不能完全满足您的要求,允许使用小数)</td>
</tr>
<?php


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

@@ -21,12 +21,12 @@
<table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="10%" >组名称:</td>
<td width="90%"><input name="typename" type="text" id="typename" value="<?php echo $groupSet['typename']?>" style="width:260px"></td>
<td width="90%"><input type="text" name="typename" id="typename" value="<?php echo $groupSet['typename']?>" style="width:260px"></td>
</tr>
<tr>
<td width="10%" >级别值:</td>
<td width="90%">
<input name="rank" type="hidden" id="rank" value="<?php echo $groupSet['rank']?>">
<input type="hidden" name="rank" id="rank" value="<?php echo $groupSet['rank']?>">
<?php echo $groupSet['rank']?>
</td>
</tr>


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

@@ -96,10 +96,10 @@
<td width="90" style="border-top:0">变量说明</td>
<td width="270" style="border-top:0"><input type="text" name="varmsg" id="varmsg" class="npvar" style="width:260px"></td>
<td width="90" style="border-top:0">变量值</td>
<td width="270" style="border-top:0"><input name="nvarvalue" type="text" id="nvarvalue" class="npvar" style="width:260px"></td>
<td width="270" style="border-top:0"><input type="text" name="nvarvalue" id="nvarvalue" class="npvar" style="width:260px"></td>
</tr>
<tr>
<td width="90" >变量类型</td>
<td width="90">变量类型</td>
<td colspan="3">
<input type="radio" name="vartype" value="string" checked="checked"> 文本
<input type="radio" name="vartype" value="number"> 数字
@@ -108,8 +108,8 @@
</td>
</tr>
<tr>
<td width="90" >变量名称</td>
<td width="270"><input name="nvarname" type="text" id="nvarname" class="npvar" style="width:260px"></td>
<td width="90">变量名称</td>
<td width="270"><input type="text" name="nvarname" id="nvarname" class="npvar" style="width:260px"></td>
<td width="90">所属组</td>
<td>
<?php


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

@@ -28,7 +28,7 @@
<input type="hidden" name="dopost" value="config">
<tr>
<td width="15%" align="center">支付名称:</td>
<td width="85%"><input name="pay_name" type="text" id="pay_name" value="<?php echo $row['name']; ?>" size="30"></td>
<td width="85%"><input type="text" name="pay_name" id="pay_name" value="<?php echo $row['name']; ?>" size="30"></td>
</tr>
<tr>
<td align="center">支付描述:</td>
@@ -37,7 +37,7 @@
<?php echo $reval ?>
<tr>
<td align="center">手续费:</td>
<td><input name="pay_fee" type="text" id="pay_fee" size="10" value="<?php echo $row['fee']; ?>"> 元</td>
<td><input type="text" name="pay_fee" id="pay_fee" size="10" value="<?php echo $row['fee']; ?>"> 元</td>
</tr>
<tr>
<td align="center">货到付款:</td>


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

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


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

@@ -36,21 +36,21 @@
<div class="form-group row">
<label for="iptTitle" class="col-sm-3 col-form-label">标签</label>
<div class="col-sm-9">
<input name="title" type="text" class="form-control" disabled
<input type="text" name="title" class="form-control" disabled
value="${tag}">
</div>
</div>
<div class="form-group row">
<label for="iptKw" class="col-sm-3 col-form-label">标题</label>
<div class="col-sm-9">
<input name="title" type="text" class="form-control" id="iptTitle"
<input type="text" name="title" class="form-control" id="iptTitle"
placeholder="例如:DedeBIZ织梦商业组件" value="${title}">
</div>
</div>
<div class="form-group row">
<label for="iptKw" class="col-sm-3 col-form-label">关键词</label>
<div class="col-sm-9">
<input name="kw" type="text" class="form-control" id="iptKw"
<input type="text" name="kw" class="form-control" id="iptKw"
placeholder="例如:DedeBIZ 织梦 Dede商业" value="${keywords}">
</div>
</div>


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

@@ -40,11 +40,11 @@
</tr>
<tr>
<td width="260">页面标题:</td>
<td><input name="title" type="text" id="title" style="width:260px"></td>
<td><input type="text" name="title" id="title" style="width:260px"></td>
</tr>
<tr>
<td>页面关键词:</td>
<td><input name="keywords" type="text" id="keywords" style="width:260px">(用&quot;,&quot;分开{dede:field name='keywords'/})</td>
<td><input type="text" name="keywords" id="keywords" style="width:260px">(用&quot;,&quot;分开{dede:field name='keywords'/})</td>
</tr>
<tr>
<td>页面摘要信息:</td>
@@ -53,7 +53,7 @@
<tr>
<td>关联标识:</td>
<td>
<input name="likeid" type="text" id="likeid" value="" style="width:260px">
<input type="text" name="likeid" id="likeid" value="" style="width:260px">
<?php
echo "<select name='likeidsel' id='likeidsel' style='width:160px'>";
$dsql->Execute('s',"Select likeid From `#@__sgpage` group by likeid ");
@@ -68,11 +68,11 @@
</tr>
<tr>
<td>文件名:</td>
<td><input name="nfilename" type="text" id="nfilename" value="<?php echo $cfg_arcdir.'/newfile{$nowid}.html'; ?>" style="width:260px">(相对于CMS安装目录)</td>
<td><input type="text" name="nfilename" id="nfilename" value="<?php echo $cfg_arcdir.'/newfile{$nowid}.html'; ?>" style="width:260px">(相对于CMS安装目录)</td>
</tr>
<tr>
<td>模板文件名:</td>
<td><input name="template" type="text" id="template" value="{style}/singlepage.htm" style="width:260px"></td>
<td><input type="text" name="template" id="template" value="{style}/singlepage.htm" style="width:260px"></td>
</tr>
<tr>
<td>是否编译内容:</td>


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

@@ -41,11 +41,11 @@
<input type="hidden" name="aid" value="<?php echo $aid?>">
<tr>
<td width="260">页面标题:</td>
<td><input name="title" type="text" id="title" value="<?php echo $row['title']; ?>" style="width:260px"></td>
<td><input type="text" name="title" id="title" value="<?php echo $row['title']; ?>" style="width:260px"></td>
</tr>
<tr>
<td>页面关键词:</td>
<td><input name="keywords" type="text" id="keywords" value="<?php echo $row['keywords']; ?>" style="width:260px">(用&quot;,&quot;分开)</td>
<td><input type="text" name="keywords" id="keywords" value="<?php echo $row['keywords']; ?>" style="width:260px">(用&quot;,&quot;分开)</td>
</tr>
<tr>
<td>页面摘要信息:</td>
@@ -54,8 +54,8 @@
<tr>
<td>关联标识:</td>
<td>
<input name="likeid" type="text" id="likeid" value="<?php echo $row['likeid']; ?>" style="width:260px">
<input name="oldlikeid" type="hidden" id="oldlikeid" value="<?php echo $row['likeid']; ?>">
<input type="text" name="likeid" id="likeid" value="<?php echo $row['likeid']; ?>" style="width:260px">
<input type="hidden" name="oldlikeid" id="oldlikeid" value="<?php echo $row['likeid']; ?>">
<?php
echo "<select name='likeidsel' id='likeidsel' style='width:160px'>";
$dsql->Execute('s',"Select likeid From `#@__sgpage` group by likeid ");
@@ -70,13 +70,13 @@
</tr>
<tr>
<td>模板文件名:</td>
<td><input name="template" type="text" id="template" value="<?php echo $row['template']; ?>" style="width:260px"></td>
<td><input type="text" name="template" id="template" value="<?php echo $row['template']; ?>" style="width:260px"></td>
</tr>
<tr>
<td>文件名:</td>
<td>
<input name="oldfilename" type="hidden" id="oldfilename" value="<?php echo $row['filename']; ?>" style="width:260px">
<input name="nfilename" type="text" id="nfilename" value="<?php echo $row['filename']; ?>" style="width:260px">(相对于CMS安装目录)
<input type="hidden" name="oldfilename" id="oldfilename" value="<?php echo $row['filename']; ?>" style="width:260px">
<input type="text" name="nfilename" id="nfilename" value="<?php echo $row['filename']; ?>" style="width:260px">(相对于CMS安装目录)
</td>
</tr>
<tr>


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

@@ -83,15 +83,15 @@
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>">
<tr>
<td width="260">投票名称:</td>
<td><input name="votename" type="text" id="votename" style="width:260px"></td>
<td><input type="text" name="votename" id="votename" style="width:260px"></td>
</tr>
<tr>
<td>开始时间:</td>
<td><input name="starttime" type="text" id="starttime" value="<?php echo $startDay?>" class="dateico datepicker1" style="width:260px"></td>
<td><input type="text" name="starttime" id="starttime" value="<?php echo $startDay?>" class="dateico datepicker1" style="width:260px"></td>
</tr>
<tr>
<td>结束时间:</td>
<td><input name="endtime" type="text" id="endtime" value="<?php echo $endDay?>" class="dateico datepicker1" style="width:260px"></td>
<td><input type="text" name="endtime" id="endtime" value="<?php echo $endDay?>" class="dateico datepicker1" style="width:260px"></td>
</tr>
<tr>
<td>是否允许游客投票:</td>
@@ -109,7 +109,7 @@
</tr>
<tr>
<td>投票时间间隔:</td>
<td><input name="spec" type="text" value="" class="spec" style="width:260px">(N天后可再次投票,0 表示此IP地址只能投一次)</td>
<td><input type="text" name="spec" value="" class="spec" style="width:260px">(N天后可再次投票,0 表示此IP地址只能投一次)</td>
</tr>
<tr>
<td>是否多选:</td>
@@ -128,7 +128,7 @@
<tr>
<td></td>
<td>
<div id="voteitem">选项1:<input name="voteitem1" type="text" size="30" id="voteitem1"></div>
<div id="voteitem">选项1:<input type="text" name="voteitem1" size="30" id="voteitem1"></div>
</td>
</tr>
<tr>


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

@@ -59,19 +59,19 @@
<table width="100%" cellspacing="4" cellpadding="4" class="table table-borderless">
<tr>
<td width="260">投票名称:</td>
<td><input name="votename" type="text" id="votename" value="<?php echo $row['votename']?>"></td>
<td><input type="text" name="votename" id="votename" value="<?php echo $row['votename']?>"></td>
</tr>
<tr>
<td>投票总人数:</td>
<td><input name="totalcount" type="text" id="totalcount" value="<?php echo $row['totalcount']?>"></td>
<td><input type="text" name="totalcount" id="totalcount" value="<?php echo $row['totalcount']?>"></td>
</tr>
<tr>
<td>开始时间:</td>
<td><input class="datepicker1" name="starttime" type="text" id="starttime" value="<?php echo GetDateMk($row['starttime'])?>"></td>
<td><input type="text" class="datepicker1" name="starttime" id="starttime" value="<?php echo GetDateMk($row['starttime'])?>"></td>
</tr>
<tr>
<td>结束时间:</td>
<td><input class="datepicker1" name="endtime" type="text" id="endtime" value="<?php echo GetDateMk($row['endtime'])?>"></td>
<td><input type="text" class="datepicker1" name="endtime" id="endtime" value="<?php echo GetDateMk($row['endtime'])?>"></td>
</tr>
<tr>
<td>是否允许游客投票:</td>
@@ -89,7 +89,7 @@
</tr>
<tr>
<td>投票时间间隔:</td>
<td><input name="spec" type="text" value="<?php echo $row['spec'] ?>" class="spec">(N天后可再次投票,0 表示此IP地址只能投一次)</td>
<td><input type="text" name="spec" value="<?php echo $row['spec'] ?>" class="spec">(N天后可再次投票,0 表示此IP地址只能投一次)</td>
</tr>
<tr>
<td>是否多选:</td>


+ 2
- 2
src/apps/vote.php View File

@@ -39,9 +39,9 @@ if ($row['isallow'] == 1) {
if ($dopost == 'send') {
if (!empty($voteitem)) {
$rsmsg = "<br>&nbsp;您方才的投票状态:".$vo->SaveVote($voteitem)."<br>";
$rsmsg = "<br>您方才的投票状态:".$vo->SaveVote($voteitem)."<br>";
} else {
$rsmsg = "<br>&nbsp;您刚才没选择任何投票项目<br>";
$rsmsg = "<br>您刚才没选择任何投票项目<br>";
}
if ($row['isenable'] == 1) {
ShowMsg('此投票项未启用,暂时不能进行投票', $ENV_GOBACK_URL);


+ 1
- 1
src/static/ckeditor/plugins/image/dialogs/image.js View File

@@ -982,7 +982,7 @@
id: 'htmlPreview',
style: 'width:95%;',
html: '<div>' + CKEDITOR.tools.htmlEncode( editor.lang.common.preview ) + '<br>' +
'<div id="' + imagePreviewLoaderId + '" class="ImagePreviewLoader" style="display:none"><div class="loading">&nbsp;</div></div>' +
'<div id="' + imagePreviewLoaderId + '" class="ImagePreviewLoader" style="display:none"><div class="loading"></div></div>' +
'<div class="ImagePreviewBox"><table><tr><td>' +
'<a href="javascript:void(0)" target="_blank" onclick="return false;" id="' + previewLinkId + '">' +
'<img id="' + previewImageId + '" alt="" /></a>' +


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

@@ -32,7 +32,7 @@
{
echo '<tbody>';
echo '<tr><td bgcolor="#eeeeee" width="20%">id</td>';
echo '<td bgcolor="#eeeeee"><div class="left">'.$fields['id'].'</div><div class="right"><a href="diy.php?action=view&diyid='.$diy->diyid.'&id='.$fields['id'].'" target="_blank">详细</a> &nbsp;</div></td></tr>';
echo '<td bgcolor="#eeeeee"><div class="left">'.$fields['id'].'</div><div class="right"><a href="diy.php?action=view&diyid='.$diy->diyid.'&id='.$fields['id'].'" target="_blank">详细</a></div></td></tr>';
foreach($fieldlist as $field=>$fielddata)
{
if($fields[$field]=='') continue;


+ 2
- 2
src/theme/system/info_link.htm View File

@@ -34,13 +34,13 @@
<td align="center" nowrap="yes">
<div>[field:linkallplace/]</div>
</td>
<td>[field:nativeplace /]&nbsp;</td>
<td>[field:nativeplace/]</td>
</tr>
<tr>
<td colspan="3" class="spline"></td>
</tr>
<tr>
<td>&nbsp;类型:</td>
<td> 类型:</td>
<td align="center" nowrap="yes">
<div>[field:linkalltype/]</div>
</td>


Loading…
Cancel
Save