html
kohteeseen develop
3 vuotta sitten
@@ -356,8 +356,8 @@ else if ($dopost == 'moveArchives') { | |||
</tr> | |||
<tr> | |||
<td colspan="2" align="center" class="py-3"> | |||
<button type='submit' class='btn btn-success'>保存</button> | |||
<button type='button' onclick='HideObj("<?php echo $divname; ?>");ChangeFullDiv("hide");' class='btn btn-success'>关闭</button> | |||
<button type='submit' class='btn btn-success btn-sm'>保存</button> | |||
<button type='button' onclick='HideObj("<?php echo $divname; ?>");ChangeFullDiv("hide");' class='btn btn-success btn-sm'>关闭</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -609,8 +609,8 @@ else if ($dopost == 'quickEdit') { | |||
</tr> | |||
<tr> | |||
<td colspan="2" align="center" class="py-3"> | |||
<button type='submit' class='btn btn-success'>保存</button> | |||
<button type='button' onclick='HideObj("<?php echo $divname; ?>");ChangeFullDiv("hide");' class='btn btn-success'>关闭</button> | |||
<button type='submit' class='btn btn-success btn-sm'>保存</button> | |||
<button type='button' onclick='HideObj("<?php echo $divname; ?>");ChangeFullDiv("hide");' class='btn btn-success btn-sm'>关闭</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -885,8 +885,8 @@ else if ($dopost == 'attsDlg') { | |||
</tr> | |||
<tr> | |||
<td colspan="2" align="center" class="py-3"> | |||
<button type='submit' class='btn btn-success'>保存</button> | |||
<button type='button' onclick='HideObj("<?php echo $divname; ?>");ChangeFullDiv("hide");' class='btn btn-success'>关闭</button> | |||
<button type='submit' class='btn btn-success btn-sm'>保存</button> | |||
<button type='button' onclick='HideObj("<?php echo $divname; ?>");ChangeFullDiv("hide");' class='btn btn-success btn-sm'>关闭</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -911,8 +911,8 @@ else if ($dopost == 'getCatMap') { | |||
<form name='quicksel' action='javascript:;' method='get'> | |||
<div class='quicksel'><?php $tus->ListAllType($channelid); ?></div> | |||
<div align='center' class='quickselfoot'> | |||
<button onclick='getSelCat("<?php echo $targetid; ?>");' class='btn btn-success'>保存</button> | |||
<button type='button' onclick='HideObj("<?php echo $divname; ?>");ChangeFullDiv("hide");' class='btn btn-success'>关闭</button> | |||
<button onclick='getSelCat("<?php echo $targetid; ?>");' class='btn btn-success btn-sm'>保存</button> | |||
<button type='button' onclick='HideObj("<?php echo $divname; ?>");ChangeFullDiv("hide");' class='btn btn-success btn-sm'>关闭</button> | |||
</div> | |||
</form> | |||
<?php | |||
@@ -90,7 +90,7 @@ function DoRand(jobname) | |||
<div id='loading' style='position:absolute;top:160;display:none;z-index:3000'> | |||
<img src='../static/web/img/loadinglit.gif'>请稍后,正在操作中 | |||
</div> | |||
<table width='98%' align='center'> | |||
<table width='100%' align='center'> | |||
<tr> | |||
<td height='26'> | |||
如果您想对旧的文章应用随机模板设置,请点击此对旧文章进行处理(必须设置好模板项) | |||
@@ -99,9 +99,6 @@ function DoRand(jobname) | |||
<span id='tmpct' style='color:#dc3545;font-weight:bold'>$okmsg</span> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor='#f8f8f8'>请按说明修改设置:</td> | |||
</tr> | |||
<tr> | |||
<td><textarea name='templates' id='templates' style='width:100%;height:250px'>$templates</textarea></td> | |||
</tr> | |||
@@ -232,9 +232,9 @@ if ($dopost == 'time') { | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FAFEE0" colspan="2" align="center" class="py-3"> | |||
<button onclick='getSelCat("<?php echo $targetid; ?>");' class='btn btn-success'>保存</button> | |||
<button type='button' onclick='CloseMsg()' class='btn btn-success'>关闭</button> | |||
<td bgcolor="#F8FCF1" colspan="2" align="center" class="py-3"> | |||
<button onclick='getSelCat("<?php echo $targetid; ?>");' class='btn btn-success btn-sm'>保存</button> | |||
<button type='button' onclick='CloseMsg()' class='btn btn-success btn-sm'>关闭</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -1 +1 @@ | |||
.title{color:#28a745}.title span{padding-left:6px}#addTab{position:absolute;left:460px;top:260px;min-width:360px;height:200px;z-index:2;background:#fff;border:1px solid #ccc;padding:0;display:none;border-radius:.2rem}#editTab{position:absolute;left:460px;top:260px;min-width:360px;height:300px;z-index:1;background:#fff;border:1px solid #ccc;padding:0;display:none;border-radius:.2rem}.txt{float:left}.updatedvt{width:98%;border-bottom:1px dashed #dcdcdc}.upinfotitle{border-bottom:1px solid #ccc;color:#dc3545;font-weight:bold}.verline{border-bottom:1px dashed #ccc}.itemTable{background:#CBD8AC}#loaddiv{top:0;left:0;background:#ccc;filter:Alpha(opacity=70);-moz-opacity:0.7;position:absolute;z-index:10000;width:100%;height:100%}#mainmsg{padding-right:8px}.rightside{width:49%;float:left;margin-right:1%;height:670px}.column{width:49%;float:left;margin-right:0.5%}.placeholder{width:98%;margin-left:1%;background:#f0f0f0;border:1px dashed #ddd}.dbox{border:1px solid #DEEAB6;width:98%;margin-left:1%;margin-top:8px}.dbox dt{height:28px;line-height:28px;font-weight:bold;color:#4D6C2F;cursor:move}.dbox dt .l{float:left;padding-left:8px}.dbox dt .r{float:right;padding-right:8px}.dbox dt.lside{border-bottom:1px solid #CFD7C4;background:rgb(239,248,229)}.dbox dt.rside{border-bottom:1px solid #DEEAB6;background:url(../../static/web/img/wbg.gif)repeat-x}.dbox dd{padding:0}.dbox dd.intable{padding-top:0}#updatetest{padding:6px;padding-left:110px;background:url(../../images/ico_spider.gif)no-repeat scroll 10px 15px transparent}.dboxtable td.nline{height:26px;border-bottom:1px dashed #CFD7C4}.dboxtable1 ul li{float:left;display:inline;width:48%;height:26px;line-height:26px;border-bottom:1px dashed #CFD7C4;text-align:center}.biz p{padding:0 15px}.biz img{float:right;margin:40px 15px 0 15px} | |||
.title{color:#28a745}.title span{padding-left:6px}#addTab{position:absolute;left:460px;top:260px;min-width:360px;height:200px;z-index:2;background:#fff;border:1px solid #ccc;padding:0;display:none;border-radius:.2rem}#editTab{position:absolute;left:460px;top:260px;min-width:360px;height:300px;z-index:1;background:#fff;border:1px solid #ccc;padding:0;display:none;border-radius:.2rem}.txt{float:left}.updatedvt{width:98%;border-bottom:1px dashed #dcdcdc}.upinfotitle{border-bottom:1px solid #ccc;color:#dc3545;font-weight:bold}.verline{border-bottom:1px dashed #ccc}.itemTable{background:#CBD8AC}#loaddiv{top:0;left:0;background:#eee;filter:Alpha(opacity=70);-moz-opacity:0.7;position:absolute;z-index:10000;width:100%;height:100%}#mainmsg{padding-right:8px}.rightside{width:49%;float:left;margin-right:1%;height:670px}.column{width:49%;float:left;margin-right:0.5%}.placeholder{width:98%;margin-left:1%;background:#f0f0f0;border:1px dashed #ddd}.dbox{border:1px solid #DEEAB6;width:98%;margin-left:1%;margin-top:8px}.dbox dt{height:28px;line-height:28px;font-weight:bold;color:#4D6C2F;cursor:move}.dbox dt .l{float:left;padding-left:8px}.dbox dt .r{float:right;padding-right:8px}.dbox dt.lside{border-bottom:1px solid #CFD7C4;background:rgb(239,248,229)}.dbox dt.rside{border-bottom:1px solid #DEEAB6;background:url(../../static/web/img/wbg.gif)repeat-x}.dbox dd{padding:0}.dbox dd.intable{padding-top:0}#updatetest{padding:6px;padding-left:110px;background:url(../../images/ico_spider.gif)no-repeat scroll 10px 15px transparent}.dboxtable td.nline{height:26px;border-bottom:1px dashed #CFD7C4}.dboxtable1 ul li{float:left;display:inline;width:48%;height:26px;line-height:26px;border-bottom:1px dashed #CFD7C4;text-align:center}.biz p{padding:0 15px}.biz img{float:right;margin:40px 15px 0 15px} |
@@ -92,7 +92,7 @@ a{text-decoration:none!important} | |||
<tr> | |||
<td colspan="3"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="2"> | |||
<tr height="26"> | |||
<tr> | |||
<td width="45%" class="linerow">选择文件</td> | |||
<td width="25%" class="linerow">文件大小</td> | |||
<td width="30%" class="linerow">修改时间</td> | |||
@@ -121,7 +121,7 @@ a{text-decoration:none!important} | |||
else if ($file == "..") { | |||
if ($activepath == "") continue; | |||
$tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); | |||
$line = "<tr height='26'> | |||
$line = "<tr> | |||
<td class='linerow'><a href='select_soft.php?f=$f&activepath=".urlencode($tmp).$addparm."'><img src='../../static/web/img/dir2.gif'>上级目录</a></td> | |||
<td colspan='2' class='linerow'>当前目录:$activepath</td> | |||
</tr>\r\n"; | |||
@@ -129,7 +129,7 @@ a{text-decoration:none!important} | |||
} else if (is_dir("$inpath/$file")) { | |||
if (preg_match("#^_(.*)$#i", $file)) continue; | |||
if (preg_match("#^\.(.*)$#i", $file)) continue; | |||
$line = "<tr height='26'> | |||
$line = "<tr> | |||
<td class='linerow'><a href=select_soft.php?f=$f&activepath=".urlencode("$activepath/$file").$addparm."><img src='../../static/web/img/dir.gif'>$file</a></td> | |||
<td class='linerow'></td> | |||
<td class='linerow'></td> | |||
@@ -141,7 +141,7 @@ a{text-decoration:none!important} | |||
$reurl = "$activeurl/$file"; | |||
$reurl = preg_replace("#^\.\.#", "", $reurl); | |||
$reurl = $reurl; | |||
$line = "<tr height='26'> | |||
$line = "<tr> | |||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='../../static/web/img/zip.gif'>$file</a></td> | |||
<td class='linerow'>$filesize KB</td> | |||
<td class='linerow'>$filetime</td> | |||
@@ -153,7 +153,7 @@ a{text-decoration:none!important} | |||
$reurl = "$activeurl/$file"; | |||
$reurl = preg_replace("#^\.\.#", "", $reurl); | |||
$reurl = $reurl; | |||
$line = "<tr height='26'> | |||
$line = "<tr> | |||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='../../static/web/img/exe.gif'>$file</a></td> | |||
<td class='linerow'>$filesize KB</td> | |||
<td class='linerow'>$filetime</td> | |||
@@ -60,7 +60,7 @@ function GetTagList($dsql,$pageno,$pagesize,$orderby='aid') | |||
{ | |||
global $cfg_phpurl,$addsql; | |||
$start = ($pageno-1) * $pagesize; | |||
$printhead ="<table width='98%' border='0' cellpadding='1' cellspacing='1' align='center' class='table maintable' style='background:#cfcfcf;margin-bottom:10px;'> | |||
$printhead ="<table width='98%' border='0' cellpadding='1' cellspacing='1' align='center' class='table maintable' style='margin-bottom:10px'> | |||
<tr align='center' bgcolor='#FBFCE2'> | |||
<td width='5%' class='tbsname'><a href='javascript:;' onclick=\"ReloadPage('aid')\">ID</a></td> | |||
<td width='20%' class='tbsname'>列表名称</td> | |||
@@ -75,7 +75,7 @@ function GetTagList($dsql,$pageno,$pagesize,$orderby='aid') | |||
while($row = $dsql->GetArray()) | |||
{ | |||
$listurl = GetFreeListUrl($row['aid'],$row['namerule'],$row['listdir'],$row['defaultpage'],$row['nodefault']); | |||
$line = "<tr align='center' bgcolor='#ffffff' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
$line = "<tr align='center' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
<td>{$row['aid']}</td> | |||
<td> <a href='$listurl' target='_blank'>{$row['title']}</a> </td> | |||
<td> {$row['templet']} </td> | |||
@@ -35,15 +35,15 @@ $dedebizUrl = DEDEBIZURL; | |||
$adminMenu1 = $adminMenu2 = ''; | |||
if ($cuserLogin->getUserType() >= 10) { | |||
$adminMenu1 = "<m:top item='7_' name='模板管理' display='block' rank='temp_One,temp_Other,temp_MyTag,temp_test,temp_All'> | |||
<m:item name='默认模板管理' link='templets_main.php' rank='temp_All' target='main'/> | |||
<m:item name='标签源码管理' link='templets_tagsource.php' rank='temp_All' target='main'/> | |||
<m:item name='自定义宏标记' link='mytag_main.php' rank='temp_MyTag' target='main'/> | |||
<m:item name='智能标记向导' link='mytag_tag_guide.php' rank='temp_Other' target='main'/> | |||
<m:item name='全局标记测试' link='tag_test.php' rank='temp_Test' target='main'/> | |||
<m:item name='默认模板管理' link='templets_main.php' rank='temp_All' target='main' /> | |||
<m:item name='标签源码管理' link='templets_tagsource.php' rank='temp_All' target='main' /> | |||
<m:item name='自定义宏标记' link='mytag_main.php' rank='temp_MyTag' target='main' /> | |||
<m:item name='智能标记向导' link='mytag_tag_guide.php' rank='temp_Other' target='main' /> | |||
<m:item name='全局标记测试' link='tag_test.php' rank='temp_Test' target='main' /> | |||
</m:top> | |||
<m:top item='1_7_' name='频道模型' display='block' rank='t_List,t_AccList,c_List,temp_One'> | |||
<m:item name='内容模型管理' link='mychannel_main.php' rank='c_List' target='main' /> | |||
<m:item name='单页文档管理' link='templets_one.php' rank='temp_One' target='main'/> | |||
<m:item name='单页文档管理' link='templets_one.php' rank='temp_One' target='main' /> | |||
<m:item name='联动类别管理' link='stepselect_main.php' rank='c_Stepseclect' target='main' /> | |||
<m:item name='自由列表管理' link='freelist_main.php' rank='c_List' target='main' /> | |||
<m:item name='自定义表单' link='diy_main.php' rank='c_List' target='main' /> | |||
@@ -57,19 +57,15 @@ function GetMenus($userrank, $topos = 'main') | |||
} else { | |||
$addalt = '录入新内容'; | |||
} | |||
if ($ctag2->GetAtt('addico') != '') { | |||
$addico = $ctag2->GetAtt('addico'); | |||
} else { | |||
$addico = '../static/web/img/gtk-sadd.png'; | |||
} | |||
//an add icos , small items use att ischannel='1' addico='ico' addalt='msg' linkadd='' | |||
$link = " <div class='items'> | |||
<div class='fllct'>$link</div> | |||
<div class='flrct'> | |||
<a href='".$ctag2->GetAtt('linkadd')."' target='".$ctag2->GetAtt('target')."'><img src='$addico' alt='$addalt' title='$addalt'/></a> | |||
</div> | |||
</div>"; | |||
$link = "<div class='items'> | |||
<div class='fllct'>$link</div> | |||
<div class='flrct'><a href='".$ctag2->GetAtt('linkadd')."' target='".$ctag2->GetAtt('target')."'><img src='$addico' alt='$addalt' title='$addalt'/></a></div> | |||
</div>"; | |||
} else { | |||
$link .= ""; | |||
} | |||
@@ -78,7 +74,7 @@ function GetMenus($userrank, $topos = 'main') | |||
} | |||
} | |||
echo $footTemplet; | |||
echo "<!-- Item ".($m + 1)." End -->"; | |||
echo "<!--Item".($m + 1)."End-->"; | |||
} | |||
} | |||
}//End Function |
@@ -38,17 +38,17 @@ $menusMain = "<m:top mapitem='1' item='1_' name='常用操作' display='block'> | |||
<m:item name='评论管理' link='feedback_main.php' rank='sys_Feedback' target='main' /> | |||
<m:item name='文档回收站' link='recycling.php' ischannel='1' addalt='清空回收站' addico='../static/web/img/gtk-del.png' linkadd='archives_do.php?dopost=clear&aid=no' rank='a_List' target='main' /> | |||
</m:top> | |||
<m:top mapitem='1' item='1_' name='内容管理' display='block'> | |||
$addset | |||
<m:item name='专题管理' ischannel='1' link='content_s_list.php' linkadd='spec_add.php' channelid='-1' rank='spec_New' target='main' /> | |||
</m:top> | |||
<m:top mapitem='2' item='1_7_' name='频道模型' display='block' rank='t_List,t_AccList,c_List,temp_One'> | |||
<m:top mapitem='1' item='1_7_' name='频道模型' display='block' rank='t_List,t_AccList,c_List,temp_One'> | |||
<m:item name='内容模型管理' link='mychannel_main.php' rank='c_List' target='main' /> | |||
<m:item name='单页文档管理' link='templets_one.php' rank='temp_One' target='main'/> | |||
<m:item name='单页文档管理' link='templets_one.php' rank='temp_One' target='main' /> | |||
<m:item name='联动类别管理' link='stepselect_main.php' rank='c_Stepseclect' target='main' /> | |||
<m:item name='自由列表管理' link='freelist_main.php' rank='c_List' target='main' /> | |||
<m:item name='自定义表单' link='diy_main.php' rank='c_List' target='main' /> | |||
</m:top> | |||
<m:top mapitem='1' item='1_' name='内容管理' display='block'> | |||
$addset | |||
<m:item name='专题管理' ischannel='1' link='content_s_list.php' linkadd='spec_add.php' channelid='-1' rank='spec_New' target='main' /> | |||
</m:top> | |||
<m:top mapitem='3' item='1_' name='批量维护' display='block'> | |||
<m:item name='更新系统缓存' link='sys_cache_up.php' rank='sys_ArcBatch' target='main' /> | |||
<m:item name='文档批量维护' link='content_batch_up.php' rank='sys_ArcBatch' target='main' /> | |||
@@ -63,7 +63,7 @@ $menusMain = "<m:top mapitem='1' item='1_' name='常用操作' display='block'> | |||
<m:item name='附件数据管理' link='media_main.php' rank='sys_Upload,sys_MyUpload' target='main' /> | |||
<m:item name='文件式管理器' link='media_main.php?dopost=filemanager' rank='plus_文件管理器' target='main' /> | |||
</m:top> | |||
<m:top mapitem='1' item='5_' name='更新任务' display='block' notshowall='1' rank='sys_MakeHtml'> | |||
<m:top mapitem='4' item='5_' name='更新任务' display='block' notshowall='1' rank='sys_MakeHtml'> | |||
<m:item name='更新整站' link='makehtml_all.php' rank='sys_MakeHtml' target='main' /> | |||
<m:item name='更新首页' link='makehtml_homepage.php' rank='sys_MakeHtml' target='main' /> | |||
<m:item name='更新栏目' link='makehtml_list.php' rank='sys_MakeHtml' target='main' /> | |||
@@ -89,12 +89,12 @@ $menusMain = "<m:top mapitem='1' item='1_' name='常用操作' display='block'> | |||
<m:item name='支付接口设置' link='sys_payment.php' .php' rank='sys_Data' target='main' /> | |||
<m:item name='配货方式设置' link='shops_delivery.php' rank='sys_Data' target='main' /> | |||
</m:top> | |||
<m:top mapitem='1' item='7_' name='模板管理' display='block' rank='temp_One,temp_Other,temp_MyTag,temp_test,temp_All'> | |||
<m:item name='默认模板管理' link='templets_main.php' rank='temp_All' target='main'/> | |||
<m:item name='标签源码管理' link='templets_tagsource.php' rank='temp_All' target='main'/> | |||
<m:item name='自定义宏标记' link='mytag_main.php' rank='temp_MyTag' target='main'/> | |||
<m:item name='智能标记向导' link='mytag_tag_guide.php' rank='temp_Other' target='main'/> | |||
<m:item name='全局标记测试' link='tag_test.php' rank='temp_Test' target='main'/> | |||
<m:top mapitem='4' item='7_' name='模板管理' display='block' rank='temp_One,temp_Other,temp_MyTag,temp_test,temp_All'> | |||
<m:item name='默认模板管理' link='templets_main.php' rank='temp_All' target='main' /> | |||
<m:item name='标签源码管理' link='templets_tagsource.php' rank='temp_All' target='main' /> | |||
<m:item name='自定义宏标记' link='mytag_main.php' rank='temp_MyTag' target='main' /> | |||
<m:item name='智能标记向导' link='mytag_tag_guide.php' rank='temp_Other' target='main' /> | |||
<m:item name='全局标记测试' link='tag_test.php' rank='temp_Test' target='main' /> | |||
</m:top> | |||
<m:top mapitem='2' item='10_' name='系统设置' display='block' rank='sys_User,sys_Group,sys_Edit,sys_Log,sys_Data'> | |||
<m:item name='系统配置变量' link='sys_info.php' rank='sys_Edit' target='main' /> | |||
@@ -682,7 +682,7 @@ $(document).ready(function () { | |||
//截取缩略图 | |||
function SetThumb(srcURL) { | |||
var footer = | |||
"<p><a href='javascript:useDefault(\"~modalID~\");' class='btn btn-success'>使用原图</a> <a href='javascript:okImage(\"~modalID~\")' class='btn btn-success'>确定</a></p>"; | |||
"<p><a href='javascript:useDefault(\"~modalID~\");' class='btn btn-success btn-sm'>使用原图</a> <a href='javascript:okImage(\"~modalID~\")' class='btn btn-success btn-sm'>确定</a></p>"; | |||
var optButton = `<p><div class="form-group"> | |||
<label for="aspectRatio">比例</label> | |||
<select class="form-control" id="aspectRatio" onchange="setAspectRatio(this.selectedIndex)"> | |||
@@ -32,5 +32,5 @@ $dtp->LoadTemplet($tmpfile); | |||
$dtp->SaveTo($cfg_basedir.$murl); | |||
$dtp->Clear(); | |||
echo "<link rel=\"stylesheet\" href=\"{$cfg_cmsurl}/static/web/css/bootstrap.min.css\"><style>.modal {position: static;}</style>"; | |||
echo "<div class=\"alert alert-success\" role=\"alert\">成功更新文件: $murl <a href='$murl' target='_blank' class='btn btn-success'>浏览</a></div>"; | |||
echo "<div class=\"alert alert-success\" role=\"alert\">成功更新文件: $murl <a href='$murl' target='_blank' class='btn btn-success btn-sm'>浏览</a></div>"; | |||
exit(); |
@@ -143,7 +143,7 @@ else if ($action == 'setup') { | |||
foreach ($prvdirs as $k => $v) { | |||
if ($v) $cw = '√'; | |||
else $cw = '<span style="color:#dc3545">×</span>'; | |||
$prvdir .= "<tr bgcolor='#ffffff'><td>$k</td>"; | |||
$prvdir .= "<tr><td>$k</td>"; | |||
$prvdir .= "<td align='center'>$cw</td></tr>\r\n"; | |||
} | |||
$prvdir .= "</table>"; | |||
@@ -162,11 +162,11 @@ else if ($action == 'setup') { | |||
$win->AddTitle(" <a href='module_main.php'>模块管理</a> > 安装模块:{$infos['name']}"); | |||
$win->AddHidden("hash", $hash); | |||
$win->AddHidden("action", 'setupstart'); | |||
$msg = "<style>.dtb{border-bottom:1px dotted #ccc}</style> | |||
$msg = "<style>.dtb{border-bottom:1px dotted #eee}</style> | |||
<table width='98%' border='0' cellspacing='0' cellpadding='0' class='table'> | |||
<tr> | |||
<td width='20%' height='26' class='dtb'>模块名称:</td> | |||
<td width='80%' class='dtb'>{$infos['name']}</td> | |||
<td width='260' height='26' class='dtb'>模块名称:</td> | |||
<td class='dtb'>{$infos['name']}</td> | |||
</tr> | |||
<tr> | |||
<td height='26' class='dtb'>语言:</td> | |||
@@ -189,16 +189,16 @@ else if ($action == 'setup') { | |||
<td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank' class='btn btn-success btn-sm'>浏览</a></td> | |||
</tr> | |||
<tr> | |||
<td height='30' class='dtb' colspan='2'> | |||
<td height='26' class='dtb' colspan='2'> | |||
<div class='alert alert-danger'>注意事项:安装时请确保文件列表中涉及的目录前可写入权限,此外“后台管理目录”、“后台管理目录/templets”目录也必须暂时设置可写入权限</div> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height='30'>目录权限检测:<br> ../ 为根目录 <br> ./ 表示当前目录</td> | |||
<td height='26'>目录权限检测:<br> ../ 为根目录 <br> ./ 表示当前目录</td> | |||
<td>$prvdir</td> | |||
</tr> | |||
<tr> | |||
<td height='30'>模块包含的所有文件列表:</td> | |||
<td height='26'>模块包含的所有文件列表:</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
@@ -297,11 +297,11 @@ else if ($action == 'del') { | |||
$win->AddTitle("<a href='module_main.php'>模块管理</a> > 删除模块:{$infos['name']}"); | |||
$win->AddHidden('hash', $hash); | |||
$win->AddHidden('action', 'delok'); | |||
$msg = "<style>.dtb{border-bottom:1px dotted #ccc}</style> | |||
$msg = "<style>.dtb{border-bottom:1px dotted #eee}</style> | |||
<table width='98%' border='0' cellspacing='0' cellpadding='0' class='table'> | |||
<tr> | |||
<td width='20%' height='26' class='dtb'>模块名称:</td> | |||
<td width='80%' class='dtb'>{$infos['name']}</td> | |||
<td width='260' height='26' class='dtb'>模块名称:</td> | |||
<td class='dtb'>{$infos['name']}</td> | |||
</tr> | |||
<tr> | |||
<td height='26' class='dtb'>语言:</td> | |||
@@ -362,11 +362,11 @@ else if ($action == 'uninstall') { | |||
$win->AddTitle("<a href='module_main.php'>模块管理</a> > 卸载模块:{$infos['name']}"); | |||
$win->AddHidden("hash", $hash); | |||
$win->AddHidden("action", 'uninstallok'); | |||
$msg = "<style>.dtb{border-bottom:1px dotted #ccc}</style> | |||
$msg = "<style>.dtb{border-bottom:1px dotted #eee}</style> | |||
<table width='98%' border='0' cellspacing='0' cellpadding='0' class='table'> | |||
<tr> | |||
<td width='20%' height='26' class='dtb'>模块名称:</td> | |||
<td width='80%' class='dtb'>{$infos['name']}</td> | |||
<td width='260' height='26' class='dtb'>模块名称:</td> | |||
<td class='dtb'>{$infos['name']}</td> | |||
</tr> | |||
<tr> | |||
<td height='26' class='dtb'>语言:</td> | |||
@@ -503,11 +503,11 @@ else if ($action == 'view') { | |||
$win->Init("", "js/blank.js", ""); | |||
$wecome_info = "模块管理"; | |||
$win->AddTitle("<a href='module_main.php'>模块管理</a> > 模块详情:{$infos['name']}"); | |||
$msg = "<style>.dtb{border-bottom:1px dotted #ccc}</style> | |||
$msg = "<style>.dtb{border-bottom:1px dotted #eee}</style> | |||
<table width='98%' border='0' cellspacing='0' cellpadding='0'> | |||
<tr> | |||
<td width='20%' height='26' class='dtb'>模块名称:</td> | |||
<td width='80%' class='dtb'>{$infos['name']}</td> | |||
<td width='260' height='26' class='dtb'>模块名称:</td> | |||
<td class='dtb'>{$infos['name']}</td> | |||
</tr> | |||
<tr> | |||
<td height='26' class='dtb'>语言:</td> | |||
@@ -79,20 +79,21 @@ if ($action == 'upload') { | |||
$wecome_info = "<a href='module_main.php'>模块管理</a> > 上传模块"; | |||
$win->AddTitle('请选择要上传的文件:'); | |||
$win->AddHidden("action", 'upload'); | |||
$msg = "<table width='600' border='0' cellspacing='0' cellpadding='0'> | |||
$msg = "<table width='900' border='0' cellspacing='0' cellpadding='0'> | |||
<tr> | |||
<td height='26'>文件格式:</td> | |||
<td> | |||
<td width='260' height='26'>文件格式:</td> | |||
<td height='26'> | |||
<label><input name='filetype' type='radio' value='0' checked='checked' /> 正常的模块包</label> | |||
<label><input type='radio' name='filetype' value='1' /> 经过 zip 压缩的模块包</label></td> | |||
<label><input type='radio' name='filetype' value='1' /> 经过 zip 压缩的模块包</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height='26'>已有模块:</td> | |||
<td><label><input name='delhas' type='checkbox' id='delhas' value='1' /> 强制删除同名模块(这可能导致已经安装的模块无法卸载)</label></td> | |||
<td height='26'><label><input name='delhas' type='checkbox' id='delhas' value='1' /> 强制删除同名模块(这可能导致已经安装的模块无法卸载)</label></td> | |||
</tr> | |||
<tr> | |||
<td width='96' height='60'>请选择文件:</td> | |||
<td width='504'><input name='upfile' type='file' id='upfile' style='width:380px' /></td> | |||
<td height='26'>请选择文件:</td> | |||
<td height='26'><input name='upfile' type='file' id='upfile' style='width:380px' /></td> | |||
</tr> | |||
</table>"; | |||
$win->AddMsgItem("<div style='line-height:26px'>$msg</div>"); | |||
@@ -79,7 +79,7 @@ function GetKeywordList($dsql, $pageno, $pagesize, $orderby = 'aid') | |||
$dsql->Execute(); | |||
while ($row = $dsql->GetArray()) { | |||
$line = " | |||
<tr align='center' bgcolor='#ffffff' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
<tr align='center' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
<td height='26'><input name=\"aids[]\" type=\"checkbox\" class=\"np\" value=\"{$row['aid']}\" /></td> | |||
<td height='26'>{$row['aid']}</td> | |||
<td style='padding:6px;'><input name='keyword' type='text' id='keyword{$row['aid']}' value='{$row['keyword']}' style='width:93%;'></td> | |||
@@ -95,7 +95,7 @@ function GetKeywordList($dsql, $pageno, $pagesize, $orderby = 'aid') | |||
"; | |||
echo $line; | |||
} | |||
echo "<tr align='left' bgcolor='#ffffff' height='30'> | |||
echo "<tr align='left' height='30'> | |||
<td colspan='8' style='padding-left:10px;'> | |||
<a href='javascript:selAll()' class='btn btn-success btn-sm'>反选</a> | |||
<a href='javascript:noselAll()' class='btn btn-success btn-sm'>取消</a> | |||
@@ -17,7 +17,6 @@ if (isset($dopost) && $dopost == 'getone') { | |||
$y = intval(MyDate('Y', time())); | |||
$m = intval(MyDate('m', time())); | |||
$d = intval(MyDate('d', time())); | |||
//全部 | |||
$sql = "SELECT addtable FROM `#@__channeltype` WHERE issystem='-1'"; | |||
$dsql->Execute('me', $sql); | |||
@@ -31,7 +30,6 @@ if (isset($dopost) && $dopost == 'getone') { | |||
$row = $dsql->GetOne("SELECT COUNT(id) AS dd,SUM(click) AS cc FROM `#@__archives` WHERE mid='$uid'; "); | |||
$dd = $row['dd'] + $dd; | |||
$cc = $row['cc'] + $cc; | |||
//季度 | |||
$starttime = 0; | |||
if (preg_match("#[123]#", $m) && $m < 10) $starttime = $y."-01-01 00:00:00"; | |||
@@ -51,7 +49,6 @@ if (isset($dopost) && $dopost == 'getone') { | |||
$row = $dsql->GetOne("SELECT COUNT(id) AS dd,SUM(click) AS cc FROM `#@__archives` WHERE senddate>$istarttime AND mid='$uid'; "); | |||
$dds = $row['dd'] + $dds; | |||
$ccs = $row['cc'] + $ccs; | |||
//当月 | |||
$starttime = $y."-{$m}-01 00:00:00"; | |||
$istarttime = GetMkTime($starttime); | |||
@@ -67,7 +64,6 @@ if (isset($dopost) && $dopost == 'getone') { | |||
$row = $dsql->GetOne("SELECT COUNT(id) AS dd,SUM(click) AS cc FROM `#@__archives` WHERE senddate>$istarttime AND mid='$uid'; "); | |||
$ddm = $row['dd'] + $ddm; | |||
$ccm = $row['cc'] + $ccm; | |||
//本周 | |||
$starttime = $y."-{$m}-{$d} 00:00:00"; | |||
$istarttime = GetMkTime($starttime) - (7 * 24 * 3600); | |||
@@ -83,7 +79,6 @@ if (isset($dopost) && $dopost == 'getone') { | |||
$row = $dsql->GetOne("SELECT COUNT(id) AS dd,SUM(click) AS cc FROM `#@__archives` WHERE senddate>$istarttime AND mid='$uid'; "); | |||
$ddw = $row['dd'] + $ddw; | |||
$ccw = $row['cc'] + $ccw; | |||
//当天 | |||
$starttime = $y."-{$m}-{$d} 00:00:00"; | |||
$istarttime = GetMkTime($starttime); | |||
@@ -99,7 +94,6 @@ if (isset($dopost) && $dopost == 'getone') { | |||
$row = $dsql->GetOne("SELECT COUNT(id) AS dd,SUM(click) AS cc FROM `#@__archives` WHERE senddate>$istarttime AND mid='$uid'; "); | |||
$ddd = $row['dd'] + $ddd; | |||
$ccd = $row['cc'] + $ccd; | |||
$msg = "<table width='100%' border='0' align='center' cellpadding='3' cellspacing='1'> | |||
<tr align='center' bgcolor='#FBFCE2'> | |||
<td width='18%' height='26'>管理员::统计信息</td> | |||
@@ -109,7 +103,7 @@ if (isset($dopost) && $dopost == 'getone') { | |||
<td width='16%'>近七天</td> | |||
<td width='16%'>当天</td> | |||
</tr> | |||
<tr align='center' bgcolor='#ffffff'> | |||
<tr align='center'> | |||
<td height='26'>{$userid}</td> | |||
<td>{$dd} | {$cc}</td> | |||
<td>{$dds} | {$ccs}</td> | |||
@@ -122,5 +116,4 @@ if (isset($dopost) && $dopost == 'getone') { | |||
echo $msg; | |||
exit(); | |||
} | |||
include DedeInclude('templets/sys_admin_user_tj.htm'); | |||
include DedeInclude('templets/sys_admin_user_tj.htm'); |
@@ -114,7 +114,7 @@ EOT; | |||
$row['info'] = preg_replace("#{$keywords}#", '<span style="color:#dc3545">'.$keywords.'</span>', $row['info']); | |||
$row['varname'] = preg_replace("#{$keywords}#", '<span style="color:#dc3545">'.$keywords.'</span>', $row['varname']); | |||
?> | |||
<tr align="center" height="26" bgcolor="<?php echo $bgcolor ?>"> | |||
<tr height="26" align="center" bgcolor="<?php echo $bgcolor ?>"> | |||
<td width="300"><?php echo $row['info']; ?>:</td> | |||
<td align="left" style="padding:6px;"> | |||
<?php | |||
@@ -104,7 +104,7 @@ else if ($dopost == 2) { | |||
} | |||
} | |||
$msg .= "※总有效记录数:{$allarcnum} <br> "; | |||
$errall = "<a href='index_body.php' class='btn btn-success'>完成修正</a>"; | |||
$errall = "<a href='index_body.php' class='btn btn-success btn-sm'>完成修正</a>"; | |||
$row = $dsql->GetOne("SELECT COUNT(*) AS dd FROM `#@__arctiny` "); | |||
$msg .= "※微统计表记录数:{$row['dd']}<br>"; | |||
if ($row['dd'] == $allarcnum) { | |||
@@ -206,7 +206,7 @@ else if ($dopost == 3) { | |||
完成所有修复操作,移除错误记录 {$errnum} 条 | |||
<hr /> | |||
<br> | |||
<a href='index_body.php' class='btn btn-success'>完成修正</a> | |||
<a href='index_body.php' class='btn btn-success btn-sm'>完成修正</a> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -8,14 +8,14 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif">当前位置 > 搜索结果</td> | |||
</tr> | |||
<tr align="center" bgcolor="#f8f8f8" height="26"> | |||
<td align="left">"<span style='color:#dc3545'><?php echo $keyword; ?></span>"的搜索结果</td> | |||
</tr> | |||
<tr align="center" bgcolor="#ffffff" height="26"> | |||
<tr height="26" align="center"> | |||
<td align="center"> | |||
<?php foreach ($asresult as $row) {?> | |||
<table width="98%" border="0" cellspacing="5" cellpadding="0" class="table table-borderless"> | |||
@@ -75,12 +75,12 @@ | |||
</head> | |||
<body> | |||
<form action="ad_add.php" method="post" name="form1" onSubmit="return checkSubmit()"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="ad_main.php">广告管理</a> > 增加广告位置</td> | |||
</tr> | |||
<tr> | |||
<td height="200" bgcolor="#ffffff"> | |||
<td> | |||
<table width="100%" border="0" cellspacing="4" cellpadding="4" class="table table-borderless"> | |||
<input name="normbody[style]" type="hidden" value="code" id="adstyle"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>"> | |||
@@ -89,7 +89,7 @@ | |||
<td height="26" colspan="3">广告代码的调用方法:{dede:myad name='广告位标识'/} </td> | |||
</tr> | |||
<tr> | |||
<td width="160" height="26">广告位标识:</td> | |||
<td height="26">广告位标识:</td> | |||
<td colspan="2"><input name="tagname" type="text" id="tagname" class="iptxt" style="width:260px">(使用英文或数字表示的简洁标识)</td> | |||
</tr> | |||
<tr> | |||
@@ -106,8 +106,8 @@ | |||
<td colspan="2"><?php | |||
$tl = new TypeLink(0); | |||
$typeOptions = $tl->GetOptionArray(0,0,0); | |||
echo "<select name='typeid' style='width:160px'>\r\n"; | |||
echo "<option value='0' selected>投放在没有同名标识的所有栏目</option>\r\n"; | |||
echo "<select name='typeid' style='width:160px'>"; | |||
echo "<option value='0' selected>投放在没有同名标识的所有栏目</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -149,7 +149,7 @@ | |||
</div> | |||
<div id='advert'></div> | |||
</td> | |||
<td width="9%"></td> | |||
<td width="10%"></td> | |||
</tr> | |||
<tr> | |||
<td height="80">过期显示内容:</td> | |||
@@ -157,7 +157,7 @@ | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td colspan="3" align="center" class="py-3"><button type="submit" class="btn btn-success">保存</button></td> | |||
<td colspan="3" align="center" class="py-3"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -168,7 +168,7 @@ | |||
<div class="content" id="code" style="display:none"> | |||
<table width="80%" cellpadding="3" cellspacing="1" class="i_table"> | |||
<tr class="b"> | |||
<td width="160">广告代码:<br> | |||
<td width="260">广告代码:<br> | |||
请填写广告代码,支持html代码</td> | |||
<td><textarea name="normbody[htmlcode]" style="width:380px;height:100px"></textarea></td> | |||
</tr> | |||
@@ -177,7 +177,7 @@ | |||
<div class="content" id="txt" style="display:none"> | |||
<table width="80%" cellpadding=3 cellspacing=1 class='i_table'> | |||
<tr> | |||
<td class="b" width="160">文字内容 *</td> | |||
<td class="b" width="260">文字内容 *</td> | |||
<td class="b"><input type="text" name="normbody[title]" value="" class="iptxt" style="width:360px"></td> | |||
</tr> | |||
<tr> | |||
@@ -197,7 +197,7 @@ | |||
<div class="content" id="img" style="display:none"> | |||
<table width="80%" cellpadding=3 cellspacing=1 class='i_table'> | |||
<tr> | |||
<td class="b" width="160">图片地址 *</td> | |||
<td class="b" width="260">图片地址 *</td> | |||
<td class="b"><input type="text" name="normbody[url]" value="" class="iptxt" style="width:360px"></td> | |||
</tr> | |||
<tr> | |||
@@ -221,7 +221,7 @@ | |||
<div class="content" id="flash" style="display:none"> | |||
<table width="80%" cellpadding=3 cellspacing=1 class='i_table'> | |||
<tr> | |||
<td class="b" width="160">flash链接</td> | |||
<td class="b" width="260">flash链接</td> | |||
<td class="b"><input type="text" name="normbody[link]" value="" class="iptxt" style="width:360px"></td> | |||
</tr> | |||
<tr> | |||
@@ -44,12 +44,12 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="ad_main.php">广告管理</a> > 修改广告</td> | |||
</tr> | |||
<tr> | |||
<td height="200" bgcolor="#ffffff"> | |||
<td> | |||
<table width="100%" border="0" cellspacing="4" cellpadding="4" class="table table-borderless"> | |||
<form action="ad_edit.php" method="post" enctype="multipart/form-data" name="form1"> | |||
<input type='hidden' name='aid' value='<?php echo $aid?>'> | |||
@@ -68,12 +68,12 @@ | |||
</select></td> | |||
</tr> | |||
<tr> | |||
<td width="15%" height="26">广告投放范围:</td> | |||
<td height="26">广告投放范围:</td> | |||
<td colspan="2"><?php | |||
$tl = new TypeLink(0); | |||
$typeOptions = $tl->GetOptionArray($row['typeid'],0,0); | |||
echo "<select name='typeid' style='width:260px'>\r\n"; | |||
echo "<option value='0' selected>投放在没有同名标识的所有栏目</option>\r\n"; | |||
echo "<select name='typeid' style='width:260px'>"; | |||
echo "<option value='0' selected>投放在没有同名标识的所有栏目</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -105,7 +105,7 @@ | |||
<td height="80">正常显示内容:</td> | |||
<td width="70%"><textarea name="normbody" rows="10" id="normbody" style="width:80%;height:100px"><?php echo dede_htmlspecialchars(stripslashes($row['normbody']))?></textarea> | |||
</td> | |||
<td width="9%"></td> | |||
<td width="10%"></td> | |||
</tr> | |||
<tr> | |||
<td height="80">过期显示内容:</td> | |||
@@ -113,7 +113,7 @@ | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td colspan="3" align="center" class="py-3"><button type="submit" class="btn btn-success">保存</button></td> | |||
<td colspan="3" align="center" class="py-3"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
</form> | |||
</table> | |||
@@ -9,37 +9,32 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif" colspan="7" style="padding-left:10px">广告管理 <a href="ad_add.php" class="btn btn-success btn-sm">增加一个新广告</a><a href="adtype_main.php" class="btn btn-success btn-sm">广告分类管理</a></td> | |||
<td height="26" background="../static/web/img/tbg.gif" colspan="7" style="padding-left:10px">广告管理<a href="ad_add.php" class="btn btn-success btn-sm ml-3">增加一个新广告</a><a href="adtype_main.php" class="btn btn-success btn-sm">广告分类管理</a></td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="7" style="padding-left:10px" bgcolor="#ffffff"> | |||
<table style="width:70%;" class="table-borderless"> | |||
<tr> | |||
<form action='ad_main.php' method='get' name='form3' id="form3"> | |||
<input type='hidden' name='dopost' value='listArchives' /> | |||
<td> | |||
<table border='0' cellpadding='0' cellspacing='0' class="table table-borderless"> | |||
<tr> | |||
<td width='90' align='center'>请选择分类:</td> | |||
<td width='124'><select name='clsid' style='width:160px' id="clsid"> | |||
<option value='0'>默认分类</option> | |||
<?php echo $option; ?> | |||
</select> | |||
</td> | |||
<td width='70'> 关键词:</td> | |||
<td width='185'><input type='text' name='keyword' style='width:160px' /></td> | |||
<td width="130"><button type="submit" class="btn btn-success">搜索</button></td> | |||
</tr> | |||
</table> | |||
<td height="26" colspan="7" style="padding-left:10px"> | |||
<form action="ad_main.php" method="get" name="form3" id="form3"> | |||
<input type="hidden" name="dopost" value="listArchives"> | |||
<table class="table-borderless"> | |||
<tr> | |||
<td width="90">请选择分类:</td> | |||
<td width="170"> | |||
<select name="clsid" id="clsid" style="width:160px"> | |||
<option value="0">默认分类</option> | |||
<?php echo $option; ?> | |||
</select> | |||
</td> | |||
</form> | |||
</tr> | |||
</table> | |||
<td width="90">关键词:</td> | |||
<td width="170"><input type="text" name="keyword" style="width:160px"></td> | |||
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td> | |||
</tr> | |||
</table> | |||
</form> | |||
</td> | |||
</tr> | |||
<tr align="center" bgcolor="#FBFCE2"" height=" 24"> | |||
<tr align="center" bgcolor="#FBFCE2" height="26"> | |||
<td width="8%">编号</td> | |||
<td width="20%">分类</td> | |||
<td width="20%">广告名称</td> | |||
@@ -49,7 +44,7 @@ | |||
<td width="18%">管理</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | |||
<tr align="center" bgcolor="#ffffff" height="26" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td>{dede:field.aid /}</td> | |||
<td>{dede:field.clsname function='TestType(@me,1)'/}</td> | |||
<td>{dede:field.adname /}</td> | |||
@@ -3,13 +3,15 @@ | |||
<head> | |||
<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"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form name="form1" action="adtype_main.php" method="post"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif" colspan="7" style="padding-left:10px"><input type="hidden" name="dopost" value="save"/>广告分类管理 <a href="ad_main.php">[广告管理]</a></td> | |||
<td height="26" background="../static/web/img/tbg.gif" colspan="7" style="padding-left:10px"><input type="hidden" name="dopost" value="save"/>广告分类管理<a href="ad_main.php" class="btn btn-success btn-sm ml-3">广告管理</a></td> | |||
</tr> | |||
<tr bgcolor="#FBFCE2"> | |||
<td width="9%" height="26" align="center">类型ID</td> | |||
@@ -24,10 +26,10 @@ | |||
{ | |||
$k++; | |||
?> | |||
<tr align="center" bgcolor="#ffffff"> | |||
<tr align="center"> | |||
<td height="26"><input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id?>"/><?php echo $row->id; ?></td> | |||
<td height="26"><input name="pname_<?php echo $k?>" value="<?php echo $row->typename?>" type="text" id="pname_<?php echo $k?>" class='pubinputs' style="width:90%"></td> | |||
<td><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked='1' class='np' /> 保留</td> | |||
<td><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked='1' class='np'> 保留</td> | |||
</tr> | |||
<?php | |||
} | |||
@@ -36,9 +38,9 @@ | |||
<tr bgcolor="#F8FCF1"> | |||
<td height="26" colspan="5" bgcolor="#f8f8f8">新增一个广告类型:</td> | |||
</tr> | |||
<tr height="26" align="center" bgcolor="#ffffff"> | |||
<tr height="26" align="center"> | |||
<td colspan="2"><input name="pname_new" type="text" id="pname_new" class='pubinputs' style="width:90%"></td> | |||
<td align="center" bgcolor="#ffffff"><input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np' /> 新增 </td> | |||
<td align="center"><input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np'> 新增 </td> | |||
</tr> | |||
<tr> | |||
<td height="30" colspan="5" align="center" bgcolor="#f8f8f8"><input name="imageField" type="submit" class="np coolbg" value="确定"></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="65%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">图集列表</a> > 发布图集</td> | |||
<td width="70%" height="30"><img src="../static/web/img/book1.gif"><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> | |||
@@ -94,7 +94,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="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="400"><input name="title" type="text" id="title" value="" style="width:380px"></td> | |||
@@ -106,7 +106,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td width="400%" 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> | |||
@@ -128,7 +128,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr id="redirecturltr" style="display:none"> | |||
<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><input name="redirecturl" type="text" id="redirecturl" value="" style="width:300px"></td> | |||
@@ -138,7 +138,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td width="400%" height="26" 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> | |||
@@ -150,25 +150,25 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr id="pictable"> | |||
<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> | |||
<input name="picname" type="text" id="picname" style="width:300px"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' /> 远程</label> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote'> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button> | |||
<button id="btnClearAll" type="button" class="btn btn-sm btn-success delete">清空</button> | |||
<label><input type='checkbox' class='np' name='ddisfirst' value='1' /> 使用图集的第一幅图</label> | |||
<label><input type='checkbox' class='np' name='ddisfirst' value='1'> 使用图集的第一幅图</label> | |||
</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="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"> | |||
@@ -215,13 +215,13 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr id='typeid2tr' style='display:none'> | |||
<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> | |||
<span id='typeid2ct'></span> | |||
<input type='text' name='typeid2' id='typeid2' value='' style='width:160px'> | |||
<img src='../static/web/img/menusearch2.gif' style='cursor:pointer' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title='选择副栏目' /> | |||
<img src='../static/web/img/menusearch2.gif' style='cursor:pointer' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title='选择副栏目'> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -229,7 +229,7 @@ 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> | |||
@@ -245,7 +245,7 @@ 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><textarea name="description" id="description" style="width:360px;height:50px"></textarea></td> | |||
@@ -258,18 +258,18 @@ 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> | |||
<label><input name="pagestyle" class="np" type="radio" id="pagestyle1" onClick="checkMuList()" value="1" <?php if($cfg_album_style==1) echo " checked='checked'"; ?> /> | |||
<img src='../static/web/img/alb2.jpg' title='单页多图样式' /></label> | |||
<img src='../static/web/img/alb2.jpg' title='单页多图样式'></label> | |||
| |||
<label><input name="pagestyle" class="np" type="radio" id="pagestyle2" onClick="checkMuList()" value="2" <?php if($cfg_album_style==2) echo " checked='checked'"; ?> /> | |||
<img src='../static/web/img/alb1.jpg' title='幻灯片样式' /></label> | |||
<img src='../static/web/img/alb1.jpg' title='幻灯片样式'></label> | |||
| |||
<label><input name="pagestyle" class="np" type="radio" id="pagestyle3" onClick="checkMuList()" value="3" <?php if($cfg_album_style==3) echo " checked='checked'"; ?> /> | |||
<img src='../static/web/img/alb3.jpg' title='多缩略图样式' /></label> | |||
<img src='../static/web/img/alb3.jpg' title='多缩略图样式'></label> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -277,7 +277,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr id='cfgmulist' style='display:none'> | |||
<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 height="26"> 多列式参数:</td> | |||
<td> | |||
@@ -295,17 +295,17 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr id='spagelist' style='display:none'> | |||
<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><input name='pagepicnum' type='text' id='pagpicnum' size='10' value='<?php echo $cfg_album_pagesize; ?>' /> 单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td> | |||
<td><input name='pagepicnum' type='text' id='pagpicnum' size='10' value='<?php echo $cfg_album_pagesize; ?>'> 单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</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> | |||
@@ -321,7 +321,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr id="zipff" style="display:none"> | |||
<td colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0" height="100"> | |||
<table width="900" border="0" cellspacing="0" cellpadding="0" height="100"> | |||
<tr> | |||
<td width="90"> 压缩包文件:</td> | |||
<td><input type='text' name='zipfile' id='zipfile' style='width:260px'> | |||
@@ -334,14 +334,14 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr id="htmlfield" style="display:none"> | |||
<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>复制的源网址:<input name='copysource' type='text' value='http://' style='width:250px' />(防盗链网站需填写您复制图片的其中一个网页网址)<br> | |||
<td>复制的源网址:<input name='copysource' type='text' value='http://' style='width:260px'>(防盗链网站需填写您复制图片的其中一个网页网址)<br> | |||
把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片 | |||
<input type="button" name="button" id="button" value="预览" onClick="LoadTestDiv()"> | |||
<br> | |||
<div id='copyhtml' style='margin-top:6px;margin-bottom:6px;border:solid 1px #CCCCCC;width:96%;padding:6px;height:250px;width:100%' contenteditable="true">粘贴到这里</div> | |||
<div id='copyhtml' style='margin-top:6px;margin-bottom:6px;border:solid 1px #CCCCCC;width:96%;padding:6px;height:260px;width:100%' contenteditable="true">粘贴到这里</div> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -349,7 +349,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td width="100%" 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="36"> 手工上传:</td> | |||
<td><span class="btn btn-success btn-sm fileinput-button"><i class="glyphicon glyphicon-plus"></i> 选择本地图片(支持多选)<input type="file" name="files[]" id="iptAlbumImages" multiple></span></td> | |||
@@ -371,7 +371,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 图集内容:</td> | |||
<td> <?php GetEditor("body","",450,"Diy"); ?></td> | |||
@@ -384,7 +384,7 @@ table{border-collapse:separate} | |||
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #dee2e6;background:#ffffff;display:none"> | |||
<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" width="250"> 评论选项:</td> | |||
<td width="250"> | |||
@@ -405,7 +405,7 @@ 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"> <select name="sortup" id="sortup" style="width:160px"> | |||
@@ -427,7 +427,7 @@ 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"><select name="arcrank" id="arcrank" style="width:160px"> | |||
@@ -450,7 +450,7 @@ 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"> | |||
@@ -469,8 +469,8 @@ table{border-collapse:separate} | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success btn-sm">重置</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -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="65%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives">图集列表</a> > 修改图集</td> | |||
<td width="70%" height="30"><img src="../static/web/img/book1.gif"><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> | |||
@@ -91,9 +91,9 @@ table{border-collapse:separate} | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6;background:#ffffff;"> | |||
<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="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<td height="26" colspan="4" class="bline"><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 $arcRow['title']; ?>" style="width:380px"></td> | |||
@@ -105,7 +105,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td width="400%" 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> | |||
@@ -117,7 +117,7 @@ table{border-collapse:separate} | |||
if($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'"; | |||
else $jumpclick = ''; | |||
if(preg_match("#".$trow->att."#", $arcRow['flag'])) | |||
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked' /> {$trow->attname}[{$trow->att}]</label> "; | |||
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label> "; | |||
else | |||
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} /> {$trow->attname}[{$trow->att}]</label> "; | |||
} | |||
@@ -128,7 +128,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block'); ?>"> | |||
<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="<?php echo $addRow['redirecturl']?>" style="width:300px"></td> | |||
@@ -138,7 +138,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td width="400%" height="26" 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="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td> | |||
@@ -150,7 +150,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr id="pictable"> | |||
<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="80"> 缩略图:</td> | |||
<td> | |||
@@ -165,7 +165,7 @@ table{border-collapse:separate} | |||
</table></td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<td height="26" colspan="4" class="bline"><table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 来源:</td> | |||
<td width="250"> | |||
@@ -207,7 +207,7 @@ table{border-collapse:separate} | |||
?> | |||
<tr> | |||
<td height="26" 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> | |||
@@ -221,7 +221,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" 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><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:360px"></td> | |||
@@ -231,7 +231,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" 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 $arcRow['description']?></textarea></td> | |||
@@ -248,7 +248,7 @@ table{border-collapse:separate} | |||
?></td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<td height="26" colspan="4" class="bline"><table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 图集内容:</td> | |||
<td><?php GetEditor("body",$body,450,"Diy"); ?></td> | |||
@@ -261,7 +261,7 @@ 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" width="250"> 评论选项:</td> | |||
<td width="250"> | |||
@@ -282,7 +282,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" 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"> | |||
@@ -309,7 +309,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" 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"> | |||
@@ -333,7 +333,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="70" 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"> | |||
@@ -350,26 +350,26 @@ table{border-collapse:separate} | |||
</tr> | |||
</table> | |||
<!--高级参数--> | |||
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #dee2e6;background:#ffffff;display:none"> | |||
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #dee2e6;background:#ffffff;display:none"> | |||
<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> | |||
<label><input name="pagestyle" class="np" type="radio" id="pagestyle1" onClick="checkMuList()" value="1"<?php if($pagestyle==1) echo " checked='checked'"; ?> /> | |||
<img src='../static/web/img/alb2.jpg' alt='单页多图样式' title='单页多图样式' /></label> | |||
<img src='../static/web/img/alb2.jpg' alt='单页多图样式' title='单页多图样式'></label> | |||
<label><input name="pagestyle" class="np" type="radio" id="pagestyle2" onClick="checkMuList()" value="2"<?php if($pagestyle==2) echo " checked='checked'"; ?> /> | |||
<img src='../static/web/img/alb1.jpg' alt='幻灯片样式' title='幻灯片样式' /></label> | |||
<img src='../static/web/img/alb1.jpg' alt='幻灯片样式' title='幻灯片样式'></label> | |||
<label><input name="pagestyle" class="np" type="radio" id="pagestyle3" onClick="checkMuList()" value="3"<?php if($pagestyle==3) echo " checked='checked'"; ?>/> | |||
<img src='../static/web/img/alb3.jpg' alt='多缩略图样式' title='多缩略图样式' /></label></td> | |||
<img src='../static/web/img/alb3.jpg' alt='多缩略图样式' title='多缩略图样式'></label></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr id='cfgmulist' style='<?php if($pagestyle!=3) echo 'display:none'; ?>'> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="120"> 多列式参数:</td> | |||
<td> | |||
@@ -387,17 +387,17 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr id='spagelist' style='<?php if($pagestyle!=1) echo 'display:none'; ?>'> | |||
<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><input name='pagepicnum' id='pagpicnum' size='10' value='<?php echo $pagepicnum; ?>' /> 单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td> | |||
<td><input name='pagepicnum' id='pagpicnum' size='10' value='<?php echo $pagepicnum; ?>'> 单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr style='display:none'> | |||
<td height="26" colspan="4" class="bline"> | |||
<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="maxwidth" type="text" id="maxwidth" size="10" value="<?php echo $maxwidth?>">(防止图片太宽在模板页中溢出)</td> | |||
@@ -407,7 +407,7 @@ 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><input name="isrm" class="np" type="hidden" id="isrm" value="1" /> | |||
@@ -420,7 +420,7 @@ table{border-collapse:separate} | |||
</td> | |||
</tr> | |||
<tr id="zipff" style="display:none"> | |||
<td height="26" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0" height="100"> | |||
<td height="26" colspan="4" class="bline"><table width="900" border="0" cellspacing="0" cellpadding="0" height="100"> | |||
<tr> | |||
<td width="90"> 压缩包文件:</td> | |||
<td><input type='text' name='zipfile' id='zipfile' style='width:260px'> | |||
@@ -433,15 +433,15 @@ table{border-collapse:separate} | |||
</td> | |||
</tr> | |||
<tr id="htmlfield" style="display:none"> | |||
<td height="26" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<td height="26" colspan="4" class="bline"><table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 网上复制:</td> | |||
<td>复制的源网址: | |||
<input name='copysource' type='text' value='http://' style='width:250px'/>(防盗链网站需填写您复制图片的其中一个网页网址) | |||
<input name='copysource' type='text' value='http://' style='width:260px'/>(防盗链网站需填写您复制图片的其中一个网页网址) | |||
<br>把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片 | |||
<input type="button" name="button" id="button" value="预览" onClick="LoadTestDiv()"> | |||
<br> | |||
<div id='copyhtml' style='margin-top:6px;margin-bottom:6px;border:solid 1px #CCCCCC;width:96%;padding:6px;height:250px;width:100%' contenteditable="true">粘贴到这里</div> | |||
<div id='copyhtml' style='margin-top:6px;margin-bottom:6px;border:solid 1px #CCCCCC;width:96%;padding:6px;height:260px;width:100%' contenteditable="true">粘贴到这里</div> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -494,8 +494,8 @@ table{border-collapse:separate} | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline" style="background:#f8f8f8"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<td bgcolor="#f8f8f8" height="26" colspan="4" class="bline"> | |||
<table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 增加新图片:</td> | |||
<td><span class="btn btn-success btn-sm fileinput-button"><i class="glyphicon glyphicon-plus"></i> 选择本地图片(支持多选)<input type="file" name="files[]" id="iptAlbumImages" multiple></span></td> | |||
@@ -519,8 +519,8 @@ table{border-collapse:separate} | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success btn-sm">重置</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -39,14 +39,14 @@ table{border-collapse:separate} | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
<tr> | |||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 发布商品</td> | |||
<td width="70%" height="30"><img src="../static/web/img/book1.gif"><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> | |||
<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 width="86" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级参数</a></td> | |||
@@ -75,7 +75,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="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"> <?php echo $cInfos['titlename']; ?>:</td> | |||
<td width="400"><input name="title" type="text" id="title" value="" style="width:380px"></td> | |||
@@ -87,7 +87,7 @@ 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> | |||
@@ -109,7 +109,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" 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> | |||
@@ -119,7 +119,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td width="400%" height="26" 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> | |||
@@ -131,12 +131,12 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr id="pictable" style='<?php if($cInfos['needpic']==0) echo 'display:none'; ?>'> | |||
<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> | |||
<input name="picname" type="text" id="picname" style="width:300px"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' /> 远程</label> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote'> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit2" onClick="SelectImage('form1.picname','small');" class='btn btn-success btn-sm'>选择图片</button> | |||
<button id="btnClearAll" type="button" class="btn btn-success delete">清空</button> | |||
@@ -148,7 +148,7 @@ 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"> | |||
@@ -167,8 +167,8 @@ table{border-collapse:separate} | |||
</tr> | |||
<?php if($cInfos['dfcid']>0) | |||
{ | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}' />"; | |||
echo "<input type='hidden' name='typeid2' value='0' />"; | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}'>"; | |||
echo "<input type='hidden' name='typeid2' value='0'>"; | |||
} else { | |||
?> | |||
<tr> | |||
@@ -202,7 +202,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr id='typeid2tr' style='display:none'> | |||
<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> | |||
@@ -216,7 +216,7 @@ 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> | |||
@@ -232,7 +232,7 @@ 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><textarea name="description" id="description" style="width:360px;height:50px"></textarea></td> | |||
@@ -245,7 +245,7 @@ table{border-collapse:separate} | |||
?> | |||
<tr> | |||
<td width="100%" height="26"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 附加选项:</td> | |||
<td> | |||
@@ -274,7 +274,7 @@ table{border-collapse:separate} | |||
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #dee2e6;background:#ffffff;display:none"> | |||
<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" width="250"> 评论选项:</td> | |||
<td width="250"> | |||
@@ -295,7 +295,7 @@ 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"> | |||
@@ -318,7 +318,7 @@ 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"><select name="arcrank" id="arcrank" style="width:160px"> | |||
@@ -340,7 +340,7 @@ 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"> | |||
@@ -359,8 +359,8 @@ table{border-collapse:separate} | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success btn-sm">重置</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -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="65%" height="30"><img src="../static/web/img/book1.gif"><a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 修改商品</td> | |||
<td width="70%" height="30"><img src="../static/web/img/book1.gif"><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> | |||
@@ -71,7 +71,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" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> <?php echo $cInfos['titlename']; ?>:</td> | |||
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td> | |||
@@ -83,7 +83,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td width="400%" height="26" 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> | |||
@@ -95,7 +95,7 @@ table{border-collapse:separate} | |||
if($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'"; | |||
else $jumpclick = ''; | |||
if(preg_match("#".$trow->att."#", $arcRow['flag'])) | |||
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked' /> {$trow->attname}[{$trow->att}]</label> "; | |||
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label> "; | |||
else | |||
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} /> {$trow->attname}[{$trow->att}]</label> "; | |||
} | |||
@@ -108,7 +108,7 @@ table{border-collapse:separate} | |||
<tr> | |||
<td height="26" class="bline" id="redirecturltr" | |||
style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block'); ?>"> | |||
<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="<?php echo $addRow['redirecturl']; ?>" style="width:300px"></td> | |||
@@ -118,7 +118,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td width="400%" height="26" 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="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td> | |||
@@ -130,7 +130,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr id="pictable" style='<?php if($cInfos['needpic']==0) echo 'display:none'; ?>'> | |||
<td height="26" 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="80"> 缩略图:</td> | |||
<td> | |||
@@ -149,7 +149,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" 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"> | |||
@@ -168,8 +168,8 @@ table{border-collapse:separate} | |||
</tr> | |||
<?php if($cInfos['dfcid']>0) | |||
{ | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}' />"; | |||
echo "<input type='hidden' name='typeid2' value='' />"; | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}'>"; | |||
echo "<input type='hidden' name='typeid2' value=''>"; | |||
} else { | |||
?> | |||
<tr> | |||
@@ -198,12 +198,12 @@ table{border-collapse:separate} | |||
?> | |||
<tr> | |||
<td height="26" 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> | |||
<span id='typeid2ct'></span> | |||
<input type='text' name='typeid2' id='typeid2' value='<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']); ?>' style='width:260px;' /> | |||
<input type='text' name='typeid2' id='typeid2' value='<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']); ?>' style='width:260px;'> | |||
<img src='../static/web/img/menusearch2.gif' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')" title='选择副栏目' style='cursor:pointer'> | |||
</td> | |||
</tr> | |||
@@ -212,7 +212,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" 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><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:360px"></td> | |||
@@ -222,7 +222,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" 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 $arcRow['description']?></textarea></td> | |||
@@ -243,7 +243,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td width="400%" height="26"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 附加选项:</td> | |||
<td> | |||
@@ -261,7 +261,7 @@ table{border-collapse:separate} | |||
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #dee2e6;background:#ffffff;display:none"> | |||
<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" width="250"> 评论选项:</td> | |||
<td width="250"> | |||
@@ -281,7 +281,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" 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"><select name="sortup" id="sortup" style="width:160px"> | |||
@@ -308,7 +308,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" 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"><select name="arcrank" id="arcrank" style="width:160px"> | |||
@@ -331,7 +331,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="70" 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"><?php | |||
@@ -349,8 +349,8 @@ table{border-collapse:separate} | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success btn-sm">重置</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -40,14 +40,14 @@ table{border-collapse:separate} | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
<tr> | |||
<td width="65%" height="30"><img src="../static/web/img/book1.gif"><a href="content_sg_list.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 发布分类</td> | |||
<td width="70%" height="30"><img src="../static/web/img/book1.gif"><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> | |||
<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></td> | |||
@@ -60,10 +60,10 @@ table{border-collapse:separate} | |||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | |||
<input type="hidden" name="cid" value="<?php echo $cid?>"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6;background:#ffffff;"> | |||
<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="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"> <?php echo $cInfos['titlename']; ?>:</td> | |||
<td><input name="title" type="text" id="title" value="" style="width:380px"></td> | |||
@@ -73,7 +73,7 @@ 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> | |||
@@ -92,29 +92,29 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr id="pictable" style="<?php if($cInfos['needpic']==0) echo 'display:none'; ?>"> | |||
<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> | |||
<input name="picname" type="text" id="picname" style="width:300px"> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' /> 远程</label> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote'> 远程</label> | |||
<span class="btn btn-success btn-sm fileinput-button">上传图片<input type="file" name="files[]" id="iptAddImages"></span> | |||
<button type="button" name="Submit2" onclick="SelectImage('form1.picname','small');" class="btn btn-success btn-sm">选择图片</button> | |||
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete">清空</button> | |||
</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> | |||
<?php if($cInfos['dfcid']>0) | |||
{ | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}' />"; | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}'>"; | |||
} else { | |||
?> | |||
<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> | |||
@@ -137,7 +137,7 @@ table{border-collapse:separate} | |||
?> | |||
<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> | |||
@@ -164,8 +164,8 @@ table{border-collapse:separate} | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success btn-sm">重置</button> | |||
</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="65%" height="30"><img src="../static/web/img/book1.gif"><a href="content_sg_list.php?cid=<?php echo $addRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> > 修改分类</td> | |||
<td width="70%" height="30"><img src="../static/web/img/book1.gif"><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> | |||
@@ -58,10 +58,10 @@ table{border-collapse:separate} | |||
<input type="hidden" name="id" value="<?php echo $aid; ?>"> | |||
<input type="hidden" name="sortrank" value="<?php echo $addRow['senddate']; ?>"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6;background:#ffffff;"> | |||
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #dee2e6;background:#ffffff;"> | |||
<tr> | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<table width="900" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> <?php echo $cInfos['titlename']; ?>:</td> | |||
<td><input name="title" type="text" id="title" value="<?php echo $addRow['title']; ?>" style="width:380px"></td> | |||
@@ -71,7 +71,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td width="400%" height="26" 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> | |||
@@ -81,9 +81,9 @@ table{border-collapse:separate} | |||
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> "; | |||
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> "; | |||
echo "<label><input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label> "; | |||
} | |||
?> | |||
</td> | |||
@@ -93,7 +93,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" 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> | |||
@@ -115,7 +115,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr id="pictable" style='<?php if($cInfos['needpic']==0) echo 'display:none'; ?>'> | |||
<td height="26" 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> | |||
@@ -132,12 +132,12 @@ table{border-collapse:separate} | |||
</tr> | |||
<?php if($cInfos['dfcid']>0) | |||
{ | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}' />"; | |||
echo "<input type='hidden' name='typeid' value='{$cInfos['dfcid']}'>"; | |||
} else { | |||
?> | |||
<tr> | |||
<td height="26" 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> | |||
@@ -166,8 +166,8 @@ table{border-collapse:separate} | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success btn-sm">重置</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -50,7 +50,7 @@ table{border-collapse:separate} | |||
<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,14 +151,14 @@ 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"> | |||
@@ -205,7 +205,7 @@ table{border-collapse:separate} | |||
</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> | |||
@@ -300,7 +300,7 @@ 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"> | |||
@@ -318,7 +318,7 @@ 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"> | |||
@@ -341,7 +341,7 @@ 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"> | |||
@@ -387,7 +387,7 @@ 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"> | |||
@@ -406,8 +406,8 @@ table{border-collapse:separate} | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success btn-sm">重置</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -89,7 +89,7 @@ | |||
</style> | |||
</head> | |||
<body> | |||
<table width="100%" border="0" cellpadding="2" align="center" cellspacing="1" class="table maintable mt-3"> | |||
<table width="100%" border="0" cellpadding="2" align="center" cellspacing="1" class="table maintable mt-3 mb-3"> | |||
<tr bgcolor="#F3FAD3"> | |||
<td height="26" colspan="6"> | |||
<div style="float:left;padding-left:6px">单页采集规则管理:</div> | |||
@@ -99,7 +99,7 @@ | |||
</td> | |||
</tr> | |||
<form name="form2"> | |||
<tr align="center" bgcolor="#FAFAF1" height="26"> | |||
<tr align="center" bgcolor="#F9FCEF" height="26"> | |||
<td width="8%">ID</td> | |||
<td width="8%">选择</td> | |||
<td width="20%">网址</td> | |||
@@ -108,7 +108,7 @@ | |||
<td width="12%">操作</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="6"><center>暂无内容</center></td></tr>'} | |||
<tr align='center' bgcolor="#ffffff" onMouseMove="javascript:this.bgColor='#FCFDEE';" | |||
<tr align='center' | |||
onMouseOut="javascript:this.bgColor='#ffffff';" height="26"> | |||
<td><?php echo $fields['id']?></td> | |||
<td><input name="ids" type="checkbox" id="ids" value="<?php echo $fields['id']?>" class="np"></td> | |||
@@ -123,7 +123,7 @@ | |||
</td> | |||
</tr> | |||
{/dede:datalist} | |||
<tr bgcolor="#FAFAF1"> | |||
<tr bgcolor="#F9FCEF"> | |||
<td height="26" colspan="6"> | |||
<a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a> | |||
<a href="javascript:noSelAll()" class="btn btn-success btn-sm">取消</a> | |||
@@ -142,7 +142,7 @@ | |||
<div id="addNode"> | |||
<form name='addform' action='article_coonepage_rule.php' method='post'> | |||
<input type='hidden' name='action' value='add' /> | |||
<input type='hidden' name='action' value='add'> | |||
<table width="430" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="102" height="30">网站名称:</td> | |||
@@ -2,47 +2,47 @@ | |||
<html xmlns="http://www.w3.org/1999/xhtml"> | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title>文档自动摘要自动分页</title> | |||
<title>自动摘要分页</title> | |||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form action="article_description_main.php" name="form1" target="stafrm" method="post"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%" height="18" style="padding-left:10px">文档自动摘要自动分页</td> | |||
<td width="30%" style="padding-left:10px">自动摘要分页</td> | |||
<td width="70%" align="right"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" bgcolor="#ffffff">用于自动更新您系统没有填写摘要的文档的摘要信息或更新没分页的文档的自动分页标识(文档使用了自动分页后会降低HTML生成速度,并且在没人工干扰的情况下可能导致分页内容的HTML错误,请小心使用此功能)</td> | |||
<td height="30">用于自动更新您系统没有填写摘要的文档的摘要信息或更新没分页的文档的自动分页标识(文档使用了自动分页后会降低HTML生成速度,并且在没人工干扰的情况下可能导致分页内容的HTML错误,请小心使用此功能)</td> | |||
</tr> | |||
<tr> | |||
<td height="36" bgcolor="#ffffff"> | |||
<td height="36"> | |||
<table width="90%" border="0" cellpadding="2" cellspacing="2" class="table table-borderless"> | |||
<tr> | |||
<td width="50%">频道ID:<input name="channel" type="text" id="channel" value="1" size="10">(可在“<a href="mychannel_main.php">频道模型管理</a>”处获得)</td> | |||
<td width="50%">摘要大小:<input name="dsize" type="text" id="dsize" size="15" value="<?php echo $cfg_auot_description?>">(最大250字节)</td> | |||
<td width="560">频道ID:<input name="channel" type="text" id="channel" value="1" style="width:260px">(可在“<a href="mychannel_main.php">频道模型管理</a>”处获得)</td> | |||
<td>摘要大小:<input name="dsize" type="text" id="dsize" value="<?php echo $cfg_auot_description?>" style="width:260px">(最大250字节)</td> | |||
</tr> | |||
<tr> | |||
<td>数据表:<input name="table" type="text" id="table2" value="<?php echo $cfg_dbprefix?>addonarticle" size="20"></td> | |||
<td>分析字段:<input name="field" type="text" id="field2" value="body" size="15"></td> | |||
<td>数据表:<input name="table" type="text" id="table2" value="<?php echo $cfg_dbprefix?>addonarticle" style="width:260px"></td> | |||
<td>分析字段:<input name="field" type="text" id="field2" value="body" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td>最小值:<input name="msize" type="text" id="msize2" value="512" size="10">(字节,内容大于该值才分析)</td> | |||
<td>每批处理:<input name="pagesize" type="text" id="pagesize" value="100" size="10">条记录</td> | |||
<td>最小值:<input name="msize" type="text" id="msize2" value="512" style="width:260px">(字节,内容大于该值才分析)</td> | |||
<td>每批处理:<input name="pagesize" type="text" id="pagesize" value="100" style="width:260px">条记录</td> | |||
</tr> | |||
<tr> | |||
<td>开始ID: | |||
<input name="sid" type="text" id="sid" size="8"> | |||
结束ID: | |||
<input name="eid" type="text" id="eid" size="8"></td> | |||
<td> | |||
开始ID:<input name="sid" type="text" id="sid" style="width:60px"> | |||
结束ID:<input name="eid" type="text" id="eid" style="width:60px"> | |||
</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
@@ -50,19 +50,20 @@ | |||
<label><input name="dojob" type="radio" class="np" value="des" checked> | |||
自动摘要</label> | |||
<label><input type="radio" name="dojob" class="np" value="page"> | |||
自动分页</label> </td> | |||
<td>(自动分页大小:<?php echo $cfg_arcautosp_size?> K,<a href='sys_info.php' class="btn btn-success btn-sm">修改系统参数</a>)</td> | |||
自动分页</label> | |||
</td> | |||
<td>自动分页大小:<?php echo $cfg_arcautosp_size?> K,<a href='sys_info.php' class="btn btn-success btn-sm">修改系统参数</a></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" bgcolor="#ffffff" align="center"> | |||
<button type="submit" name="Submit" class="btn btn-success">开始执行分析</button> | |||
<td height="30" bgcolor="#F8FCF1" align="center"> | |||
<button type="submit" name="Submit" class="btn btn-success btn-sm">开始执行分析</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr bgcolor="#f8f8f8"> | |||
<tr> | |||
<td height="26"> | |||
<table width="100%" class="table table-borderless"> | |||
<tr> | |||
@@ -81,7 +82,7 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td id="mtd"> | |||
<div id="mdv" style="width:100%;height:300px"> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> | |||
@@ -76,7 +76,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="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 width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td> | |||
@@ -88,7 +88,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"> 自定义属性:</td> | |||
<td> | |||
@@ -118,7 +118,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="2" class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block'); ?>"> | |||
<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="<?php echo $addRow['redirecturl']?>" style="width:300px"></td> | |||
@@ -128,7 +128,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="<?php echo $tags; ?>" style="width:300px">(','号分开,单个标签小于12字节)</td> | |||
@@ -140,7 +140,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr id="pictable"> | |||
<td 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> | |||
@@ -159,7 +159,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td 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 width="250"> | |||
@@ -201,7 +201,7 @@ table{border-collapse:separate} | |||
?> | |||
<tr> | |||
<td 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> | |||
@@ -218,7 +218,7 @@ table{border-collapse:separate} | |||
?> | |||
<tr> | |||
<td height="26" 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><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:300px"></td> | |||
@@ -228,7 +228,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" 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 $arcRow['description']?></textarea></td> | |||
@@ -245,7 +245,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"> 附加选项:</td> | |||
<td> | |||
@@ -265,7 +265,7 @@ table{border-collapse:separate} | |||
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #dee2e6;background:#ffffff;display:none"> | |||
<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"> | |||
@@ -283,7 +283,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" 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"> | |||
@@ -311,7 +311,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="26" 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"> | |||
@@ -356,7 +356,7 @@ table{border-collapse:separate} | |||
</tr> | |||
<tr> | |||
<td height="70" 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"><?php | |||
@@ -374,8 +374,8 @@ table{border-collapse:separate} | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success btn-sm">重置</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -27,7 +27,7 @@ | |||
</head> | |||
<body> | |||
<div class="main"> | |||
<table width="98%" border="0" cellpadding="1" align='center' cellspacing="1" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="1" align='center' cellspacing="1" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td height="26" colspan="6" background="../static/web/img/tbg.gif"> | |||
<table width="96%" border="0" class="table table-borderless"> | |||
@@ -35,7 +35,7 @@ | |||
<td width="25%" style="padding-left:10px">文档关键词维护</td> | |||
<form name='form1' action="article_keywords_main.php"> | |||
<td width="75%" align="right"> | |||
搜索:<input type='text' name='keyword' size='20' /> | |||
搜索:<input type='text' name='keyword' size='20'> | |||
<button type='submit' name='sb' value='' class="btn btn-success btn-sm">保存</button> | |||
<button class="btn btn-success btn-sm" name="n1" type="button" id="n1" onClick="location='article_keywords_make.php';">分析系统内的关键词</button> | |||
<button class="btn btn-success btn-sm" name="n11" type="button" id="n11" onClick="location='search_keywords_main.php';">管理搜索的关键词</button> | |||
@@ -46,8 +46,8 @@ | |||
</td> | |||
</tr> | |||
<form name='form2' action="article_keywords_main.php"> | |||
<input type='hidden' name='dopost' value='add' /> | |||
<tr align="center" bgcolor="#ffffff"> | |||
<input type='hidden' name='dopost' value='add'> | |||
<tr align="center"> | |||
<td width="100%" height="30" colspan="6"> | |||
<table border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
@@ -71,38 +71,38 @@ | |||
<td width="22%">管理</td> | |||
</tr> | |||
<form name='form3' action="article_keywords_main.php" method="post"> | |||
<input type='hidden' name='dopost' value='saveall' /> | |||
<input type='hidden' name='dopost' value='saveall'> | |||
{dede:datalist empty='<tr><td colspan="5"><center>暂无内容</center></td></tr>'} | |||
<tr align="center" bgcolor="#ffffff" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
<tr align="center" onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td height="26"> | |||
<input name="aids[]" type="checkbox" value="{dede:field.aid/}" class="np" checked='1' /> | |||
<input name="aids[]" type="checkbox" value="{dede:field.aid/}" class="np" checked='1'> | |||
</td> | |||
<td> | |||
<input type='hidden' value='{dede:field.keyword/}' name='keyword_{dede:field.aid/}' /> | |||
<input type='hidden' value='{dede:field.keyword/}' name='keyword_{dede:field.aid/}'> | |||
{dede:field.keyword/} | |||
</td> | |||
<td style="padding:6px 0;"> | |||
<input type='hidden' value='{dede:field.rpurl/}' name='rpurlold_{dede:field.aid/}' /> | |||
<input type='hidden' value='{dede:field.rpurl/}' name='rpurlold_{dede:field.aid/}'> | |||
<input type='text' style='width:90%' class='nnpp' value='{dede:field.rpurl/}' | |||
name='rpurl_{dede:field.aid/}' /> | |||
name='rpurl_{dede:field.aid/}'> | |||
</td> | |||
<td> | |||
<input type='text' size='5' class='nnpp' value='{dede:field.rank/}' name='rank_{dede:field.aid/}' /> | |||
<input type='text' size='5' class='nnpp' value='{dede:field.rank/}' name='rank_{dede:field.aid/}'> | |||
</td> | |||
<td> | |||
<input type='hidden' name='staold_{dede:field.aid/}' value='{dede:field.sta/}' /> | |||
<input type='hidden' name='staold_{dede:field.aid/}' value='{dede:field.sta/}'> | |||
<label><input type='checkbox' name='isnouse_{dede:field.aid/}' class='np' value='1' {dede:field.sta function="GetSta(@me)" /} /> | |||
禁用</label> | |||
| |||
<label><input type='checkbox' name='isdel_{dede:field.aid/}' class='np' value='1' /> | |||
<label><input type='checkbox' name='isdel_{dede:field.aid/}' class='np' value='1'> | |||
删除</label> | |||
</td> | |||
</tr> | |||
{/dede:datalist} | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td colspan="6" class="py-3"> | |||
<button type="button" name="dl1" class="btn btn-success btn-sm" onClick="selAll()">反选</button> | |||
<button type="button" name="dl2" class="btn btn-success btn-sm" onClick="this.form.submit();">保存保存</button> | |||
<button type="button" name="dl2" class="btn btn-success btn-sm" onClick="this.form.submit();">保存</button> | |||
</td> | |||
</tr> | |||
</form> | |||
@@ -8,12 +8,12 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%" height="18" style="padding-left:10px">关键词维护:</td> | |||
<td width="30%" style="padding-left:10px">关键词维护</td> | |||
<td width="70%" align="right"> | |||
<button class="btn btn-success btn-sm" name="kw" type="button" id="kw" onClick="location='article_keywords_main.php';">返回关键词管理页</button> | |||
</td> | |||
@@ -22,18 +22,18 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="36" bgcolor="#ffffff">本向导帮助自动分析您系统内的关键词,并统计关键词的数量,对其进行排序,您可以清理掉错误的关键词或无意义的关键词,以提高文档关连和搜索的准确性,本分析器是直接在内存中对关键词进行分析排序后加入到数据库的,因此本操作比较占用内存,如果您的文档数量很大并且使用的又是虚拟主机,可能无法完成本操作<br> | |||
<td height="36">本向导帮助自动分析您系统内的关键词,并统计关键词的数量,对其进行排序,您可以清理掉错误的关键词或无意义的关键词,以提高文档关连和搜索的准确性,本分析器是直接在内存中对关键词进行分析排序后加入到数据库的,因此本操作比较占用内存,如果您的文档数量很大并且使用的又是虚拟主机,可能无法完成本操作<br> | |||
本程序只分析文章频道的关键词数据,其它频道或自定义频道请自行手工指定内容的关系字<br> | |||
如果您的文章是采集回来的,请先用“自动获取关键词”的功能对未有关键词的文章进行分词索引,然后再检测关键词 | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" bgcolor="#ffffff" align="center"> | |||
<a href="article_keywords_make.php?dopost=analyse" target="stafrm" class="btn btn-success btn-sm">检测已有的关键词</a> | |||
<td height="30" bgcolor="#F8FCF1" align="center"> | |||
<a href="article_keywords_make.php?dopost=analyse" target="stafrm" class="btn btn-success btn-sm">检测已有的关键词</a> | |||
<a href="article_keywords_make.php?dopost=fetch" target="stafrm" class="btn btn-success btn-sm">自动获取关键词</a> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f8f8f8"> | |||
<tr> | |||
<td height="26"> | |||
<table width="100%" class="table table-borderless"> | |||
<tr> | |||
@@ -52,7 +52,7 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td id="mtd"> | |||
<div id="mdv" style="width:100%;height:300px"> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> | |||
@@ -42,9 +42,9 @@ function AddNewKw() | |||
</head> | |||
<body> | |||
<div class="main"> | |||
<table width="100%" align="center" border="0" cellpadding="1" cellspacing="1" class="table maintable mt-3"> | |||
<table width="100%" align="center" border="0" cellpadding="1" cellspacing="1" class="table maintable mt-3 mb-3"> | |||
<form name='form1' action="article_keywords_main.php"> | |||
<input type='hidden' name='dopost' value='add' /> | |||
<input type='hidden' name='dopost' value='add'> | |||
<tr id="addnew" style="display:none"> | |||
<td width="100%" height="26" colspan="2" align="center" bgcolor="#009900"> | |||
<table border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
@@ -76,7 +76,7 @@ function AddNewKw() | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff"> | |||
<td> | |||
{dede:datalist empty='<center>暂无内容</center>'} | |||
<a href='javascript:SelKw("{dede:field.keyword/}")'>{dede:field.keyword/}</a> | |||
{/dede:datalist} | |||
@@ -51,12 +51,12 @@ function noSelAll() | |||
<td height="26" colspan="3">重复文档列表:</td> | |||
</tr> | |||
<form name="form2" method="POST" action="article_test_same.php"> | |||
<input type='hidden' name='deltype' value='<?php echo $deltype; ?>' /> | |||
<input type='hidden' name='dopost' value='delsel' /> | |||
<input type='hidden' name='pagesize' value='<?php echo $pagesize; ?>' /> | |||
<input type='hidden' name='channelid' value='<?php echo $channelid; ?>' /> | |||
<input type='hidden' name='maintable' value='<?php echo $maintable; ?>' /> | |||
<input type='hidden' name='titles' value='' /> | |||
<input type='hidden' name='deltype' value='<?php echo $deltype; ?>'> | |||
<input type='hidden' name='dopost' value='delsel'> | |||
<input type='hidden' name='pagesize' value='<?php echo $pagesize; ?>'> | |||
<input type='hidden' name='channelid' value='<?php echo $channelid; ?>'> | |||
<input type='hidden' name='maintable' value='<?php echo $maintable; ?>'> | |||
<input type='hidden' name='titles' value=''> | |||
<tr bgcolor="#F8FBFB" height="26" align="center"> | |||
<td width="9%">选择</td> | |||
<td width="10%">重复数量</td> | |||
@@ -67,7 +67,7 @@ function noSelAll() | |||
{ | |||
if($row['dd']==1 ) break; | |||
?> | |||
<tr bgcolor="#ffffff" align="center" height="26" onMouseMove="javascript:this.bgColor='#EFEFEF';" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
<tr height="26" align="center" onMouseMove="javascript:this.bgColor='#EFEFEF';" onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td><input name="arcTitles" type="checkbox" id="arcTitle" value="<?php echo urlencode($row['title'])?>" class="np"></td> | |||
<td> | |||
<?php | |||
@@ -82,9 +82,9 @@ function noSelAll() | |||
?> | |||
<tr bgcolor="#E5F9FF"> | |||
<td height="26" colspan="3"> | |||
<input type='button' name='bt1' value='全选' onclick='selAll()' /> | |||
<input type='button' name='bt2' value='反选' onclick='noSelAll()' /> | |||
<input type='button' name='bt3' value='删除' onclick='delArc()' /> | |||
<input type='button' name='bt1' value='全选' onclick='selAll()'> | |||
<input type='button' name='bt2' value='反选' onclick='noSelAll()'> | |||
<input type='button' name='bt3' value='删除' onclick='delArc()'> | |||
(共有 <?php echo $allarc; ?> 篇重复标题的文档) | |||
</td> | |||
</tr> | |||
@@ -8,21 +8,21 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form action="article_test_same.php" name="form1" target="stafrm"> | |||
<input type='hidden' name='dopost' value='analyse'> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%" height="18"> 重复文档检测</td> | |||
<td width="30%" style="padding-left:10px">重复文档检测</td> | |||
<td width="70%" align="right"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" align="center" bgcolor="#ffffff"> | |||
<td height="30" align="center"> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="20%" height="30" align="left">频道类型:</td> | |||
@@ -43,9 +43,9 @@ | |||
<tr> | |||
<td width="20%" height="30" align="left">删除选项:</td> | |||
<td align="left"> | |||
<label><input name="deltype" type="radio" value="delnew" class='np' checked='1' /> | |||
<label><input name="deltype" type="radio" value="delnew" class='np' checked='1'> | |||
保留最旧的一条</label> | |||
<label><input type="radio" name="deltype" value="delold" class='np' /> | |||
<label><input type="radio" name="deltype" value="delold" class='np'> | |||
保留最新的一条</label> | |||
</td> | |||
</tr> | |||
@@ -58,17 +58,17 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" bgcolor="#ffffff" align="center" style="padding-top:6px"> | |||
<button type="submit" name="Submit" class="btn btn-success">分析标题重复的文档</button> | |||
<td height="30" bgcolor="#F8FCF1" align="center"> | |||
<button type="submit" name="Submit" class="btn btn-success btn-sm">分析标题重复的文档</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr bgcolor="#f8f8f8"> | |||
<tr> | |||
<td height="30">结果:</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td id="mtd"> | |||
<div id='mdv' style='width:100%;height:420px;'> | |||
<div id="mdv" style="width:100%;height:300px"> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> | |||
</div> | |||
</td> | |||
@@ -8,12 +8,12 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="4" cellspacing="1" class="table maintable mt-3"> | |||
<table width="98%" border="0" align="center" cellpadding="4" cellspacing="1" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td colspan="2" background="../static/web/img/tbg.gif" style="padding-left:10px">百度新闻地图</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff" colspan="2"> | |||
<td colspan="2"> | |||
<p>《互联网新闻开放协议》是百度新闻搜索制定的搜索引擎新闻源收录标准,网站可将发布的新闻内容制作成遵循此开放协议的XML格式的网页(独立于原有的新闻发布形式)供搜索引擎索引</p> | |||
<p> <a href="http://news.baidu.com/newsop.html#kg" target="_blank">详情参见</a></p> | |||
<p>配置的相关参数在 【<a href="sys_info.php">系统设置</a> > 其他选项】中调整</p> | |||
@@ -25,18 +25,18 @@ | |||
<td colspan="2" bgcolor="#f8f8f8"> 设置:</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff"> 文件名:</td> | |||
<td bgcolor="#ffffff"><input name="filename" type="text" id="textfield" value="../data/baidunews.xml" size="30" class='alltxt' /></td> | |||
<td> 文件名:</td> | |||
<td><input name="filename" type="text" id="textfield" value="../data/baidunews.xml" size="30" class='alltxt'></td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" align="center" bgcolor="#ffffff"><button name="button" type="submit" class="btn btn-success" id="button">开始生成</button></td> | |||
<td colspan="2" align="center"><button name="button" type="submit" class="btn btn-success btn-sm" id="button">开始生成</button></td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td bgcolor="#f8f8f8" colspan="2"> 状态:</td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#ffffff" colspan="2"><iframe name="stafrm" frameborder="0" id="stafrm" width="96%" height="350px"></td> | |||
<td align="center" colspan="2"><iframe name="stafrm" frameborder="0" id="stafrm" width="96%" height="360px"></td> | |||
</tr> | |||
</table> | |||
</body> |
@@ -8,7 +8,7 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form action="cards_make.php" name="form1" target="stafrm"> | |||
<input type="hidden" name="dopost" value="make"> | |||
<tr> | |||
@@ -25,7 +25,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff"> | |||
<td> | |||
<table width="90%" border="0" cellpadding="2" cellspacing="2" class="table table-borderless"> | |||
<tr> | |||
<td width="90">点卡类型:</td> | |||
@@ -35,7 +35,7 @@ | |||
$dsql->SetQuery("Select * From #@__moneycard_type"); | |||
$dsql->Execute(); | |||
while($row=$dsql->GetArray()){ | |||
echo " <option value='{$row['tid']}'>{$row['pname']}</option>\r\n"; | |||
echo " <option value='{$row['tid']}'>{$row['pname']}</option>"; | |||
} | |||
$dsql->Close(); | |||
?> | |||
@@ -43,39 +43,39 @@ $dsql->Close(); | |||
</td> | |||
<td width="90">生成数量:</td> | |||
<td> | |||
<input name="mnum" type="text" id="mnum" style='width:120px' value="100" class='pubinputs' /> | |||
<input name="mnum" type="text" id="mnum" style='width:120px' value="100" class='pubinputs'> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td>点卡前缀:</td> | |||
<td> | |||
<input name="snprefix" type="text" id="snprefix" style='width:120px' value="SN" class='pubinputs' /> | |||
<input name="snprefix" type="text" id="snprefix" style='width:120px' value="SN" class='pubinputs'> | |||
</td> | |||
<td>密码长度:</td> | |||
<td><input name="pwdlen" type="text" id="pwdlen" style='width:120px' value="4" class='pubinputs' /> | |||
<td><input name="pwdlen" type="text" id="pwdlen" style='width:120px' value="4" class='pubinputs'> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td>密码类型:</td> | |||
<td> | |||
<label><input type="radio" name="ctype" value="1" class='np' /> | |||
<label><input type="radio" name="ctype" value="1" class='np'> | |||
纯数字</label> | |||
<label><input name="ctype" type="radio" value="2" checked='1' class='np' /> | |||
<label><input name="ctype" type="radio" value="2" checked='1' class='np'> | |||
大写字母</label></td> | |||
<td>密码组数:</td> | |||
<td><input name="pwdgr" type="text" id="pwdgr" style='width:120px' value="3" class='np' /> | |||
<td><input name="pwdgr" type="text" id="pwdgr" style='width:120px' value="3" class='np'> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" bgcolor="#ffffff" align="center"> | |||
<button type="submit" name="Submit" class='btn btn-success'>开始生成点卡</button> | |||
<td height="30" bgcolor="#F8FCF1" align="center"> | |||
<button type="submit" name="Submit" class='btn btn-success btn-sm'>开始生成点卡</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr bgcolor="#f8f8f8"> | |||
<tr> | |||
<td height="26"> | |||
<table width="100%" class="table table-borderless"> | |||
<tr> | |||
@@ -94,7 +94,7 @@ $dsql->Close(); | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td id="mtd"> | |||
<div id="mdv" style="width:100%;height:300px"> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> | |||
@@ -38,7 +38,7 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td height="26" colspan="7" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
@@ -69,7 +69,7 @@ | |||
</tr> | |||
<form name="form1"> | |||
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | |||
<tr align="center" bgcolor="#ffffff" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td><input type='checkbox' name='aids' value='{dede:field.aid/}' class='np'></td> | |||
<td>{dede:field.cardid/}</td> | |||
<td><?php echo $TypeNames[$fields['ctid']]?></td> | |||
@@ -81,7 +81,7 @@ | |||
{/dede:datalist} | |||
</form> | |||
<tr> | |||
<td height="30" colspan="7" bgcolor="#ffffff"> | |||
<td height="30" colspan="7"> | |||
<button type="button" onClick="ReSel();" class="btn btn-success btn-sm">反选</button> | |||
<button type="button" onClick="DelSel();" class="btn btn-success btn-sm">删除</button> | |||
</td> | |||
@@ -8,7 +8,7 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form name="form1" action="cards_type.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<tr> | |||
@@ -29,7 +29,7 @@ | |||
$k++; | |||
?> | |||
<input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->tid?>"> | |||
<tr align="center" bgcolor="#ffffff"> | |||
<tr align="center"> | |||
<td height="26"> | |||
<input name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" type="text" id="pname_<?php echo $k?>" class='pubinputs' style="width:90%"> | |||
</td> | |||
@@ -42,7 +42,7 @@ | |||
</td> | |||
<td> | |||
<input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked='1' | |||
class='np' /> | |||
class='np'> | |||
保留 | |||
</td> | |||
</tr> | |||
@@ -54,7 +54,7 @@ | |||
<td height="26" colspan="4" bgcolor="#f8f8f8" style="padding-left:10px"> | |||
新增一个点卡产品类型:</td> | |||
</tr> | |||
<tr height="26" align="center" bgcolor="#ffffff"> | |||
<tr height="26" align="center"> | |||
<td> | |||
<input name="pname_new" type="text" id="pname_new" class='pubinputs' style="width:90%"> | |||
</td> | |||
@@ -65,13 +65,13 @@ | |||
<input name="money_new" type="text" id="money_new" class='pubinputs' style='width:80%' value="30"> | |||
(元) | |||
</td> | |||
<td align="center" bgcolor="#ffffff"> | |||
<input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np' /> | |||
<td align="center"> | |||
<input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np'> | |||
新增 </td> | |||
</tr> | |||
<tr> | |||
<td colspan="4" align="center" bgcolor="#f8f8f8" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
</td> | |||
</tr> | |||
</form> | |||
@@ -113,7 +113,7 @@ function CheckCross() { | |||
</script> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#cfcfcf" class="mt-3"> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
<tr> | |||
<td width="100%" height="26"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||
@@ -181,7 +181,7 @@ function CheckCross() { | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="100%" border="0" id="needset" cellspacing="0" cellpadding="0" style="border:1px solid #dee2e6" class="table mb-0"> | |||
<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 class="bline"> | |||
@@ -199,7 +199,7 @@ function CheckCross() { | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">内容模型:</td> | |||
<td class="bline"> | |||
<select name="channeltype" id="channeltype" style="width:260px" onChange="ParTemplet(this)"> | |||
<select name="channeltype" id="channeltype" style="width:160px" onChange="ParTemplet(this)"> | |||
<?php | |||
foreach($channelArray as $k=>$arr) | |||
{ | |||
@@ -216,42 +216,42 @@ function CheckCross() { | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">中文名称:</td> | |||
<td class="bline"><input name="typename" type="text" size="40" class="iptxt"></td> | |||
<td class="bline"><input name="typename" type="text" class="iptxt" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">中文概况:</td> | |||
<td class="bline"><input name="namegk" type="text" size="40" class="iptxt"></td> | |||
<td class="bline"><input name="namegk" type="text" class="iptxt" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">英文名称:</td> | |||
<td class="bline"><input name="enname" type="text" size="40" class="iptxt"></td> | |||
<td class="bline"><input name="enname" type="text" class="iptxt" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">英文概况:</td> | |||
<td class="bline"><input name="ennamegk" type="text" size="40" class="iptxt"></td> | |||
<td class="bline"><input name="ennamegk" type="text" class="iptxt" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">栏目大图:</td> | |||
<td> | |||
<input name="bigpic" type="text" class="alltxt" size="40"> | |||
<input name="bigpic" type="text" class="alltxt" style="width:260px"> | |||
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.bigpic');"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">栏目小图:</td> | |||
<td> | |||
<input name="litimg" type="text" class="alltxt" size="40"> | |||
<input name="litimg" type="text" class="alltxt" style="width:260px"> | |||
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litimg');"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">排列顺序:</td> | |||
<td class="bline"><input name="sortrank" type="text" value="50" class="pubinputs" style="width:100px">(由低 > 高)</td> | |||
<td class="bline"><input name="sortrank" type="text" class="pubinputs" style="width:60px">(由低 > 高)</td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">浏览权限:</td> | |||
<td class="bline"> | |||
<select name="corank" id="corank" style="width:100px"> | |||
<select name="corank" id="corank" style="width:160px"> | |||
<?php | |||
$dsql->SetQuery("Select * from `#@__arcrank` where `rank` >= 0"); | |||
$dsql->Execute('cc'); | |||
@@ -264,7 +264,9 @@ function CheckCross() { | |||
} | |||
} | |||
?> | |||
</select>(仅限制栏目里的文档浏览权限)</td> | |||
</select> | |||
(仅限制栏目里的文档浏览权限) | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">上级目录:</td> | |||
@@ -283,7 +285,7 @@ function CheckCross() { | |||
<td style="padding:0"> | |||
<table border="0" cellspacing="1" cellpadding="1" class="table-borderless"> | |||
<tr > | |||
<td><input name="typedir" type="text" id="typedir" size="40" class="pubinputs"></td> | |||
<td><input name="typedir" type="text" id="typedir" class="pubinputs" style="width:260px"></td> | |||
<td><input name="upinyin" type="checkbox" id="upinyin" class="np" value="1" onClick="CheckTypeDir()"><label for="upinyin"> 拼音</label></td> | |||
</tr> | |||
</table> | |||
@@ -317,13 +319,13 @@ function CheckCross() { | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline" style="padding-left:10px">默认页的名称:</td> | |||
<td class="bline"><input name="defaultname" type="text" value="index.html" class="iptxt" style="width:100px"></td> | |||
<td class="bline"><input name="defaultname" type="text" value="index.html" class="iptxt" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline" style="padding-left:10px">栏目属性:</td> | |||
<td class="bline"> | |||
<input name="ispart" type="radio" id="ispart0" value="0" class='np' checked="checked"> | |||
<label for="ispart0">最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label> <br> | |||
<label for="ispart0">最终列表栏目(允许在本栏目发布文档,并生成文档列表)</label><br> | |||
<input name="ispart" type="radio" id="ispart1" value="1" class='np'> | |||
<label for="ispart1">频道封面(栏目本身不允许发布文档)</label> <br> | |||
<input name="ispart" type="radio" id="ispart2" value="2" class='np'> | |||
@@ -331,27 +333,27 @@ function CheckCross() { | |||
</td> | |||
</tr> | |||
<tr id='helpvarco' style='display:none'> | |||
<td height="80" bgcolor="#F3F7EA" style="padding-left:10px">栏目交叉说明:</td> | |||
<td bgcolor="#F3F7EA">交叉栏目是指一个大栏目与另一个非下级的子栏目出现交叉的情况,相当于系统原来的副栏目功能,不过现在改在栏目里预先设置好<br>例如:网站上有大栏目——智能手机、音乐手机,另外又有栏目——诺基亚>智能手机、诺基亚>音乐手机,这样顶级的大栏目就和另一个大栏目的子栏目形成了交叉,这样只需要在大栏目中指定交叉的栏目即可<br>注:会自动索引交叉栏目的内容,但不会索引交叉栏目下级栏目的内容,这种应用也适用于按地区划分资讯的站点 | |||
<td height="80" bgcolor="#f8f8f8" style="padding-left:10px">栏目交叉说明:</td> | |||
<td bgcolor="#f8f8f8">交叉栏目是指一个大栏目与另一个非下级的子栏目出现交叉的情况,相当于系统原来的副栏目功能,不过现在改在栏目里预先设置好<br>例如:网站上有大栏目——智能手机、音乐手机,另外又有栏目——诺基亚>智能手机、诺基亚>音乐手机,这样顶级的大栏目就和另一个大栏目的子栏目形成了交叉,这样只需要在大栏目中指定交叉的栏目即可<br>注:会自动索引交叉栏目的内容,但不会索引交叉栏目下级栏目的内容,这种应用也适用于按地区划分资讯的站点 | |||
</td> | |||
</tr> | |||
<tr> | |||
<td style="padding-left:10px">栏目交叉:<img src="../static/web/img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvarco')"> <br>仅适用[最终列表栏目]</td> | |||
<td style="padding-left:10px">栏目交叉:<img src="../static/web/img/help.gif" style="cursor:pointer" onClick="ShowHide('helpvarco')"><br>仅适用[最终列表栏目]</td> | |||
<td> | |||
<input name="cross" type="radio" id="cross0" value="0" class='np' onClick="CheckCross()" checked='1'> | |||
<label for="cross0">不交叉</label> | |||
<input name="cross" type="radio" id="cross1" value="1" class='np' onClick="CheckCross()"> | |||
<label for="cross1">自动获取同名栏目内容</label> | |||
<input name="cross" type="radio" id="cross2" value="2" class='np' onClick="CheckCross()"> | |||
<label for="cross2">手工指定交叉栏目ID(用逗号分开)</label> | |||
<label for="cross2">手工指定交叉栏目ID(用逗号分开)</label> | |||
<br> | |||
<textarea name="crossid" cols="50" rows="3" id="crossid" style="display:none" class="alltxt"></textarea> | |||
<textarea name="crossid" id="crossid" style="display:none" class="alltxt" style="width:360px;height:50px"></textarea> | |||
</td> | |||
</tr> | |||
<tr id='smclass' style='<?php echo ($channelid<0 ? '' : 'display:none'); ?>'> | |||
<td class="bline" style="padding-left:10px">绑定小分类:<br>仅适用[分类信息模型]</td> | |||
<td class="bline"> | |||
<select name='smalltype[]' size='5' style='width:120px' multiple='yes'> | |||
<select name='smalltype[]' multiple='yes' style='width:160px'> | |||
<?php | |||
$sql = "SELECT * FROM `#@__sys_enum` WHERE egroup LIKE 'infotype' ORDER BY disorder ASC, id DESC "; | |||
$dsql->Execute('s',$sql); | |||
@@ -372,7 +374,7 @@ function CheckCross() { | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="display:none;border:1px solid #dee2e6" id="adset" class="table mb-0"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="display:none;border:1px solid #dee2e6" id="adset" class="table"> | |||
<?php | |||
if($id==0) | |||
{ | |||
@@ -385,12 +387,12 @@ function CheckCross() { | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#F3F7EA" style="padding-left:10px">说明:</td> | |||
<td bgcolor="#F3F7EA">如果需要绑定二级域名,必须在“系统参数”中设定“支持多站点”</td> | |||
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">说明:</td> | |||
<td bgcolor="#f8f8f8">如果需要绑定二级域名,必须在“系统参数”中设定“支持多站点”</td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">绑定域名:</td> | |||
<td class="bline"><input name="siteurl" type="text" id="siteurl" size="40" class="alltxt" onChange="CheckPathSet();">(需加 http://,一级或二级域名的根网址)</td> | |||
<td class="bline"><input name="siteurl" type="text" id="siteurl" onChange="CheckPathSet();" class="alltxt" style="width:260px">(需加 http://,一级或二级域名的根网址)</td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">站点根目录:</td> | |||
@@ -400,8 +402,8 @@ function CheckCross() { | |||
} | |||
?> | |||
<tr id='helpvar1' style='display:none'> | |||
<td height="26" bgcolor="#F3F7EA" style="padding-left:10px">支持变量:</td> | |||
<td bgcolor="#F3F7EA"> | |||
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td> | |||
<td bgcolor="#f8f8f8"> | |||
{tid}表示栏目ID,<br> | |||
{cid}表示频道模型的'名字ID'( | |||
<?php | |||
@@ -415,80 +417,80 @@ function CheckCross() { | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#F3F7EA" style="padding-left:10px">规则选项:</td> | |||
<td bgcolor="#F3F7EA">按不同的内容类型设定相关模板及命名规则</td> | |||
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">规则选项:</td> | |||
<td bgcolor="#f8f8f8">按不同的内容类型设定相关模板及命名规则</td> | |||
</tr> | |||
<tr> | |||
<td height="26" style="padding-left:10px">封面模板:</td> | |||
<td> | |||
<input name="tempindex" type="text" value="{style}/index_<?php echo $nid?>.htm" size="40" class="alltxt"> | |||
<input name="tempindex" type="text" value="{style}/index_<?php echo $nid?>.htm" class="alltxt" style="width:260px"> | |||
<button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览</button> | |||
<img src="../static/web/img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar1')"> | |||
<img src="../static/web/img/help.gif" style="cursor:pointer" onClick="ShowHide('helpvar1')"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" style="padding-left:10px">列表模板:</td> | |||
<td> | |||
<input name="templist" type="text" value="{style}/list_<?php echo $nid?>.htm" size="40" class="alltxt"> | |||
<input name="templist" type="text" value="{style}/list_<?php echo $nid?>.htm" class="alltxt" style="width:260px"> | |||
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templist')">浏览</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" style="padding-left:10px">文章模板:</td> | |||
<td> | |||
<input name="temparticle" type="text" value="{style}/article_<?php echo $nid?>.htm" size="40" class="alltxt"> | |||
<input name="temparticle" type="text" value="{style}/article_<?php echo $nid?>.htm" class="alltxt" style="width:260px"> | |||
<button type="button" name="set4" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.temparticle')">浏览</button> | |||
</td> | |||
</tr> | |||
<tr id='helpvar2' style='display:none'> | |||
<td height="26" bgcolor="#F3F7EA" style="padding-left:10px">支持变量:</td> | |||
<td height="26" bgcolor="#F3F7EA"> | |||
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td> | |||
<td height="26" bgcolor="#f8f8f8"> | |||
{Y}、{M}、{D} 年月日<br> | |||
{timestamp} INT类型的UNIX时间戳<br> | |||
{aid} 文章ID<br> | |||
{pinyin} 拼音+文章ID<br> | |||
{py} 拼音部首+文章ID<br> | |||
{typedir} 栏目目录 <br> | |||
{cc} 日期+ID混编后用转换为适合的字母 <br> | |||
{cc} 日期+ID混编后用转换为适合的字母 | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" style="padding-left:10px">文章命名规则:</td> | |||
<td> | |||
<input name="namerule" type="text" id="namerule" value="<?php echo $cfg_df_namerule; ?>" size="40" class="alltxt"> | |||
<img src="../static/web/img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar2')"> | |||
<input name="namerule" type="text" id="namerule" value="<?php echo $cfg_df_namerule; ?>" class="alltxt" style="width:260px"> | |||
<img src="../static/web/img/help.gif" style="cursor:pointer" onClick="ShowHide('helpvar2')"> | |||
</td> | |||
</tr> | |||
<tr id='helpvar3' style='display:none'> | |||
<td height="26" bgcolor="#F3F7EA" style="padding-left:10px">支持变量:</td> | |||
<td bgcolor="#F3F7EA">{page} 列表的页码</td> | |||
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td> | |||
<td bgcolor="#f8f8f8">{page} 列表的页码</td> | |||
</tr> | |||
<tr> | |||
<td height="26" style="padding-left:10px">列表命名规则:</td> | |||
<td> | |||
<input name="namerule2" type="text" id="namerule2" value="{typedir}/list_{tid}_{page}.html" size="40" class="alltxt"> | |||
<img src="../static/web/img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar3')"> | |||
<input name="namerule2" type="text" id="namerule2" value="{typedir}/{tid}-{page}.html" class="alltxt" style="width:260px"> | |||
<img src="../static/web/img/help.gif" style="cursor:pointer" onClick="ShowHide('helpvar3')"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="60" style="padding-left:10px">SEO标题:</td> | |||
<td><input name="seotitle" type="text" id="seotitle" size="40" class="alltxt">(栏目模板里用{dede:field.seotitle /}调用)</td> | |||
<td><input name="seotitle" type="text" id="seotitle" class="alltxt" style="width:260px">(栏目模板里用{dede:field.seotitle /}调用)</td> | |||
</tr> | |||
<tr> | |||
<td height="60" style="padding-left:10px">关键词:</td> | |||
<td><textarea name="keywords" cols="70" rows="4" id="keywords" class="alltxt"></textarea></td> | |||
<td><textarea name="keywords" id="keywords" class="alltxt" style="width:360px;height:50px"></textarea></td> | |||
</tr> | |||
<tr> | |||
<td height="60" style="padding-left:10px">栏目描述:</td> | |||
<td height="60"><textarea name="description" cols="70" rows="4" id="description" class="alltxt"></textarea></td> | |||
<td height="60"><textarea name="description" id="description" class="alltxt" style="width:360px;height:50px"></textarea></td> | |||
</tr> | |||
</table> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="display:none;border:1px solid #dee2e6" id="ctset" class="table mb-0"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="display:none;border:1px solid #dee2e6" id="ctset" class="table"> | |||
<tr> | |||
<td height="26" style="padding-left:10px">说明:栏目内容是替代原来栏目单独页的更灵活的一种方式,可在栏目模板中用{dede:field.content/}调用,通常用于企业简介之类的用途</td> | |||
</tr> | |||
<tr> | |||
<td style="padding:10px"> | |||
<td> | |||
<?php | |||
GetEditor("content","","450","Default","print","false"); | |||
?> | |||
@@ -498,8 +500,8 @@ function CheckCross() { | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<a href="catalog_main.php" class="btn btn-success">返回</a> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<a href="catalog_main.php" class="btn btn-success btn-sm">返回</a> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -2,7 +2,7 @@ | |||
<html xmlns="http://www.w3.org/1999/xhtml"> | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title>快速创建栏目</title> | |||
<title>批量增加栏目</title> | |||
<script type="text/javascript" src="../static/web/js/jquery.min.js"></script> | |||
<script type="text/javascript"> | |||
var $ = jQuery; | |||
@@ -100,10 +100,10 @@ | |||
<td height="10"></td> | |||
</tr> | |||
<tr> | |||
<td height="90" align="left" bgcolor="#ffffff"> | |||
<td height="90" align="left"> | |||
<table width="100%" border="0" cellspacing="0" id="head1" cellpadding="0"> | |||
<tr> | |||
<td colspan="2" bgcolor="#ffffff"> | |||
<td colspan="2"> | |||
<table width="86" border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规选项</td> | |||
@@ -112,7 +112,7 @@ | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="100%" border="0" id="needset" cellspacing="0" cellpadding="0" style="border:1px solid #dee2e6" class="table mb-0"> | |||
<table width="100%" border="0" id="needset" cellspacing="0" cellpadding="0" style="border:1px solid #dee2e6" class="table"> | |||
<tr> | |||
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">公用参数:</td> | |||
<td bgcolor="#f8f8f8"></td> | |||
@@ -124,7 +124,8 @@ | |||
不支持</label> | |||
| |||
<label><input type='radio' name='issend' value='1' class='np' checked='1' /> | |||
支持</label> </td> | |||
支持</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">目录保存位置:</td> | |||
@@ -140,27 +141,26 @@ | |||
<input name="referpath" type="radio" id="truepath2" class="np" value="cmspath"> | |||
<label for="truepath2">CMS根目录</label> | |||
<input name="nextdir" type="hidden" id="nextdir" value="<?php echo $pardir; ?>"> | |||
<span id="pathtype" style="display:none"><input name="referpath" type="radio" id="truepath3" class="np" value="typepath"> | |||
隶属栏目所属的目录</span> | |||
</td> | |||
<span id="pathtype" style="display:none"><input name="referpath" type="radio" id="truepath3" class="np" value="typepath">隶属栏目所属的目录</span> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">隶属栏目:</td> | |||
<td class="bline"> | |||
<select name='reid' onchange="showSeltype(this)"> | |||
<select name='reid' onchange="showSeltype(this)" style="width:160px"> | |||
<option value='0'>选择所属目录</option> | |||
<?php echo $typeOptions; ?> | |||
</select>(默认为顶级栏目) | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">内容模型: </td> | |||
<td class="bline"><select name="channeltype" id="channeltype" style="width:260px"> | |||
<td class="bline" height="26" style="padding-left:10px">内容模型:</td> | |||
<td class="bline"><select name="channeltype" id="channeltype" onChange="ParTemplet(this)" style="width:160px"> | |||
<?php | |||
foreach($channelArray as $k=>$arr) | |||
{ | |||
if($k==$channelid) echo "<option value='{$k}' selected>{$arr['typename']}|{$arr['nid']}</option>\r\n"; | |||
else echo "<option value='{$k}'>{$arr['typename']}|{$arr['nid']}</option>\r\n"; | |||
if($k==$channelid) echo "<option value='{$k}' selected>{$arr['typename']}|{$arr['nid']}</option>"; | |||
else echo "<option value='{$k}'>{$arr['typename']}|{$arr['nid']}</option>"; | |||
} | |||
?> | |||
</select> | |||
@@ -179,11 +179,11 @@ | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">默认页的名称:</td> | |||
<td class="bline"><input name="defaultname" type="text" value="index.html" class="pubinputs"></td> | |||
<td class="bline"><input name="defaultname" type="text" value="index.html" class="pubinputs" style="width:260px"></td> | |||
</tr> | |||
<tr id='helpvar2' style='display:none'> | |||
<td height="26" bgcolor="#F3F7EA" style="padding-left:10px">支持变量:</td> | |||
<td height="26" bgcolor="#F3F7EA"> {Y}、{M}、{D} 年月日<br> | |||
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td> | |||
<td height="26" bgcolor="#f8f8f8"> {Y}、{M}、{D} 年月日<br> | |||
{timestamp} INT类型的UNIX时间戳<br> | |||
{aid} 文章ID<br> | |||
{pinyin} 拼音+文章ID<br> | |||
@@ -194,18 +194,21 @@ | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline" style="padding-left:10px">文章命名规则:</td> | |||
<td class="bline"><input name="namerule" type="text" id="namerule" value="{typedir}/{Y}{M}{D}/{aid}.html" | |||
size="40" class="pubinputs"> | |||
<img src="../static/web/img/help.gif" alt="帮助" border="0" style="cursor:pointer" onClick="ShowHide('helpvar2')"></td> | |||
<td class="bline"> | |||
<input name="namerule" type="text" id="namerule" value="{typedir}/{aid}.html" class="pubinputs" style="width:260px"> | |||
<img src="../static/web/img/help.gif" alt="帮助" border="0" style="cursor:pointer" onClick="ShowHide('helpvar2')"> | |||
</td> | |||
</tr> | |||
<tr id='helpvar3' style='display:none'> | |||
<td height="26" bgcolor="#F3F7EA" style="padding-left:10px">支持变量:</td> | |||
<td bgcolor="#F3F7EA">{page} 列表的页码</td> | |||
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">支持变量:</td> | |||
<td bgcolor="#f8f8f8">{page} 列表的页码</td> | |||
</tr> | |||
<tr> | |||
<td height="26" style="padding-left:10px">列表命名规则:</td> | |||
<td><input name="namerule2" type="text" id="namerule2" value="{typedir}/list_{tid}_{page}.html" size="40" class="pubinputs"> | |||
<img src="../static/web/img/help.gif" alt="帮助" border="0" style="cursor:pointer" onClick="ShowHide('helpvar3')"></td> | |||
<td> | |||
<input name="namerule2" type="text" id="namerule2" value="{typedir}/{tid}-{page}.html" class="pubinputs" style="width:260px"> | |||
<img src="../static/web/img/help.gif" alt="帮助" border="0" style="cursor:pointer" onClick="ShowHide('helpvar3')"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#f8f8f8" style="padding-left:10px">栏目填写:</td> | |||
@@ -215,25 +218,29 @@ | |||
<td colspan='2'> | |||
<table id="addQuick" width="850" border="0" cellpadding="3" cellspacing="1"> | |||
<tbody> | |||
<tr bgcolor="#FBFCE2" align="center"> | |||
<tr bgcolor="#FBFCE2"> | |||
<td width="60" height="26">排序</td> | |||
<td width="170">顶级栏目名称</td> | |||
<td width="520">子栏目(用"目录名称1,目录名称2"这样表示多个栏目)</td> | |||
<td width="250" align="center"><button type="button" id="add" class="btn btn-success btn-sm">添加</button></td> | |||
<td width="370">子栏目(用"目录名称1,目录名称2"这样表示多个栏目)</td> | |||
<td align="center"><button type="button" id="add" class="btn btn-success btn-sm">添加</button></td> | |||
</tr> | |||
<tr bgcolor="#ffffff" height="30" align="center"> | |||
<td class="rank"><input type="hidden" name="posttype" value="" class="pubinputs"> | |||
<input type="text" name="rank" id="rank" value="1" class="pubinputs" style="width:60px"></td> | |||
<tr height="30" align="center"> | |||
<td class="rank"> | |||
<input type="hidden" name="posttype" value="" class="pubinputs"> | |||
<input type="text" name="rank" id="rank" value="1" class="pubinputs" style="width:60px"> | |||
</td> | |||
<td align='center'><input type="text" name="toptype" id="toptype" class="pubinputs" style="width:160px"></td> | |||
<td><input type="text" name="sontype" id="sontype" class="pubinputs" style="width:480px"></td> | |||
<td><input type="text" name="sontype" id="sontype" class="pubinputs" style="width:360px"></td> | |||
<td align="center"><button name="" type="button" id="add" class="btn btn-success btn-sm del">删除</button></td> | |||
</tr> | |||
<?php for($i=2;$i<=10;$i++) { ?> | |||
<tr bgcolor="#ffffff" height="30" class="repeat" align="center"> | |||
<td class="rank"><input type="hidden" name="posttype<?php echo $i; ?>" value="<?php echo $i; ?>"> | |||
<input type="text" name="rank<?php echo $i; ?>" id="rank<?php echo $i; ?>" value="<?php echo $i; ?>" class="pubinputs" style="width:60px"></td> | |||
<td align='center'><input type="text" name="toptype<?php echo $i; ?>" id="toptype<?php echo $i; ?>" class="pubinputs" style="width:160px"></td> | |||
<td><input type="text" name="sontype<?php echo $i; ?>" id="sontype<?php echo $i; ?>" class="pubinputs" style="width:480px"></td> | |||
<tr height="30" class="repeat" align="center"> | |||
<td class="rank"> | |||
<input type="hidden" name="posttype<?php echo $i; ?>" value="<?php echo $i; ?>"> | |||
<input type="text" name="rank<?php echo $i; ?>" id="rank<?php echo $i; ?>" value="<?php echo $i; ?>" class="pubinputs" style="width:60px"> | |||
</td> | |||
<td><input type="text" name="toptype<?php echo $i; ?>" id="toptype<?php echo $i; ?>" class="pubinputs" style="width:160px"></td> | |||
<td><input type="text" name="sontype<?php echo $i; ?>" id="sontype<?php echo $i; ?>" class="pubinputs" style="width:360px"></td> | |||
<td align="center"><button name="" type="button" id="add" class="btn btn-success btn-sm del">删除</button></td> | |||
</tr> | |||
<?php } ?> | |||
@@ -244,23 +251,23 @@ | |||
<tr bgcolor="#FBFCE2" align="center"> | |||
<td width="60" height="26">排序</td> | |||
<td width="170">栏目名称</td> | |||
<td width="250" align="center"><button type="button" id="addrel" class="btn btn-success btn-sm">添加</button></td> | |||
<td align="center"><button type="button" id="addrel" class="btn btn-success btn-sm">添加</button></td> | |||
</tr> | |||
<tr bgcolor="#ffffff" height="30" align="center"> | |||
<tr height="30" align="center"> | |||
<td class="rank"> | |||
<input type="hidden" name="posttype" value="" class="pubinputs"> | |||
<input type="text" name="rank" id="rank" value="1" class="pubinputs" style="width:60px"> | |||
</td> | |||
<td align='center'><input type="text" name="reltype" id="reltype" class="pubinputs" style="width:160px"></td> | |||
<td><input type="text" name="reltype" id="reltype" class="pubinputs" style="width:160px"></td> | |||
<td align="center"><button name="" type="button" id="add" class="btn btn-success btn-sm del">删除</button></td> | |||
</tr> | |||
<?php for($i=2;$i<=10;$i++) { ?> | |||
<tr bgcolor="#ffffff" height="30" class="repeat" align="center"> | |||
<tr height="30" class="repeat" align="center"> | |||
<td class="rank"> | |||
<input type="hidden" name="posttype<?php echo $i; ?>" value="<?php echo $i; ?>"> | |||
<input type="text" name="rank<?php echo $i; ?>" id="rank<?php echo $i; ?>" value="<?php echo $i; ?>" class="pubinputs" style="width:60px"> | |||
</td> | |||
<td align='center'><input type="text" name="reltype<?php echo $i; ?>" id="reltype<?php echo $i; ?>" class="pubinputs" style="width:160px"></td> | |||
<td><input type="text" name="reltype<?php echo $i; ?>" id="reltype<?php echo $i; ?>" class="pubinputs" style="width:160px"></td> | |||
<td align="center"><button type="button" id="add" class="btn btn-success btn-sm del">删除</button></td> | |||
</tr> | |||
<?php } ?> | |||
@@ -272,8 +279,8 @@ | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<a href="catalog_main.php" class="btn btn-success">返回</a> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<a href="catalog_main.php" class="btn btn-success btn-sm">返回</a> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -17,7 +17,7 @@ var channelArray = new Array(); | |||
<?php | |||
$i = 0; | |||
foreach($channelArray as $k=> $arr){ | |||
echo "channelArray[$k] = \"{$arr['nid']}\";\r\n"; | |||
echo "channelArray[$k] = \"{$arr['nid']}\";"; | |||
} | |||
?> | |||
function Nav() { | |||
@@ -103,7 +103,7 @@ function CheckCross() { | |||
</script> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#cfcfcf" class="mt-3"> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
<tr> | |||
<td width="100%" height="26"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||
@@ -163,7 +163,7 @@ function CheckCross() { | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="100%" border="0" id="needset" cellspacing="0" cellpadding="0" style="border:1px solid #dee2e6" class="table mb-0"> | |||
<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 class="bline"> | |||
@@ -185,8 +185,8 @@ function CheckCross() { | |||
<?php | |||
foreach($channelArray as $k=>$arr) | |||
{ | |||
if($k==$channelid) echo " <option value='{$k}' selected>{$arr['typename']}|{$arr['nid']}</option>\r\n"; | |||
else echo " <option value='{$k}'>{$arr['typename']}|{$arr['nid']}</option>\r\n"; | |||
if($k==$channelid) echo " <option value='{$k}' selected>{$arr['typename']}|{$arr['nid']}</option>"; | |||
else echo " <option value='{$k}'>{$arr['typename']}|{$arr['nid']}</option>"; | |||
} | |||
?> | |||
</select> | |||
@@ -194,58 +194,60 @@ function CheckCross() { | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">中文名称:</td> | |||
<td class="bline"><input name="typename" type="text" size="40" value="<?php echo $myrow['typename']?>" class="iptxt"></td> | |||
<td class="bline"><input name="typename" type="text" value="<?php echo $myrow['typename']?>" class="iptxt" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">中文概况:</td> | |||
<td class="bline"><input name="namegk" type="text" size="40" value="<?php echo $myrow['namegk']?>" class="iptxt"></td> | |||
<td class="bline"><input name="namegk" type="text" value="<?php echo $myrow['namegk']?>" class="iptxt" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">英文名称:</td> | |||
<td class="bline"><input name="enname" type="text" size="40" value="<?php echo $myrow['enname']?>" class="iptxt"></td> | |||
<td class="bline"><input name="enname" type="text" value="<?php echo $myrow['enname']?>" class="iptxt" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">英文概况:</td> | |||
<td class="bline"><input name="ennamegk" type="text" size="40" value="<?php echo $myrow['ennamegk']?>" class="iptxt"></td> | |||
<td class="bline"><input name="ennamegk" type="text" value="<?php echo $myrow['ennamegk']?>" class="iptxt" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">栏目大图:</td> | |||
<td> | |||
<input name="bigpic" type="text" class="alltxt" size="40" value="<?php echo $myrow['bigpic']?>"> | |||
<input name="bigpic" type="text" class="alltxt" value="<?php echo $myrow['bigpic']?>" style="width:260px"> | |||
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.bigpic');"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">栏目小图:</td> | |||
<td> | |||
<input name="litimg" type="text" class="alltxt" size="40" value="<?php echo $myrow['litimg']?>"> | |||
<input name="litimg" type="text" class="alltxt" value="<?php echo $myrow['litimg']?>" style="width:260px"> | |||
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litimg');"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">排列顺序:</td> | |||
<td class="bline"> <input name="sortrank" type="text" value="<?php echo $myrow['sortrank']?>" class="iptxt" style="width:100px">(由低 > 高)</td> | |||
<td class="bline"><input name="sortrank" type="text" value="<?php echo $myrow['sortrank']?>" class="iptxt" style="width:60px">(由低 > 高)</td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">浏览权限:</td> | |||
<td class="bline"> <select name="corank" id="corank" style="width:100px"> | |||
<td class="bline"> | |||
<select name="corank" id="corank" style="width:160px"> | |||
<?php | |||
$dsql->SetQuery("Select * from #@__arcrank where `rank` >= 0"); | |||
$dsql->Execute('cc'); | |||
while($row = $dsql->GetObject('cc')) | |||
{ | |||
if($myrow['corank']==$row->rank) | |||
echo "<option value='".$row->rank."' selected>".$row->membername."</option>\r\n"; | |||
echo "<option value='".$row->rank."' selected>".$row->membername."</option>"; | |||
else | |||
echo "<option value='".$row->rank."'>".$row->membername."</option>\r\n"; | |||
echo "<option value='".$row->rank."'>".$row->membername."</option>"; | |||
} | |||
?> | |||
</select>(仅限制栏目里的文档浏览权限) | |||
</select> | |||
(仅限制栏目里的文档浏览权限) | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">文件保存目录:</td> | |||
<td class="bline"><input name="typedir" type="text" id="typedir" value="<?php echo $myrow['typedir']?>" size="40" class="iptxt">(填写{cmspath}/a/b/c生成目录“域名/a/b/c”标签{cmspath}必填)</td> | |||
<td class="bline"><input name="typedir" type="text" id="typedir" value="<?php echo $myrow['typedir']?>" class="iptxt" style="width:260px">(填写{cmspath}/a/b/c生成目录“域名/a/b/c”标签{cmspath}必填)</td> | |||
</tr> | |||
<tr> | |||
<td height="26" style="padding-left:10px">栏目列表选项:</td> | |||
@@ -257,7 +259,7 @@ function CheckCross() { | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">默认页的名称:</td> | |||
<td class="bline"><input name="defaultname" type="text" value="<?php echo $myrow['defaultname']?>" class="iptxt" style="width:100px"></td> | |||
<td class="bline"><input name="defaultname" type="text" value="<?php echo $myrow['defaultname']?>" class="iptxt" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td height="26" class="bline" style="padding-left:10px">栏目属性:</td> | |||
@@ -268,24 +270,24 @@ function CheckCross() { | |||
</td> | |||
</tr> | |||
<tr id='helpvarco' style='display:none'> | |||
<td height="80" bgcolor="#F3F7EA" style="padding-left:10px">栏目交叉说明:</td> | |||
<td bgcolor="#F3F7EA">交叉栏目是指一个大栏目与另一个非下级的子栏目出现交叉的情况,相当于系统原来的副栏目功能,不过现在改在栏目里预先设置好<br>例如:网站上有大栏目——智能手机、音乐手机,另外又有栏目——诺基亚>智能手机、诺基亚>音乐手机,这样顶级的大栏目就和另一个大栏目的子栏目形成了交叉,这样只需要在大栏目中指定交叉的栏目即可<br>注:会自动索引交叉栏目的内容,但不会索引交叉栏目下级栏目的内容,这种应用也适用于按地区划分资讯的站点 | |||
<td height="80" bgcolor="#f8f8f8" style="padding-left:10px">栏目交叉说明:</td> | |||
<td bgcolor="#f8f8f8">交叉栏目是指一个大栏目与另一个非下级的子栏目出现交叉的情况,相当于系统原来的副栏目功能,不过现在改在栏目里预先设置好<br>例如:网站上有大栏目——智能手机、音乐手机,另外又有栏目——诺基亚>智能手机、诺基亚>音乐手机,这样顶级的大栏目就和另一个大栏目的子栏目形成了交叉,这样只需要在大栏目中指定交叉的栏目即可<br>注:会自动索引交叉栏目的内容,但不会索引交叉栏目下级栏目的内容,这种应用也适用于按地区划分资讯的站点 | |||
</td> | |||
</tr> | |||
<tr> | |||
<td style="padding-left:10px">栏目交叉:<img src="../static/web/img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvarco')"><br>仅适用[最终列表栏目]</td> | |||
<td style="padding-left:10px">栏目交叉:<img src="../static/web/img/help.gif" style="cursor:pointer" onClick="ShowHide('helpvarco')"><br>仅适用[最终列表栏目]</td> | |||
<td class="bline"> | |||
<label><input name="cross" type="radio" id="cross0" onClick="CheckCross()" value="0" class='np' <?php if($myrow['cross']==0) echo " checked='1' "; ?>> 不交叉</label> | |||
<label><input name="cross" type="radio" id="cross1" onClick="CheckCross()" value="1" class='np' <?php if($myrow['cross']==1) echo " checked='1' "; ?>> 自动获取同名栏目内容</label> | |||
<label><input name="cross" type="radio" id="cross2" onClick="CheckCross()" value="2" class='np' <?php if($myrow['cross']==2) echo " checked='1' "; ?>> 手工指定交叉栏目ID(用逗号分开)</label> | |||
<label><input name="cross" type="radio" id="cross2" onClick="CheckCross()" value="2" class='np' <?php if($myrow['cross']==2) echo " checked='1' "; ?>> 手工指定交叉栏目ID(用逗号分开)</label> | |||
<br> | |||
<textarea name="crossid" cols="50" rows="3" id="crossid" style="<?php if($myrow['cross']!=2) echo'display:none'; ?>" class="alltxt"><?php echo $myrow['crossid']; ?></textarea> | |||
<textarea name="crossid" id="crossid" style="<?php if($myrow['cross']!=2) echo'display:none'; ?>" class="alltxt" style="width:360px;height:50px"><?php echo $myrow['crossid']; ?></textarea> | |||
</td> | |||
</tr> | |||
<tr id='smclass' style='<?php echo ($channelid<0 ? '' : 'display:none'); ?>'> | |||
<td class="bline" style="padding-left:10px">绑定小分类:<br>仅适用[分类信息模型]</td> | |||
<td class="bline"> | |||
<select name='smalltype[]' size='5' style='width:120px;height:auto' multiple='yes'> | |||
<select name='smalltype[]' multiple='yes' style='width:160px'> | |||
<?php | |||
$smtypes = explode(',',trim($myrow['smalltypes'])); | |||
$sql = "Select * From `#@__sys_enum` where egroup like 'infotype' order by disorder asc, id desc "; | |||
@@ -298,13 +300,13 @@ function CheckCross() { | |||
$selstr = ''; | |||
} | |||
if($arr['evalue']%500==0) { | |||
echo "<option value='{$arr['evalue']}'{$selstr}>{$arr['ename']}</option>\r\n"; | |||
echo "<option value='{$arr['evalue']}'{$selstr}>{$arr['ename']}</option>"; | |||
} | |||
else if(preg_match("#\.#", $arr['evalue'])) | |||
{ | |||
echo "<option value='{$arr['evalue']}'{$selstr}> └───{$arr['ename']}</option>\r\n"; | |||
echo "<option value='{$arr['evalue']}'{$selstr}> └───{$arr['ename']}</option>"; | |||
} else { | |||
echo "<option value='{$arr['evalue']}'{$selstr}> └─{$arr['ename']}</option>\r\n"; | |||
echo "<option value='{$arr['evalue']}'{$selstr}> └─{$arr['ename']}</option>"; | |||
} | |||
} | |||
?> | |||
@@ -312,7 +314,7 @@ function CheckCross() { | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="display:none;border:1px solid #dee2e6" id="adset" class="table mb-0"> | |||
<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"> | |||
@@ -326,7 +328,7 @@ function CheckCross() { | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">绑定域名:</td> | |||
<td class="bline"> <input name="siteurl" type="text" id="siteurl" size="40" value="<?php echo $myrow['siteurl']?>" class="iptxt">(需加 http://,一级或二级域名的根网址)</td> | |||
<td class="bline"><input name="siteurl" type="text" id="siteurl" value="<?php echo $myrow['siteurl']?>" class="iptxt" style="width:260px">(需加 http://,一级或二级域名的根网址)</td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">站点根目录:</td> | |||
@@ -350,22 +352,22 @@ function CheckCross() { | |||
<tr> | |||
<td height="26" style="padding-left:10px">封面模板:</td> | |||
<td> | |||
<input name="tempindex" type="text" value="<?php echo $myrow['tempindex']?>" size="40" class="iptxt"> | |||
<input name="tempindex" type="text" value="<?php echo $myrow['tempindex']?>" class="iptxt" style="width:260px"> | |||
<button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览</button> | |||
<img src="../static/web/img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar1')"> | |||
<img src="../static/web/img/help.gif" style="cursor:pointer" onClick="ShowHide('helpvar1')"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" style="padding-left:10px">列表模板:</td> | |||
<td> | |||
<input name="templist" type="text" value="<?php echo $myrow['templist']?>" size="40" class="iptxt"> | |||
<input name="templist" type="text" value="<?php echo $myrow['templist']?>" class="iptxt" style="width:260px"> | |||
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templist')">浏览</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" style="padding-left:10px">文章模板:</td> | |||
<td> | |||
<input name="temparticle" type="text" value="<?php echo $myrow['temparticle']?>" size="40" class="iptxt"> | |||
<input name="temparticle" type="text" value="<?php echo $myrow['temparticle']?>" class="iptxt" style="width:260px"> | |||
<button type="button" name="set4" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.temparticle')">浏览</button> | |||
</td> | |||
</tr> | |||
@@ -378,14 +380,14 @@ function CheckCross() { | |||
{pinyin} 拼音+文章ID<br> | |||
{py} 拼音部首+文章ID<br> | |||
{typedir} 栏目目录 <br> | |||
{cc} 日期+ID混编后用转换为适合的字母 <br> | |||
{cc} 日期+ID混编后用转换为适合的字母 | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" style="padding-left:10px">文章命名规则:</td> | |||
<td> | |||
<input name="namerule" type="text" id="namerule" value="<?php echo $myrow['namerule']?>" size="40" class="iptxt"> | |||
<img src="../static/web/img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar2')"> | |||
<input name="namerule" type="text" id="namerule" value="<?php echo $myrow['namerule']?>" class="iptxt" style="width:260px"> | |||
<img src="../static/web/img/help.gif" style="cursor:pointer" onClick="ShowHide('helpvar2')"> | |||
</td> | |||
</tr> | |||
<tr id='helpvar3' style='display:none'> | |||
@@ -395,21 +397,21 @@ function CheckCross() { | |||
<tr> | |||
<td height="26" style="padding-left:10px">列表命名规则:</td> | |||
<td> | |||
<input name="namerule2" type="text" id="namerule2" value="<?php echo $myrow['namerule2']?>" size="40" class="iptxt"> | |||
<img src="../static/web/img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar3')"> | |||
<input name="namerule2" type="text" id="namerule2" value="<?php echo $myrow['namerule2']?>" class="iptxt" style="width:260px"> | |||
<img src="../static/web/img/help.gif" style="cursor:pointer" onClick="ShowHide('helpvar3')"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="60" style="padding-left:10px">SEO标题:</td> | |||
<td><input name="seotitle" type="text" id="seotitle" value="<?php echo $myrow['seotitle']?>" size="40" class="alltxt">(栏目模板里用{dede:field.seotitle /}调用)</td> | |||
<td><input name="seotitle" type="text" id="seotitle" value="<?php echo $myrow['seotitle']?>" class="alltxt" style="width:260px">(栏目模板里用{dede:field.seotitle /}调用)</td> | |||
</tr> | |||
<tr> | |||
<td height="60" style="padding-left:10px">关键词:</td> | |||
<td><textarea name="keywords" cols="70" rows="4" id="keywords" class="alltxt"><?php echo $myrow['keywords']?></textarea></td> | |||
<td><textarea name="keywords" cid="keywords" class="alltxt" style="width:360px;height:50px"><?php echo $myrow['keywords']?></textarea></td> | |||
</tr> | |||
<tr> | |||
<td height="60" style="padding-left:10px">栏目描述:</td> | |||
<td height="60"><textarea name="description" cols="70" rows="4" id="description" class="alltxt"><?php echo $myrow['description']?></textarea></td> | |||
<td height="60"><textarea name="description" id="description" class="alltxt" style="width:360px;height:50px"><?php echo $myrow['description']?></textarea></td> | |||
</tr> | |||
<tr> | |||
<td height="36" style="padding-left:10px">继承选项:</td> | |||
@@ -418,12 +420,12 @@ function CheckCross() { | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="display:none;border:1px solid #dee2e6" id="ctset" class="table mb-0"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="display:none;border:1px solid #dee2e6" id="ctset" class="table"> | |||
<tr> | |||
<td height="26">说明:栏目内容是替代原来栏目单独页的更灵活的一种方式,可在栏目模板中用{dede:field.content/}调用,通常用于企业简介之类的用途</td> | |||
</tr> | |||
<tr> | |||
<td style="padding:10px"> | |||
<td> | |||
<?php | |||
GetEditor("content",$myrow['content'],"450","Default","print","false"); | |||
?> | |||
@@ -433,8 +435,8 @@ function CheckCross() { | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<a href="catalog_main.php" class="btn btn-success">返回</a> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<a href="catalog_main.php" class="btn btn-success btn-sm">返回</a> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -124,7 +124,7 @@ td,th{padding:.25rem} | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff"> | |||
<td height="26"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td style="padding-left:10px"> | |||
@@ -140,7 +140,7 @@ td,th{padding:.25rem} | |||
</tr> | |||
<form name="form1" method="post" action="catalog_do.php?dopost=upRankAll"> | |||
<tr> | |||
<td bgcolor="#ffffff"> | |||
<td> | |||
<?php | |||
if(empty($opendir)) $opendir=-1; | |||
if($userChannel>0) $opendir=$userChannel; | |||
@@ -151,7 +151,7 @@ $tu->ListAllType($userChannel,$opendir); | |||
</tr> | |||
</form> | |||
<tr> | |||
<td align="right" class="py-3" style="padding-right:10px;background:#f8f8f8;border: 1px solid #dee2e6"> | |||
<td align="right" class="py-3" style="padding-right:10px;background:#f8f8f8;border-top:1px solid #dee2e6"> | |||
<button type="button" name="sb1" class="btn btn-success btn-sm" onClick="document.form1.submit();">更新排序</button> | |||
<button type="button" name="sb4" class="btn btn-success btn-sm" onClick="location='makehtml_js.php';">更新脚本</button> | |||
<button type="button" name="sb2" class="btn btn-success btn-sm" onClick="location='makehtml_list.php';">更新栏目</button> | |||
@@ -130,10 +130,10 @@ dl{clear:left;margin:0;padding:0} | |||
</head> | |||
<body onLoad="ContextMenu.intializeContextMenu()"> | |||
<form name="formjump" method="post" target="main" action=""></form> | |||
<table width='160' border='0' align='center' cellpadding='0' cellspacing='0'> | |||
<table width='260' border='0' align='center' cellpadding='0' cellspacing='0'> | |||
<tr> | |||
<td height='30' colspan="2" align='center' style='padding-bottom:3px'> | |||
<form name="form1" target="main" action="public_guide.php"><input type='hidden' name='action' value='edit' /></form> | |||
<form name="form1" target="main" action="public_guide.php"><input type='hidden' name='action' value='edit'></form> | |||
<form name="form2" target="main" action="catalog_main.php"></form> | |||
<form name="form3" target="menu" action="index_menu.php"></form> | |||
<form name="form5" target="main" action="catalog_add.php"><input type="hidden" name="dopost" value="quick"></form> | |||
@@ -8,7 +8,7 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form name="form1" action="content_att.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<tr> | |||
@@ -16,16 +16,16 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" colspan="3" bgcolor="#ffffff"> | |||
<td height="30" colspan="3"> | |||
自定义属性的意义和使用说明:<br> | |||
在以往的版本中,网站主页、频道封面的设计,都只能单调的用 arclist 标记把某栏目最新或按特定排序方式的文档无选择的读出来,这样做法存在很大的不足,例如,我希望在最顶部的地方显示我想要的文档,在以往的版本中是无法做到的,但使用自定义属性之后,只要给arclist 标记加上 att='自定义属性的ID' 的属性,然后在发布的时候对适合的文档选择专门的属性,那么使用arclist的地方就会按您的意愿显示指定的文档<br> | |||
注意事项:这个版本中att对应的字段是SET类型字段,因此为了数据安全起见不允许用户增加其它类型,但调用时允许使用组合条件,如:att='c,p'表示推荐图片新闻 | |||
</td> | |||
</tr> | |||
<tr bgcolor="#FBFCE2" align="center"> | |||
<td width="15%" height="26">ID</td> | |||
<td width="15%" height="26">排序</td> | |||
<td width="70%" align="left">属性名称</td> | |||
<tr bgcolor="#FBFCE2"> | |||
<td width="15%" height="26" align="center">ID</td> | |||
<td width="15%">排序</td> | |||
<td width="70%">属性名称</td> | |||
</tr> | |||
<?php | |||
$dsql->SetQuery(" Select * From `#@__arcatt` order by sortid asc "); | |||
@@ -36,27 +36,18 @@ | |||
$k++; | |||
?> | |||
<input type="hidden" name="att_<?php echo $k?>" value="<?php echo $row->att?>"> | |||
<tr bgcolor="#ffffff" height="26"> | |||
<td align="center"> | |||
<?php echo $row->att; ?> | |||
</td> | |||
<td> | |||
<input name="sortid_<?php echo $k?>" value="<?php echo $row->sortid; ?>" type="text" id="sortid_<?php echo $k?>" class='pubinputs' style='width:50%' /> | |||
</td> | |||
<td style="padding-left:5px;"> | |||
<input name="attname_<?php echo $k?>" value="<?php echo $row->attname; ?>" type="text" id="attname_<?php echo $k?>" size="30" class='pubinputs' /> | |||
</td> | |||
<tr> | |||
<td align="center"><?php echo $row->att; ?></td> | |||
<td><input name="sortid_<?php echo $k?>" value="<?php echo $row->sortid; ?>" type="text" id="sortid_<?php echo $k?>" class='pubinputs' style='width:50%'></td> | |||
<td><input name="attname_<?php echo $k?>" value="<?php echo $row->attname; ?>" type="text" id="attname_<?php echo $k?>" size="30" class='pubinputs'></td> | |||
</tr> | |||
<?php | |||
} | |||
?> | |||
<input type="hidden" name="idend" value="<?php echo $k?>"> | |||
<tr> | |||
<td height="26" colspan="3" bgcolor="#f8f8f8"></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff" colspan="3" align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<td colspan="3" align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
</td> | |||
</tr> | |||
</form> | |||
@@ -2,7 +2,7 @@ | |||
<html xmlns="http://www.w3.org/1999/xhtml"> | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title>文档批量管理</title> | |||
<title>文档批量维护</title> | |||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
@@ -55,47 +55,48 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form name="form1" action="content_batchup_action.php" target="stafrm" method="post"> | |||
<input type="hidden" name="dopost" value="go"> | |||
<tr> | |||
<td height="26" colspan="2" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="180" height="18" style="padding-left:10px">文档批量管理</td> | |||
<td width="30%" style="padding-left:10px">文档批量维护</td> | |||
<td align="right"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="180" align="center" bgcolor="#ffffff">选定栏目:</td> | |||
<td bgcolor="#ffffff"> | |||
<td width="260">选定栏目:</td> | |||
<td> | |||
<?php | |||
$tl = new TypeLink(0); | |||
$typeOptions = $tl->GetOptionArray(0,$admin_catalogs,0,1); | |||
echo "<select name='typeid' style='width:260px'>\r\n"; | |||
echo "<option value='0' selected>不限栏目</option>\r\n"; | |||
echo "<select name='typeid' style='width:260px'>"; | |||
echo "<option value='0' selected>不限栏目</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center" bgcolor="#ffffff">起始ID:</td> | |||
<td height="26" bgcolor="#ffffff">开始: | |||
<td height="26">起始ID:</td> | |||
<td height="26">开始: | |||
<input name="startid" type="text" id="startid" size="10"> | |||
结束: | |||
<input name="endid" type="text" id="endid" size="10"></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center" bgcolor="#ffffff">档案发布时间:</td> | |||
<td height="26" bgcolor="#ffffff"> | |||
<table width="500" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<td height="26">档案发布时间:</td> | |||
<td height="26"> | |||
<table border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td colspan="2"> <label> | |||
<input name="seltime" type="checkbox" class="np" id="seltime" value="1" onClick="ShowHideTime()"> | |||
启用时间筛选(仅移动或删除文档可用该选项)</label></td> | |||
<td colspan="2"> | |||
<label><input name="seltime" type="checkbox" class="np" id="seltime" value="1" onClick="ShowHideTime()"> | |||
启用时间筛选(仅移动或删除文档可用该选项)</label> | |||
</td> | |||
</tr> | |||
<tr id='seltimeField' style='display:none' height='26'> | |||
<td width="250">开始: | |||
@@ -111,14 +112,14 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center" bgcolor="#ffffff">用户的登录id:</td> | |||
<td height="26" bgcolor="#ffffff"><input name="userid" type="text" id="userid" size="20">(网址uid=后面跟的id)</td> | |||
<td height="26">用户的登录id:</td> | |||
<td height="26"><input name="userid" type="text" id="userid" size="20">(网址uid=后面跟的id)</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center" bgcolor="#ffffff">操作:</td> | |||
<td height="26" bgcolor="#ffffff"> | |||
<td height="26">操作:</td> | |||
<td height="26"> | |||
<label><input name="action" type="radio" class="np" id="checkradio" onClick="ShowHideMove()" value="check" | |||
checked='1' /> | |||
checked='1'> | |||
审核文档</label> | |||
<label><input name="action" type="radio" class="np" value="makehtml" id="makehtmlradio" onClick="ShowHideMove()"> | |||
更新HTML</label> | |||
@@ -127,12 +128,12 @@ | |||
<label><input name="action" type="radio" class="np" id="delradio" value="del" onClick="ShowHideMove()"> | |||
删除文档</label></td> | |||
</tr> | |||
<tr height="26" bgcolor="#ffffff"> | |||
<td height="26" align="center" bgcolor="#ffffff">移动选项:</td> | |||
<td height="26" bgcolor="#ffffff"> | |||
<tr> | |||
<td height="26" align="center">移动选项:</td> | |||
<td height="26"> | |||
<?php | |||
echo "<span id='moveField' style='display:none'>新位置:"; | |||
echo "<select name='newtypeid' style='width:250px'>\r\n"; | |||
echo "<select name='newtypeid' style='width:260px'>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
echo "<hr>"; | |||
@@ -141,16 +142,16 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" colspan="2" bgcolor="#ffffff" align="center"> | |||
<button name="b112" type="button" onClick="document.form1.submit();" class="btn btn-success">开始操作</button> | |||
<td height="30" bgcolor="#F8FCF1" colspan="2" align="center"> | |||
<button name="b112" type="button" onClick="document.form1.submit();" class="btn btn-success btn-sm">开始操作</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr bgcolor="#f8f8f8"> | |||
<tr> | |||
<td height="26" colspan="2"> | |||
<table width="100%" class="table table-borderless"> | |||
<tr> | |||
<td width="70%">进行状态:</td> | |||
<td width="70%">结果:</td> | |||
<td width="30%" align="right"> | |||
<script language='javascript'> | |||
function ResizeDiv(obj, ty) { | |||
@@ -165,7 +166,7 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" style="width:100%;height:300px"> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> | |||
@@ -178,25 +179,25 @@ | |||
<td height="26" colspan="2" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%" height="18" style="padding-left:10px">错误文档修正:</td> | |||
<td width="30%" style="padding-left:10px">错误文档修正</td> | |||
<td width="70%" align="right"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr height="26" bgcolor="#ffffff"> | |||
<td height="26" colspan="2" align="center" bgcolor="#ffffff"> | |||
<label><input type='radio' value='delnulltitle' name='action' class='np' /> | |||
<tr> | |||
<td height="26" colspan="2" align="center"> | |||
<label><input type='radio' value='delnulltitle' name='action' class='np'> | |||
删除空标题的文章</label> | |||
<label><input type='radio' value='delnullbody' name='action' class='np' /> | |||
<label><input type='radio' value='delnullbody' name='action' class='np'> | |||
删除内容为空的文章</label> | |||
<label><input type='radio' value='modddpic' name='action' class='np' /> | |||
<label><input type='radio' value='modddpic' name='action' class='np'> | |||
更正缩图错误</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" colspan="2" bgcolor="#f8f8f8" align="center"> | |||
<button name="b112" type="button" onClick="document.form2.submit();" class="btn btn-success">开始操作</button> | |||
<button name="b112" type="button" onClick="document.form2.submit();" class="btn btn-success btn-sm">开始操作</button> | |||
</td> | |||
</tr> | |||
</form> | |||
@@ -18,7 +18,7 @@ img{margin-right:0} | |||
</style> | |||
</head> | |||
<body onLoad="ContextMenu.intializeContextMenu()"> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable mt-3"> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td> | |||
<button type="button" class="btn btn-success btn-sm" onClick="location='catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives';">添加文档</button> | |||
@@ -123,7 +123,7 @@ img{margin-right:0} | |||
</td> | |||
</tr> | |||
<tr> | |||
<td colspan="10" align="center" class="py-3" style="background:#f8f8f8">{dede:pagelist listsize='6'/}</td> | |||
<td bgcolor="#f8f8f8" height="36" colspan="10" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</body> |
@@ -15,7 +15,7 @@ | |||
<script src="js/list.js"></script> | |||
</head> | |||
<body onLoad="ContextMenu.intializeContextMenu()"> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable mt-3"> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td> | |||
<button type="button" class="btn btn-success btn-sm" onClick="location='catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives';">添加文档</button> | |||
@@ -88,7 +88,7 @@ | |||
<td width="10%">操作</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="10"><center>暂无内容</center></td></tr>'} | |||
<tr align="center" bgcolor="#ffffff" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td>{dede:field.id/}</td> | |||
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np"></td> | |||
<td align="left"><span id="arc{dede:field.id/}"><a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives" oncontextmenu="ShowMenu(event,this,{dede:field.id/},'{dede:field.title function="str_replace('\'','',@me)"/}')">{dede:field.title/}</a></span>{dede:field.flag function='IsCommendArchives(@me)'/}</td> | |||
@@ -120,7 +120,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="36" colspan="10" align="center" style="background:#f8f8f8">{dede:pagelist listsize='6'/}</td> | |||
<td bgcolor="#f8f8f8" height="36" colspan="10" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</form> | |||
@@ -105,7 +105,7 @@ function noSelAll() { | |||
</script> | |||
</head> | |||
<body onLoad="ContextMenu.intializeContextMenu()"> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable mt-3"> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td> | |||
<button type="button" class="btn btn-success btn-sm" onClick="location='makehtml_spec.php';">更新专题</button> | |||
@@ -154,7 +154,7 @@ function noSelAll() { | |||
<td width="10%">属性</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'} | |||
<tr align="center" bgcolor="#ffffff" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#ffffff';" height="26" oncontextmenu="ShowMenu(event,this,{dede:field.id/},'<?php echo urlencode($fields['title'])?>')"> | |||
<tr align="center" onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';" height="26" oncontextmenu="ShowMenu(event,this,{dede:field.id/},'<?php echo urlencode($fields['title'])?>')"> | |||
<td>{dede:field.id/}</td> | |||
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np"></td> | |||
<td align="left"><a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives" oncontextmenu="ShowMenu(event,this,{dede:field.id/},'<?php echo urlencode($fields['title'])?>')">{dede:field.title/}</a></td> | |||
@@ -180,7 +180,7 @@ function noSelAll() { | |||
</tr> | |||
</form> | |||
<tr> | |||
<td height="36" colspan="9" align="center" style="background:#f8f8f8">{dede:pagelist listsize='6'/}</td> | |||
<td bgcolor="#f8f8f8" height="36" colspan="9" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</body> |
@@ -47,12 +47,12 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="table maintable mt-3"> | |||
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="table maintable mt-3 mb-3"> | |||
<tr bgcolor="#E7E7E7"> | |||
<td height="26" colspan="9" background="../static/web/img/tbg.gif">文章列表</td> | |||
</tr> | |||
<form name="form2"> | |||
<tr align="center" bgcolor="#FAFAF1" height="26"> | |||
<tr align="center" bgcolor="#F9FCEF" height="26"> | |||
<td width="6%">ID</td> | |||
<td width="4%">选择</td> | |||
<td width="30%">文章标题</td> | |||
@@ -64,7 +64,7 @@ | |||
<td width="13%">属性</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'} | |||
<tr align='center' bgcolor="#ffffff" onMouseMove="javascript:this.bgColor='#FCFDEE';" | |||
<tr align='center' | |||
onMouseOut="javascript:this.bgColor='#ffffff';" height="26"> | |||
<td>{dede:field.id/}</td> | |||
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np"></td> | |||
@@ -77,7 +77,7 @@ | |||
<td>{dede:field.flag function="IsCommendArchives(@me)" /}</td> | |||
</tr> | |||
{/dede:datalist} | |||
<tr bgcolor="#FAFAF1"> | |||
<tr bgcolor="#F9FCEF"> | |||
<td height="26" colspan="9"> | |||
<a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a> | |||
<a href="javascript:noSelAll()" class="btn btn-success btn-sm">取消</a> | |||
@@ -96,15 +96,15 @@ | |||
<td> | |||
<table width='600' border='0' cellpadding='0' cellspacing='0'> | |||
<tr> | |||
<td width='160' align='center'>请选择类目:</td> | |||
<td width='160'> | |||
<td width='260' align='center'>请选择类目:</td> | |||
<td width='260'> | |||
<select name='cid' style='width:160px'> | |||
<option value='0'>选择分类</option> | |||
<?php echo $optionarr?> | |||
</select> | |||
</td> | |||
<td width='100'>关键词:</td> | |||
<td width='160'><input type='text' name='keyword' value='<?php echo $keyword?>' style='width:160px'></td> | |||
<td width='260'><input type='text' name='keyword' value='<?php echo $keyword?>' style='width:160px'></td> | |||
<td width='100'><button type="submit" class="btn btn-success btn-sm">搜索</button></td> | |||
</tr> | |||
</table> | |||
@@ -143,7 +143,7 @@ | |||
</script> | |||
</head> | |||
<body onLoad="ContextMenu.intializeContextMenu()"> | |||
<table width="98%" align="center" border="0" cellspacing="0" cellpadding="0" class="table maintable mt-3"> | |||
<table width="98%" align="center" border="0" cellspacing="0" cellpadding="0" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td> | |||
<button type='button' class="btn btn-success btn-sm" onClick="location='catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives';">添加文档</button> | |||
@@ -198,7 +198,7 @@ | |||
<td width="10%">操作</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'} | |||
<tr align="center" bgcolor="#ffffff" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td>{dede:field.id/}</td> | |||
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.aid/}" class="np"></td> | |||
<td align='left'> | |||
@@ -215,7 +215,7 @@ | |||
</td> | |||
</tr> | |||
{/dede:datalist} | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td colspan="9" class="py-3" style="margin-left:10px"> | |||
<a class="btn btn-success btn-sm" href="javascript:selAll()" class="coolbg">全选</a> | |||
<a class="btn btn-success btn-sm" href="javascript:noSelAll()" class="coolbg">取消</a> | |||
@@ -6,14 +6,14 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center"> | |||
<tr> | |||
<td height="26" colspan="2" background="../static/web/img/tbg.gif"> | |||
文档信息统计: | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="250" colspan="2" align="center" bgcolor="#ffffff"> | |||
<td height="250" colspan="2" align="center"> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0"> | |||
<tr><td height="10"></td></tr> | |||
</table> | |||
@@ -21,15 +21,15 @@ | |||
<tr> | |||
<td>综合信息统计:</td> | |||
<td><table width="300" border="0" cellpadding="1" cellspacing="1" bgcolor="#996666"> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td width="140" bgcolor="#F3ECDA"> 文档总数:</td> | |||
<td width="160">[<?php echo $row1['dd']?>]</td> | |||
<td width="260">[<?php echo $row1['dd']?>]</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td bgcolor="#F3ECDA"> 评论总数:</td> | |||
<td>[<?php echo $row2['dd']?>]</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td bgcolor="#F3ECDA"> 会员总数:</td> | |||
<td>[<?php echo $row3['dd']?>]</td> | |||
</tr> | |||
@@ -54,7 +54,7 @@ | |||
$dsql->Execute("me","Select id,typename From `#@__channeltype`"); | |||
while($row = $dsql->GetObject()){ | |||
?> | |||
<tr align="center" bgcolor="#ffffff"> | |||
<tr align="center"> | |||
<td><?php echo $row->typename?></td> | |||
<td> | |||
[<?php echo (isset($arcs[$row->id]) ? $arcs[$row->id] : 0 ); ?>] | |||
@@ -20,7 +20,7 @@ | |||
} | |||
</script> | |||
<style> | |||
.STYLE1 { | |||
.style1 { | |||
color: #dc3545 | |||
} | |||
@@ -30,14 +30,14 @@ | |||
line-height: 150%; | |||
} | |||
.STYLE2 { | |||
.style2 { | |||
color: #424b51; | |||
display: none; | |||
} | |||
</style> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form name="form1" action="diy_add.php?action=add" method="post" onSubmit="return checkSubmit();"> | |||
<tr> | |||
<td height="26" colspan="2" background="../static/web/img/tbg.gif"> | |||
@@ -45,68 +45,60 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="160" height="26" align="left" bgcolor="#ffffff"> | |||
<td width="260" height="26" align="left"> | |||
diyid:<br> | |||
<span class="STYLE2" id='help1'>数字,创建后不可修改,并具有唯一性推荐使用默认值</span> | |||
<span class="style2" id='help1'>数字,创建后不可修改,并具有唯一性推荐使用默认值</span> | |||
</td> | |||
<td bgcolor="#ffffff"> | |||
<td> | |||
<input name="diyid" type="text" id="diyid" size="10" value="<?php echo $newdiyid?>" class='pubinputs' | |||
style='width:60px' /> | |||
style='width:60px'> | |||
* <img src="../static/web/img/help.gif" alt="帮助" border="0" style="cursor:hand" onClick="showHide2('help1')"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#ffffff"> | |||
<td height="26" align="left"> | |||
自定义表单名称:<br> | |||
<span class="STYLE2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span> | |||
<span class="style2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span> | |||
</td> | |||
<td bgcolor="#ffffff"> | |||
<input name="name" type="text" id="name" style="width:180px" value="自定义表单<?php echo $newdiyid; ?>" class='pubinputs' /> | |||
*<img src="../static/web/img/help.gif" alt="帮助" border="0" style="cursor:hand" onClick="showHide2('help3')"> | |||
<td> | |||
<input name="name" type="text" id="name" style="width:160px" value="自定义表单<?php echo $newdiyid; ?>" class='pubinputs'> *<img src="../static/web/img/help.gif" alt="帮助" border="0" style="cursor:hand" onClick="showHide2('help3')"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#ffffff">数据表:<br> | |||
<span class="STYLE2" id="help5">必须由英文、数字、下划线组成,用于保存自定义表单数据,不能和已有表名重复,创建后不可修改表名</span></td> | |||
<td bgcolor="#ffffff"> | |||
<input name="table" type="text" id="table" style="width:180px" value="<?php echo $cfg_dbprefix; ?>diyform<?php echo $newdiyid; ?>" class='pubinputs' /> | |||
*<img src="../static/web/img/help.gif" alt="帮助" border="0" style="cursor:hand" onClick="showHide2('help5')"> | |||
<td height="26" align="left">数据表:<br> | |||
<span class="style2" id="help5">必须由英文、数字、下划线组成,用于保存自定义表单数据,不能和已有表名重复,创建后不可修改表名</span></td> | |||
<td> | |||
<input name="table" type="text" id="table" style="width:160px" value="<?php echo $cfg_dbprefix; ?>diyform<?php echo $newdiyid; ?>" class='pubinputs'> *<img src="../static/web/img/help.gif" alt="帮助" border="0" style="cursor:hand" onClick="showHide2('help5')"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#ffffff">字段配置:</td> | |||
<td bgcolor="#ffffff"><span class="STYLE1">建立自定义表单后在“修改”自定义表单的地方添加字段即可</span></td> | |||
<td height="26" align="left">字段配置:</td> | |||
<td><span class="style1">建立自定义表单后在“修改”自定义表单的地方添加字段即可</span></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#ffffff">列表模板:</td> | |||
<td bgcolor="#ffffff"><input name="listtemplate" type="text" id="listtemplate" style="width:180px" value="list_diyform<?php echo $newdiyid; ?>.htm" class='pubinputs' /></td> | |||
<td height="26" align="left">列表模板:</td> | |||
<td><input name="listtemplate" type="text" id="listtemplate" style="width:160px" value="list_diyform<?php echo $newdiyid; ?>.htm" class='pubinputs'></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#ffffff">内容模板:</td> | |||
<td bgcolor="#ffffff"><input name="viewtemplate" type="text" id="viewtemplate" style="width:180px" value="view_diyform<?php echo $newdiyid; ?>.htm" class='pubinputs' /></td> | |||
<td height="26" align="left">内容模板:</td> | |||
<td><input name="viewtemplate" type="text" id="viewtemplate" style="width:160px" value="view_diyform<?php echo $newdiyid; ?>.htm" class='pubinputs'></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#ffffff">发布模板:</td> | |||
<td bgcolor="#ffffff"><input name="posttemplate" type="text" id="posttemplate" style="width:180px" value="post_diyform<?php echo $newdiyid; ?>.htm" class='pubinputs' /></td> | |||
<td height="26" align="left">发布模板:</td> | |||
<td><input name="posttemplate" type="text" id="posttemplate" style="width:160px" value="post_diyform<?php echo $newdiyid; ?>.htm" class='pubinputs'></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#ffffff">前台列表和内容页公开:</td> | |||
<td bgcolor="#ffffff"> | |||
<label><input name="public" type="radio" value="2" class='np' /> 完全公开</label> | |||
<label><input name="public" type="radio" value="1" class='np' checked='1' /> 公开审核过的</label> | |||
<label><input name="public" type="radio" value="0" class='np' /> 不公开</label> | |||
<td height="26" align="left">前台列表和内容页公开:</td> | |||
<td> | |||
<label><input name="public" type="radio" value="2" class='np'> 完全公开</label> | |||
<label><input name="public" type="radio" value="1" class='np' checked='1'> 公开审核过的</label> | |||
<label><input name="public" type="radio" value="0" class='np'> 不公开</label> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f8f8f8"> | |||
<td height="26" colspan="2"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-borderless"> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button type="submit" name="button" id="button" class='btn btn-success'>保存</button> | |||
<button type="button" class='btn btn-success' id="button2" onclick="location='diy_main.php';">返回</button> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td bgcolor="#f8f8f8" colspan="2" align="center" class="py-3"> | |||
<button type="submit" name="button" id="button" class='btn btn-success btn-sm'>保存</button> | |||
<button type="button" class='btn btn-success btn-sm' id="button2" onclick="location='diy_main.php';">返回</button> | |||
</td> | |||
</tr> | |||
</form> | |||
@@ -25,7 +25,7 @@ | |||
} | |||
</script> | |||
<style> | |||
.STYLE1 { | |||
.style1 { | |||
color: #dc3545 | |||
} | |||
@@ -35,57 +35,55 @@ | |||
line-height: 150%; | |||
} | |||
.STYLE2 { | |||
.style2 { | |||
color: #424b51; | |||
display: none; | |||
} | |||
</style> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form name="form1" action="diy_edit.php" method="post" onSubmit="return checkSubmit();"> | |||
<input type='hidden' name='diyid' value='<?php echo $diyid; ?>'> | |||
<input type='hidden' name='dopost' value='save'> | |||
<tr> | |||
<td height="26" colspan="2" background="../static/web/img/tbg.gif" style="padding-left:10px"> | |||
<a href="diy_main.php">自定义表单管理</a> > 修改自定义表单(修改表名不会创建新表,如果您不懂手工处理这些表,请不要修改) | |||
</td> | |||
<td height="26" colspan="2" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="diy_main.php">自定义表单管理</a> > 修改自定义表单</td> | |||
</tr> | |||
<tr> | |||
<td width="170" height="26" align="left" bgcolor="#ffffff">自定义表单 diyid:<br> | |||
<span class="STYLE2" id='help1'>数字,创建后不可修改,并具有唯一性</span></td> | |||
<td bgcolor="#ffffff"> | |||
<td width="260" height="26">自定义表单 diyid:<br> | |||
<span class="style2" id='help1'>数字,创建后不可修改,并具有唯一性</span> | |||
</td> | |||
<td> | |||
<?php echo $diyid; ?> | |||
<img src="../static/web/img/help.gif" alt="帮助" border="0" style="cursor:hand" onClick="showHide2('help1')"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#f8f8f8">自定义表单名称:<br> | |||
<span class="STYLE2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span></td> | |||
<td bgcolor="#f8f8f8"> | |||
<input name="name" type="text" id="name" value="<?php echo $row['name']?>" style="width:180px" class='alltxt' /> | |||
*<img src="../static/web/img/help.gif" alt="帮助" border="0" style="cursor:hand" onClick="showHide2('help3')"> | |||
<td height="26">自定义表单名称:(修改表名不会创建新表,如果您不懂手工处理这些表,请不要修改)<br> | |||
<span class="style2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span></td> | |||
<td> | |||
<input name="name" type="text" id="name" value="<?php echo $row['name']?>" style="width:160px" class='alltxt'> * <img src="../static/web/img/help.gif" alt="帮助" border="0" style="cursor:hand" onClick="showHide2('help3')"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#ffffff">数据表:<br> | |||
<span class="STYLE2" id="help5">自定义表单数据表创建后不可修改表名</span></td> | |||
<td bgcolor="#ffffff"> | |||
<input name="table" type="text" id="table" style="width:180px" value="<?php echo $row['table']; ?>" class='alltxt' disabled='1' /> | |||
*<img src="../static/web/img/help.gif" alt="帮助" border="0" style="cursor:hand" onClick="showHide2('help5')"> | |||
<td height="26">数据表:<br> | |||
<span class="style2" id="help5">自定义表单数据表创建后不可修改表名</span> | |||
</td> | |||
<td> | |||
<input name="table" type="text" id="table" style="width:160px" value="<?php echo $row['table']; ?>" class='alltxt' disabled='1'> * <img src="../static/web/img/help.gif" alt="帮助" border="0" style="cursor:hand" onClick="showHide2('help5')"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#f8f8f8">模型字段配置:<br> | |||
信息索引类字段系统已经加入,<br> | |||
您只需要增加其它个性化字段即可</td> | |||
<td height="26" bgcolor="#f8f8f8">模型字段配置:<br> | |||
信息索引类字段系统已经加入,您只需要增加其它个性化字段即可 | |||
</td> | |||
<td bgcolor="#f8f8f8"> | |||
<button name="fset" type="button" id="fset" onClick="location.href='diy_field_add.php?diyid=<?php echo $diyid; ?>'" class="btn btn-success btn-sm" | |||
>添加新字段</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td colspan='2' bgcolor="#ffffff"> | |||
<td colspan='2'> | |||
<table width="100%" border="0" cellpadding="1" cellspacing="1" align="center"> | |||
<tr align="center" bgcolor="#FBFCE2" height="26"> | |||
<td width="28%">表单提示文字</td> | |||
@@ -95,7 +93,6 @@ | |||
<td>维护</td> | |||
</tr> | |||
<?php | |||
$ds = file(DedeInclude('/inc/fieldtype.txt')); | |||
foreach($ds as $d){ | |||
$dds = explode(',',trim($d)); | |||
@@ -108,7 +105,7 @@ $dtp->LoadSource($fieldset); | |||
if(is_array($dtp->CTags)){ | |||
foreach($dtp->CTags as $ctag) | |||
{ | |||
?> <tr align="center" bgcolor="#ffffff" height="26"> | |||
?> <tr height="26" align="center"> | |||
<td> | |||
<?php | |||
$itname = $ctag->GetAtt('itemname'); | |||
@@ -140,50 +137,34 @@ foreach($dtp->CTags as $ctag) | |||
</tr> | |||
<?php | |||
}} | |||
?> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#ffffff">列表模板:</td> | |||
<td bgcolor="#ffffff"> | |||
<input name="listtemplate" type="text" id="listtemplate" style="width:180px" value="<?php echo $row['listtemplate']; ?>" class='alltxt' /> | |||
</td> | |||
<td height="26">列表模板:</td> | |||
<td><input name="listtemplate" type="text" id="listtemplate" style="width:160px" value="<?php echo $row['listtemplate']; ?>" class='alltxt'></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#ffffff">内容模板:</td> | |||
<td bgcolor="#ffffff"> | |||
<input name="viewtemplate" type="text" id="viewtemplate" style="width:180px" value="<?php echo $row['viewtemplate']; ?>" class='alltxt' /> | |||
</td> | |||
<td height="26">内容模板:</td> | |||
<td><input name="viewtemplate" type="text" id="viewtemplate" style="width:160px" value="<?php echo $row['viewtemplate']; ?>" class='alltxt'></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#ffffff">发布模板:</td> | |||
<td bgcolor="#ffffff"> | |||
<input name="posttemplate" type="text" id="posttemplate" style="width:180px" value="<?php echo $row['posttemplate']; ?>" class='alltxt' /> | |||
</td> | |||
<td height="26">发布模板:</td> | |||
<td><input name="posttemplate" type="text" id="posttemplate" style="width:160px" value="<?php echo $row['posttemplate']; ?>" class='alltxt'></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#ffffff">前台列表和内容页公开:</td> | |||
<td bgcolor="#ffffff"> | |||
<label><input name="public" type="radio" value="2" <?php echo $row['public'] == 2 ? 'checked' : ''; ?> | |||
class='np' /> 完全公开 </label> | |||
<label><input name="public" type="radio" value="1" <?php echo $row['public'] == 1 ? 'checked' : ''; ?> | |||
class='np' /> 公开审核过的 </label> | |||
<label><input name="public" type="radio" value="0" <?php echo $row['public'] == 0 ? 'checked' : ''; ?> | |||
class='np' /> 不公开 </label> | |||
<td height="26">前台列表和内容页公开:</td> | |||
<td> | |||
<label><input name="public" type="radio" value="2" <?php echo $row['public'] == 2 ? 'checked' : ''; ?> class='np'> 完全公开 </label> | |||
<label><input name="public" type="radio" value="1" <?php echo $row['public'] == 1 ? 'checked' : ''; ?> class='np'> 公开审核过的 </label> | |||
<label><input name="public" type="radio" value="0" <?php echo $row['public'] == 0 ? 'checked' : ''; ?> class='np'> 不公开 </label> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f8f8f8"> | |||
<td height="26" colspan="2"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-borderless"> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button type="submit" name="button" id="button" class='btn btn-success'>保存</button> | |||
<button type="button" class='btn btn-success' id="button2" onclick="location='diy_main.php';">返回</button> | |||
</td> | |||
</tr> | |||
</table> | |||
<tr> | |||
<td bgcolor="#f8f8f8" colspan="2" align="center" class="py-3"> | |||
<button type="submit" name="button" id="button" class='btn btn-success btn-sm'>保存</button> | |||
<button type="button" class='btn btn-success btn-sm' id="button2" onclick="location='diy_main.php';">返回</button> | |||
</td> | |||
</tr> | |||
</form> | |||
@@ -10,12 +10,12 @@ | |||
<script src="../static/web/js/bootstrap.bundle.min.js"></script> | |||
</head> | |||
<body> | |||
<table class="table maintable mt-3" width="98%" border="0" align="center" cellpadding="1" cellspacing="1"> | |||
<table class="table maintable mt-3" width="98%" border="0" align="center" cellpadding="1" cellspacing="1"> | |||
<tr> | |||
<td width="100%" height="26" colspan="2" background="../static/web/img/tbg.gif"><a href="<?php echo $ENV_GOBACK_URL; ?>">表单管理</a> > 编辑评论</td> | |||
</tr> | |||
<tr> | |||
<td height="167" colspan="2" align="center" bgcolor="#ffffff"> | |||
<td height="167" colspan="2" align="center"> | |||
<form name="form1" method="post" enctype="multipart/form-data" action="diy_list.php?action=edit&diyid=<?php echo $diy->diyid ?>&id=<?php echo $row['id'] ?>&do=2"> | |||
<input type="hidden" name="dopost" value="edit"> | |||
<input type="hidden" name="id" value="<?php echo $row['id']; ?>"> | |||
@@ -28,26 +28,26 @@ | |||
if($row[$field]=='') continue; | |||
if($fielddata[1]=='img') | |||
{ | |||
$row[$field] = "<input name='photo' type='file' /> <a href='{$row[$field]}' target='_blank'><img src='../static/web/img/channeladd.gif' border='0' /> 浏览原图</a> <a href='diy_list.php?action=delete&diyid=$diy->diyid&id=$row[id]&do=1&name=$field'>删除原图</a>\r\n"; | |||
$row[$field] = "<input name='photo' type='file'> <a href='{$row[$field]}' target='_blank'><img src='../static/web/img/channeladd.gif' border='0'> 浏览原图</a> <a href='diy_list.php?action=delete&diyid=$diy->diyid&id=$row[id]&do=1&name=$field'>删除原图</a>"; | |||
} | |||
else if($fielddata[1]=='addon') | |||
{ | |||
$row[$field] = "<input name='file' type='file' /> <a href='{$row[$field]}' target='_blank'><img src='../static/web/img/channeladd.gif' border='0' /> 浏览原附件</a> <a href='diy_list.php?action=delete&diyid=$diy->diyid&id=$row[id]&do=1&name=$field'>删除原附件</a>"; | |||
$row[$field] = "<input name='file' type='file'> <a href='{$row[$field]}' target='_blank'><img src='../static/web/img/channeladd.gif' border='0'> 浏览原附件</a> <a href='diy_list.php?action=delete&diyid=$diy->diyid&id=$row[id]&do=1&name=$field'>删除原附件</a>"; | |||
} else { | |||
if(!in_array($fielddata[1],$allowhtml)){ | |||
$row[$field] = dede_htmlspecialchars($row[$field]); | |||
$row[$field] = "<input type='text' name='".$field."' value='".$row[$field]."'/>"; | |||
} | |||
} | |||
echo '<tr bgcolor="#ffffff"><td width="20%" height="26">'.$fielddata[0].':'.'</td><td width="80%">'.$row[$field].'</td></tr>'; | |||
echo '<tr><td width="20%" height="26">'.$fielddata[0].':'.'</td><td width="80%">'.$row[$field].'</td></tr>'; | |||
$formfields .= $formfields == ''? $field.','.$fielddata[1] : ';'.$field.','.$fielddata[1]; | |||
} | |||
echo "<input type='hidden' name='dede_fields' value='".$formfields."'>"; | |||
?> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button type="submit" name="Submit1" class='btn btn-success'>保存保存</button> | |||
<button type="button" name="Submit2" class='btn btn-success' onClick="location='<?php echo $ENV_GOBACK_URL; ?>';">不理返回</button> | |||
<button type="submit" name="Submit1" class='btn btn-success btn-sm'>保存</button> | |||
<button type="button" name="Submit2" class='btn btn-success btn-sm' onClick="location='<?php echo $ENV_GOBACK_URL; ?>';">返回</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -28,53 +28,44 @@ function GetFields() | |||
var vinnertext = theform.vinnertext.value; | |||
var spage = (theform.spage[0].checked ? theform.spage[0].value : theform.spage[1].value); | |||
var sisnull = (isnull==0 ? "false" : "true"); | |||
if(itemname=="") | |||
{ | |||
ShowMsg("表单提示名称不能为空"); | |||
theform.itemname.focus(); | |||
return false; | |||
} | |||
if(fieldname=="") | |||
{ | |||
ShowMsg("字段名称不能为空"); | |||
theform.fieldname.focus(); | |||
return false; | |||
} | |||
if(notAllow.indexOf(" "+fieldname+" ") >-1 ) | |||
{ | |||
ShowMsg("字段名称不合法,如下字段名已经存在,建议在名称后加上数字以区分:\n"+notAllow); | |||
return false; | |||
} | |||
if((dtype=="radio" || dtype=="select" || dtype=="checkbox") && vdefault=="") | |||
{ | |||
ShowMsg("您选择的select或radio、checkbox类型,必须默认值设置选择的项目(用逗号[,]分开)"); | |||
return false; | |||
} | |||
if(spage=="no") spage = ""; | |||
revalue = "<field:"+fieldname+" itemname=\""+itemname+"\" autofield=\"1\" type=\""+dtype+"\" isnull=\""+sisnull+"\" default=\""+vdefault+"\" "; | |||
revalue += " maxlength=\""+maxlength+"\" page=\""+spage+"\">\r\n"+vinnertext+"</field:"+fieldname+">\r\n"; | |||
revalue += " maxlength=\""+maxlength+"\" page=\""+spage+"\">"+vinnertext+"</field:"+fieldname+">"; | |||
document.form1.fieldstring.value = revalue; | |||
return true; | |||
} | |||
</script> | |||
<style> | |||
td{ padding:6px; padding-left:6px; line-height:26px } | |||
.STYLE1 {color: #FF3300} | |||
.STYLE2 {color: #424b51} | |||
.style1 {color: #FF3300} | |||
.style2 {color: #424b51} | |||
.nw { float:left; width:150px; } | |||
.cls { clear:both; } | |||
</style> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form name="form1" action="diy_field_add.php" method="post" onSubmit="return GetFields();"> | |||
<input type='hidden' name='action' value='save'> | |||
<input type='hidden' name='diyid' value='<?php echo $diyid?>'> | |||
@@ -83,7 +74,7 @@ td{ padding:6px; padding-left:6px; line-height:26px } | |||
<td height="26" colspan="2" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%"><a href="diy_main.php">自定义表单管理</a> > 增加新字段</td> | |||
<td width="30%" style="padding-left:10px"><a href="diy_main.php">自定义表单管理</a> > 增加新字段</td> | |||
<td align="right"> | |||
<button type="button" name="ss1" onClick="location='diy_edit.php?diyid=<?php echo $diyid; ?>&dopost=edit';" class="btn btn-success btn-sm">当前表单信息</button> | |||
</td> | |||
@@ -92,46 +83,45 @@ td{ padding:6px; padding-left:6px; line-height:26px } | |||
</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" bgcolor="#ffffff"><span class="STYLE1">所有填写的内容不允许包含双引号["],否则配置将无法写入</span></td> | |||
<td colspan="2"><span class="style1">所有填写的内容不允许包含双引号["],否则配置将无法写入</span></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff">表单提示文字:<br> | |||
<span class="STYLE2">发布内容时显示的提示文字</span> | |||
<td width="30%">表单提示文字:<br> | |||
<span class="style2">发布内容时显示的提示文字</span> | |||
</td> | |||
<td bgcolor="#ffffff"><input name="itemname" type="text" id="itemname" class="pubinputs"> *</td> | |||
<td><input name="itemname" type="text" id="itemname" class="pubinputs"> *</td> | |||
</tr> | |||
<tr> | |||
<td width="28%" bgcolor="#ffffff">字段名称:<br> | |||
<span class="STYLE2">只能用英文字母或数字,数据表的真实字段名,如果数据类型是联动类型,该项应该填写联动类型的<a href='stepselect_main.php' target='_blank'>[组名称]</a></span> | |||
<td>字段名称:<br> | |||
<span class="style2">只能用英文字母或数字,数据表的真实字段名,如果数据类型是联动类型,该项应该填写联动类型的<a href='stepselect_main.php' target='_blank'>[组名称]</a></span> | |||
</td> | |||
<td width="72%" bgcolor="#ffffff"> <input name="fieldname" type="text" id="fieldname" class="pubinputs"> *</td> | |||
<td><input name="fieldname" type="text" id="fieldname" class="pubinputs"> *</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff">内容是否需要分页符:<br> | |||
<span class="STYLE2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span> | |||
<td>内容是否需要分页符:<br> | |||
<span class="style2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span> | |||
</td> | |||
<td bgcolor="#ffffff"> | |||
<td> | |||
<input name="isnull" type="hidden" value="1"> | |||
<label><input name="spage" type="radio" value="split" class='np' /> | |||
<label><input name="spage" type="radio" value="split" class='np'> | |||
是</label> | |||
| |||
<label><input name="spage" type="radio" value="no" class='np' checked='1' /> | |||
<label><input name="spage" type="radio" value="no" class='np' checked='1'> | |||
否</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff">数据类型:</td> | |||
<td bgcolor="#ffffff"> | |||
<td>数据类型:</td> | |||
<td> | |||
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype1' value="text" checked='1'> 单行文本(varchar)</label></div> | |||
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype2' value="textchar"> 单行文本(char)</label></div> | |||
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype3' value="multitext"> 多行文本</label></div> | |||
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype4' value="htmltext"> HTML文本</label></div> | |||
<br class='cls' /> | |||
<br class='cls'> | |||
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype6' value="int"> 整数类型</label></div> | |||
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype7' value="float"> 小数类型</label></div> | |||
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype8' value="datetime"> 时间类型</label></div> | |||
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype13' value="select"> 使用option下拉框</label></div> | |||
<br class='cls' /> | |||
<br class='cls'> | |||
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype14' value="radio"> 使用radio选项卡</label></div> | |||
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype15' value="checkbox"> Checkbox多选框</label></div> | |||
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype9' value="img"> 图片</label></div> | |||
@@ -139,35 +129,29 @@ td{ padding:6px; padding-left:6px; line-height:26px } | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff">默认值:<br> | |||
<span class="STYLE2">如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(用“,”分开,如“男,女,人妖”)</span> | |||
<td>默认值:<br> | |||
<span class="style2">如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(用“,”分开,如“男,女,人妖”)</span> | |||
</td> | |||
<td bgcolor="#ffffff"> <textarea name="vdefault" type="text" id="vdefault" style="width:70%;height:60px"></textarea></td> | |||
<td><textarea name="vdefault" type="text" id="vdefault" style="width:70%;height:60px"></textarea></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff">最大长度:<br> | |||
<span class="STYLE2">文本数据必须填写,大于255为text类型</span> | |||
<td>最大长度:<br> | |||
<span class="style2">文本数据必须填写,大于255为text类型</span> | |||
</td> | |||
<td bgcolor="#ffffff"><input name="maxlength" type="text" id="maxlength" class="pubinputs" value="250" style="width:80px"></td> | |||
<td><input name="maxlength" type="text" id="maxlength" class="pubinputs" value="250" style="width:80px"></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff">自定义表单HTML:</td> | |||
<td bgcolor="#ffffff">自定义表单HTML模板中用~name~表示提示文字,~form~表示表单元素</td> | |||
<td>自定义表单HTML:</td> | |||
<td>自定义表单HTML模板中用~name~表示提示文字,~form~表示表单元素</td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#ffffff"></td> | |||
<td bgcolor="#ffffff"><textarea name="vinnertext" cols="45" rows="5" id="vinnertext" style="width:70%;height:120px"></textarea></td> | |||
<td align="center"></td> | |||
<td><textarea name="vinnertext" cols="45" rows="5" id="vinnertext" style="width:70%;height:120px"></textarea></td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="2" bgcolor="#F9FDF0"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="reset" class="btn btn-success">重置</button> | |||
</td> | |||
</tr> | |||
</table> | |||
<td colspan="2" align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="reset" class="btn btn-success btn-sm">重置</button> | |||
</td> | |||
</tr> | |||
</form> | |||
@@ -36,7 +36,7 @@ function GetFields() | |||
if(spage=="no") spage = ""; | |||
revalue = "<field:"+fieldname+" itemname=\""+itemname+"\" autofield=\"1\" type=\""+dtype+"\""; | |||
revalue += " isnull=\""+sisnull+"\" default=\""+vdefault+"\" "; | |||
revalue += " maxlength=\""+maxlength+"\" page=\""+spage+"\">\r\n"+vinnertext+"</field:"+fieldname+">\r\n"; | |||
revalue += " maxlength=\""+maxlength+"\" page=\""+spage+"\">"+vinnertext+"</field:"+fieldname+">"; | |||
document.form1.fieldstring.value = revalue; | |||
return true; | |||
@@ -44,14 +44,14 @@ function GetFields() | |||
</script> | |||
<style> | |||
td{ padding:6px; padding-left:6px; } | |||
.STYLE1 {color: #FF3300} | |||
.STYLE2 {color: #424b51} | |||
.style1 {color: #FF3300} | |||
.style2 {color: #424b51} | |||
.nw { float:left; width:150px; } | |||
.cls { clear:both; } | |||
</style> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form name="form1" action="diy_field_edit.php" method="post" onSubmit="return GetFields();"> | |||
<input type='hidden' name='action' value='save'> | |||
<input type='hidden' name='diyid' value='<?php echo $diyid?>'> | |||
@@ -71,29 +71,29 @@ td{ padding:6px; padding-left:6px; } | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff">表单提示文字:<br> | |||
<span class="STYLE2">发布内容时显示的提示文字</span> | |||
<td>表单提示文字:<br> | |||
<span class="style2">发布内容时显示的提示文字</span> | |||
</td> | |||
<td bgcolor="#ffffff"><input name="itemname" type="text" id="itemname" value="<?php echo $ctag->GetAtt('itemname')?>" class="pubinputs"> *(发布内容时显示的项名字)</td> | |||
<td><input name="itemname" type="text" id="itemname" value="<?php echo $ctag->GetAtt('itemname')?>" class="pubinputs"> *(发布内容时显示的项名字)</td> | |||
</tr> | |||
<tr> | |||
<td width="28%" bgcolor="#ffffff">字段名称:<br> | |||
<span class="STYLE2">只能用英文字母或数字,数据表的真实字段名</span> | |||
<td width="28%">字段名称:<br> | |||
<span class="style2">只能用英文字母或数字,数据表的真实字段名</span> | |||
</td> | |||
<td width="72%" bgcolor="#ffffff" style="table-layout:fixed;word-break:break-all"><?php echo $fname?></td> | |||
<td width="72%" style="table-layout:fixed;word-break:break-all"><?php echo $fname?></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff">数据类型:</td> | |||
<td bgcolor="#ffffff"> | |||
<td>数据类型:</td> | |||
<td> | |||
<select name="dtype" id="type" style="width:260px"> | |||
<?php | |||
$dtype = $ctag->GetAtt('type'); | |||
if($dtype!='' && isset($fieldtypes[$dtype])) | |||
{ | |||
echo "<option value='{$dtype}'>{$fieldtypes[$dtype]}</option>\r\n"; | |||
echo "<option value='{$dtype}'>{$fieldtypes[$dtype]}</option>"; | |||
$canchange = true; | |||
} else { | |||
echo "<option value='{$dtype}'>系统专用类型</option>\r\n"; | |||
echo "<option value='{$dtype}'>系统专用类型</option>"; | |||
$canchange = false; | |||
} | |||
if($canchange) | |||
@@ -118,42 +118,42 @@ td{ padding:6px; padding-left:6px; } | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff">内容是否需要分页符:<br> | |||
<span class="STYLE2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td> | |||
<td bgcolor="#ffffff"> | |||
<td>内容是否需要分页符:<br> | |||
<span class="style2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td> | |||
<td> | |||
<input name="isnull" type="hidden" value="1"> | |||
<label><input name="spage" type="radio" value="split"<?php if($ctag->GetAtt('page')=='split') echo " checked='1' "; ?> class='np' /> | |||
<label><input name="spage" type="radio" value="split"<?php if($ctag->GetAtt('page')=='split') echo " checked='1' "; ?> class='np'> | |||
是 </label> | |||
<label><input name="spage" type="radio" value="no"<?php if($ctag->GetAtt('page')=='no'||$ctag->GetAtt('page')=='') echo " checked='1' "; ?> class='np' /> | |||
<label><input name="spage" type="radio" value="no"<?php if($ctag->GetAtt('page')=='no'||$ctag->GetAtt('page')=='') echo " checked='1' "; ?> class='np'> | |||
否</label></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff">默认值:<br> | |||
<span class="STYLE2"> 如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(用“,”分开,如“男,女,人妖”),如果为联动选框,这里填写联动选框项目名称</span></td> | |||
<td bgcolor="#ffffff"><textarea name="vdefault" type="text" id="vdefault" style="width:70%;height:60px"><?php echo $ctag->GetAtt('default'); ?></textarea></td> | |||
<td>默认值:<br> | |||
<span class="style2"> 如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(用“,”分开,如“男,女,人妖”),如果为联动选框,这里填写联动选框项目名称</span></td> | |||
<td><textarea name="vdefault" type="text" id="vdefault" style="width:70%;height:60px"><?php echo $ctag->GetAtt('default'); ?></textarea></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff">最大长度:<br> | |||
<span class="STYLE2"> 文本数据必须填写,大于255为text类型 </span></td> | |||
<td bgcolor="#ffffff"> | |||
<td>最大长度:<br> | |||
<span class="style2"> 文本数据必须填写,大于255为text类型 </span></td> | |||
<td> | |||
<input name="maxlength" type="text" id="maxlength" value="<?php echo $ctag->GetAtt('maxlength')?>" style="width:80px;padding-top:3px;"></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff" style="padding-left:10px">自定义表单HTML:</td> | |||
<td bgcolor="#ffffff"> | |||
<td style="padding-left:10px">自定义表单HTML:</td> | |||
<td> | |||
自定义表单HTML用~name~表示提示文字,~form~表示表单元素<br> </td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#ffffff"><br> </td> | |||
<td bgcolor="#ffffff"><textarea name="vinnertext" cols="45" rows="5" id="vinnertext" style="width:70%;height:120px"><?php echo $ctag->GetInnerText(); ?></textarea></td> | |||
<td align="center"><br> </td> | |||
<td><textarea name="vinnertext" cols="45" rows="5" id="vinnertext" style="width:70%;height:120px"><?php echo $ctag->GetInnerText(); ?></textarea></td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="2" bgcolor="#f8f8f8"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless mb-3"> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="reset" class="btn btn-success">重置</button> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="reset" class="btn btn-success btn-sm">重置</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -10,7 +10,7 @@ | |||
<body> | |||
<form action="diy_list.php" method="post"> | |||
<input type="hidden" name="diyid" value="<?php echo $diyid; ?>"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td colspan="3" height="26" background="../static/web/img/tbg.gif"> | |||
<div style="float:left"><a href="diy_main.php">自定义表单管理</a> > <?php echo $diy->name; ?></div> | |||
@@ -28,7 +28,7 @@ | |||
{ | |||
if($fields[$field]=='') continue; | |||
if($fielddata[1]=='img'){ | |||
$fields[$field] = "<a href='{$fields[$field]}' target='_blank'><img src='../static/web/img/channeladd.gif' border='0'>图片附件</a>\r\n"; | |||
$fields[$field] = "<a href='{$fields[$field]}' target='_blank'><img src='../static/web/img/channeladd.gif' border='0'>图片附件</a>"; | |||
} | |||
else if($fielddata[1]=='addon'){ | |||
$fields[$field] = "<a href='{$fields[$field]}' target='_blank'><img src='../static/web/img/channeladd.gif' border='0'>其它附件</a>"; | |||
@@ -37,10 +37,10 @@ | |||
$fields[$field] = dede_htmlspecialchars($fields[$field]); | |||
} | |||
} | |||
echo '<tr height="26"><td bgcolor="#fff">'.$fielddata[0].'</td><td bgcolor="#fff" colspan="2">'.$fields[$field].'</td></tr>'; | |||
echo '<tr><td bgcolor="#fff">'.$fielddata[0].'</td><td bgcolor="#fff" colspan="2">'.$fields[$field].'</td></tr>'; | |||
} | |||
} else { | |||
echo '<tr height="26"><td bgcolor="#fff">暂无记录</td></tr>'; | |||
echo '<tr><td bgcolor="#fff">暂无记录</td></tr>'; | |||
} | |||
?> | |||
{/dede:datalist} | |||
@@ -13,14 +13,14 @@ | |||
<td class="tbtitletxt" background="../static/web/img/tbg.gif"> | |||
<table width="96%" border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="30%" class="py-3"><a href="diy_add.php" class="btn btn-success btn-sm ml-3">增加新的自定义表单</a></td> | |||
<td width="30%" height="30" style="padding-left:10px"><a href="diy_add.php" class="btn btn-success btn-sm ml-3">增加新的自定义表单</a></td> | |||
<td align="right"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable" style="margin-bottom:10px;background:#CFCFCF"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable" style="margin-bottom:10px"> | |||
<tr align="center" bgcolor="#FBFCE2" height="26"> | |||
<td>diyid</td> | |||
<td>名称</td> | |||
@@ -28,7 +28,7 @@ | |||
<td>管理</td> | |||
</tr> | |||
{dede:datalist empty='<tr bgcolor="white"><td colspan="4"><center>暂无内容</center></td></tr>'} | |||
<tr align="center" bgcolor="#ffffff" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
<tr align="center" onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td>{dede:field.diyid/}</td> | |||
<td><a href="diy_list.php?action=list&diyid={dede:field.diyid/}">{dede:field.name/}</a></td> | |||
<td>{dede:field.table/}</td> | |||
@@ -43,7 +43,7 @@ | |||
</table> | |||
<table class="mb-3" width="98%" border="0" cellpadding="5" cellspacing="1" align="center" style="margin:auto;border:1px solid #dee2e6"> | |||
<tr> | |||
<td height="36" align="center" style="background:#f8f8f8">{dede:pagelist listsize='6'/}</td> | |||
<td bgcolor="#f8f8f8" height="36" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</body> |
@@ -18,9 +18,9 @@ function SelectTemplets(fname){ | |||
<input type="hidden" name="action" value="post"> | |||
<input type="hidden" name="diyid" value="<?php echo $diyid; ?>"> | |||
<input type="hidden" name="do" value="2"> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#ffffff"> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1"> | |||
<tr> | |||
<td bgcolor="#ffffff"> | |||
<td> | |||
<?php | |||
echo $postform; | |||
?> | |||
@@ -30,8 +30,8 @@ function SelectTemplets(fname){ | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1"> | |||
<tr> | |||
<td bgcolor="#f8f8f8" align="center" class="py-3"> | |||
<input type="submit" name="submit" value="提交" class='np coolbg' /> | |||
<input type="reset" name="reset" value="重置" class='np coolbg' /> | |||
<input type="submit" name="submit" value="提交" class='np coolbg'> | |||
<input type="reset" name="reset" value="重置" class='np coolbg'> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -55,7 +55,7 @@ | |||
</script> | |||
<form name="form2"> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" | |||
class="table maintable mt-3"> | |||
class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif" colspan="8" style="padding-left:10px">文章错误管理</td> | |||
</tr> | |||
@@ -70,8 +70,8 @@ | |||
<td width="15%">修改建议</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'} | |||
<tr align="center" bgcolor="#ffffff" height="26" align="center" | |||
onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
<tr height="26" align="center" | |||
onMouseMove="javascript:this.bgColor='#FCFDEE';" onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td><input name="id" type="checkbox" id="id" value="{dede:field.id/}" class="np"></td> | |||
<td>{dede:field.id /}</td> | |||
<td>{dede:field.mid function='username(@me)'/}</td> | |||
@@ -82,7 +82,7 @@ | |||
<td>{dede:field.oktxt /}</td> | |||
</tr> | |||
{/dede:datalist} | |||
<tr align="left" bgcolor="#ffffff" height="26"> | |||
<tr align="left" height="26"> | |||
<td colspan="8"> | |||
<a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a> | |||
<a href="javascript:noSelAll()" class="btn btn-success btn-sm">取消</a> | |||
@@ -8,62 +8,62 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="1" cellspacing="1" class="table maintable mt-3"> | |||
<table width="98%" border="0" align="center" cellpadding="1" cellspacing="1" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td width="100%" height="26" colspan="2" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="<?php echo $ENV_GOBACK_URL; ?>">评论管理</a> > 编辑评论</td> | |||
</tr> | |||
<tr> | |||
<td height="187" colspan="2" align="center" bgcolor="#ffffff"> | |||
<td height="187" colspan="2" align="center"> | |||
<form name="form1" method="post" action="feedback_edit.php"> | |||
<input type="hidden" name="dopost" value="edit"> | |||
<input type="hidden" name="id" value="<?php echo $row['id']; ?>"> | |||
<table width="100%" border="0" cellpadding="3" cellspacing="1" class="table table-borderless"> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td width="120" height="26">评论所属文章:</td> | |||
<td> | |||
<?php echo RemoveXSS($row['arctitle']); ?> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td height="26">评论人:</td> | |||
<td> | |||
<input name="username" type="text" id="username" size="20" value="<?php echo $row['username']; ?>"> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td height="26">评论发布时间:</td> | |||
<td> | |||
<?php echo GetDateTimeMK($row['dtime']); ?> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td height="26">IP地址:</td> | |||
<td> | |||
<?php echo $row['ip']; ?> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td height="26">评论内容:</td> | |||
<td>修改的评论内容HTML代码不会被屏蔽,可用HTML语法编辑</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td height="62" align="center"></td> | |||
<td height="62"> | |||
<textarea name="msg" cols="60" rows="5" id="msg"><?php echo cn_substr(Text2Html($row['msg']), 250); ?></textarea></td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td height="26">管理员回复:</td> | |||
<td>回复内容的HTML代码会被屏蔽</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td height="26" align="center"></td> | |||
<td height="26"> | |||
<textarea name="adminmsg" cols="60" rows="5" id="adminmsg"></textarea></td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td colspan="2" align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存保存</button> | |||
<button onClick="location='<?php echo $ENV_GOBACK_URL; ?>';" type="button" class="btn btn-success">不理返回</button> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
<button onClick="location='<?php echo $ENV_GOBACK_URL; ?>';" type="button" class="btn btn-success btn-sm">返回</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -43,12 +43,12 @@ | |||
function delFeedback() { | |||
var qstr = getCheckboxItem(); | |||
if (qstr == "") ShowMsg("您没选中任何内容"); | |||
else if (window.confirm('您确定要删除这些评论吗?')) location.href = "feedback_main.php?job=del&fid=" + qstr; | |||
else if (window.confirm('您确定要删除这些评论吗')) location.href = "feedback_main.php?job=del&fid=" + qstr; | |||
} | |||
function delFeedbackIP() { | |||
var qstr = getCheckboxItem(); | |||
if (qstr == "") ShowMsg("您没选中任何内容"); | |||
else if (window.confirm('您确定要删除这些评论吗?')) location.href = "feedback_main.php?job=delall&fid=" + qstr; | |||
else if (window.confirm('您确定要删除这些评论吗')) location.href = "feedback_main.php?job=delall&fid=" + qstr; | |||
} | |||
function checkFeedback() { | |||
var qstr = getCheckboxItem(); | |||
@@ -66,7 +66,7 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="3" align="center" cellspacing="1" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" align="center" cellspacing="1" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"> | |||
<div style="float:left">评论管理</div> | |||
@@ -74,22 +74,22 @@ | |||
<form name='form1'> | |||
关键词: | |||
<input type='text' size='15' name='keyword' style='width:160px'> | |||
<select name="typeid" style="width:180px"> | |||
<select name="typeid" style="width:160px"> | |||
<option value="0">请选择</option> | |||
{dede:global.openarray /} | |||
</select> | |||
<button type="submit" class="btn btn-success">搜索</button> | |||
<button type="submit" class="btn btn-success btn-sm">搜索</button> | |||
</form> | |||
</div> | |||
</td> | |||
</tr> | |||
<form name='feedback'> | |||
<form name="feedback"> | |||
<tr> | |||
<td bgcolor="#ffffff"> | |||
<table width='100%' border='0' cellpadding='0' cellspacing='0' class="table table-borderless"> | |||
{dede:datalist empty='<tr height="26"><td><center>暂无内容</center></td></tr>'} | |||
<tr height='26'> | |||
<td> | |||
<td style="padding:0"> | |||
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
{dede:datalist empty='<tr><td><center>暂无内容</center></td></tr>'} | |||
<tr> | |||
<td style="padding:0"> | |||
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#EEF7D2" class="table table-borderless"> | |||
<tr bgcolor="#F4FAE4"> | |||
<td width="9%">选择 <input name="fid" type="checkbox" class="np" id="fid" value="{dede:field.id/}"></td> | |||
@@ -106,7 +106,7 @@ | |||
<a class="btn btn-success btn-sm" href='feedback_edit.php?id={dede:field.id/}&dopost=makehtml'>更新评论</a> | |||
</td> | |||
</tr> | |||
<tr align="center" bgcolor="#ffffff"> | |||
<tr align="center"> | |||
<td height="26" colspan="6"> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
@@ -123,10 +123,7 @@ | |||
</tr> | |||
{/dede:datalist} | |||
<tr> | |||
<td height='36' align='center' bgcolor="#f8f8f8">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
<tr> | |||
<td height='30'> | |||
<td height="36"> | |||
<table width="98%"> | |||
<tr> | |||
<td width="30%"> | |||
@@ -143,6 +140,9 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="36" bgcolor="#f8f8f8" align="center" style="border-top:1px solid #dee2e6">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
@@ -32,29 +32,26 @@ | |||
<input type="hidden" name="fmdo" value="edit"> | |||
<input type="hidden" name="backurl" value="{dede:global name='backurl' function='urlencode(@me)'/}"> | |||
<input type="hidden" name="_csrf_token" value="{dede:global name='csrf_token'/}"> | |||
<table width='100%' border='0' align="center" cellpadding='3' cellspacing='1' class="table maintable mt-3"> | |||
<table width='100%' border='0' align="center" cellpadding='3' cellspacing='1' class="table maintable mt-3 mb-3"> | |||
<tr bgcolor='#EEF4EA'> | |||
<td colspan="2" height="26" background="../static/web/img/wbg.gif" style="padding-left:10px">修改新建文件</td> | |||
</tr> | |||
<tr bgcolor='#ffffff'> | |||
<tr> | |||
<td>工作目录</td> | |||
<td> | |||
<input name='activepath' size='40' value="{dede:global name='activepath'/}"> | |||
(空白表示根目录 ,不允许用 “..” 形式的路径) | |||
</td> | |||
<td><input name="activepath" value="{dede:global name='activepath'/}" style="width:260px">(空白表示根目录 ,不允许用 “..” 形式的路径)</td> | |||
</tr> | |||
<tr bgcolor='#ffffff'> | |||
<tr> | |||
<td>文件名称</td> | |||
<td><input name=filename size=40 value="{dede:global name='filename'/}">(不允许用 “..” 形式的路径)</td> | |||
<td><input name="filename" value="{dede:global name='filename'/}" style="width:260px">(不允许用 “..” 形式的路径)</td> | |||
</tr> | |||
<tr bgcolor='#ffffff' class="table"> | |||
<tr class="table"> | |||
<td colspan='2'>{dede:global name='contentView'/}</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#f8f8f8" colspan="2" class="py-3"> | |||
<button type=submit name='B1' class="btn btn-success">保存</button> | |||
<button type=reset name='B2' class="btn btn-success">重置</button> | |||
<button type=button name='B4' class="btn btn-success" onClick="javascript:history.go(-1);">返回</button> | |||
<td bgcolor="#f8f8f8" colspan="2" align="center" class="py-3"> | |||
<button type=submit name='B1' class="btn btn-success btn-sm">保存</button> | |||
<button type=reset name='B2' class="btn btn-success btn-sm">重置</button> | |||
<button type=button name='B4' class="btn btn-success btn-sm" onClick="javascript:history.go(-1);">返回</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -14,7 +14,7 @@ | |||
</style> | |||
</head> | |||
<body> | |||
<table width='98%' border='0' cellspacing='1' cellpadding='2' align='center' class="table maintable mt-3"> | |||
<table width='98%' border='0' cellspacing='1' cellpadding='2' align='center' class="table maintable mt-3 mb-3"> | |||
<tr height="26" align="center"> | |||
<td width="36%" background="../static/web/img/wbg.gif">文件名称</td> | |||
<td width="12%" background="../static/web/img/wbg.gif">文件大小</td> | |||
@@ -55,10 +55,10 @@ while(($file = $dh->read()) !== false) | |||
} | |||
$tmp = preg_replace("#[\/][^\/]*$#i","",$activepath); | |||
$line = "\n<tr> | |||
<td bgcolor='#ffffff' height='26'> | |||
<td height='26'> | |||
<a href=file_manage_main.php?activepath=".urlencode($tmp)."><img src='../static/web/img/dir2.gif'>上级目录</a> | |||
</td> | |||
<td colspan='3' bgcolor='#ffffff'> | |||
<td colspan='3'> | |||
当前目录:$activepath | |||
</td> | |||
@@ -69,7 +69,7 @@ while(($file = $dh->read()) !== false) | |||
{ | |||
if(preg_match("#^_(.*)$#i",$file)) continue; #屏蔽FrontPage扩展目录和linux隐蔽目录 | |||
if(preg_match("#^\.(.*)$#i",$file)) continue; | |||
$line = "\n<tr bgcolor='#ffffff' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
<td> | |||
<a href=file_manage_main.php?activepath=".urlencode("$activepath/$file")."><img src='../static/web/img/dir.gif'>$file</a></td> | |||
<td> </td> | |||
@@ -84,7 +84,7 @@ while(($file = $dh->read()) !== false) | |||
} | |||
else if(preg_match("#\.(gif|png)#i",$file)) | |||
{ | |||
$line = "\n<tr bgcolor='#ffffff' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
<td> | |||
<a href=$activeurl/$file target=_blank><img src='../static/web/img/gif.gif'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -99,7 +99,7 @@ while(($file = $dh->read()) !== false) | |||
} | |||
else if(preg_match("#\.(jpg)#i",$file)) | |||
{ | |||
$line = "\n<tr bgcolor='#ffffff' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
<td> | |||
<a href=$activeurl/$file target=_blank><img src='../static/web/img/jpg.gif'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -114,7 +114,7 @@ while(($file = $dh->read()) !== false) | |||
} | |||
else if(preg_match("#\.(swf|fla|fly)#i",$file)) | |||
{ | |||
$line = "\n<tr bgcolor='#ffffff' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
<td> | |||
<a href=$activeurl/$file target=_blank><img src='../static/web/img/flash.gif'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -129,7 +129,7 @@ while(($file = $dh->read()) !== false) | |||
} | |||
else if(preg_match("#\.(zip|rar|tar.gz)#i",$file)) | |||
{ | |||
$line = "\n<tr bgcolor='#ffffff' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
<td> | |||
<a href=$activeurl/$file target=_blank><img src='../static/web/img/zip.gif'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -144,7 +144,7 @@ while(($file = $dh->read()) !== false) | |||
} | |||
else if(preg_match("#\.(exe)#i",$file)) | |||
{ | |||
$line = "\n<tr bgcolor='#ffffff' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
<td> | |||
<a href=$activeurl/$file target=_blank><img src='../static/web/img/exe.gif'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -159,7 +159,7 @@ while(($file = $dh->read()) !== false) | |||
} | |||
else if(preg_match("#\.(mp3|wma)#i",$file)) | |||
{ | |||
$line = "\n<tr bgcolor='#ffffff' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
<td> | |||
<a href=$activeurl/$file target=_blank><img src='../static/web/img/mp3.gif'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -174,7 +174,7 @@ while(($file = $dh->read()) !== false) | |||
} | |||
else if(preg_match("#\.(wmv|api)#i",$file)) | |||
{ | |||
$line = "\n<tr bgcolor='#ffffff' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
<td> | |||
<a href=$activeurl/$file target=_blank><img src='../static/web/img/wmv.gif'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -189,7 +189,7 @@ while(($file = $dh->read()) !== false) | |||
} | |||
else if(preg_match("#\.(rm|rmvb)#i",$file)) | |||
{ | |||
$line = "\n<tr bgcolor='#ffffff' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
<td> | |||
<a href=$activeurl/$file target=_blank><img src='../static/web/img/rm.gif'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -205,7 +205,7 @@ while(($file = $dh->read()) !== false) | |||
else if(preg_match("#\.(txt|inc|pl|cgi|asp|xml|xsl|aspx|cfm)#",$file)) | |||
{ | |||
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | |||
$line = "\n<tr bgcolor='#ffffff' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
$line = "\n<tr onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
<td> | |||
<a href=$activeurl/$file target=_blank><img src='../static/web/img/txt.gif'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -222,7 +222,7 @@ while(($file = $dh->read()) !== false) | |||
else if(preg_match("#\.(htm|html)#i",$file)) | |||
{ | |||
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | |||
$line = "\n<tr bgcolor='#ffffff' height='26'onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
$line = "\n<tr height='26'onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
<td> | |||
<a href=$activeurl/$file target=_blank><img src='../static/web/img/htm.gif'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -239,7 +239,7 @@ while(($file = $dh->read()) !== false) | |||
else if(preg_match("#\.(php)#i",$file)) | |||
{ | |||
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | |||
$line = "\n<tr bgcolor='#ffffff' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
<td> | |||
<a href=$activeurl/$file target=_blank><img src='../static/web/img/php.gif'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -256,7 +256,7 @@ while(($file = $dh->read()) !== false) | |||
else if(preg_match("#\.(js)#i",$file)) | |||
{ | |||
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | |||
$line = "\n<tr bgcolor='#ffffff' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
<td> | |||
<a href=$activeurl/$file target=_blank><img src='../static/web/img/js.gif'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -273,7 +273,7 @@ while(($file = $dh->read()) !== false) | |||
else if(preg_match("#\.(css)#i",$file)) | |||
{ | |||
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | |||
$line = "\n<tr bgcolor='#ffffff' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
<td> | |||
<a href=$activeurl/$file target=_blank><img src='../static/web/img/css.gif'>$file</a></td> | |||
<td>$filesize KB</td> | |||
@@ -287,7 +287,7 @@ while(($file = $dh->read()) !== false) | |||
</tr>"; | |||
$files[] = $line; | |||
} else { | |||
$line = "\n<tr bgcolor='#ffffff' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
$line = "\n<tr height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"> | |||
<td><a href=$activeurl/$file target=_blank>$file</td> | |||
<td>$filesize KB</td> | |||
<td align='center'>$filetime</td> | |||
@@ -33,9 +33,10 @@ | |||
<li class="media border-bottom-dashed mt-2 py-2"> | |||
<div class="media-body row"> | |||
<div class="col-12 title"> | |||
[[field:typelink/]] <a href="[field:arcurl/]"> | |||
<h4 class="mt-0 mb-3">[field:title/]</h4> | |||
</a> | |||
[[field:typelink/]] | |||
<a href="[field:arcurl/]"> | |||
<h4 class="mt-0 mb-3">[field:title/]</h4> | |||
</a> | |||
</div> | |||
</div> | |||
</li> | |||
@@ -52,7 +53,6 @@ | |||
</div> | |||
<div style="display:none" id="list4"> | |||
<li class="media border-bottom-dashed mt-2 py-2"> | |||
<a href="[field:arcurl/]"><img src="[field:litpic/]" alt="[field:title/]" title="[field:title/]" class="mr-3" ></a> | |||
<div class="media-body row"> | |||
<div class="col-12 title"> | |||
<a href="[field:arcurl/]"> | |||
@@ -60,19 +60,15 @@ | |||
</a> | |||
</div> | |||
<div class="col-12 description py-2"> | |||
<a href="[field:arcurl/]"> | |||
[field:description/] | |||
</a> | |||
</div> | |||
<div class="col-12 addinfo"> | |||
日期:[field:pubdate function="MyDate('Y-m-d', @me)"/] 点击:[field:click/] 好评:[field:scores/] | |||
<a href="[field:arcurl/]">[field:description/]</a> | |||
</div> | |||
<div class="col-12 addinfo">日期:[field:pubdate function="MyDate('Y-m-d', @me)"/] 点击:[field:click/] 好评:[field:scores/]</div> | |||
</div> | |||
</li> | |||
</div> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" style="border:1px solid #dee2e6;border-bottom:none" class="table-borderless mt-3"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table-borderless mt-3" style="border:1px solid #dee2e6;border-bottom:none"> | |||
<tr> | |||
<td align="left" background="../static/web/img/tbg.gif" style="padding-left:10px" class="py-3"><a href="freelist_main.php">自由列表管理</a> > 增加一个列表</td> | |||
<td align="left" background="../static/web/img/tbg.gif" class="py-3" style="padding-left:10px"><a href="freelist_main.php">自由列表管理</a> > 增加一个列表</td> | |||
<td align="right" background="../static/web/img/tbg.gif"></td> | |||
</tr> | |||
</table> | |||
@@ -80,56 +76,57 @@ | |||
<form action="freelist_add.php" method="post" name="form1" onSubmit="return CheckSubmit();"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<tr> | |||
<td height="265" bgcolor="#ffffff"> | |||
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" class="table-borderless"> | |||
<td style="padding:0"> | |||
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="table-borderless"> | |||
<tr> | |||
<td height="56"> | |||
<td style="padding:0"> | |||
<table width="100%" border="0" cellspacing="1" cellpadding="0"> | |||
<tr> | |||
<td height="26" colspan="2" align="left"><img src="../static/web/img/help.gif">自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成Google Map、生成按自定义排序规则的文章列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成HTML或访问速度</td> | |||
</tr> | |||
<tr> | |||
<td width="16%" height="26" align="left">自由列表标题:</td> | |||
<td width="84%" align="left"><input name="title" type="text" id="title" style="width:35%"></td> | |||
<td width="260" height="26" align="left">自由列表标题:</td> | |||
<td align="left"><input name="title" type="text" id="title" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">列表HTML存放目录:</td> | |||
<td align="left"><input name="listdir" type="text" id="listdir" style="width:35%" value="{cmspath}/freelist/"> | |||
<td align="left"><input name="listdir" type="text" id="listdir" value="{cmspath}/freelist/" style="width:260px"> | |||
{listdir}变量的值</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">目录默认页名称:</td> | |||
<td align="left"> <input name="defaultpage" type="text" id="defaultpage" style="width:35%" value="index.html"> | |||
<td align="left"> | |||
<input name="defaultpage" type="text" id="defaultpage" value="index.html" style="width:260px"> | |||
<label><input name="nodefault" type="checkbox" id="nodefault" value="1"> | |||
不使用目录默认主页</label> </td> | |||
不使用目录默认主页</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">命名规则:</td> | |||
<td align="left"><input name="namerule" type="text" id="namerule" style="width:35%" value="{listdir}/index_{listid}_{page}.html"></td> | |||
<td align="left"><input name="namerule" type="text" id="namerule" value="{listdir}/index_{listid}_{page}.html" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td height="30" align="left">列表模板:</td> | |||
<td align="left"><input name="templet" type="text" id="templet" style="width:300px" value="{style}/list_free.htm"> | |||
<button type="button" name="set4" style="width:60px" onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览</button></td> | |||
<td align="left"> | |||
<input name="templet" type="text" id="templet" value="{style}/list_free.htm" style="width:260px"> | |||
<button type="button" name="set4" onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" align="left">最大列出页数:</td> | |||
<td align="left"> | |||
<input name="maxpage" type="text" id="maxpage" style="width:100px" value="100"> | |||
</td> | |||
<td align="left"><input name="maxpage" type="text" id="maxpage" value="100" style="width:60px"></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left"></td> | |||
<td align="left">以下选项用于模板里的 <meta name="keywords|description" | |||
content=""> 描述</td> | |||
<td align="left">以下选项用于模板里的 <meta name="keywords|description" content=""> 描述</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">关键词:</td> | |||
<td align="left"><input name="keywords" type="text" id="keywords" style="width:60%"></td> | |||
<td align="left"><input name="keywords" type="text" id="keywords" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">列表描述:</td> | |||
<td align="left"><textarea name="description" id="description" style="width:60%;height:50px"></textarea></td> | |||
<td align="left"><textarea name="description" id="description" style="width:360px;height:50px"></textarea></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -138,7 +135,7 @@ | |||
<td height="26" align="left" style="background:#FBFCE2;"><img src="../static/web/img/file_tt.gif">列表样式:(这里是定义自由列表模板里的{dede:freelist/}标记的样式和属性)</td> | |||
</tr> | |||
<tr> | |||
<td height="72" align="left"> | |||
<td align="left"> | |||
<table width="99%" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="25%" height="126"> | |||
@@ -155,16 +152,16 @@ | |||
</td> | |||
<td> | |||
<label><img src="../static/web/img/g_t4.jpg"> <input name="liststyle" type="radio" onClick="ChangeListStyle()" value="4" checked></label> | |||
</td> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left"> 限定栏目: | |||
<td height="26" align="left">限定栏目: | |||
<?php | |||
echo "<select name='typeid' style='width:100px'>\r\n"; | |||
echo "<option value='0'>不限栏目</option>\r\n"; | |||
echo "<select name='typeid' style='width:160px'>"; | |||
echo "<option value='0'>不限栏目</option>"; | |||
$dsql->SetQuery("Select ID,typename, channeltype From #@__arctype"); | |||
$dsql->Execute(); | |||
while($lrow = $dsql->GetObject()){ | |||
@@ -173,21 +170,21 @@ | |||
{ | |||
$disable = 'disabled'; | |||
} | |||
echo "<option value='{$lrow->ID}' $disable>{$lrow->typename}</option>\r\n"; | |||
echo "<option value='{$lrow->ID}' $disable>{$lrow->typename}</option>"; | |||
} | |||
echo "</select>"; | |||
?> </td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left"> 限定频道: | |||
<td height="26" align="left">限定频道: | |||
<?php | |||
echo "<select name='channel' style='width:100px'>\r\n"; | |||
echo "<option value='0' selected>不限</option>\r\n"; | |||
echo "<select name='channel' style='width:160px'>"; | |||
echo "<option value='0' selected>不限</option>"; | |||
$dsql->SetQuery("Select ID,typename From #@__channeltype where ID>0"); | |||
$dsql->Execute(); | |||
while($row = $dsql->GetObject()) | |||
{ | |||
echo "<option value='{$row->ID}'>{$row->typename}</option>\r\n"; | |||
echo "<option value='{$row->ID}'>{$row->typename}</option>"; | |||
} | |||
echo "</select>"; | |||
?> | |||
@@ -196,28 +193,27 @@ | |||
<tr> | |||
<td height="26" align="left">附加属性: | |||
<?php | |||
echo "<select name='att' style='width:100px'>\r\n"; | |||
echo "<option value='0' selected>不限</option>\r\n"; | |||
echo "<select name='att' style='width:160px'>"; | |||
echo "<option value='0' selected>不限</option>"; | |||
$dsql->SetQuery("Select * From #@__arcatt"); | |||
$dsql->Execute(); | |||
while($row = $dsql->GetObject()) | |||
{ | |||
echo "<option value='{$row->att}'>{$row->attname}</option>\r\n"; | |||
echo "<option value='{$row->att}'>{$row->attname}</option>"; | |||
} | |||
echo "</select>"; | |||
?> | |||
文档发布时间: | |||
<input name="subday" type="text" id="subday2" value="0" size="6"> | |||
天以内 (0 表示不限)</td> | |||
文档发布时间:<input name="subday" type="text" id="subday2" value="0" style="width:60px"> 天以内(0表示不限) | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">每页记录数: | |||
<input name="pagesize" type="text" id="pagesize" value="30" size="4"> | |||
显示列数: | |||
<input name="col" type="text" id="col3" value="1" size="4"> | |||
<input name="pagesize" type="text" id="pagesize" value="30" style="width:60px"> | |||
显示列数: | |||
<input name="col" type="text" id="col3" value="1" style="width:60px"> | |||
标题长度: | |||
<input name="titlelen" type="text" id="titlelen" value="60" size="4"> | |||
(1 字节 = 0.5个中文字)</td> | |||
<input name="titlelen" type="text" id="titlelen" value="60" style="width:60px"(1字节 = 0.5个中文字) | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left"> 高级筛选: | |||
@@ -227,8 +223,8 @@ | |||
推荐</label> | |||
<label><input name="types[]" type="checkbox" id="type3" value="spec"> | |||
专题</label> 关键词: | |||
<input name="keywordarc" type="text" id="keywordarc"> | |||
(","逗号分开)</td> | |||
<input name="keywordarc" type="text" id="keywordarc">(","逗号分开) | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">排列顺序: | |||
@@ -248,7 +244,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">循环内的单行记录样式(InnerText):[<a href='javascript:ShowHide("innervar");'><img src="../static/web/img/help.gif" border="0">底层变量field参考</a>]</td> | |||
<td height="26" align="left">循环内的单行记录样式(InnerText):[<a href='javascript:ShowHide("innervar");'><img src="../static/web/img/help.gif">底层变量field参考</a>]</td> | |||
</tr> | |||
<tr> | |||
<td height="99" align="left"><textarea name="innertext" cols="80" rows="6" id="myinnertext" style="width:80%;height:120px"></textarea> | |||
@@ -262,7 +258,7 @@ | |||
</tr> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button name="Submit2" type="submit" id="Submit2" class="btn btn-success">保存</button> | |||
<button name="Submit2" type="submit" id="Submit2" class="btn btn-success btn-sm">保存</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -49,7 +49,7 @@ | |||
</head> | |||
<body> | |||
<center> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form action="freelist_edit.php" method="post" name="form1" onSubmit="return CheckSubmit();"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<input type="hidden" name="aid" value="<?php echo $row['aid']?>"> | |||
@@ -57,64 +57,63 @@ | |||
<td height="26" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table-borderless"> | |||
<tr> | |||
<td width="35%" height="18" align="left" style="padding-left:10px"><a href="freelist_main.php">自由列表管理</a> > 修改自由列表</td> | |||
<td width="65%" align="right"></td> | |||
<td width="30%" style="padding-left:10px"><a href="freelist_main.php">自由列表管理</a> > 修改自由列表</td> | |||
<td width="70%" align="right"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="265" bgcolor="#ffffff"> | |||
<table width="99%" border="0" align="right" cellpadding="0" cellspacing="1" class="table-borderless"> | |||
<td style="padding:0"> | |||
<table width="100%" border="0" align="right" cellpadding="0" cellspacing="1" class="table-borderless"> | |||
<tr> | |||
<td height="56"> | |||
<td style="padding:0"> | |||
<table width="100%" border="0" cellspacing="1" cellpadding="0"> | |||
<tr> | |||
<td height="26" colspan="2" align="left"><img src="../static/web/img/help.gif">自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成Google Map、生成按自定义排序规则的文章列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成HTML或访问速度</td> | |||
</tr> | |||
<tr> | |||
<td width="16%" height="26" align="left">自由列表标题:</td> | |||
<td width="84%" align="left"><input name="title" type="text" id="title" style="width:35%" value="<?php echo $row['title']?>"></td> | |||
<td width="260" height="26" align="left">自由列表标题:</td> | |||
<td align="left"><input name="title" type="text" id="title" value="<?php echo $row['title']?>" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">列表HTML存放目录:</td> | |||
<td align="left"><input name="listdir" type="text" id="listdir" style="width:35%" value="<?php echo $row['listdir']?>"> {listdir}变量的值</td> | |||
<td align="left"><input name="listdir" type="text" id="listdir" value="<?php echo $row['listdir']?>" style="width:260px"> {listdir}变量的值</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">目录默认页名称:</td> | |||
<td align="left"><input name="defaultpage" type="text" id="defaultpage" style="width:35%" value="<?php echo $row['defaultpage']?>"> | |||
<td align="left"> | |||
<input name="defaultpage" type="text" id="defaultpage" value="<?php echo $row['defaultpage']?>" style="width:260px"> | |||
<label><input name="nodefault" type="checkbox" id="nodefault" value="1" <?php if($row['nodefault']==1) echo " checked"; ?>> | |||
不使用目录默认主页</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">命名规则:</td> | |||
<td align="left"><input name="namerule" type="text" id="namerule" style="width:35%" value="<?php echo $row['namerule']?>"></td> | |||
<td align="left"><input name="namerule" type="text" id="namerule" value="<?php echo $row['namerule']?>" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td height="36" align="left">列表模板:</td> | |||
<td align="left"> | |||
<input name="templet" type="text" id="templet" style="width:300px" value="<?php echo $row['templet']?>"> | |||
<button type="button" name="set4" style="width:60px" onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览</button> | |||
<input name="templet" type="text" id="templet" value="<?php echo $row['templet']?>" style="width:260px"> | |||
<button type="button" name="set4" onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" align="left">最大列出页数:</td> | |||
<td align="left"> | |||
<input name="maxpage" type="text" id="maxpage" style="width:100px" value="<?php echo $row['maxpage']; ?>"> | |||
</td> | |||
<td align="left"><input name="maxpage" type="text" id="maxpage" value="<?php echo $row['maxpage']; ?>" style="width:60px"></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left"></td> | |||
<td align="left">以下选项用于模板里的 <meta name="keywords|description"content=""> 描述</td> | |||
<td align="left">以下选项用于模板里的 <meta name="keywords|description" content=""> 描述</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">关键词:</td> | |||
<td align="left"><input name="keywords" type="text" id="keywords" style="width:60%" value="<?php echo $row['keywords']; ?>"></td> | |||
<td align="left"><input name="keywords" type="text" id="keywords" value="<?php echo $row['keywords']; ?>" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">列表描述:</td> | |||
<td align="left"><textarea name="description" id="description" style="width:60%;height:50px"><?php echo $row['description']?></textarea></td> | |||
<td align="left"><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $row['description']?></textarea></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -123,12 +122,11 @@ | |||
<td height="26" align="left" style="background:#FBFCE2;"><img src="../static/web/img/file_tt.gif">列表样式:(这里是定义自由列表模板里的{dede:freelist/}标记的样式和属性)</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left"> | |||
限定栏目: | |||
<td height="26" align="left">限定栏目: | |||
<?php | |||
$typeid = $ctag->GetAtt('typeid'); | |||
echo "<select name='typeid' style='width:100px'>\r\n"; | |||
echo "<option value='0'>不限栏目</option>\r\n"; | |||
echo "<select name='typeid' style='width:160px'>"; | |||
echo "<option value='0'>不限栏目</option>"; | |||
$dsql->SetQuery("Select id,typename, channeltype From #@__arctype"); | |||
$dsql->Execute(); | |||
while($lrow = $dsql->GetObject()){ | |||
@@ -137,23 +135,23 @@ | |||
{ | |||
$disable = 'disabled'; | |||
} | |||
if($lrow->id==$typeid) echo "<option value='{$lrow->id}' selected $disable>{$lrow->typename}</option>\r\n"; | |||
else echo "<option value='{$lrow->id}' $disable>{$lrow->typename}</option>\r\n"; | |||
if($lrow->id==$typeid) echo "<option value='{$lrow->id}' selected $disable>{$lrow->typename}</option>"; | |||
else echo "<option value='{$lrow->id}' $disable>{$lrow->typename}</option>"; | |||
} | |||
echo "</select>"; | |||
?></td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left"> 限定频道: | |||
<td height="26" align="left">限定频道: | |||
<?php | |||
$channel = $ctag->GetAtt('channel'); | |||
echo "<select name='channel' style='width:100px'><option value='0'>不限</option>\r\n"; | |||
echo "<select name='channel' style='width:160px'><option value='0'>不限</option>"; | |||
$dsql->SetQuery("Select id,typename From #@__channeltype where id>0"); | |||
$dsql->Execute(); | |||
while($nrow = $dsql->GetObject()) | |||
{ | |||
if($nrow->id==$channel) echo "<option value='{$nrow->id}' selected>{$nrow->typename}</option>\r\n"; | |||
else echo "<option value='{$nrow->id}'>{$nrow->typename}</option>\r\n"; | |||
if($nrow->id==$channel) echo "<option value='{$nrow->id}' selected>{$nrow->typename}</option>"; | |||
else echo "<option value='{$nrow->id}'>{$nrow->typename}</option>"; | |||
} | |||
echo "</select>"; | |||
?> | |||
@@ -163,33 +161,32 @@ | |||
<td height="26" align="left">附加属性: | |||
<?php | |||
$att = $ctag->GetAtt('att'); | |||
echo "<select name='att' style='width:100px'>\r\n"; | |||
echo "<option value='0'>不限</option>\r\n"; | |||
echo "<select name='att' style='width:160px'>"; | |||
echo "<option value='0'>不限</option>"; | |||
$dsql->SetQuery("Select * From #@__arcatt"); | |||
$dsql->Execute(); | |||
while($nrow = $dsql->GetObject()) | |||
{ | |||
if($att==$nrow->att) | |||
{ | |||
echo "<option value='{$nrow->att}' selected>{$nrow->attname}</option>\r\n"; | |||
echo "<option value='{$nrow->att}' selected>{$nrow->attname}</option>"; | |||
} else { | |||
echo "<option value='{$nrow->att}'>{$nrow->attname}</option>\r\n"; | |||
echo "<option value='{$nrow->att}'>{$nrow->attname}</option>"; | |||
} | |||
} | |||
echo "</select>"; | |||
?> | |||
文档发布时间: | |||
<input name="subday" type="text" id="subday" size="6" value="<?php echo $ctag->GetAtt('subday')?>"> | |||
天以内 (0 表示不限)</td> | |||
文档发布时间:<input name="subday" type="text" id="subday" size="6" value="<?php echo $ctag->GetAtt('subday')?>"> 天以内(0表示不限) | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left">每页记录数: | |||
<input name="pagesize" type="text" id="pagesize" value="<?php echo $ctag->GetAtt('pagesize')?>" size="4"> | |||
显示列数: | |||
显示列数: | |||
<input name="col" type="text" id="col" value="<?php $col = $ctag->GetAtt('col'); $v = ( empty($col) ? '1' : $col ); echo $v; ?>" size="4"> | |||
标题长度: | |||
<input name="titlelen" type="text" id="titlelen" value="<?php echo $ctag->GetAtt('titlelen')?>" size="4"> | |||
(1 字节 = 0.5个中文字)</td> | |||
<input name="titlelen" type="text" id="titlelen" value="<?php echo $ctag->GetAtt('titlelen')?>" size="4">(1字节 = 0.5个中文字) | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left"> | |||
@@ -203,9 +200,8 @@ | |||
<label><input name="types[]" type="checkbox" id="type2" value="commend" <?php if(preg_match("#commend#i", $setype)) echo ' checked'; ?>> | |||
推荐</label> | |||
<label><input name="types[]" type="checkbox" id="type3" value="spec" class="inputbut" <?php if(preg_match("#spec#i", $setype)) echo ' checked'; ?>> | |||
专题</label> 关键词: | |||
<input name="keywordarc" type="text" id="keywordarc" value="<?php echo $ctag->GetAtt('keyword')?>"> | |||
(","逗号分开) | |||
专题</label> | |||
关键词:<input name="keywordarc" type="text" id="keywordarc" value="<?php echo $ctag->GetAtt('keyword')?>">(","逗号分开) | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -223,7 +219,7 @@ | |||
?> | |||
<select name="orderby" id="orderby" style="width:160px"> | |||
<?php | |||
echo "<option value=\"$orderby\" selected>{$sortarrs[$orderby]}</option>\r\n"; | |||
echo "<option value=\"$orderby\" selected>{$sortarrs[$orderby]}</option>"; | |||
?> | |||
<option value="sortrank">置顶权限值</option> | |||
<option value="pubdate">发布时间</option> | |||
@@ -254,7 +250,7 @@ | |||
</tr> | |||
<tr> | |||
<td align="center" class="py-3"> | |||
<button name="Submit2" type="submit" id="Submit2" class="btn btn-success">保存</button> | |||
<button name="Submit2" type="submit" id="Submit2" class="btn btn-success btn-sm">保存</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -108,9 +108,9 @@ | |||
<td class="tbtitletxt" background="../static/web/img/tbg.gif"> | |||
<table width='100%' border="0" cellpadding='0' cellspacing='0'> | |||
<tr> | |||
<td width='36%' class="py-3" style="padding-left:10px">自由列表管理 <a href="freelist_add.php" class="btn btn-success btn-sm">增加列表</a></td> | |||
<td width='36%' class="py-3" style="padding-left:10px">自由列表管理</td> | |||
<td width="30%"></td> | |||
<td width="34%"></td> | |||
<td width="34%" align="right" style="padding-right:10px"><a href="freelist_add.php" class="btn btn-success btn-sm">增加列表</a></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -121,10 +121,12 @@ | |||
GetTagList($dsql,$pageno,$pagesize,$orderby); | |||
?> | |||
</div> | |||
<div id='pagelist' class="mb-3 mt-3"><script language='javascript'>ReloadPageNum(1);</script></div> | |||
<table width="98%" border="0" cellpadding="5" cellspacing="1" align="center" style="border:1px solid #dee2e6;line-height:31px;margin:auto;" class="table table-borderless maintable mb-3"> | |||
<div id='pagelist' class="mt-3 mb-3"> | |||
<script language='javascript'>ReloadPageNum(1);</script> | |||
</div> | |||
<table width="98%" border="0" cellpadding="5" cellspacing="1" align="center" style="margin:auto;border:1px solid #dee2e6" class="table table-borderless maintable mb-3"> | |||
<tr> | |||
<td height="36" align="center" style="background:#f8f8f8"> | |||
<td bgcolor="#f8f8f8" height="36" align="center"> | |||
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="table"> | |||
<form action="freelist_main.php" name="form1" id="form1"> | |||
<tr> | |||
@@ -29,67 +29,53 @@ function CheckSubmit() | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="friendlink_main.php">友情链接管理</a> > 增加链接</td> | |||
</tr> | |||
<tr> | |||
<td height="200" bgcolor="#ffffff"> | |||
<td> | |||
<form action="friendlink_add.php" method="post" enctype="multipart/form-data" name="form1" onSubmit="return CheckSubmit();";> | |||
<input type="hidden" name="dopost" value="add"> | |||
<table width="80%" border="0" cellspacing="1" cellpadding="3" class="table table-borderless"> | |||
<table width="80%" border="0" cellspacing="1" cellpadding="3" class="table table-borderless"> | |||
<tr> | |||
<td width="20%" height="26">网址:</td> | |||
<td width="80%"> | |||
<input name="url" type="text" id="url" value="http://" size="30" class='pubinputs' /> | |||
</td> | |||
<td width="260" height="26">网址:</td> | |||
<td height="26"><input name="url" type="text" id="url" value="http://" class='pubinputs' style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td height="26">网站名称:</td> | |||
<td> | |||
<input name="webname" type="text" id="webname" size="30" class='pubinputs' /> | |||
</td> | |||
<td><input name="webname" type="text" id="webname" size="30" class='pubinputs' style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td width="20%" height="26">排列位置:</td> | |||
<td width="80%"> | |||
<input name="sortrank" type="text" id="sortrank" value="1" size="10" class='pubinputs' style='width:60px' /> | |||
(由小到大排列) | |||
</td> | |||
<td height="26">排列位置:</td> | |||
<td><input name="sortrank" type="text" id="sortrank" value="1" class='pubinputs' style='width:60px'>(由小到大排列)</td> | |||
</tr> | |||
<tr> | |||
<td height="26">网站Logo:</td> | |||
<td> | |||
<input name="logo" type="text" id="logo" size="30" class='pubinputs' /> | |||
(88*31 gif或jpg) | |||
</td> | |||
<td><input name="logo" type="text" id="logo" size="30" class='pubinputs' style="width:260px">(88*31 gif或jpg)</td> | |||
</tr> | |||
<tr> | |||
<td height="26">上传Logo:</td> | |||
<td> | |||
<input name="logoimg" type="file" id="logoimg" size="30"> | |||
</td> | |||
<td><input name="logoimg" type="file" id="logoimg" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td height="26">网站简况:</td> | |||
<td><textarea name="msg" cols="50" rows="4" id="msg"></textarea></td> | |||
<td><textarea name="msg" id="msg" style="width:360px;height:50px"></textarea></td> | |||
</tr> | |||
<tr> | |||
<td height="26">站长Email:</td> | |||
<td> | |||
<input name="email" type="text" id="email" size="30" class='pubinputs' /> | |||
</td> | |||
<td><input name="email" type="text" id="email" class='pubinputs' style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td height="26">网站类型:</td> | |||
<td> | |||
<select name="typeid" id="typeid"> | |||
<select name="typeid" id="typeid" style="width:160px"> | |||
<?php | |||
$dsql->SetQuery("select * from #@__flinktype"); | |||
$dsql->Execute(); | |||
while($row=$dsql->GetObject()) | |||
{ | |||
echo " <option value='".$row->id."'>".$row->typename."</option>\r\n"; | |||
echo " <option value='".$row->id."'>".$row->typename."</option>"; | |||
} | |||
?> | |||
</select> | |||
@@ -98,16 +84,15 @@ function CheckSubmit() | |||
<tr> | |||
<td height="26">链接位置:</td> | |||
<td> | |||
<label><input type='radio' name='ischeck' value="1" checked='1' /> 内页</label> | |||
<label><input type='radio' name='ischeck' value="1" checked='1'> 内页</label> | |||
<label><input type='radio' name='ischeck' value="2"/> 首页 </label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="50"></td> | |||
<td> | |||
<button type="submit" name="Submit" class="btn btn-success"> 提 交 </button> | |||
<button type="reset" name="Submit" class="btn btn-success"> 重 置 </button> | |||
</td> | |||
<td colspan="2" align="center" class="py-3"> | |||
<button type="submit" name="Submit" class="btn btn-success btn-sm">提交</button> | |||
<button type="reset" name="Submit" onClick="location.href='<?php echo $ENV_GOBACK_URL?>';" class="btn btn-success btn-sm">返回</button> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
@@ -8,53 +8,43 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"> | |||
<a href="friendlink_main.php">友情链接管理</a> > 链接修改</td> | |||
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href="friendlink_main.php">友情链接管理</a> > 链接修改</td> | |||
</tr> | |||
<tr> | |||
<td height="200" bgcolor="#ffffff"> | |||
<td> | |||
<form action="friendlink_edit.php" method="post" enctype="multipart/form-data" name="form1"> | |||
<input type="hidden" name="id" value="<?php echo $myLink['id']?>"> | |||
<input type="hidden" name="dopost" value="saveedit"> | |||
<table width="80%" border="0" cellspacing="1" cellpadding="3" class="table table-borderless"> | |||
<tr> | |||
<td width="20%" height="26">网址:</td> | |||
<td width="80%"> | |||
<input name="url" type="text" id="url" value="<?php echo $myLink['url']?>" size="30" class='pubinputs' /> | |||
</td> | |||
<td width="260" height="26">网址:</td> | |||
<td height="26"><input name="url" type="text" id="url" value="<?php echo $myLink['url']?>" class='pubinputs' style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td width="20%" height="26">排列位置:</td> | |||
<td width="80%"> | |||
<input name="sortrank" type="text" id="sortrank" value="<?php echo $myLink['sortrank']?>" size="10" class='pubinputs' style="width:60px"> | |||
(由小到大排列) | |||
</td> | |||
<td width="260" height="26">排列位置:</td> | |||
<td height="26"><input name="sortrank" type="text" id="sortrank" value="<?php echo $myLink['sortrank']?>" class='pubinputs' style="width:60px">(由小到大排列)</td> | |||
</tr> | |||
<tr> | |||
<td height="26">网站名称:</td> | |||
<td><input name="webname" type="text" id="webname" size="30" value="<?php echo $myLink['webname']?>" class='pubinputs' /></td> | |||
<td><input name="webname" type="text" id="webname" size="30" value="<?php echo $myLink['webname']?>" class='pubinputs' style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td height="26">网站Logo:</td> | |||
<td> | |||
<input name="logo" type="text" id="logo" size="40" value="<?php echo $myLink['logo']?>" | |||
/> | |||
(88*31 gif或jpg) | |||
</td> | |||
<td><input name="logo" type="text" id="logo" size="40" value="<?php echo $myLink['logo']?>" style="width:260px">(88*31 gif或jpg)</td> | |||
</tr> | |||
<tr> | |||
<td height="26">上传Logo:</td> | |||
<td><input name="logoimg" type="file" id="logoimg" size="30"></td> | |||
<td><input name="logoimg" type="file" id="logoimg" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td height="26">网站简况:</td> | |||
<td><textarea name="msg" cols="50" rows="4" id="msg"><?php echo dede_htmlspecialchars($myLink['msg'])?></textarea></td> | |||
<td><textarea name="msg" id="msg" style="width:360px;height:50px"><?php echo dede_htmlspecialchars($myLink['msg'])?></textarea></td> | |||
</tr> | |||
<tr> | |||
<td height="26">站长Email:</td> | |||
<td><input name="email" type="text" id="email" size="30" value="<?php echo $myLink['email']?>" class='pubinputs' /></td> | |||
<td><input name="email" type="text" id="email" value="<?php echo $myLink['email']?>" class='pubinputs' style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td height="26">链接位置:</td> | |||
@@ -70,23 +60,22 @@ | |||
<tr> | |||
<td height="26">网站类型:</td> | |||
<td> | |||
<select name="typeid" id="typeid"> | |||
<select name="typeid" id="typeid" style="width:160px"> | |||
<?php | |||
echo " <option value='".$myLink['typeid']."'>".$myLink['typename']."</option>\r\n"; | |||
echo " <option value='".$myLink['typeid']."'>".$myLink['typename']."</option>"; | |||
$dsql->SetQuery("select * from #@__flinktype where id<>'".$myLink['typeid']."'"); | |||
$dsql->Execute(); | |||
while($row=$dsql->GetObject()){ | |||
echo " <option value='".$row->id."'>".$row->typename."</option>\r\n"; | |||
echo " <option value='".$row->id."'>".$row->typename."</option>"; | |||
} | |||
?> | |||
</select> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="50"></td> | |||
<td> | |||
<button type="submit" name="Submit" class="btn btn-success"> 提 交 </button> | |||
<button type="reset" name="Submit" onClick="location.href='<?php echo $ENV_GOBACK_URL?>';" class="btn btn-success"> 返 回 </button> | |||
<td colspan="2" align="center" class="py-3"> | |||
<button type="submit" name="Submit" class="btn btn-success btn-sm">提交</button> | |||
<button type="reset" name="Submit" onClick="location.href='<?php echo $ENV_GOBACK_URL?>';" class="btn btn-success btn-sm">返回</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -35,7 +35,7 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif" colspan="8" style="padding-left:10px"> | |||
<div style="float:left"> | |||
@@ -53,21 +53,21 @@ | |||
<form action="friendlink_main.php" name="form1" method="get"> | |||
<table border="0" cellspacing="0" cellpadding="3" class="table table-borderless"> | |||
<tr> | |||
<td>关键词:</td> | |||
<td><input name="keyword" type="text" id="keyword" size="12" style="width:250px" value="<?php echo $keyword; ?>"></td> | |||
<td> | |||
<select name="ischeck" id="ischeck"> | |||
<td width="90px">关键词:</td> | |||
<td width="270"><input name="keyword" type="text" id="keyword" style="width:260px" value="<?php echo $keyword; ?>"></td> | |||
<td width="170"> | |||
<select name="ischeck" id="ischeck" style="width:160px"> | |||
<?php | |||
foreach($selCheckArr as $k=>$v) | |||
{ | |||
if($k==$ischeck) echo "<option value='$k' selected>$v</option>\r\n"; | |||
else echo "<option value='$k'>$v</option>\r\n"; | |||
if($k==$ischeck) echo "<option value='$k' selected>$v</option>"; | |||
else echo "<option value='$k'>$v</option>"; | |||
} | |||
?> | |||
</select> | |||
</td> | |||
<td> | |||
<button type="submit" class="btn btn-success">搜索</button> | |||
<button type="submit" class="btn btn-success btn-sm">搜索</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -75,8 +75,8 @@ | |||
</td> | |||
</tr> | |||
<form name='form1' method='post' action='friendlink_edit.php' onSubmit='return checkSubmit();'> | |||
<input type='hidden' name='dopost' value='delall' /> | |||
<input type='hidden' name='allid' value='' /> | |||
<input type='hidden' name='dopost' value='delall'> | |||
<input type='hidden' name='allid' value=''> | |||
<tr align="center" bgcolor="#FBFCE2" height="26"> | |||
<td width="6%">选择</td> | |||
<td width="23%">网站名称</td> | |||
@@ -88,7 +88,7 @@ | |||
<td width="15%">管理</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'} | |||
<tr align="center" bgcolor="#ffffff" height="26" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td><input type='checkbox' name='aids' value='{dede:field.id/}' class='np'></td> | |||
<td>{dede:field.webname function='dede_htmlspecialchars(@me)'/}<br><i>地址:{dede:field.url/}</i> </td> | |||
<td>{dede:field.logo function="GetPic(@me)"/}</td> | |||
@@ -103,7 +103,7 @@ | |||
</tr> | |||
{/dede:datalist} | |||
</form> | |||
<tr bgcolor="#ffffff" height="26"> | |||
<tr> | |||
<td colspan="8"> | |||
<a href='javascript:;' onclick='Sel("all")' class="btn btn-success btn-sm">全选</a> | |||
<a href='javascript:;' onclick='Sel("none")' class="btn btn-success btn-sm">取消</a> | |||
@@ -8,7 +8,7 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form name="form1" action="friendlink_type.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<tr> | |||
@@ -32,14 +32,14 @@ | |||
$k++; | |||
?> | |||
<input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id?>"> | |||
<tr align="center" bgcolor="#ffffff"> | |||
<tr align="center"> | |||
<td height="26"><?php echo $row->id; ?> | |||
</td> | |||
<td height="26"><input name="pname_<?php echo $k?>" value="<?php echo $row->typename?>" type="text" id="pname_<?php echo $k?>" class='pubinputs' style="width:90%"></td> | |||
<td> | |||
<label><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked='1' | |||
class='np' /> | |||
class='np'> | |||
保留 </label></td> | |||
</tr> | |||
<?php | |||
@@ -49,12 +49,12 @@ | |||
<tr bgcolor="#F8FCF1"> | |||
<td height="26" colspan="5" bgcolor="#f8f8f8">新增一个网站类型:</td> | |||
</tr> | |||
<tr height="26" align="center" bgcolor="#ffffff"> | |||
<tr height="26" align="center"> | |||
<td colspan="2"> | |||
<input name="pname_new" type="text" id="pname_new" class='pubinputs' style="width:90%"></td> | |||
<td align="center" bgcolor="#ffffff"> | |||
<label><input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np' /> | |||
<td align="center"> | |||
<label><input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np'> | |||
新增 </label></td> | |||
</tr> | |||
<tr> | |||
@@ -44,7 +44,7 @@ a.mmac div{padding:6px 4px 4px 10px;height:40px;color:#4f7632;background:url(../ | |||
} | |||
?> | |||
</td> | |||
<td width="160" valign="top" id="mainct"> | |||
<td width="260" valign="top" id="mainct"> | |||
<div id="ct1"> | |||
<?php | |||
GetMenus($cuserLogin->getUserRank(),'main'); | |||
@@ -61,7 +61,7 @@ a.mmac div{padding:6px 4px 4px 10px;height:40px;color:#4f7632;background:url(../ | |||
</tr> | |||
<tr> | |||
<td width="26"></td> | |||
<td width="160"><img src="../static/web/img/idnbgfoot.gif"></td> | |||
<td width="180"><img src="../static/web/img/idnbgfoot.gif"></td> | |||
</tr> | |||
</table> | |||
<?php | |||
@@ -41,18 +41,18 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="2" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="2" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td height="26" colspan="7" background="../static/web/img/tbg.gif"> | |||
<table width="96%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="20%" height="18" style="padding-left:10px">管理系统日志</td> | |||
<td width="80%" align="right"></td> | |||
<td width="30%" style="padding-left:10px">管理系统日志</td> | |||
<td width="70%" align="right"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr align="center" bgcolor="#ffffff"> | |||
<tr align="center"> | |||
<td colspan="7"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-borderless"> | |||
<form name='formsearch'> | |||
@@ -92,9 +92,9 @@ | |||
</tr> | |||
<form name="form1"> | |||
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | |||
<tr align="center" bgcolor="#ffffff" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td> | |||
<input name='logs' type='checkbox' class='np' id="logs" value='{dede:field.lid/}' /> | |||
<input name='logs' type='checkbox' class='np' id="logs" value='{dede:field.lid/}'> | |||
</td> | |||
<td> | |||
{dede:field.userid/} | |||
@@ -118,14 +118,14 @@ | |||
{/dede:datalist} | |||
</form> | |||
<tr> | |||
<td height="30" colspan="7" bgcolor="#FCFDF7"> | |||
<td height="30" colspan="7"> | |||
<button type="button" onClick="ReSel();" class="btn btn-success btn-sm">反选</button> | |||
<button type="button" onClick="DelSel();" class="btn btn-success btn-sm">删除所选</button> | |||
<button type="button" onClick="ClearLog();" class="btn btn-success btn-sm">清空所有日志</button> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f8f8f8"> | |||
<td height="36" colspan="7" align="center">{dede:pagelist listsize='6'/}</td> | |||
<tr> | |||
<td height="36" bgcolor="#f8f8f8" colspan="7" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</body> |
@@ -76,7 +76,7 @@ header .logo{width:300px;padding:1rem 0} | |||
<?php | |||
} | |||
?> | |||
<button type="submit" class="btn btn-success btnLogin">登录</button> | |||
<button type="submit" class="btn btn-success btnLogin btn-sm">登录</button> | |||
<div class="login-power"><?php echo $cfg_powerby; ?></div> | |||
</form> | |||
</div> | |||
@@ -58,51 +58,55 @@ function SelUp(){ | |||
</script> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form name="form1" action="makehtml_all.php" target="stafrm" method="post"> | |||
<input type="hidden" name="action" value="make"> | |||
<tr> | |||
<td height="30" colspan="2" background="../static/web/img/tbg.gif" style="padding-left:10px">更新整站</td> | |||
</tr> | |||
<tr> | |||
<td width="30%" height="30" bgcolor="#ffffff">更新选项:</td> | |||
<td bgcolor="#ffffff"> | |||
<td width="260" height="26">更新选项:</td> | |||
<td height="26"> | |||
<label><input name="uptype" id="uptype1" type="radio" value="time" onClick="SelUp()" checked="checked"> 指定时间的所有更新</label> | |||
<label><input name="uptype" id="uptype2" type="radio" onClick="SelUp()" value="id"> 指定ID文档的所有更新</label> | |||
<label><input name="uptype" id="uptype3" type="radio" onClick="SelUp()" value="mkall"> 更新所有</label> | |||
</td> | |||
</tr> | |||
<tr id="seltime"> | |||
<td height="26" bgcolor="#ffffff">起始时间:</td> | |||
<td height="26" bgcolor="#ffffff"><input type="text" name="starttime" id="starttime" value="<?php echo GetDateMk(time()); ?>" class="datepicker" style="width:160px"></td> | |||
<td height="26">起始时间:</td> | |||
<td height="26"><input type="text" name="starttime" id="starttime" value="<?php echo GetDateMk(time()); ?>" class="datepicker" style="width:160px"></td> | |||
</tr> | |||
<tr bgcolor="#ffffff" id="selid" style="display:none"> | |||
<tr id="selid" style="display:none"> | |||
<td height="26">起始ID:</td> | |||
<td height="26"><input name="startid" type="text" id="startid" value="0" style="width:60px"></td> | |||
</tr> | |||
<tr> | |||
<td height="30" colspan="2" bgcolor="#ffffff" align="center"><button type="submit" name="Submit" class="btn btn-success">开始更新</button></td> | |||
<td height="30" bgcolor="#F8FCF1" colspan="2" align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">开始更新</button></td> | |||
</tr> | |||
</form> | |||
<tr bgcolor="#f8f8f8"> | |||
<td colspan="2" style="line-height:26px">进行状态: | |||
<script> | |||
function ResizeDiv(obj,ty) | |||
{ | |||
if(ty=="+") document.all[obj].style.pixelHeight += 50; | |||
else if(document.all[obj].style.pixelHeight>80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
<span style="float:right"> | |||
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a> | |||
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a> | |||
</span> | |||
<tr> | |||
<td height="26" colspan="2"> | |||
<table width="100%" class="table table-borderless"> | |||
<tr> | |||
<td width="70%">结果:</td> | |||
<td width="30%" align="right"> | |||
<script language='javascript'> | |||
function ResizeDiv(obj, ty) { | |||
if (ty == "+") document.all[obj].style.pixelHeight += 50; | |||
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a> | |||
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" style="width:100%;height:300px"> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="350px"></iframe> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="360px"></iframe> | |||
</div> | |||
<script> | |||
document.all.mdv.style.pixelHeight = screen.height - 360; | |||
@@ -8,7 +8,7 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form name='form2' action='content_list.php' method="get" target='stafrm'> | |||
<input type='hidden' name='nullfield' value='ok'> | |||
</form> | |||
@@ -17,7 +17,7 @@ | |||
<td height="26" colspan="2" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%" height="18" style="padding-left:10px">更新文档</td> | |||
<td width="30%" style="padding-left:10px">更新文档</td> | |||
<td width="70%" align="right"> | |||
<a href="makehtml_list.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新栏目</a> | |||
</td> | |||
@@ -26,8 +26,8 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="108" bgcolor="#ffffff">选择栏目:</td> | |||
<td width="380" bgcolor="#ffffff"> | |||
<td width="260" height="26">选择栏目:</td> | |||
<td height="26"> | |||
<?php | |||
if(empty($cid)) $cid="0"; | |||
$tl = new TypeLink($cid); | |||
@@ -40,29 +40,29 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff">起始ID:</td> | |||
<td height="26" bgcolor="#ffffff"><input name="startid" type="text" id="startid" style="width:60px">(空或0表示从头开始)</td> | |||
<td height="26">起始ID:</td> | |||
<td height="26"><input name="startid" type="text" id="startid" style="width:60px">(空或0表示从头开始)</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff">结束ID:</td> | |||
<td height="26" bgcolor="#ffffff"><input name="endid" type="text" id="endid" style="width:60px">(空或0表示直到结束ID)</td> | |||
<td height="26">结束ID:</td> | |||
<td height="26"><input name="endid" type="text" id="endid" style="width:60px">(空或0表示直到结束ID)</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff">每页生成:</td> | |||
<td height="26" bgcolor="#ffffff"> <input name="pagesize" type="text" id="pagesize" value="20" style="width:60px"> 个文件</td> | |||
<td height="26">每页生成:</td> | |||
<td height="26"> <input name="pagesize" type="text" id="pagesize" value="20" style="width:60px"> 个文件</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="2" bgcolor="#ffffff" align="center"> | |||
<button name="b112" type="button" class='btn btn-success' onClick="document.form1.submit();">开始更新</button> | |||
<button type="button" name="b113" class='btn btn-success' onClick="document.form2.submit();">查看所有文档</button> | |||
<td height="30" bgcolor="#F8FCF1" colspan="2" align="center"> | |||
<button name="b112" type="button" class='btn btn-success btn-sm' onClick="document.form1.submit();">开始更新</button> | |||
<button type="button" name="b113" class='btn btn-success btn-sm' onClick="document.form2.submit();">查看所有文档</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr bgcolor="#f8f8f8"> | |||
<tr> | |||
<td height="26" colspan="2"> | |||
<table width="100%" class="table table-borderless"> | |||
<tr> | |||
<td width="70%">进行状态:</td> | |||
<td width="70%">结果:</td> | |||
<td width="30%" align="right"> | |||
<script language='javascript'> | |||
function ResizeDiv(obj, ty) { | |||
@@ -77,7 +77,7 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" style="width:100%;height:300px"> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> | |||
@@ -8,65 +8,53 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form name="form1" action="makehtml_freelist_action.php" method="get" target='stafrm'> | |||
<tr> | |||
<td colspan="2" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table-borderless"> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%" height="18" style="padding-left:10px">更新自由列表:</td> | |||
<td width="70%" align="right"><button type="button" name="b113" onClick="location='freelist_main.php';" class="btn btn-success btn-sm">管理自由列表</button> | |||
<td width="24%" style="padding-left:10px">更新自由列表</td> | |||
<td width="76%" align="right"><button type="button" name="b113" onClick="location='freelist_main.php';" class="btn btn-success btn-sm">管理自由列表</button> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="108" height="26" bgcolor="#ffffff"> 起始ID:</td> | |||
<td width="380" height="26" bgcolor="#ffffff"><input name="startid" type="text" id="startid" size="10" <?php if(!empty($aid)) echo " value='$aid'"; ?>> | |||
(空或0表示从头开始) | |||
</td> | |||
<td height="26"> 起始ID:</td> | |||
<td height="26"><input name="startid" type="text" id="startid" size="10" <?php if(!empty($aid)) echo " value='$aid'"; ?>>(空或0表示从头开始)</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff"> 结束ID:</td> | |||
<td height="26" bgcolor="#ffffff"> | |||
| |||
<input name="endid" type="text" id="endid" size="10" <?php if(!empty($aid)) echo " value='$aid'"; ?>> | |||
(空或0表示直到结束ID) | |||
</td> | |||
<td height="26"> 结束ID:</td> | |||
<td height="26"><input name="endid" type="text" id="endid" size="10" <?php if(!empty($aid)) echo " value='$aid'"; ?>>(空或0表示直到结束ID)</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff"> 每批生成:</td> | |||
<td height="26" bgcolor="#ffffff"><input name="pagesize" type="text" id="pagesize" value="100" size="8"> 个文件</td> | |||
<td height="26"> 每批生成:</td> | |||
<td height="26"><input name="pagesize" type="text" id="pagesize" value="100" size="8"> 个文件</td> | |||
</tr> | |||
<tr> | |||
<td height="36" colspan="2" bgcolor="#ffffff" align="center"> | |||
<button type="button" onClick="document.form1.submit();" class="btn btn-success">开始更新</button> | |||
<td height="30" bgcolor="#F8FCF1" colspan="2" align="center"> | |||
<button type="button" onClick="document.form1.submit();" class="btn btn-success btn-sm">开始更新</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr> | |||
<td height="26" colspan="2" bgcolor="#f8f8f8"> | |||
<table width="100%"> | |||
<tr> | |||
<td width="70%">进行状态:</td> | |||
<td width="30%" align="right"> | |||
<script language='javascript'> | |||
function ResizeDiv(obj, ty) { | |||
if (ty == "+") document.all[obj].style.pixelHeight += 50; | |||
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a> | |||
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a> | |||
</td> | |||
</tr> | |||
</table> | |||
<td width="30%">结果:</td> | |||
<td width="70%" align="right"> | |||
<script language='javascript'> | |||
function ResizeDiv(obj, ty) { | |||
if (ty == "+") document.all[obj].style.pixelHeight += 50; | |||
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; | |||
} | |||
</script> | |||
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a> | |||
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id='mdv' style='width:100%;height:100;'> | |||
<div id="mdv" style="width:100%;height:300px"> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> | |||
</div> | |||
<script language="JavaScript"> | |||
@@ -20,37 +20,37 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form name="form1" action="makehtml_homepage.php" target="stafrm" method="post"> | |||
<input type="hidden" name="dopost" value="make"> | |||
<tr> | |||
<td height="26" colspan="2" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%" height="18" style="padding-left:10px">更新首页</td> | |||
<td width="30%" style="padding-left:10px">更新首页</td> | |||
<td width="70%" align="right"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="180" bgcolor="#ffffff">选择首页模板:</td> | |||
<td width="800" bgcolor="#ffffff"> | |||
<td width="260">选择首页模板:</td> | |||
<td height="26"> | |||
<input name="templet" type="text" id="templet" value="<?php echo $row['templet']?>" style="width:260px"> | |||
<button class="btn btn-success btn-sm" type="button" name="set4" value="" onClick="SelectTemplets('form1.templet');">浏览</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="2" bgcolor="#ffffff">默认的情况下,生成的首页文件放在CMS的安装目录,如果您的CMS不是安装在网站根目录的,又想把首页创建到网站根目录,那么请用相对路径来表示“首页位置”<br> | |||
<td height="26" colspan="2">默认的情况下,生成的首页文件放在CMS的安装目录,如果您的CMS不是安装在网站根目录的,又想把首页创建到网站根目录,那么请用相对路径来表示“首页位置”<br> | |||
例:您的CMS安装在 http://www.abc.com/DedeBIZ/ 目录,您想生成的首页为 http://www.abc.com/index.html,那吗首页位置就应该用:“../index.html”</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff">首页位置:</td> | |||
<td height="26" bgcolor="#ffffff"><input name="position" type="text" id="position" value="<?php echo $row['position']?>" style="width:260px"></td> | |||
<td height="26">首页位置:</td> | |||
<td height="26"><input name="position" type="text" id="position" value="<?php echo $row['position']?>" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff">相关选项:</td> | |||
<td height="26" bgcolor="#ffffff"> | |||
<td height="26">相关选项:</td> | |||
<td height="26"> | |||
<label><input name="saveset" type="radio" value="0" class="np"> | |||
不保存当前选项</label> | |||
<label><input name="saveset" type="radio" class="np" value="1" checked> | |||
@@ -58,8 +58,8 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff">首页模式:</td> | |||
<td height="26" bgcolor="#ffffff"> | |||
<td height="26">首页模式:</td> | |||
<td height="26"> | |||
<label><input name="showmod" type="radio" value="0" class="np" <?php echo ($row['showmod']==0)? "checked='checked'" : ""; ?>> | |||
动态浏览</label> | |||
<label><input name="showmod" type="radio" class="np" value="1" <?php echo ($row['showmod']==1)? "checked='checked'" : ""; ?>> | |||
@@ -75,7 +75,7 @@ | |||
if($data->code == -1){ | |||
?> | |||
<tr> | |||
<td height="26" colspan="2" bgcolor="#ffffff">尚未开启DedeBIZ商业组件 <a class="btn btn-danger btn-sm" target="_blank" href="https://www.dedebiz.com/start?code=-1008">如何启动组件</a></td> | |||
<td height="26" colspan="2">尚未开启DedeBIZ商业组件 <a class="btn btn-danger btn-sm" target="_blank" href="https://www.dedebiz.com/start?code=-1008">如何启动组件</a></td> | |||
</tr> | |||
<?php | |||
} else { | |||
@@ -84,23 +84,23 @@ | |||
if($rs["admin_pwd_exists"] == "false") { | |||
?> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff">设置操作密码:</td> | |||
<td height="26" bgcolor="#ffffff"><input name="dedebiz_admin" type="password" id="dedebiz_admin" value="" style="width:260px">设定后所有的DedeBIZ涉及安全操作输入当前操作密码</td> | |||
<td height="26">设置操作密码:</td> | |||
<td height="26"><input name="dedebiz_admin" type="password" id="dedebiz_admin" value="" style="width:260px">设定后所有的DedeBIZ涉及安全操作输入当前操作密码</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff">重复操作密码:</td> | |||
<td height="26" bgcolor="#ffffff"><input name="re_dedebiz_admin" type="password" id="re_dedebiz_admin" value="" style="width:260px"></td> | |||
<td height="26">重复操作密码:</td> | |||
<td height="26"><input name="re_dedebiz_admin" type="password" id="re_dedebiz_admin" value="" style="width:260px"></td> | |||
</tr> | |||
<?php | |||
} else { | |||
?> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff">操作密码:</td> | |||
<td height="26" bgcolor="#ffffff"><input name="dedebiz_admin" type="password" id="dedebiz_admin" value="" style="width:260px"></td> | |||
<td height="26">操作密码:</td> | |||
<td height="26"><input name="dedebiz_admin" type="password" id="dedebiz_admin" value="" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff">首页状态:</td> | |||
<td height="26" bgcolor="#ffffff"> | |||
<td height="26">首页状态:</td> | |||
<td height="26"> | |||
<label><input name="lockindex" type="radio" class="np" value="unlock" <?php echo ($rs['index_lock_state']==true)? "checked='checked'" : ""; ?>> | |||
解锁</label> | |||
<label><input name="lockindex" type="radio" value="lock" class="np" <?php echo ($row['index_lock_state']==false)? "checked='checked'" : ""; ?>> | |||
@@ -114,24 +114,24 @@ | |||
} else { | |||
?> | |||
<tr> | |||
<td height="26" colspan="2" bgcolor="#ffffff">尚未开启DedeBIZ商业组件 <a class="btn btn-danger btn-sm" target="_blank" href="https://www.dedebiz.com/start?code=-1008">如何启动组件</a> | |||
<td height="26" colspan="2">尚未开启DedeBIZ商业组件 <a class="btn btn-danger btn-sm" target="_blank" href="https://www.dedebiz.com/start?code=-1008">如何启动组件</a> | |||
</td> | |||
</tr> | |||
<?php | |||
} | |||
?> | |||
<tr> | |||
<td height="30" colspan="2" bgcolor="#ffffff" align="center"> | |||
<button name="view" class="btn btn-success" type="button" id="view" onClick="window.open('makehtml_homepage.php?dopost=view&templet='+form1.templet.value);">预览首页</button> | |||
<button type="button" onclick="htmlSubmit()" class='btn btn-success' name="Submit">开始更新</button> | |||
<td height="30" bgcolor="#F8FCF1" colspan="2" align="center"> | |||
<button name="view" class="btn btn-success btn-sm" type="button" id="view" onClick="window.open('makehtml_homepage.php?dopost=view&templet='+form1.templet.value);">预览首页</button> | |||
<button type="button" onclick="htmlSubmit()" class='btn btn-success btn-sm' name="Submit">开始更新</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr bgcolor="#f8f8f8"> | |||
<tr> | |||
<td height="26" colspan="2"> | |||
<table width="100%" class="table table-borderless"> | |||
<tr> | |||
<td width="70%">进行状态:</td> | |||
<td width="70%">结果:</td> | |||
<td width="30%" align="right"> | |||
<script language='javascript'> | |||
function ResizeDiv(obj, ty) { | |||
@@ -146,7 +146,7 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" style="width:100%;height:300px"> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> | |||
@@ -16,21 +16,21 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form name="form1" action="makehtml_js_action.php" method="get" target='stafrm'> | |||
<tr> | |||
<td height="26" colspan="2" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%" height="18" style="padding-left:10px">更新脚本</td> | |||
<td width="30%" style="padding-left:10px">更新脚本</td> | |||
<td width="70%" align="right"><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="108" bgcolor="#ffffff">选择栏目:</td> | |||
<td width="380" bgcolor="#ffffff"> | |||
<td width="260" height="26">选择栏目:</td> | |||
<td height="26"> | |||
<?php | |||
if(empty($cid)) $cid="0"; | |||
$tl = new TypeLink($cid); | |||
@@ -43,20 +43,20 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff">JS文件:</td> | |||
<td height="26" bgcolor="#ffffff"> | |||
<td height="26">JS文件:</td> | |||
<td height="26"> | |||
<span><?php echo "<script src='".$cfg_cmspath."/static/js/".$cid.".js' language='javascript'></script>"; ?></span> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff">模板文件:</td> | |||
<td height="26" bgcolor="#ffffff"><input name="templet" type="text" id="templet" value="plus/js.htm" style="width:260px"> | |||
<td height="26">模板文件:</td> | |||
<td height="26"><input name="templet" type="text" id="templet" value="plus/js.htm" style="width:260px"> | |||
<button type="button" class="btn btn-success btn-sm" name="set4" onClick="SelectTemplets('form1.templet');">浏览</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff">更新选项:</td> | |||
<td height="26" bgcolor="#ffffff"> | |||
<td height="26">更新选项:</td> | |||
<td height="26"> | |||
<label><input type="radio" name="uptype" value="all" class="np"> | |||
更新所有栏目</label> | |||
<label><input name="uptype" type="radio" value="onlyme" class="np" checked> | |||
@@ -64,16 +64,16 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="2" bgcolor="#ffffff" align="center"> | |||
<button name="b112" type="button" class="btn btn-success" onClick="document.form1.submit();">开始更新</button> | |||
<td height="30" bgcolor="#F8FCF1" colspan="2" align="center"> | |||
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr bgcolor="#f8f8f8"> | |||
<tr> | |||
<td height="26" colspan="2"> | |||
<table width="100%" class="table table-borderless"> | |||
<tr> | |||
<td width="70%">进行状态:</td> | |||
<td width="70%">结果:</td> | |||
<td width="30%" align="right"> | |||
<script language='javascript'> | |||
function ResizeDiv(obj, ty) { | |||
@@ -88,7 +88,7 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" style="width:100%;height:300px"> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> | |||
@@ -8,13 +8,13 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form name="form1" action="makehtml_list_action.php" method="get" target='stafrm'> | |||
<tr> | |||
<td height="26" colspan="2" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%" height="18" style="padding-left:10px">更新栏目</td> | |||
<td width="30%" style="padding-left:10px">更新栏目</td> | |||
<td width="70%" align="right"> | |||
<a href="makehtml_archives.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新文档</a> | |||
<a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a> | |||
@@ -24,8 +24,8 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="108" bgcolor="#ffffff">选择栏目:</td> | |||
<td width="380" bgcolor="#ffffff"> | |||
<td width="260">选择栏目:</td> | |||
<td height="26"> | |||
<?php | |||
if(empty($cid)) $cid=0; | |||
$tl = new TypeLink($cid); | |||
@@ -38,29 +38,29 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff">每次最大创建页数:</td> | |||
<td height="26" bgcolor="#ffffff"><input name="maxpagesize" type="text" id="maxpagesize" value="50" style="width:60px"> 个文件</td> | |||
<td height="26">每次最大创建页数:</td> | |||
<td height="26"><input name="maxpagesize" type="text" id="maxpagesize" value="50" style="width:60px"> 个文件</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff">是否更新子栏目:</td> | |||
<td height="26" bgcolor="#ffffff"> | |||
<label><input name="upnext" type="radio" class="np" value="1" checked='1' /> | |||
<td height="26">是否更新子栏目:</td> | |||
<td height="26"> | |||
<label><input name="upnext" type="radio" class="np" value="1" checked='1'> | |||
更新子级栏目</label> | |||
<label><input type="radio" name="upnext" class="np" value="0"> | |||
仅更新所选栏目</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="2" bgcolor="#ffffff" align="center"> | |||
<button name="b112" type="button" class="btn btn-success" onClick="document.form1.submit();">开始更新</button> | |||
<td height="30" bgcolor="#F8FCF1" colspan="2" align="center"> | |||
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr bgcolor="#f8f8f8"> | |||
<tr> | |||
<td height="26" colspan="2"> | |||
<table width="100%" class="table table-borderless"> | |||
<tr> | |||
<td width="70%">进行状态:</td> | |||
<td width="70%">结果:</td> | |||
<td width="30%" align="right"> | |||
<script language='javascript'> | |||
function ResizeDiv(obj, ty) { | |||
@@ -75,7 +75,7 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" style="width:100%;height:300px"> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> | |||
@@ -8,33 +8,33 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form name="form1" action="makehtml_rss_action.php" method="get" target='stafrm'> | |||
<tr> | |||
<td height="26" colspan="2" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%" height="18" style="padding-left:10px">更新订阅</td> | |||
<td width="30%" style="padding-left:10px">更新订阅</td> | |||
<td width="70%" align="right"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr height="26" bgcolor="#ffffff"> | |||
<td width="25%">单个类目最大记录数:</td> | |||
<tr> | |||
<td width="260" height="26">单个类目最大记录数:</td> | |||
<td><input name="maxrecord" type="text" id="maxrecord" value="50" style="width:60px"> 条</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="2" bgcolor="#ffffff" align="center"> | |||
<button name="b112" type="button" class="btn btn-success" onClick="document.form1.submit();">开始更新</button> | |||
<td height="30" bgcolor="#F8FCF1" colspan="2" align="center"> | |||
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr bgcolor="#f8f8f8"> | |||
<tr> | |||
<td height="26" colspan="2"> | |||
<table width="100%" class="table table-borderless"> | |||
<tr> | |||
<td width="70%">进行状态:</td> | |||
<td width="70%">结果:</td> | |||
<td width="30%" align="right"> | |||
<script language='javascript'> | |||
function ResizeDiv(obj, ty) { | |||
@@ -49,7 +49,7 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" style="width:100%;height:300px"> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> | |||
@@ -8,33 +8,33 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form name="form1" action="makehtml_spec.php" method="get" target='stafrm'> | |||
<input type="hidden" name="dopost" value="ok"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%" height="18" style="padding-left:10px">更新专题</td> | |||
<td width="30%" style="padding-left:10px">更新专题</td> | |||
<td width="70%" align="right"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff">为了安全起见,专题目录建议设置仅可读写权限,发布专题后需要手动更新,默认文件为:<?php echo $cfg_cmspath.$cfg_special."/index.html"?></td> | |||
<td height="26">为了安全起见,专题目录建议设置仅可读写权限,发布专题后需要手动更新,默认文件为:<?php echo $cfg_cmspath.$cfg_special."/index.html"?></td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff" align="center"> | |||
<button name="b112" type="button" class="btn btn-success" onClick="document.form1.submit();">开始更新</button> | |||
<td height="30" bgcolor="#F8FCF1" align="center"> | |||
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr bgcolor="#f8f8f8"> | |||
<tr> | |||
<td height="26"> | |||
<table width="100%" class="table table-borderless"> | |||
<tr> | |||
<td width="70%">进行状态:</td> | |||
<td width="70%">结果:</td> | |||
<td width="30%" align="right"> | |||
<script language='javascript'> | |||
function ResizeDiv(obj, ty) { | |||
@@ -49,7 +49,7 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td id="mtd"> | |||
<div id="mdv" style="width:100%;height:300px"> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> | |||
@@ -16,13 +16,13 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D1DDAA" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form name="form1" action="makehtml_tag_action_list.php" method="get" target='stafrm'> | |||
<tr> | |||
<td height="26" colspan="2" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%" height="18">更新标签</td> | |||
<td width="30%" style="padding-left:10px">更新标签</td> | |||
<td width="70%" align="right"> | |||
<a href="tags_main.php" class="btn btn-success btn-sm">标签管理</a> | |||
</td> | |||
@@ -35,8 +35,8 @@ | |||
$row = $dsql->GetOne("Select tag From `#@__tagindex` where id = '$tagid' "); | |||
?> | |||
<tr> | |||
<td width="200" bgcolor="#ffffff">输入标签:</td> | |||
<td width="380" bgcolor="#ffffff"> | |||
<td width="260" height="26">输入标签:</td> | |||
<td height="26"> | |||
<input type="hidden" name="tagid" value="<?php echo $tagid;?>"><?php echo $row['tag'];?> <a class="text-success" href="makehtml_taglist.php">重新选择</a> | |||
</td> | |||
</tr> | |||
@@ -44,43 +44,43 @@ | |||
} else { | |||
?> | |||
<tr> | |||
<td width="200" height="26" bgcolor="#ffffff">起始ID:</td> | |||
<td height="26" bgcolor="#ffffff"><input name="startid" type="text" id="startid" style="width:60px">(空或0表示从头开始)</td> | |||
<td width="260" height="26">起始ID:</td> | |||
<td height="26"><input name="startid" type="text" id="startid" style="width:60px">(空或0表示从头开始)</td> | |||
</tr> | |||
<tr> | |||
<td width="200" height="26" bgcolor="#ffffff">结束ID:</td> | |||
<td height="26" bgcolor="#ffffff"><input name="endid" type="text" id="endid" style="width:60px">(空或0表示直到结束ID)</td> | |||
<td height="26">结束ID:</td> | |||
<td height="26"><input name="endid" type="text" id="endid" style="width:60px">(空或0表示直到结束ID)</td> | |||
</tr> | |||
<?php | |||
} | |||
?> | |||
<tr> | |||
<td width="200" height="26" bgcolor="#ffffff">生成位置:</td> | |||
<td height="26" bgcolor="#ffffff"><input name="tagsdir" type="text" id="tagsdir" value="<?php echo $cfg_tags_dir;?>" style="width:260px" disabled> <a href="sys_info.php">系统设置</a>-其他选项中“TAGS生成目录”项进行调整</td> | |||
<td height="26">生成位置:</td> | |||
<td height="26"><input name="tagsdir" type="text" id="tagsdir" value="<?php echo $cfg_tags_dir;?>" style="width:260px" disabled> <a href="sys_info.php">系统设置</a>-其他选项中“TAGS生成目录”项进行调整</td> | |||
</tr> | |||
<tr> | |||
<td width="200" height="26" bgcolor="#ffffff">每次最大创建页数:</td> | |||
<td height="26" bgcolor="#ffffff"><input name="maxpagesize" type="text" id="maxpagesize" value="50" style="width:60px"> 个文件</td> | |||
<td height="26">每次最大创建页数:</td> | |||
<td height="26"><input name="maxpagesize" type="text" id="maxpagesize" value="50" style="width:60px"> 个文件</td> | |||
</tr> | |||
<tr> | |||
<td width="200" height="26" bgcolor="#ffffff">标签说明:</td> | |||
<td height="26" bgcolor="#ffffff"> | |||
<td height="26">标签说明:</td> | |||
<td height="26"> | |||
生成静态文件后,访问动态文件则直接跳转到静态文件,如果需要动态访问,删除对应文件即可<br> | |||
Tag首页模板文件:<?php echo $cfg_templets_dir; ?>/<?php echo $cfg_df_style?>/tag.htm<br> | |||
Tag列表页模板文件:<?php echo $cfg_templets_dir; ?>/<?php echo $cfg_df_style?>/taglist.htm<br> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="2" bgcolor="#FAFAF1" align="center"> | |||
<td height="30" bgcolor="#F8FCF1" colspan="2" align="center"> | |||
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.action='makehtml_taglist_action.php';onTagSubmit();">生成标签</button> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr bgcolor="#f8f8f8"> | |||
<tr> | |||
<td height="26" colspan="2"> | |||
<table width="100%" class="table table-borderless"> | |||
<tr> | |||
<td width="70%">进行状态:</td> | |||
<td width="70%">结果:</td> | |||
<td width="30%" align="right"> | |||
<script language='javascript'> | |||
function ResizeDiv(obj, ty) { | |||
@@ -95,7 +95,7 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td colspan="2" id="mtd"> | |||
<div id="mdv" style="width:100%;height:300px"> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> | |||
@@ -34,7 +34,7 @@ | |||
var endNum = Number(document.form1.picnum.value) + startNum; | |||
if (endNum > 40) endNum = 40; | |||
for (startNum; startNum <= endNum; startNum++) { | |||
upfield.innerHTML += "<input type='file' name='upfile" + startNum + "' style='width:260px' size='30' class='pubinputs' /><br>"; | |||
upfield.innerHTML += "<input type='file' name='upfile" + startNum + "' style='width:260px' size='30' class='pubinputs'><br>"; | |||
} | |||
} | |||
function ResetUpload() { | |||
@@ -45,7 +45,7 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table width="98%" align="center" border="0" cellpadding="3" cellspacing="1" class="table maintable mt-3"> | |||
<table width="98%" align="center" border="0" cellpadding="3" cellspacing="1" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
@@ -57,18 +57,18 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff"><img src="../static/web/img/help.gif">提示:图片类型仅支持jpg、png、gif、wbmp格式,flash为.swf格式,视音频和附件为限定扩展名的类型(可在系统参数中修改)</td> | |||
<td height="26"><img src="../static/web/img/help.gif">提示:图片类型仅支持jpg、png、gif、wbmp格式,flash为.swf格式,视音频和附件为限定扩展名的类型(可在系统参数中修改)</td> | |||
</tr> | |||
<tr> | |||
<td height="70" align="center" bgcolor="#ffffff"> | |||
<td height="70" align="center"> | |||
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<form enctype="multipart/form-data" name='form1' action="media_add.php" method="POST" onSubmit="return CheckSubmit();"> | |||
<input type="hidden" name="dopost" value="upload"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>"> | |||
<tr> | |||
<td width="160" height="26" bgcolor="#ffffff" class="bline">媒体类型:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline"> | |||
<label><input name="mediatype" type="radio" class="np" value="1" checked='1' /> | |||
<td width="260" height="26" class="bline">媒体类型:</td> | |||
<td height="26" class="bline"> | |||
<label><input name="mediatype" type="radio" class="np" value="1" checked='1'> | |||
图片 </label> | |||
<label><input type="radio" name="mediatype" class="np" value="2"> | |||
FLASH </label> | |||
@@ -79,47 +79,47 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff" class="bline">说明标题:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline"> | |||
<td height="26" class="bline">说明标题:</td> | |||
<td height="26" class="bline"> | |||
<input name="title" type="text" id="title" size="30" style="width:300px"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff" class="bline">参数说明:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline" colspan="2">图片不需要指定“宽”、“高”,其它附加参数仅方便多媒体文件管理,没其它含义</td> | |||
<td height="26" class="bline">参数说明:</td> | |||
<td height="26" class="bline" colspan="2">图片不需要指定“宽”、“高”,其它附加参数仅方便多媒体文件管理,没其它含义</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff" class="bline">附加参数:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline"> | |||
<td height="26" class="bline">附加参数:</td> | |||
<td height="26" class="bline"> | |||
宽:<input name="mediawidth" type="text" id="mediawidth" style="width:60px">(像素) | |||
高:<input name="mediaheight" type="text" id="mediaheight" style="width:60px">(像素) | |||
播放时间:<input name="playtime" type="text" id="mediawidth3" style="width:60px">(分钟) | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff" class="bline">上传文件:</td> | |||
<td bgcolor="#ffffff" class="bline"> | |||
<td height="26" class="bline">上传文件:</td> | |||
<td class="bline"> | |||
数量:<input name="picnum" type="text" id="picnum" value="5" style="width:60px"> | |||
<button type="button" name="Submit" class="btn btn-success btn-sm" onClick="MakeUpload()">增加</button> | |||
<button type="button" name="Submit" class="btn btn-success btn-sm" onClick="ResetUpload()">恢复</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff"></td> | |||
<td bgcolor="#ffffff"> | |||
<input name="upfile1" type="file" id="upfile1" class='pubinputs' style='width:260px' /><br> | |||
<input name="upfile2" type="file" id="upfile2" class='pubinputs' style='width:260px' /><br> | |||
<input name="upfile3" type="file" id="upfile3" class='pubinputs' style='width:260px' /><br> | |||
<input name="upfile4" type="file" id="upfile4" class='pubinputs' style='width:260px' /><br> | |||
<input name="upfile5" type="file" id="upfile5" class='pubinputs' style='width:260px' /><br> | |||
<td></td> | |||
<td> | |||
<input name="upfile1" type="file" id="upfile1" class='pubinputs' style='width:260px'><br> | |||
<input name="upfile2" type="file" id="upfile2" class='pubinputs' style='width:260px'><br> | |||
<input name="upfile3" type="file" id="upfile3" class='pubinputs' style='width:260px'><br> | |||
<input name="upfile4" type="file" id="upfile4" class='pubinputs' style='width:260px'><br> | |||
<input name="upfile5" type="file" id="upfile5" class='pubinputs' style='width:260px'><br> | |||
<span id='uploadfield'></span> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="36" colspan="2" bgcolor="#ffffff"> | |||
<td height="36" colspan="2"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td align="center" class="py-3"><button type="submit" class="btn btn-success">保存</button></td> | |||
<td align="center" class="py-3"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -27,7 +27,7 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table width="99%" align="center" border="0" cellpadding="3" cellspacing="1" class="table maintable mt-3"> | |||
<table width="99%" align="center" border="0" cellpadding="3" cellspacing="1" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
@@ -40,12 +40,12 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff"> | |||
<td height="26"> | |||
<div class="alert alert-info mb-0">图片类型仅支持jpg、png、gif、wbmp格式,flash为.swf格式,视音频和附件为限定扩展名的类型(可在系统参数中修改)</div> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="70" align="center" bgcolor="#ffffff"> | |||
<td height="70" align="center"> | |||
<table width="100%" border="0" cellpadding="0" cellspacing="0"> | |||
<form enctype="multipart/form-data" name='form1' action="media_edit.php" method="POST" | |||
onSubmit="return CheckSubmit();"> | |||
@@ -53,8 +53,8 @@ | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token']; ?>"> | |||
<input type="hidden" name="aid" value="<?php echo $aid?>"> | |||
<tr> | |||
<td width="15%" height="30" align="left" bgcolor="#ffffff" class="bline">媒体类型:</td> | |||
<td width="85%" height="26" align="left" bgcolor="#ffffff" class="bline"> | |||
<td width="15%" height="30" align="left" class="bline">媒体类型:</td> | |||
<td width="85%" height="26" align="left" class="bline"> | |||
<label><input type="radio" name="mediatype" class="np" value="1" <?php if($myrow['mediatype']==1) echo " checked"; ?>> | |||
图片</label> | |||
<label><input type="radio" name="mediatype" class="np" value="2" <?php if($myrow['mediatype']==2) echo " checked"; ?>> | |||
@@ -66,26 +66,26 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff" class="bline">说明标题:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline"> | |||
<td height="26" class="bline">说明标题:</td> | |||
<td height="26" class="bline"> | |||
<input name="title" type="text" id="title" size="30" value="<?php echo $myrow['title']?>"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff" class="bline">参数说明:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline" colspan="2">图片不需要指定“宽”、“高”,其它附加参数仅方便多媒体文件管理,没其它含义</td> | |||
<td height="26" class="bline">参数说明:</td> | |||
<td height="26" class="bline" colspan="2">图片不需要指定“宽”、“高”,其它附加参数仅方便多媒体文件管理,没其它含义</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff" class="bline">附加参数:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline"> | |||
<td height="26" class="bline">附加参数:</td> | |||
<td height="26" class="bline"> | |||
宽:<input name="mediawidth" type="text" id="mediawidth" size="5" value="<?php echo $myrow['width']?>">(像素) | |||
高:<input name="mediaheight" type="text" id="mediaheight" size="5" value="<?php echo $myrow['height']?>">(像素) | |||
播放时间:<input name="playtime" type="text" id="playtime" size="5" value="<?php echo $myrow['playtime']?>">(分钟) | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff" class="bline">原文件:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline"> | |||
<td height="26" class="bline">原文件:</td> | |||
<td height="26" class="bline"> | |||
<input name="filename" type="text" id="filename" style='width:260px' value="<?php echo $myrow['url']?>"> | |||
<a href="<?php echo $myrow['url']?>" target="_blank">[查看]</a> | |||
</td> | |||
@@ -102,23 +102,23 @@ | |||
else $w = $sizes[0]; | |||
?> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff" class="bline">预览:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline"> | |||
<td height="26" class="bline">预览:</td> | |||
<td height="26" class="bline"> | |||
<a href="<?php echo $myrow['url']?>" target="_blank"><img src="<?php echo $myrow['url'].'?q='.time()?>" width="<?php echo $w?>" id="picview"></a> | |||
</td> | |||
</tr> | |||
<?php } } } ?> | |||
<tr> | |||
<td height="26" bgcolor="#ffffff" class="bline">修改文件:</td> | |||
<td height="26" bgcolor="#ffffff" class="bline"> | |||
<td height="26" class="bline">修改文件:</td> | |||
<td height="26" class="bline"> | |||
<input name="upfile" type="file" id="upfile" style='width:260px'> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="36" colspan="2" bgcolor="#ffffff" class="bline"> | |||
<td height="36" colspan="2" class="bline"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td align="center" class="py-3"><button type="submit" class="btn btn-success">保存</button></td> | |||
<td align="center" class="py-3"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -62,7 +62,7 @@ | |||
</a> | |||
</div> | |||
<SCRIPT src="js/float.js"></SCRIPT> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td height="26" colspan="7" background="../static/web/img/tbg.gif"> | |||
<table width='96%' cellpadding='0' cellspacing='0' style="padding-left:10px" class="table-borderless"> | |||
@@ -75,9 +75,9 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff" height="26"> | |||
<tr> | |||
<td colspan="7"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0" class="table-borderless"> | |||
<table width="900" border="0" cellspacing="0" cellpadding="0" class="table-borderless"> | |||
<form name='forms' method='post' action='media_main.php'> | |||
<tr> | |||
<td width="10"></td> | |||
@@ -101,7 +101,7 @@ | |||
</select> | |||
</td> | |||
<td> | |||
<button type="submit" class="btn btn-success">搜索</button> | |||
<button type="submit" class="btn btn-success btn-sm">搜索</button> | |||
</td> | |||
</tr> | |||
</form> | |||
@@ -119,9 +119,9 @@ | |||
</tr> | |||
<form name='form1'> | |||
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | |||
<tr align="center" bgcolor="#ffffff" height="26" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td> | |||
<input type='checkbox' name='aids' id='aids{dede:field.aid/}' value='{dede:field.aid/}' class='np' /> | |||
<input type='checkbox' name='aids' id='aids{dede:field.aid/}' value='{dede:field.aid/}' class='np'> | |||
</td> | |||
<td> | |||
<a href='{dede:field.url/}' title='{dede:field.url/}' target='_blank'> | |||
@@ -138,7 +138,7 @@ | |||
</td> | |||
</tr> | |||
{/dede:datalist} | |||
<tr bgcolor="#ffffff" height="26"> | |||
<tr> | |||
<td colspan="7"> | |||
<button type="button" name="b4" class="btn btn-success btn-sm" onClick="AllSel();">全选</button> | |||
<button type="button" name="b5" class="btn btn-success btn-sm" onClick="NoneSel();">取消</button> | |||
@@ -88,13 +88,13 @@ | |||
<td>操作</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'} | |||
<tr height="26" align="center" bgcolor="#ffffff" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td><input name="mid" type="checkbox" id="mid" value="{dede:field.mid/}" class="np"></td> | |||
<td>{dede:field.mid/}</td> | |||
<td><a href="../user/index.php?uid={dede:field.userid/}" target='_blank'> | |||
<?php | |||
echo ''.$fields['userid'].''; | |||
if($fields['spacesta']==-2) echo "<span style='color:#e74d58'>[禁言]</span>"; | |||
if($fields['spacesta']==-2) echo "<span style='color:#dc3545'>[禁言]</span>"; | |||
if($fields['spacesta']==-1) echo "<span style='color:#e74d58'>[未审核]</span>"; | |||
if(!empty($fields['face'])) { | |||
echo "<br><img src='{$fields['face']}' alt='浏览会员空间' style='max-width:80px;height:auto'>"; | |||
@@ -123,15 +123,15 @@ | |||
</td> | |||
</tr> | |||
{/dede:datalist} | |||
<tr bgcolor="#ffffff"> | |||
<tr> | |||
<td colspan="9" class="py-3"> | |||
<button type="button" onClick="selAll();" class="btn btn-success btn-sm">全选</button> | |||
<button type="button" onClick="noSelAll();" class="btn btn-success btn-sm">取消</button> | |||
<button type="button" onClick="delArc(0);" class="btn btn-success btn-sm">删除</button>(如果已经整合了论坛的用户请不要使用批量删除功能) | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f8f8f8"> | |||
<td height="36" colspan="9" align="center">{dede:pagelist listsize='6'/}</td> | |||
<tr> | |||
<td height="36" bgcolor="f8f8f8" colspan="9" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</form> | |||
@@ -100,7 +100,7 @@ | |||
</tr> | |||
<form name="form1"> | |||
{dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'} | |||
<tr bgcolor="#ffffff" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td align="center"> | |||
<input type='checkbox' name='aids' value='<?php echo $fields['aid']?>' class='np'></td> | |||
<td align="center"> | |||
@@ -13,7 +13,7 @@ | |||
</head> | |||
<body> | |||
<form action="member_pm.php" name="form1" method="get"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-borderless mt-3" style="margin-bottom:10px"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-borderless mt-3 mb-3"> | |||
<tr> | |||
<td height="36" bgcolor="#f8f8f8"> | |||
<table border="0" cellpadding="0" cellspacing="0"> | |||
@@ -44,31 +44,25 @@ | |||
<tr bgcolor="#FBFCE2" height="26"> | |||
<td width="10%" align="center">发送时间</td> | |||
<td width="20%" align="center">标题</td> | |||
<td width="5%" align="center">已读?</td> | |||
<td width="5%" align="center">已读</td> | |||
<td width="10%" align="center">{dede:global name='postuser'/}</td> | |||
<td width="36%" align="center">内容</td> | |||
<td width="9%" align="center">文件夹</td> | |||
<td width="35%" align="center">内容</td> | |||
<td width="10%" align="center">文件夹</td> | |||
<td width="10%" align="center">操作</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | |||
<tr height="26" align="center" bgcolor="#ffffff" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td>{dede:field.sendtime function='GetDateMk(@me)'/}</td> | |||
<td>{dede:field.subject function='dede_htmlspecialchars(@me)'/}<br></td> | |||
<td>{dede:field.subject function='dede_htmlspecialchars(@me)'/}</td> | |||
<td>{dede:field.hasview function='IsReader(@me)'/}</td> | |||
<td>{dede:field.floginid/}</td> | |||
<td title="{dede:field.message/}">{dede:field.message function='cn_substr(HtmlReplace(@me),60)'/}</td> | |||
<td>{dede:field.folder function='GetFolders(@me)'/}</td> | |||
<td> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" class="table-borderless"> | |||
<tr> | |||
<td align="center" height="26"><a href="member_pm.php?ID={dede:field.id/}&dopost=del">删除</a></td> | |||
</tr> | |||
</table> | |||
</td> | |||
<td><a href="member_pm.php?ID={dede:field.id/}&dopost=del" class="btn btn-success btn-sm">删除</a></td> | |||
</tr> | |||
{/dede:datalist} | |||
<tr bgcolor="#f8f8f8"> | |||
<td height="36" colspan="9" align="center"> {dede:pagelist listsize='6'/}</td> | |||
<tr> | |||
<td height="36" bgcolor="f8f8f8" colspan="9" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</body> |
@@ -12,7 +12,7 @@ | |||
</head> | |||
<body> | |||
<form action="member_pm.php" name="form1" method="get"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-borderless mt-3" style="margin-bottom:10px"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-borderless mt-3 mb-3"> | |||
<tr> | |||
<td height="36" bgcolor="#f8f8f8"> | |||
<table border="0" cellpadding="0" cellspacing="0"> | |||
@@ -40,30 +40,26 @@ | |||
<a href='member_pm.php'>短信列表</a> <span class="current" id="cate_1">群发短信</span> <a href='member_pmone.php'>单独短信</a> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff" height="26"> | |||
<tr> | |||
<td colspan="7" align="left"> | |||
<form id="postall" method="post" action="member_pmall.php"> | |||
<input name="action" type="hidden" value="post"> | |||
<table width="100%" border="0" cellpadding="1" cellspacing="1"> | |||
<tr> | |||
<td width="13%" height="30" align="right">标题:</td> | |||
<td width="87%" height="26"><input name="subject" type="text" id="subject" class="company_manage_form_label">标题少于70个字符内</td> | |||
<td width="260" height="26">标题:</td> | |||
<td height="26"><input name="subject" type="text" id="subject" class="company_manage_form_label" style="width:260px">(标题少于70个字符内)</td> | |||
</tr> | |||
<tr> | |||
<td height="12" align="right" style="padding-top:5px;"><label for="pm_textarea">内容:</label></td> | |||
<td height="120" ><textarea name="message" id="message" cols="40" rows="5" class="company_manage_form_label1" style="width:360px;height:100px"></textarea>1000个字符以内</td> | |||
<td height="26"><label for="pm_textarea">内容:</label></td> | |||
<td><textarea name="message" id="message" class="company_manage_form_label1" style="width:360px;height:100px"></textarea>(1000个字符以内)</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="right"></td> | |||
<td height="30"><input type="submit" value="提交" class="button01"></td> | |||
<td colspan="2" align="center" class="py-3"><input type="submit" value="提交" class="button01"></td> | |||
</tr> | |||
</table> | |||
</form> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f8f8f8"> | |||
<td height="26" colspan="9" align="center"></td> | |||
</tr> | |||
</table> | |||
</body> | |||
</html> |
@@ -12,7 +12,7 @@ | |||
</head> | |||
<body> | |||
<form action="member_pm.php" name="form1" method="get"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-borderless mt-3" style="margin-bottom:10px"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-borderless mt-3 mb-3"> | |||
<tr> | |||
<td height="36" bgcolor="#f8f8f8"> | |||
<table border="0" cellpadding="0" cellspacing="0"> | |||
@@ -40,34 +40,30 @@ | |||
<a href='member_pm.php'>短信列表</a> <a href='member_pmall.php'>群发短信</a> <span class="current" id="cate_1">单独短信</span> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#ffffff" height="26"> | |||
<tr> | |||
<td colspan="7" align="left"> | |||
<form id="postall" method="post" action="member_pmone.php"> | |||
<input name="action" type="hidden" value="post"> | |||
<table width="100%" border="0" cellpadding="1" cellspacing="1"> | |||
<tr> | |||
<td width="13%" height="30" align="right">发送到:</td> | |||
<td width="87%" height="26"><input name="msgtoid" type="text" class="text" value="<?php echo empty($touid)? '' : $touid?>">填写用户的登录id(网址uid=后面跟的id)</td> | |||
<tr> | |||
<td width="260" height="26">发送到:</td> | |||
<td height="26"><input name="msgtoid" type="text" class="text" value="<?php echo empty($touid)? '' : $touid?>" style="width:260px"> 填写用户登录的ID(网址uid=后面跟着的ID)</td> | |||
</tr> | |||
<tr> | |||
<td width="13%" height="30" align="right">标题:</td> | |||
<td width="87%" height="26"><input name="subject" type="text" id="subject" class="company_manage_form_label">标题少于70个字符内</td> | |||
<td height="26">标题:</td> | |||
<td height="26"><input name="subject" type="text" id="subject" class="company_manage_form_label" style="width:260px">(标题少于70个字符内)</td> | |||
</tr> | |||
<tr> | |||
<td height="12" align="right" style="padding-top:5px;"><label for="pm_textarea">内容:</label></td> | |||
<td height="120"><textarea name="message" id="message" cols="40" rows="5" class="company_manage_form_label1" style="width:360px;height:100px"></textarea>1000个字符以内</td> | |||
<td height="26"><label for="pm_textarea">内容:</label></td> | |||
<td><textarea name="message" id="message" class="company_manage_form_label1" style="width:360px;height:50px"></textarea>(1000个字符以内)</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="right"></td> | |||
<td height="30"><input type="submit" value="提交" class="button01"></td> | |||
<td colspan="2" align="center" class="py-3"><input type="submit" value="提交" class="button01"></td> | |||
</tr> | |||
</table> | |||
</form> | |||
</form> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f8f8f8"> | |||
<td height="26" colspan="9" align="center"></td> | |||
</tr> | |||
</table> | |||
</body> | |||
</html> |
@@ -10,8 +10,8 @@ | |||
<body> | |||
<form name="form1" action="member_rank.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<tr height="26"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td colspan="6" background="../static/web/img/tbg.gif">会员管理 > 会员级别设置</td> | |||
</tr> | |||
<tr bgcolor="#F8FCF1" height="26"> | |||
@@ -32,21 +32,21 @@ | |||
$k++; | |||
?> | |||
<tr align="center" bgcolor="#ffffff" height="26"> | |||
<tr height="26" align="center"> | |||
<td> | |||
<input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id; ?>"> | |||
<input name="name_<?php echo $k?>" value="<?php echo $row->membername; ?>" type="text" id="name_<?php echo $k?>" class='autoinput alltxt' /> | |||
<input name="name_<?php echo $k?>" value="<?php echo $row->membername; ?>" type="text" id="name_<?php echo $k?>" class='autoinput alltxt'> | |||
</td> | |||
<td><input name="rank_<?php echo $k?>" value="<?php echo $row->rank; ?>" type="text" id="rank_<?php echo $k?>" class='autoinput alltxt' /></td> | |||
<td><input name="money_<?php echo $k?>" value="<?php echo $row->money; ?>" type="text" id="money_<?php echo $k?>" class='autoinput alltxt' /></td> | |||
<td><input name="scores_<?php echo $k?>" value="<?php echo $row->scores; ?>" type="text" id="scores_<?php echo $k?>" class='autoinput alltxt' /></td> | |||
<td><input name="rank_<?php echo $k?>" value="<?php echo $row->rank; ?>" type="text" id="rank_<?php echo $k?>" class='autoinput alltxt'></td> | |||
<td><input name="money_<?php echo $k?>" value="<?php echo $row->money; ?>" type="text" id="money_<?php echo $k?>" class='autoinput alltxt'></td> | |||
<td><input name="scores_<?php echo $k?>" value="<?php echo $row->scores; ?>" type="text" id="scores_<?php echo $k?>" class='autoinput alltxt'></td> | |||
<td align="center"> | |||
<?php | |||
if($row->id<=5) { echo "系统"; } | |||
else { echo "用户"; } | |||
?></td> | |||
<td><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" | |||
<?php if($row->id == 3) echo 'disabled="disabled"'; ?> class="np" value="1" checked='checked' /> | |||
<?php if($row->id == 3) echo 'disabled="disabled"'; ?> class="np" value="1" checked='checked'> | |||
正在使用 </td> | |||
</tr> | |||
<?php | |||
@@ -56,7 +56,7 @@ | |||
<tr bgcolor="#F8FCF1" height="26"> | |||
<td colspan="6">新增一个级别:由于会员升级是以级别值由低向高升级的,因此增加组别时需注意此值的设置,<span style='color:#e74d58'> 如果您增加新的会员组的级别值低于10,将自动被视为普通的注册会员</span></td> | |||
</tr> | |||
<tr bgcolor="#ffffff" align="center" height="26"> | |||
<tr height="26" align="center"> | |||
<td> 级别名称 </td> | |||
<td> 级别值(待审为0,注册会员为10)</td> | |||
<td> 默认金币 </td> | |||
@@ -64,19 +64,16 @@ | |||
<td> 操作设置 </td> | |||
<td></td> | |||
</tr> | |||
<tr bgcolor="#ffffff" align="center" height="26"> | |||
<td><input name="name_new" type="text" id="name_new" class='autoinput alltxt' /></td> | |||
<td><input name="rank_new" type="text" id="rank_new" value='20' class='autoinput alltxt' /></td> | |||
<td><input name="money_new" type="text" id="money_new" value='0' class='autoinput alltxt' /></td> | |||
<td><input name="scores_new" type="text" id="scores_new" value='100' class='autoinput alltxt' /></td> | |||
<tr height="26" align="center"> | |||
<td><input name="name_new" type="text" id="name_new" class='autoinput alltxt'></td> | |||
<td><input name="rank_new" type="text" id="rank_new" value='20' class='autoinput alltxt'></td> | |||
<td><input name="money_new" type="text" id="money_new" value='0' class='autoinput alltxt'></td> | |||
<td><input name="scores_new" type="text" id="scores_new" value='100' class='autoinput alltxt'></td> | |||
<td><input name="check_new" type="checkbox" id="check_new" class="np" value="1" checked /> 增加等级</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="6" bgcolor="#F8FCF1"></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff" colspan="6" align="center" class="py-3"><button type="submit" class="btn btn-success">保存</button></td> | |||
<td colspan="6" align="center" class="py-3"><button type="submit" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
</table> | |||
</form> | |||
@@ -31,7 +31,7 @@ | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable"> | |||
<tr> | |||
<td width="6%" align="center" valign="middle" bgcolor="#FEFCEF"> | |||
<input type="checkbox" name="chkall" id="chkall" onClick="CheckAll(this.form)" class='np' /> | |||
<input type="checkbox" name="chkall" id="chkall" onClick="CheckAll(this.form)" class='np'> | |||
删</td> | |||
<td width="23%" align="center" bgcolor="#FEFCEF">积分大于</td> | |||
<td width="30%" align="center" bgcolor="#FEFCEF">星星数</td> | |||
@@ -41,8 +41,8 @@ | |||
<?php | |||
foreach($Scores as $v){ | |||
?> | |||
<tr bgcolor="#ffffff" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
<td align="center"><input name="Ids-<?php echo $v['id']?>" type="checkbox" id="Ids-<?php echo $v['id']?>" value="1" class='np' /></td> | |||
<tr onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td align="center"><input name="Ids-<?php echo $v['id']?>" type="checkbox" id="Ids-<?php echo $v['id']?>" value="1" class='np'></td> | |||
<td align="center"><input name="integral-<?php echo $v['id']?>" type="text" id="integral-<?php echo $v['id']?>" value="<?php echo $v['integral']?>" style="width:160px"></td> | |||
<td align="center"><input name="icon-<?php echo $v['id']?>" type="text" id="icon-<?php echo $v['id']?>" value="<?php echo $v['icon']?>" style="width:60px"></td> | |||
<td align="center"><input name="titles-<?php echo $v['id']?>" type="text" id="titles-<?php echo $v['id']?>" value="<?php echo $v['titles']?>" style="width:160px"></td> | |||
@@ -56,7 +56,7 @@ | |||
<?php | |||
} | |||
?> | |||
<tr bgcolor="#f8f8f8"> | |||
<tr> | |||
<td>新增:</td> | |||
<td align="center"><input name="add_integral" type="text" id="add_integral" style="width:160px"></td> | |||
<td align="center"><input name="add_icon" type="text" id="add_icon" style="width:60px"></td> | |||
@@ -70,7 +70,7 @@ | |||
</tr> | |||
<tr> | |||
<td colspan="5" align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">提交</button> | |||
<button type="submit" class="btn btn-success btn-sm">提交</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -26,12 +26,12 @@ | |||
</script> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href='<?php echo $ENV_GOBACK_URL; ?>'>会员管理</a> > 提升为管理员</td> | |||
</tr> | |||
<tr> | |||
<td height="200" bgcolor="#ffffff" align='center'> | |||
<td height="200" align='center'> | |||
<?php | |||
if($row['matt']==10) | |||
{ | |||
@@ -102,10 +102,10 @@ | |||
<input name="randcode" type="hidden" value="<?php echo $randcode; ?>">(复制本代码:<span style='color:#e74d58'><?php echo $safecode; ?></span>)</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" class="py-3"> | |||
<td colspan="2" align="center" class="py-3"> | |||
<button type="submit" name="Submit" class="btn btn-success btn-sm">确定提升</button> | |||
<button type="reset" name="Submit22" class="btn btn-success btn-sm">重置表单</button> | |||
<button type="button" onclick="javascript:history.go(-1);" class="btn btn-success btn-sm">不理返回</button> | |||
<button type="reset" name="Submit22" class="btn btn-success btn-sm">重置</button> | |||
<button type="button" onclick="javascript:history.go(-1);" class="btn btn-success btn-sm">返回</button> | |||
</td> | |||
</tr> | |||
</form> | |||
@@ -8,7 +8,7 @@ | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<form name="form1" action="member_type.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<tr> | |||
@@ -17,8 +17,8 @@ | |||
<tr> | |||
<td width="30%" style="padding-left:10px">会员产品分类</td> | |||
<td align="right" style="padding-top:10px"> | |||
<button type="button" class="btn btn-success" onClick="location='member_rank.php';">会员级别管理</button> | |||
<button type="button" class="btn btn-success" onClick="location='member_operations.php';">会员业务记录</button> | |||
<button type="button" class="btn btn-success btn-sm" onClick="location='member_rank.php';">会员级别管理</button> | |||
<button type="button" class="btn btn-success btn-sm" onClick="location='member_operations.php';">会员业务记录</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -40,37 +40,37 @@ | |||
$k++; | |||
?> | |||
<input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->aid?>"> | |||
<tr align="center" bgcolor="#ffffff"> | |||
<tr align="center"> | |||
<td height="26"> | |||
<input name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" type="text" id="pname_<?php echo $k?>" style="width:90%" class='pubinputs' /> | |||
<input name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" type="text" id="pname_<?php echo $k?>" style="width:90%" class='pubinputs'> | |||
</td> | |||
<td height="26"> | |||
<select name='rank_<?php echo $k?>' id='rank_<?php echo $k?>' style='width:90%' /> | |||
<select name='rank_<?php echo $k?>' id='rank_<?php echo $k?>' style='width:90%'> | |||
<?php | |||
foreach($arcranks as $kkk=>$vvv){ | |||
if($row->rank==$kkk) echo "<option value='{$kkk}' selected>{$vvv}</option>\r\n"; | |||
else echo "<option value='{$kkk}'>{$vvv}</option>\r\n"; | |||
if($row->rank==$kkk) echo "<option value='{$kkk}' selected>{$vvv}</option>"; | |||
else echo "<option value='{$kkk}'>{$vvv}</option>"; | |||
} | |||
?> | |||
</select> | |||
</td> | |||
<td> | |||
<input name="money_<?php echo $k?>" value="<?php echo $row->money?>" type="text" id="money_<?php echo $k?>" style="width:80%" class='pubinputs' /> | |||
<input name="money_<?php echo $k?>" value="<?php echo $row->money?>" type="text" id="money_<?php echo $k?>" style="width:80%" class='pubinputs'> | |||
(元) | |||
</td> | |||
<td> | |||
<select name='exptime_<?php echo $k?>' id='exptime_<?php echo $k?>' style='width:90%'> | |||
<?php | |||
foreach($times as $kkk=>$vvv){ | |||
if($row->exptime==$kkk) echo "<option value='{$kkk}' selected>{$vvv}</option>\r\n"; | |||
else echo "<option value='{$kkk}'>{$vvv}</option>\r\n"; | |||
if($row->exptime==$kkk) echo "<option value='{$kkk}' selected>{$vvv}</option>"; | |||
else echo "<option value='{$kkk}'>{$vvv}</option>"; | |||
} | |||
?> | |||
</select> | |||
</td> | |||
<td> | |||
<input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked='1' | |||
class='np' /> | |||
class='np'> | |||
保留 | |||
</td> | |||
</tr> | |||
@@ -78,46 +78,46 @@ | |||
} | |||
?> | |||
<input type="hidden" name="idend" value="<?php echo $k?>"> | |||
<tr bgcolor="#f8f8f8"> | |||
<tr> | |||
<td height="26" colspan="5"> 新增一个会员产品类型:</td> | |||
</tr> | |||
<tr height="26" align="center" bgcolor="#ffffff"> | |||
<tr height="26" align="center"> | |||
<td> | |||
<input name="pname_new" type="text" id="pname_new" style="width:90%" class='pubinputs' /> | |||
<input name="pname_new" type="text" id="pname_new" style="width:90%" class='pubinputs'> | |||
</td> | |||
<td> | |||
<select name='rank_new' id='rank_new' style='width:90%'> | |||
<?php | |||
foreach($arcranks as $kkk=>$vvv){ | |||
echo "<option value='{$kkk}'>{$vvv}</option>\r\n"; | |||
echo "<option value='{$kkk}'>{$vvv}</option>"; | |||
} | |||
?> | |||
</select> | |||
</td> | |||
<td> | |||
<input name="money_new" type="text" id="money_new" style='width:80%' value="100" class='pubinputs' /> | |||
<input name="money_new" type="text" id="money_new" style='width:80%' value="100" class='pubinputs'> | |||
(元) | |||
</td> | |||
<td> | |||
<select name='exptime_new' id='exptime_new' style='width:90%'> | |||
<?php | |||
foreach($times as $kkk=>$vvv){ | |||
echo "<option value='{$kkk}'>{$vvv}</option>\r\n"; | |||
echo "<option value='{$kkk}'>{$vvv}</option>"; | |||
} | |||
?> | |||
</select> | |||
</td> | |||
<td align="center" bgcolor="#ffffff"> | |||
<input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np' /> | |||
<td align="center"> | |||
<input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np'> | |||
新增 | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="5" bgcolor="#ffffff"></td> | |||
<td height="26" colspan="5"></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#f8f8f8" colspan="5" align="center" class="py-3"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="submit" class="btn btn-success btn-sm">保存</button> | |||
</td> | |||
</tr> | |||
</form> | |||
@@ -29,12 +29,12 @@ function checkSubmit() | |||
</script> | |||
</head> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif" style="padding-left:10px"><a href='<?php echo $ENV_GOBACK_URL; ?>'>会员管理</a> > 查看会员</td> | |||
</tr> | |||
<tr> | |||
<td height="200" bgcolor="#ffffff" align='center'> | |||
<td height="200" align='center'> | |||
<?php | |||
if($row['matt']==10) echo "<span style='color:#dc3545'>当前用户是网站管理员关连的帐号,请小心操作</span>"; | |||
?> | |||
@@ -43,7 +43,7 @@ function checkSubmit() | |||
<input type="hidden" name="dopost" value="edituser"> | |||
<input type="hidden" name="id" value="<?php echo $id?>"> | |||
<tr> | |||
<td width="160" height="26" class="bline">用户名:</td> | |||
<td width="260" height="26" class="bline">用户名:</td> | |||
<td height="26" class="bline"> | |||
<?php | |||
echo "".$row['userid'].""; | |||
@@ -177,10 +177,10 @@ function checkSubmit() | |||
</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" class="py-3"> | |||
<button type="submit" name="Submit" class="btn btn-success btn-sm">确定保存</button> | |||
<button type="reset" name="Submit22" class="btn btn-success btn-sm">重置表单</button> | |||
<button type="button" onclick="javascript:history.go(-1);" class="btn btn-success btn-sm">不理返回</button> | |||
<td colspan="2" align="center" class="py-3"> | |||
<button type="submit" name="Submit" class="btn btn-success btn-sm">保存</button> | |||
<button type="reset" name="Submit22" class="btn btn-success btn-sm">重置</button> | |||
<button type="button" onclick="javascript:history.go(-1);" class="btn btn-success btn-sm">返回</button> | |||
</td> | |||
</tr> | |||
</form> | |||
@@ -44,26 +44,20 @@ td{padding-left:8px} | |||
<td height="26" colspan="2" background='../static/web/img/wbg.gif' style="padding-left:10px"><a href="module_main.php">模块管理</a> > 模块修改</td> | |||
</tr> | |||
<tr> | |||
<td width="20%" align="center" bgcolor="#ffffff">模块名称:</td> | |||
<td width="80%" bgcolor="#ffffff"> | |||
<input name="modulname" type="text" id="modulname" style="width:180px" value="<?php echo $name; ?>" class='alltxt'/> | |||
</td> | |||
<td width="260">模块名称:</td> | |||
<td><input name="modulname" type="text" id="modulname" style="width:160px" value="<?php echo $name; ?>" class='alltxt'/></td> | |||
</tr> | |||
<tr> | |||
<td width="20%" align="center" bgcolor="#ffffff">开发者ID:</td> | |||
<td width="80%" bgcolor="#ffffff"> | |||
<input name="dev_id2" type="text" id="dev_id2" style="width:180px" value="<?php echo $dev_id; ?>" class='alltxt' disabled/> <a href="<?php echo $cfg_biz_dedebizUrl; ?>/developer" target="_blank" class="text-success">如何获取开发者ID</a> | |||
</td> | |||
<td>开发者ID:</td> | |||
<td><input name="dev_id2" type="text" id="dev_id2" style="width:160px" value="<?php echo $dev_id; ?>" class='alltxt' disabled/> <a href="<?php echo $cfg_biz_dedebizUrl; ?>/developer" target="_blank" class="text-success">如何获取开发者ID</a></td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#ffffff">语言编码:</td> | |||
<td bgcolor="#ffffff"> | |||
<?php echo $lang; ?> | |||
</td> | |||
<td>语言编码:</td> | |||
<td><?php echo $lang; ?></td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#ffffff">封装类型:</td> | |||
<td bgcolor="#ffffff"> | |||
<td>封装类型:</td> | |||
<td> | |||
<label><input name="moduletype" type="radio" id="moduletype1" class='np' value='soft'<?php if($moduletype=='soft') echo " checked='1' "; ?>/> 模块</label> | |||
<label><input name="moduletype" type="radio" id="moduletype2" class='np' value='templets'<?php if($moduletype=='templets') echo " checked='1' "; ?>/> 模板</label> | |||
<label><input name="moduletype" type="radio" id="moduletype3" class='np' value='plus'<?php if($moduletype=='plus') echo " checked='1' "; ?>/> 小插件</label> | |||
@@ -71,54 +65,51 @@ td{padding-left:8px} | |||
</td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#ffffff">模块识别码:</td> | |||
<td bgcolor="#ffffff"> | |||
<input type='hidden' name='hash' value='<?php echo $hash; ?>' /> | |||
<input type='text' disabled name='hashv' value='<?php echo $hash; ?>' style="width:280px" class='alltxt' />(不可改) | |||
<td>模块识别码:</td> | |||
<td> | |||
<input type='hidden' name='hash' value='<?php echo $hash; ?>'> | |||
<input type='text' disabled name='hashv' value='<?php echo $hash; ?>' style="width:280px" class='alltxt'>(不可改) | |||
</td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#ffffff">发布时间:</td> | |||
<td bgcolor="#ffffff"> | |||
<input name="mtime" type="text" id="mtime" style="width:180px" value="<?php echo $time; ?>" class='alltxt'/> | |||
</td> | |||
<td>发布时间:</td> | |||
<td><input name="mtime" type="text" id="mtime" style="width:160px" value="<?php echo $time; ?>" class='alltxt'/></td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#ffffff">是否涉及会员系统:</td> | |||
<td bgcolor="#ffffff"> | |||
<td>是否涉及会员系统:</td> | |||
<td> | |||
<label><input name="ismember" type="radio" class='np' id="ismember0" value="0" onclick="ShowHideMb('ismember0','rboxct')" <?php if($ismember=='0') echo " checked='1' "; ?>> | |||
不涉及</label> | |||
<label><input name="ismember" type="radio" id="ismember1" value="1" onclick="ShowHideMb('ismember0','rboxct')" class='np' <?php if($ismember=='1') echo " checked='1' "; ?>> 涉及</label> | |||
<div id='rboxct' style='display:<?php echo ($ismember=='0' ? 'none' : 'block'); ?>'> | |||
导航使用名称: | |||
<input name="indexname" type="text" id="indexname" style="width:180px" value="<?php echo $indexname; ?>" class='alltxt'/> | |||
<input name="indexname" type="text" id="indexname" style="width:160px" value="<?php echo $indexname; ?>" class='alltxt'/> | |||
<br> | |||
导航使用网址: | |||
<input name="indexurl" type="text" id="indexurl" style="width:180px" value="<?php echo $indexurl; ?>" class='alltxt' /> | |||
<input name="indexurl" type="text" id="indexurl" style="width:160px" value="<?php echo $indexurl; ?>" class='alltxt'> | |||
(用相对于会员中心的网址,如:../ask) | |||
</div> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#ffffff">后台管理菜单:</td> | |||
<td bgcolor="#ffffff"> | |||
<td>后台管理菜单:</td> | |||
<td> | |||
<textarea name="menustring" rows="8" id="menustring" style="width:80%"><?php echo $menustring; ?></textarea> | |||
<br> | |||
(普通插件或模板、补丁类不要填写,模块菜单格式请参考inc/inc_menu_module.php) | |||
(普通插件或模板、补丁类不要填写,模块菜单格式请参考inc/inc_menu_module.php) | |||
</td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#ffffff">使用说明文件:</td> | |||
<td bgcolor="#ffffff"> | |||
<table width="80%" border="0" cellpadding="5" cellspacing="1" bgcolor="#83B771"> | |||
<td>使用说明文件:</td> | |||
<td> | |||
<table width="80%" border="0" cellpadding="5" cellspacing="1"> | |||
<tr> | |||
<td width="75%" bgcolor="#F3FDE1"> | |||
使用协议或说明: | |||
<br> 如果需要带HTML格式,请编译后点击修改时使用HTML | |||
<td width="75%" bgcolor="#F3FDE1">使用协议或说明:<br> | |||
如果需要带HTML格式,请编译后点击修改时使用HTML | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff" align="center"> | |||
<td> | |||
<textarea name="readmetxt" rows="10" id="readmetxt" style="width:98%"><?php echo $readmetxt; ?></textarea> | |||
</td> | |||
</tr> | |||
@@ -126,27 +117,25 @@ td{padding-left:8px} | |||
</td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#ffffff">程序安装:</td> | |||
<td bgcolor="#ffffff"> | |||
<td>程序安装:</td> | |||
<td> | |||
<label><input type="checkbox" name="autosetup" id="autosetup" value='1' class="np" onclick="ShowHideField('autosetup','autosetupinput','autosetupct')"<?php if(isset($autosetup) && $autosetup==1) echo " checked='1'"; ?> /> | |||
自动生成(由系统自动处理安装)</label> | |||
自动生成(由系统自动处理安装)</label> | |||
<br> | |||
<div style='display:<?php if(!isset($autosetup) || $autosetup==0) echo "block"; else echo 'none'; ?>' id='autosetupinput'> | |||
<input name="setup" type="file" id="setup" style="width:350px"> | |||
<div style="display:<?php if(!isset($autosetup) || $autosetup==0) echo 'block'; else echo 'none'; ?>" id="autosetupinput"> | |||
<input name="setup" type="file" id="setup" style="width:360px"> | |||
</div> | |||
<div style='margin:5px 0px 5px 5px;display:<?php if(isset($autosetup) && $autosetup==1) echo "block"; else echo 'none'; ?>' id='autosetupct'> | |||
<table width="80%" border="0" cellpadding="5" cellspacing="1" bgcolor="#83B771"> | |||
<div style="margin:5px 0px 5px 5px;display:<?php if(isset($autosetup) && $autosetup==1) echo 'block'; else echo 'none'; ?>" id="autosetupct"> | |||
<table width="80%" border="0" cellpadding="5" cellspacing="1"> | |||
<tr> | |||
<td width="75%" bgcolor="#F3FDE1"> | |||
请使用MySQL4.0版本格式的SQL语句: | |||
<br> | |||
MySQL4.1/5.x版本请把创建表语句 ENGINE=MyISAM DEFAULT CHARSET=* ,改为 TYPE=MyISAM ,SQL语句允许换行,但必须用 ";换行" 表示一条SQL语句结束 | |||
<br> | |||
请使用MySQL4.0版本格式的SQL语句:<br> | |||
MySQL4.1/5.x版本请把创建表语句 ENGINE=MyISAM DEFAULT CHARSET=* ,改为 TYPE=MyISAM ,SQL语句允许换行,但必须用 ";换行" 表示一条SQL语句结束<br> | |||
如果SQL中包含有模块网址的,用 _ROOTURL_ 表示,如:_ROOTURL_/ask/index.php | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff" align="center"> | |||
<td> | |||
<textarea name="setupsql40" rows="10" id="setupsql40" style="width:98%"><?php echo $setupsql40; ?></textarea> | |||
</td> | |||
</tr> | |||
@@ -155,26 +144,24 @@ td{padding-left:8px} | |||
</td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#ffffff">删除程序:</td> | |||
<td bgcolor="#ffffff"> | |||
<td>删除程序:</td> | |||
<td> | |||
<label><input type="checkbox" name="autodel" id="autodel" value='1' class="np" onclick="ShowHideField('autodel','autodelinput','autodelct')" <?php if(isset($autodel) && $autodel==1) echo " checked='1' "; ?> /> | |||
自动生成(由系统自动处理卸载)</label> | |||
自动生成(由系统自动处理卸载)</label> | |||
<br> | |||
<div style='display:<?php if(!isset($autodel) || $autodel==0) echo 'block'; else echo 'none'; ?>' id='autodelinput'> | |||
<input name="uninstall" type="file" id="uninstall" style="width:350px"> | |||
<input name="uninstall" type="file" id="uninstall" style="width:360px"> | |||
</div> | |||
<div style='margin:5px 0px 5px 5px;display:<?php if(isset($autodel) && $autodel==1) echo 'block'; else echo 'none'; ?>' id='autodelct'> | |||
<table width="80%" border="0" cellpadding="5" cellspacing="1" bgcolor="#83B771"> | |||
<table width="80%" border="0" cellpadding="5" cellspacing="1"> | |||
<tr> | |||
<td width="75%" bgcolor="#F3FDE1"> | |||
卸载时执行的SQL语句: | |||
<br> | |||
(SQL允许换行,但必须用 ";换行" 表示一条SQL语句结束) | |||
<td width="75%" bgcolor="#F3FDE1">卸载时执行的SQL语句:<br> | |||
(SQL允许换行,但必须用 ";换行" 表示一条SQL语句结束) | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#ffffff" align="center"> | |||
<textarea name="delsql" rows="10" id="delsql" style="width:98%"><?php echo $delsql; ?></textarea> | |||
<td> | |||
<textarea name="delsql" rows="10" id="delsql" style="width:98%"><?php echo $delsql; ?></textarea> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -182,36 +169,30 @@ td{padding-left:8px} | |||
</td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#ffffff">模块文件选项:</td> | |||
<td bgcolor="#ffffff"> | |||
<td>模块文件选项:</td> | |||
<td> | |||
<label><input name="rebuild" type="radio" id="rebuild1" class='np' value='yes' checked='1'/> 重新编译所有文件</label> | |||
<label><input name="rebuild" type="radio" id="rebuild2" class='np' value='no'/> 不对[文件列表]内文件重编译</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#ffffff">文件列表:</td> | |||
<td bgcolor="#ffffff"><p>每行指定一个文件或目录,路径为相对于本目录,本目录的文件则直接用文件名即可,对于整个打包的目录,不需要指定子目录里的文件<br> | |||
如:<br> | |||
如果已经指定了:../book 则不需要再指定目录里的 ../book/index.php 等文件或目录,系统会自动索引整个目录,<br> | |||
对于不需要索引整个目录的,请不要指定这个目录,否则可能会把不必要的文件也放进模块中 <br> | |||
<textarea name="filelist" rows="8" id="filelist" style="width:80%"><?php echo $filelist; ?></textarea> | |||
</p> | |||
</td> | |||
<td>文件列表:</td> | |||
<td>每行指定一个文件或目录,路径为相对于本目录,本目录的文件则直接用文件名即可,对于整个打包的目录,不需要指定子目录里的文件<br> | |||
如:如果已经指定了:../book 则不需要再指定目录里的 ../book/index.php 等文件或目录,系统会自动索引整个目录,<br> | |||
对于不需要索引整个目录的,请不要指定这个目录,否则可能会把不必要的文件也放进模块中 <br> | |||
<textarea name="filelist" rows="8" id="filelist" style="width:80%"><?php echo $filelist; ?></textarea> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td align="center" bgcolor="#ffffff">开发者私钥:</td> | |||
<td bgcolor="#ffffff"> | |||
<p> | |||
开发者认证后获取的私钥 | |||
<br> | |||
<textarea name="priv" rows="8" id="priv" style="width:80%"></textarea> | |||
</p> | |||
<td>开发者私钥:</td> | |||
<td>开发者认证后获取的私钥<br> | |||
<textarea name="priv" rows="8" id="priv" style="width:80%"></textarea> | |||
</td> | |||
</tr> | |||
<tr bgcolor="#f8f8f8"> | |||
<td colspan="2" align="center" class="py-3" style="padding-left:10px"> | |||
<button name="imageField" type="submit" class="btn btn-success">提交</button> | |||
<button type="button" id="button" onClick="location='module_main.php';" class="btn btn-success">返回</button> | |||
<tr> | |||
<td colspan="2" align="center" class="py-3"> | |||
<button name="imageField" type="submit" class="btn btn-success btn-sm">提交</button> | |||
<button type="button" id="button" onClick="location='module_main.php';" class="btn btn-success btn-sm">返回</button> | |||
</td> | |||
</tr> | |||
</form> | |||