xushu
kohteeseen develop
3 vuotta sitten
@@ -287,7 +287,7 @@ else if ($dopost == 'save') { | |||
} | |||
} | |||
//返回成功信息 | |||
$msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布图片</a> <a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改图集</a> <a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>预览文档</a> <a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布图片管理</a> $backurl"; | |||
$msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布图片</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改图集</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>预览文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布图片管理</a>$backurl"; | |||
$msg = "<div style=\"line-height:36px;height:36px\">{$msg}</div>".GetUpdateTest(); | |||
$wintitle = "成功发布一个图集"; | |||
@@ -359,7 +359,7 @@ else if ($dopost == 'save') { | |||
} | |||
} | |||
//返回成功信息 | |||
$msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布图片</a> <a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>查看修改</a> <a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>预览文档</a> <a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理已发布图片</a> $backurl"; | |||
$msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布图片</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>查看修改</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>预览文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理已发布图片</a>$backurl"; | |||
$wintitle = "成功修改图集"; | |||
$wecome_info = "文章管理::修改图集"; | |||
$win = new OxWindow(); | |||
@@ -11,7 +11,7 @@ | |||
require_once(dirname(__FILE__)."/config.php"); | |||
AjaxHead(); | |||
$myhtml = UnicodeUrl2Gbk(stripslashes($myhtml)); | |||
echo "<div class='coolbg61'>[<a href='#' onclick='javascript:HideObj(\"_myhtml\")'>关闭</a>]</div>\r\n"; | |||
echo "<div class='coolbg61'>[<a href='javascript:;' onclick='javascript:HideObj(\"_myhtml\")'>关闭</a>]</div>\r\n"; | |||
preg_match_all("/(src|SRC)=[\"|'| ]{0,}(http:\/\/(.*)\.(gif|jpg|jpeg|png))/isU", $myhtml, $img_array); | |||
$img_array = array_unique($img_array[2]); | |||
echo "<div class='coolbg62'><xmp>"; | |||
@@ -173,7 +173,7 @@ else if ($dopost == 'save') { | |||
} | |||
} | |||
//返回成功信息 | |||
$msg = "请选择您的后续操作:<a href='archives_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布文档</a> <a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a> <a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改文档</a> <a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布文档管理</a> $backurl"; | |||
$msg = "请选择您的后续操作:<a href='archives_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布文档管理</a>$backurl"; | |||
$msg = "<div style=\"line-height:36px;height:36px\">{$msg}</div>".GetUpdateTest(); | |||
$wintitle = '成功发布文档'; | |||
$wecome_info = '文档管理::发布文档'; | |||
@@ -311,7 +311,7 @@ else if ($dopost == "delArchives") { | |||
$win->AddHidden("dopost", $dopost); | |||
$win->AddHidden("qstr", $qstr); | |||
$win->AddHidden("aid", $aid); | |||
$win->AddTitle("您确实要删除 $qstr 和 $aid 这些文档"); | |||
$win->AddTitle("您确定要删除 $qstr 和 $aid 这些文档"); | |||
$winform = $win->GetWindow("ok"); | |||
$win->Display(); | |||
} | |||
@@ -355,7 +355,7 @@ else if ($dopost == 'moveArchives') { | |||
</td> | |||
</tr> | |||
<tr height='36'> | |||
<td colspan='2' align='center' style='padding-top:10px'> | |||
<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> | |||
</td> | |||
@@ -480,7 +480,7 @@ else if ($dopost == 'clear') { | |||
$win->AddHidden("qstr", $qstr); | |||
$win->AddHidden("aid", $aid); | |||
$win->AddHidden("recycle", $recycle); | |||
$win->AddTitle("本次操作将清空回收站所有共 $num 篇文档<br>您确实要永久删除 $qstr 这些文档"); | |||
$win->AddTitle("本次操作将清空回收站所有共 $num 篇文档<br>您确定要永久删除 $qstr 这些文档"); | |||
$winform = $win->GetWindow("ok"); | |||
$win->Display(); | |||
} | |||
@@ -521,7 +521,7 @@ else if ($dopost == 'del') { | |||
$win->AddHidden("qstr", $qstr); | |||
$win->AddHidden("aid", $aid); | |||
$win->AddHidden("recycle", $recycle); | |||
$win->AddTitle("您确实要永久删除 $qstr 和 $aid 这些文档"); | |||
$win->AddTitle("您确定要永久删除 $qstr 和 $aid 这些文档"); | |||
$winform = $win->GetWindow("ok"); | |||
$win->Display(); | |||
} | |||
@@ -608,7 +608,7 @@ else if ($dopost == 'quickEdit') { | |||
<td class='bline'><input name="keywords" type="text" id="keywords" value="<?php echo $arcRow['keywords']; ?>" style="width:320px"></td> | |||
</tr> | |||
<tr height='36'> | |||
<td colspan='2' align='center' class='py-3' style='padding-top:10px'> | |||
<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> | |||
</td> | |||
@@ -884,7 +884,7 @@ else if ($dopost == 'attsDlg') { | |||
<td class='bline'><input type='text' name='tmpids' value="<?php echo $qstr; ?>" style='width:320px;overflow:hidden'></td> | |||
</tr> | |||
<tr height='36'> | |||
<td colspan='2' align='center' style='padding-top:10px'> | |||
<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> | |||
</td> | |||
@@ -185,7 +185,7 @@ else if ($dopost == 'save') { | |||
} | |||
} | |||
//返回成功信息 | |||
$msg = "请选择您的后续操作:<a href='archives_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新文档</a> <a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>查看修改</a> <a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a> <a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理文档</a> $backurl"; | |||
$msg = "请选择您的后续操作:<a href='archives_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理文档</a>$backurl"; | |||
$wintitle = "成功修改文档"; | |||
$wecome_info = "文档管理::修改文档"; | |||
$win = new OxWindow(); | |||
@@ -127,7 +127,7 @@ else if ($dopost == 'save') { | |||
} | |||
ClearMyAddon($arcID, $title); | |||
//返回成功信息 | |||
$msg = "请选择您的后续操作:<a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布文档</a> <a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a> <a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改文档</a> <a href='content_sg_list.php?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-success btn-sm'>已发布文档管理</a> <a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a>"; | |||
$msg = "请选择您的后续操作:<a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改文档</a><a href='content_sg_list.php?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-success btn-sm'>已发布文档管理</a><a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a>"; | |||
$wintitle = "成功发布文档"; | |||
$wecome_info = "文档管理::发布文档"; | |||
$win = new OxWindow(); | |||
@@ -114,7 +114,7 @@ else if ($dopost == 'save') { | |||
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$id"; | |||
ClearMyAddon($id, $title); | |||
//返回成功信息 | |||
$msg = "请选择您的后续操作:<a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新文档</a> <a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>查看修改</a> <a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a> <a href='catalog_do.php?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-success btn-sm'>管理文档</a> <a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a>"; | |||
$msg = "请选择您的后续操作:<a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='catalog_do.php?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-success btn-sm'>管理文档</a><a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a>"; | |||
$wintitle = "成功修改文档"; | |||
$wecome_info = "文档管理::修改文档"; | |||
$win = new OxWindow(); | |||
@@ -209,7 +209,7 @@ else if ($dopost == 'save') { | |||
} | |||
} | |||
//返回成功信息 | |||
$msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布文章</a> <a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文章</a> <a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改文章</a> <a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布文章管理</a> $backurl"; | |||
$msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布文章</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文章</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改文章</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布文章管理</a>$backurl"; | |||
$msg = "<div style=\"line-height:36px;height:36px\">{$msg}</div>".GetUpdateTest(); | |||
$wintitle = "成功发布文章"; | |||
$wecome_info = "文章管理::发布文章"; | |||
@@ -200,7 +200,7 @@ else if ($dopost == 'save') { | |||
} | |||
//返回成功信息 | |||
$msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新文章</a> <a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>查看修改</a> <a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文章</a> <a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理文章</a> $backurl"; | |||
$msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新文章</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文章</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理文章</a>$backurl"; | |||
$wintitle = "成功修改文章"; | |||
$wecome_info = "文章管理::修改文章"; | |||
$win = new OxWindow(); | |||
@@ -16,11 +16,11 @@ if ($t == 'source') { | |||
$m_file = DEDEDATA."/admin/source.txt"; | |||
$allsources = file($m_file); | |||
echo "<div class='coolbg4'>[<a href=\"javascript:OpenMyWin('article_source_edit.php');ClearDivCt('mysource');\">设置</a>] "; | |||
echo "[<a href='#' onclick='javascript:HideObj(\"mysource\");ChangeFullDiv(\"hide\");'>关闭</a>]</div>\r\n<div class='wsselect'>\r\n"; | |||
echo "[<a href='javascript:;' onclick='javascript:HideObj(\"mysource\");ChangeFullDiv(\"hide\");'>关闭</a>]</div>\r\n<div class='wsselect'>\r\n"; | |||
foreach ($allsources as $v) { | |||
$v = trim($v); | |||
if ($v != "") { | |||
echo "<a href='#' onclick='javascript:PutSource(\"$v\")'>$v</a> | \r\n"; | |||
echo "<a href='javascript:;' onclick='javascript:PutSource(\"$v\")'>$v</a> | \r\n"; | |||
} | |||
} | |||
echo "</div><div class='coolbg5'> </div>"; | |||
@@ -28,7 +28,7 @@ if ($t == 'source') { | |||
//作者列表 | |||
$m_file = DEDEDATA."/admin/writer.txt"; | |||
echo "<div class='coolbg4'>[<a href=\"javascript:OpenMyWin('article_writer_edit.php');ClearDivCt('mywriter');\">设置</a>] "; | |||
echo "[<a href='#' onclick='javascript:HideObj(\"mywriter\");ChangeFullDiv(\"hide\");'>关闭</a>]</div>\r\n<div class='wsselect'>\r\n"; | |||
echo "[<a href='javascript:;' onclick='javascript:HideObj(\"mywriter\");ChangeFullDiv(\"hide\");'>关闭</a>]</div>\r\n<div class='wsselect'>\r\n"; | |||
if (filesize($m_file) > 0) { | |||
$fp = fopen($m_file, 'r'); | |||
$str = fread($fp, filesize($m_file)); | |||
@@ -37,7 +37,7 @@ if ($t == 'source') { | |||
foreach ($strs as $str) { | |||
$str = trim($str); | |||
if ($str != "") { | |||
echo "<a href='#' onclick='javascript:PutWriter(\"$str\")'>$str</a> | "; | |||
echo "<a href='javascript:;' onclick='javascript:PutWriter(\"$str\")'>$str</a> | "; | |||
} | |||
} | |||
} | |||
@@ -94,9 +94,9 @@ function DoRand(jobname) | |||
<tr> | |||
<td height='26'> | |||
如果您想对旧的文章应用随机模板设置,请点击此对旧文章进行处理(必须设置好模板项) | |||
<a href='#' onclick='DoRand(\"makeold\")' class='btn btn-success btn-sm'>设置全部</a> | |||
<a href='#' onclick='DoRand(\"clearold\")' class='btn btn-success btn-sm'>取消全部</a> | |||
<span id='tmpct' style='color:#dc3545;font-weight:bold'>$okmsg</span> | |||
<a href='javascript:;' onclick='DoRand(\"makeold\")' class='btn btn-success btn-sm'>设置全部</a> | |||
<a href='javascript:;' onclick='DoRand(\"clearold\")' class='btn btn-success btn-sm'>取消全部</a> | |||
<span id='tmpct' style='color:#dc3545;font-weight:bold'>$okmsg</span> | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -14,5 +14,5 @@ if (empty($t) || $cfg_check_title == 'N') exit; | |||
$row = $dsql->GetOne("SELECT id FROM `#@__archives` WHERE title LIKE '$t' "); | |||
if (is_array($row)) { | |||
echo "提示:系统已经存在标题为 '<a href='../apps/view.php?aid={$row['id']}' style='color:#dc3545' target='_blank'>$t</a>' 的文档[<a href='#' onclick='javascript:HideObj(\"mytitle\")'>关闭</a>]"; | |||
echo "提示:系统已经存在标题为 '<a href='../apps/view.php?aid={$row['id']}' style='color:#dc3545' target='_blank'>$t</a>' 的文档[<a href='javascript:;' onclick='javascript:HideObj(\"mytitle\")'>关闭</a>]"; | |||
} |
@@ -32,7 +32,7 @@ $win = new OxWindow(); | |||
$win->Init('catalog_del.php', 'js/blank.js', 'POST'); | |||
$win->AddHidden('id', $id); | |||
$win->AddHidden('dopost', 'ok'); | |||
$win->AddTitle("您要确实要删除栏目:[{$row['typename']}] 吗"); | |||
$win->AddTitle("您要确定要删除栏目:[{$row['typename']}] 吗"); | |||
$win->AddItem('栏目的文件保存目录:', $row['typedir']); | |||
$win->AddItem('是否删除文件:', "<label><input type='radio' name='delfile' class='np' value='no' checked='1' /> 否</label> <label> <input type='radio' name='delfile' class='np' value='yes' /> 是</label>"); | |||
$winform = $win->GetWindow('ok'); |
@@ -149,7 +149,7 @@ ORDER BY $orderbyField DESC"; | |||
if (empty($f) || !preg_match("#form#", $f)) $f = 'form1.arcid1'; | |||
//初始化 | |||
$dlist = new DataListCP(); | |||
$dlist->pageSize = 40; | |||
$dlist->pageSize = 30; | |||
//GET参数 | |||
$dlist->SetParameter('dopost', 'listArchives'); | |||
$dlist->SetParameter('keyword', $keyword); | |||
@@ -1 +1 @@ | |||
*{margin:0;padding:0;letter-spacing:.4px;box-sizing:border-box}body{line-height:1.5;font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#393d49;background:#fff;overflow:hidden}body.hidemenu{background:none}a{text-decoration:none}ul{list-style:none}input[type="text"],input[type="password"]{padding:2px 4px;width:140px;height:18px;line-height:18px;font-size:12px;border-width:1px;border-style:solid;border-color:#fff;background:#fff;vertical-align:middle}input[type="text"]:focus,input[type="password"]:focus{box-shadow:none;outline:none}.head{width:100%;height:76px;overflow:hidden;z-index:8;position:relative}.top{height:46px;width:100%;background:linear-gradient(45deg,#008e38,#57960f 50%);overflow:hidden;clear:both}.top .top_logo{float:left;margin-left:30px;height:46px;line-height:46px}.top .top_logo a{font-size:18px;font-weight:600;color:#fff}.top .top_version{display:inline-block;margin-top:12px;margin-left:10px;color:#fff}.top .top_link{float:right;margin-right:30px}.top .top_link ul{float:left;line-height:46px;overflow:hidden}.top .top_link ul li.welcome img{margin-top:-2px;margin-right:10px;width:30px;height:30px;border-radius:50%;vertical-align:middle}.top .top_link ul li{float:left;color:#fff}.top .top_link ul li a{color:#fff;padding-left:20px}.top .top_link ul li a:hover{color:#ccc}.topnav{width:100%;height:30px;line-height:30px;background:#393d49;overflow:hidden;clear:both}.topnav .menuact{width:168px;float:left;padding-left:30px;overflow:hidden}.topnav .menuact a{padding-right:10px;color:#eee;overflow:hidden}.topnav .menuact a:hover{color:#fff}.sysmsg{padding-right:30px;float:right;width:500px;color:#999;overflow:hidden}.scroll{float:right;overflow:hidden}.scroll ul li,.sysmsg ul li a{color:#bbb}.scroll a{padding-left:10px;color:#fff}body.showmenu .left{display:block}body.hidemenu .left{display:none}body.showmenu .right{left:220px}body.hidemenu .right{left:0}.left{position:absolute;top:76px;width:220px;left:0;bottom:0;z-index:7}.menu{height:100%}.menu iframe{height:100%;width:99.99%;z-index:20}.right{position:absolute;right:0;top:76px;bottom:0;z-index:7}.main{height:100%}.main iframe{width:99.99%;height:100%;z-index:20}.qucikmenu{position:absolute;right:10px;top:32px;z-index:9;display:none}.qucikmenu ul{width:110px;list-style:none;border:1px solid #E7E7E7;background:#fff}.qucikmenu ul li{display:block;text-align:left}.qucikmenu ul li a{display:block;padding:0 10px;height:30px;line-height:30px;color:#666}.qucikmenu ul li a:hover{background:#f8f8f8}.pagemask{position:absolute;display:none;width:100%;height:100%;background:#393d49;opacity:.7;z-index:100}.iframemask{position:absolute;display:none;z-index:80;top:0;left:0;width:100%;height:100%;background:#fff;border:none;opacity:0}.allmenu{position:absolute;display:none;margin-left:-400px;padding:10px;width:800px;top:76px;left:50%;background:#fff;border-radius:.2rem;z-index:999}.allmenu .allmenu-box{margin:0 auto;text-align:left;overflow:hidden;padding-left:2px}.maptop{margin-left:-1px;padding-right:6px;padding-left:6px;float:left;width:130px;overflow:hidden}.maptop dt.bigitem{padding:6px 10px;line-height:18px;color:#fff;background:#393d49}.mapitem dt{line-height:30px;text-indent:10px;background:#EFF1F1}.mapitem ul{margin-top:10px;margin-bottom:10px}.mapitem ul li{text-indent:20px;line-height:24px;background:url(../../static/web/img/arrr.gif)0 8px no-repeat}.allmenu a{color:#5C604F}.allmenu a:hover{color:#F63}#login .theme{padding:10px;margin-top:20px;width:70%;clear:both}#login .theme li{margin-bottom:15px;margin-top:5px;overflow:hidden}#login .theme span{display:inline-block;float:left;width:150px;height:22px;line-height:22px;color:#393d49;text-align:right}.allsearch{float:left;margin-top:6px;border:1px solid #fff;border-radius:.2rem}.np{margin-top:6px;margin-left:10px;width:40px;height:18px;font-size:12px;color:#fff;background:#57960f;border-radius:.2rem;border:0;cursor:pointer} | |||
*{margin:0;padding:0;letter-spacing:.4px;box-sizing:border-box}body{line-height:1.5;font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;overflow:hidden}body.hidemenu{background:none}a{text-decoration:none}ul{list-style:none}input[type="text"],input[type="password"]{padding:2px 4px;width:140px;height:18px;line-height:18px;font-size:12px;border-width:1px;border-style:solid;border-color:#fff;background:#fff;vertical-align:middle}input[type="text"]:focus,input[type="password"]:focus{box-shadow:none;outline:none}.head{width:100%;height:76px;overflow:hidden;z-index:8;position:relative}.top{height:46px;width:100%;background:linear-gradient(45deg,#008e38,#57960f 50%);overflow:hidden;clear:both}.top .top_logo{float:left;margin-left:30px;height:46px;line-height:46px}.top .top_logo a{font-size:18px;font-weight:600;color:#fff}.top .top_version{display:inline-block;margin-top:12px;margin-left:10px;color:#fff}.top .top_link{float:right;margin-right:30px}.top .top_link ul{float:left;line-height:46px;overflow:hidden}.top .top_link ul li.welcome img{margin-top:-2px;margin-right:10px;width:30px;height:30px;border-radius:50%;vertical-align:middle}.top .top_link ul li{float:left;color:#fff}.top .top_link ul li a{color:#fff;padding-left:20px}.top .top_link ul li a:hover{color:#ccc}.topnav{width:100%;height:30px;line-height:30px;background:#424b51;overflow:hidden;clear:both}.topnav .menuact{float:left;padding-left:30px;overflow:hidden}.topnav .menuact a{padding-right:10px;color:#eee;overflow:hidden}.topnav .menuact a:hover{color:#fff}.sysmsg{padding-right:30px;float:right;color:#999;overflow:hidden}.scroll{float:right;overflow:hidden}.scroll ul li,.sysmsg ul li a{color:#bbb}.scroll a{padding-left:10px;color:#fff}body.showmenu .left{display:block}body.hidemenu .left{display:none}body.showmenu .right{left:220px}body.hidemenu .right{left:0}.left{position:absolute;top:76px;width:220px;left:0;bottom:0;z-index:7}.menu{height:100%}.menu iframe{height:100%;width:99.99%;z-index:20}.right{position:absolute;right:0;top:76px;bottom:0;z-index:7}.main{height:100%}.main iframe{width:99.99%;height:100%;z-index:20}.qucikmenu{position:absolute;right:10px;top:32px;z-index:9;display:none}.qucikmenu ul{width:110px;list-style:none;border:1px solid #E7E7E7;background:#fff}.qucikmenu ul li{display:block;text-align:left}.qucikmenu ul li a{display:block;padding:0 10px;height:30px;line-height:30px;color:#424b51}.qucikmenu ul li a:hover{background:#f8f8f8}.pagemask{position:absolute;display:none;width:100%;height:100%;background:#424b51;opacity:.7;z-index:100}.iframemask{position:absolute;display:none;z-index:80;top:0;left:0;width:100%;height:100%;background:#fff;border:none;opacity:0}.allmenu{position:absolute;display:none;margin-left:-400px;padding:10px;width:800px;top:76px;left:50%;background:#fff;border-radius:.2rem;z-index:999}.allmenu .allmenu-box{margin:0 auto;text-align:left;overflow:hidden;padding-left:2px}.maptop{margin-left:-1px;padding-right:6px;padding-left:6px;float:left;width:130px;overflow:hidden}.maptop dt.bigitem{padding:6px 10px;line-height:18px;color:#fff;background:#424b51}.mapitem dt{line-height:30px;text-indent:10px;background:#EFF1F1}.mapitem ul{margin-top:10px;margin-bottom:10px}.mapitem ul li{text-indent:20px;line-height:24px;background:url(../../static/web/img/arrr.gif)0 8px no-repeat}.allmenu a{color:#5C604F}.allmenu a:hover{color:#F63}#login .theme{padding:10px;margin-top:20px;width:70%;clear:both}#login .theme li{margin-bottom:15px;margin-top:5px;overflow:hidden}#login .theme span{display:inline-block;float:left;width:150px;height:22px;line-height:22px;color:#424b51;text-align:right}.allsearch{float:left;margin-top:6px;border:1px solid #fff;border-radius:.2rem}.np{margin-top:6px;margin-left:10px;width:40px;height:18px;font-size:12px;color:#fff;background:#57960f;border-radius:.2rem;border:0;cursor:pointer} |
@@ -13,7 +13,7 @@ include(DEDEDATA.'/mark/inc_photowatermark_config.php'); | |||
<meta name="format-detection" content="telephone=no"> | |||
<title>插入多图</title> | |||
<style> | |||
body{margin:0;line-height:1.5;font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#393d49;background:#fff} | |||
body{margin:0;line-height:1.5;font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff} | |||
ul{margin:0;padding:0;list-style:none} | |||
input[type=radio],input[type=checkbox]{margin:0;height:auto;box-shadow:none;outline:none;vertical-align:text-top} | |||
button+button{margin-left:10px} | |||
@@ -42,7 +42,7 @@ else if ($dopost == "delete") { | |||
$win->AddHidden("job", "yes"); | |||
$win->AddHidden("dopost", $dopost); | |||
$win->AddHidden("diyid", $diyid); | |||
$win->AddTitle("将删除所有与该自定义表单相关的文件和数据<br>您确实要删除 \"".$row['name']."\" 这个自定义表单?"); | |||
$win->AddTitle("将删除所有与该自定义表单相关的文件和数据<br>您确定要删除 \"".$row['name']."\" 这个自定义表单?"); | |||
$winform = $win->GetWindow("ok"); | |||
$win->Display(); | |||
exit(); | |||
@@ -78,7 +78,7 @@ if ($dopost == "delete") { | |||
$win->AddHidden("fmdo", "yes"); | |||
$win->AddHidden("dopost", $dopost); | |||
$win->AddHidden("id", $id); | |||
$win->AddTitle("您确实要删除“ $id ”这些错误提示"); | |||
$win->AddTitle("您确定要删除“ $id ”这些错误提示"); | |||
$winform = $win->GetWindow("ok"); | |||
$win->Display(); | |||
exit(); | |||
@@ -76,9 +76,9 @@ else if ($fmdo == "del") { | |||
$win->AddHidden("activepath", $activepath); | |||
$win->AddHidden("filename", $filename); | |||
if (@is_dir($cfg_basedir.$activepath."/$filename")) { | |||
$wmsg = "您确信要删除目录:$filename 吗"; | |||
$wmsg = "您确定要删除目录:$filename 吗"; | |||
} else { | |||
$wmsg = "您确信要删除文件:$filename 吗"; | |||
$wmsg = "您确定要删除文件:$filename 吗"; | |||
} | |||
$win->AddTitle("删除文件确认"); | |||
$win->AddMsgItem($wmsg, "50"); | |||
@@ -100,7 +100,7 @@ else if ($fmdo == "edit") { | |||
fclose($fp); | |||
$content = dede_htmlspecialchars($content); | |||
} | |||
$contentView = "<textarea name='str' id='str' style='width:99%;height:450px;background:#ffffff;'>$content</textarea>\r\n"; | |||
$contentView = "<textarea name='str' id='str' style='width:98%;height:450px;background:#ffffff;'>$content</textarea>\r\n"; | |||
$GLOBALS['filename'] = $filename; | |||
$path_parts = pathinfo($filename); | |||
if ($path_parts['extension'] == 'php') { | |||
@@ -150,7 +150,7 @@ else if ($fmdo == "newfile") { | |||
$content = ""; | |||
$GLOBALS['filename'] = "newfile.txt"; | |||
$GLOBALS['extension'] = 'text/html'; | |||
$contentView = "<textarea id='str' name='str' style='width:99%;height:400'></textarea>\r\n"; | |||
$contentView = "<textarea id='str' name='str' style='width:98%;height:400'></textarea>\r\n"; | |||
$GLOBALS['token'] = make_hash(); | |||
$ctp = new DedeTagParse(); | |||
$ctp->LoadTemplate(DEDEADMIN."/templets/file_edit.htm"); | |||
@@ -60,12 +60,12 @@ 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 table-bordered' style='background:#cfcfcf;margin-bottom:10px;'> | |||
$printhead ="<table width='98%' border='0' cellpadding='1' cellspacing='1' align='center' class='table maintable' style='background:#cfcfcf;margin-bottom:10px;'> | |||
<tr align='center' bgcolor='#FBFCE2'> | |||
<td width='5%' class='tbsname'><a href='#' onclick=\"ReloadPage('aid')\">ID</a></td> | |||
<td width='5%' class='tbsname'><a href='javascript:;' onclick=\"ReloadPage('aid')\">ID</a></td> | |||
<td width='20%' class='tbsname'>列表名称</td> | |||
<td width='20%' class='tbsname'>模板文件</td> | |||
<td width='5%' class='tbsname'><a href='#' onclick=\"ReloadPage('click')\">点击</a></td> | |||
<td width='5%' class='tbsname'><a href='javascript:;' onclick=\"ReloadPage('click')\">点击</a></td> | |||
<td width='15%' class='tbsname'>创建时间</td> | |||
<td class='tbsname'>管理</td> | |||
</tr>\r\n"; | |||
@@ -75,15 +75,15 @@ 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' bgcolor='#ffffff' 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> | |||
<td> {$row['click']} </td> | |||
<td>".MyDate("y-m-d",$row['edtime'])."</td> | |||
<td> <a href='#' onclick='EditNote({$row['aid']})' class='btn btn-success btn-sm'> <i class=\"fa fa-pencil-square-o\" aria-hidden=\"true\"></i> 修改</a> | |||
<a href='#' onclick='CreateNote({$row['aid']})' class='btn btn-success btn-sm'> <i class=\"fa fa-refresh\" aria-hidden=\"true\"></i> 更新</a> | |||
<a href='#' onclick='DelNote({$row['aid']})' class='btn btn-success btn-sm'> <i class=\"fa fa-trash\" aria-hidden=\"true\"></i> 删除</a> | |||
<td> <a href='javascript:;' onclick='EditNote({$row['aid']})' class='btn btn-success btn-sm'><i class=\"fa fa-pencil-square-o\" aria-hidden=\"true\"></i> 修改</a> | |||
<a href='javascript:;' onclick='CreateNote({$row['aid']})' class='btn btn-success btn-sm'><i class=\"fa fa-refresh\" aria-hidden=\"true\"></i> 更新</a> | |||
<a href='javascript:;' onclick='DelNote({$row['aid']})' class='btn btn-success btn-sm'><i class=\"fa fa-trash\" aria-hidden=\"true\"></i> 删除</a> | |||
</td> | |||
</tr>"; | |||
echo $line; | |||
@@ -84,22 +84,22 @@ function GetFormItem($ctag) | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
} else if ($ctag->GetAtt("type") == "img") { | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\">\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:260px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\">\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
} else if ($ctag->GetAtt("type") == "media") { | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:260px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
} else if ($ctag->GetAtt("type") == "addon") { | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectSoft('form1.$fieldname')\">\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:260px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectSoft('form1.$fieldname')\">\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
} else if ($ctag->GetAtt("type") == "media") { | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:260px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
@@ -111,7 +111,7 @@ function GetFormItem($ctag) | |||
} else { | |||
if ($ctag->GetAtt('default') != "") $dfvalue = $ctag->GetAtt('default'); | |||
else $dfvalue = ""; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:200px' value='$dfvalue'>\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:260px' value='$dfvalue'>\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
@@ -309,22 +309,22 @@ function GetFormItemValue($ctag, $fvalue) | |||
} | |||
$ntag = $ndtp->GetTag("img"); | |||
$fvalue = trim($ntag->GetInnerText()); | |||
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\">\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:260px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\">\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
} else if ($ctag->GetAtt("type") == "media") { | |||
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:260px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
} else if ($ctag->GetAtt("type") == "addon") { | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' value='$fvalue' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectSoft('form1.$fieldname')\">\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' value='$fvalue' style='width:260px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectSoft('form1.$fieldname')\">\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
} else { | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:200px' value='$fvalue'>\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:260px' value='$fvalue'>\r\n"; | |||
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); | |||
$formitem = str_replace("~form~", $innertext, $formitem); | |||
return $formitem; | |||
@@ -32,7 +32,7 @@ require(DEDEADMIN.'/inc/inc_menu_func.php'); | |||
} | |||
</script> | |||
<base target="main"> | |||
<body leftmargin="0" topmargin="0" target="main"> | |||
<body> | |||
<table width='100%' height="100%" border='0' cellspacing='0' cellpadding='0'> | |||
<tr> | |||
<td style='padding-left:3px;padding-top:8px' valign="top"> | |||
@@ -15,12 +15,11 @@ function editTitle(aid) { | |||
} | |||
function $Dede(id) { return document.getElementById(id) } | |||
function AlertMsg(title, id) { | |||
var msgw, msgh, msgbg, msgcolor, bordercolor, titlecolor, titlebg, content; | |||
var msgw, msgh, msgbg, msgcolor, titlecolor, titlebg, content; | |||
//弹出窗口设置 | |||
msgw = 600;//窗口宽度 | |||
msgbg = "#FFF";//内容背景 | |||
msgcolor = "#000";//内容颜色 | |||
bordercolor = "#5A6D58";//边框颜色 | |||
titlecolor = "#254015";//标题颜色 | |||
titlebg = "#369 url(../../static/web/img/tbg.gif)";//标题背景 | |||
//遮罩背景设置 | |||
@@ -55,7 +54,6 @@ function AlertMsg(title, id) { | |||
msgObj.style.height = msgh + "px"; | |||
msgObj.style.fontSize = "14px"; | |||
msgObj.style.background = msgbg; | |||
msgObj.style.border = "1px solid " + bordercolor; | |||
msgObj.style.zIndex = "10001"; | |||
//创建标题 | |||
var thObj = document.createElement("div"); | |||
@@ -21,10 +21,10 @@ function LeftMenuToggle() {//左侧菜单开关 | |||
$("#togglemenu").click(function () { | |||
if ($("body").attr("class") == "showmenu") { | |||
$("body").attr("class", "hidemenu"); | |||
$(this).html("显示菜单"); | |||
$(this).html("<i class='fa fa-bars'></i> 显示菜单"); | |||
} else { | |||
$("body").attr("class", "showmenu"); | |||
$(this).html("隐藏菜单"); | |||
$(this).html("<i class='fa fa-bars'></i> 隐藏菜单"); | |||
} | |||
}); | |||
} | |||
@@ -20,7 +20,7 @@ function noselAll() | |||
} | |||
function delkey() | |||
{ | |||
if(window.confirm("您确实要删除选定的关键字吗")) | |||
if(window.confirm("您确定要删除选定的关键字吗")) | |||
{ | |||
document.form3.dopost.value = 'del'; | |||
document.form3.submit(); | |||
@@ -28,7 +28,7 @@ function delkey() | |||
} | |||
function diskey() | |||
{ | |||
if(window.confirm("您确实要禁用选定的关键字吗")) | |||
if(window.confirm("您确定要禁用选定的关键字吗")) | |||
{ | |||
document.form3.dopost.value = 'dis'; | |||
document.form3.submit(); | |||
@@ -36,7 +36,7 @@ function diskey() | |||
} | |||
function enakey() | |||
{ | |||
if(window.confirm("您确实要启用选定的关键字吗")) | |||
if(window.confirm("您确定要启用选定的关键字吗")) | |||
{ | |||
document.form3.dopost.value = 'ena'; | |||
document.form3.submit(); | |||
@@ -44,7 +44,7 @@ function enakey() | |||
} | |||
function urlkey() | |||
{ | |||
if(window.confirm("您确实要更新选定的关键字的网址吗")) | |||
if(window.confirm("您确定要更新选定的关键字的网址吗")) | |||
{ | |||
document.form3.dopost.value = 'url'; | |||
document.form3.submit(); | |||
@@ -52,7 +52,7 @@ function urlkey() | |||
} | |||
function rankey() | |||
{ | |||
if(window.confirm("您确实要改变选定的关键字的频率吗")) | |||
if(window.confirm("您确定要改变选定的关键字的频率吗")) | |||
{ | |||
document.form3.dopost.value = 'ran'; | |||
document.form3.submit(); | |||
@@ -61,7 +61,7 @@ function rankey() | |||
//批量删除搜多关键字 | |||
function delall() | |||
{ | |||
if(window.confirm("您确实要删除选定的关键字吗")) | |||
if(window.confirm("您确定要删除选定的关键字吗")) | |||
{ | |||
document.form3.dopost.value = 'delall'; | |||
document.form3.submit(); | |||
@@ -90,9 +90,7 @@ function CheckOpenMenu() | |||
if(ckstr.indexOf(curitem) > 0 && curobj != null) | |||
{ | |||
curobj.style.display = 'block'; | |||
} | |||
else | |||
{ | |||
} else { | |||
if(curobj != null) curobj.style.display = 'none'; | |||
} | |||
} | |||
@@ -554,13 +554,13 @@ function ShowMsg(content, ...args) { | |||
} | |||
footer = footer.replaceAll("~modalID~", modalID); | |||
content = content.replaceAll("~modalID~", modalID); | |||
var modal = `<div id="GKModal${modalID}" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="GKModalLabel${modalID}" aria-hidden="true"> | |||
var modal = `<div id="GKModal${modalID}" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="GKModalLabel${modalID}"> | |||
<div class="modal-dialog" role="document"> | |||
<div class="modal-content"><div class="modal-header"> | |||
<h5 class="modal-title" id="GKModalLabel${modalID}">${title}</h5>`; | |||
if (!noClose) { | |||
modal += `<button type="button" class="close" data-dismiss="modal" aria-label="Close"> | |||
<span aria-hidden="true">×</span> | |||
<span>×</span> | |||
</button>`; | |||
} | |||
modal += `</div><div class="modal-body">${content}</div><div class="modal-footer">${footer}</div></div></div></div>`; | |||
@@ -17,7 +17,7 @@ if ($dopost == "ok") { | |||
$sp = new SpecView(); | |||
$rurl = $sp->MakeHtml(0); | |||
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\">成功生成所有专题HTML列表<a href='$rurl' target='_blank' class='btn btn-success'>预览</a></div>"; | |||
echo "<div class=\"alert alert-success\" role=\"alert\">成功生成所有专题列表 <a href='$rurl' target='_blank' class='btn btn-success btn-sm'>预览</a></div>"; | |||
exit(); | |||
} | |||
include DedeInclude('templets/makehtml_spec.htm'); |
@@ -13,7 +13,6 @@ require_once(DEDEINC."/libraries/oxwindow.class.php"); | |||
if (empty($dopost)) $dopost = ''; | |||
if (empty($fmdo)) $fmdo = ''; | |||
$ENV_GOBACK_URL = isset($_COOKIE['ENV_GOBACK_URL']) ? 'member_main.php' : ''; | |||
/*---------------- | |||
function __DelMember() | |||
删除会员 | |||
@@ -71,8 +70,8 @@ if ($dopost == "delmember") { | |||
$win->AddHidden("id", $id); | |||
$win->AddHidden("randcode", $randcode); | |||
$win->AddHidden("safecode", $safecode); | |||
$win->AddTitle("您确实要删除(ID:".$id.")这个会员?"); | |||
$win->AddMsgItem("安全验证串:<input name='safecode' type='text' id='safecode' size='16' style='width:200px' /> (复制本代码:<span style='color:#dc3545'>$safecode</span> )", "30"); | |||
$win->AddTitle("您确定要删除会员ID:".$id." 吗"); | |||
$win->AddMsgItem("安全验证串:<input name='safecode' type='text' id='safecode' style='width:260px'>(复制本代码:<span style='color:#dc3545'>$safecode</span>)", "30"); | |||
$winform = $win->GetWindow("ok"); | |||
$win->Display(); | |||
} else if ($dopost == "delmembers") { | |||
@@ -85,14 +84,12 @@ if ($dopost == "delmember") { | |||
} | |||
if (!empty($id)) { | |||
//删除用户信息 | |||
$rs = $dsql->ExecuteNoneQuery2("DELETE FROM `#@__member` WHERE mid IN (".str_replace("`", ",", $id).") And matt<>10 "); | |||
if ($rs > 0) { | |||
$dsql->ExecuteNoneQuery("DELETE FROM `#@__member_tj` WHERE mid IN (".str_replace("`", ",", $id).") "); | |||
$dsql->ExecuteNoneQuery("DELETE FROM `#@__member_space` WHERE mid IN (".str_replace("`", ",", $id).") "); | |||
$dsql->ExecuteNoneQuery("DELETE FROM `#@__member_company` WHERE mid IN (".str_replace("`", ",", $id).") "); | |||
$dsql->ExecuteNoneQuery("DELETE FROM `#@__member_person` WHERE mid IN (".str_replace("`", ",", $id).") "); | |||
//删除用户相关数据 | |||
$dsql->ExecuteNoneQuery("DELETE FROM `#@__member_stow` WHERE mid IN (".str_replace("`", ",", $id).") "); | |||
$dsql->ExecuteNoneQuery("DELETE FROM `#@__member_flink` WHERE mid IN (".str_replace("`", ",", $id).") "); | |||
@@ -120,8 +117,8 @@ if ($dopost == "delmember") { | |||
$win->AddHidden("id", $id); | |||
$win->AddHidden("randcode", $randcode); | |||
$win->AddHidden("safecode", $safecode); | |||
$win->AddTitle("您确实要删除(ID:".$id.")这个会员?"); | |||
$win->AddMsgItem(" 安全验证串:<input name='safecode' type='text' id='safecode' size='16' style='width:200px' /> (复制本代码:<span style='color:#dc3545'>$safecode</span>)", "30"); | |||
$win->AddTitle("您确定要删除(ID:".$id.")这个会员?"); | |||
$win->AddMsgItem(" 安全验证串:<input name='safecode' type='text' id='safecode' size='16' style='width:260px' /> (复制本代码:<span style='color:#dc3545'>$safecode</span>)", "30"); | |||
$winform = $win->GetWindow("ok"); | |||
$win->Display(); | |||
} | |||
@@ -152,7 +149,6 @@ else if ($dopost == 'edituser') { | |||
$pwdsql = empty($pwd) ? '' : ",pwd='".md5($pwd)."'"; | |||
if (empty($sex)) $sex = '男'; | |||
$uptime = GetMkTime($uptime); | |||
if ($matt == 10 && $oldmatt != 10) { | |||
ShowMsg("对不起,为安全起见,不支持直接把前台会员转为管理的操作", "-1"); | |||
exit(); | |||
@@ -233,4 +229,4 @@ else if ($dopost == "memberlogin") { | |||
exit(); | |||
} | |||
} | |||
} | |||
} |
@@ -215,7 +215,7 @@ else if ($action == 'setup') { | |||
</td> | |||
</tr> | |||
</table>"; | |||
$win->AddMsgItem("<div style='padding-left:10px;line-height:150%'>$msg</div>"); | |||
$win->AddMsgItem("<div style='padding-left:10px;line-height:26px'>$msg</div>"); | |||
$winform = $win->GetWindow("ok", ""); | |||
$win->Display(); | |||
$dm->Clear(); | |||
@@ -298,7 +298,7 @@ else if ($action == 'del') { | |||
$win->AddHidden('hash', $hash); | |||
$win->AddHidden('action', 'delok'); | |||
$msg = "<style>.dtb{border-bottom:1px dotted #ccc}</style> | |||
<table width='750' border='0' cellspacing='0' cellpadding='0'> | |||
<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> | |||
@@ -327,7 +327,7 @@ else if ($action == 'del') { | |||
<td height='26' colspan='2'>删除模块仅删除这个模块的安装包文件,如果您已经安装,请执行<a href='module_main.php?hash={$hash}&action=uninstall'>卸载程序</a>来删除</td> | |||
</tr> | |||
</table>"; | |||
$win->AddMsgItem("<div style='padding-left:10px;line-height:150%'>$msg</div>"); | |||
$win->AddMsgItem("<div style='padding-left:10px;line-height:26px'>$msg</div>"); | |||
$winform = $win->GetWindow("ok", ""); | |||
$win->Display(); | |||
$dm->Clear(); | |||
@@ -363,10 +363,10 @@ else if ($action == 'uninstall') { | |||
$win->AddHidden("hash", $hash); | |||
$win->AddHidden("action", 'uninstallok'); | |||
$msg = "<style>.dtb{border-bottom:1px dotted #ccc}</style> | |||
<table width='750' border='0' cellspacing='0' cellpadding='0'> | |||
<table width='98%' border='0' cellspacing='0' cellpadding='0' class='table'> | |||
<tr> | |||
<td width='200' height='26' class='dtb'>模块名称:</td> | |||
<td width='550' class='dtb'>{$infos['name']}</td> | |||
<td width='20%' height='26' class='dtb'>模块名称:</td> | |||
<td width='80%' class='dtb'>{$infos['name']}</td> | |||
</tr> | |||
<tr> | |||
<td height='26' class='dtb'>语言:</td> | |||
@@ -405,7 +405,7 @@ else if ($action == 'uninstall') { | |||
</td> | |||
</tr> | |||
</table>"; | |||
$win->AddMsgItem("<div style='padding-left:10px;line-height:150%'>$msg</div>"); | |||
$win->AddMsgItem("<div style='padding-left:10px;line-height:26px'>$msg</div>"); | |||
$winform = $win->GetWindow("ok", ""); | |||
$win->Display(); | |||
$dm->Clear(); | |||
@@ -461,7 +461,7 @@ else if ($action == 'showreadme') { | |||
$win->Init("module_main.php", "js/blank.js", "post"); | |||
$wecome_info = "模块管理"; | |||
$win->AddTitle("<a href='module_main.php'>模块管理</a> > 使用说明:"); | |||
$win->AddMsgItem("<div style='padding-left:10px;line-height:150%'>$msg</div>"); | |||
$win->AddMsgItem("<div style='padding-left:10px;line-height:26px'>$msg</div>"); | |||
$winform = $win->GetWindow("hand"); | |||
$win->Display(); | |||
exit(); | |||
@@ -539,7 +539,7 @@ else if ($action == 'view') { | |||
</td> | |||
</tr> | |||
</table>"; | |||
$win->AddMsgItem("<div style='padding-left:10px;line-height:150%'>$msg</div>"); | |||
$win->AddMsgItem("<div style='padding-left:10px;line-height:26px'>$msg</div>"); | |||
$winform = $win->GetWindow('hand', ''); | |||
$win->Display(); | |||
$dm->Clear(); | |||
@@ -99,7 +99,7 @@ else if ($action == 'make') { | |||
move_uploaded_file($readme, $mdir."/{$hashcode}-r.html") or die("您没填写说明或上传说明文件"); | |||
$readmef = $dm->GetEncodeFile($mdir."/{$hashcode}-r.html", TRUE); | |||
} else { | |||
$readmetxt = "<p style='line-height:150%'>".$readmetxt; | |||
$readmetxt = "<p style='line-height:26px'>".$readmetxt; | |||
$readmetxt = preg_replace("#[\r\n]{1,}#", "<br>\r\n", $readmetxt); | |||
$readmetxt .= "</p>"; | |||
$readmef = base64_encode(trim($readmetxt)); | |||
@@ -77,7 +77,7 @@ if ($action == 'upload') { | |||
$win->Init("module_upload.php", "js/blank.js", "POST' enctype='multipart/form-data"); | |||
$win->mainTitle = "模块管理"; | |||
$wecome_info = "<a href='module_main.php'>模块管理</a> > 上传模块"; | |||
$win->AddTitle('请选择要上传的文件:'); | |||
$win->AddTitle('请选择要上传的文件:'); | |||
$win->AddHidden("action", 'upload'); | |||
$msg = "<table width='600' border='0' cellspacing='0' cellpadding='0'> | |||
<tr> | |||
@@ -95,7 +95,7 @@ if ($action == 'upload') { | |||
<td width='504'><input name='upfile' type='file' id='upfile' style='width:380px' /></td> | |||
</tr> | |||
</table>"; | |||
$win->AddMsgItem("<div style='padding-left:20px;line-height:150%;'>$msg</div>"); | |||
$win->AddMsgItem("<div style='line-height:26px'>$msg</div>"); | |||
$winform = $win->GetWindow('ok', ''); | |||
$win->Display(); | |||
exit(); |
@@ -87,7 +87,7 @@ else if ($dopost == "copystart") { | |||
</tr> | |||
</table> | |||
"; | |||
$win->AddMsgItem("<div style='padding:20px;line-height:300%'>$msg</div>"); | |||
$win->AddMsgItem("<div style='line-height:26px'>$msg</div>"); | |||
$winform = $win->GetWindow("ok", ""); | |||
$win->Display(); | |||
exit(); | |||
@@ -113,7 +113,7 @@ else if ($dopost == "export") { | |||
$win = new OxWindow(); | |||
$win->Init(); | |||
$win->AddTitle("以下为规则 [{$row['typename']}] 的模型规则,您可以共享给您的朋友:"); | |||
$winform = $win->GetWindow("hand", "<link rel=\"stylesheet\" type=\"text/css\" href=\"css/codemirror.css\"><script type=\"text/javascript\" src=\"js/codemirror.js\"></script><script type=\"text/javascript\" src=\"js/mode/xml/xml.js\"></script><script type=\"text/javascript\" src=\"js/mode/javascript/javascript.js\"></script><script type=\"text/javascript\" src=\"js/mode/css/css.js\"></script><script type=\"text/javascript\" src=\"js/mode/htmlmixed/htmlmixed.js\"></script><textarea name='config' id='content' style='width:99%;height:450px;word-wrap: break-word;word-break:break-all;'>".$channelconfig."</textarea><script type=\"text/javascript\">var editor = CodeMirror.fromTextArea(document.getElementById('content'), {lineNumbers: true,lineWrapping: true,mode: 'text/html'});</script>"); | |||
$winform = $win->GetWindow("hand", "<link rel=\"stylesheet\" type=\"text/css\" href=\"css/codemirror.css\"><script type=\"text/javascript\" src=\"js/codemirror.js\"></script><script type=\"text/javascript\" src=\"js/mode/xml/xml.js\"></script><script type=\"text/javascript\" src=\"js/mode/javascript/javascript.js\"></script><script type=\"text/javascript\" src=\"js/mode/css/css.js\"></script><script type=\"text/javascript\" src=\"js/mode/htmlmixed/htmlmixed.js\"></script><textarea name='config' id='content' style='width:98%;height:450px;word-wrap: break-word;word-break:break-all;'>".$channelconfig."</textarea><script type=\"text/javascript\">var editor = CodeMirror.fromTextArea(document.getElementById('content'), {lineNumbers: true,lineWrapping: true,mode: 'text/html'});</script>"); | |||
$win->Display(); | |||
exit(); | |||
} | |||
@@ -127,7 +127,7 @@ else if ($dopost == "exportin") { | |||
$win->Init("mychannel_edit.php", "js/blank.js", "post"); | |||
$win->AddHidden("dopost", "exportinok"); | |||
$win->AddTitle("输入规则内容:(导入模型会和原有模型冲突,不过可以在导入后修改)"); | |||
$win->AddMsgItem("<textarea name='exconfig' style='width:99%;height:450px;word-wrap: break-word;word-break:break-all;'></textarea>"); | |||
$win->AddMsgItem("<textarea name='exconfig' style='width:98%;height:450px;word-wrap: break-word;word-break:break-all;'></textarea>"); | |||
$winform = $win->GetWindow("ok"); | |||
$win->Display(); | |||
exit(); | |||
@@ -333,7 +333,7 @@ else if ($dopost == "gettemplets") { | |||
$wecome_info = "<a href='mychannel_main.php'>频道管理</a>::查看模板"; | |||
$win = new OxWindow(); | |||
$win->Init("", "js/blank.js", ""); | |||
$win->AddTitle(" 频道:(".$row['typename'].")默认模板文件说明:"); | |||
$win->AddTitle(" 频道[".$row['typename']."]默认模板文件说明:"); | |||
$defaulttemplate = $cfg_templets_dir.'/'.$cfg_df_style; | |||
$msg = " | |||
文档模板:{$defaulttemplate}/article_{$row['nid']}.htm | |||
@@ -344,7 +344,7 @@ else if ($dopost == "gettemplets") { | |||
频道封面模板:{$defaulttemplate}/index_{$row['nid']}.htm | |||
<a href='tpl.php?acdir={$cfg_df_style}&action=edit&filename=index_{$row['nid']}.htm'>[修改]</a> | |||
"; | |||
$win->AddMsgItem("<div style='padding:20px;line-height:300%'>$msg</div>"); | |||
$win->AddMsgItem("<div style='line-height:26px'>$msg</div>"); | |||
$winform = $win->GetWindow("hand", ""); | |||
$win->Display(); | |||
exit(); | |||
@@ -370,7 +370,7 @@ else if ($dopost == "delete") { | |||
$win->AddHidden("job", "yes"); | |||
$win->AddHidden("dopost", $dopost); | |||
$win->AddHidden("id", $id); | |||
$win->AddTitle("您确实要删除 (".$row['typename'].") 这个频道"); | |||
$win->AddTitle("您确定要删除 (".$row['typename'].") 这个频道"); | |||
$winform = $win->GetWindow("ok"); | |||
$win->Display(); | |||
exit(); | |||
@@ -503,7 +503,7 @@ else if ($dopost == 'modifysearch') { | |||
require_once(DEDEINC."/typelink/typelink.class.php"); | |||
$tl = new TypeLink(0); | |||
$typeOptions = $tl->GetOptionArray(0, 0, $mid); | |||
$forms .= "<br>栏目:<select name='typeid' style='width:200px'>\r\n"; | |||
$forms .= "<br>栏目:<select name='typeid' style='width:260px'>\r\n"; | |||
$forms .= "<option value='0' selected>不限栏目</option>\r\n"; | |||
$forms .= $typeOptions; | |||
$forms .= "</select>"; | |||
@@ -529,7 +529,7 @@ else if ($dopost == 'modifysearch') { | |||
require_once(DEDEINC."/typelink/typelink.class.php"); | |||
$tl = new TypeLink(0); | |||
$typeOptions = $tl->GetOptionArray(0, 0, $mid); | |||
$forms .= "<br>栏目:<select name='typeid' style='width:200px'>\r\n"; | |||
$forms .= "<br>栏目:<select name='typeid' style='width:260px'>\r\n"; | |||
$forms .= "<option value='0' selected>不限栏目</option>\r\n"; | |||
$forms .= $typeOptions; | |||
$forms .= "</select>"; | |||
@@ -22,7 +22,7 @@ $dlist->display(); | |||
function GetSta($sta, $id) | |||
{ | |||
if ($sta == 1) { | |||
return ($id != -1 ? "启用 > <a href='mychannel_edit.php?dopost=hide&id=$id'>禁用</a>" : "固定项目"); | |||
return ($id != -1 ? "启用 > <a href='mychannel_edit.php?dopost=hide&id=$id'>禁用</a>" : "固定项目"); | |||
} else { | |||
return "禁用 > <a href='mychannel_edit.php?dopost=show&id=$id'>启用</a>"; | |||
} | |||
@@ -50,7 +50,7 @@ if ($dopost == 'delete') { | |||
$win->Display(); | |||
exit(); | |||
} else if ($dopost == "testjs") { | |||
echo "<body bgcolor='#ffffff'>"; | |||
echo "<body>"; | |||
echo "<script src='{$cfg_phpurl}/mytag_js.php?aid=$aid&nocache=1' language='javascript'></script>"; | |||
exit(); | |||
} | |||
@@ -31,7 +31,7 @@ if ($dopost == "show") { | |||
$win->AddHidden("job", "yes"); | |||
$win->AddHidden("dopost", $dopost); | |||
$win->AddHidden("aid", $aid); | |||
$win->AddTitle("您确实要删除'".$title."'这个插件"); | |||
$win->AddTitle("您确定要删除'".$title."'这个插件"); | |||
$win->AddMsgItem("警告:在这里删除仅仅删除菜单项,要干净删除请在模块管理处删除<br><br><a href='module_main.php?moduletype=plus'>模块管理></a>"); | |||
$winform = $win->GetWindow("ok"); | |||
$win->Display(); | |||
@@ -20,7 +20,7 @@ $dlist->display(); | |||
function GetSta($sta, $id, $title) | |||
{ | |||
if ($sta == 1) { | |||
return " <a href='plus_edit.php?dopost=edit&aid=$id'>修改</a> 启用 > <a href='plus_edit.php?dopost=hide&aid=$id'>禁用</a> <a href='plus_edit.php?dopost=delete&aid=$id&title=".urlencode($title)."'>删除</a>"; | |||
return " <a href='plus_edit.php?dopost=edit&aid=$id'>修改</a> 启用 > <a href='plus_edit.php?dopost=hide&aid=$id'>禁用</a> <a href='plus_edit.php?dopost=delete&aid=$id&title=".urlencode($title)."'>删除</a>"; | |||
} else { | |||
return " <a href='plus_edit.php?aid=$id'>修改</a> 禁用 > <a href='plus_edit.php?dopost=show&aid=$id'>启用</a> <a href='plus_edit.php?dopost=delete&aid=$id&title=".urlencode($title)."'>册除</a>"; | |||
} |
@@ -38,7 +38,7 @@ if ($action == 'setdefault') { | |||
您目前想要进行的操作:<a href='public_guide.php'>转到默认发布表单</a> <a href='public_guide.php?action=edit'>返回发布向导页</a> | |||
"; | |||
} | |||
$win->AddMsgItem("<div style='padding-left:20px;line-height:150%'>$msg</div>"); | |||
$win->AddMsgItem("<div style='line-height:26px'>$msg</div>"); | |||
$winform = $win->GetWindow("hand"); | |||
$win->Display(); | |||
exit(); | |||
@@ -60,15 +60,15 @@ function GetKeywordList($dsql, $pageno, $pagesize, $orderby = 'aid') | |||
$start = ($pageno - 1) * $pagesize; | |||
$printhead = "<form name='form3' action=\"search_keywords_main.php\" method=\"post\"> | |||
<input name=\"dopost\" type=\"hidden\" value=\"\"> | |||
<table width='98%' border='0' cellpadding='1' cellspacing='1' style='margin-bottom:10px' align='center' class='table maintable table-bordered'> | |||
<table width='98%' border='0' cellpadding='1' cellspacing='1' style='margin-bottom:10px' align='center' class='table maintable'> | |||
<tr align='center' bgcolor='#FBFCE2' height='26'> | |||
<td width='5%'>选择</td> | |||
<td width='6%' height='26'><a href='#' onclick=\"ReloadPage('aid')\">ID</a></td> | |||
<td width='6%' height='26'><a href='javascript:;' onclick=\"ReloadPage('aid')\">ID</a></td> | |||
<td width='20%'>关键词</td> | |||
<td width='30%'>分词结果</td> | |||
<td width='6%'><a href='#' onclick=\"ReloadPage('count')\">频率</a></td> | |||
<td width='6%'><a href='#' onclick=\"ReloadPage('result')\">结果</a></td> | |||
<td width='15%'><a href='#' onclick=\"ReloadPage('lasttime')\">最后搜索时间</a></td> | |||
<td width='6%'><a href='javascript:;' onclick=\"ReloadPage('count')\">频率</a></td> | |||
<td width='6%'><a href='javascript:;' onclick=\"ReloadPage('result')\">结果</a></td> | |||
<td width='15%'><a href='javascript:;' onclick=\"ReloadPage('lasttime')\">最后搜索时间</a></td> | |||
<td>管理</td> | |||
</tr>\r\n | |||
"; | |||
@@ -79,17 +79,17 @@ 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' bgcolor='#ffffff' 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:5px;'><input name='keyword' type='text' id='keyword{$row['aid']}' value='{$row['keyword']}' style='width:93%;'></td> | |||
<td style='padding:5px;'><input name='spwords' type='text' id='spwords{$row['aid']}' value='{$row['spwords']}' style='width:95%;'></td> | |||
<td style='padding:5px;'><input name='count' type='text' id='count{$row['aid']}' value='{$row['count']}' size='5'></td> | |||
<td style='padding:6px;'><input name='keyword' type='text' id='keyword{$row['aid']}' value='{$row['keyword']}' style='width:93%;'></td> | |||
<td style='padding:6px;'><input name='spwords' type='text' id='spwords{$row['aid']}' value='{$row['spwords']}' style='width:95%;'></td> | |||
<td style='padding:6px;'><input name='count' type='text' id='count{$row['aid']}' value='{$row['count']}' size='5'></td> | |||
<td><a href='{$cfg_phpurl}/search.php?kwtype=0&keyword=".urlencode($row['keyword'])."&searchtype=titlekeyword' target='_blank'>{$row['result']}</a></td> | |||
<td>".MyDate("Y-m-d H:i:s", $row['lasttime'])."</td> | |||
<td> | |||
<a href='#' onclick='UpdateNote({$row['aid']})' class='btn btn-success btn-sm'>更新</a> | |||
<a href='#' onclick='DelNote({$row['aid']})' class='btn btn-success btn-sm'>删除</a> | |||
<a href='javascript:;' onclick='UpdateNote({$row['aid']})' class='btn btn-success btn-sm'>更新</a> | |||
<a href='javascript:;' onclick='DelNote({$row['aid']})' class='btn btn-success btn-sm'>删除</a> | |||
</td> | |||
</tr> | |||
"; | |||
@@ -233,7 +233,7 @@ else if ($dopost == 'save') { | |||
} | |||
} | |||
//返回成功信息 | |||
$msg = "请选择您的后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布软件</a> <a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>查看软件</a> <a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改软件</a> <a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布软件管理</a> <a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a>"; | |||
$msg = "请选择您的后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布软件</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>查看软件</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改软件</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布软件管理</a><a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a>"; | |||
$msg = "<div style=\"line-height:36px;height:36px\">{$msg}</div>".GetUpdateTest(); | |||
$wintitle = "成功发布一个软件"; | |||
$wecome_info = "文章管理::发布软件"; | |||
@@ -56,7 +56,7 @@ if ($dopost != 'save') { | |||
$islocal = $ctag->GetAtt('islocal'); | |||
if ($islocal != 1) $needmsg = "<input type='checkbox' name='del{$newRowStart}' value='1' /> 删除"; | |||
else $needmsg = '<button name="sel1" class="btn btn-success btn-sm" type="button" id="sel1" onClick="SelectSoft(\'form1.softurl'.$newRowStart.'\')">选取</button>'; | |||
$nForm .= "<div style='line-height:36px'>软件地址{$newRowStart}:<input type='text' name='softurl{$newRowStart}' value='".trim($ctag->GetInnerText())."' style='width:300px'> 服务器名称:<input type='text' name='servermsg{$newRowStart}' value='".$ctag->GetAtt("text")."' style='width:160px'> | |||
$nForm .= "<div style='line-height:36px'>软件地址{$newRowStart}:<input type='text' name='softurl{$newRowStart}' value='".trim($ctag->GetInnerText())."' style='width:260px'> 服务器名称:<input type='text' name='servermsg{$newRowStart}' value='".$ctag->GetAtt("text")."' style='width:160px'> | |||
<input type='hidden' name='islocal{$newRowStart}' value='{$islocal}' /> | |||
$needmsg | |||
</div>\r\n"; | |||
@@ -263,7 +263,7 @@ else if ($dopost == 'save') { | |||
} | |||
} | |||
//返回成功信息 | |||
$msg = "请选择您的后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新软件</a> <a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>继续修改</a> <a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>查看软件</a> <a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布软件管理</a> <a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a>"; | |||
$msg = "请选择您的后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新软件</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>继续修改</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>查看软件</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布软件管理</a><a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a>"; | |||
$wintitle = "成功修改一个软件"; | |||
$wecome_info = "文章管理::修改软件"; | |||
$win = new OxWindow(); | |||
@@ -187,7 +187,7 @@ else if ($dopost == 'save') { | |||
} | |||
} | |||
//返回成功信息 | |||
$msg = "请选择您的后续操作:<a href='spec_add.php?cid=$typeid' class='btn btn-success btn-sm'>创建新专题</a> <a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看专题</a> <a href='content_s_list.php' class='btn btn-success btn-sm'>已发布专题管理</a>"; | |||
$msg = "请选择您的后续操作:<a href='spec_add.php?cid=$typeid' class='btn btn-success btn-sm'>创建新专题</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看专题</a><a href='content_s_list.php' class='btn btn-success btn-sm'>已发布专题管理</a>"; | |||
$wintitle = "成功创建专题"; | |||
$wecome_info = "文章管理::发布专题"; | |||
$win = new OxWindow(); | |||
@@ -219,7 +219,7 @@ else if ($dopost == 'save') { | |||
} | |||
} | |||
//返回成功信息 | |||
$msg = "请选择您的后续操作:<a href='spec_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新专题</a> <a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>查看修改</a> <a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看专题</a> <a href='content_s_list.php' class='btn btn-success btn-sm'>已发布专题管理</a> "; | |||
$msg = "请选择您的后续操作:<a href='spec_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新专题</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看专题</a><a href='content_s_list.php' class='btn btn-success btn-sm'>已发布专题管理</a> "; | |||
$wintitle = "成功修改一个专题"; | |||
$wecome_info = "专题管理::修改专题"; | |||
$win = new OxWindow(); | |||
@@ -13,7 +13,6 @@ CheckPurview('sys_User'); | |||
require_once(DEDEINC.'/typelink/typelink.class.php'); | |||
if (empty($dopost)) $dopost = ''; | |||
$id = preg_replace("#[^0-9]#", '', $id); | |||
if ($dopost == 'saveedit') { | |||
CheckCSRF(); | |||
$pwd = trim($pwd); | |||
@@ -62,9 +61,9 @@ if ($dopost == 'saveedit') { | |||
$win->AddHidden("randcode", $randcode); | |||
$win->AddHidden("safecode", $safecode); | |||
$win->AddHidden("id", $id); | |||
$win->AddTitle("系统警告"); | |||
$win->AddMsgItem("您确信要删除用户:$userid 吗", "50"); | |||
$win->AddMsgItem("安全验证串:<input name='safecode' type='text' id='safecode' size='16' style='width:200px' /> (复制本代码:<span style='color:#dc3545'>$safecode</span> )", "30"); | |||
$win->AddTitle("系统提示"); | |||
$win->AddMsgItem("您确定要删除用户:$userid 吗", "50"); | |||
$win->AddMsgItem("安全验证串:<input name='safecode' type='text' id='safecode' style='width:260px'>(复制本代码:<span style='color:#dc3545'>$safecode</span>)", "30"); | |||
$winform = $win->GetWindow("ok"); | |||
$win->Display(); | |||
exit(); | |||
@@ -74,7 +73,6 @@ if ($dopost == 'saveedit') { | |||
ShowMsg("请填写正确的安全验证串", "sys_admin_user.php"); | |||
exit(); | |||
} | |||
//不能删除id为1的创建人帐号,不能删除自己 | |||
$rs = $dsql->ExecuteNoneQuery2("DELETE FROM `#@__admin` WHERE id='$id' AND id<>1 AND id<>'".$cuserLogin->getUserID()."' "); | |||
if ($rs > 0) { | |||
@@ -86,7 +84,6 @@ if ($dopost == 'saveedit') { | |||
} | |||
exit(); | |||
} | |||
//显示用户信息 | |||
$randcode = mt_rand(10000, 99999); | |||
$safecode = substr(md5($cfg_cookie_encode.$randcode), 0, 24); | |||
@@ -95,7 +92,6 @@ $row = $dsql->GetOne("SELECT * FROM `#@__admin` WHERE id='$id'"); | |||
$typeids = explode(',', $row['typeid']); | |||
$dsql->SetQuery("SELECT id,typename FROM `#@__arctype` WHERE reid=0 AND (ispart=0 OR ispart=1)"); | |||
$dsql->Execute('op'); | |||
while ($nrow = $dsql->GetObject('op')) { | |||
$typeOptions .= "<option value='{$nrow->id}' class='btype'".(in_array($nrow->id, $typeids) ? ' selected' : '').">{$nrow->typename}</option>\r\n"; | |||
$dsql->SetQuery("SELECT id,typename FROM #@__arctype WHERE reid={$nrow->id} AND (ispart=0 OR ispart=1)"); | |||
@@ -106,4 +102,4 @@ while ($nrow = $dsql->GetObject('op')) { | |||
} | |||
} | |||
make_hash(); | |||
include DedeInclude('templets/sys_admin_user_edit.htm'); | |||
include DedeInclude('templets/sys_admin_user_edit.htm'); |
@@ -109,7 +109,7 @@ if (isset($dopost) && $dopost == 'getone') { | |||
<td width='16%'>近七天</td> | |||
<td width='16%'>当天</td> | |||
</tr> | |||
<tr align='center' bgcolor='#FFFFFF'> | |||
<tr align='center' bgcolor='#ffffff'> | |||
<td height='26'>{$userid}</td> | |||
<td>{$dd} | {$cc}</td> | |||
<td>{$dds} | {$ccs}</td> | |||
@@ -19,7 +19,7 @@ if ($cfg_dbtype == 'sqlite') { | |||
if ($dopost == "viewinfo") //查看表结构 | |||
{ | |||
echo "[<a href='#' onclick='javascript:HideObj(\"_mydatainfo\")'>关闭</a>]\r\n<xmp>"; | |||
echo "[<a href='javascript:;' onclick='javascript:HideObj(\"_mydatainfo\")'>关闭</a>]\r\n<xmp>"; | |||
if (empty($tablename)) { | |||
echo "没有指定表名"; | |||
} else { | |||
@@ -33,7 +33,7 @@ if ($dopost == "viewinfo") //查看表结构 | |||
exit(); | |||
} else if ($dopost == "opimize") //优化表 | |||
{ | |||
echo "[<a href='#' onclick='javascript:HideObj(\"_mydatainfo\")'>关闭</a>]\r\n<xmp>"; | |||
echo "[<a href='javascript:;' onclick='javascript:HideObj(\"_mydatainfo\")'>关闭</a>]\r\n<xmp>"; | |||
if (empty($tablename)) { | |||
echo "没有指定表名"; | |||
} else { | |||
@@ -48,7 +48,7 @@ if ($dopost == "viewinfo") //查看表结构 | |||
exit(); | |||
} else if ($dopost == "repair") //修复表 | |||
{ | |||
echo "[<a href='#' onclick='javascript:HideObj(\"_mydatainfo\")'>关闭</a>]\r\n<xmp>"; | |||
echo "[<a href='javascript:;' onclick='javascript:HideObj(\"_mydatainfo\")'>关闭</a>]\r\n<xmp>"; | |||
if (empty($tablename)) { | |||
echo "没有指定表名"; | |||
} else { | |||
@@ -23,7 +23,7 @@ function __getfields() | |||
else if ($action == 'getfields') { | |||
AjaxHead(); | |||
$dsql->GetTableFields($exptable); | |||
echo "<div style='border:1px solid #ababab;background-color:#FEFFF0;margin-top:6px;padding:3px;line-height:160%'>"; | |||
echo "<div style='border:1px solid #ababab;background-color:#FEFFF0;margin-top:6px;padding:6px;line-height:160%'>"; | |||
echo "表(".$exptable.")含有的字段:<br>"; | |||
while ($row = $dsql->GetFieldObject()) { | |||
echo "<a href=\"javascript:pf('{$row->name}')\">".$row->name."</a>\r\n"; | |||
@@ -116,7 +116,7 @@ EOT; | |||
?> | |||
<tr align="center" height="26" bgcolor="<?php echo $bgcolor ?>"> | |||
<td width="300"><?php echo $row['info']; ?>:</td> | |||
<td align="left" style="padding:3px;"> | |||
<td align="left" style="padding:6px;"> | |||
<?php | |||
if ($row['type'] == 'bool') { | |||
$c1 = ''; | |||
@@ -100,7 +100,7 @@ class Array2form | |||
case 'text': | |||
//生成文本编辑框 | |||
$valstr = (empty($formarry['value'])) ? "value=''" : "value='{$formarry['value']}'"; | |||
$reval_form = "<input type='text' name='{$key}' id='{$key}' style='width:300px' class='text'{$valstr}>"; | |||
$reval_form = "<input type='text' name='{$key}' id='{$key}' style='width:260px' class='text'{$valstr}>"; | |||
break; | |||
case 'select': | |||
//生成选择框 | |||
@@ -11,7 +11,7 @@ | |||
require_once(dirname(__FILE__).'/config.php'); | |||
CheckPurview('sys_ArcBatch'); | |||
require_once(DEDEINC.'/libraries/oxwindow.class.php'); | |||
//ShowMsg("目前暂不需要此工具,以后有需要系统会进行自动升级这个程序<br><a href='index_body.php'><<点击此返回></a>", "javascript:;"); | |||
//ShowMsg("目前暂不需要此工具,以后有需要系统会进行自动升级这个程序<br><a href='index_body.php'><<点击返回</a>", "javascript:;"); | |||
//exit(); | |||
if (empty($dopost)) { | |||
$win = new OxWindow(); | |||
@@ -32,13 +32,13 @@ if (empty($dopost)) { | |||
4、检测微表与主表数据一致性<br> | |||
<br> | |||
<br> | |||
<a href='sys_repair.php?dopost=1' class='btn btn-danger'>点击此开始进行常规检测></a> | |||
<a href='sys_repair.php?dopost=1' class='btn btn-danger'>常规检测</a> | |||
<br><br><br> | |||
</td> | |||
</tr> | |||
</table> | |||
"; | |||
$win->AddMsgItem("<div style='padding-left:20px;line-height:150%'>$msg</div>"); | |||
$win->AddMsgItem("<div style='line-height:26px'>$msg</div>"); | |||
$winform = $win->GetWindow('hand', ''); | |||
$win->Display(); | |||
exit(); | |||
@@ -65,13 +65,13 @@ else if ($dopost == 1) { | |||
2、更新数据库archives表时出错<br> | |||
3、列表显示数据目与实际文档数不一致<br> | |||
<br> | |||
<a href='sys_repair.php?dopost=2' class='btn btn-danger'>点击此检测微表正确性></a> | |||
<a href='sys_repair.php?dopost=2' class='btn btn-danger'>检测数据</a> | |||
<br><br><br> | |||
</td> | |||
</tr> | |||
</table> | |||
"; | |||
$win->AddMsgItem("<div style='padding-left:20px;line-height:150%'>$msg</div>"); | |||
$win->AddMsgItem("<div style='line-height:26px'>$msg</div>"); | |||
$winform = $win->GetWindow('hand', ''); | |||
$win->Display(); | |||
exit(); | |||
@@ -104,11 +104,11 @@ else if ($dopost == 2) { | |||
} | |||
} | |||
$msg .= "※总有效记录数:{$allarcnum} <br> "; | |||
$errall = "<a href='index_body.php' style='font-size:14px;'>完成修正或无错误返回></a>"; | |||
$errall = "<a href='index_body.php' class='btn btn-success'>完成修正</a>"; | |||
$row = $dsql->GetOne("SELECT COUNT(*) AS dd FROM `#@__arctiny` "); | |||
$msg .= "※微统计表记录数:{$row['dd']}<br>"; | |||
if ($row['dd'] == $allarcnum) { | |||
$msg .= "<p style='color:green;font-size:16px'>两者记录一致,无需修正</p><br>"; | |||
$msg .= "<p style='color:green'>两者记录一致,无需修正</p><br>"; | |||
} else { | |||
$sql = " TRUNCATE TABLE `#@__arctiny`"; | |||
$dsql->ExecuteNoneQuery($sql); | |||
@@ -126,10 +126,10 @@ else if ($dopost == 2) { | |||
} | |||
$row = $dsql->GetOne("SELECT COUNT(*) AS dd FROM `#@__arctiny` "); | |||
if ($row['dd'] == $allarcnum) { | |||
$msg .= "<p style='color:green;font-size:16px'>修正记录成功</p><br>"; | |||
$msg .= "<p style='color:green>修正记录成功</p><br>"; | |||
} else { | |||
$msg .= "<p style='color:#dc3545;font-size:16px'>修正记录失败,建议进行高级综合检测</p><br>"; | |||
$errall = " <a href='sys_repair.php?dopost=3' class='btn btn-danger'>进行高级结合性检测></a> "; | |||
$msg .= "<p style='color:#dc3545'>修正记录失败,建议进行高级综合检测</p><br>"; | |||
$errall = " <a href='sys_repair.php?dopost=3' class='btn btn-danger'>结合性检测</a> "; | |||
} | |||
} | |||
UpDateCatCache(); | |||
@@ -150,7 +150,7 @@ else if ($dopost == 2) { | |||
</tr> | |||
</table> | |||
"; | |||
$win->AddMsgItem("<div style='padding-left:20px;line-height:150%'>$msg</div>"); | |||
$win->AddMsgItem("<div style='line-height:26px'>$msg</div>"); | |||
$winform = $win->GetWindow('hand', ''); | |||
$win->Display(); | |||
exit(); | |||
@@ -195,7 +195,7 @@ else if ($dopost == 3) { | |||
} | |||
} | |||
$win = new OxWindow(); | |||
$win->Init("sys_repair.php", "js/blank.js", "POST' enctype='multipart/form-data' "); | |||
$win->Init("sys_repair.php", "js/blank.js", "POST' enctype='multipart/form-data'"); | |||
$win->mainTitle = "系统修复工具"; | |||
$wecome_info = "<a href='sys_repair.php'>系统错误修复工具</a> > 高级综合检测修复"; | |||
$win->AddTitle('本工具用于检测和修复您的系统可能存在的错误'); | |||
@@ -206,13 +206,13 @@ 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'>完成修正</a> | |||
</td> | |||
</tr> | |||
</table> | |||
"; | |||
$win->AddMsgItem("<div style='padding-left:20px;line-height:150%'>$msg</div>"); | |||
$win->AddMsgItem("<div style='line-height:26px'>$msg</div>"); | |||
$winform = $win->GetWindow('hand', ''); | |||
$win->Display(); | |||
exit(); | |||
} | |||
} |
@@ -25,8 +25,7 @@ foreach ($filelist as $key => $ff) { | |||
} | |||
$alter = ""; | |||
if (count($offFiles) == 0) { | |||
$alter = ' | |||
<div class="alert alert-danger maintable mb-2" style="margin:0 auto;" role="alert">无法同官方网站文件服务器通信,校验时候无法保证本地文件是否同官方服务器文件是否一致</div>'; | |||
$alter = '<div class="alert alert-danger maintable" style="margin:12px auto">无法同官方网站文件服务器通信,校验时候无法保证本地文件是否同官方服务器文件是否一致</div>'; | |||
} | |||
function TestOneFile($f) | |||
{ | |||
@@ -7,15 +7,15 @@ | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8"> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable table-bordered mt-3"> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-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 align="center" bgcolor="#ffffff" height="26"> | |||
<td align="center"> | |||
<?php foreach ($asresult as $row) {?> | |||
<table width="98%" border="0" cellspacing="5" cellpadding="0" class="table table-borderless"> | |||
@@ -58,10 +58,10 @@ | |||
.typetab ul li { | |||
float: left; | |||
margin: 5px 5px 0px; | |||
height: 23px; | |||
width: 64px; | |||
height: 26px; | |||
line-height: 26px; | |||
background: url(../static/web/img/adtype_link.gif) no-repeat scroll 0px 0px; | |||
line-height: 23px; | |||
text-align: center; | |||
cursor: pointer; | |||
} | |||
@@ -73,14 +73,14 @@ | |||
} | |||
</style> | |||
</head> | |||
<body background="../static/web/img/allbg.gif" leftmargin='8' topmargin='8'> | |||
<body> | |||
<form action="ad_add.php" method="post" name="form1" onSubmit="return checkSubmit()"> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable table-bordered mt-3"> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-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" valign="top"> | |||
<td height="200" bgcolor="#ffffff" valign="top"> | |||
<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']; ?>"> | |||
@@ -105,7 +105,7 @@ | |||
<td colspan="2"><?php | |||
$tl = new TypeLink(0); | |||
$typeOptions = $tl->GetOptionArray(0,0,0); | |||
echo "<select name='typeid' style='width:300px'>\r\n"; | |||
echo "<select name='typeid' style='width:260px'>\r\n"; | |||
echo "<option value='0' selected>投放在没有同名标识的所有栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
@@ -43,13 +43,13 @@ | |||
}) | |||
</script> | |||
</head> | |||
<body background="../static/web/img/allbg.gif" leftmargin='8' topmargin='8'> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable table-bordered mt-3"> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-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" valign="top"> | |||
<td height="200" bgcolor="#ffffff" valign="top"> | |||
<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?>'> | |||
@@ -71,7 +71,7 @@ | |||
<td colspan="2"><?php | |||
$tl = new TypeLink(0); | |||
$typeOptions = $tl->GetOptionArray($row['typeid'],0,0); | |||
echo "<select name='typeid' style='width:300px'>\r\n"; | |||
echo "<select name='typeid' style='width:260px'>\r\n"; | |||
echo "<option value='0' selected>投放在没有同名标识的所有栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
@@ -8,13 +8,13 @@ | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin='8'> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable table-bordered mt-3"> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-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> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="7" style="padding-left:10px" bgcolor="#FFFFFF"> | |||
<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"> | |||
@@ -30,9 +30,7 @@ | |||
</td> | |||
<td width='70'> 关键词:</td> | |||
<td width='185'><input type='text' name='keyword' style='width:150px' /></td> | |||
<td width="130"> | |||
<button type="submit" class="btn btn-success">搜索</button> | |||
</td> | |||
<td width="130"><button type="submit" class="btn btn-success">搜索</button></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -51,7 +49,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 align="center" bgcolor="#ffffff" height="26" 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> | |||
@@ -66,9 +64,7 @@ | |||
</tr> | |||
{/dede:datalist} | |||
<tr align="center" bgcolor="#f8f8f8" height="26"> | |||
<td colspan="7"> | |||
{dede:pagelist listsize=5/} | |||
</td> | |||
<td colspan="7">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -5,7 +5,7 @@ | |||
<title>广告分类管理</title> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin='8'> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1"> | |||
<form name="form1" action="adtype_main.php" method="post"> | |||
<tr> | |||
@@ -24,7 +24,7 @@ | |||
{ | |||
$k++; | |||
?> | |||
<tr align="center" bgcolor="#FFFFFF"> | |||
<tr align="center" bgcolor="#ffffff"> | |||
<td height="26" valign="top"><input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->id?>"/><?php echo $row->id; ?></td> | |||
<td height="26" valign="top"><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' /> | |||
@@ -37,9 +37,9 @@ | |||
<tr bgcolor="#F8FCF1"> | |||
<td height="26" colspan="5" valign="top" bgcolor="#f8f8f8">新增一个广告类型:</td> | |||
</tr> | |||
<tr height="26" align="center" bgcolor="#FFFFFF"> | |||
<tr height="26" align="center" bgcolor="#ffffff"> | |||
<td colspan="2" valign="top"><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 align="center" bgcolor="#ffffff"><input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np' /> | |||
新增 </td> | |||
</tr> | |||
<tr> | |||
@@ -53,7 +53,7 @@ img{vertical-align:baseline} | |||
table{border-collapse:separate} | |||
</style> | |||
</head> | |||
<body topmargin="8" background="../static/web/img/allbg.gif"> | |||
<body> | |||
<form name="form1" action="album_add.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmitAlb();"> | |||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | |||
<input type="hidden" name="cid" value="<?php echo $cid; ?>"> | |||
@@ -170,7 +170,7 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 图集来源:</td> | |||
<td width="90"> 来源:</td> | |||
<td width="250"> | |||
<input name="source" type="text" id="source" value=""style="width:160px" > | |||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
@@ -188,7 +188,7 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="600" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 图集主栏目:</td> | |||
<td width="90"> 发布栏目:</td> | |||
<td> | |||
<span id='typeidct'> | |||
<?php | |||
@@ -247,7 +247,7 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 内容摘要:</td> | |||
<td width="90"> 描述:</td> | |||
<td><textarea name="description" id="description" style="width:360px;height:50px"></textarea></td> | |||
</tr> | |||
</table> | |||
@@ -256,9 +256,6 @@ table{border-collapse:separate} | |||
<tr> | |||
<td><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); ?></td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#f8f8f8" class="bline2"> 图集选项:</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
@@ -327,7 +324,7 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0" height="100"> | |||
<tr> | |||
<td width="90"> 压缩包文件:</td> | |||
<td><input type='text' name='zipfile' id='zipfile' style='width:300px'> | |||
<td><input type='text' name='zipfile' id='zipfile' style='width:260px'> | |||
<button name='addon_bt' type='button' onClick="SelectSoft('form1.zipfile')" class="btn btn-success btn-sm">浏览</button> | |||
<label><input name="delzip" type="checkbox" id="delzip" value="1" checked="checked"> | |||
处理后删除压缩文件</label></td> | |||
@@ -355,7 +352,7 @@ table{border-collapse:separate} | |||
<table width="800" 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> | |||
<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> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -469,9 +466,9 @@ table{border-collapse:separate} | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:none" class="mb-3"> | |||
<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 height="36"> | |||
<td style="padding:.6rem"> | |||
<td align="center" style="padding:.6rem"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -54,7 +54,7 @@ table{border-collapse:separate} | |||
.albEdit {height:auto} | |||
</style> | |||
</head> | |||
<body topmargin="8"> | |||
<body> | |||
<form name="form1" action="album_edit.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmitAlb();"> | |||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | |||
<input type="hidden" name="id" value="<?php echo $aid?>"> | |||
@@ -167,7 +167,7 @@ table{border-collapse:separate} | |||
<tr> | |||
<td height="26" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 图集来源:</td> | |||
<td width="90"> 来源:</td> | |||
<td width="250"> | |||
<input name="source" type="text" id="source" value="<?php echo $arcRow['source']?>" style="width:160px"> | |||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
@@ -185,7 +185,7 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="570" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 图集主栏目:</td> | |||
<td width="90"> 发布栏目:</td> | |||
<td> | |||
<?php | |||
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
@@ -233,7 +233,7 @@ table{border-collapse:separate} | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 内容摘要:</td> | |||
<td width="90"> 描述:</td> | |||
<td><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $arcRow['description']?></textarea></td> | |||
</tr> | |||
</table> | |||
@@ -351,9 +351,6 @@ table{border-collapse:separate} | |||
</table> | |||
<!--高级参数--> | |||
<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" bgcolor="#f8f8f8" class="bline2"> 图集选项:</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
@@ -393,8 +390,7 @@ table{border-collapse:separate} | |||
<table width="800" 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> | |||
@@ -427,7 +423,7 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0" height="100"> | |||
<tr> | |||
<td width="90"> 压缩包文件:</td> | |||
<td><input type='text' name='zipfile' id='zipfile' style='width:300px'> | |||
<td><input type='text' name='zipfile' id='zipfile' style='width:260px'> | |||
<button name='addon_bt' type='button' class='btn btn-success btn-sm' onClick="SelectSoft('form1.zipfile')">浏览</button> | |||
<label><input name="delzip" type="checkbox" id="delzip" value="1" checked="checked"> | |||
处理后删除压缩文件</label> | |||
@@ -452,10 +448,8 @@ table{border-collapse:separate} | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" bgcolor="#f8f8f8" class="bline2"> 原有图片:</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="4" class="bline"><table width='100%'> | |||
<td height="26" colspan="4" class="bline"> | |||
<table width='100%'> | |||
<tr> | |||
<td> | |||
<div id="thumbnailsEdit"> | |||
@@ -500,10 +494,11 @@ 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 height="26" colspan="4" class="bline" style="background:#f8f8f8"> | |||
<table width="800" 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> | |||
<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> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -521,9 +516,9 @@ table{border-collapse:separate} | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:none" class="mb-3"> | |||
<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 height="36"> | |||
<td style="padding:.6rem"> | |||
<td align="center" style="padding:.6rem"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -36,7 +36,7 @@ table{border-collapse:separate} | |||
.form-control{display:inline-block;margin-right:10px;width:160px} | |||
</style> | |||
</head> | |||
<body topmargin="8"> | |||
<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> | |||
@@ -150,7 +150,7 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 商品来源:</td> | |||
<td width="90"> 来源:</td> | |||
<td width="250"> | |||
<input name="source" type="text" id="source" style="width:160px" value="" size="16"> | |||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
@@ -175,7 +175,7 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="600" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 商品主栏目:</td> | |||
<td width="90"> 发布栏目:</td> | |||
<td> | |||
<span id='typeidct'> | |||
<?php | |||
@@ -234,7 +234,7 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 内容摘要:</td> | |||
<td width="90"> 描述:</td> | |||
<td><textarea name="description" id="description" style="width:360px;height:50px"></textarea></td> | |||
</tr> | |||
</table> | |||
@@ -356,9 +356,9 @@ table{border-collapse:separate} | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:none" class="mb-3"> | |||
<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 height="36"> | |||
<td style="padding:.6rem"> | |||
<td align="center" style="padding:.6rem"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -33,7 +33,7 @@ table{border-collapse:separate} | |||
.form-control{display:inline-block;margin-right:10px;width:160px} | |||
</style> | |||
</head> | |||
<body topmargin="8"> | |||
<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> | |||
@@ -151,7 +151,7 @@ table{border-collapse:separate} | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 商品来源:</td> | |||
<td width="90"> 来源:</td> | |||
<td width="250"> | |||
<input name="source" type="text" id="source" value="<?php echo $arcRow['source']?>" style="width:160px"> | |||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
@@ -176,7 +176,7 @@ table{border-collapse:separate} | |||
<td height="26" class="bline"> | |||
<table width="570" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 商品主栏目:</td> | |||
<td width="90"> 发布栏目:</td> | |||
<td> | |||
<?php | |||
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
@@ -200,11 +200,11 @@ table{border-collapse:separate} | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 商品副栏目:</td> | |||
<td width="90"> 副栏目:</td> | |||
<td> | |||
<span id='typeid2ct'></span> | |||
<input type='text' name='typeid2' id='typeid2' value='<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']); ?>' style='width:200px;' /> | |||
<img src='../static/web/img/menusearch2.gif' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')" title='选择副栏目' style='cursor:pointer'> | |||
<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> | |||
</table> | |||
@@ -214,8 +214,8 @@ table{border-collapse:separate} | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="50"> 关键词:</td> | |||
<td><input type="text" name="keywords" id="keywords" style="width:60%" value="<?php echo $arcRow["keywords"]?>"></td> | |||
<td width="90"> 关键词:</td> | |||
<td><input type="text" name="keywords" id="keywords" value="<?php echo $arcRow['keywords']?>" style="width:360px"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -224,8 +224,8 @@ table{border-collapse:separate} | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90" height="50"> 文档摘要:</td> | |||
<td><textarea name="description" rows="3" id="description" style="width:60%"><?php echo $arcRow['description']?></textarea></td> | |||
<td width="90"> 描述:</td> | |||
<td><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $arcRow['description']?></textarea></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -346,9 +346,9 @@ table{border-collapse:separate} | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:none" class="mb-3"> | |||
<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 height="36"> | |||
<td style="padding:.6rem"> | |||
<td align="center" style="padding:.6rem"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -37,7 +37,7 @@ table{border-collapse:separate} | |||
.form-control{display:inline-block;margin-right:6px;width:160px} | |||
</style> | |||
</head> | |||
<body topmargin="8"> | |||
<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> | |||
@@ -116,7 +116,7 @@ table{border-collapse:separate} | |||
<td height="26" colspan="4" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文档主栏目:</td> | |||
<td width="90"> 发布栏目:</td> | |||
<td> | |||
<span id='typeidct'> | |||
<?php | |||
@@ -161,9 +161,9 @@ table{border-collapse:separate} | |||
<td><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); ?></td> | |||
</tr> | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:none" class="mb-3"> | |||
<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 height="36"> | |||
<td style="padding:.6rem"> | |||
<td align="center" style="padding:.6rem"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -34,7 +34,7 @@ table{border-collapse:separate} | |||
.form-control{display:inline-block;margin-right:6px;width:160px} | |||
</style> | |||
</head> | |||
<body topmargin="8"> | |||
<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> | |||
@@ -139,7 +139,7 @@ table{border-collapse:separate} | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文档主栏目:</td> | |||
<td width="90"> 发布栏目:</td> | |||
<td> | |||
<?php | |||
$typeOptions = GetOptionList($addRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
@@ -163,9 +163,9 @@ table{border-collapse:separate} | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:none" class="mb-3"> | |||
<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 height="36"> | |||
<td style="padding:.6rem"> | |||
<td align="center" style="padding:.6rem"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -40,7 +40,7 @@ table{border-collapse:separate} | |||
.albCt{border-bottom:1px dashed #FC0;margin-bottom:10px;padding-bottom:10px} | |||
</style> | |||
</head> | |||
<body topmargin="8"> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
<tr> | |||
<td width="60%" 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> | |||
@@ -160,7 +160,7 @@ table{border-collapse:separate} | |||
<td height="26" colspan="5" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文章来源:</td> | |||
<td width="90"> 来源:</td> | |||
<td width="250"> | |||
<input name="source" type="text" id="source" value="<?php echo $source; ?>" style="width:160px"> | |||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
@@ -178,7 +178,7 @@ table{border-collapse:separate} | |||
<td height="26" colspan="5" class="bline"> | |||
<table width="600" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文章主栏目:</td> | |||
<td width="90"> 发布栏目:</td> | |||
<td> | |||
<span id="typeidct"> | |||
<?php | |||
@@ -210,7 +210,7 @@ table{border-collapse:separate} | |||
<td width="90"> 副栏目:</td> | |||
<td> | |||
<span id="typeid2ct"></span> | |||
<input type="text" name="typeid2" id="typeid2" value="" style="width:200px"> | |||
<input type="text" name="typeid2" id="typeid2" value="" style="width:260px"> | |||
<img src="../static/web/img/menusearch2.gif" style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title="选择副栏目"> | |||
</td> | |||
</tr> | |||
@@ -237,7 +237,7 @@ table{border-collapse:separate} | |||
<td height="26" colspan="5" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 内容摘要:</td> | |||
<td width="90"> 描述:</td> | |||
<td><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $description; ?></textarea></td> | |||
</tr> | |||
</table> | |||
@@ -246,13 +246,6 @@ table{border-collapse:separate} | |||
<tr> | |||
<td colspan="2"><?php PrintAutoFieldsAdd(stripslashes($cInfos['fieldset']),'autofield'); ?></td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="2" bgcolor="#f8f8f8" class="bline2"> | |||
<div style="float:left;line-height:26px"> 文章内容:</div> | |||
<div style="float:right;padding-right:10px"><button type="button" onClick="location.reload();" class="btn btn-success">重置</button></div> | |||
<div style="float:right;padding-right:10px"><button type="submit" class="btn btn-success">保存</button></div> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="100%" height="26" colspan="2" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
@@ -410,9 +403,9 @@ table{border-collapse:separate} | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:none" class="mb-3"> | |||
<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 height="36"> | |||
<td style="padding:.6rem"> | |||
<td align="center" style="padding:.6rem"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -56,7 +56,7 @@ | |||
function DelNode(selid) { | |||
if (selid == 0) selid = getCheckboxItem(); | |||
if (selid != '') { | |||
if (window.confirm("您确实要删除这些条目吗")) location = "article_coonepage_rule.php?ids=" + selid + "&action=del"; | |||
if (window.confirm("您确定要删除这些条目吗")) location = "article_coonepage_rule.php?ids=" + selid + "&action=del"; | |||
} else { | |||
ShowMsg("您没选择任何条目"); | |||
} | |||
@@ -88,9 +88,8 @@ | |||
} | |||
</style> | |||
</head> | |||
<body leftmargin="8" topmargin="8" background='../static/web/img/allbg.gif'> | |||
<table width="100%" border="0" cellpadding="2" align="center" cellspacing="1" | |||
class="table maintable table-bordered mt-3"> | |||
<body> | |||
<table width="100%" border="0" cellpadding="2" align="center" cellspacing="1" class="table maintable mt-3"> | |||
<tr bgcolor="#F3FAD3"> | |||
<td height="26" colspan="6"> | |||
<div style="float:left;padding-left:6px">单页采集规则管理:</div> | |||
@@ -109,8 +108,8 @@ | |||
<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';" | |||
onMouseOut="javascript:this.bgColor='#FFFFFF';" height="26"> | |||
<tr align='center' bgcolor="#ffffff" onMouseMove="javascript:this.bgColor='#FCFDEE';" | |||
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> | |||
<td align='left'> | |||
@@ -126,20 +125,17 @@ | |||
{/dede:datalist} | |||
<tr bgcolor="#FAFAF1"> | |||
<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> | |||
<a href="javascript:DelNode(0)" class="btn btn-success btn-sm"> 删除 </a> | |||
<a href="javascript:DelNode(0)" class="btn btn-success btn-sm">删除</a> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr align="right" bgcolor="#F3FAD3"> | |||
<td height="26" colspan="6" align="center"> | |||
{dede:pagelist listsize=5/} | |||
</td> | |||
<td height="26" colspan="6" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
<!-- 下面是隐藏的栏目增加/修改表单 --> | |||
<!--下面是隐藏的栏目增加修改表单--> | |||
<div id="editNode"> | |||
<span id='editNodeBody'>请稍候,正在载入</span> | |||
</div> | |||
@@ -150,7 +146,7 @@ | |||
<table width="430" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="102" height="30">网站名称:</td> | |||
<td width="302"><input name="title" type="text" id="title" style="width:200px"></td> | |||
<td width="302"><input name="title" type="text" id="title" style="width:260px"></td> | |||
<td width="26" align="center"><a href="javascript:CloseAddNode()" class="mr-3"><img src="../static/web/img/close.gif"></a></td> | |||
</tr> | |||
<tr> | |||
@@ -173,7 +169,7 @@ | |||
</tr> | |||
<tr> | |||
<td height="30">网站网址:</td> | |||
<td colspan="2"><input name="url" type="text" id="url" style="width:200px"></td> | |||
<td colspan="2"><input name="url" type="text" id="url" style="width:260px"></td> | |||
</tr> | |||
<tr> | |||
<td height="30"></td> | |||
@@ -190,13 +186,12 @@ | |||
</tr> | |||
<tr> | |||
<td height="30"></td> | |||
<td colspan="2"><button class="btn btn-success btn-sm" type="submit" name="Submit" | |||
value="">保存规则</button> | |||
<button type="reset" class="btn btn-success btn-sm" name="Submit2">重置</button></td> | |||
<td colspan="2"><button class="btn btn-success btn-sm" type="submit" name="Submit" value="">保存规则</button> | |||
<button type="reset" class="btn btn-success btn-sm" name="Submit2">重置</button> | |||
</td> | |||
</tr> | |||
</table> | |||
</form> | |||
</div> | |||
</body> | |||
</html> |
@@ -7,11 +7,11 @@ | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable table-bordered mt-3"> | |||
<body> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<form action="article_description_main.php" name="form1" target="stafrm" method="post"> | |||
<tr> | |||
<td height="26" background='../static/web/img/tbg.gif'> | |||
<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> | |||
@@ -21,10 +21,10 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" bgcolor="#FFFFFF">用于自动更新您系统没有填写摘要的文档的摘要信息或更新没分页的文档的自动分页标识(文档使用了自动分页后会降低HTML生成速度,并且在没人工干扰的情况下可能导致分页内容的HTML错误,请小心使用此功能)</td> | |||
<td height="30" bgcolor="#ffffff">用于自动更新您系统没有填写摘要的文档的摘要信息或更新没分页的文档的自动分页标识(文档使用了自动分页后会降低HTML生成速度,并且在没人工干扰的情况下可能导致分页内容的HTML错误,请小心使用此功能)</td> | |||
</tr> | |||
<tr> | |||
<td height="36" bgcolor="#FFFFFF"> | |||
<td height="36" bgcolor="#ffffff"> | |||
<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> | |||
@@ -66,23 +66,24 @@ | |||
<td height="26"> | |||
<table width="100%" class="table table-borderless"> | |||
<tr> | |||
<td width="74%">结果:</td> | |||
<td width="26%" align="right"> | |||
<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; | |||
} | |||
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','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
<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 bgcolor="#ffffff"> | |||
<td id="mtd"> | |||
<div id='mdv' style='width:100%;height:350px;'> | |||
<div id="mdv" style="width:100%;height:300px"> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> | |||
</div> | |||
</td> | |||
@@ -38,7 +38,7 @@ table{border-collapse:separate} | |||
.albCt{border-bottom:1px dashed #FC0;margin-bottom:10px;padding-bottom:10px} | |||
</style> | |||
</head> | |||
<body topmargin="8"> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | |||
<tr> | |||
<td width="60%" 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> | |||
@@ -161,7 +161,7 @@ table{border-collapse:separate} | |||
<td height="26" colspan="2" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文章来源:</td> | |||
<td width="90"> 来源:</td> | |||
<td width="250"> | |||
<input name="source" type="text" id="source" value="<?php echo $arcRow['source']?>" style="width:160px"> | |||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button> | |||
@@ -179,7 +179,7 @@ table{border-collapse:separate} | |||
<td height="26" colspan="2" class="bline"> | |||
<table width="570" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文章主栏目:</td> | |||
<td width="90"> 发布栏目:</td> | |||
<td> | |||
<?php | |||
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
@@ -230,7 +230,7 @@ table{border-collapse:separate} | |||
<td height="26" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 文章摘要:</td> | |||
<td width="90"> 描述:</td> | |||
<td><textarea name="description" id="description" style="width:360px;height:50px"><?php echo $arcRow['description']?></textarea></td> | |||
</tr> | |||
</table> | |||
@@ -243,9 +243,6 @@ table{border-collapse:separate} | |||
?> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="2" bgcolor="#f8f8f8" class="bline2"> 文章内容:</td> | |||
</tr> | |||
<tr> | |||
<td width="400%" height="26" colspan="2" class="bline"> | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
@@ -374,9 +371,9 @@ table{border-collapse:separate} | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:none" class="mb-3"> | |||
<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 height="36"> | |||
<td style="padding:.6rem"> | |||
<td align="center" style="padding:.6rem"> | |||
<button type="submit" class="btn btn-success">保存</button> | |||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||
</td> | |||
@@ -2,16 +2,16 @@ | |||
<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"> | |||
<style> | |||
.nnpp { | |||
border-bottom: 1px solid #666666; | |||
border-top: 1px solid #FFFFFF; | |||
border-left: 1px solid #FFFFFF; | |||
border-right: 1px solid #FFFFFF; | |||
border-bottom: 1px solid #424b51; | |||
border-top: 1px solid #ffffff; | |||
border-left: 1px solid #ffffff; | |||
border-right: 1px solid #ffffff; | |||
filter: alpha(opacity=50); | |||
} | |||
</style> | |||
@@ -25,14 +25,14 @@ | |||
} | |||
</script> | |||
</head> | |||
<body background='../static/web/img/allbg.gif' leftmargin='8' topmargin='8'> | |||
<body> | |||
<div class="main"> | |||
<table width="98%" border="0" cellpadding="1" align='center' cellspacing="1" class="table maintable table-bordered mt-3"> | |||
<table width="98%" border="0" cellpadding="1" align='center' cellspacing="1" class="table maintable mt-3"> | |||
<tr> | |||
<td height="26" colspan="6" background="../static/web/img/tbg.gif"> | |||
<table width="96%" border="0" class="table table-borderless"> | |||
<tr> | |||
<td width="25%" style="padding-left:10px">关键词维护</td> | |||
<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' /> | |||
@@ -52,11 +52,11 @@ | |||
<table border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td width="90">新增关键词:</td> | |||
<td><input name="keyword" type="text" id="keyword" style="width:260px"></td> | |||
<td width="90">链接网址:</td> | |||
<td><input name="rpurl" type="text" id="rpurl" style="width:260px"></td> | |||
<td width="270"><input name="keyword" type="text" id="keyword" style="width:260px"></td> | |||
<td width="60">链接:</td> | |||
<td width="270"><input name="rpurl" type="text" id="rpurl" style="width:260px"></td> | |||
<td width="60">频率:</td> | |||
<td><input name="rank" type="text" id="rank" value="30" style="width:60px"></td> | |||
<td width="70"><input name="rank" type="text" id="rank" value="30" style="width:60px"></td> | |||
<td><button type="submit" name="Submit" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
</table> | |||
@@ -73,7 +73,7 @@ | |||
<form name='form3' action="article_keywords_main.php" method="post"> | |||
<input type='hidden' name='dopost' value='saveall' /> | |||
{dede:datalist empty='<tr><td colspan="5"><center>暂无内容</center></td></tr>'} | |||
<tr align="center" bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> | |||
<tr align="center" bgcolor="#ffffff" 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' /> | |||
</td> | |||
@@ -81,7 +81,7 @@ | |||
<input type='hidden' value='{dede:field.keyword/}' name='keyword_{dede:field.aid/}' /> | |||
{dede:field.keyword/} | |||
</td> | |||
<td style="padding:5px 0;"> | |||
<td style="padding:6px 0;"> | |||
<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/}' /> | |||
@@ -101,17 +101,13 @@ | |||
{/dede:datalist} | |||
<tr bgcolor="#ffffff"> | |||
<td height="26" colspan="6"> | |||
| |||
<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> | |||
</td> | |||
</tr> | |||
</form> | |||
<tr align="center" bgcolor="#f8f8f8"> | |||
<td height="26" colspan="6"> | |||
{dede:pagelist listsize=3/} | |||
</td> | |||
<td height="26" colspan="6">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</div> | |||
@@ -7,10 +7,10 @@ | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable table-bordered mt-3"> | |||
<body> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<tr> | |||
<td height="26" background='../static/web/img/tbg.gif'> | |||
<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> | |||
@@ -22,7 +22,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="36" bgcolor="#FFFFFF">本向导帮助自动分析您系统内的关键词,并统计关键词的数量,对其进行排序,您可以清理掉错误的关键词或无意义的关键词,以提高文档关连和搜索的准确性,本分析器是直接在内存中对关键词进行分析排序后加入到数据库的,因此本操作比较占用内存,如果您的文档数量很大并且使用的又是虚拟主机,可能无法完成本操作<br> | |||
<td height="36" bgcolor="#ffffff">本向导帮助自动分析您系统内的关键词,并统计关键词的数量,对其进行排序,您可以清理掉错误的关键词或无意义的关键词,以提高文档关连和搜索的准确性,本分析器是直接在内存中对关键词进行分析排序后加入到数据库的,因此本操作比较占用内存,如果您的文档数量很大并且使用的又是虚拟主机,可能无法完成本操作<br> | |||
本程序只分析文章频道的关键词数据,其它频道或自定义频道请自行手工指定内容的关系字<br> | |||
如果您的文章是采集回来的,请先用“自动获取关键词”的功能对未有关键词的文章进行分词索引,然后再检测关键词 | |||
</td> | |||
@@ -37,23 +37,24 @@ | |||
<td height="26"> | |||
<table width="100%" class="table table-borderless"> | |||
<tr> | |||
<td width="74%">结果:</td> | |||
<td width="26%" 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','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
<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 bgcolor="#ffffff"> | |||
<td id="mtd"> | |||
<div id='mdv' style='width:100%;height:350px'> | |||
<div id="mdv" style="width:100%;height:300px"> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> | |||
</div> | |||
<script language="JavaScript"> | |||
@@ -40,22 +40,22 @@ function AddNewKw() | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body background="../static/web/img/allbg.gif" leftmargin="1" topmargin="1"> | |||
<body> | |||
<div class="main"> | |||
<table width="100%" align="center" border="0" cellpadding="1" cellspacing="1" class="table maintable table-bordered mt-3"> | |||
<table width="100%" align="center" border="0" cellpadding="1" cellspacing="1" class="table maintable mt-3"> | |||
<form name='form1' action="article_keywords_main.php"> | |||
<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"> | |||
<tr> | |||
<td width="60" align="center">关键词:</td> | |||
<td width="140"><input name="keyword" type="text" id="keyword" style="width:130px"></td> | |||
<td width="40">链接:</td> | |||
<td width="140"><input name="rpurl" type="text" id="rpurl" style="width:130px"></td> | |||
<td width="40">频率:</td> | |||
<td width="50"><input name="rank" type="text" id="rank" style="width:30px" value="30"></td> | |||
<td width="86"><input type="submit" name="Submit" value="保存" class="np"></td> | |||
<td width="90" align="center">关键词:</td> | |||
<td width="270"><input name="keyword" type="text" id="keyword" style="width:260px"></td> | |||
<td width="60">链接:</td> | |||
<td width="270"><input name="rpurl" type="text" id="rpurl" style="width:260px"></td> | |||
<td width="60">频率:</td> | |||
<td width="70"><input name="rank" type="text" id="rank" style="width:60px"></td> | |||
<td><input type="submit" name="Submit" value="保存" class="np"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -70,13 +70,13 @@ function AddNewKw() | |||
<td width="69%" align="right"> | |||
<button class="btn btn-success btn-sm" type="button" name="kwa" onClick="AddNewKw()">新增关键词</button> | |||
<button class="btn btn-success btn-sm" type="button" name="kwm" onClick="location='article_keywords_main.php';">关键词管理</button> | |||
</td> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FFFFFF" style="line-height:180%"> | |||
<td bgcolor="#ffffff"> | |||
{dede:datalist empty='<center>暂无内容</center>'} | |||
<a href='javascript:SelKw("{dede:field.keyword/}")'>{dede:field.keyword/}</a> | |||
{/dede:datalist} | |||
@@ -94,13 +94,11 @@ function AddNewKw() | |||
</td> | |||
</tr> | |||
<tr align="center"> | |||
<td height="26" bgcolor="#f8f8f8"> | |||
{dede:pagelist listsize=3/} | |||
</td> | |||
<td height="26" bgcolor="#f8f8f8">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</form> | |||
</table> | |||
<div class="tbbottom" style="text-align:right;width:99%" align="left"></div> | |||
<div class="tbbottom" style="text-align:right;width:98%" align="left"></div> | |||
</div> | |||
</body> | |||
</html> |
@@ -48,7 +48,7 @@ function noSelAll() | |||
<body> | |||
<table width="100%" border="0" cellpadding="2" cellspacing="1" class="tbtitle"> | |||
<tr bgcolor="#E7E7E7"> | |||
<td height="26" colspan="3" bgcolor="#EDF9D5">重复文档列表:</td> | |||
<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; ?>' /> | |||
@@ -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 bgcolor="#ffffff" align="center" height="26" onMouseMove="javascript:this.bgColor='#EFEFEF';" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
<td><input name="arcTitles" type="checkbox" id="arcTitle" value="<?php echo urlencode($row['title'])?>" class="np"></td> | |||
<td> | |||
<?php | |||
@@ -81,7 +81,7 @@ function noSelAll() | |||
} | |||
?> | |||
<tr bgcolor="#E5F9FF"> | |||
<td height="26" colspan="3" bgcolor="#EDF9D5"> | |||
<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()' /> | |||
@@ -7,26 +7,22 @@ | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body background='../static/web/img/allbg.gif' leftmargin='8' topmargin='8'> | |||
<div class="bodytitle mt-3 mb-3"> | |||
<div class="bodytitleleft"></div> | |||
<div class="bodytitletxt">批量管理</div> | |||
</div> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-bordered"> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<form action="article_test_same.php" name="form1" target="stafrm"> | |||
<input type='hidden' name='dopost' value='analyse'> | |||
<tr> | |||
<td height="26" bgcolor="#EDF9D5" background="../static/web/img/tbg.gif"> | |||
<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%" height="18"> 重复文档检测</td> | |||
<td width="70%" align="right"></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" align="center" bgcolor="#FFFFFF"> | |||
<td height="30" align="center" bgcolor="#ffffff"> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="20%" height="30" align="left">频道类型:</td> | |||
@@ -70,7 +66,7 @@ | |||
<tr bgcolor="#f8f8f8"> | |||
<td height="30">结果:</td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<tr bgcolor="#ffffff"> | |||
<td id="mtd"> | |||
<div id='mdv' style='width:100%;height:420px;'> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> | |||
@@ -7,17 +7,13 @@ | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8"> | |||
<div class="bodytitle mt-3 mb-3"> | |||
<div class="bodytitleleft"></div> | |||
<div class="bodytitletxt">辅助插件</div> | |||
</div> | |||
<table width="98%" border="0" align="center" cellpadding="4" cellspacing="1" class="table maintable table-bordered"> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="4" cellspacing="1" class="table maintable mt-3"> | |||
<tr> | |||
<td bgcolor="#EDF9D5" colspan="2" background='../static/web/img/tbg.gif' style="padding-left:10px">百度新闻地图</td> | |||
<td colspan="2" background="../static/web/img/tbg.gif" style="padding-left:10px">百度新闻地图</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FFFFFF" colspan="2"> | |||
<td bgcolor="#ffffff" 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> | |||
@@ -29,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 bgcolor="#ffffff"> 文件名:</td> | |||
<td bgcolor="#ffffff"><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" bgcolor="#ffffff"><button name="button" type="submit" class="btn btn-success" 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" bgcolor="#ffffff" colspan="2"><iframe name="stafrm" frameborder="0" id="stafrm" width="96%" height="350px"></td> | |||
</tr> | |||
</table> | |||
</body> |
@@ -7,12 +7,12 @@ | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body background='../static/web/img/allbg.gif' leftmargin='8' topmargin='8'> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-bordered mt-3"> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<form action="cards_make.php" name="form1" target="stafrm"> | |||
<input type="hidden" name="dopost" value="make"> | |||
<tr> | |||
<td height="26" bgcolor="#EDF9D5" background='../static/web/img/tbg.gif'> | |||
<td height="26" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%" style="padding-left:10px">点卡生成向导:</td> | |||
@@ -25,7 +25,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FFFFFF"> | |||
<td bgcolor="#ffffff"> | |||
<table width="90%" border="0" cellpadding="2" cellspacing="2" class="table table-borderless"> | |||
<tr> | |||
<td width="90">点卡类型:</td> | |||
@@ -79,23 +79,24 @@ $dsql->Close(); | |||
<td height="26"> | |||
<table width="100%" class="table table-borderless"> | |||
<tr> | |||
<td width="74%">结果:</td> | |||
<td width="26%" align="right"> | |||
<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; | |||
} | |||
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','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
<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 bgcolor="#ffffff"> | |||
<td id="mtd"> | |||
<div id='mdv' style='width:100%;height:350px;'> | |||
<div id="mdv" style="width:100%;height:300px"> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> | |||
</div> | |||
</td> | |||
@@ -37,10 +37,10 @@ | |||
} | |||
</script> | |||
</head> | |||
<body background='../static/web/img/allbg.gif' leftmargin='8' topmargin='8'> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-bordered mt-3"> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<tr> | |||
<td height="26" colspan="7" bgcolor="#EDF9D5" background='../static/web/img/tbg.gif'> | |||
<td height="26" colspan="7" background="../static/web/img/tbg.gif"> | |||
<table width="98%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%" style="padding-left:10px">点卡业务管理</td> | |||
@@ -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 align="center" bgcolor="#ffffff" 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> | |||
@@ -7,15 +7,15 @@ | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body background='../static/web/img/allbg.gif' leftmargin='8' topmargin='8'> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-bordered mt-3"> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<form name="form1" action="cards_type.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<tr> | |||
<td height="26" colspan="4" bgcolor="#EDF9D5" background="../static/web/img/tbg.gif">点卡产品分类</td> | |||
<td height="26" colspan="4" background="../static/web/img/tbg.gif">点卡产品分类</td> | |||
</tr> | |||
<tr bgcolor="#FBFCE2"> | |||
<td width="26%" height="26" align="center" valign="top">产品名称</td> | |||
<td width="30%" height="26" align="center" valign="top">产品名称</td> | |||
<td width="27%" align="center" valign="top">点数(金币数)</td> | |||
<td width="30%" align="center">价格</td> | |||
<td width="17%" align="center">状态</td> | |||
@@ -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" bgcolor="#ffffff"> | |||
<td height="26" valign="top"> | |||
<input name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" type="text" id="pname_<?php echo $k?>" class='pubinputs' style="width:90%"> | |||
</td> | |||
@@ -54,7 +54,7 @@ | |||
<td height="26" colspan="4" valign="top" bgcolor="#f8f8f8" style="padding-left:10px"> | |||
新增一个点卡产品类型:</td> | |||
</tr> | |||
<tr height="26" align="center" bgcolor="#FFFFFF"> | |||
<tr height="26" align="center" bgcolor="#ffffff"> | |||
<td valign="top"> | |||
<input name="pname_new" type="text" id="pname_new" class='pubinputs' style="width:90%"> | |||
</td> | |||
@@ -65,7 +65,7 @@ | |||
<input name="money_new" type="text" id="money_new" class='pubinputs' style='width:80%' value="30"> | |||
(元) | |||
</td> | |||
<td align="center" bgcolor="#FFFFFF"> | |||
<td align="center" bgcolor="#ffffff"> | |||
<input name="check_new" type="checkbox" id="check_new" value="1" checked='1' class='np' /> | |||
新增 </td> | |||
</tr> | |||
@@ -113,7 +113,7 @@ function CheckCross() { | |||
} | |||
</script> | |||
</head> | |||
<body leftmargin="15" topmargin="10" bgcolor="#fff"> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#cfcfcf" class="mt-3"> | |||
<tr> | |||
<td width="100%" height="26" valign="top"> | |||
@@ -149,8 +149,8 @@ function CheckCross() { | |||
<table border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="84" height="26" align="center" background="../static/web/img/itemnote1.gif">常规选项</td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="#" onClick="ShowItem2()">高级选项</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="#" onClick="ShowItem3()">栏目内容</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级选项</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -161,9 +161,9 @@ function CheckCross() { | |||
<td colspan="2" bgcolor="#fff" style="text-align:left"> | |||
<table height="26" border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="#" onClick="ShowItem1()">常规选项</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote1.gif">高级选项</td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="#" onClick="ShowItem3()">栏目内容</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -174,8 +174,8 @@ function CheckCross() { | |||
<td colspan="2" bgcolor="#fff" style="text-align:left"> | |||
<table height="26" border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="#" onClick="ShowItem1()">常规选项</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="#" onClick="ShowItem2()">高级选项</td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级选项</td> | |||
<td width="84" align="center" background="../static/web/img/itemnote1.gif">栏目内容</td> | |||
</tr> | |||
</table> | |||
@@ -200,7 +200,7 @@ function CheckCross() { | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">内容模型:</td> | |||
<td class="bline"> | |||
<select name="channeltype" id="channeltype" style="width:200px" onChange="ParTemplet(this)"> | |||
<select name="channeltype" id="channeltype" style="width:260px" onChange="ParTemplet(this)"> | |||
<?php | |||
foreach($channelArray as $k=>$arr) | |||
{ | |||
@@ -496,9 +496,9 @@ function CheckCross() { | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:none" class="mb-3"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr> | |||
<td style="padding:.6rem"> | |||
<td align="center" style="padding:.6rem"> | |||
<button type="submit" class="btn btn-success">确定</button> | |||
<a href="catalog_main.php" class="btn btn-success">返回</a> | |||
</td> | |||
@@ -82,7 +82,7 @@ | |||
} | |||
</style> | |||
</head> | |||
<body leftmargin='15' topmargin='10'> | |||
<body> | |||
<form name="form1" action="catalog_add.php" method="post"> | |||
<input type="hidden" name="dopost" value="savequick"> | |||
<input type="hidden" name="savetype" value="" id="savetype"> | |||
@@ -91,7 +91,7 @@ | |||
<td width="100%" height="26" valign="top"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td height="30"><img height='14' src='../static/web/img/book1.gif' width='20' /> <a href="catalog_main.php">栏目管理</a> > 批量增加栏目 </td> | |||
<td height="30"><img height='14' src='../static/web/img/book1.gif' width='20' /> <a href="catalog_main.php">栏目管理</a> > 批量增加栏目</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -105,19 +105,19 @@ | |||
<td height="10"></td> | |||
</tr> | |||
<tr> | |||
<td height="95" align="left" bgcolor="#FFFFFF"> | |||
<td height="95" align="left" bgcolor="#ffffff"> | |||
<table width="100%" border="0" cellspacing="0" id="head1" cellpadding="0"> | |||
<tr> | |||
<td colspan="2" bgcolor="#FFFFFF"> | |||
<td colspan="2" bgcolor="#ffffff"> | |||
<table width="86" border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规选项 </td> | |||
<td width="86" height="26" align="center" background="../static/web/img/itemnote1.gif">常规选项</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="100%" border="0" id="needset" cellspacing="0" cellpadding="0" style="border:1px solid #dee2e6;background:#ffffff;text-align:left;" class="table"> | |||
<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> | |||
@@ -134,44 +134,40 @@ | |||
<tr> | |||
<td class='bline' height="26" style="padding-left:10px">目录保存位置:</td> | |||
<td class='bline'> | |||
<input name="referpath" type="radio" id="truepath1" class="np" value="parent" | |||
checked='1' /> | |||
<label for="truepath1">默认HMTL目录( | |||
<input name="referpath" type="radio" id="truepath1" class="np" value="parent" checked='1' /> | |||
<label for="truepath1">默认HMTL目录( | |||
<?php | |||
$pardir = '{cmspath}'.$cfg_arcdir; | |||
if(!empty($typedir)) $pardir = $typedir.'/'; | |||
$pardir = preg_replace("#\/{1,}#", '/', $pardir); | |||
echo $pardir; | |||
?> | |||
)</label> | |||
$pardir = '{cmspath}'.$cfg_arcdir; | |||
if(!empty($typedir)) $pardir = $typedir.'/'; | |||
$pardir = preg_replace("#\/{1,}#", '/', $pardir); | |||
echo $pardir; | |||
?>)</label> | |||
<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> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class='bline' height="26" style="padding-left:10px">隶属栏目:</td> | |||
<td class='bline'> | |||
<select name='reid' onchange="showSeltype(this)"> | |||
<option value='0'>选择所属目录 </option> | |||
<option value='0'>选择所属目录</option> | |||
<?php echo $typeOptions; ?> | |||
</select> | |||
(默认为顶级栏目) | |||
</select>(默认为顶级栏目) | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class='bline' height="26" style="padding-left:10px">内容模型: </td> | |||
<td class='bline'><select name="channeltype" id="channeltype" style="width:200px" | |||
onChange="ParTemplet(this)"> | |||
<?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"; | |||
} | |||
?> | |||
<td class='bline'><select name="channeltype" id="channeltype" style="width:260px" onChange="ParTemplet(this)"> | |||
<?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"; | |||
} | |||
?> | |||
</select> | |||
</td> | |||
</tr> | |||
@@ -183,7 +179,8 @@ | |||
<label><input type='radio' name='isdefault' value='0' class='np' /> | |||
链接到列表第一页</label> | |||
<label><input type='radio' name='isdefault' value='-1' class='np' /> | |||
使用动态页</label> </td> | |||
使用动态页</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class='bline' height="26" style="padding-left:10px">默认页的名称:</td> | |||
@@ -220,62 +217,55 @@ | |||
<td bgcolor="#f8f8f8"></td> | |||
</tr> | |||
<tr> | |||
<td colspan='2' style="padding:5px 0px 8px 10px"> | |||
<td colspan='2'> | |||
<table id="addQuick" width="850" border="0" cellpadding="3" cellspacing="1"> | |||
<tbody> | |||
<tr bgcolor="#FBFCE2" align="center"> | |||
<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="520">子栏目(用"目录名称1,目录名称2"这样表示多个栏目)</td> | |||
<td width="250" 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" style="padding:5px;"><input type="hidden" name="posttype" value="" | |||
class="pubinputs"> | |||
<input type="text" name="rank" id="rank" value="1" class="pubinputs" style="width:50px"></td> | |||
<td align='center'><input type="text" name="toptype" id="toptype" class="pubinputs" | |||
style="width:160px"></td> | |||
<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> | |||
<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 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 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:50px"></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> | |||
<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> | |||
<td align="center"><button name="" type="button" id="add" class="btn btn-success btn-sm del">删除</button></td> | |||
</tr> | |||
<?php } ?> | |||
</tbody> | |||
</table> | |||
<table id="addQuickRel" width="302" border="0" cellpadding="3" cellspacing="1" style="display:none"> | |||
<tbody> | |||
<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 width="250" align="center"><button type="button" id="addrel" class="btn btn-success btn-sm">添加</button></td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF" height="30" align="center"> | |||
<td class="rank" style="padding:5px;"><input type="hidden" name="posttype" value="" | |||
class="pubinputs"> | |||
<input type="text" name="rank" id="rank" value="1" class="pubinputs" style="width:50px"></td> | |||
<td align='center'><input type="text" name="reltype" id="reltype" class="pubinputs" | |||
style="width:160px"></td> | |||
<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> | |||
<td align='center'><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"> | |||
<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:50px"></td> | |||
<td align='center'><input type="text" name="reltype<?php echo $i; ?>" | |||
id="reltype<?php echo $i; ?>" class="pubinputs" style="width:160px"></td> | |||
<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="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 } ?> | |||
@@ -284,11 +274,12 @@ | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:none;" class="mb-3"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr> | |||
<td width="1%" height="36"></td> | |||
<td width="99%" valign="bottom" class="py-3"><button type="submit" class="btn btn-success">确定</button> | |||
<a href="catalog_main.php" class="btn btn-success">返回</a></td> | |||
<td align="center" height="36" style="padding:.6rem"> | |||
<button type="submit" class="btn btn-success">确定</button> | |||
<a href="catalog_main.php" class="btn btn-success">返回</a> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -103,7 +103,7 @@ function CheckCross() { | |||
} | |||
</script> | |||
</head> | |||
<body leftmargin="15" topmargin="10" bgcolor="#fff"> | |||
<body> | |||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#cfcfcf" class="mt-3"> | |||
<tr> | |||
<td width="100%" height="26" valign="top"> | |||
@@ -131,8 +131,8 @@ function CheckCross() { | |||
<table border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="84" height="26" align="center" background="../static/web/img/itemnote1.gif">常规选项</td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="#" onClick="ShowItem2()">高级选项</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="#" onClick="ShowItem3()">栏目内容</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级选项</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -143,9 +143,9 @@ function CheckCross() { | |||
<td colspan="2" bgcolor="#fff" style="text-align:left"> | |||
<table height="26" border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="#" onClick="ShowItem1()">常规选项</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote1.gif">高级选项</td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="#" onClick="ShowItem3()">栏目内容</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -156,8 +156,8 @@ function CheckCross() { | |||
<td colspan="2" bgcolor="#fff" style="text-align:left"> | |||
<table height="26" border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="#" onClick="ShowItem1()">常规选项</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="#" onClick="ShowItem2()">高级选项</td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||
<td width="84" align="center" background="../static/web/img/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">高级选项</td> | |||
<td width="84" align="center" background="../static/web/img/itemnote1.gif">栏目内容</td> | |||
</tr> | |||
</table> | |||
@@ -182,7 +182,7 @@ function CheckCross() { | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">内容模型:</td> | |||
<td class="bline"> | |||
<select name="channeltype" id="channeltype" style="width:200px" onChange="ParTemplet(this)"> | |||
<select name="channeltype" id="channeltype" style="width:260px" onChange="ParTemplet(this)"> | |||
<?php | |||
foreach($channelArray as $k=>$arr) | |||
{ | |||
@@ -286,7 +286,7 @@ function CheckCross() { | |||
<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[]' size='5' style='width:120px;height:auto' multiple='yes'> | |||
<?php | |||
$smtypes = explode(',',trim($myrow['smalltypes'])); | |||
$sql = "Select * From `#@__sys_enum` where egroup like 'infotype' order by disorder asc, id desc "; | |||
@@ -431,9 +431,9 @@ function CheckCross() { | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:none" class="mb-3"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f8f8f8" style="border:1px solid #dee2e6;border-top:0" class="mb-3"> | |||
<tr> | |||
<td style="padding:.6rem"> | |||
<td align="center" style="padding:.6rem"> | |||
<button type="submit" class="btn btn-success">确定</button> | |||
<a href="catalog_main.php" class="btn btn-success">返回</a> | |||
</td> | |||
@@ -105,12 +105,12 @@ function SingleMenu(eobj,obj,tid,tname) | |||
td,th{padding:.25rem} | |||
.coolbg2{border:1px solid #ccc;background-color:#F2F5E9;height:18px} | |||
.coolbt2{border-left:2px solid #EFEFEF;border-top:2px solid #EFEFEF;border-right:2px solid #ACACAC;border-bottom:2px solid #ACACAC;background-color:#F7FCDA} | |||
.nbline{border-bottom:1px solid #d6d6d6;background-color:#FFFFFF} | |||
.bline2{border-bottom:1px solid #d6d6d6;background-color:#f8f8f8} | |||
.nbline{border-bottom:1px solid #eee;background-color:#ffffff} | |||
.bline2{border-bottom:1px solid #eee;background-color:#f8f8f8} | |||
.maintable{border:1px solid #DEE2E6} | |||
</style> | |||
</head> | |||
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8" onLoad="ContextMenu.intializeContextMenu()"> | |||
<body onLoad="ContextMenu.intializeContextMenu()"> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="maintable mt-3"> | |||
<tr> | |||
<td height="26" style="background:#f8f8f8"> | |||
@@ -140,7 +140,7 @@ td,th{padding:.25rem} | |||
</tr> | |||
<form name="form1" method="post" action="catalog_do.php?dopost=upRankAll"> | |||
<tr> | |||
<td bgcolor="#FFFFFF" valign="top"> | |||
<td bgcolor="#ffffff" valign="top"> | |||
<?php | |||
if(empty($opendir)) $opendir=-1; | |||
if($userChannel>0) $opendir=$userChannel; | |||
@@ -110,8 +110,8 @@ function JumpMenu(eobj,obj,tid,tname) | |||
} | |||
</script> | |||
<style> | |||
body{padding:3px 0px 0px 0px;margin:auto;text-align:center;background-color:#9ad075} | |||
.nbt{padding:1px 1px 0 1px;vertical-align:middle;margin:2px 0 2px 0;border-left:1px solid #DADF9D;border-top:1px solid #DADF9D;border-right:1px solid #666666;border-bottom:1px solid #666666;background:#eff6b6;height:21px;float:left;margin-left:3px} | |||
body{padding:6px 0px 0px 0px;margin:auto;text-align:center;background-color:#9ad075} | |||
.nbt{padding:1px 1px 0 1px;vertical-align:middle;margin:2px 0 2px 0;border-left:1px solid #DADF9D;border-top:1px solid #DADF9D;border-right:1px solid #424b51;border-bottom:1px solid #424b51;background:#eff6b6;height:21px;float:left;margin-left:3px} | |||
div,dd{margin:0;padding:0} | |||
.dlf{margin-right:3px;margin-left:6px;margin-top:2px;float:left} | |||
.dlr{float:left} | |||
@@ -128,7 +128,7 @@ dl{clear:left;margin:0;padding:0} | |||
</style> | |||
<base target="main"> | |||
</head> | |||
<body target="main" onLoad="ContextMenu.intializeContextMenu()"> | |||
<body onLoad="ContextMenu.intializeContextMenu()"> | |||
<form name="formjump" method="post" target="main" action=""></form> | |||
<table width='160' border='0' align='center' cellpadding='0' cellspacing='0'> | |||
<tr> | |||
@@ -117,7 +117,7 @@ dl{clear:left} | |||
</style> | |||
<base target="main"> | |||
</head> | |||
<body target="main" onLoad="ContextMenu.intializeContextMenu()"> | |||
<body onLoad="ContextMenu.intializeContextMenu()"> | |||
<table width="100%" border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td height="36" colspan="2" style="padding:10px"> | |||
@@ -7,16 +7,16 @@ | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body background='../static/web/img/allbg.gif' leftmargin='8'> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="1" align="center" class="table maintable table-bordered mt-3"> | |||
<body> | |||
<table width="98%" border="0" cellpadding="0" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<form name="form1" action="content_att.php" method="post"> | |||
<input type="hidden" name="dopost" value="save"> | |||
<tr> | |||
<td height="26" colspan="3" background='../static/web/img/tbg.gif' style="padding-left:10px">文档自定义属性管理 | |||
<td height="26" colspan="3" background="../static/web/img/tbg.gif" style="padding-left:10px">文档自定义属性管理 | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="30" colspan="3" bgcolor="#FFFFFF"> | |||
<td height="30" colspan="3" bgcolor="#ffffff"> | |||
自定义属性的意义和使用说明:<br> | |||
在以往的版本中,网站主页、频道封面的设计,都只能单调的用 arclist 标记把某栏目最新或按特定排序方式的文档无选择的读出来,这样做法存在很大的不足,例如,我希望在最顶部的地方显示我想要的文档,在以往的版本中是无法做到的,但使用自定义属性之后,只要给arclist 标记加上 att='自定义属性的ID' 的属性,然后在发布的时候对适合的文档选择专门的属性,那么使用arclist的地方就会按您的意愿显示指定的文档<br> | |||
注意事项:这个版本中att对应的字段是SET类型字段,因此为了数据安全起见不允许用户增加其它类型,但调用时允许使用组合条件,如:att='c,p'表示推荐图片新闻 | |||
@@ -36,7 +36,7 @@ | |||
$k++; | |||
?> | |||
<input type="hidden" name="att_<?php echo $k?>" value="<?php echo $row->att?>"> | |||
<tr bgcolor="#FFFFFF" height="26"> | |||
<tr bgcolor="#ffffff" height="26"> | |||
<td align="center"> | |||
<?php echo $row->att; ?> | |||
</td> | |||
@@ -55,7 +55,7 @@ | |||
<td height="26" colspan="3" bgcolor="#f8f8f8"></td> | |||
</tr> | |||
<tr> | |||
<td height="30" colspan="3" align="center" bgcolor="#FFFFFF"> | |||
<td height="30" colspan="3" align="center" bgcolor="#ffffff"> | |||
<button type="submit" class="btn btn-success">确定</button> | |||
</td> | |||
</tr> | |||
@@ -54,12 +54,12 @@ | |||
}) | |||
</script> | |||
</head> | |||
<body background='../static/web/img/allbg.gif' leftmargin='8' topmargin='8'> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable table-bordered mt-3"> | |||
<body> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<form name="form1" action="content_batchup_action.php" target="stafrm" method="post"> | |||
<input type="hidden" name="dopost" value="go"> | |||
<tr> | |||
<td height="26" colspan="2" background='../static/web/img/tbg.gif'> | |||
<td 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> | |||
@@ -69,12 +69,12 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="180" align="center" bgcolor="#FFFFFF">选定栏目:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<td width="180" align="center" bgcolor="#ffffff">选定栏目:</td> | |||
<td bgcolor="#ffffff"> | |||
<?php | |||
$tl = new TypeLink(0); | |||
$typeOptions = $tl->GetOptionArray(0,$admin_catalogs,0,1); | |||
echo "<select name='typeid' style='width:300px'>\r\n"; | |||
echo "<select name='typeid' style='width:260px'>\r\n"; | |||
echo "<option value='0' selected>不限栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
@@ -82,15 +82,15 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="center" bgcolor="#FFFFFF">起始ID:</td> | |||
<td height="26" bgcolor="#FFFFFF">开始: | |||
<td height="26" align="center" bgcolor="#ffffff">起始ID:</td> | |||
<td height="26" bgcolor="#ffffff">开始: | |||
<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"> | |||
<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"> | |||
<tr> | |||
<td colspan="2"> <label> | |||
@@ -111,12 +111,12 @@ | |||
</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" align="center" bgcolor="#ffffff">用户的登录id:</td> | |||
<td height="26" bgcolor="#ffffff"><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" align="center" bgcolor="#ffffff">操作:</td> | |||
<td height="26" bgcolor="#ffffff"> | |||
<label><input name="action" type="radio" class="np" id="checkradio" onClick="ShowHideMove()" value="check" | |||
checked='1' /> | |||
审核文档</label> | |||
@@ -127,9 +127,9 @@ | |||
<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 height="26" bgcolor="#ffffff"> | |||
<td height="26" align="center" bgcolor="#ffffff">移动选项:</td> | |||
<td height="26" bgcolor="#ffffff"> | |||
<?php | |||
echo "<span id='moveField' style='display:none'>新位置:"; | |||
echo "<select name='newtypeid' style='width:250px'>\r\n"; | |||
@@ -150,23 +150,24 @@ | |||
<td height="26" colspan="2"> | |||
<table width="100%" class="table table-borderless"> | |||
<tr> | |||
<td width="74%">进行状态:</td> | |||
<td width="26%" align="right"> | |||
<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; | |||
} | |||
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','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>] | |||
<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 bgcolor="#ffffff"> | |||
<td colspan="2" id="mtd"> | |||
<div id='mdv' style='width:100%;height:250px'> | |||
<div id="mdv" style="width:100%;height:300px"> | |||
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> | |||
</div> | |||
</td> | |||
@@ -174,7 +175,7 @@ | |||
<form name="form2" action="content_batchup_action.php" target="stafrm" method="post"> | |||
<input type="hidden" name="dopost" value="go"> | |||
<tr> | |||
<td height="26" colspan="2" background='../static/web/img/tbg.gif'> | |||
<td 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> | |||
@@ -183,8 +184,8 @@ | |||
</table> | |||
</td> | |||
</tr> | |||
<tr height="26" bgcolor="#FFFFFF"> | |||
<td height="26" colspan="2" align="center" bgcolor="#FFFFFF"> | |||
<tr height="26" bgcolor="#ffffff"> | |||
<td height="26" colspan="2" align="center" bgcolor="#ffffff"> | |||
<label><input type='radio' value='delnulltitle' name='action' class='np' /> | |||
删除空标题的文章</label> | |||
<label><input type='radio' value='delnullbody' name='action' class='np' /> | |||
@@ -17,8 +17,8 @@ | |||
img{margin-right:0} | |||
</style> | |||
</head> | |||
<body leftmargin="8" topmargin="8" background="../static/web/img/allbg.gif" onLoad="ContextMenu.intializeContextMenu()"> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable table-bordered mt-3"> | |||
<body onLoad="ContextMenu.intializeContextMenu()"> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable mt-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> | |||
@@ -67,7 +67,7 @@ img{margin-right:0} | |||
</tr> | |||
</table> | |||
</form> | |||
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table table-bordered maintable" style="margin-top:10px"> | |||
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable" style="margin-top:10px"> | |||
<tr> | |||
<td height="30" colspan="10" style="margin-left:10px;background:#f8f8f8">{dede:global.positionname/}文档列表(使用鼠标右键进行常用操作)</td> | |||
</tr> | |||
@@ -83,7 +83,7 @@ img{margin-right:0} | |||
</table> | |||
<form name="form2"> | |||
{dede:datalist empty='<center>暂无内容</center>'} | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" class="ilist" align="center" class="table" style="margin-top:10px"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="ilist" style="margin-top:10px"> | |||
<tr> | |||
<td width="12%" align="center" class="py-3"><img src="{dede:field.litpic function='CheckPic(@me)'/}" alt="文档图片" style="max-width:80px;max-height:60px"></td> | |||
<td width="32%" class="pl-3"> | |||
@@ -106,7 +106,7 @@ img{margin-right:0} | |||
</table> | |||
{/dede:datalist} | |||
</form> | |||
<table width="98%" border="0" cellspacing="1" cellpadding="1" align="center"> | |||
<table width="98%" border="0" cellspacing="1" cellpadding="1" align="center" class="mb-3"> | |||
<tr> | |||
<td height="36" colspan="10" class="py-3" style="background:#fff"> | |||
<a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a> | |||
@@ -123,7 +123,7 @@ img{margin-right:0} | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="36" colspan="10" align="center" class="py-3" style="background:#f8f8f8">{dede:pagelist listsize=5/}</td> | |||
<td height="36" colspan="10" align="center" class="py-3" style="background:#f8f8f8">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</body> |
@@ -14,8 +14,8 @@ | |||
<script src="js/main.js"></script> | |||
<script src="js/list.js"></script> | |||
</head> | |||
<body leftmargin="8" topmargin="8" background="../static/web/img/allbg.gif" onLoad="ContextMenu.intializeContextMenu()"> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable table-bordered mt-3"> | |||
<body onLoad="ContextMenu.intializeContextMenu()"> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable mt-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> | |||
@@ -71,7 +71,7 @@ | |||
</table> | |||
</form> | |||
<form name="form2"> | |||
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table table-bordered maintable" style="margin-top:10px"> | |||
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable" style="margin-top:10px"> | |||
<tr> | |||
<td height="30" colspan="10" style="margin-left:10px;background:#f8f8f8">{dede:global.positionname/}文档列表(使用鼠标右键进行常用操作)</td> | |||
</tr> | |||
@@ -99,9 +99,9 @@ | |||
<td>{dede:field.arcrank function="GetRankName(@me)"/}</td> | |||
<td>{dede:field.mid function=GetMemberName(@me)/}</td> | |||
<td> | |||
<a href="javascript:;" title="属性" class="btn btn-success btn-sm" onClick="QuickEdit('{dede:field.id/}',event,this);"><i class="fa fa-cogs" aria-hidden="true"></i></a> | |||
<a href="javascript:;" title="编辑" class="btn btn-success btn-sm" onClick="editArc({dede:field.id/});"><i class="fa fa-pencil-square-o" aria-hidden="true"></i></a> | |||
<a href="javascript:;" title="预览" class="btn btn-success btn-sm" onClick="viewArc({dede:field.id/});"><i class="fa fa-globe" aria-hidden="true"></i></a> | |||
<a href="javascript:;" title="属性" class="btn btn-success btn-sm" onClick="QuickEdit('{dede:field.id/}',event,this);"><i class="fa fa-cogs"></i></a> | |||
<a href="javascript:;" title="编辑" class="btn btn-success btn-sm" onClick="editArc({dede:field.id/});"><i class="fa fa-pencil-square-o"></i></a> | |||
<a href="javascript:;" title="预览" class="btn btn-success btn-sm" onClick="viewArc({dede:field.id/});"><i class="fa fa-globe"></i></a> | |||
</td> | |||
</tr> | |||
{/dede:datalist} | |||
@@ -104,8 +104,8 @@ function noSelAll() { | |||
} | |||
</script> | |||
</head> | |||
<body leftmargin="8" topmargin="8" background="../static/web/img/allbg.gif" onLoad="ContextMenu.intializeContextMenu()"> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable table-bordered mt-3"> | |||
<body onLoad="ContextMenu.intializeContextMenu()"> | |||
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable mt-3"> | |||
<tr> | |||
<td> | |||
<button type="button" class="btn btn-success btn-sm" onClick="location='makehtml_spec.php';">更新专题</button> | |||
@@ -137,7 +137,7 @@ function noSelAll() { | |||
</tr> | |||
</table> | |||
</form> | |||
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table table-bordered maintable" style="margin-top:10px"> | |||
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable" style="margin-top:10px"> | |||
<tr> | |||
<td height="30" colspan="10" style="margin-left:10px;background:#f8f8f8">文章列表(在文章标题处使用鼠标右键进行常用操作)</td> | |||
</tr> | |||
@@ -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" 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'])?>')"> | |||
<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=5/}</td> | |||
<td height="36" colspan="9" align="center" style="background:#f8f8f8">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</body> |
@@ -46,8 +46,8 @@ | |||
} | |||
</script> | |||
</head> | |||
<body leftmargin="0" topmargin="0" background='../static/web/img/allbg.gif'> | |||
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="table maintable table-bordered mt-3"> | |||
<body> | |||
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="table maintable mt-3"> | |||
<tr bgcolor="#E7E7E7"> | |||
<td height="26" colspan="9" background="../static/web/img/tbg.gif">文章列表</td> | |||
</tr> | |||
@@ -64,8 +64,8 @@ | |||
<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';" | |||
onMouseOut="javascript:this.bgColor='#FFFFFF';" height="26"> | |||
<tr align='center' bgcolor="#ffffff" onMouseMove="javascript:this.bgColor='#FCFDEE';" | |||
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> | |||
<td align='left'><a href='archives_do.php?aid={dede:field.id/}&dopost=editArchives'>{dede:field.title/}</a></td> | |||
@@ -86,9 +86,7 @@ | |||
</tr> | |||
</form> | |||
<tr align="right" bgcolor="#EEF4EA"> | |||
<td height="26" colspan="9" align="center"> | |||
{dede:pagelist listsize=5/} | |||
</td> | |||
<td height="26" colspan="9" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
<table width='100%' align="center" border='0' cellpadding='1' cellspacing='1' bgcolor='#CBD8AC' class="table maintable table-borderless"> | |||
@@ -142,8 +142,8 @@ | |||
} | |||
</script> | |||
</head> | |||
<body leftmargin="8" topmargin="8" background='../static/web/img/allbg.gif' onLoad="ContextMenu.intializeContextMenu()"> | |||
<table width="98%" align="center" border="0" cellspacing="0" cellpadding="0" class="table table-bordered maintable mt-3"> | |||
<body onLoad="ContextMenu.intializeContextMenu()"> | |||
<table width="98%" align="center" border="0" cellspacing="0" cellpadding="0" class="table maintable mt-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> | |||
@@ -181,7 +181,7 @@ | |||
</tr> | |||
</table> | |||
</form> | |||
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table table-bordered maintable" style="margin-top:10px"> | |||
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable" style="margin-top:10px"> | |||
<tr bgcolor="#E7E7E7"> | |||
<td height="30" colspan="9" background="../static/web/img/tbg.gif" style="padding-left:10px">{dede:global.positionname/}文档列表(使用鼠标右键进行常用操作)</td> | |||
</tr> | |||
@@ -219,11 +219,11 @@ | |||
<td height="26" colspan="9"> | |||
<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> | |||
<a class="btn btn-success btn-sm" href="javascript:updateArc(0)" class="coolbg"> 更新 </a> | |||
<a class="btn btn-success btn-sm" href="javascript:checkArc(0)" class="coolbg"> 审核 </a> | |||
<a class="btn btn-success btn-sm" href="javascript:adArc(0)" class="coolbg"> 推荐 </a> | |||
<a class="btn btn-success btn-sm" href="javascript:;" onClick="moveArc(event,this,<?php echo (empty($channelid) ? 0 : $channelid); ?>)" class="coolbg"> 移动 </a> | |||
<a class="btn btn-success btn-sm" href="javascript:delArc(0)" class="coolbg"> 删除 </a> | |||
<a class="btn btn-success btn-sm" href="javascript:updateArc(0)" class="coolbg">更新</a> | |||
<a class="btn btn-success btn-sm" href="javascript:checkArc(0)" class="coolbg">审核</a> | |||
<a class="btn btn-success btn-sm" href="javascript:adArc(0)" class="coolbg">推荐</a> | |||
<a class="btn btn-success btn-sm" href="javascript:;" onClick="moveArc(event,this,<?php echo (empty($channelid) ? 0 : $channelid); ?>)" class="coolbg">移动</a> | |||
<a class="btn btn-success btn-sm" href="javascript:delArc(0)" class="coolbg">删除</a> | |||
<?php | |||
if(!empty($f)) { | |||
?> | |||
@@ -235,9 +235,7 @@ | |||
</tr> | |||
</form> | |||
<tr align="right" bgcolor="#f8f8f8"> | |||
<td height="26" colspan="9" align="center"> | |||
{dede:pagelist listsize=3/} | |||
</td> | |||
<td height="26" colspan="9" align="center">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</body> |
@@ -5,15 +5,15 @@ | |||
<title>文档信息统计</title> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body background='../static/web/img/allbg.gif' leftmargin='8' topmargin='8'> | |||
<body> | |||
<table width="98%" border="0" cellpadding="3" cellspacing="1" align="center"> | |||
<tr> | |||
<td height="26" colspan="2" background='../static/web/img/tbg.gif'> | |||
<td height="26" colspan="2" background="../static/web/img/tbg.gif"> | |||
文档信息统计: | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="250" colspan="2" align="center" valign="top" bgcolor="#FFFFFF"> | |||
<td height="250" colspan="2" align="center" valign="top" bgcolor="#ffffff"> | |||
<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 bgcolor="#ffffff"> | |||
<td width="140" bgcolor="#F3ECDA"> 文档总数:</td> | |||
<td width="150">[<?php echo $row1['dd']?>]</td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<tr bgcolor="#ffffff"> | |||
<td bgcolor="#F3ECDA"> 评论总数:</td> | |||
<td>[<?php echo $row2['dd']?>]</td> | |||
</tr> | |||
<tr bgcolor="#FFFFFF"> | |||
<tr bgcolor="#ffffff"> | |||
<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" bgcolor="#ffffff"> | |||
<td><?php echo $row->typename?></td> | |||
<td> | |||
[<?php echo (isset($arcs[$row->id]) ? $arcs[$row->id] : 0 ); ?>] | |||
@@ -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"> | |||
@@ -21,7 +21,7 @@ | |||
</script> | |||
<style> | |||
.STYLE1 { | |||
color: #FF0000 | |||
color: #dc3545 | |||
} | |||
td { | |||
@@ -31,67 +31,67 @@ | |||
} | |||
.STYLE2 { | |||
color: #666666; | |||
color: #424b51; | |||
display: none; | |||
} | |||
</style> | |||
</head> | |||
<body background='../static/web/img/allbg.gif' leftmargin='8' topmargin='8'> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-bordered mt-3"> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<form name="form1" action="diy_add.php?action=add" method="post" onSubmit="return checkSubmit();"> | |||
<tr> | |||
<td height="26" colspan="2" bgcolor="#EDF9D5" background='../static/web/img/tbg.gif'> | |||
<td height="26" colspan="2" background="../static/web/img/tbg.gif"> | |||
<a href="diy_main.php">自定义表单管理</a> > 新增自定义表单 | |||
</td> | |||
</tr> | |||
<tr> | |||
<td width="160" height="26" align="left" bgcolor="#FFFFFF"> | |||
<td width="160" height="26" align="left" bgcolor="#ffffff"> | |||
diyid:<br> | |||
<span class="STYLE2" id='help1'>数字,创建后不可修改,并具有唯一性推荐使用默认值</span> | |||
</td> | |||
<td bgcolor="#FFFFFF"> | |||
<td bgcolor="#ffffff"> | |||
<input name="diyid" type="text" id="diyid" size="10" value="<?php echo $newdiyid?>" class='pubinputs' | |||
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" bgcolor="#ffffff"> | |||
自定义表单名称:<br> | |||
<span class="STYLE2" id="help3">自定义表单的中文名称,在后台管理,前台发布等均使用此名字</span> | |||
</td> | |||
<td bgcolor="#FFFFFF"> | |||
<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> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#FFFFFF">数据表:<br> | |||
<td height="26" align="left" bgcolor="#ffffff">数据表:<br> | |||
<span class="STYLE2" id="help5">必须由英文、数字、下划线组成,用于保存自定义表单数据,不能和已有表名重复,创建后不可修改表名</span></td> | |||
<td bgcolor="#FFFFFF"> | |||
<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> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#FFFFFF">字段配置:</td> | |||
<td bgcolor="#FFFFFF"><span class="STYLE1">建立自定义表单后在“修改”自定义表单的地方添加字段即可</span></td> | |||
<td height="26" align="left" bgcolor="#ffffff">字段配置:</td> | |||
<td bgcolor="#ffffff"><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" 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> | |||
</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" 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> | |||
</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" 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> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#FFFFFF">前台列表和内容页公开:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<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> | |||
@@ -101,7 +101,7 @@ | |||
<td height="26" colspan="2"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-borderless"> | |||
<tr> | |||
<td width="26%" height="36"></td> | |||
<td width="30%" height="36"></td> | |||
<td width="15%"> | |||
<button type="submit" name="button" id="button" class='btn btn-success'>确定</button> | |||
</td> | |||
@@ -26,7 +26,7 @@ | |||
</script> | |||
<style> | |||
.STYLE1 { | |||
color: #FF0000 | |||
color: #dc3545 | |||
} | |||
td { | |||
@@ -36,29 +36,25 @@ | |||
} | |||
.STYLE2 { | |||
color: #666666; | |||
color: #424b51; | |||
display: none; | |||
} | |||
</style> | |||
</head> | |||
<body background='../static/web/img/allbg.gif' leftmargin='8' topmargin='8'> | |||
<div class="bodytitle mt-3 mb-3"> | |||
<div class="bodytitleleft"></div> | |||
<div class="bodytitletxt">自定义表单管理</div> | |||
</div> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-bordered"> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-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" bgcolor="#EDF9D5" background='../static/web/img/tbg.gif' style="padding-left:10px"> | |||
<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> | |||
<td width="170" height="26" align="left" bgcolor="#ffffff">自定义表单 diyid:<br> | |||
<span class="STYLE2" id='help1'>数字,创建后不可修改,并具有唯一性</span></td> | |||
<td bgcolor="#FFFFFF"> | |||
<td bgcolor="#ffffff"> | |||
<?php echo $diyid; ?> | |||
<img src="../static/web/img/help.gif" alt="帮助" border="0" style="cursor:hand" onClick="showHide2('help1')"> | |||
</td> | |||
@@ -72,9 +68,9 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#FFFFFF">数据表:<br> | |||
<td height="26" align="left" bgcolor="#ffffff">数据表:<br> | |||
<span class="STYLE2" id="help5">自定义表单数据表创建后不可修改表名</span></td> | |||
<td bgcolor="#FFFFFF"> | |||
<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> | |||
@@ -89,7 +85,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td colspan='2' bgcolor="#FFFFFF" style="padding:6px"> | |||
<td colspan='2' bgcolor="#ffffff"> | |||
<table width="100%" border="0" cellpadding="1" cellspacing="1" align="center"> | |||
<tr align="center" bgcolor="#FBFCE2" height="26"> | |||
<td width="28%">表单提示文字</td> | |||
@@ -112,7 +108,7 @@ $dtp->LoadSource($fieldset); | |||
if(is_array($dtp->CTags)){ | |||
foreach($dtp->CTags as $ctag) | |||
{ | |||
?> <tr align="center" bgcolor="#FFFFFF" height="26"> | |||
?> <tr align="center" bgcolor="#ffffff" height="26"> | |||
<td> | |||
<?php | |||
$itname = $ctag->GetAtt('itemname'); | |||
@@ -138,8 +134,8 @@ foreach($dtp->CTags as $ctag) | |||
?> | |||
</td> | |||
<td> | |||
<a href="diy_field_edit.php?diyid=<?php echo $diyid; ?>&fname=<?php echo $ctag->GetTagName()?>" class="btn btn-success btn-sm"> <i class="fa fa-pencil-square-o" aria-hidden="true"></i> 修改</a> | |||
<a href="diy_field_edit.php?diyid=<?php echo $diyid; ?>&action=delete&fname=<?php echo $ctag->GetTagName()?>" class="btn btn-success btn-sm"> <i class="fa fa-globe" aria-hidden="true"></i> 删除</a> | |||
<a href="diy_field_edit.php?diyid=<?php echo $diyid; ?>&fname=<?php echo $ctag->GetTagName()?>" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i> 修改</a> | |||
<a href="diy_field_edit.php?diyid=<?php echo $diyid; ?>&action=delete&fname=<?php echo $ctag->GetTagName()?>" class="btn btn-success btn-sm"><i class="fa fa-globe"></i> 删除</a> | |||
</td> | |||
</tr> | |||
<?php | |||
@@ -150,26 +146,26 @@ foreach($dtp->CTags as $ctag) | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#FFFFFF">列表模板:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<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> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#FFFFFF">内容模板:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<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> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#FFFFFF">发布模板:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<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> | |||
</tr> | |||
<tr> | |||
<td height="26" align="left" bgcolor="#FFFFFF">前台列表和内容页公开:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<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' : ''; ?> | |||
@@ -182,7 +178,7 @@ foreach($dtp->CTags as $ctag) | |||
<td height="26" colspan="2"> | |||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-borderless"> | |||
<tr> | |||
<td width="26%" height="36"></td> | |||
<td width="30%" height="36"></td> | |||
<td width="15%"> | |||
<button type="submit" name="button" id="button" class='btn btn-success'>确定</button> | |||
</td> | |||
@@ -3,11 +3,6 @@ | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title>编辑评论</title> | |||
<style> | |||
body { | |||
background-image: url(../static/web/img/allbg.gif); | |||
} | |||
</style> | |||
<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"> | |||
@@ -17,11 +12,10 @@ body { | |||
<body> | |||
<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> | |||
<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" valign="top"> | |||
<td height="167" colspan="2" align="center" bgcolor="#ffffff" valign="top"> | |||
<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']; ?>"> | |||
@@ -50,7 +44,7 @@ body { | |||
} | |||
echo "<input type='hidden' name='dede_fields' value='".$formfields."'>"; | |||
?> | |||
<tr bgcolor="#FFFFFF"> | |||
<tr bgcolor="#ffffff"> | |||
<td height="36" width='600' colspan="2" align="center"> | |||
<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> | |||
@@ -66,70 +66,62 @@ function GetFields() | |||
} | |||
</script> | |||
<style> | |||
td{ padding:2px; padding-left:6px; line-height:150%; } | |||
td{ padding:6px; padding-left:6px; line-height:26px } | |||
.STYLE1 {color: #FF3300} | |||
.STYLE2 {color: #666666} | |||
.STYLE2 {color: #424b51} | |||
.nw { float:left; width:150px; } | |||
.cls { clear:both; } | |||
</style> | |||
</head> | |||
<body background='../static/web/img/allbg.gif' leftmargin='8' topmargin='8'> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-bordered mt-3"> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3"> | |||
<form name="form1" action="diy_field_add.php" method="post" onSubmit="return GetFields();"> | |||
<input type='hidden' name='action' value='save'> | |||
<input type='hidden' name='diyid' value='<?php echo $diyid?>'> | |||
<input type='hidden' name='fieldstring' value=''> | |||
<tr> | |||
<td height="26" colspan="2" bgcolor="#EDF9D5" background="../static/web/img/tbg.gif"> | |||
<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 align="right" style="padding-top:6px;"> | |||
<td width="30%"><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> | |||
</tr> | |||
</table> </td> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" bgcolor="#FFFFFF"><span class="STYLE1">所有填写的内容不允许包含双引号["],否则配置将无法写入</span></td> | |||
<td colspan="2" bgcolor="#ffffff"><span class="STYLE1">所有填写的内容不允许包含双引号["],否则配置将无法写入</span></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FFFFFF">表单提示文字:<br> | |||
<span class="STYLE2">发布内容时显示的提示文字</span></td> | |||
<td bgcolor="#FFFFFF"> | |||
<input name="itemname" type="text" id="itemname" class="pubinputs"> | |||
*</td> | |||
<td bgcolor="#ffffff">表单提示文字:<br> | |||
<span class="STYLE2">发布内容时显示的提示文字</span> | |||
</td> | |||
<td bgcolor="#ffffff"><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 width="28%" bgcolor="#ffffff">字段名称:<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 width="72%" bgcolor="#ffffff"> <input name="fieldname" type="text" id="fieldname" class="pubinputs"> *</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FFFFFF"> | |||
内容是否需要分页符:<br> | |||
<span class="STYLE2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span> | |||
<td bgcolor="#ffffff">内容是否需要分页符:<br> | |||
<span class="STYLE2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span> | |||
</td> | |||
<td bgcolor="#FFFFFF"> | |||
<td bgcolor="#ffffff"> | |||
<input name="isnull" type="hidden" value="1"> | |||
<label><input name="spage" type="radio" value="split" class='np' /> | |||
是</label> | |||
| |||
<label><input name="spage" type="radio" value="no" class='np' checked='1' /> | |||
否</label> | |||
</td> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FFFFFF"> | |||
数据类型: | |||
</td> | |||
<td bgcolor="#FFFFFF"> | |||
<td bgcolor="#ffffff">数据类型:</td> | |||
<td bgcolor="#ffffff"> | |||
<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> | |||
@@ -143,58 +135,39 @@ td{ padding:2px; padding-left:6px; line-height:150%; } | |||
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype14' value="radio"> 使用radio选项卡</label></div> | |||
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype15' value="checkbox"> Checkbox多选框</label></div> | |||
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype9' value="img"> 图片</label></div> | |||
<!--div class='nw'><input type='radio' class='np' name='dtype' id='dtype10' value="imgfile">图片(仅网址)</div--> | |||
<!--div class='nw'><input type='radio' class='np' name='dtype' id='dtype11' value="media">多媒体文件</div--> | |||
<div class='nw'><label><input type='radio' class='np' name='dtype' id='dtype12' value="addon"> 附件类型</label></div> | |||
<!--div class='nw'><input type='radio' class='np' name='dtype' id='dtype16' value="stepselect">联动类型</div--> | |||
</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"></textarea> | |||
<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"></textarea></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FFFFFF">最大长度:<br> | |||
<span class="STYLE2"> | |||
文本数据必须填写,大于255为text类型 | |||
</span> | |||
<td bgcolor="#ffffff">最大长度:<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 bgcolor="#ffffff"><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 bgcolor="#ffffff">自定义表单HTML:</td> | |||
<td bgcolor="#ffffff">自定义表单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" bgcolor="#ffffff"></td> | |||
<td bgcolor="#ffffff"><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 width="26%" height="36"></td> | |||
<td width="10%"> | |||
<button type="submit" class="btn btn-success">确定</button> | |||
</td> | |||
<td> | |||
<button type="reset" class="btn btn-success">重置</button> | |||
</td> | |||
<td width="30%" height="36"></td> | |||
<td width="10%"><button type="submit" class="btn btn-success">确定</button></td> | |||
<td><button type="reset" class="btn btn-success">重置</button></td> | |||
</tr> | |||
</table> | |||
</td> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
@@ -22,41 +22,36 @@ 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((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+"\""; | |||
revalue += " isnull=\""+sisnull+"\" default=\""+vdefault+"\" "; | |||
revalue += " maxlength=\""+maxlength+"\" page=\""+spage+"\">\r\n"+vinnertext+"</field:"+fieldname+">\r\n"; | |||
document.form1.fieldstring.value = revalue; | |||
return true; | |||
} | |||
</script> | |||
<style> | |||
td{ padding:2px; padding-left:6px; } | |||
td{ padding:6px; padding-left:6px; } | |||
.STYLE1 {color: #FF3300} | |||
.STYLE2 {color: #666666} | |||
.STYLE2 {color: #424b51} | |||
.nw { float:left; width:150px; } | |||
.cls { clear:both; } | |||
</style> | |||
</head> | |||
<body topmargin=8 background='../static/web/img/allbg.gif'> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-bordered mt-3"> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-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?>'> | |||
@@ -64,42 +59,40 @@ td{ padding:2px; padding-left:6px; } | |||
<input type='hidden' name='issystem' value='<?php echo $issystem?>'> | |||
<input type='hidden' name='fieldstring' value=''> | |||
<tr> | |||
<td height="26" colspan="2" bgcolor="#EDF9D5" background="../static/web/img/tbg.gif"> | |||
<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%" style="padding-left:10px"><a href="diy_main.php">自定义表单管理</a> > 修改字段: </td> | |||
<td align="right" style="padding-top:6px;"> | |||
<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> | |||
</tr> | |||
</table> </td> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FFFFFF">表单提示文字:<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 bgcolor="#ffffff">表单提示文字:<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> | |||
</tr> | |||
<tr> | |||
<td width="28%" bgcolor="#FFFFFF">字段名称:<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="28%" bgcolor="#ffffff">字段名称:<br> | |||
<span class="STYLE2">只能用英文字母或数字,数据表的真实字段名</span> | |||
</td> | |||
<td width="72%" bgcolor="#ffffff" style="table-layout:fixed;word-break:break-all"><?php echo $fname?></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FFFFFF">数据类型:</td> | |||
<td bgcolor="#FFFFFF"> | |||
<select name="dtype" id="type" style="width:200px"> | |||
<td bgcolor="#ffffff">数据类型:</td> | |||
<td bgcolor="#ffffff"> | |||
<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"; | |||
$canchange = true; | |||
} | |||
else | |||
{ | |||
} else { | |||
echo "<option value='{$dtype}'>系统专用类型</option>\r\n"; | |||
$canchange = false; | |||
} | |||
@@ -122,18 +115,12 @@ td{ padding:2px; padding-left:6px; } | |||
} | |||
?> | |||
</select> | |||
<!-- | |||
//取消的类型 | |||
option value="textdata">文本保存HTML数据</option> | |||
<option value="imgfile">图片(仅网址)</option> | |||
<option value="media">多媒体文件</option> | |||
<option value="stepselect">联动类型</option--> | |||
</td> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FFFFFF">内容是否需要分页符:<br> | |||
<td bgcolor="#ffffff">内容是否需要分页符:<br> | |||
<span class="STYLE2">如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td> | |||
<td bgcolor="#FFFFFF"> | |||
<td bgcolor="#ffffff"> | |||
<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> | |||
@@ -141,38 +128,35 @@ td{ padding:2px; padding-left:6px; } | |||
否</label></td> | |||
</tr> | |||
<tr> | |||
<td bgcolor="#FFFFFF">默认值:<br> | |||
<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 bgcolor="#ffffff"><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> | |||
<td bgcolor="#ffffff">最大长度:<br> | |||
<span class="STYLE2"> 文本数据必须填写,大于255为text类型 </span></td> | |||
<td bgcolor="#FFFFFF"> | |||
<td bgcolor="#ffffff"> | |||
<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 bgcolor="#ffffff" style="padding-left:10px">自定义表单HTML:</td> | |||
<td bgcolor="#ffffff"> | |||
自定义表单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" 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> | |||
</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 width="26%" height="36"></td> | |||
<td width="10%" class="py-3"> | |||
<button type="submit" class="btn btn-success">确定</button> | |||
</td> | |||
<td class="py-3"> | |||
<button type="reset" class="btn btn-success">重置</button> | |||
</td> | |||
<td width="30%" height="36"></td> | |||
<td width="10%" class="py-3"><button type="submit" class="btn btn-success">确定</button></td> | |||
<td class="py-3"><button type="reset" class="btn btn-success">重置</button></td> | |||
</tr> | |||
</table></td> | |||
</table> | |||
</td> | |||
</tr> | |||
</form> | |||
</table> | |||
@@ -7,14 +7,10 @@ | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8"> | |||
<div class="bodytitle mt-3 mb-3"> | |||
<div class="bodytitleleft"></div> | |||
<div class="bodytitletxt"><?php echo $diy->name; ?>列表</div> | |||
</div> | |||
<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"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-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> | |||
@@ -7,14 +7,10 @@ | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
</head> | |||
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8"> | |||
<div class="bodytitle mt-3 mb-3"> | |||
<div class="bodytitleleft"></div> | |||
<div class="bodytitletxt">自定义表单管理</div> | |||
</div> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="maintable" style="border:1px solid #dee2e6;border-bottom:none"> | |||
<body> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="maintable mt-3" style="border:1px solid #dee2e6;border-bottom:none"> | |||
<tr> | |||
<td bgcolor="#EDF9D5" class="tbtitletxt" background="../static/web/img/tbg.gif"> | |||
<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> | |||
@@ -24,7 +20,7 @@ | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-bordered" style="margin-bottom:10px;background:#CFCFCF"> | |||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable" style="margin-bottom:10px;background:#CFCFCF"> | |||
<tr align="center" bgcolor="#FBFCE2" height="26"> | |||
<td>diyid</td> | |||
<td>名称</td> | |||
@@ -32,15 +28,15 @@ | |||
<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" bgcolor="#ffffff" 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> | |||
<td> | |||
<a href="diy_edit.php?diyid={dede:field.diyid/}&dopost=edit" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o" aria-hidden="true"></i> 修改</a> | |||
<a href="diy_edit.php?diyid={dede:field.diyid/}&dopost=delete" class="btn btn-success btn-sm"><i class="fa fa-trash" aria-hidden="true"></i> 删除</a> | |||
<a href="diy_list.php?action=excel&diyid={dede:field.diyid/}" target="_blank" class="btn btn-success btn-sm"><i class="fa fa-share-square" aria-hidden="true"></i> 导出</a> | |||
<a href="../apps/diy.php?action=list&diyid={dede:field.diyid/}" class="btn btn-success btn-sm" target="_blank"><i class="fa fa-globe" aria-hidden="true"></i> 预览</a> | |||
<a href="diy_edit.php?diyid={dede:field.diyid/}&dopost=edit" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i> 修改</a> | |||
<a href="diy_edit.php?diyid={dede:field.diyid/}&dopost=delete" class="btn btn-success btn-sm"><i class="fa fa-trash"></i> 删除</a> | |||
<a href="diy_list.php?action=excel&diyid={dede:field.diyid/}" target="_blank" class="btn btn-success btn-sm"><i class="fa fa-share-square"></i> 导出</a> | |||
<a href="../apps/diy.php?action=list&diyid={dede:field.diyid/}" class="btn btn-success btn-sm" target="_blank"><i class="fa fa-globe"></i> 预览</a> | |||
</td> | |||
</tr> | |||
{/dede:datalist} | |||
@@ -13,13 +13,7 @@ function SelectTemplets(fname){ | |||
} | |||
</script> | |||
</head> | |||
<body leftmargin='8' topmargin='8'> | |||
<div class="bodytitle"> | |||
<div class="bodytitleleft"></div> | |||
<div class="bodytitletxt"> | |||
<a href='diy_main.php'>自定义表单管理</a> > <a href='diy_list.php?action=list&diyid=<?php echo $diyid; ?>'><?php echo $diy->name; ?></a> > 发布内容 | |||
</div> | |||
</div> | |||
<body> | |||
<form name="form1" action="diy_list.php" method="post" > | |||
<input type="hidden" name="action" value="post"> | |||
<input type="hidden" name="diyid" value="<?php echo $diyid; ?>"> | |||
@@ -8,7 +8,7 @@ | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link href="../static/web/css/admin.css" rel='stylesheet' type='text/css'> | |||
</head> | |||
<body background='../static/web/img/allbg.gif' leftmargin='8' topmargin='8'> | |||
<body> | |||
<script type="text/javascript"> | |||
function getOneItem() { | |||
var allSel = ""; | |||
@@ -55,7 +55,7 @@ | |||
</script> | |||
<form name="form2"> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" | |||
class="table maintable table-bordered mt-3"> | |||
class="table maintable mt-3"> | |||
<tr> | |||
<td height="26" background="../static/web/img/tbg.gif" colspan="8" style="padding-left:10px">文章错误管理</td> | |||
</tr> | |||
@@ -70,13 +70,12 @@ | |||
<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 align="center" bgcolor="#ffffff" height="26" align="center" | |||
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> | |||
<td><a href='archives_do.php?dopost=editArchives&aid={dede:field.aid/}'>{dede:field.title /}</a> | |||
</td> | |||
<td><a href='archives_do.php?dopost=editArchives&aid={dede:field.aid/}'>{dede:field.title /}</a></td> | |||
<td>{dede:field.type function='typename(@me)'/}</td> | |||
<td>{dede:field.sendtime function='GetDateMk(@me)'/}</td> | |||
<td>{dede:field.errtxt /}</td> | |||
@@ -91,9 +90,7 @@ | |||
</td> | |||
</tr> | |||
<tr align="center" bgcolor="#f8f8f8" height="26"> | |||
<td colspan="8"> | |||
{dede:pagelist listsize=5/} | |||
</td> | |||
<td colspan="8">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</form> | |||