| @@ -287,9 +287,8 @@ else if ($dopost == 'save') { | |||
| } | |||
| } | |||
| //返回成功信息 | |||
| $msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布图片</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改图集</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>预览文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布图片管理</a>$backurl"; | |||
| $msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布图集</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改图集</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>预览图集</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布图集管理</a>$backurl"; | |||
| $msg = "<div style=\"line-height:36px;height:36px\">{$msg}</div>".GetUpdateTest(); | |||
| $wintitle = "成功发布一个图集"; | |||
| $wecome_info = "文章管理::发布图集"; | |||
| $win = new OxWindow(); | |||
| @@ -359,7 +359,7 @@ else if ($dopost == 'save') { | |||
| } | |||
| } | |||
| //返回成功信息 | |||
| $msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布图片</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>查看修改</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>预览文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理已发布图片</a>$backurl"; | |||
| $msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布图集</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改图集</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>预览图集</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理已发布图集</a>$backurl"; | |||
| $wintitle = "成功修改图集"; | |||
| $wecome_info = "文章管理::修改图集"; | |||
| $win = new OxWindow(); | |||
| @@ -173,12 +173,12 @@ else if ($dopost == 'save') { | |||
| } | |||
| } | |||
| //返回成功信息 | |||
| $msg = "请选择您的后续操作:<a href='archives_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布文档管理</a>$backurl"; | |||
| $msg = "请选择您的后续操作:<a href='archives_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布商品</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看商品</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改商品</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布商品管理</a>$backurl"; | |||
| $msg = "<div style=\"line-height:36px;height:36px\">{$msg}</div>".GetUpdateTest(); | |||
| $wintitle = '成功发布文档'; | |||
| $wecome_info = '文档管理::发布文档'; | |||
| $wintitle = '成功发布商品'; | |||
| $wecome_info = '文档管理::发布商品'; | |||
| $win = new OxWindow(); | |||
| $win->AddTitle('成功发布文档:'); | |||
| $win->AddTitle('成功发布商品:'); | |||
| $win->AddMsgItem($msg); | |||
| $winform = $win->GetWindow('hand', ' ', false); | |||
| $win->Display(); | |||
| @@ -185,11 +185,11 @@ else if ($dopost == 'save') { | |||
| } | |||
| } | |||
| //返回成功信息 | |||
| $msg = "请选择您的后续操作:<a href='archives_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理文档</a>$backurl"; | |||
| $wintitle = "成功修改文档"; | |||
| $wecome_info = "文档管理::修改文档"; | |||
| $msg = "请选择您的后续操作:<a href='archives_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新商品</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改商品</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看商品</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理商品</a>$backurl"; | |||
| $wintitle = "成功修改商品"; | |||
| $wecome_info = "文档管理::修改商品"; | |||
| $win = new OxWindow(); | |||
| $win->AddTitle("成功修改文档:"); | |||
| $win->AddTitle("成功修改商品:"); | |||
| $win->AddMsgItem($msg); | |||
| $winform = $win->GetWindow("hand", " ", false); | |||
| $win->Display(); | |||
| @@ -127,11 +127,11 @@ else if ($dopost == 'save') { | |||
| } | |||
| ClearMyAddon($arcID, $title); | |||
| //返回成功信息 | |||
| $msg = "请选择您的后续操作:<a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改文档</a><a href='content_sg_list.php?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-success btn-sm'>已发布文档管理</a><a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a>"; | |||
| $wintitle = "成功发布文档"; | |||
| $wecome_info = "文档管理::发布文档"; | |||
| $msg = "请选择您的后续操作:<a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布分类</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看分类</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改分类</a><a href='content_sg_list.php?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-success btn-sm'>已发布分类管理</a><a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a>"; | |||
| $wintitle = "成功发布分类"; | |||
| $wecome_info = "文档管理::发布分类"; | |||
| $win = new OxWindow(); | |||
| $win->AddTitle("成功发布文档:"); | |||
| $win->AddTitle("成功发布分类:"); | |||
| $win->AddMsgItem($msg); | |||
| $winform = $win->GetWindow("hand", " ", false); | |||
| $win->Display(); | |||
| @@ -114,11 +114,11 @@ else if ($dopost == 'save') { | |||
| if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$id"; | |||
| ClearMyAddon($id, $title); | |||
| //返回成功信息 | |||
| $msg = "请选择您的后续操作:<a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='catalog_do.php?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-success btn-sm'>管理文档</a><a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a>"; | |||
| $wintitle = "成功修改文档"; | |||
| $wecome_info = "文档管理::修改文档"; | |||
| $msg = "请选择您的后续操作:<a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新分类</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改分类</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看分类</a><a href='catalog_do.php?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-success btn-sm'>管理分类</a><a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a>"; | |||
| $wintitle = "成功修改分类"; | |||
| $wecome_info = "文档管理::修改分类"; | |||
| $win = new OxWindow(); | |||
| $win->AddTitle("成功修改文档:"); | |||
| $win->AddTitle("成功修改分类:"); | |||
| $win->AddMsgItem($msg); | |||
| $winform = $win->GetWindow("hand", " ", false); | |||
| $win->Display(); | |||
| @@ -209,12 +209,12 @@ else if ($dopost == 'save') { | |||
| } | |||
| } | |||
| //返回成功信息 | |||
| $msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布文章</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文章</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改文章</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布文章管理</a>$backurl"; | |||
| $msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布文档管理</a>$backurl"; | |||
| $msg = "<div style=\"line-height:36px;height:36px\">{$msg}</div>".GetUpdateTest(); | |||
| $wintitle = "成功发布文章"; | |||
| $wecome_info = "文章管理::发布文章"; | |||
| $wintitle = "成功发布文档"; | |||
| $wecome_info = "文章管理::发布文档"; | |||
| $win = new OxWindow(); | |||
| $win->AddTitle("成功发布文章:"); | |||
| $win->AddTitle("成功发布文档:"); | |||
| $win->AddMsgItem($msg); | |||
| $winform = $win->GetWindow("hand", " ", false); | |||
| $win->Display(); | |||
| @@ -200,11 +200,11 @@ else if ($dopost == 'save') { | |||
| } | |||
| //返回成功信息 | |||
| $msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新文章</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文章</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理文章</a>$backurl"; | |||
| $wintitle = "成功修改文章"; | |||
| $wecome_info = "文章管理::修改文章"; | |||
| $msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理文档</a>$backurl"; | |||
| $wintitle = "成功修改文档"; | |||
| $wecome_info = "文章管理::修改文档"; | |||
| $win = new OxWindow(); | |||
| $win->AddTitle("成功修改文章:"); | |||
| $win->AddTitle("成功修改文档:"); | |||
| $win->AddMsgItem($msg); | |||
| $winform = $win->GetWindow("hand", " ", false); | |||
| $win->Display(); | |||
| @@ -165,7 +165,7 @@ if ($dopost == 'time') { | |||
| <input type="hidden" name="moresite" value="<?php echo $myrow['moresite']; ?>"> | |||
| <table width="100%" border="0" cellpadding="0" cellspacing="0"> | |||
| <tr> | |||
| <td width="160" class="bline" height="26" align="center">是否支持投稿:</td> | |||
| <td width="260" class="bline" height="26" align="center">是否支持投稿:</td> | |||
| <td class="bline"> | |||
| <label><input type='radio' name='issend' value='0' class='np' <?php if ($myrow['issend'] == "0") echo " checked='1' "; ?>> 不支持</label> | |||
| <label><input type='radio' name='issend' value='1' class='np' <?php if ($myrow['issend'] == "1") echo " checked='1' "; ?>> 支持</label> | |||
| @@ -42,7 +42,7 @@ require(DEDEADMIN.'/inc/inc_menu_func.php'); | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| <table width="120" border="0" align="center" cellpadding="0" cellspacing="0"> | |||
| <table width="260" border="0" align="center" cellpadding="0" cellspacing="0"> | |||
| <tr> | |||
| <td height="6"></td> | |||
| </tr> | |||
| @@ -148,11 +148,11 @@ function addImage(src, pid) { | |||
| newImgDiv.className = 'albCt'; | |||
| newImgDiv.id = 'albCt' + albImg; | |||
| document.getElementById("thumbnails").appendChild(newImgDiv); | |||
| newImgDiv.innerHTML = '<img src="' + src + '" style="width:120px">' + delstr; | |||
| newImgDiv.innerHTML = '<img src="' + src + '" style="width:160px">' + delstr; | |||
| if (typeof arctype != 'undefined' && arctype == 'article') { | |||
| iptwidth = 100; | |||
| if (pid != 0) { | |||
| newImgDiv.innerHTML = '<img src="' + src + '" style="width:120px" onClick="addtoEdit(' + pid + ')">' + delstr; | |||
| newImgDiv.innerHTML = '<img src="' + src + '" style="width:160px" onClick="addtoEdit(' + pid + ')">' + delstr; | |||
| } | |||
| } | |||
| newImgDiv.innerHTML += '<div style="margin-top:10px">注释:<input type="text" name="picinfo' + albImg + '" value="" style="width:' + iptwidth + 'px;"></div>'; | |||
| @@ -263,7 +263,7 @@ else if ($dopost == 'save') { | |||
| } | |||
| } | |||
| //返回成功信息 | |||
| $msg = "请选择您的后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新软件</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>继续修改</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>查看软件</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布软件管理</a><a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a>"; | |||
| $msg = "请选择您的后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新软件</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改软件</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>查看软件</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布软件管理</a><a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a>"; | |||
| $wintitle = "成功修改一个软件"; | |||
| $wecome_info = "文章管理::修改软件"; | |||
| $win = new OxWindow(); | |||
| @@ -219,7 +219,7 @@ else if ($dopost == 'save') { | |||
| } | |||
| } | |||
| //返回成功信息 | |||
| $msg = "请选择您的后续操作:<a href='spec_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新专题</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看专题</a><a href='content_s_list.php' class='btn btn-success btn-sm'>已发布专题管理</a> "; | |||
| $msg = "请选择您的后续操作:<a href='spec_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新专题</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改专题</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看专题</a><a href='content_s_list.php' class='btn btn-success btn-sm'>已发布专题管理</a> "; | |||
| $wintitle = "成功修改一个专题"; | |||
| $wecome_info = "专题管理::修改专题"; | |||
| $win = new OxWindow(); | |||
| @@ -63,7 +63,7 @@ table{border-collapse:separate} | |||
| <input type="hidden" id="albums" name="albums" value=""> | |||
| <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
| <tr> | |||
| <td width="70%" height="30"><i class="fa fa-book" aria-hidden="true"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">图集列表</a> > 发布图集</td> | |||
| <td width="70%" height="30"><i class="fa fa-book"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">图集列表</a> > 发布图集</td> | |||
| <td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td> | |||
| </tr> | |||
| </table> | |||
| @@ -171,7 +171,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 来源:</td> | |||
| <td width="250"> | |||
| <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> | |||
| </td> | |||
| @@ -186,18 +186,18 @@ table{border-collapse:separate} | |||
| </tr> | |||
| <tr> | |||
| <td height="26" colspan="4" class="bline"> | |||
| <table width="600" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 发布栏目:</td> | |||
| <td> | |||
| <td width="360"> | |||
| <span id='typeidct'> | |||
| <?php | |||
| $typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); | |||
| echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
| echo "<option value='0'>请选择栏目</option>"; | |||
| echo $typeOptions; | |||
| echo "</select>"; | |||
| ?> | |||
| <?php | |||
| $typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); | |||
| echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
| echo "<option value='0'>请选择栏目</option>"; | |||
| echo $typeOptions; | |||
| echo "</select>"; | |||
| ?> | |||
| </span> | |||
| <img src='../static/web/img/menusearch.gif' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title='快捷选择' style='cursor:pointer'> | |||
| <?php | |||
| @@ -208,7 +208,7 @@ table{border-collapse:separate} | |||
| ?> | |||
| </td> | |||
| <td width="90">消费金币:</td> | |||
| <td><input name="money" type="text" id="money" value="0" style="width:120px"></td> | |||
| <td><input name="money" type="text" id="money" value="0" style="width:160px"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -386,8 +386,8 @@ table{border-collapse:separate} | |||
| <td height="26" colspan="4" class="bline"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90" height="26" width="250"> 评论选项:</td> | |||
| <td width="250"> | |||
| <td width="90" height="26" width="260"> 评论选项:</td> | |||
| <td width="260"> | |||
| <label><input type='radio' name='notpost' class='np' value='0' <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?> /> 允许评论</label> | |||
|   | |||
| <label><input type='radio' name='notpost' class='np' value='1' <?php if($cfg_feedback_forbid=='Y') echo "checked='1' "; ?> /> 禁止评论</label> | |||
| @@ -408,7 +408,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90" height="26"> 图集排序:</td> | |||
| <td width="250"> <select name="sortup" id="sortup" style="width:160px"> | |||
| <td width="260"> <select name="sortup" id="sortup" style="width:160px"> | |||
| <option value="0" selected>默认排序</option> | |||
| <option value="7">置顶一周</option> | |||
| <option value="30">置顶一个月</option> | |||
| @@ -418,7 +418,7 @@ table{border-collapse:separate} | |||
| </select> </td> | |||
| <td width="90">标题颜色:</td> | |||
| <td> | |||
| <input name="color" type="text" id="color" style="width:120px"> | |||
| <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> | |||
| </td> | |||
| </tr> | |||
| @@ -430,7 +430,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 阅读权限:</td> | |||
| <td width="250"><select name="arcrank" id="arcrank" style="width:160px"> | |||
| <td width="260"><select name="arcrank" id="arcrank" style="width:160px"> | |||
| <?php | |||
| $urank = $cuserLogin->getUserRank(); | |||
| $dsql->SetQuery("Select * from `#@__arcrank` where adminrank<='$urank'"); | |||
| @@ -443,7 +443,7 @@ table{border-collapse:separate} | |||
| </select> | |||
| </td> | |||
| <td width="90">文件名称:</td> | |||
| <td><input type="text" name="filename" id="filename" style="width:120px">(不包括后缀名如.html等)</td> | |||
| <td><input type="text" name="filename" id="filename" style="width:160px">(不包括后缀名如.html等)</td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -453,14 +453,14 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 发布时间:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <?php | |||
| $nowtime = GetDateTimeMk(time()); | |||
| echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker' style='width:160px'>"; | |||
| ?> | |||
| </td> | |||
| <td width="90">浏览次数:</td> | |||
| <td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50,200):$cfg_arc_click); ?>" style="width:120px"></td> | |||
| <td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50,200):$cfg_arc_click); ?>" style="width:160px"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -63,7 +63,7 @@ table{border-collapse:separate} | |||
| <input type="hidden" id="albums" name="albums" value=""> | |||
| <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
| <tr> | |||
| <td width="70%" height="30"><i class="fa fa-book" aria-hidden="true"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">图集列表</a> > 修改图集</td> | |||
| <td width="70%" height="30"><i class="fa fa-book"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">图集列表</a> > 修改图集</td> | |||
| <td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td> | |||
| </tr> | |||
| </table> | |||
| @@ -168,7 +168,7 @@ table{border-collapse:separate} | |||
| <td height="26" colspan="4" class="bline"><table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 来源:</td> | |||
| <td width="250"> | |||
| <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> | |||
| </td> | |||
| @@ -183,10 +183,10 @@ table{border-collapse:separate} | |||
| </tr> | |||
| <tr> | |||
| <td height="26" colspan="4" class="bline"> | |||
| <table width="570" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 发布栏目:</td> | |||
| <td> | |||
| <td width="360"> | |||
| <?php | |||
| $typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
| echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
| @@ -197,7 +197,7 @@ table{border-collapse:separate} | |||
| <img src='../static/web/img/menusearch.gif' style='cursor:pointer' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title='快捷选择'> | |||
| </td> | |||
| <td width="90">消费金币:</td> | |||
| <td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" style="width:120px"></td> | |||
| <td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -263,8 +263,8 @@ table{border-collapse:separate} | |||
| <td height="26" colspan="4" class="bline"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90" height="26" width="250"> 评论选项:</td> | |||
| <td width="250"> | |||
| <td width="90" height="26" width="260"> 评论选项:</td> | |||
| <td width="260"> | |||
| <label><input type='radio' name='notpost' class='np' value='0'<?php if($arcRow['notpost']==0) echo " checked='1' "; ?>/> | |||
| 允许评论</label> | |||
|   | |||
| @@ -285,7 +285,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 文档排序:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <select name="sortup" id="sortup" style="width:160px"> | |||
| <?php | |||
| $subday = SubDay($arcRow["sortrank"],$arcRow["pubdate"]); | |||
| @@ -300,7 +300,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:120px"> | |||
| <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> | |||
| </td> | |||
| </tr> | |||
| @@ -312,7 +312,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 阅读权限:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <select name="arcrank" id="arcrank" style="width:160px"> | |||
| <option value='<?php echo $arcRow["arcrank"]?>'> <?php echo $arcRow["rankname"]?> </option> | |||
| <?php | |||
| @@ -326,7 +326,7 @@ table{border-collapse:separate} | |||
| </select> | |||
| </td> | |||
| <td width="90">文件名称:</td> | |||
| <td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" style="width:120px">(不包括后缀名如.html等)</td> | |||
| <td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" style="width:160px">(不包括后缀名如.html等)</td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -336,14 +336,14 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 发布时间:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <?php | |||
| $nowtime = GetDateTimeMk(time()); | |||
| echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker' style='width:160px'>"; | |||
| ?> | |||
| </td> | |||
| <td width="90">浏览次数:</td> | |||
| <td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:120px"></td> | |||
| <td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:160px"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -371,7 +371,7 @@ table{border-collapse:separate} | |||
| <td height="26" colspan="4" class="bline"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="120"> 多列式参数:</td> | |||
| <td width="260"> 多列式参数:</td> | |||
| <td> | |||
| 行 <input name="row" type="text" id="row" value="<?php echo $irow; ?>" size="6"> | |||
| 列 <input name="col" type="text" id="col" value="<?php echo $icol; ?>" size="6"> | |||
| @@ -39,7 +39,7 @@ table{border-collapse:separate} | |||
| <body> | |||
| <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
| <tr> | |||
| <td width="70%" height="30"><i class="fa fa-book" aria-hidden="true"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 发布商品</td> | |||
| <td width="70%" height="30"><i class="fa fa-book"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 发布商品</td> | |||
| <td width="30%" align='right'><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td> | |||
| </tr> | |||
| </table> | |||
| @@ -151,7 +151,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 来源:</td> | |||
| <td width="250"> | |||
| <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> | |||
| </td> | |||
| @@ -173,10 +173,10 @@ table{border-collapse:separate} | |||
| ?> | |||
| <tr> | |||
| <td height="26" colspan="4" class="bline"> | |||
| <table width="600" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 发布栏目:</td> | |||
| <td> | |||
| <td width="360"> | |||
| <span id='typeidct'> | |||
| <?php | |||
| $typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); | |||
| @@ -195,7 +195,7 @@ table{border-collapse:separate} | |||
| ?> | |||
| </td> | |||
| <td width="90">消费金币:</td> | |||
| <td><input name="money" type="text" id="money" value="0" style="width:120px"></td> | |||
| <td><input name="money" type="text" id="money" value="0" style="width:160px"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -276,8 +276,8 @@ table{border-collapse:separate} | |||
| <td height="26" colspan="4" class="bline"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90" height="26" width="250"> 评论选项:</td> | |||
| <td width="250"> | |||
| <td width="90" height="26" width="260"> 评论选项:</td> | |||
| <td width="260"> | |||
| <label><input type='radio' name='notpost' class='np' value='0' <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?> /> 允许评论</label> | |||
|   | |||
| <label><input type='radio' name='notpost' class='np' value='1' <?php if($cfg_feedback_forbid=='Y') echo "checked='1' "; ?> /> 禁止评论</label> | |||
| @@ -298,7 +298,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90" height="26"> 文档排序:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <select name="sortup" id="sortup" style="width:160px"> | |||
| <option value="0" selected>默认排序</option> | |||
| <option value="7">置顶一周</option> | |||
| @@ -309,7 +309,7 @@ table{border-collapse:separate} | |||
| </select> </td> | |||
| <td width="90">标题颜色:</td> | |||
| <td> | |||
| <input name="color" type="text" id="color" style="width:120px"> | |||
| <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> | |||
| </td> | |||
| </tr> | |||
| @@ -321,7 +321,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 阅读权限:</td> | |||
| <td width="250"><select name="arcrank" id="arcrank" style="width:160px"> | |||
| <td width="260"><select name="arcrank" id="arcrank" style="width:160px"> | |||
| <?php | |||
| $urank = $cuserLogin->getUserRank(); | |||
| $dsql->SetQuery("Select * from `#@__arcrank` where adminrank<='$urank'"); | |||
| @@ -333,7 +333,7 @@ table{border-collapse:separate} | |||
| ?></select> | |||
| </td> | |||
| <td width="90">文件名称:</td> | |||
| <td><input type="text" name="filename" id="filename" style="width:120px">(不包括后缀名如.html等)</td> | |||
| <td><input type="text" name="filename" id="filename" style="width:160px">(不包括后缀名如.html等)</td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -343,14 +343,14 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 发布时间:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <?php | |||
| $nowtime = GetDateTimeMk(time()); | |||
| echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker' style='width:160px'>"; | |||
| ?> | |||
| </td> | |||
| <td width="90">浏览次数:</td> | |||
| <td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50,200):$cfg_arc_click); ?>" style="width:120px"></td> | |||
| <td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50,200):$cfg_arc_click); ?>" style="width:160px"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -36,7 +36,7 @@ table{border-collapse:separate} | |||
| <body> | |||
| <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
| <tr> | |||
| <td width="70%" height="30"><i class="fa fa-book" aria-hidden="true"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 修改商品</td> | |||
| <td width="70%" height="30"><i class="fa fa-book"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 修改商品</td> | |||
| <td width="30%" align='right'><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td> | |||
| </tr> | |||
| </table> | |||
| @@ -152,7 +152,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 来源:</td> | |||
| <td width="250"> | |||
| <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> | |||
| </td> | |||
| @@ -174,10 +174,10 @@ table{border-collapse:separate} | |||
| ?> | |||
| <tr> | |||
| <td height="26" class="bline"> | |||
| <table width="570" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 发布栏目:</td> | |||
| <td> | |||
| <td width="360"> | |||
| <?php | |||
| $typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
| echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
| @@ -188,7 +188,7 @@ table{border-collapse:separate} | |||
| <img src='../static/web/img/menusearch.gif' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title='快捷选择' style='cursor:pointer'> | |||
| </td> | |||
| <td width="90">消费金币:</td> | |||
| <td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" style="width:120px"></td> | |||
| <td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -263,8 +263,8 @@ table{border-collapse:separate} | |||
| <td height="26" colspan="4" class="bline"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90" height="26" width="250"> 评论选项:</td> | |||
| <td width="250"> | |||
| <td width="90" height="26" width="260"> 评论选项:</td> | |||
| <td width="260"> | |||
| <label><input type='radio' name='notpost' class='np' value='0' <?php if($arcRow['notpost']==0) echo " checked='1' "; ?> /> 允许评论</label> | |||
|   | |||
| <label><input type='radio' name='notpost' class='np' value='1' <?php if($arcRow['notpost']==1) echo " checked='1' "; ?> /> 禁止评论</label> | |||
| @@ -284,7 +284,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 文档排序:</td> | |||
| <td width="250"><select name="sortup" id="sortup" style="width:160px"> | |||
| <td width="260"><select name="sortup" id="sortup" style="width:160px"> | |||
| <?php | |||
| $subday = SubDay($arcRow["sortrank"],$arcRow["pubdate"]); | |||
| echo "<option value='0'>正常排序</option>"; | |||
| @@ -299,7 +299,7 @@ table{border-collapse:separate} | |||
| </td> | |||
| <td width="90">标题颜色:</td> | |||
| <td> | |||
| <input name="color" type="text" id="color" value="<?php echo $arcRow['color']?>" style="width:120px"> | |||
| <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> | |||
| </td> | |||
| </tr> | |||
| @@ -311,7 +311,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 阅读权限:</td> | |||
| <td width="250"><select name="arcrank" id="arcrank" style="width:160px"> | |||
| <td width="260"><select name="arcrank" id="arcrank" style="width:160px"> | |||
| <option value='<?php echo $arcRow["arcrank"]?>'><?php echo $arcRow["rankname"]?></option> | |||
| <?php | |||
| $urank = $cuserLogin->getUserRank(); | |||
| @@ -324,7 +324,7 @@ table{border-collapse:separate} | |||
| </select> | |||
| </td> | |||
| <td width="90">文件名称:</td> | |||
| <td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" style="width:120px">(不包括后缀名如.html等)</td> | |||
| <td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" style="width:160px">(不包括后缀名如.html等)</td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -334,13 +334,13 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 更新时间:</td> | |||
| <td width="250"><?php | |||
| <td width="260"><?php | |||
| $nowtime = GetDateTimeMk(time()); | |||
| echo "<input name='pubdate' value='$nowtime' type='text' id='pubdate' class='datepicker' style='width:160px'>"; | |||
| ?> | |||
| </td> | |||
| <td width="90">浏览次数:</td> | |||
| <td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:120px"></td> | |||
| <td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:160px"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -40,7 +40,7 @@ table{border-collapse:separate} | |||
| <body> | |||
| <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
| <tr> | |||
| <td width="70%" height="30"><i class="fa fa-book" aria-hidden="true"></i> <a href="content_sg_list.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 发布分类</td> | |||
| <td width="70%" height="30"><i class="fa fa-book"></i> <a href="content_sg_list.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 发布分类</td> | |||
| <td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td> | |||
| </tr> | |||
| </table> | |||
| @@ -37,7 +37,7 @@ table{border-collapse:separate} | |||
| <body> | |||
| <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
| <tr> | |||
| <td width="70%" height="30"><i class="fa fa-book" aria-hidden="true"></i> <a href="content_sg_list.php?cid=<?php echo $addRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 修改分类</td> | |||
| <td width="70%" height="30"><i class="fa fa-book"></i> <a href="content_sg_list.php?cid=<?php echo $addRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 修改分类</td> | |||
| <td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td> | |||
| </tr> | |||
| </table> | |||
| @@ -75,16 +75,16 @@ table{border-collapse:separate} | |||
| <tr> | |||
| <td width="90"> 自定义属性:</td> | |||
| <td> | |||
| <?php | |||
| $dsql->SetQuery("SELECT * FROM `#@__arcatt` WHERE att<>'j' AND att<>'p' ORDER BY sortid ASC"); | |||
| $dsql->Execute(); | |||
| while($trow = $dsql->GetObject()) | |||
| { | |||
| if(preg_match("#".$trow->att."#", $addRow['flag'])) | |||
| echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label> "; | |||
| else | |||
| echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> "; | |||
| } | |||
| <?php | |||
| $dsql->SetQuery("SELECT * FROM `#@__arcatt` WHERE att<>'j' AND att<>'p' ORDER BY sortid ASC"); | |||
| $dsql->Execute(); | |||
| while($trow = $dsql->GetObject()) | |||
| { | |||
| if(preg_match("#".$trow->att."#", $addRow['flag'])) | |||
| echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label> "; | |||
| else | |||
| echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> "; | |||
| } | |||
| ?> | |||
| </td> | |||
| </tr> | |||
| @@ -43,14 +43,14 @@ table{border-collapse:separate} | |||
| <body> | |||
| <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
| <tr> | |||
| <td width="60%" height="30"><i class="fa fa-book" aria-hidden="true"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文章列表</a> > 发布文章</td> | |||
| <td width="60%" height="30"><i class="fa fa-book"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文章列表</a> > 发布文章</td> | |||
| <td width="30%" align="right"><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td> | |||
| </tr> | |||
| </table> | |||
| <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1"> | |||
| <tr> | |||
| <td colspan="2"> | |||
| <table width="800" border="0" cellpadding="0" cellspacing="0"> | |||
| <table width="900" border="0" cellpadding="0" cellspacing="0"> | |||
| <tr> | |||
| <td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规信息</td> | |||
| <td><a href="javascript:;" class="btn btn-success btn-sm" onClick="ShowHide('getone')">单页采集</a></td> | |||
| @@ -67,7 +67,7 @@ table{border-collapse:separate} | |||
| <td colspan="2"> | |||
| <table width="100%" border="0" cellpadding="0" cellspacing="0"> | |||
| <tr> | |||
| <td width="160" height="30"><a name="downurl"></a>采集单个网页:</td> | |||
| <td width="260" height="30"><a name="downurl"></a>采集单个网页:</td> | |||
| <td width="360" align="center"><input name="geturl" type="text" id="geturl" style="width:260px" value="<?php echo $geturl; ?>"></td> | |||
| <td> | |||
| <button type="submit" class='btn btn-success btn-sm' name="Submit3">抓取</button> | |||
| @@ -85,7 +85,7 @@ table{border-collapse:separate} | |||
| <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6;background:#ffffff"> | |||
| <tr> | |||
| <td height="26" colspan="5" class="bline"> | |||
| <table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" 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> | |||
| @@ -97,7 +97,7 @@ table{border-collapse:separate} | |||
| </tr> | |||
| <tr> | |||
| <td height="26" colspan="5" class="bline"> | |||
| <table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 自定义属性:</td> | |||
| <td align="left"> | |||
| @@ -119,7 +119,7 @@ table{border-collapse:separate} | |||
| </tr> | |||
| <tr> | |||
| <td height="26" colspan="5" class="bline" id="redirecturltr" style="display:none"> | |||
| <table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 跳转网址:</td> | |||
| <td><input name="redirecturl" type="text" id="redirecturl" value="" style="width:300px"></td> | |||
| @@ -129,7 +129,7 @@ table{border-collapse:separate} | |||
| </tr> | |||
| <tr> | |||
| <td width="400%" height="26" colspan="2" class="bline"> | |||
| <table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" 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> | |||
| @@ -141,7 +141,7 @@ table{border-collapse:separate} | |||
| </tr> | |||
| <tr id="pictable"> | |||
| <td height="26" colspan="5" class="bline"> | |||
| <table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 缩略图:</td> | |||
| <td> | |||
| @@ -151,17 +151,17 @@ table{border-collapse:separate} | |||
| <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> | |||
| </td> | |||
| <td width="160" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="height:80px"></td> | |||
| <td width="260" align="center"><img id="litPic" src="../static/web/img/defaultpic.jpg" style="height:80px"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <td height="26" colspan="5" class="bline"> | |||
| <table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 来源:</td> | |||
| <td width="250"> | |||
| <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> | |||
| </td> | |||
| @@ -176,18 +176,18 @@ table{border-collapse:separate} | |||
| </tr> | |||
| <tr> | |||
| <td height="26" colspan="5" class="bline"> | |||
| <table width="600" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 发布栏目:</td> | |||
| <td> | |||
| <td width="360"> | |||
| <span id="typeidct"> | |||
| <?php | |||
| $typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); | |||
| echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
| echo "<option value='0'>请选择栏目</option>"; | |||
| echo $typeOptions; | |||
| echo "</select>"; | |||
| ?> | |||
| <?php | |||
| $typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); | |||
| echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
| echo "<option value='0'>请选择栏目</option>"; | |||
| echo $typeOptions; | |||
| echo "</select>"; | |||
| ?> | |||
| </span> | |||
| <img src="../static/web/img/menusearch.gif" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title="快捷选择"> | |||
| <?php | |||
| @@ -198,14 +198,14 @@ table{border-collapse:separate} | |||
| ?> | |||
| </td> | |||
| <td width="90">消费金币:</td> | |||
| <td><input name="money" type="text" id="money" value="0" style="width:120px"></td> | |||
| <td><input name="money" type="text" id="money" value="0" style="width:160px"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| </tr> | |||
| <tr id="typeid2tr" style="display:none"> | |||
| <td height="26" colspan="5" class="bline"> | |||
| <table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 副栏目:</td> | |||
| <td> | |||
| @@ -219,7 +219,7 @@ table{border-collapse:separate} | |||
| </tr> | |||
| <tr> | |||
| <td height="26" colspan="5" class="bline"> | |||
| <table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 关键词:</td> | |||
| <td> | |||
| @@ -235,7 +235,7 @@ table{border-collapse:separate} | |||
| </tr> | |||
| <tr> | |||
| <td height="26" colspan="5" class="bline"> | |||
| <table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 描述:</td> | |||
| <td><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $description; ?></textarea></td> | |||
| @@ -248,7 +248,7 @@ table{border-collapse:separate} | |||
| </tr> | |||
| <tr> | |||
| <td width="100%" height="26" colspan="2" class="bline"> | |||
| <table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 附加选项:</td> | |||
| <td> | |||
| @@ -264,7 +264,7 @@ table{border-collapse:separate} | |||
| </tr> | |||
| <tr> | |||
| <td width="100%" height="26" colspan="2" class="bline"> | |||
| <table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 分页方式:</td> | |||
| <td> | |||
| @@ -282,7 +282,7 @@ table{border-collapse:separate} | |||
| GetEditor("body",$body,450); | |||
| ?> | |||
| </td> | |||
| <td width="250" align="center" bgcolor="#FFFFCC" id="mPic" style="display:none"></td> | |||
| <td width="260" align="center" bgcolor="#FFFFCC" id="mPic" style="display:none"></td> | |||
| </tr> | |||
| </table> | |||
| <!--高级参数--> | |||
| @@ -300,15 +300,15 @@ table{border-collapse:separate} | |||
| <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #dee2e6;background:#ffffff"> | |||
| <tr> | |||
| <td height="26" colspan="4" class="bline"> | |||
| <table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90" height="26"> 评论选项:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <label><input type="radio" name="notpost" class="np" value="0" <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?>> 允许评论 </label> | |||
| <label><input type="radio" name="notpost" class="np" value="1" <?php if($cfg_feedback_forbid=='Y') echo "checked='1' "; ?>> 禁止评论 </label> | |||
| </td> | |||
| <td width="90">发布选项:</td> | |||
| <td width="380"> | |||
| <td> | |||
| <label><input name="ishtml" type="radio" class="np" value="1" checked="1"> 生成HTML </label> | |||
| <label><input type="radio" name="ishtml" class="np" value="0"> 仅动态浏览</label> | |||
| </td> | |||
| @@ -318,10 +318,10 @@ table{border-collapse:separate} | |||
| </tr> | |||
| <tr> | |||
| <td height="26" colspan="4" class="bline"> | |||
| <table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90" height="26"> 文章排序:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <select name="sortup" id="sortup" style="width:160px"> | |||
| <option value="0" selected>默认排序</option> | |||
| <option value="7">置顶一周</option> | |||
| @@ -332,7 +332,7 @@ table{border-collapse:separate} | |||
| </select> </td> | |||
| <td width="90">标题颜色:</td> | |||
| <td> | |||
| <input name="color" type="text" id="color" style="width:120px"> | |||
| <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> | |||
| </td> | |||
| </tr> | |||
| @@ -341,10 +341,10 @@ table{border-collapse:separate} | |||
| </tr> | |||
| <tr> | |||
| <td height="26" colspan="4" class="bline"> | |||
| <table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 阅读权限:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <select name="arcrank" id="arcrank" style="width:160px"> | |||
| <?php | |||
| $urank = $cuserLogin->getUserRank(); | |||
| @@ -358,7 +358,7 @@ table{border-collapse:separate} | |||
| </select> | |||
| </td> | |||
| <td width="90">文件名称:</td> | |||
| <td><input type="text" name="filename" id="filename" style="width:120px">(不包括后缀名如.html等)</td> | |||
| <td><input type="text" name="filename" id="filename" style="width:160px">(不包括后缀名如.html等)</td> | |||
| <td> | |||
| <?php | |||
| if(isset($cfg_tamplate_rand) && $cfg_tamplate_rand==1) | |||
| @@ -387,17 +387,17 @@ table{border-collapse:separate} | |||
| </tr> | |||
| <tr> | |||
| <td height="26" colspan="4" class="bline"> | |||
| <table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 发布时间:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <?php | |||
| $nowtime = GetDateTimeMk(time()); | |||
| echo "<input type='text' name='pubdate' value='$nowtime'id='pubdate' class='datepicker' style='width:160px'>"; | |||
| ?> | |||
| </td> | |||
| <td width="90">浏览次数:</td> | |||
| <td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50, 200) : $cfg_arc_click); ?>" style="width:120px"></td> | |||
| <td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50, 200) : $cfg_arc_click); ?>" style="width:160px"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -41,7 +41,7 @@ table{border-collapse:separate} | |||
| <body> | |||
| <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
| <tr> | |||
| <td width="60%" height="30"><i class="fa fa-book" aria-hidden="true"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文章列表</a> > 修改文章</td> | |||
| <td width="60%" height="30"><i class="fa fa-book"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文章列表</a> > 修改文章</td> | |||
| <td width="30%" align="right"><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td> | |||
| </tr> | |||
| </table> | |||
| @@ -162,7 +162,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 来源:</td> | |||
| <td width="250"> | |||
| <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> | |||
| </td> | |||
| @@ -177,10 +177,10 @@ table{border-collapse:separate} | |||
| </tr> | |||
| <tr> | |||
| <td height="26" colspan="2" class="bline"> | |||
| <table width="570" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 发布栏目:</td> | |||
| <td> | |||
| <td width="360"> | |||
| <?php | |||
| $typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
| echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
| @@ -191,7 +191,7 @@ table{border-collapse:separate} | |||
| <img src="../static/web/img/menusearch.gif" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title="快捷选择" style="cursor:pointer"> | |||
| </td> | |||
| <td width="90">消费金币:</td> | |||
| <td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" style="width:120px"></td> | |||
| <td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -258,7 +258,7 @@ table{border-collapse:separate} | |||
| </tr> | |||
| <tr> | |||
| <td width="100%"><?php GetEditor("body",stripcslashes($addRow['body']),450); ?></td> | |||
| <td width="250" align="center" bgcolor="#FFFFCC" id="mPic" style="display:none"></td> | |||
| <td width="260" align="center" bgcolor="#FFFFCC" id="mPic" style="display:none"></td> | |||
| </tr> | |||
| </table> | |||
| <!--高级参数--> | |||
| @@ -268,7 +268,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90" height="26"> 评论选项:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <label><input type="radio" name="notpost" class="np" value="0" <?php if($arcRow['notpost']==0) echo " checked='1' "; ?>> 允许评论 </label> | |||
| <label><input type="radio" name="notpost" class="np" value="1" <?php if($arcRow['notpost']==1) echo " checked='1' "; ?>> 禁止评论</label> | |||
| </td> | |||
| @@ -286,7 +286,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 文章排序:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <select name="sortup" id="sortup" style="width:160px"> | |||
| <?php | |||
| $subday = SubDay($arcRow["sortrank"],$arcRow["pubdate"]); | |||
| @@ -302,7 +302,7 @@ table{border-collapse:separate} | |||
| </td> | |||
| <td width="90">标题颜色:</td> | |||
| <td> | |||
| <input name="color" type="text" id="color" value="<?php echo $arcRow['color']?>" style="width:120px"> | |||
| <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> | |||
| </td> | |||
| </tr> | |||
| @@ -314,7 +314,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 阅读权限:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <select name="arcrank" id="arcrank" style="width:160px"> | |||
| <option value='<?php echo $arcRow["arcrank"]?>'> <?php echo $arcRow["rankname"]?> </option> | |||
| <?php | |||
| @@ -328,14 +328,14 @@ table{border-collapse:separate} | |||
| </select> | |||
| </td> | |||
| <td width="90">文件名称:</td> | |||
| <td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" style="width:120px">(不包括后缀名如.html等)</td> | |||
| <td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" style="width:160px">(不包括后缀名如.html等)</td> | |||
| <td> | |||
| <?php | |||
| if(isset($cfg_tamplate_rand) && $cfg_tamplate_rand==1) | |||
| { | |||
| ?> | |||
| 模板选择: | |||
| <select name="templet" id="templet" style="width:120px"> | |||
| <select name="templet" id="templet" style="width:160px"> | |||
| <?php | |||
| foreach($cfg_tamplate_arr as $k=>$v) | |||
| { | |||
| @@ -359,13 +359,13 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 更新时间:</td> | |||
| <td width="250"><?php | |||
| <td width="260"><?php | |||
| $nowtime = GetDateTimeMk(time()); | |||
| echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker' style='width:160px'>"; | |||
| ?> | |||
| </td> | |||
| <td width="90">浏览次数:</td> | |||
| <td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:120px"></td> | |||
| <td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:160px"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -86,7 +86,7 @@ function AddNewKw() | |||
| <td height="26" bgcolor="#E4FAC7" style="line-height:180%"> | |||
| <table border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
| <tr> | |||
| <td width="120">已选的关键词:</td> | |||
| <td width="260">已选的关键词:</td> | |||
| <td width="320"><input name="keywords" type="text" id="keywords" style="width:300px" value="<?php echo $keywords?>"></td> | |||
| <td width="93"><button type="button" class="btn btn-success btn-sm" name="Submit" onClick="ReturnValue()"> 选用 </button></td> | |||
| </tr> | |||
| @@ -118,7 +118,7 @@ function CheckCross() { | |||
| <td width="100%" height="26"> | |||
| <table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td height="30"><i class="fa fa-book" aria-hidden="true"></i> <a href="catalog_main.php">栏目管理</a> > 增加栏目</td> | |||
| <td height="30"><i class="fa fa-book"></i> <a href="catalog_main.php">栏目管理</a> > 增加栏目</td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -183,14 +183,14 @@ function CheckCross() { | |||
| </table> | |||
| <table width="100%" border="0" id="needset" cellspacing="0" cellpadding="0" style="border:1px solid #dee2e6" class="table"> | |||
| <tr> | |||
| <td width="160" class="bline" height="26" style="padding-left:10px">是否支持投稿:</td> | |||
| <td width="260" class="bline" height="26" style="padding-left:10px">是否支持投稿:</td> | |||
| <td class="bline"> | |||
| <label><input type='radio' name='issend' value='0' class='np' <?php if($issend==0) echo " checked='checked' "; ?>> 不支持 </label> | |||
| <label><input type='radio' name='issend' value='1' class='np' <?php if($issend==1) echo " checked='checked' "; ?>> 支持</label> | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <td width="160" class="bline" height="26" style="padding-left:10px">是否隐藏栏目:</td> | |||
| <td width="260" class="bline" height="26" style="padding-left:10px">是否隐藏栏目:</td> | |||
| <td class="bline"> | |||
| <label><input type='radio' name='ishidden' value='0' class='np' checked="checked"> 显示 </label> | |||
| <label><input type='radio' name='ishidden' value='1' class='np'> 隐藏</label> | |||
| @@ -380,7 +380,7 @@ function CheckCross() { | |||
| { | |||
| ?> | |||
| <tr> | |||
| <td class="bline" width="160" height="26" style="padding-left:10px">多站点支持:</td> | |||
| <td class="bline" width="260" height="26" style="padding-left:10px">多站点支持:</td> | |||
| <td class="bline"> | |||
| <label><input name="moresite" type="radio" class="np" value="0" checked="checked"> 不启用 </label> | |||
| <label><input type="radio" name="moresite" class="np" value="1"> 启用</label> | |||
| @@ -86,7 +86,7 @@ | |||
| <td width="100%" height="26"> | |||
| <table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td height="30"><img height='14' src='../static/web/img/book1.gif' width='20' /> <a href="catalog_main.php">栏目管理</a> > 批量增加栏目</td> | |||
| <td height="30"><i class="fa fa-book"></i> <a href="catalog_main.php">栏目管理</a> > 批量增加栏目</td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -118,7 +118,7 @@ | |||
| <td bgcolor="#f8f8f8"></td> | |||
| </tr> | |||
| <tr> | |||
| <td width="160" class="bline" height="26" style="padding-left:10px">是否支持投稿:</td> | |||
| <td width="260" class="bline" height="26" style="padding-left:10px">是否支持投稿:</td> | |||
| <td class="bline"> | |||
| <label><input type='radio' name='issend' value='0' class='np' /> | |||
| 不支持</label> | |||
| @@ -108,7 +108,7 @@ function CheckCross() { | |||
| <td width="100%" height="26"> | |||
| <table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td height="30"><i class="fa fa-book" aria-hidden="true"></i> <a href="catalog_main.php">栏目管理</a> > 修改栏目</td> | |||
| <td height="30"><i class="fa fa-book"></i> <a href="catalog_main.php">栏目管理</a> > 修改栏目</td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -165,14 +165,14 @@ function CheckCross() { | |||
| </table> | |||
| <table width="100%" border="0" id="needset" cellspacing="0" cellpadding="0" style="border:1px solid #dee2e6" class="table"> | |||
| <tr> | |||
| <td width="160" class="bline" height="26" style="padding-left:10px">是否支持投稿:</td> | |||
| <td width="260" class="bline" height="26" style="padding-left:10px">是否支持投稿:</td> | |||
| <td class="bline"> | |||
| <label><input type='radio' name='issend' value='0' class='np' <?php if($myrow['issend']=="0") echo " checked='1' "; ?>> 不支持 </label> | |||
| <label><input type='radio' name='issend' value='1' class='np' <?php if($myrow['issend']=="1") echo " checked='1' "; ?>> 支持</label> | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <td width="160" class="bline" height="26" style="padding-left:10px">是否隐藏栏目:</td> | |||
| <td width="260" class="bline" height="26" style="padding-left:10px">是否隐藏栏目:</td> | |||
| <td class="bline"> | |||
| <label><input type='radio' name='ishidden' value='0' class='np' <?php if($myrow['ishidden']=="0") echo " checked='1' "; ?>> 显示 </label> | |||
| <label><input type='radio' name='ishidden' value='1' class='np' <?php if($myrow['ishidden']=="1") echo " checked='1' "; ?>> 隐藏</label> | |||
| @@ -316,7 +316,7 @@ function CheckCross() { | |||
| </table> | |||
| <table width="100%" border="0" cellspacing="0" cellpadding="0" style="display:none;border:1px solid #dee2e6" id="adset" class="table"> | |||
| <tr> | |||
| <td class="bline" width="160" height="26" style="padding-left:10px">多站点支持:</td> | |||
| <td class="bline" width="260" height="26" style="padding-left:10px">多站点支持:</td> | |||
| <td class="bline"> | |||
| <label><input name="moresite" type="radio" class="np" value="0" <?php if($myrow['moresite']==0) echo " checked='1' "; ?>> 不启用 </label> | |||
| <label><input type="radio" name="moresite" class="np" value="1" <?php if($myrow['moresite']==1) echo " checked='1' "; ?>> 启用</label> | |||
| @@ -99,11 +99,11 @@ | |||
| </td> | |||
| </tr> | |||
| <tr id='seltimeField' style='display:none' height='26'> | |||
| <td width="250">开始: | |||
| <td width="260">开始: | |||
| <?php $nowtime = GetDateTimeMk(time()-(24*3600*30)); ?> | |||
| <input name="starttime" value="<?php echo $nowtime; ?>" type="text" id="starttime" class="datepicker"> | |||
| </td> | |||
| <td width="250">结束: | |||
| <td width="260">结束: | |||
| <?php $nowtime = GetDateTimeMk(time()); ?> | |||
| <input name="endtime" value="<?php echo $nowtime; ?>" type="text" id="endtime" class="datepicker"> | |||
| </td> | |||
| @@ -19,7 +19,7 @@ | |||
| <input type="hidden" name="id" value="<?php echo $row['id']; ?>"> | |||
| <table width="100%" border="0" cellpadding="3" cellspacing="1" class="table table-borderless"> | |||
| <tr> | |||
| <td width="120" height="26">评论所属文章:</td> | |||
| <td width="260" height="26">评论所属文章:</td> | |||
| <td> | |||
| <?php echo RemoveXSS($row['arctitle']); ?> | |||
| </td> | |||
| @@ -90,8 +90,8 @@ | |||
| {dede:datalist empty='<tr><td><center>暂无内容</center></td></tr>'} | |||
| <tr> | |||
| <td style="padding:0"> | |||
| <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#EEF7D2" class="table table-borderless"> | |||
| <tr bgcolor="#F4FAE4"> | |||
| <table width="100%" border="0" cellpadding="0" cellspacing="1" class="table table-borderless"> | |||
| <tr> | |||
| <td width="9%">选择 <input name="fid" type="checkbox" class="np" id="fid" value="{dede:field.id/}"></td> | |||
| <td width="12%">用户:{dede:field.username/}</td> | |||
| <td width="20%"> | |||
| @@ -44,7 +44,7 @@ | |||
| <input type="hidden" name="userid" value="<?php echo $row['userid']?>"> | |||
| <input type="hidden" name="id" value="<?php echo $id?>"> | |||
| <tr> | |||
| <td width="120" class="bline">用户名:</td> | |||
| <td width="260" class="bline">用户名:</td> | |||
| <td class="bline" height="26" class="bline"> | |||
| <?php | |||
| echo "".$row['userid'].""; | |||
| @@ -246,7 +246,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:120px"></td> | |||
| <td><input name="dfcid" type="text" id="dfcid" value="<?php echo $row['dfcid']; ?>" class="pubinputs" style="width:160px"></td> | |||
| </tr> | |||
| <tr> | |||
| <td>投稿具有唯一性<br> | |||
| @@ -58,7 +58,7 @@ table{border-collapse:separate} | |||
| <input type="hidden" name="cid" value="<?php echo $cid; ?>"> | |||
| <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
| <tr> | |||
| <td width="60%" height="30"><i class="fa fa-book" aria-hidden="true"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">软件列表</a> > 发布软件</td> | |||
| <td width="60%" height="30"><i class="fa fa-book"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">软件列表</a> > 发布软件</td> | |||
| <td align="right"><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a><a href="soft_config.php" class="btn btn-success btn-sm">下载频道参数设定</a></td> | |||
| </tr> | |||
| </table> | |||
| @@ -163,7 +163,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 来源:</td> | |||
| <td width="250"> | |||
| <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> | |||
| </td> | |||
| @@ -178,10 +178,10 @@ table{border-collapse:separate} | |||
| </tr> | |||
| <tr> | |||
| <td height="26" class="bline"> | |||
| <table width="600" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 发布栏目:</td> | |||
| <td> | |||
| <td width="360"> | |||
| <span id='typeidct'> | |||
| <?php | |||
| $typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); | |||
| @@ -200,7 +200,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:120px"></td> | |||
| <td><input name="needmoney" type="text" id="needmoney" value="<?php echo $softconfig['dfywboy']; ?>" style="width:160px"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -251,7 +251,7 @@ table{border-collapse:separate} | |||
| <tr> | |||
| <td width="90"> 文件类型:</td> | |||
| <td> | |||
| <select name="filetype" id="filetype" style="width:120px"> | |||
| <select name="filetype" id="filetype" style="width:160px"> | |||
| <option value=".exe" selected>.exe</option> | |||
| <option value=".zip">.zip</option> | |||
| <option value=".rar">.rar</option> | |||
| @@ -261,7 +261,7 @@ table{border-collapse:separate} | |||
| </select> | |||
| </td> | |||
| <td width="90">软件等级:</td> | |||
| <td><select name="softrank" id="softrank" style="width:120px"> | |||
| <td><select name="softrank" id="softrank" style="width:160px"> | |||
| <option value="1">一星</option> | |||
| <option value="2">二星</option> | |||
| <option value="3" selected>三星 </option> | |||
| @@ -271,7 +271,7 @@ table{border-collapse:separate} | |||
| </td> | |||
| <td width="90"> 软件属性:</td> | |||
| <td> | |||
| <select name="softtype" id="softtype" style="width:120px"> | |||
| <select name="softtype" id="softtype" style="width:160px"> | |||
| <option value="国产软件" selected>国产软件</option> | |||
| <option value="国外软件">国外软件</option> | |||
| <option value="汉化补丁">汉化补丁</option> | |||
| @@ -279,7 +279,7 @@ table{border-collapse:separate} | |||
| </td> | |||
| <td width="90">界面语言:</td> | |||
| <td> | |||
| <select name="language" id="language" style="width:120px"> | |||
| <select name="language" id="language" style="width:160px"> | |||
| <option value="简体中文" selected>简体中文</option> | |||
| <option value="英文软件">英文软件</option> | |||
| <option value="繁体中文">繁体中文</option> | |||
| @@ -288,7 +288,7 @@ table{border-collapse:separate} | |||
| </td> | |||
| <td width="90">授权方式:</td> | |||
| <td> | |||
| <select name="accredit" id="accredit" style="width:120px"> | |||
| <select name="accredit" id="accredit" style="width:160px"> | |||
| <option value="共享软件" selected>共享软件</option> | |||
| <option value="免费软件">免费软件</option> | |||
| <option value="开源软件">开源软件</option> | |||
| @@ -461,8 +461,8 @@ table{border-collapse:separate} | |||
| <td height="26" colspan="4" class="bline"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90" height="26" width="250"> 评论选项:</td> | |||
| <td width="250"> | |||
| <td width="90" height="26" width="260"> 评论选项:</td> | |||
| <td width="260"> | |||
| <label><input type='radio' name='notpost' class='np' value='0' <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?> /> 允许评论</label> | |||
|   | |||
| <label><input type='radio' name='notpost' class='np' value='1' <?php if($cfg_feedback_forbid=='Y') echo "checked='1' "; ?> /> 禁止评论</label> | |||
| @@ -483,7 +483,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90" height="26"> 文章排序:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <select name="sortup" id="sortup" style="width:160px"> | |||
| <option value="0" selected>默认排序</option> | |||
| <option value="7">置顶一周</option> | |||
| @@ -495,7 +495,7 @@ table{border-collapse:separate} | |||
| </td> | |||
| <td width="90">标题颜色:</td> | |||
| <td> | |||
| <input name="color" type="text" id="color" style="width:120px"> | |||
| <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> | |||
| </td> | |||
| </tr> | |||
| @@ -507,14 +507,14 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 阅读权限:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <select name="arcrank" id="arcrank" style="width:160px"> | |||
| <option value='0'>已审核状态</option> | |||
| <option value='-1'>未审核状态</option> | |||
| </select> | |||
| </td> | |||
| <td width="90">文件名称:</td> | |||
| <td><input type="text" name="filename" id="filename" style="width:120px">(不包括后缀名如.html等)</td> | |||
| <td><input type="text" name="filename" id="filename" style="width:160px">(不包括后缀名如.html等)</td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -524,14 +524,14 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 发布时间:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <?php | |||
| $nowtime = GetDateTimeMk(time()); | |||
| echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker' style='width:160px'>"; | |||
| ?> | |||
| </td> | |||
| <td width="90">浏览次数:</td> | |||
| <td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50,200):$cfg_arc_click); ?>" style="width:120px"></td> | |||
| <td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50,200):$cfg_arc_click); ?>" style="width:160px"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -52,7 +52,7 @@ table{border-collapse:separate} | |||
| <input type="hidden" name="id" value="<?php echo $aid?>"> | |||
| <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
| <tr> | |||
| <td width="85%" height="30"><i class="fa fa-book" aria-hidden="true"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives"></a><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">软件列表</a> > 修改软件</td> | |||
| <td width="85%" height="30"><i class="fa fa-book"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives"></a><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">软件列表</a> > 修改软件</td> | |||
| <td align="right">  <a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td> | |||
| </tr> | |||
| </table> | |||
| @@ -163,7 +163,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 来源:</td> | |||
| <td width="250"> | |||
| <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> | |||
| </td> | |||
| @@ -178,10 +178,10 @@ table{border-collapse:separate} | |||
| </tr> | |||
| <tr> | |||
| <td height="26" colspan="4" class="bline"> | |||
| <table width="570" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 发布栏目:</td> | |||
| <td> | |||
| <td width="360"> | |||
| <?php | |||
| $typeOptions = GetOptionList($arcRow["typeid"],$cuserLogin->getUserChannel(),$channelid); | |||
| echo "<select name='typeid' id='typeid' style='width:160px'>"; | |||
| @@ -242,7 +242,7 @@ table{border-collapse:separate} | |||
| <tr> | |||
| <td width="90"> 文件类型:</td> | |||
| <td> | |||
| <select name="filetype" id="filetype" style="width:120px"> | |||
| <select name="filetype" id="filetype" style="width:160px"> | |||
| <?php | |||
| if($addRow["filetype"]!="") echo "<option value=\"".$addRow["filetype"]."\">".$addRow['filetype']."</option>"; | |||
| ?> | |||
| @@ -254,7 +254,7 @@ table{border-collapse:separate} | |||
| <option value="其它">其它</option> | |||
| </select></td> | |||
| <td width="90">软件等级:</td> | |||
| <td><select name="softrank" id="softrank" style="width:120px"> | |||
| <td><select name="softrank" id="softrank" style="width:160px"> | |||
| <?php | |||
| if($addRow["softrank"]!="") echo "<option value=\"".$addRow["softrank"]."\">".$addRow['softrank']."星</option>"; | |||
| ?> | |||
| @@ -267,7 +267,7 @@ table{border-collapse:separate} | |||
| </td> | |||
| <td width="90"> 软件类型:</td> | |||
| <td> | |||
| <select name="softtype" id="softtype" style="width:120px"> | |||
| <select name="softtype" id="softtype" style="width:160px"> | |||
| <?php | |||
| if($addRow["softtype"]!="") echo "<option value=\"".$addRow["softtype"]."\">".$addRow['softtype']."</option>"; | |||
| ?> | |||
| @@ -278,7 +278,7 @@ table{border-collapse:separate} | |||
| </td> | |||
| <td width="90">界面语言:</td> | |||
| <td> | |||
| <select name="language" id="language" style="width:120px"> | |||
| <select name="language" id="language" style="width:160px"> | |||
| <?php | |||
| if($addRow["language"]!="") echo "<option value=\"".$addRow["language"]."\">".$addRow['language']."</option>"; | |||
| ?> | |||
| @@ -290,7 +290,7 @@ table{border-collapse:separate} | |||
| </td> | |||
| <td width="90">授权方式:</td> | |||
| <td> | |||
| <select name="accredit" id="accredit" style="width:120px"> | |||
| <select name="accredit" id="accredit" style="width:160px"> | |||
| <?php | |||
| if($addRow["accredit"]!="") echo "<option value=\"".$addRow["accredit"]."\">".$addRow['accredit']."</option>"; | |||
| ?> | |||
| @@ -413,8 +413,8 @@ table{border-collapse:separate} | |||
| <td height="26" colspan="4" class="bline"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90" height="26" width="250"> 评论选项:</td> | |||
| <td width="250"> | |||
| <td width="90" height="26" width="260"> 评论选项:</td> | |||
| <td width="260"> | |||
| <label><input type='radio' name='notpost' class='np' value='0' <?php if($arcRow['notpost']==0) echo " checked='1' "; ?> /> 允许评论 </label> | |||
|   | |||
| <label><input type='radio' name='notpost' class='np' value='1' <?php if($arcRow['notpost']==1) echo " checked='1' "; ?> /> 禁止评论 </label> | |||
| @@ -435,7 +435,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 文章排序:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <select name="sortup" id="sortup" style="width:160px"> | |||
| <?php | |||
| $subday = SubDay($arcRow["sortrank"],$arcRow["pubdate"]); | |||
| @@ -450,7 +450,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:120px"> | |||
| <input name="color" type="text" 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> | |||
| @@ -462,7 +462,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 阅读权限:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <select name="arcrank" id="arcrank" style="width:160px"> | |||
| <option value='<?php echo $arcRow["arcrank"]; ?>'><?php echo ($arcRow["arcrank"]==0 ? '已审核状态' : $arcRow["rankname"]); ?></option> | |||
| <option value='0'>已审核状态</option> | |||
| @@ -470,7 +470,7 @@ table{border-collapse:separate} | |||
| </select> | |||
| </td> | |||
| <td width="90"> 文件名称:</td> | |||
| <td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" style="width:120px">(不包括后缀名如.html等)</td> | |||
| <td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" style="width:160px">(不包括后缀名如.html等)</td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -480,14 +480,14 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 更新时间:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <?php | |||
| $nowtime = GetDateTimeMk($arcRow["pubdate"]); | |||
| echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker' style='width:160px'>"; | |||
| ?> | |||
| </td> | |||
| <td width="90">浏览次数:</td> | |||
| <td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:120px"></td> | |||
| <td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:160px"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -68,7 +68,7 @@ table{border-collapse:separate} | |||
| <input type="hidden" name="source" value="本站"> | |||
| <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
| <tr> | |||
| <td width="85%" height="30"><i class="fa fa-book" aria-hidden="true"></i> <a href="content_s_list.php">专题列表</a><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"></a> > 发布专题</td> | |||
| <td width="85%" height="30"><i class="fa fa-book"></i> <a href="content_s_list.php">专题列表</a><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"></a> > 发布专题</td> | |||
| <td width="10%" align="right"> <a href="makehtml_spec.php" class="btn btn-success btn-sm">更新HTML</a></td> | |||
| </tr> | |||
| </table> | |||
| @@ -161,7 +161,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90" height="26"> 内容排序:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <select name="sortup" id="sortup" style="width:160px"> | |||
| <option value="0" selected>默认排序</option> | |||
| <option value="7">置顶一周</option> | |||
| @@ -172,7 +172,7 @@ table{border-collapse:separate} | |||
| </select> | |||
| </td> | |||
| <td width="90">标题颜色:</td> | |||
| <td width="130"><input name="color" type="text" id="color" style="width:120px"></td> | |||
| <td width="130"><input name="color" type="text" id="color" style="width:160px"></td> | |||
| <td><button name="modcolor" type="button" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button></td> | |||
| </tr> | |||
| </table> | |||
| @@ -225,8 +225,8 @@ table{border-collapse:separate} | |||
| <td height="26" colspan="4" class="bline"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90" height="26" width="250"> 评论选项:</td> | |||
| <td width="250"> | |||
| <td width="90" height="26" width="260"> 评论选项:</td> | |||
| <td width="260"> | |||
| <label><input type='radio' name='notpost' class='np' value='0' <?php if($cfg_feedback_forbid=='N') echo "checked='1' "; ?> /> | |||
| 允许评论 </label> | |||
|   | |||
| @@ -249,12 +249,12 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 专题模板:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <input name="templet" type="text" 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> | |||
| <td><input type="text" name="filename" id="filename" style="width:120px">(不包括后缀名如.html等)</td> | |||
| <td><input type="text" name="filename" id="filename" style="width:160px">(不包括后缀名如.html等)</td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -264,13 +264,13 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 发布时间:</td> | |||
| <td width="250"><?php | |||
| <td width="260"><?php | |||
| $nowtime = GetDateTimeMk(time()); | |||
| echo "<input name='pubdate' value='$nowtime' type='text' id='pubdate' class='datepicker' style='width:160px'>"; | |||
| ?> | |||
| </td> | |||
| <td width="90">浏览次数:</td> | |||
| <td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50,200):$cfg_arc_click); ?>" style="width:120px"></td> | |||
| <td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50,200):$cfg_arc_click); ?>" style="width:160px"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -306,7 +306,7 @@ table{border-collapse:separate} | |||
| <tr bgcolor="#FBFCE2"> | |||
| <td width="113">节点 <?php echo $i?> 名称:</td> | |||
| <td colspan="2"> | |||
| <table width="600" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" 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="90" align="center">节点标识:</td> | |||
| @@ -66,7 +66,7 @@ table{border-collapse:separate} | |||
| <input type="hidden" name="dopost" value="save"> | |||
| <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
| <tr> | |||
| <td width="85%" height="30"><i class="fa fa-book" aria-hidden="true"></i> <a href="content_s_list.php">专题列表</a><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"></a> > 修改专题</td> | |||
| <td width="85%" height="30"><i class="fa fa-book"></i> <a href="content_s_list.php">专题列表</a><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"></a> > 修改专题</td> | |||
| <td width="10%" align="right"><a href="makehtml_spec.php" class="btn btn-success btn-sm">更新HTML</a></td> | |||
| </tr> | |||
| </table> | |||
| @@ -162,7 +162,7 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 内容排序:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <select name="sortup" id="sortup" style="width:160px"> | |||
| <?php | |||
| $subday = SubDay($arcRow["sortrank"],$arcRow["senddate"]); | |||
| @@ -177,7 +177,7 @@ table{border-collapse:separate} | |||
| </select> | |||
| </td> | |||
| <td width="90">标题颜色:</td> | |||
| <td width="130"><input name="color" type="text" id="color" style="width:120px" value="<?php echo $arcRow['color']?>"></td> | |||
| <td width="130"><input name="color" type="text" id="color" style="width:160px" value="<?php echo $arcRow['color']?>"></td> | |||
| <td><button name="modcolor" type="button" id="modcolor" value="" onClick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button></td> | |||
| </tr> | |||
| </table> | |||
| @@ -226,8 +226,8 @@ table{border-collapse:separate} | |||
| <td height="26" colspan="4" class="bline"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90" height="26" width="250"> 评论选项:</td> | |||
| <td width="250"> | |||
| <td width="90" height="26" width="260"> 评论选项:</td> | |||
| <td width="260"> | |||
| <label><input type='radio' name='notpost' class='np' value='0' <?php if($arcRow['notpost']==0) echo " checked='1' "; ?> /> 允许评论 </label> | |||
|   | |||
| <label><input type='radio' name='notpost' class='np' value='1' <?php if($arcRow['notpost']==1) echo " checked='1' "; ?> /> 禁止评论 </label> | |||
| @@ -247,12 +247,12 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 专题模板:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <input name="templet" type="text" 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> | |||
| <td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" style="width:120px">(不包括后缀名如.html等)</td> | |||
| <td><input type="text" name="filename" id="filename" value="<?php echo $arcRow['filename']?>" style="width:160px">(不包括后缀名如.html等)</td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -277,14 +277,14 @@ table{border-collapse:separate} | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td width="90"> 更新时间:</td> | |||
| <td width="250"> | |||
| <td width="260"> | |||
| <?php | |||
| $nowtime = GetDateTimeMk($arcRow["pubdate"]); | |||
| echo "<input name='pubdate' value='$nowtime' type='text' id='pubdate' class='datepicker' style='width:160px'>"; | |||
| ?> | |||
| </td> | |||
| <td width="90">浏览次数:</td> | |||
| <td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:120px"></td> | |||
| <td><input type="text" name="click" value="<?php echo $arcRow['click']; ?>" style="width:160px"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| @@ -336,7 +336,7 @@ table{border-collapse:separate} | |||
| <?php echo $i?> | |||
| 名称:</td> | |||
| <td colspan="2"> | |||
| <table width="600" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" 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="90" align="center">节点标识:</td> | |||
| @@ -392,7 +392,7 @@ table{border-collapse:separate} | |||
| <?php echo $i?> | |||
| 名称:</td> | |||
| <td colspan="2"> | |||
| <table width="600" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" 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="90" align="center">节点标识:</td> | |||
| @@ -1,8 +1,8 @@ | |||
| {dede:config.pagesize value="30"/} | |||
| <!DOCtype html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |||
| <html xmlns="http://www.w3.org/1999/xhtml"> | |||
| <head> | |||
| <meta http-equiv="Content-type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
| <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
| <title>联动枚举管理</title> | |||
| <link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
| <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
| @@ -18,88 +18,88 @@ li{float:left;padding-right:10px;line-height:26px} | |||
| <script src="../static/web/js/bootstrap.bundle.min.js"></script> | |||
| <script language='javascript' src='js/main.js'></script> | |||
| <SCRIPT LANGUAGE="JavaScript"> | |||
| var loadhtml = "<center><img src='../static/web/img/loadinglit.gif' style='padding:30px'></center>"; | |||
| var loadhtml = "<center><img src='../static/web/img/loadinglit.gif' style='padding:30px' /></center>"; | |||
| function updateItem(aid) { | |||
| var upenumf = document.getElementById('upenumf'); | |||
| upenumf.emame.value = $DE('emame' + aid).value; | |||
| upenumf.ename.value = $DE('ename' + aid).value; | |||
| upenumf.disorder.value = $DE('disorder' + aid).value; | |||
| upenumf.aid.value = aid; | |||
| upenumf.submit(); | |||
| } | |||
| function GetSeltype() { | |||
| function GetSelType() { | |||
| var selvalue = $DE('egroup1').options[$DE('egroup1').selectedIndex].value; | |||
| return selvalue; | |||
| } | |||
| function Addtype() { | |||
| function AddType() { | |||
| $DE('edsta').style.display = 'block'; | |||
| fetch('stepselect_main.php?action=addnew').then(resp=>{ | |||
| if (resp.ok) { | |||
| return resp.text() | |||
| } | |||
| throw new Error('系统错误,无法获取数据'); | |||
| }).then((d)=>{ | |||
| $DE('edsta').innerHTML = d; | |||
| }).catch((error) => { | |||
| $DE('edsta').innerHTML = errMsg; | |||
| }); | |||
| if (resp.ok) { | |||
| return resp.text() | |||
| } | |||
| throw new Error('系统错误,无法获取数据'); | |||
| }).then((d)=>{ | |||
| $DE('edsta').innerHTML = d; | |||
| }).catch((error) => { | |||
| $DE('edsta').innerHTML = errMsg; | |||
| }); | |||
| } | |||
| function AddEnum() { | |||
| var id = GetSeltype(); | |||
| var id = GetSelType(); | |||
| if (id == 0) { | |||
| ShowMsg("必须选择一个类别"); | |||
| return false; | |||
| } | |||
| fetch('stepselect_main.php?action=addenum&id=' + id).then(resp=>{ | |||
| if (resp.ok) { | |||
| return resp.text() | |||
| } | |||
| throw new Error('系统错误,无法获取数据'); | |||
| }).then((d)=>{ | |||
| $DE('edsta').innerHTML = d; | |||
| }).catch((error) => { | |||
| $DE('edsta').innerHTML = errMsg; | |||
| }); | |||
| if (resp.ok) { | |||
| return resp.text() | |||
| } | |||
| throw new Error('系统错误,无法获取数据'); | |||
| }).then((d)=>{ | |||
| $DE('edsta').innerHTML = d; | |||
| }).catch((error) => { | |||
| $DE('edsta').innerHTML = errMsg; | |||
| }); | |||
| $DE('edsta').style.display = 'block'; | |||
| } | |||
| function Edittype() { | |||
| var id = GetSeltype(); | |||
| function EditType() { | |||
| var id = GetSelType(); | |||
| if (id == 0) { | |||
| ShowMsg("必须选择一个类别"); | |||
| return false; | |||
| } | |||
| $DE('edsta').style.display = 'block'; | |||
| fetch('stepselect_main.php?action=edit&id=' + id).then(resp=>{ | |||
| if (resp.ok) { | |||
| return resp.text() | |||
| } | |||
| throw new Error('系统错误,无法获取数据'); | |||
| }).then((d)=>{ | |||
| $DE('edsta').innerHTML = d; | |||
| }).catch((error) => { | |||
| $DE('edsta').innerHTML = errMsg; | |||
| }); | |||
| if (resp.ok) { | |||
| return resp.text() | |||
| } | |||
| throw new Error('系统错误,无法获取数据'); | |||
| }).then((d)=>{ | |||
| $DE('edsta').innerHTML = d; | |||
| }).catch((error) => { | |||
| $DE('edsta').innerHTML = errMsg; | |||
| }); | |||
| } | |||
| function Viewtype() { | |||
| var id = GetSeltype(); | |||
| function ViewType() { | |||
| var id = GetSelType(); | |||
| if (id == 0) { | |||
| ShowMsg("必须选择一个类别"); | |||
| return false; | |||
| } | |||
| $DE('edsta').style.display = 'block'; | |||
| fetch('stepselect_main.php?action=view&id=' + id).then(resp=>{ | |||
| if (resp.ok) { | |||
| return resp.text() | |||
| } | |||
| throw new Error('系统错误,无法获取数据'); | |||
| }).then((d)=>{ | |||
| $DE('edsta').innerHTML = d; | |||
| }).catch((error) => { | |||
| $DE('edsta').innerHTML = errMsg; | |||
| }); | |||
| if (resp.ok) { | |||
| return resp.text() | |||
| } | |||
| throw new Error('系统错误,无法获取数据'); | |||
| }).then((d)=>{ | |||
| $DE('edsta').innerHTML = d; | |||
| }).catch((error) => { | |||
| $DE('edsta').innerHTML = errMsg; | |||
| }); | |||
| } | |||
| function Deltype() { | |||
| if (window.confirm("您确定要删除这个分类吗") == false) return false; | |||
| var id = GetSeltype(); | |||
| function DelType() { | |||
| if (window.confirm("您确实要删除这个分类吗") == false) return false; | |||
| var id = GetSelType(); | |||
| if (id == 0) { | |||
| ShowMsg("必须选择一个类别"); | |||
| return false; | |||
| @@ -114,45 +114,43 @@ li{float:left;padding-right:10px;line-height:26px} | |||
| var ntxt = sobj.options[sobj.selectedIndex].text; | |||
| if (sobj.options[sobj.selectedIndex].value == 0) { | |||
| location.href = 'stepselect_main.php'; | |||
| } | |||
| else { | |||
| } else { | |||
| var ns = ntxt.split('|'); | |||
| location.href = 'stepselect_main.php?egroup=' + ns[0]; | |||
| } | |||
| } | |||
| function TogSel() { | |||
| var ems = document.getElementsBymame('ids[]'); | |||
| var ems = document.getElementsByName('ids[]'); | |||
| for (i = 0; i < ems.length; i++) { | |||
| if (ems[i].checked == false) ems[i].checked = true; | |||
| else ems[i].checked = false; | |||
| } | |||
| } | |||
| function DelSel() { | |||
| if (window.confirm("您确定要删除这些分类吗")) document.form1.submit(); | |||
| if (window.confirm("您确实要删除这些分类吗")) document.form1.submit(); | |||
| } | |||
| function ChangePage2(sobj) { | |||
| var nv = sobj.options[sobj.selectedIndex].value; | |||
| if (sobj.options[sobj.selectedIndex].value == 0) { | |||
| location.href = 'stepselect_main.php?egroup=<?php echo $egroup; ?>'; | |||
| } | |||
| else { | |||
| } else { | |||
| location.href = 'stepselect_main.php?egroup=<?php echo $egroup; ?>&topvalue=' + nv; | |||
| } | |||
| } | |||
| </SCRIPT> | |||
| </head> | |||
| <body> | |||
| <div id='edsta'> | |||
| <center><img src='../static/web/img/loadinglit.gif'></center> | |||
| <div id="edsta"> | |||
| <center><img src="../static/web/img/loadinglit.gif"></center> | |||
| </div> | |||
| <table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3" style="margin-bottom:10px"> | |||
| <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3 mb-3"> | |||
| <tr> | |||
| <td height="26" background="../static/web/img/wbg.gif" colspan="6" style="padding-left:10px">联动枚举组管理</td> | |||
| </tr> | |||
| <tr> | |||
| <td width="90">请选择组别:</td> | |||
| <td width="260"> | |||
| <select mame="egroup1" id="egroup1" style="width:90%" onChange="ChangePage(this)"> | |||
| <select name="egroup1" id="egroup1" onChange="ChangePage(this)" style="width:90%"> | |||
| <option value='0'>所有组</option> | |||
| <?php | |||
| $selgroup = ''; | |||
| @@ -161,91 +159,88 @@ li{float:left;padding-right:10px;line-height:26px} | |||
| $stylecolor = ""; | |||
| if($arr['issystem']==1) $stylecolor = " style='color:#999999' "; | |||
| if($egroup==$arr['egroup']) { | |||
| $selgroup = $arr['itemmame']; | |||
| echo "<option value='{$arr['id']}' $stylecolor selected='1'>{$arr['egroup']}|{$arr['itemmame']}</option>"; | |||
| $selgroup = $arr['itemname']; | |||
| echo "<option value='{$arr['id']}' $stylecolor selected='1'>{$arr['egroup']}|{$arr['itemname']}</option>"; | |||
| } else { | |||
| echo "<option value='{$arr['id']}' $stylecolor>{$arr['egroup']}|{$arr['itemmame']}</option>"; | |||
| echo "<option value='{$arr['id']}' $stylecolor>{$arr['egroup']}|{$arr['itemname']}</option>"; | |||
| } | |||
| } | |||
| ?> | |||
| </select> | |||
| </td> | |||
| <td colspan='2'><img src='../static/web/img/help.gif'>灰色字的为系统内置枚举,您是不能对它进行删除修改操作的,但可以添加或修改它的元素</td> | |||
| <td colspan="2"><img src="../static/web/img/help.gif">灰色字的为系统内置枚举,您是不能对它进行删除修改操作的,但可以添加或修改它的元素</td> | |||
| <td> | |||
| <button type="button" mame="gedit" id="gedit" class="btn btn-success btn-sm" onClick="Edittype()">保存</button> | |||
| <button type="button" mame="gdel" id="gdel" class="btn btn-success btn-sm" onClick="Deltype()">删除</button> | |||
| <button type="button" mame="gview" id="gview" class="btn btn-success btn-sm" onClick="Viewtype()">预览</button> | |||
| <button type="button" name="gedit" id="gedit" class="btn btn-success btn-sm" onClick="EditType()">修改</button> | |||
| <button type="button" name="gdel" id="gdel" class="btn btn-success btn-sm" onClick="DelType()">删除</button> | |||
| <button type="button" name="gview" id="gview" class="btn btn-success btn-sm" onClick="ViewType()">预览</button> | |||
| </td> | |||
| <td> | |||
| <button type="button" mame="addnew" id="addnew" class="btn btn-success btn-sm" onClick="Addtype()">新增类别组</button> | |||
| <button type="button" name="addnew" id="addnew" class="btn btn-success btn-sm" onClick="AddType()">新增类别组</button> | |||
| <a href='stepselect_main.php?action=upallcache' class="btn btn-success btn-sm">更新所有枚举缓存</a> | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| <?php | |||
| if(!empty($egroup)) | |||
| { | |||
| $arr = $dsql->GetOne("SELECT * FROM `#@__stepselect` WHERE egroup='{$egroup}' "); | |||
| $dsql->Execute('out',"SELECT evalue,emame FROM `#@__sys_enum` WHERE egroup='{$arr['egroup']}' ORDER BY disorder ASC,evalue ASC"); | |||
| $options = ''; | |||
| while($row1 = $dsql->GetArray('out')) | |||
| if(!empty($egroup)) | |||
| { | |||
| if(!preg_match("#\.#", $row1['evalue'])) | |||
| $arr = $dsql->GetOne("SELECT * FROM `#@__stepselect` WHERE egroup='{$egroup}' "); | |||
| $dsql->Execute('out',"SELECT evalue,ename FROM `#@__sys_enum` WHERE egroup='{$arr['egroup']}' ORDER BY disorder ASC,evalue ASC"); | |||
| $options = ''; | |||
| while($row1 = $dsql->GetArray('out')) | |||
| { | |||
| $row1['emame'] = ($row1['evalue'] % 500 == 0)? $row1['emame'] : '└─'.$row1['emame']; | |||
| if($topvalue != $row1['evalue']) $options .= "<option value='{$row1['evalue']}'>{$row1['emame']}</option>"; | |||
| else $options .= "<option value='{$row1['evalue']}' selected='selected'>{$row1['emame']}</option>"; | |||
| if(!preg_match("#\.#", $row1['evalue'])) | |||
| { | |||
| $row1['ename'] = ($row1['evalue'] % 500 == 0)? $row1['ename'] : '└─'.$row1['ename']; | |||
| if($topvalue != $row1['evalue']) $options .= "<option value='{$row1['evalue']}'>{$row1['ename']}</option>"; | |||
| else $options .= "<option value='{$row1['evalue']}' selected='selected'>{$row1['ename']}</option>"; | |||
| } | |||
| } | |||
| } | |||
| //如果添加3级之类 | |||
| if($topvalue % 500 != 0) $arr['issign'] = 2; | |||
| ?> | |||
| <table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable" style='margin-bottom:10px'> | |||
| //如果添加3级之类 | |||
| if($topvalue % 500 != 0) $arr['issign'] = 2; | |||
| ?> | |||
| <table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable table-bordered" style="margin-bottom:10px"> | |||
| <tr> | |||
| <td height="26" background="../static/web/img/tbg.gif" colspan="8"> | |||
| <div style="float:left"> <?php echo $selgroup; ?> > 子分类管理</div> | |||
| <div style="float:left"><?php echo $selgroup; ?> > 子分类管理</div> | |||
| <div style="float:right"> | |||
| <?php | |||
| if($egroup=='nativeplace') { | |||
| echo "<a href='stepselect_main.php?action=exarea' class='np coolbg'>把默认省市地区表导入</a> "; | |||
| } | |||
| ?> | |||
| <?php | |||
| if($egroup=='nativeplace') { | |||
| echo "<a href='stepselect_main.php?action=exarea' class='np coolbg'>把默认省市地区表导入</a>"; | |||
| } | |||
| ?> | |||
| </div> | |||
| </td> | |||
| </tr> | |||
| <tr height='48'> | |||
| <tr> | |||
| <td> | |||
| <form action='stepselect_main.php' method='post'> | |||
| <input type="hidden" mame="action" value="addenum_save"> | |||
| <input type="hidden" mame="issign" value="<?php echo $arr['issign']; ?>"> | |||
| <input type="hidden" mame="egroup" value="<?php echo $arr['egroup']; ?>"> | |||
| <div style='float:left'> | |||
|  隶属分类: | |||
| <select mame='topvalue' style='width:160px' onChange="ChangePage2(this)"> | |||
| <option value='0'><?php echo $selgroup; ?></option> | |||
| <input type="hidden" name="action" value="addenum_save"> | |||
| <input type="hidden" name="issign" value="<?php echo $arr['issign']; ?>"> | |||
| <input type="hidden" name="egroup" value="<?php echo $arr['egroup']; ?>"> | |||
| <div style="float:left"> | |||
| 隶属分类: | |||
| <select name="topvalue" style='width:160px' onChange="ChangePage2(this)"> | |||
| <option value="0"><?php echo $selgroup; ?></option> | |||
| <?php echo $options; ?> | |||
| </select> | |||
| </div> | |||
| <div style='float:left'> | |||
|  分类名称:<input type="text" mame="emame" class="iptxt" style='width:360px'> | |||
| </div> | |||
| <div style='float:left;padding-left:6px'> | |||
| <button type="submit" mame='sb2' class="btn btn-success btn-sm">增加分类</button> | |||
| </div> | |||
| <div style='clear:both'> | |||
|  <img src='../static/web/img/help.gif'>如果没选择隶属分类则表示增加的是顶级分类,用半角逗号","分开可以一次增加多个分类 | |||
| <div style="float:left">分类名称:<input type="text" name="ename" class="iptxt" style="width:260px"></div> | |||
| <div style="float:left;padding-left:10px"> | |||
| <button type="submit" name="sb2" class="btn btn-success btn-sm">增加分类</button> | |||
| </div> | |||
| <div style='clear:both'><img src='../static/web/img/help.gif'>如果没选择隶属分类则表示增加的是顶级分类,用半角逗号","分开可以一次增加多个分类</div> | |||
| </form> | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" | |||
| class="table maintable"> | |||
| <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable table-bordered"> | |||
| <tr> | |||
| <td height="26" background="../static/web/img/tbg.gif" colspan="8"> | |||
| <div style="float:left"> <a href='stepselect_main.php'>枚举组列表</a> > <a href='stepselect_main.php?egroup=<?php echo $egroup; ?>'><?php echo $selgroup; ?></a> > 子分类列表</div> | |||
| <div style="float:left"> | |||
| <a href="stepselect_main.php">枚举组列表</a> | |||
| > <a href="stepselect_main.php?egroup=<?php echo $egroup; ?>"><?php echo $selgroup; ?></a> | |||
| > 子分类列表 | |||
| </div> | |||
| <div style="float:right"></div> | |||
| </td> | |||
| </tr> | |||
| @@ -259,81 +254,81 @@ if(!empty($egroup)) | |||
| <td width="10%">组内排序</td> | |||
| <td width="18%">操作</td> | |||
| </tr> | |||
| <form action='stepselect_main.php' mame='upenumf' method='post' id="upenumf"> | |||
| <input type='hidden' mame='action' value='upenum'> | |||
| <input type="hidden" mame="aid" value=""> | |||
| <input type='hidden' mame='emame' value=''> | |||
| <input type='hidden' mame='disorder' value=''> | |||
| <form action='stepselect_main.php' name='upenumf' method='post' id="upenumf"> | |||
| <input type='hidden' name='action' value='upenum' /> | |||
| <input type="hidden" name="aid" value=""> | |||
| <input type='hidden' name='ename' value='' /> | |||
| <input type='hidden' name='disorder' value='' /> | |||
| </form> | |||
| <form mame='form1' action='stepselect_main.php' method='post'> | |||
| <input type='hidden' mame='action' value='delenumAllSel'> | |||
| <form name='form1' action='stepselect_main.php' method='post'> | |||
| <input type='hidden' name='action' value='delenumAllSel' /> | |||
| {dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'} | |||
| <tr height="26" align="center" | |||
| onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
| <td><input type='checkbox' mame='ids[]' value='{dede:field.id /}' class='np'></td> | |||
| <tr height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> | |||
| <td><input type='checkbox' name='ids[]' value='{dede:field.id /}' class='np' /></td> | |||
| <td>{dede:field.id /}</td> | |||
| <td> | |||
| <?php | |||
| if(!preg_match("#\.#", $fields['evalue'])) | |||
| { | |||
| if($fields['evalue']>500 && $fields['evalue']%500 != 0) $fields['emame'] = " └─".$fields['emame']; | |||
| } else { | |||
| $fields['emame'] = " └───".$fields['emame']; | |||
| } | |||
| ?> | |||
| <input type='text' id='emame{dede:field.id/}' value='{dede:field.emame /}' class='abt'> | |||
| <?php | |||
| if(!preg_match("#\.#", $fields['evalue'])) | |||
| { | |||
| if($fields['evalue']>500 && $fields['evalue']%500 != 0) $fields['ename'] = " └─".$fields['ename']; | |||
| } else { | |||
| $fields['ename'] = " └───".$fields['ename']; | |||
| } | |||
| ?> | |||
| <input type='text' id='ename{dede:field.id/}' value='{dede:field.ename /}' class='abt' /> | |||
| </td> | |||
| <td>{dede:field.egroup /}</td> | |||
| <td> | |||
| <?php | |||
| if(!preg_match("#\.#", $fields['evalue'])) | |||
| { | |||
| if($fields['evalue']>500 && $fields['evalue']%500 != 0) echo '二级选择'; | |||
| else echo '一级选择'; | |||
| } else { | |||
| echo "三级选择"; | |||
| } | |||
| ?></td> | |||
| <?php | |||
| if(!preg_match("#\.#", $fields['evalue'])) | |||
| { | |||
| if($fields['evalue']>500 && $fields['evalue']%500 != 0) echo '二级选择'; | |||
| else echo '一级选择'; | |||
| } else { | |||
| echo "三级选择"; | |||
| } | |||
| ?></td> | |||
| <td>{dede:field.evalue /}</td> | |||
| <td><input type='text' id='disorder{dede:field.id/}' value='{dede:field.disorder /}' class='abt'></td> | |||
| <td><input type='text' id='disorder{dede:field.id/}' value='{dede:field.disorder /}' class='abt' /></td> | |||
| <td> | |||
| <?php | |||
| <?php | |||
| if(!empty($egroup)) | |||
| { | |||
| ?> | |||
| <a href='javascript:updateItem({dede:field.id/});' class="btn btn-success btn-sm"><i class="fa fa-refresh"></i> 更新</a> | |||
| <a href='stepselect_main.php?action=delenum&id={dede:field.id/}' class="btn btn-success btn-sm"><i class="fa fa-trash"></i> 删除</a> | |||
| { | |||
| ?> | |||
| <a href='javascript:updateItem({dede:field.id/});' class="btn btn-success btn-sm"> <i class="fa fa-refresh"></i> 更新</a> | |||
| <a href='stepselect_main.php?action=delenum&id={dede:field.id/}' class="btn btn-success btn-sm"> <i class="fa fa-trash"></i> 删除</a> | |||
| <?php | |||
| } else { | |||
| echo "<a href='stepselect_main.php?egroup={$fields['egroup']}'>".$egroups[$fields['egroup']]."</a>"; | |||
| } | |||
| ?> | |||
| } else { | |||
| echo "<a href='stepselect_main.php?egroup={$fields['egroup']}'>".$egroups[$fields['egroup']]."</a>"; | |||
| } | |||
| ?> | |||
| </td> | |||
| </tr> | |||
| {/dede:datalist} | |||
| </form> | |||
| <tr> | |||
| <tr height="26"> | |||
| <td colspan="8"> | |||
| <a href='javascript:TogSel();' class='btn btn-success btn-sm'>全选/反选</a> | |||
| <a href='javascript:DelSel();' class='btn btn-success btn-sm'>删除所选</a> | |||
| <a href="javascript:TogSel();" class="btn btn-success btn-sm">全选/反选</a> | |||
| <a href="javascript:DelSel();" class="btn btn-success btn-sm">删除所选</a> | |||
| </td> | |||
| </tr> | |||
| <tr align="center" bgcolor="#f8f8f8" height="26"> | |||
| <td colspan="8">{dede:pagelist listsize='6'/}</td> | |||
| <tr height="30" bgcolor="#f8f8f8" align="center"> | |||
| <td colspan="8">{dede:pagelist listsize=6/}</td> | |||
| </tr> | |||
| </table> | |||
| <?php | |||
| } else { | |||
| ?> | |||
| <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" | |||
| class="table maintable"> | |||
| } else { | |||
| ?> | |||
| <table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable table-bordered"> | |||
| <tr> | |||
| <td height="26" background="../static/web/img/tbg.gif" colspan="8"> | |||
| <div style="float:left"> <a href='stepselect_main.php'>枚举组列表</a></div> | |||
| <div style="float:left"> | |||
| <a href="stepselect_main.php">枚举组列表</a> | |||
| </div> | |||
| <div style="float:right"></div> | |||
| </td> | |||
| </tr> | |||
| <tr align="center" bgcolor="#FBFCE2" height="26"> | |||
| <tr height="26" bgcolor="#FBFCE2" align="center"> | |||
| <td width="6%">选择</td> | |||
| <td width="6%">编号</td> | |||
| <td width="28%">组类别名</td> | |||
| @@ -343,11 +338,10 @@ if(!empty($egroup)) | |||
| <td>操作</td> | |||
| </tr> | |||
| {dede:datalist} | |||
| <tr height="26" align="center" | |||
| onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
| <td><input type='checkbox' mame='ids[]' value='{dede:field.id /}' class='np'></td> | |||
| <tr height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> | |||
| <td><input type='checkbox' name='ids[]' value='{dede:field.id /}' class='np' /></td> | |||
| <td> {dede:field.id /} </td> | |||
| <td> <a href='stepselect_main.php?egroup={dede:field.egroup /}'>{dede:field.itemmame /}</a> </td> | |||
| <td> <a href="stepselect_main.php?egroup={dede:field.egroup /}">{dede:field.itemname /}</a></td> | |||
| <td> | |||
| <?php | |||
| switch ($fields['issign']) { | |||
| @@ -360,23 +354,23 @@ if(!empty($egroup)) | |||
| case 2: | |||
| echo "三级选择"; | |||
| break; | |||
| } | |||
| } | |||
| ?> | |||
| </td> | |||
| <td> {dede:field.issystem function="@me==1 ? '是' : '否'" /} </td> | |||
| <td>{dede:field.egroup /}</td> | |||
| <td> | |||
| <a href='stepselect_main.php?action=upallcache&egroup={dede:field.egroup /}' class="btn btn-success btn-sm"><i class="fa fa-refresh"></i> 更新缓存</a> | |||
| <a href='stepselect_main.php?egroup={dede:field.egroup /}' class="btn btn-success btn-sm"><i class="fa fa-list-ul"></i> 查看子分类</a> | |||
| <a href="stepselect_main.php?action=upallcache&egroup={dede:field.egroup/}" class="btn btn-success btn-sm"><i class="fa fa-refresh"></i> 更新缓存</a> | |||
| <a href="stepselect_main.php?egroup={dede:field.egroup/}" class="btn btn-success btn-sm"><i class="fa fa-list-ul"></i> 查看子分类</a> | |||
| </td> | |||
| </tr> | |||
| {/dede:datalist} | |||
| <tr align="center" bgcolor="#f8f8f8" height="26"> | |||
| <td colspan="8">{dede:pagelist listsize='6'/}</td> | |||
| <tr height="30" align="center" bgcolor="#f8f8f8"> | |||
| <td colspan="8">{dede:pagelist listsize=6/}</td> | |||
| </tr> | |||
| </table> | |||
| <?php | |||
| } | |||
| ?> | |||
| } | |||
| ?> | |||
| </body> | |||
| </html> | |||
| @@ -20,7 +20,7 @@ | |||
| </tr> | |||
| <tr> | |||
| <td> | |||
| <table width="600" border="0" cellspacing="0" cellpadding="0"> | |||
| <table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
| <form name="form1" action="tag_test_action.php" target="stafrm" method="post"> | |||
| <input type="hidden" name="showsource" value="no"> | |||
| <input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>"> | |||
| @@ -10,14 +10,14 @@ | |||
| <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#111111" style="border-collapse:collapse"> | |||
| <tr> | |||
| <td width="100%" height="64" background="../static/web/img/indextitlebg.gif"> | |||
| <img src="images/indextitle.gif" width="250" height="64" alt="Power by DedeBIZV6 OX"> | |||
| <img src="images/indextitle.gif" width="260" height="64" alt="Power by DedeBIZV6 OX"> | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <td width="100%" height="26"> | |||
| <table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td height="30"><i class="fa fa-book" aria-hidden="true"></i> | |||
| <td height="30"><i class="fa fa-book"></i> | |||
|  {dede:wecome_info/} | |||
| </td> | |||
| </tr> | |||
| @@ -44,7 +44,7 @@ | |||
| <a href="javascript:ReplyFeedback([field:id/])">[回复]</a> <a href="javascript:LoadReplyFeedbacks([field:id/])">[field:replycount /]条回复</a> | |||
| </span> | |||
| <div class="feedback-action"> | |||
| <a href="javascript:GoodFeedback([field:id/], [field:good/])"><span id="feedbackGood[field:id/]">[field:good/]</span><i class="fa fa-thumbs-up"></i></a> | |||
| <a href="javascript:GoodFeedback([field:id/], [field:good/])"><span id="feedbackGood[field:id/]">[field:good/]</span><i class="fa fa-thumbs-up ml-1"></i></a> | |||
| </div> | |||
| </div> | |||
| <div class="_feedback_reply mt-1" for="[field:id/]"> | |||
| @@ -72,7 +72,7 @@ | |||
| border-bottom:none; | |||
| } | |||
| .feedbacks .media-body { | |||
| padding: 0 1em .5em 1em; | |||
| padding: 0 1rem 1rem 1rem; | |||
| } | |||
| .feedbacks .media-body small{ | |||
| color: #999; | |||
| @@ -110,7 +110,7 @@ | |||
| <div class="form-group row"> | |||
| <label class="col-sm-2 col-form-label">验证码</label> | |||
| <div class="col-sm-10"> | |||
| <input name="vdcode" type="text" id="vdcode" maxlength="100" class="intxt" style='width:100px;text-transform:uppercase;'> | |||
| <input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||
| <img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'"> | |||
| </div> | |||
| </div> | |||
| @@ -154,7 +154,7 @@ | |||
| <div class="form-group row"> | |||
| <label class="col-sm-2 col-form-label">验证码</label> | |||
| <div class="col-sm-10"> | |||
| <input name="vdcode" type="text" id="vdcode" maxlength="100" class="intxt" style='width:100px;text-transform:uppercase;'> | |||
| <input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||
| <img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'"> | |||
| </div> | |||
| </div> | |||
| @@ -82,7 +82,7 @@ | |||
| <div class="form-group row"> | |||
| <label class="col-sm-2 col-form-label">验证码</label> | |||
| <div class="col-sm-10"> | |||
| <input name="vdcode" type="text" id="vdcode" maxlength="100" class="intxt" style='width:100px;text-transform:uppercase;'> | |||
| <input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||
| <img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'"> | |||
| </div> | |||
| </div> | |||
| @@ -108,17 +108,14 @@ | |||
| document.addcontent.title.focus(); | |||
| return false; | |||
| } | |||
| if (document.addcontent.typeid.value == 0) { | |||
| ShowMsg("隶属栏目必须选择"); | |||
| return false; | |||
| } | |||
| if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { | |||
| ShowMsg("隶属栏目必须选择白色背景的项目"); | |||
| return false; | |||
| } | |||
| if (document.addcontent.vdcode.value == "") { | |||
| document.addcontent.vdcode.focus(); | |||
| ShowMsg("验证码不能为空"); | |||
| @@ -81,7 +81,7 @@ | |||
| <div class="form-group row"> | |||
| <label class="col-sm-2 col-form-label">验证码</label> | |||
| <div class="col-sm-10"> | |||
| <input name="vdcode" type="text" id="vdcode" maxlength="100" class="intxt" style='width:100px;text-transform:uppercase;'> | |||
| <input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||
| <img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'"> | |||
| </div> | |||
| </div> | |||
| @@ -107,17 +107,14 @@ | |||
| document.addcontent.title.focus(); | |||
| return false; | |||
| } | |||
| if (document.addcontent.typeid.value == 0) { | |||
| ShowMsg("隶属栏目必须选择"); | |||
| return false; | |||
| } | |||
| if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { | |||
| ShowMsg("隶属栏目必须选择白色背景的项目"); | |||
| return false; | |||
| } | |||
| if (document.addcontent.vdcode.value == "") { | |||
| document.addcontent.vdcode.focus(); | |||
| ShowMsg("验证码不能为空"); | |||
| @@ -83,7 +83,7 @@ | |||
| <div class="form-group row"> | |||
| <label class="col-sm-2 col-form-label">验证码</label> | |||
| <div class="col-sm-10"> | |||
| <input name="vdcode" type="text" id="vdcode" maxlength="100" class="intxt" style='width:100px;text-transform:uppercase;'> | |||
| <input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||
| <img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'"> | |||
| </div> | |||
| </div> | |||
| @@ -109,17 +109,14 @@ | |||
| document.addcontent.title.focus(); | |||
| return false; | |||
| } | |||
| if (document.addcontent.typeid.value == 0) { | |||
| ShowMsg("隶属栏目必须选择"); | |||
| return false; | |||
| } | |||
| if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { | |||
| ShowMsg("隶属栏目必须选择白色背景的项目"); | |||
| return false; | |||
| } | |||
| if (document.addcontent.vdcode.value == "") { | |||
| document.addcontent.vdcode.focus(); | |||
| ShowMsg("验证码不能为空"); | |||
| @@ -69,7 +69,7 @@ | |||
| <div class="form-group row"> | |||
| <label class="col-sm-2 col-form-label">验证码</label> | |||
| <div class="col-sm-10"> | |||
| <input name="vdcode" type="text" id="vdcode" maxlength="100" class="intxt" style='width:100px;text-transform:uppercase;'> | |||
| <input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||
| <img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'"> | |||
| </div> | |||
| </div> | |||
| @@ -95,17 +95,14 @@ | |||
| document.addcontent.title.focus(); | |||
| return false; | |||
| } | |||
| if (document.addcontent.typeid.value == 0) { | |||
| ShowMsg("隶属栏目必须选择"); | |||
| return false; | |||
| } | |||
| if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { | |||
| ShowMsg("隶属栏目必须选择白色背景的项目"); | |||
| return false; | |||
| } | |||
| if (document.addcontent.vdcode.value == "") { | |||
| document.addcontent.vdcode.focus(); | |||
| ShowMsg("验证码不能为空"); | |||
| @@ -86,7 +86,7 @@ | |||
| <div class="form-group row"> | |||
| <label class="col-sm-2 col-form-label">验证码</label> | |||
| <div class="col-sm-10"> | |||
| <input name="vdcode" type="text" id="vdcode" maxlength="100" class="intxt" style='width:100px;text-transform:uppercase;'> | |||
| <input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||
| <img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'"> | |||
| </div> | |||
| </div> | |||
| @@ -112,17 +112,14 @@ | |||
| document.addcontent.title.focus(); | |||
| return false; | |||
| } | |||
| if (document.addcontent.typeid.value == 0) { | |||
| ShowMsg("隶属栏目必须选择"); | |||
| return false; | |||
| } | |||
| if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { | |||
| ShowMsg("隶属栏目必须选择白色背景的项目"); | |||
| return false; | |||
| } | |||
| if (document.addcontent.vdcode.value == "") { | |||
| document.addcontent.vdcode.focus(); | |||
| ShowMsg("验证码不能为空"); | |||
| @@ -89,7 +89,7 @@ | |||
| <div class="form-group row"> | |||
| <label class="col-sm-2 col-form-label">验证码</label> | |||
| <div class="col-sm-10"> | |||
| <input name="vdcode" type="text" id="vdcode" maxlength="100" class="intxt" style='width:100px;text-transform:uppercase;'> | |||
| <input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||
| <img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'"> | |||
| </div> | |||
| </div> | |||
| @@ -18,14 +18,11 @@ | |||
| morelinkobj.style.display = "block"; | |||
| if (endNum > 12) endNum = 12; | |||
| for (startNum; startNum <= endNum; startNum++) { | |||
| upfield.innerHTML += "<label>软件地址" + startNum + ":</label><input type='text' name='softurl" + startNum + "' value='http://' maxlength='100' class='form-control'> "; | |||
| upfield.innerHTML += " "; | |||
| upfield.innerHTML += "服务器名称:<input type='text' name='servermsg" + startNum + "' class='form-control'>"; | |||
| } | |||
| } | |||
| function ShowHideAddr() { | |||
| document.getElementById('morelink').style.display = (document.getElementById('morelink').style.display == 'block' ? 'none' : 'block'); | |||
| document.getElementById('btsh3').value = (document.getElementById('morelink').style.display == 'block' ? '隐藏地址' : '显示地址'); | |||
| @@ -85,7 +82,6 @@ | |||
| <span style="color:#F00">*</span>(不能选择带颜色的分类) | |||
| </div> | |||
| </div> | |||
| <div class="form-row"> | |||
| <div class="form-group col-md-6"> | |||
| <label for="filetype">文件类型</label> | |||
| @@ -108,7 +104,6 @@ | |||
| </select> | |||
| </div> | |||
| </div> | |||
| <div class="form-row"> | |||
| <div class="form-group col-md-6"> | |||
| <label for="softtype">软件类型</label> | |||
| @@ -130,7 +125,6 @@ | |||
| </select> | |||
| </div> | |||
| </div> | |||
| <div class="form-row"> | |||
| <div class="form-group col-md-6"> | |||
| <label for="os">运行环境</label> | |||
| @@ -148,7 +142,6 @@ | |||
| </select> | |||
| </div> | |||
| </div> | |||
| <div class="form-row"> | |||
| <div class="form-group col-md-6"> | |||
| <label for="officialDemo">官方网址</label> | |||
| @@ -210,7 +203,7 @@ | |||
| <div class="form-group row"> | |||
| <label class="col-sm-2 col-form-label">验证码</label> | |||
| <div class="col-sm-10"> | |||
| <input name="vdcode" type="text" id="vdcode" maxlength="100" class="intxt" style='width:100px;text-transform:uppercase;'> | |||
| <input name="vdcode" type="text" id="vdcode" class="form-control" style="display:inline-block;width:260px;text-transform:uppercase"> | |||
| <img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onClick="this.src=this.src+'?'"> | |||
| </div> | |||
| </div> | |||
| @@ -236,17 +229,14 @@ | |||
| document.addcontent.title.focus(); | |||
| return false; | |||
| } | |||
| if (document.addcontent.typeid.value == 0) { | |||
| ShowMsg("隶属栏目必须选择"); | |||
| return false; | |||
| } | |||
| if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { | |||
| ShowMsg("隶属栏目必须选择白色背景的项目"); | |||
| return false; | |||
| } | |||
| if (document.addcontent.vdcode.value == "") { | |||
| document.addcontent.vdcode.focus(); | |||
| ShowMsg("验证码不能为空"); | |||
| @@ -220,7 +220,7 @@ | |||
| <div class="form-group row"> | |||
| <label class="col-sm-2 col-form-label">验证码</label> | |||
| <div class="col-sm-10"> | |||
| <input name="vdcode" type="text" id="vdcode" maxlength="100" class="intxt" style='width:100px;text-transform:uppercase;'> | |||
| <input name="vdcode" type="text" id="vdcode" class="form-control" style='display:inline-block;width:260px;text-transform:uppercase'> | |||
| <img src="../apps/vdimgck.php" alt="看不清点击更换" align="absmiddle" style="cursor:pointer" onClick="this.src=this.src+'?'"> | |||
| </div> | |||
| </div> | |||