@@ -82,7 +82,7 @@ if ($dojob == '') { | |||
} | |||
$dvlen = $tjlen * 2; | |||
$tjsta = "<div style='width:200;height:15;border:1px solid #898989;text-align:left'><div style='width:$dvlen;height:15;background-color:#829D83'></div></div>"; | |||
$tjsta .= "<br>完成处理文档总数的:$tjlen %,继续执行任务..."; | |||
$tjsta .= "<br>完成处理文档总数的:$tjlen %,继续执行任务"; | |||
$nurl = "article_description_main.php?totalnum=$totalnum&startdd={$startdd}&pagesize=$pagesize&table={$table}&field={$field}&dsize={$dsize}&msize={$msize}&channel={$channel}&dojob={$dojob}"; | |||
ShowMsg($tjsta, $nurl, 0, 500); | |||
exit(); | |||
@@ -143,7 +143,7 @@ if ($dojob == '') { | |||
} | |||
$dvlen = $tjlen * 2; | |||
$tjsta = "<div style='width:200;height:15;border:1px solid #898989;text-align:left'><div style='width:$dvlen;height:15;background-color:#829D83'></div></div>"; | |||
$tjsta .= "<br>完成处理文档总数的:$tjlen %,继续执行任务..."; | |||
$tjsta .= "<br>完成处理文档总数的:$tjlen %,继续执行任务"; | |||
if ($tjnum < $totalnum) { | |||
$nurl = "article_description_main.php?totalnum=$totalnum&startdd=".($startdd + $pagesize)."&pagesize=$pagesize&table={$table}&field={$field}&dsize={$dsize}&msize={$msize}&channel={$channel}&dojob={$dojob}"; | |||
@@ -15,7 +15,7 @@ CheckPurview('sys_Keyword'); | |||
if (empty($dopost)) $dopost = ''; | |||
//分析已存在的关键字(适用于默认的文章模型) | |||
if ($dopost == 'analyse') { | |||
echo "正在读取关键字数据库...<br>\r\n"; | |||
echo "正在读取关键字数据库<br>\r\n"; | |||
flush(); | |||
$ws = $wserr = $wsnew = ""; | |||
$dsql->SetQuery("SELECT * FROM `#@__keywords`"); | |||
@@ -26,7 +26,7 @@ if ($dopost == 'analyse') { | |||
} | |||
echo "完成关键字数据库的载入<br>\r\n"; | |||
flush(); | |||
echo "读取档案数据库,并对禁用的关键字和生字进行处理...<br>\r\n"; | |||
echo "读取档案数据库,并对禁用的关键字和生字进行处理<br>\r\n"; | |||
flush(); | |||
$dsql->SetQuery("SELECT id,keywords FROM `#@__archives`"); | |||
$dsql->Execute(); | |||
@@ -57,10 +57,10 @@ if ($dopost == 'analyse') { | |||
echo "完成档案数据库的处理<br>\r\n"; | |||
flush(); | |||
if (is_array($wsnew)) { | |||
echo "对关键字进行排序...<br>\r\n"; | |||
echo "对关键字进行排序<br>\r\n"; | |||
flush(); | |||
arsort($wsnew); | |||
echo "把关键字保存到数据库...<br>\r\n"; | |||
echo "把关键字保存到数据库<br>\r\n"; | |||
flush(); | |||
foreach ($wsnew as $k => $v) { | |||
if (strlen($k) > 20) { | |||
@@ -189,7 +189,7 @@ else if ($dopost == 'fetch') { | |||
$dvlen = $tjlen * 2; | |||
$tjsta = "<div style='width:200;height:15;border:1px solid #898989;text-align:left'><div style='width:$dvlen;height:15;background-color:#829D83'></div></div>"; | |||
$tjsta .= "<br>完成处理文档总数的:$tjlen %,位置:{$startdd},继续执行任务..."; | |||
$tjsta .= "<br>完成处理文档总数的:$tjlen %,位置:{$startdd},继续执行任务"; | |||
if ($tjnum < $totalnum) { | |||
$nurl = "article_keywords_make.php?dopost=fetch&totalnum=$totalnum&startdd=".($startdd + $pagesize)."&pagesize=$pagesize"; | |||
@@ -91,7 +91,7 @@ function DoRand(jobname) | |||
} | |||
</script> | |||
<div id='loading' style='z-index:3000;top:160;left:300;position:absolute;display:none;'> | |||
<img src='images/loadinglit.gif' /> 请稍后,正在操作中... | |||
<img src='images/loadinglit.gif' /> 请稍后,正在操作中 | |||
</div> | |||
<table width='98%' align='center'> | |||
<tr> | |||
@@ -95,7 +95,7 @@ else if ($dopost == "viewSgPage") { | |||
require_once(DEDEINC."/arc.listview.class.php"); | |||
$lv = new ListView($cid); | |||
$pageurl = $lv->MakeHtml(); | |||
ShowMsg("更新缓冲,请稍后...", $pageurl); | |||
ShowMsg("更新缓冲,请稍后", $pageurl); | |||
exit(); | |||
} | |||
/*------------------------ | |||
@@ -117,7 +117,7 @@ else if ($dopost == "upRank") { | |||
$dsql->ExecuteNoneQuery("UPDATE #@__arctype SET sortrank='$sortrank' WHERE id='$cid'"); | |||
} | |||
UpDateCatCache(); | |||
ShowMsg("操作成功,返回目录...", "catalog_main.php"); | |||
ShowMsg("操作成功,返回目录", "catalog_main.php"); | |||
exit(); | |||
} else if ($dopost == "upRankAll") { | |||
//检查权限许可 | |||
@@ -132,7 +132,7 @@ else if ($dopost == "upRank") { | |||
} | |||
} | |||
UpDateCatCache(); | |||
ShowMsg("操作成功,正在返回...", "catalog_main.php"); | |||
ShowMsg("操作成功,正在返回", "catalog_main.php"); | |||
exit(); | |||
} | |||
/*-------------------------- | |||
@@ -164,7 +164,7 @@ else if ($dopost == "upcatcache") { | |||
$doarray[$tb] = 1; | |||
} | |||
} | |||
ShowMsg("操作成功,正在返回...", "catalog_main.php"); | |||
ShowMsg("操作成功,正在返回", "catalog_main.php"); | |||
exit(); | |||
} | |||
/*--------------------- | |||
@@ -69,7 +69,7 @@ if ($action == 'check') { | |||
$dsql->ExecuteNoneQuery("UPDATE `#@__archives` SET arcrank=0 WHERE id='{$row->id}'"); | |||
} | |||
} | |||
ShowMsg("完成数据库的审核处理,准备更新HTML...", $jumpurl); | |||
ShowMsg("完成数据库的审核处理,准备更新HTML", $jumpurl); | |||
exit(); | |||
} | |||
//批量删除 | |||
@@ -156,9 +156,9 @@ else if ($action == 'move') { | |||
$jumpurl = "makehtml_archives_action.php?endid=$endid&startid=$startid"; | |||
$jumpurl .= "&typeid=$newtypeid&pagesize=20&seltime=$seltime"; | |||
$jumpurl .= "&stime=".urlencode($starttime)."&etime=".urlencode($endtime); | |||
ShowMsg("成功移动 $tdd 条记录,准备重新生成HTML...", $jumpurl); | |||
ShowMsg("成功移动 $tdd 条记录,准备重新生成HTML", $jumpurl); | |||
} else { | |||
ShowMsg("完成操作,没移动任何数据...", "javascript:;"); | |||
ShowMsg("完成操作,没移动任何数据", "javascript:;"); | |||
} | |||
} | |||
//删除空标题内容 | |||
@@ -190,7 +190,7 @@ button+button{margin-left:10px} | |||
document.querySelectorAll('#file_list li.up-no').forEach((el,i)=>{ | |||
el.classList ? el.classList.add('up-now') : el.className+=' up-now'; | |||
}); | |||
e.target.innerText='上传中...'; | |||
e.target.innerText='上传中'; | |||
upAllFiles(0); | |||
} | |||
}); | |||
@@ -301,7 +301,7 @@ $actionSearch[8] = array( | |||
'linkurl' => 'makehtml_list.php' | |||
), | |||
2 => array( | |||
'title' => '更新文档HTML', | |||
'title' => '更新文档H', | |||
'description' => '对每个栏目下的文档进行静态HTML页面的生成', | |||
'purview' => 'sys_MakeHtml', | |||
'linkurl' => 'makehtml_archives.php' | |||
@@ -313,7 +313,7 @@ $actionSearch[8] = array( | |||
'linkurl' => 'makehtml_map_guide.php' | |||
), | |||
4 => array( | |||
'title' => '更新RSS文件 HTML', | |||
'title' => '更新订阅 HTML', | |||
'description' => '对全站的RSS进行更新', | |||
'purview' => 'sys_MakeHtml', | |||
'linkurl' => 'makehtml_rss.php' | |||
@@ -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:300'><input name='".$fieldname."_bt' type='button' value='浏览...' onClick=\"SelectImage('form1.$fieldname','big')\">\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300'><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:300'><input name='".$fieldname."_bt' type='button' value='浏览...' onClick=\"SelectMedia('form1.$fieldname')\">\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300'><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:300'><input name='".$fieldname."_bt' type='button' value='浏览...' onClick=\"SelectSoft('form1.$fieldname')\">\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300'><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:300'><input name='".$fieldname."_bt' type='button' value='浏览...' onClick=\"SelectMedia('form1.$fieldname')\">\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300'><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; | |||
@@ -309,17 +309,17 @@ function GetFormItemValue($ctag, $fvalue) | |||
} | |||
$ntag = $ndtp->GetTag("img"); | |||
$fvalue = trim($ntag->GetInnerText()); | |||
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:300'><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:300'><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:300'><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:300'><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:300'><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:300'><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; | |||
@@ -111,7 +111,7 @@ $adminMenu1 | |||
<m:item name='更新文档' link='makehtml_archives.php' rank='sys_MakeHtml' target='main' /> | |||
<m:item name='更新网站地图' link='makehtml_map_guide.php' rank='sys_MakeHtml' target='main' /> | |||
<m:item name='更新订阅' link='makehtml_rss.php' rank='sys_MakeHtml' target='main' /> | |||
<m:item name='获取脚本' link='makehtml_js.php' rank='sys_MakeHtml' target='main' /> | |||
<m:item name='更新脚本' link='makehtml_js.php' rank='sys_MakeHtml' target='main' /> | |||
<m:item name='更新专题' link='makehtml_spec.php' rank='sys_MakeHtml' target='main' /> | |||
<m:item name='更新标签' link='makehtml_taglist.php' rank='sys_MakeHtml' target='main' /> | |||
</m:top> | |||
@@ -68,7 +68,7 @@ $menusMain = "<m:top mapitem='1' item='1_' name='常用操作' display='block'> | |||
<m:item name='更新文档' link='makehtml_archives.php' rank='sys_MakeHtml' target='main' /> | |||
<m:item name='更新网站地图' link='makehtml_map_guide.php' rank='sys_MakeHtml' target='main' /> | |||
<m:item name='更新订阅' link='makehtml_rss.php' rank='sys_MakeHtml' target='main' /> | |||
<m:item name='获取脚本' link='makehtml_js.php' rank='sys_MakeHtml' target='main' /> | |||
<m:item name='更新脚本' link='makehtml_js.php' rank='sys_MakeHtml' target='main' /> | |||
<m:item name='更新专题' link='makehtml_spec.php' rank='sys_MakeHtml' target='main' /> | |||
<m:item name='更新标签' link='makehtml_taglist.php' rank='sys_MakeHtml' target='main' /> | |||
</m:top> | |||
@@ -32,7 +32,7 @@ | |||
</head> | |||
<body> | |||
The indentation tries to be <em>somewhat &quot;do what | |||
I mean&quot;</em>... but might not match your style. | |||
I mean&quot;</em> but might not match your style. | |||
</body> | |||
</html> | |||
</textarea></form> | |||
@@ -81,7 +81,7 @@ $ttime = number_format(($ttime / 60), 2); | |||
$tjlen = $totalnum > 0 ? ceil(($tjnum / $totalnum) * 100) : 100; | |||
$dvlen = $tjlen * 2; | |||
$tjsta = "<div style='width:200;height:15;border:1px solid #898989;text-align:left'><div style='width:$dvlen;height:15;background-color:#829D83'></div></div>"; | |||
$tjsta .= "<br>本次用时:".number_format($t2, 2).",总用时:$ttime 分钟,到达位置:".($startdd + $pagesize)."<br>完成创建文件总数的:$tjlen %,继续执行任务..."; | |||
$tjsta .= "<br>本次用时:".number_format($t2, 2).",总用时:$ttime 分钟,到达位置:".($startdd + $pagesize)."<br>完成创建文件总数的:$tjlen %,继续执行任务"; | |||
if ($tjnum < $totalnum) { | |||
$nurl = "makehtml_archives_action.php?endid=$endid&startid=$startid&typeid=$typeid"; | |||
$nurl .= "&totalnum=$totalnum&startdd=".($startdd + $pagesize)."&pagesize=$pagesize"; | |||
@@ -95,7 +95,7 @@ if ($tjnum < $totalnum) { | |||
if ($uptype == '') { | |||
ShowMsg("完成所有创建任务,生成文件:$totalnum 总用时:{$ttime} 分钟", "javascript:;"); | |||
} else { | |||
ShowMsg("完成文档HTML更新任务,现在开始进行主页更新...", "makehtml_all.php?action=make&step=3&uptype=$uptype&mkvalue=$mkvalue"); | |||
ShowMsg("完成文档HTML更新任务,现在开始进行主页更新", "makehtml_all.php?action=make&step=3&uptype=$uptype&mkvalue=$mkvalue"); | |||
} | |||
} | |||
} |
@@ -58,7 +58,7 @@ if ($nextpage == $totalpage) { | |||
ShowMsg("成功创建列表:".$tid.",继续进行操作", $gourl, 0, 100); | |||
} else { | |||
$gourl = "makehtml_freelist_action.php?mkpage=$mkpage&maxpagesize=$maxpagesize&startid=$startid&endid=$endid&pageno=$pageno"; | |||
ShowMsg("列表:".$tid.",继续进行操作...", $gourl, 0, 100); | |||
ShowMsg("列表:".$tid.",继续进行操作", $gourl, 0, 100); | |||
} | |||
} | |||
$dsql->ExecuteNoneQuery("Update `#@__freelist` set nodefault='1' where aid='$startid';"); |
@@ -78,12 +78,12 @@ if ($dopost == "view") { | |||
$pv->SetTemplet($cfg_basedir.$cfg_templets_dir."/".$templet); | |||
$pv->SaveToHtml($homeFile); | |||
echo "<link rel=\"stylesheet\" href=\"{$cfg_cmsurl}/static/css/bootstrap.min.css\"><style>.modal {position: static;}</style>"; | |||
echo "<div class=\"alert alert-success\" role=\"alert\">成功更新首页:".$homeFile." <a href='{$position}' target='_blank' class='btn btn-success btn-sm'>浏览...</a></div>"; | |||
echo "<div class=\"alert alert-success\" role=\"alert\">成功更新首页:".$homeFile." <a href='{$position}' target='_blank' class='btn btn-success btn-sm'>浏览</a></div>"; | |||
} else { | |||
//动态浏览 | |||
if (file_exists($homeFile)) @unlink($homeFile); | |||
echo "<link rel=\"stylesheet\" href=\"{$cfg_cmsurl}/static/css/bootstrap.min.css\"><style>.modal {position: static;}</style>"; | |||
echo "<div class=\"alert alert-success\" role=\"alert\">采用动态浏览:<a href='../index.php' target='_blank' class='btn btn-success btn-sm'>浏览...</a></div>"; | |||
echo "<div class=\"alert alert-success\" role=\"alert\">采用动态浏览:<a href='../index.php' target='_blank' class='btn btn-success btn-sm'>浏览</a></div>"; | |||
} | |||
$iquery = "UPDATE `#@__homepageset` SET showmod='$showmod'"; | |||
$dsql->ExecuteNoneQuery($iquery); | |||
@@ -115,7 +115,7 @@ if ($nextpage >= $totalpage && $finishType) { | |||
exit(); | |||
} else { | |||
$gourl = "makehtml_list_action.php?gotype={$gotype}&uppage=$uppage&mkpage=$mkpage&maxpagesize=$maxpagesize&typeid=$typeid&pageno=$pageno"; | |||
ShowMsg("栏目:".$tid.",继续进行操作...", $gourl, 0, 100); | |||
ShowMsg("栏目:".$tid.",继续进行操作", $gourl, 0, 100); | |||
exit(); | |||
} | |||
} |
@@ -32,5 +32,5 @@ $dtp->LoadTemplet($tmpfile); | |||
$dtp->SaveTo($cfg_basedir.$murl); | |||
$dtp->Clear(); | |||
echo "<link rel=\"stylesheet\" href=\"{$cfg_cmsurl}/static/css/bootstrap.min.css\"><style>.modal {position: static;}</style>"; | |||
echo "<div class=\"alert alert-success\" role=\"alert\">成功更新文件: $murl <a href='$murl' target='_blank' class='btn btn-success'>浏览...</a></div>"; | |||
echo "<div class=\"alert alert-success\" role=\"alert\">成功更新文件: $murl <a href='$murl' target='_blank' class='btn btn-success'>浏览</a></div>"; | |||
exit(); |
@@ -99,7 +99,7 @@ if (is_array($tag) && count($tag) > 0) { | |||
} else { | |||
//继续当前这个 | |||
$gourl = "makehtml_taglist_action.php?mkpage=$mkpage&maxpagesize=$maxpagesize&tagid=$tagid&pageno=$pageno&upall=$upall&ctagid=$ctagid"; | |||
ShowMsg("成功生成TAG:[".$tag['tag']."],继续进行操作...", $gourl, 0, 100); | |||
ShowMsg("成功生成TAG:[".$tag['tag']."],继续进行操作", $gourl, 0, 100); | |||
exit(); | |||
} | |||
} | |||
@@ -269,7 +269,7 @@ else if ($action == 'setupstart') { | |||
$rflwft .= "</script>"; | |||
echo $rflwft; | |||
UpDateCatCache(); | |||
ShowMsg('模块安装完成...', 'module_main.php'); | |||
ShowMsg('模块安装完成', 'module_main.php'); | |||
exit(); | |||
} | |||
} | |||
@@ -433,7 +433,7 @@ else if ($action == 'uninstallok') { | |||
$rflwft .= "else top.document.getElementById('menufra').src = 'index_menu_module.php';\r\n"; | |||
$rflwft .= "</script>"; | |||
echo $rflwft; | |||
ShowMsg('模块卸载完成...', 'module_main.php'); | |||
ShowMsg('模块卸载完成', 'module_main.php'); | |||
exit(); | |||
} | |||
} | |||
@@ -270,7 +270,7 @@ else if ($dopost == "copysave") { | |||
} | |||
$rs = $dsql->ExecuteNoneQuery($inquery); | |||
if ($rs) { | |||
ShowMsg("成功复制模型,现转到详细参数页... ", "mychannel_edit.php?id={$newid}&dopost=edit"); | |||
ShowMsg("成功复制模型,现转到详细参数页 ", "mychannel_edit.php?id={$newid}&dopost=edit"); | |||
exit(); | |||
} else { | |||
$errv = $dsql->GetError(); | |||
@@ -174,12 +174,12 @@ else if ($action == 'exarea') { | |||
function __addenum_save() { } | |||
关于二级枚举的说明,为了节省查询速度,二级枚举是通过特殊算法生成的,原理为 | |||
凡是能被 500 整除的都是一级枚举,(500 * n) + 1 < em < 500 * (n+1) 为下级枚举 | |||
如:1000 的下级枚举对应的值为 1001,1002,1003...1499 | |||
如:1000 的下级枚举对应的值为 1001,1002,10031499 | |||
对于 issign=1 的,表示这个类别只有一级枚举,则不受上面的算法限制 | |||
------------------------------------------------------------------------ | |||
更新算法: | |||
新增二级枚举下添加"-N"自己类别选择,例如: | |||
1001二级枚举下面的3级类目,则为1001-1,1001-2... | |||
1001二级枚举下面的3级类目,则为1001-1,1001-2 | |||
这时候需要issign=2 | |||
---------------------*/ | |||
else if ($action == 'addenum_save') { | |||
@@ -23,7 +23,7 @@ if ($dopost == "ok") { | |||
else if ($step == 1) { | |||
UpDateCatCache(); | |||
ClearOptCache(); | |||
ShowMsg("成功更新栏目缓存,及后台栏目选项,准备更新枚举缓存...", "sys_cache_up.php?dopost=ok&step=2&uparc=$uparc"); | |||
ShowMsg("成功更新栏目缓存,及后台栏目选项,准备更新枚举缓存", "sys_cache_up.php?dopost=ok&step=2&uparc=$uparc"); | |||
exit(); | |||
} | |||
//更新枚举缓存 | |||
@@ -31,17 +31,17 @@ if ($dopost == "ok") { | |||
include_once(DEDEINC."/enums.func.php"); | |||
WriteEnumsCache(); | |||
//WriteAreaCache(); 已过期 | |||
ShowMsg("成功更新枚举缓存,准备更新调用缓存...", "sys_cache_up.php?dopost=ok&step=3&uparc=$uparc"); | |||
ShowMsg("成功更新枚举缓存,准备更新调用缓存", "sys_cache_up.php?dopost=ok&step=3&uparc=$uparc"); | |||
exit(); | |||
} | |||
//清理arclist调用缓存、过期会员访问历史、过期短信 | |||
else if ($step == 3) { | |||
echo '<meta http-equiv="Content-Type" content="text/html; charset='.$cfg_soft_lang.'">'; | |||
$dsql->ExecuteNoneQuery("DELETE FROM `#@__arccache`"); | |||
echo "\n成功更新arclist调用缓存,准备清理过期会员访问历史...<hr />"; | |||
echo "\n成功更新arclist调用缓存,准备清理过期会员访问历史<hr />"; | |||
$oldtime = time() - (90 * 24 * 3600); | |||
$dsql->ExecuteNoneQuery("DELETE FROM `#@__member_pms` WHERE sendtime<'$oldtime' "); | |||
echo "成功清理过期短信,准备修正错误文档,这可能要占较长的时间..."; | |||
echo "成功清理过期短信,准备修正错误文档,这可能要占较长的时间"; | |||
if ($uparc == 1) { | |||
echo "<script language='javascript'>location='sys_cache_up.php?dopost=ok&step=9';</script>"; | |||
} else { | |||
@@ -51,7 +51,7 @@ if ($dopost == "ok") { | |||
} | |||
//修正错误文档 | |||
else if ($step == 9) { | |||
ShowMsg('修正错误文档操作已经取消,后台系统:系统错误修复中操作...', 'sys_cache_up.php?dopost=ok&step=-1&uparc=1', 0, 5000); | |||
ShowMsg('修正错误文档操作已经取消,后台系统:系统错误修复中操作', 'sys_cache_up.php?dopost=ok&step=-1&uparc=1', 0, 5000); | |||
exit(); | |||
} | |||
} |
@@ -27,7 +27,7 @@ $pid = (empty($pid)) ? 0 : intval($pid); | |||
[iterm]=>'1:使用标准双接口,使用担保交易接口', //如果含有":",则前面为value值,后面为显示内容 | |||
[value]=>'使用担保交易接口', | |||
), | |||
... | |||
) | |||
使用方法: | |||
将上述的格式传入到数组中去,然后进行解析: | |||
@@ -112,7 +112,7 @@ else if ($dopost == 2) { | |||
} else { | |||
$sql = " TRUNCATE TABLE `#@__arctiny`"; | |||
$dsql->ExecuteNoneQuery($sql); | |||
$msg .= "<span style='color:#dc3545'>两者记录不一致,尝试进行简单修正...</span><br>"; | |||
$msg .= "<span style='color:#dc3545'>两者记录不一致,尝试进行简单修正</span><br>"; | |||
//导入普通模型微数据 | |||
$sql = "INSERT INTO `#@__arctiny`(id, typeid, typeid2, arcrank, channel, senddate, sortrank, mid) | |||
SELECT id, typeid, typeid2, arcrank, channel, senddate, sortrank, mid FROM `#@__archives` "; | |||
@@ -146,6 +146,6 @@ else if ($action == 'fetch') { | |||
} | |||
$start = $start + 100; | |||
$goto = "tags_main.php?action=fetch&startaid=$startaid&endaid=$endaid&start=$start"; | |||
ShowMsg('继续获取tags ...', $goto, 0, 500); | |||
ShowMsg('继续获取tags ', $goto, 0, 500); | |||
exit(); | |||
} |
@@ -71,7 +71,7 @@ if ($dopost == 'makeprenext') { | |||
exit(); | |||
} else { | |||
$jumpurl = GetNextUrl(); | |||
ShowMsg("完成下篇文档更新任务 继续执行其它任务...", $jumpurl, 0, 500); | |||
ShowMsg("完成下篇文档更新任务 继续执行其它任务", $jumpurl, 0, 500); | |||
exit(); | |||
} | |||
} | |||
@@ -104,7 +104,7 @@ if ($dopost == 'makeindex') { | |||
exit(); | |||
} else { | |||
$jumpurl = GetNextUrl(); | |||
ShowMsg("完成主页更新 现在跳转到其它更新任务...", $jumpurl, 0, 500); | |||
ShowMsg("完成主页更新 现在跳转到其它更新任务", $jumpurl, 0, 500); | |||
exit(); | |||
} | |||
} | |||
@@ -145,7 +145,7 @@ else if ($dopost == 'makeparenttype') { | |||
if (!empty($doposttmp)) { | |||
$jumpurl = preg_replace("#doposttmp|nextdotmp#", 'del', $jumpurl); | |||
$jumpurl .= "&dopost={$doposttmp}&nextdo={$nextdotmp}"; | |||
ShowMsg("完成栏目:{$tid} 更新<br><b>完成栏目更新任务,继续执行后续任务...</b>", $jumpurl, 0, 500); | |||
ShowMsg("完成栏目:{$tid} 更新<br><b>完成栏目更新任务,继续执行后续任务</b>", $jumpurl, 0, 500); | |||
exit(); | |||
} else { | |||
ShowMsg("完成栏目:{$tid} 更新<br><b>完成栏目更新任务,完成所有更新任务</b>", "close::tgtable"); | |||
@@ -154,7 +154,7 @@ else if ($dopost == 'makeparenttype') { | |||
} else { | |||
$curpage++; | |||
$jumpurl .= "&curpage={$curpage}&dopost=makeparenttype"; | |||
ShowMsg("完成栏目:{$tid} 更新,继续更新其它栏目...", $jumpurl, 0, 500); | |||
ShowMsg("完成栏目:{$tid} 更新,继续更新其它栏目", $jumpurl, 0, 500); | |||
exit(); | |||
} | |||
} |
@@ -96,7 +96,7 @@ | |||
<tr> | |||
<td height="26" align="center">广告分类:</td> | |||
<td colspan="2"><select name='clsid' style='width:150' id="clsid"> | |||
<option value='0'>默认分类...</option> | |||
<option value='0'>默认分类</option> | |||
<?php echo $option;?> | |||
</select></td> | |||
</tr> | |||
@@ -62,7 +62,7 @@ | |||
<tr> | |||
<td height="26" align="center">广告分类:</td> | |||
<td colspan="2"><select name='clsid' style='width:150' id="clsid"> | |||
<option value='0'>默认分类...</option> | |||
<option value='0'>默认分类</option> | |||
<?php echo $option;?> | |||
@@ -26,7 +26,7 @@ | |||
<tr> | |||
<td width='90' align='center'>请选择分类:</td> | |||
<td width='124'><select name='clsid' style='width:150' id="clsid"> | |||
<option value='0'>默认分类...</option> | |||
<option value='0'>默认分类</option> | |||
<?php echo $option;?> | |||
@@ -186,7 +186,7 @@ table{border-collapse:separate} | |||
<?php | |||
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n"; | |||
echo "<option value='0'>请选择栏目...</option>\r\n"; | |||
echo "<option value='0'>请选择栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -291,7 +291,7 @@ table{border-collapse:separate} | |||
<tr> | |||
<td width="100"> 压缩包文件:</td> | |||
<td><input type='text' name='zipfile' id='zipfile' style='width:300px'> | |||
<button name='addon_bt' type='button' onClick="SelectSoft('form1.zipfile')" class="btn btn-success btn-sm">浏览...</button> | |||
<button name='addon_bt' type='button' onClick="SelectSoft('form1.zipfile')" class="btn btn-success btn-sm">浏览</button> | |||
<label><input name="delzip" type="checkbox" id="delzip" value="1" checked="checked" /> | |||
处理后删除压缩文件</label></td> | |||
</tr> | |||
@@ -307,7 +307,7 @@ table{border-collapse:separate} | |||
把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片 | |||
<input type="button" name="button" id="button" value="预览" onClick="LoadTestDiv()"> | |||
<br> | |||
<div id='copyhtml' style='margin-top:6px;margin-bottom:6px;border:solid 1px #CCCCCC;width:96%;padding:6px;height:250px;width:100%' contenteditable="true">粘贴到这里...</div> | |||
<div id='copyhtml' style='margin-top:6px;margin-bottom:6px;border:solid 1px #CCCCCC;width:96%;padding:6px;height:250px;width:100%' contenteditable="true">粘贴到这里</div> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -454,7 +454,7 @@ table{border-collapse:separate} | |||
<table width="800" border="0" cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90"> 关键字:</td> | |||
<td colspan="2"><input type='text' name="keywords" id="keywords" style="width:290px;" value="" /> <button type="button" name="Submit" onClick="SelectKeywords('form1.keywords');" class="btn btn-success btn-sm">浏览...</button></td> | |||
<td colspan="2"><input type='text' name="keywords" id="keywords" style="width:290px;" value="" /> <button type="button" name="Submit" onClick="SelectKeywords('form1.keywords');" class="btn btn-success btn-sm">浏览</button></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -180,7 +180,7 @@ table{border-collapse:separate} | |||
<td><?php | |||
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n"; | |||
if($arcRow['typeid']=='0') echo "<option value='0' selected>请选择主分类...</option>\r\n"; | |||
if($arcRow['typeid']=='0') echo "<option value='0' selected>请选择主分类</option>\r\n"; | |||
echo $typeOptions; | |||
echo '</select>'; | |||
?> | |||
@@ -416,7 +416,7 @@ if($cfg_need_typeid2=='Y') { | |||
<tr> | |||
<td width="100"> 压缩包文件:</td> | |||
<td><input type='text' name='zipfile' id='zipfile' style='width:300px'> | |||
<button name='addon_bt' type='button' class='btn btn-success btn-sm' onClick="SelectSoft('form1.zipfile')">浏览...</button> | |||
<button name='addon_bt' type='button' class='btn btn-success btn-sm' onClick="SelectSoft('form1.zipfile')">浏览</button> | |||
<label><input name="delzip" type="checkbox" id="delzip" value="1" checked="checked" /> | |||
处理后删除压缩文件</label> | |||
</td> | |||
@@ -433,7 +433,7 @@ if($cfg_need_typeid2=='Y') { | |||
<br>把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片 | |||
<input type="button" name="button" id="button" value="预览" onClick="LoadTestDiv()"> | |||
<br> | |||
<div id='copyhtml' style='margin-top:6px;margin-bottom:6px;border:solid 1px #CCCCCC;width:96%;padding:6px;height:250px;width:100%' contenteditable="true">粘贴到这里...</div> | |||
<div id='copyhtml' style='margin-top:6px;margin-bottom:6px;border:solid 1px #CCCCCC;width:96%;padding:6px;height:250px;width:100%' contenteditable="true">粘贴到这里</div> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -169,7 +169,7 @@ table{border-collapse:separate} | |||
<?php | |||
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n"; | |||
echo "<option value='0'>请选择栏目...</option>\r\n"; | |||
echo "<option value='0'>请选择栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -333,7 +333,7 @@ table{border-collapse:separate} | |||
<td width="450"><input type='text' name="keywords" id="keywords" style="width:80%" value="" /></td> | |||
<td width="260"><label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>> | |||
自动获取,手动填写用","分开</label><br> | |||
<button type="button" name="Submit" value="" class="btn btn-success btn-sm" onClick="SelectKeywords('form1.keywords');">浏览...</button> | |||
<button type="button" name="Submit" value="" class="btn btn-success btn-sm" onClick="SelectKeywords('form1.keywords');">浏览</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -165,7 +165,7 @@ table{border-collapse:separate} | |||
<?php | |||
$typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n"; | |||
if($arcRow["typeid"]=="0") echo "<option value='0' selected>请选择栏目...</option>\r\n"; | |||
if($arcRow["typeid"]=="0") echo "<option value='0' selected>请选择栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -154,7 +154,7 @@ table{border-collapse:separate} | |||
<?php | |||
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n"; | |||
echo "<option value='0'>请选择栏目...</option>\r\n"; | |||
echo "<option value='0'>请选择栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?></span> | |||
@@ -144,7 +144,7 @@ table{border-collapse:separate} | |||
<?php | |||
$typeOptions = GetOptionList($addRow['typeid'],$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n"; | |||
if($addRow["typeid"]=="0") echo "<option value='0' selected>请选择栏目...</option>\r\n"; | |||
if($addRow["typeid"]=="0") echo "<option value='0' selected>请选择栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -229,7 +229,7 @@ table{border-collapse:separate} | |||
<td width="90"> 关键字:</td> | |||
<td width="450"> | |||
<input type='text' name="keywords" id="keywords" style="width:80%" value="<?php echo $keywords; ?>"> | |||
<button type="button" name="Submit" style="width:56;height:20" onClick="SelectKeywords('form1.keywords');" class='btn btn-success btn-sm'>浏览...</button> | |||
<button type="button" name="Submit" style="width:56;height:20" onClick="SelectKeywords('form1.keywords');" class='btn btn-success btn-sm'>浏览</button> | |||
</td> | |||
<td> | |||
<label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked="1" '; ?>> 自动获取,手动填写用","分开</label><br> | |||
@@ -23,7 +23,7 @@ | |||
//编辑 | |||
function EditNode(nid) { | |||
$DE('editNode').style.display = 'block'; | |||
var myajax = new DedeAjax($DE('editNodeBody'), false, true, "", "", "请稍候,正在载入..."); | |||
var myajax = new DedeAjax($DE('editNodeBody'), false, true, "", "", "请稍候,正在载入"); | |||
myajax.SendGet2('article_coonepage_rule.php?action=editload&id=' + nid); | |||
DedeXHTTP = null; | |||
} | |||
@@ -145,7 +145,7 @@ | |||
</table> | |||
<!-- 下面是隐藏的栏目增加/修改表单 --> | |||
<div id="editNode"> | |||
<span id='editNodeBody'>请稍候,正在载入...</span> | |||
<span id='editNodeBody'>请稍候,正在载入</span> | |||
</div> | |||
<div id="addNode"> | |||
@@ -242,14 +242,14 @@ function CheckCross() { | |||
<td class="bline" height="26" style="padding-left:10px">栏目大图:</td> | |||
<td> | |||
<input name="litpic" type="text" class="alltxt" size="40"> | |||
<input type="button" class="btn btn-success btn-sm" value="浏览..." onClick="SelectImage('form1.litpic');"> | |||
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litpic');"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">栏目小图:</td> | |||
<td> | |||
<input name="litimg" type="text" class="alltxt" size="40"> | |||
<input type="button" class="btn btn-success btn-sm" value="浏览..." onClick="SelectImage('form1.litimg');"> | |||
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litimg');"> | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -430,7 +430,7 @@ function CheckCross() { | |||
<td height="26" style="padding-left:10px">封面模板:</td> | |||
<td> | |||
<input name="tempindex" type="text" value="{style}/index_<?php echo $nid?>.htm" size="40" class="alltxt"> | |||
<button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览...</button> | |||
<button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览</button> | |||
<img src="images/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar1')"> | |||
</td> | |||
</tr> | |||
@@ -438,14 +438,14 @@ function CheckCross() { | |||
<td height="26" style="padding-left:10px">列表模板:</td> | |||
<td> | |||
<input name="templist" type="text" value="{style}/list_<?php echo $nid?>.htm" size="40" class="alltxt"> | |||
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templist')">浏览...</button> | |||
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templist')">浏览</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" style="padding-left:10px">文章模板:</td> | |||
<td> | |||
<input name="temparticle" type="text" value="{style}/article_<?php echo $nid?>.htm" size="40" class="alltxt"> | |||
<button type="button" name="set4" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.temparticle')">浏览...</button> | |||
<button type="button" name="set4" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.temparticle')">浏览</button> | |||
</td> | |||
</tr> | |||
<tr id='helpvar2' style='display:none'> | |||
@@ -156,7 +156,7 @@ | |||
<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> | |||
(默认为顶级栏目) | |||
@@ -227,7 +227,7 @@ | |||
<tr bgcolor="#FBFCE2" align="center"> | |||
<td width="60" height="26">排序</td> | |||
<td width="170">顶级栏目名称</td> | |||
<td width="520">子栏目(用"目录名称1,目录名称2..."这样表示多个栏目)</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> | |||
@@ -215,14 +215,14 @@ function CheckCross() { | |||
<td class="bline" height="26" style="padding-left:10px">栏目大图:</td> | |||
<td> | |||
<input name="litpic" type="text" class="alltxt" size="40" value="<?php echo $myrow['litpic']?>"> | |||
<input type="button" class="btn btn-success btn-sm" value="浏览..." onClick="SelectImage('form1.litpic');"> | |||
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litpic');"> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="bline" height="26" style="padding-left:10px">栏目小图:</td> | |||
<td> | |||
<input name="litimg" type="text" class="alltxt" size="40" value="<?php echo $myrow['litimg']?>"> | |||
<input type="button" class="btn btn-success btn-sm" value="浏览..." onClick="SelectImage('form1.litimg');"> | |||
<input type="button" class="btn btn-success btn-sm" value="浏览" onClick="SelectImage('form1.litimg');"> | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -354,7 +354,7 @@ function CheckCross() { | |||
<td height="26" style="padding-left:10px">封面模板:</td> | |||
<td> | |||
<input name="tempindex" type="text" value="<?php echo $myrow['tempindex']?>" size="40" class="iptxt"> | |||
<button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览...</button> | |||
<button type="button" name="set1" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.tempindex')">浏览</button> | |||
<img src="images/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" onClick="ShowHide('helpvar1')"> | |||
</td> | |||
</tr> | |||
@@ -362,14 +362,14 @@ function CheckCross() { | |||
<td height="26" style="padding-left:10px">列表模板:</td> | |||
<td> | |||
<input name="templist" type="text" value="<?php echo $myrow['templist']?>" size="40" class="iptxt"> | |||
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templist')">浏览...</button> | |||
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templist')">浏览</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td height="26" style="padding-left:10px">文章模板:</td> | |||
<td> | |||
<input name="temparticle" type="text" value="<?php echo $myrow['temparticle']?>" size="40" class="iptxt"> | |||
<button type="button" name="set4" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.temparticle')">浏览...</button> | |||
<button type="button" name="set4" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.temparticle')">浏览</button> | |||
</td> | |||
</tr> | |||
<tr id='helpvar2' style='display:none'> | |||
@@ -156,7 +156,7 @@ $tu->ListAllType($userChannel,$opendir); | |||
<tr> | |||
<td height="36" bgcolor="#FFFFFF" align="right" class="py-3" style="padding-right:10px"> | |||
<button type="button" name="sb1" class="btn btn-success btn-sm" onClick="document.form1.submit();">更新排序</button> | |||
<button type="button" name="sb4" class="btn btn-success btn-sm" onClick="location='makehtml_js.php';">获取脚本</button> | |||
<button type="button" name="sb4" class="btn btn-success btn-sm" onClick="location='makehtml_js.php';">更新脚本</button> | |||
<button type="button" name="sb2" class="btn btn-success btn-sm" onClick="location='makehtml_list.php';">更新栏目</button> | |||
<button type="button" name="sb3" class="btn btn-success btn-sm" onClick="location='makehtml_archives.php';">更新文档</button> | |||
</td> | |||
@@ -11,7 +11,7 @@ | |||
function LoadSuns(ctid,tid) | |||
{ | |||
if($DE(ctid).innerHTML.length < 10){ | |||
var myajax = new DedeAjax($DE(ctid),true,true,'','x','...'); | |||
var myajax = new DedeAjax($DE(ctid),true,true,'','x',''); | |||
myajax.SendGet('catalog_do.php?dopost=GetSunListsMenu&cid='+tid); | |||
} else { if(document.all) showHide(ctid); } | |||
} | |||
@@ -13,7 +13,7 @@ | |||
function LoadSuns(ctid,tid) | |||
{ | |||
if($DE(ctid).innerHTML.length < 10){ | |||
var myajax = new DedeAjax($DE(ctid),true,true,'','x','...'); | |||
var myajax = new DedeAjax($DE(ctid),true,true,'','x',''); | |||
myajax.SendGet('catalog_do.php?dopost=GetSunListsMenu&cid='+tid); | |||
} | |||
else{ if(document.all) showHide(ctid); } | |||
@@ -75,7 +75,7 @@ | |||
$tl = new TypeLink(0); | |||
$typeOptions = $tl->GetOptionArray(0,$admin_catalogs,0,1); | |||
echo "<select name='typeid' style='width:300'>\r\n"; | |||
echo "<option value='0' selected>不限栏目...</option>\r\n"; | |||
echo "<option value='0' selected>不限栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -133,7 +133,7 @@ | |||
<td width='160' align='center'>请选择类目:</td> | |||
<td width='160'> | |||
<select name='cid' style='width:150'> | |||
<option value='0'>选择分类...</option> | |||
<option value='0'>选择分类</option> | |||
{dede:global.optionarr/} | |||
</select> | |||
</td> | |||
@@ -145,7 +145,7 @@ | |||
</td> | |||
<td width='110'> | |||
<select name='orderby' style='width:80px'> | |||
<option value='id'>排序...</option> | |||
<option value='id'>排序</option> | |||
<option value='pubdate'>更新时间</option> | |||
<option value='sortrank'>置顶权值</option> | |||
<option value='click'>点击量</option> | |||
@@ -193,7 +193,7 @@ | |||
<td width='160' align='center'>请选择类目:</td> | |||
<td width='160'> | |||
<select name='cid' style='width:150'> | |||
<option value='0'>选择分类...</option> | |||
<option value='0'>选择分类</option> | |||
<?php echo $optionarr?> | |||
</select> | |||
</td> | |||
@@ -109,7 +109,7 @@ | |||
<td width='160' align='center'>请选择类目:</td> | |||
<td width='160'> | |||
<select name='cid' style='width:150px'> | |||
<option value='0'>选择分类...</option> | |||
<option value='0'>选择分类</option> | |||
<?php echo $optionarr?> | |||
</select> | |||
</td> | |||
@@ -281,7 +281,7 @@ | |||
<td width='160' align='center'>请选择类目:</td> | |||
<td width='160'> | |||
<select name='cid' style='width:150'> | |||
<option value='0'>选择分类...</option> | |||
<option value='0'>选择分类</option> | |||
{dede:global.optionarr/} | |||
</select> | |||
</td> | |||
@@ -65,7 +65,7 @@ | |||
</div> | |||
<div class="col-12 description py-2"> | |||
<a href="[field:arcurl/]"> | |||
[field:description/]... | |||
[field:description/] | |||
</a> | |||
</div> | |||
<div class="col-12 addinfo"> | |||
@@ -118,7 +118,7 @@ | |||
<td height="30" align="left">列表模板:</td> | |||
<td align="left"><input name="templet" type="text" id="templet" style="width:300px" value="{style}/list_free.htm"> | |||
<button type="button" name="set4" style="width:60px" | |||
onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览...</button></td> | |||
onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览</button></td> | |||
</tr> | |||
<tr> | |||
<td height="30" align="left">最大列出页数:</td> | |||
@@ -174,7 +174,7 @@ | |||
<td height="26" align="left"> 限定栏目: | |||
<?php | |||
echo "<select name='typeid' style='width:100'>\r\n"; | |||
echo "<option value='0'>不限栏目...</option>\r\n"; | |||
echo "<option value='0'>不限栏目</option>\r\n"; | |||
$dsql->SetQuery("Select ID,typename, channeltype From #@__arctype"); | |||
$dsql->Execute(); | |||
while($lrow = $dsql->GetObject()){ | |||
@@ -192,7 +192,7 @@ | |||
<td height="26" align="left"> 限定频道: | |||
<?php | |||
echo "<select name='channel' style='width:100'>\r\n"; | |||
echo "<option value='0' selected>不限...</option>\r\n"; | |||
echo "<option value='0' selected>不限</option>\r\n"; | |||
$dsql->SetQuery("Select ID,typename From #@__channeltype where ID>0"); | |||
$dsql->Execute(); | |||
while($row = $dsql->GetObject()) | |||
@@ -207,7 +207,7 @@ | |||
<td height="26" align="left">附加属性: | |||
<?php | |||
echo "<select name='att' style='width:100'>\r\n"; | |||
echo "<option value='0' selected>不限...</option>\r\n"; | |||
echo "<option value='0' selected>不限</option>\r\n"; | |||
$dsql->SetQuery("Select * From #@__arcatt"); | |||
$dsql->Execute(); | |||
while($row = $dsql->GetObject()) | |||
@@ -111,7 +111,7 @@ | |||
<td height="36" align="left">列表模板:</td> | |||
<td align="left"><input name="templet" type="text" id="templet" style="width:300px" value="<?php echo $row['templet']?>"> | |||
<button type="button" name="set4" style="width:60px" | |||
onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览...</button></td> | |||
onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览</button></td> | |||
</tr> | |||
<tr> | |||
<td height="30" align="left">最大列出页数:</td> | |||
@@ -147,7 +147,7 @@ | |||
<?php | |||
$typeid = $ctag->GetAtt('typeid'); | |||
echo "<select name='typeid' style='width:100'>\r\n"; | |||
echo "<option value='0'>不限栏目...</option>\r\n"; | |||
echo "<option value='0'>不限栏目</option>\r\n"; | |||
$dsql->SetQuery("Select id,typename, channeltype From #@__arctype"); | |||
$dsql->Execute(); | |||
while($lrow = $dsql->GetObject()){ | |||
@@ -183,7 +183,7 @@ | |||
<?php | |||
$att = $ctag->GetAtt('att'); | |||
echo "<select name='att' style='width:100'>\r\n"; | |||
echo "<option value='0'>不限...</option>\r\n"; | |||
echo "<option value='0'>不限</option>\r\n"; | |||
$dsql->SetQuery("Select * From #@__arcatt"); | |||
$dsql->Execute(); | |||
while($nrow = $dsql->GetObject()) | |||
@@ -20,7 +20,7 @@ | |||
orderby = ordertype; | |||
var listArea = $Obj('rslist'); | |||
var errMsg = "网络通信出错<br>[<a href=\"javascript:ReloadPage('" + ordertype + "')\">点击此重新加载列表</a>]"; | |||
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在加载..."); | |||
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在加载"); | |||
myajax.SendGet("freelist_main.php?dopost=getlist&pageno=" + pageno + "&orderby=" + ordertype + addget); | |||
} | |||
//载入指定页的列表 | |||
@@ -45,7 +45,7 @@ | |||
var pagenum = Math.ceil(totalrow / pagesize); | |||
if (pagenum <= pageno) pageno = pagenum; | |||
var errMsg = "网络通信出错<br>[<a href=\"javascript:LoadPage('" + pageno + "')\">点击此重新加载列表</a>]"; | |||
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在处理..."); | |||
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在处理"); | |||
myajax.SendGet("freelist_main.php?dopost=del&aid=" + nid + "&pageno=" + pageno); | |||
ReloadPageNum(pageno); | |||
} | |||
@@ -55,7 +55,7 @@ $(function () { | |||
<div class="col-md-6 mt-3"> | |||
<div class="card"> | |||
<div class="card-header">版本授权</div> | |||
<div class="card-body" id="_systeminfo">正在载入中...</div> | |||
<div class="card-body" id="_systeminfo">正在载入中</div> | |||
</div> | |||
</div> | |||
<div class="col-md-6 mt-3"> | |||
@@ -167,7 +167,7 @@ $(function () { | |||
<div class="card"> | |||
<div class="card-header">信息统计</div> | |||
<div class="card-body"> | |||
<dd id='listCount'>正在载入中...</dd> | |||
<dd id='listCount'>正在载入中</dd> | |||
</div> | |||
</div> | |||
</div> | |||
@@ -220,10 +220,10 @@ $(function () { | |||
<div class="footer"> | |||
<!--下面是隐藏的项目--> | |||
<div id="loaddiv" style="display:none"> | |||
<p align="center" style="padding-top:200px"><img src="images/loadinglit.gif">请稍后,正在下载更新文件列表...</p> | |||
<p align="center" style="padding-top:200px"><img src="images/loadinglit.gif">请稍后,正在下载更新文件列表</p> | |||
</div> | |||
<div id="editTab"> | |||
<span id="editTabBody">请稍候,正在载入...</span> | |||
<span id="editTabBody">请稍候,正在载入</span> | |||
</div> | |||
<div id="addTab"> | |||
<form name="addform" action="index_body.php"> | |||
@@ -17,9 +17,9 @@ | |||
<td height="26" colspan="2" background='images/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"><strong>更新文档HTML:</strong></td> | |||
<td width="30%" height="18" style="padding-left:10px"><strong>更新文档H:</strong></td> | |||
<td width="70%" align="right"> | |||
<a href="makehtml_list.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新栏目HTML</a> | |||
<a href="makehtml_list.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新栏目</a> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -33,7 +33,7 @@ | |||
$tl = new TypeLink($cid); | |||
$typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0); | |||
echo "<select name='typeid' style='width:300'>\r\n"; | |||
if($cid=="0") echo "<option value='0' selected>更新所有文档...</option>\r\n"; | |||
if($cid=="0") echo "<option value='0' selected>更新所有文档</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -37,7 +37,7 @@ | |||
<td width="177" valign="top" bgcolor="#FFFFFF">选择首页模板:</td> | |||
<td width="791" valign="top" bgcolor="#FFFFFF"> | |||
<input name="templet" type="text" id="templet" style="width:300" value="<?php echo $row['templet']?>"> | |||
<button class="btn btn-success btn-sm" type="button" name="set4" value="" onClick="SelectTemplets('form1.templet');">浏览...</button> | |||
<button class="btn btn-success btn-sm" type="button" name="set4" value="" onClick="SelectTemplets('form1.templet');">浏览</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -26,7 +26,7 @@ | |||
<td height="26" colspan="2" background='images/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"><strong>获取栏目JS文件:</strong></td> | |||
<td width="30%" height="18" style="padding-left:10px"><strong>更新脚本:</strong></td> | |||
<td width="70%" align="right"><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a> | |||
</td> | |||
</tr> | |||
@@ -41,7 +41,7 @@ | |||
$tl = new TypeLink($cid); | |||
$typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0,1); | |||
echo "<select name='typeid' style='width:300'>\r\n"; | |||
if($cid=="0") echo "<option value='0' selected>所有栏目...</option>\r\n"; | |||
if($cid=="0") echo "<option value='0' selected>所有栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -59,7 +59,7 @@ | |||
<td height="26" valign="top" bgcolor="#FFFFFF">模板文件:</td> | |||
<td height="26" valign="top" bgcolor="#FFFFFF"><input name="templet" type="text" id="templet" style="width:300" | |||
value="plus/js.htm"> | |||
<button type="button" class="btn btn-success btn-sm" name="set4" onClick="SelectTemplets('form1.templet');">浏览...</button> | |||
<button type="button" class="btn btn-success btn-sm" name="set4" onClick="SelectTemplets('form1.templet');">浏览</button> | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -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>更新栏目HTML</title> | |||
<title>更新栏目</title> | |||
<link rel="stylesheet" href="../static/css/bootstrap.min.css"> | |||
<link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet"> | |||
<link href="css/base.css" rel="stylesheet" type="text/css"> | |||
@@ -14,9 +14,9 @@ | |||
<td height="26" colspan="2" background='images/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"><strong>更新栏目HTML:</strong></td> | |||
<td width="30%" height="18" style="padding-left:10px"><strong>更新栏目:</strong></td> | |||
<td width="70%" align="right"> | |||
<a href="makehtml_archives.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新文档HTML</a> | |||
<a href="makehtml_archives.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新文档H</a> | |||
<a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a> | |||
</td> | |||
</tr> | |||
@@ -31,7 +31,7 @@ | |||
$tl = new TypeLink($cid); | |||
$typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0,1); | |||
echo "<select name='typeid' style='width:300px'>\r\n"; | |||
if($cid=='0') echo "<option value='0' selected='1'>更新所有栏目...</option>\r\n"; | |||
if($cid=='0') echo "<option value='0' selected='1'>更新所有栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -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>更新RSS文件</title> | |||
<title>更新订阅</title> | |||
<link rel="stylesheet" href="../static/css/bootstrap.min.css"> | |||
<link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet"> | |||
<link href="css/base.css" rel="stylesheet" type="text/css"> | |||
@@ -14,7 +14,7 @@ | |||
<td height="26" colspan="2" background="images/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"><strong>更新RSS文件:</strong></td> | |||
<td width="30%" height="18" style="padding-left:10px"><strong>更新订阅:</strong></td> | |||
<td width="70%" align="right"></td> | |||
</tr> | |||
</table> | |||
@@ -2,7 +2,7 @@ | |||
<html xmlns="http://www.w3.org/1999/xhtml"> | |||
<head> | |||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
<title>生成专题列表</title> | |||
<title>更新专题</title> | |||
<link rel="stylesheet" href="../static/css/bootstrap.min.css"> | |||
<link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet"> | |||
<link href="css/base.css" rel="stylesheet" type="text/css"> | |||
@@ -15,7 +15,7 @@ | |||
<td height="26" background='images/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"><strong>生成专题列表:</strong></td> | |||
<td width="30%" height="18" style="padding-left:10px"><strong>更新专题:</strong></td> | |||
<td width="70%" align="right"> </td> | |||
</tr> | |||
</table> | |||
@@ -30,7 +30,7 @@ | |||
$sql="select * from #@__tagindex where total > {$dd['tt']} order by tag asc"; | |||
$dsql->Execute('al',$sql); | |||
echo "<select name='tagid' style='width:300px'>\r\n"; | |||
if($tid == 0) echo "<option value='0' selected='1'>更新所有标签...</option>\r\n"; | |||
if($tid == 0) echo "<option value='0' selected='1'>更新所有标签</option>\r\n"; | |||
while($row=$dsql->GetObject('al')){ | |||
if($tid > 0 && $tid == $row->id) echo "<option value='".$row->id."' selected='1'>".$row->tag."</option>"; | |||
else echo "<option value='".$row->id."'>".$row->tag."</option>"; | |||
@@ -8,7 +8,7 @@ | |||
var tgobj = document.getElementById('modulcode'); | |||
var email = document.form1.email.value; | |||
var modulname = document.form1.modulname.value; | |||
var myajax = new DedeAjax(tgobj, false, true, '-', '-', '...'); | |||
var myajax = new DedeAjax(tgobj, false, true, '-', '-', ''); | |||
<? php | |||
if (strtolower(substr($cfg_soft_lang, 0, 3)) == 'utf') { | |||
?> | |||
@@ -12,7 +12,7 @@ | |||
<script> | |||
function getmodule(action, hash) { | |||
$DE('status_' + hash).innerHTML = '<img src=\'images/loadinglit.gif\'>'; | |||
var myajax = new DedeAjax($DE('status_' + hash), false, true, '-', '-', '...'); | |||
var myajax = new DedeAjax($DE('status_' + hash), false, true, '-', '-', ''); | |||
myajax.SendGet2('module_main.php?action=download&hash=' + hash); | |||
$DE('manager_' + hash).style.display = 'block'; | |||
DedeXHTTP = null; | |||
@@ -34,7 +34,7 @@ function checkSubmit() | |||
<td height="127" align="center" bgcolor="#FFFFFF"> | |||
<table width="98%" border="0" cellspacing="2" cellpadding="0"> | |||
<tr> | |||
<td height="26" colspan="2" align="left"> 说明:站内新闻是为了方便站长发布站点公告而设置的一种小功能,由于要读取包括text字段的信息,应定期删除太旧的信息,否则可能会让模板解析速度变慢如果没有选择显示频道,则在这个频道中使用这个标记时会被“所有位置...”的标记内容代替</td> | |||
<td height="26" colspan="2" align="left"> 说明:站内新闻是为了方便站长发布站点公告而设置的一种小功能,由于要读取包括text字段的信息,应定期删除太旧的信息,否则可能会让模板解析速度变慢如果没有选择显示频道,则在这个频道中使用这个标记时会被“所有位置”的标记内容代替</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="2" align="left"> 站内新闻调用代码:{dede:mynews row='条数' titlelen='标题长度'}Innertext{/dede:mynews},Innertext支持的字段为:[field:title | |||
@@ -49,7 +49,7 @@ function checkSubmit() | |||
<td height="30" align="right">显示频道:</td> | |||
<td align="left"> | |||
<select name="typeid" style="width:150"> | |||
<option value="0" selected>所有位置...</option> | |||
<option value="0" selected>所有位置</option> | |||
<?php | |||
$dsql->SetQuery("Select id,typename From #@__arctype where reid=0 order by sortrank desc"); | |||
$dsql->Execute(); | |||
@@ -35,7 +35,7 @@ function checkSubmit() | |||
<td height="127" align="center" bgcolor="#FFFFFF"> | |||
<table width="98%" border="0" cellspacing="2" cellpadding="0"> | |||
<tr> | |||
<td height="26" colspan="2" align="left"> 说明:站内新闻是为了方便站长发布站点公告而设置的一种小功能,由于要读取包括text字段的信息,应定期删除太旧的信息,否则可能会让模板解析速度变慢如果没有选择显示频道,则在这个频道中使用这个标记时会被“所有位置...”的标记内容代替</td> | |||
<td height="26" colspan="2" align="left"> 说明:站内新闻是为了方便站长发布站点公告而设置的一种小功能,由于要读取包括text字段的信息,应定期删除太旧的信息,否则可能会让模板解析速度变慢如果没有选择显示频道,则在这个频道中使用这个标记时会被“所有位置”的标记内容代替</td> | |||
</tr> | |||
<tr> | |||
<td height="26" colspan="2" align="left"> 站内新闻调用代码:{dede:mynews row='条数' titlelen='标题长度'}Innertext{/dede:mynews},Innertext支持的字段为:[field:title | |||
@@ -57,8 +57,8 @@ function checkSubmit() | |||
{ | |||
echo "<option value='".$row->id."'>".$row->typename."</option>\r\n"; | |||
} | |||
if($myNews['typeid']=="0") echo "<option value=\"0\" selected>所有位置...</option>\r\n"; | |||
else echo "<option value=\"0\">所有位置...</option>\r\n"; | |||
if($myNews['typeid']=="0") echo "<option value=\"0\" selected>所有位置</option>\r\n"; | |||
else echo "<option value=\"0\">所有位置</option>\r\n"; | |||
?> | |||
</select> | |||
</td> | |||
@@ -82,7 +82,7 @@ | |||
$tl = new TypeLink(0); | |||
$typeOptions = $tl->GetOptionArray(0,$admin_catalogs,0,1); | |||
echo "<select name='typeid' style='width:284px'>\r\n"; | |||
echo "<option value='0' selected>不限栏目...</option>\r\n"; | |||
echo "<option value='0' selected>不限栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> </td> | |||
@@ -91,7 +91,7 @@ | |||
<td height="26"> 限定频道: | |||
<?php | |||
echo "<select name='channel' style='width:100px'>\r\n"; | |||
echo "<option value='0' selected>不限频道...</option>\r\n"; | |||
echo "<option value='0' selected>不限频道</option>\r\n"; | |||
$tl->dsql->SetQuery("Select id,typename From #@__channeltype where id>0"); | |||
$tl->dsql->Execute(); | |||
while($row = $tl->dsql->GetObject()) | |||
@@ -103,7 +103,7 @@ | |||
附加属性: | |||
<?php | |||
echo "<select name='att' style='width:100px'>\r\n"; | |||
echo "<option value='0' selected>不限...</option>\r\n"; | |||
echo "<option value='0' selected>不限</option>\r\n"; | |||
$tl->dsql->SetQuery("Select * From #@__arcatt"); | |||
$tl->dsql->Execute(); | |||
while($row = $tl->dsql->GetObject()) | |||
@@ -21,7 +21,7 @@ function ReloadPage(ordertype) { | |||
orderby = ordertype; | |||
var listArea = $Obj('rslist'); | |||
var errMsg = "网络通信出错<br>[<a href=\"javascript:ReloadPage('" + ordertype + "')\">点击此重新加载列表</a>]"; | |||
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在加载..."); | |||
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在加载"); | |||
myajax.SendGet("search_keywords_main.php?dopost=getlist&pageno=" + pageno + "&orderby=" + ordertype); | |||
} | |||
//载入指定页的列表 | |||
@@ -37,7 +37,7 @@ function UpdateNote(nid) { | |||
var kws = $Obj('spwords' + nid).value; | |||
var ct = $Obj('count' + nid).value; | |||
var errMsg = "网络通信出错<br>[<a href=\"javascript:LoadPage('" + pageno + "')\">点击此重新加载列表</a>]"; | |||
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在处理..."); | |||
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在处理"); | |||
<?php | |||
if (strtolower(substr($cfg_soft_lang, 0, 3)) == 'utf') { | |||
?> | |||
@@ -65,7 +65,7 @@ function DelNote(nid) { | |||
var pagenum = Math.ceil(totalrow / pagesize); | |||
if (pagenum <= pageno) pageno = pagenum; | |||
var errMsg = "网络通信出错<br>[<a href=\"javascript:LoadPage('" + pageno + "')\">点击此重新加载列表</a>]"; | |||
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在处理..."); | |||
var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在处理"); | |||
myajax.SendGet("search_keywords_main.php?dopost=del&aid=" + nid + "&pageno=" + pageno + "&orderby=" + orderby); | |||
ReloadPageNum(pageno); | |||
} | |||
@@ -188,7 +188,7 @@ table{border-collapse:separate} | |||
<?php | |||
$typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n"; | |||
echo "<option value='0'>请选择栏目...</option>\r\n"; | |||
echo "<option value='0'>请选择栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -547,7 +547,7 @@ table{border-collapse:separate} | |||
<tr> | |||
<td width="90"> 关键字:</td> | |||
<td colspan="2"><input type='text' name="keywords" id="keywords" style="width:290px;" value="" /> | |||
<button type="button" name="Submit" class='btn btn-success btn-sm' onClick="SelectKeywords('form1.keywords');">浏览...</button> <label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>> 自动获取,手动填写用","分开</label></td> | |||
<button type="button" name="Submit" class='btn btn-success btn-sm' onClick="SelectKeywords('form1.keywords');">浏览</button> <label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>> 自动获取,手动填写用","分开</label></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -182,7 +182,7 @@ table{border-collapse:separate} | |||
<?php | |||
$typeOptions = GetOptionList($arcRow["typeid"],$cuserLogin->getUserChannel(),$channelid); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n"; | |||
if($arcRow["typeid"]=="0") echo "<option value='0' selected>请选择主分类...</option>\r\n"; | |||
if($arcRow["typeid"]=="0") echo "<option value='0' selected>请选择主分类</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -220,7 +220,7 @@ | |||
<td><?php | |||
$typeOptions = GetOptionList($cid, $cuserLogin->getUserChannel(), 0); | |||
echo "<select name='typeid' id='typeid' style='width:240px'>\r\n"; | |||
echo "<option value='0'>请选择主分类...</option>\r\n"; | |||
echo "<option value='0'>请选择主分类</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -240,7 +240,7 @@ | |||
<td width="202"><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" | |||
id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked="1" '; ?> /> | |||
自动获取,手动填写用","分开<br> | |||
<button type="button" name="Submit" class="btn btn-success btn-sm" onClick="SelectKeywords('form1.keywords');">浏览...</button></td> | |||
<button type="button" name="Submit" class="btn btn-success btn-sm" onClick="SelectKeywords('form1.keywords');">浏览</button></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -304,7 +304,7 @@ | |||
<tr> | |||
<td width="90"> 专题模板:</td> | |||
<td><input name="templet" type="text" id="templet" style="width:250px" value="<?php echo $cfg_df_style?>/article_spec.htm" /> | |||
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览...</button></td> | |||
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览</button></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -410,7 +410,7 @@ | |||
<tr> | |||
<td>节点容器模板:</td> | |||
<td colspan="2"><input name="notetemplet<?php echo $i?>" type="text" id="notetemplet<?php echo $i?>" value="system/channel_spec_note.htm" style="width:300"> | |||
<button type="button" name="selno<?php echo $i?>" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.notetemplet<?php echo $i?>');">浏览...</button></td> | |||
<button type="button" name="selno<?php echo $i?>" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.notetemplet<?php echo $i?>');">浏览</button></td> | |||
</tr> | |||
<?php | |||
} | |||
@@ -167,7 +167,7 @@ | |||
缩略图: | |||
</td> | |||
<td width="560"> | |||
<input name="picname" type="text" id="picname" style="width:300px" value="<?php echo $arcRow["litpic"]?>"> <button type="button" name="Submit" class="btn btn-success" onClick="SelectImage('form1.picname','');">浏览...</button> | |||
<input name="picname" type="text" id="picname" style="width:300px" value="<?php echo $arcRow["litpic"]?>"> <button type="button" name="Submit" class="btn btn-success" onClick="SelectImage('form1.picname','');">浏览</button> | |||
<label><input type='checkbox' class='np' name='ddisremote' value='1'> | |||
远程 </label> | |||
<span class="btn btn-success fileinput-button"> | |||
@@ -196,7 +196,7 @@ | |||
<td width="90"> 专题模板:</td> | |||
<td> | |||
<input name="templet" type="text" id="templet" style="width:250px" value="<?php echo $addRow["templet"]?>" /> | |||
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览...</button> | |||
<button type="button" name="set3" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.templet');">浏览</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -260,7 +260,7 @@ | |||
<?php | |||
$typeOptions = GetOptionList($arcRow["typeid"],$cuserLogin->getUserChannel(),0); | |||
echo "<select name='typeid' style='width:240px'>\r\n"; | |||
if($arcRow["typeid"]=="0") echo "<option value='0' selected='1'>请选择主分类...</option>\r\n"; | |||
if($arcRow["typeid"]=="0") echo "<option value='0' selected='1'>请选择主分类</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -243,7 +243,7 @@ if(!empty($egroup)) | |||
<div style='float:left;'> | |||
<b> 隶属分类:</b> | |||
<select name='topvalue' style='width:130px' onChange="ChangePage2(this)"> | |||
<option value='0'><?php echo $selgroup; ?>...</option> | |||
<option value='0'><?php echo $selgroup; ?></option> | |||
<?php echo $options; ?> | |||
</select> | |||
</div> | |||
@@ -27,7 +27,7 @@ | |||
</head> | |||
<body background='images/allbg.gif' leftmargin='8' topmargin='8'> | |||
<div id='loaddiv' style='display:none'> | |||
<p align='center'><img src='images/loadinglit.gif' /> 请稍后,正在载入中...</p> | |||
<p align='center'><img src='images/loadinglit.gif' /> 请稍后,正在载入中</p> | |||
</div> | |||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" class="table maintable table-bordered mt-3"> | |||
<tr> | |||
@@ -41,7 +41,7 @@ | |||
$dsql->Execute('me', 'Select * From `#@__admin` order by id asc'); | |||
while( $arr = $dsql->GetArray('me') ) | |||
{ | |||
echo "<div id='userct{$arr['id']}' class='userct'><p align='center'><img src='images/loadinglit.gif' /> 请稍后,正在载入中...</p></div>\r\n<script language='javascript'>LoadUser({$arr['id']});</script>\r\n"; | |||
echo "<div id='userct{$arr['id']}' class='userct'><p align='center'><img src='images/loadinglit.gif' /> 请稍后,正在载入中</p></div>\r\n<script language='javascript'>LoadUser({$arr['id']});</script>\r\n"; | |||
} | |||
?> | |||
</td> | |||
@@ -11,7 +11,7 @@ | |||
function ShowFields() { | |||
var exptable = $DE('exptable').options[$DE('exptable').selectedIndex].value; | |||
var queryUrl = "sys_data_replace.php?exptable=" + exptable + "&action=getfields"; | |||
var myajax = new DedeAjax($DE('fields'), true, true, '', 'x', '...'); | |||
var myajax = new DedeAjax($DE('fields'), true, true, '', 'x', ''); | |||
myajax.SendGet(queryUrl); | |||
} | |||
function CheckSubmit() { | |||
@@ -74,7 +74,7 @@ | |||
<tr bgcolor="#F7F8ED"> | |||
<td height="26" colspan="4" valign="top"> | |||
<strong>发现的备份文件:</strong> | |||
<?php if(count($filelists)==0) echo " 没找到任何备份文件... "; ?> | |||
<?php if(count($filelists)==0) echo " 没找到任何备份文件 "; ?> | |||
</td> | |||
</tr> | |||
<?php | |||
@@ -34,7 +34,7 @@ | |||
</head> | |||
<body leftmargin="8" topmargin="8" background='images/allbg.gif'> | |||
<div id='loaddiv' style='display:none'> | |||
<p align='center' style='padding-top:200px'><img src='images/loadinglit.gif'> 请稍后,正在操作中...</p> | |||
<p align='center' style='padding-top:200px'><img src='images/loadinglit.gif'> 请稍后,正在操作中</p> | |||
</div> | |||
<div class="bodytitle mt-3"> | |||
<div class="bodytitleleft"></div> | |||
@@ -63,7 +63,7 @@ | |||
$tl = new TypeLink($cid); | |||
$typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0); | |||
echo "<select name='typeid' style='width:300'>\r\n"; | |||
if($cid=="0") echo "<option value='0' selected>不使用环境ID...</option>\r\n"; | |||
if($cid=="0") echo "<option value='0' selected>不使用环境ID</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -500,7 +500,7 @@ class Archives | |||
if ($GLOBALS['cfg_jump_once'] == 'N') { | |||
$pageHtml = "<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=".$GLOBALS['cfg_soft_lang']."\">\r\n<title>".$this->Fields['title']."</title>\r\n"; | |||
$pageHtml .= "<meta http-equiv=\"refresh\" content=\"3;URL=".$this->Fields['redirecturl']."\">\r\n</head>\r\n<body>\r\n"; | |||
$pageHtml .= "现在正在转向:".$this->Fields['title'].",请稍候...<br><br>\r\n转向内容简介:".$this->Fields['description']."\r\n</body>\r\n</html>\r\n"; | |||
$pageHtml .= "现在正在转向:".$this->Fields['title'].",请稍候<br><br>\r\n转向内容简介:".$this->Fields['description']."\r\n</body>\r\n</html>\r\n"; | |||
echo $pageHtml; | |||
} else { | |||
header("location:{$this->Fields['redirecturl']}"); | |||
@@ -21,7 +21,7 @@ class DedeCli | |||
{ | |||
public static $readline_support = false; | |||
protected static $initialized = false; | |||
protected static $wait_msg = "Press any key to continue..."; | |||
protected static $wait_msg = "Press any key to continue"; | |||
protected static $segments = []; | |||
protected static $options = []; | |||
@@ -355,7 +355,7 @@ class DedeCli | |||
$time = $seconds; | |||
while ($time > 0) | |||
{ | |||
fwrite(STDOUT, $time.'... '); | |||
fwrite(STDOUT, $time.' '); | |||
sleep(1); | |||
$time--; | |||
} | |||
@@ -93,7 +93,7 @@ function dede_random_bytes($length) | |||
* { | |||
* function HelloDede() | |||
* { | |||
* echo "Hello! Dede..."; | |||
* echo "Hello! Dede"; | |||
* } | |||
* } | |||
* </code> | |||
@@ -101,19 +101,19 @@ function GetFormItem($ctag, $admintype = 'admin') | |||
if ($admintype == 'diy') { | |||
$innertext = "<input type='file' name='$fieldname' id='$fieldname' style='width:360px' />\r\n"; | |||
} else { | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:360px' class='text' /> <input name='".$fieldname."_bt' type='button' class='inputbut' value='浏览...' onClick=\"SelectImage('form1.$fieldname','big')\" />\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:360px' class='text' /> <input name='".$fieldname."_bt' type='button' class='inputbut' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\" />\r\n"; | |||
} | |||
} else if ($fieldType == 'media') { | |||
if ($admintype == 'diy') { | |||
$innertext = "<input type='hidden' name='$fieldname' id='$fieldname' value='' />不支持的类型\r\n"; | |||
} else { | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:360px' class='text' /> <input name='".$fieldname."_bt' type='button' class='inputbut' value='浏览...' onClick=\"SelectMedia('form1.$fieldname')\" />\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:360px' class='text' /> <input name='".$fieldname."_bt' type='button' class='inputbut' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\" />\r\n"; | |||
} | |||
} else if ($fieldType == 'addon') { | |||
if ($admintype == 'diy') { | |||
$innertext = "<input type='file' name='$fieldname' id='$fieldname' style='width:360px' />\r\n"; | |||
} else { | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:360px' class='text' /> <input name='".$fieldname."_bt' type='button' class='inputbut' value='浏览...' onClick=\"SelectSoft('form1.$fieldname')\" />\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:360px' class='text' /> <input name='".$fieldname."_bt' type='button' class='inputbut' value='浏览' onClick=\"SelectSoft('form1.$fieldname')\" />\r\n"; | |||
} | |||
} else if ($fieldType == 'int' || $fieldType == 'float') { | |||
$dfvalue = ($ctag->GetAtt('default') != '' ? $ctag->GetAtt('default') : '0'); | |||
@@ -403,13 +403,13 @@ function GetFormItemValue($ctag, $fvalue, $admintype = 'admin', $fieldname = '') | |||
$ntag = $ndtp->GetTag("img"); | |||
$fvalue = trim($ntag->GetInnerText()); | |||
} | |||
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:360px' class='intxt' /> <input name='".$fieldname."_bt' class='inputbut' type='button' value='浏览...' onClick=\"SelectImage('form1.$fieldname','big')\" />\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:360px' class='intxt' /> <input name='".$fieldname."_bt' class='inputbut' type='button' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\" />\r\n"; | |||
} else if ($ftype == "imgfile") { | |||
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:360px' class='intxt' /> <input name='".$fieldname."_bt' class='inputbut' type='button' value='浏览...' onClick=\"SelectImage('form1.$fieldname','big')\" />\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:360px' class='intxt' /> <input name='".$fieldname."_bt' class='inputbut' type='button' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\" />\r\n"; | |||
} else if ($ftype == "media") { | |||
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:360px' class='intxt' /> <input name='".$fieldname."_bt' class='inputbut' type='button' value='浏览...' onClick=\"SelectMedia('form1.$fieldname')\" />\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:360px' class='intxt' /> <input name='".$fieldname."_bt' class='inputbut' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\" />\r\n"; | |||
} else if ($ftype == "addon") { | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' value='$fvalue' style='width:360px' class='intxt' /> <input name='".$fieldname."_bt' class='inputbut' type='button' value='浏览...' onClick=\"SelectSoft('form1.$fieldname')\" />\r\n"; | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' value='$fvalue' style='width:360px' class='intxt' /> <input name='".$fieldname."_bt' class='inputbut' type='button' value='浏览' onClick=\"SelectSoft('form1.$fieldname')\" />\r\n"; | |||
} else if ($ftype == "int" || $ftype == "float") { | |||
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:100px' class='intxt' value='$fvalue' /> (填写数值)\r\n"; | |||
} else if ($ftype == "relation") { | |||
@@ -210,7 +210,7 @@ class DedeTagParse | |||
foreach ($tokens as $token) { | |||
if (is_array($token)) { | |||
if ($token[0] = '306' && in_array($token[1], $disabled_functions)) { | |||
$errmsg = 'DedeBIZ Error:function disabled "'.$token[1].'" <a href="https://www.dedebiz.com/help" target="_blank">more...</a>'; | |||
$errmsg = 'DedeBIZ Error:function disabled "'.$token[1].'" <a href="https://www.dedebiz.com/help" target="_blank">more</a>'; | |||
return FALSE; | |||
} | |||
} | |||
@@ -446,7 +446,7 @@ class DedeTemplate | |||
foreach ($tokens as $token) { | |||
if (is_array($token)) { | |||
if ($token[0] = '306' && in_array($token[1], $disabled_functions)) { | |||
$errmsg = 'DedeBIZ Error:function disabled "'.$token[1].'" <a href="https://www.dedebiz.com/help" target="_blank">more...</a>'; | |||
$errmsg = 'DedeBIZ Error:function disabled "'.$token[1].'" <a href="https://www.dedebiz.com/help" target="_blank">more</a>'; | |||
return FALSE; | |||
} | |||
} | |||
@@ -488,7 +488,7 @@ function MakeOneTag(&$dtp, &$refObj, $parfield = 'Y') | |||
} | |||
if (in_array($tagname, $alltags)) { | |||
if (in_array($tagname, $disable_tags)) { | |||
if (DEBUG_LEVEL) echo 'DedeBIZ Error:Tag disabled:"'.$tagname.'" <a href="https://www.dedebiz.com/help/" target="_blank">more...</a>!'; | |||
if (DEBUG_LEVEL) echo 'DedeBIZ Error:Tag disabled:"'.$tagname.'" <a href="https://www.dedebiz.com/help/" target="_blank">more</a>!'; | |||
continue; | |||
} | |||
if (DEBUG_LEVEL == TRUE) { | |||
@@ -13,6 +13,6 @@ if (!defined('DEDEINC')) exit('dedebiz'); | |||
if (!function_exists('HelloDede')) { | |||
function HelloDede() | |||
{ | |||
echo "Hello! Dede..."; | |||
echo "Hello! Dede"; | |||
} | |||
} |
@@ -790,7 +790,7 @@ | |||
} | |||
} | |||
//and a little bit... | |||
//and a little bit | |||
$frame[$width - 8][8] = "\x81"; | |||
return $frame; | |||
@@ -478,7 +478,7 @@ | |||
} | |||
} | |||
//and a little bit... | |||
//and a little bit | |||
$frame[$width - 8][8] = "\x81"; | |||
return $frame; | |||
@@ -971,7 +971,7 @@ class SplitWord | |||
/** | |||
* 获取索引hash数组 | |||
* @return array('word'=>count,...) | |||
* @return array('word'=>count,) | |||
*/ | |||
function GetFinallyIndex() | |||
{ | |||
@@ -527,7 +527,7 @@ INSERT INTO `#@__flinktype` VALUES('1','综合网站'), | |||
('7','论坛类'), | |||
('8','其它类型'); | |||
INSERT INTO `#@__freelist` VALUES('1','测试内容','{listdir}/index_{listid}_{page}.html','{cmspath}/freelist/','index.html','1','{style}/list_free.htm','1289712633','100','0','{dede:list pagesize="30" col="1" titlelen="60" orderby="pubdate" orderway="desc" typeid="1" channel="1" }<li>[field:imglink/] [field:textlink/] <span class=info><small>日期:</small>[field:pubdate function="getdatemk(@me)"/] <small>点击:</small>[field:click/] <small>好评:</small>[field:scores/] </span>\t\n<p class=intro>[field:description/]...</p></li>{/dede:list}','阿三大厦大大','阿三大厦大厦大撒'), | |||
INSERT INTO `#@__freelist` VALUES('1','测试内容','{listdir}/index_{listid}_{page}.html','{cmspath}/freelist/','index.html','1','{style}/list_free.htm','1289712633','100','0','{dede:list pagesize="30" col="1" titlelen="60" orderby="pubdate" orderway="desc" typeid="1" channel="1" }<li>[field:imglink/] [field:textlink/] <span class=info><small>日期:</small>[field:pubdate function="getdatemk(@me)"/] <small>点击:</small>[field:click/] <small>好评:</small>[field:scores/] </span>\t\n<p class=intro>[field:description/]</p></li>{/dede:list}','阿三大厦大大','阿三大厦大厦大撒'), | |||
('10','Google SiteMap 生成器','{listdir}googlemap_{page}.xml','{cmspath}','index.html','1','{style}/googlemap.htm','1226884666','100','0','{dede:list pagesize="500" col="1" titlelen="60" orderby="pubdate" orderway="desc" \t\n channel="1" keyword="" }<url>\t\n <loc>[field:arcurl function="Gmapurl(@me)"/]</loc> \t\n <title>[field:title function="HtmlReplace(@me)"/]</title>\t\n <news:news>\t\n <news:keywords>[field:keywords/]</news:keywords>\t\n <news:publication_date>[field:senddate function="strftime('%Y-%m-%d',@me)"/]</news:publication_date>\t\n </news:news>\t\n</url>{/dede:list}','',''); | |||
INSERT INTO `#@__member_type` VALUES('1','50','中级会员半年','100','7'); | |||
@@ -175,7 +175,7 @@ function CheckRank($rank = 0, $money = 0) | |||
ShowMsg("邮箱地址为空,请设置一个可用的邮箱地址", "edit_email.php", 0, 5000); | |||
exit; | |||
} | |||
$msg = "您尚未进行邮件验证,请到邮箱查阅...</br>重新发送邮件验证 <a href='{$cfg_memberurl}/index_do.php?fmdo=sendMail'><span style='color:#dc3545'>点击此处</span></a>"; | |||
$msg = "您尚未进行邮件验证,请到邮箱查阅</br>重新发送邮件验证 <a href='{$cfg_memberurl}/index_do.php?fmdo=sendMail'><span style='color:#dc3545'>点击此处</span></a>"; | |||
ShowMsg($msg, "-1", 0, 5000); | |||
exit; | |||
} | |||
@@ -220,10 +220,10 @@ else if ($fmdo == 'login') { | |||
//清除会员缓存 | |||
$cfg_ml->DelCache($cfg_ml->M_ID); | |||
if (empty($gourl) || preg_match("#action|_do#i", $gourl)) { | |||
ShowMsg("成功登录,5秒钟后转向系统主页...", "index.php", 0, 2000); | |||
ShowMsg("成功登录,5秒钟后转向系统主页", "index.php", 0, 2000); | |||
} else { | |||
$gourl = str_replace('^', '&', $gourl); | |||
ShowMsg("成功登录,现在转向指定页面...", $gourl, 0, 2000); | |||
ShowMsg("成功登录,现在转向指定页面", $gourl, 0, 2000); | |||
} | |||
exit(); | |||
} | |||
@@ -61,7 +61,7 @@ | |||
<?php | |||
$typeOptions = GetOptionList(0,$channelid); | |||
echo "<select class='form-control' name='typeid' size='1'>\r\n"; | |||
echo "<option value='0' selected>请选择栏目...</option>\r\n"; | |||
echo "<option value='0' selected>请选择栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -59,7 +59,7 @@ | |||
<?php | |||
$typeOptions = GetOptionList(0,$channelid); | |||
echo "<select class='form-control' name='typeid' size='1'>\r\n"; | |||
echo "<option value='0' selected>请选择栏目...</option>\r\n"; | |||
echo "<option value='0' selected>请选择栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -59,7 +59,7 @@ | |||
<?php | |||
$typeOptions = GetOptionList(0,$channelid); | |||
echo "<select class='form-control' name='typeid' size='1'>\r\n"; | |||
echo "<option value='0' selected>请选择栏目...</option>\r\n"; | |||
echo "<option value='0' selected>请选择栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -59,7 +59,7 @@ | |||
<?php | |||
$typeOptions = GetOptionList(0,$channelid); | |||
echo "<select class='form-control' name='typeid' size='1'>\r\n"; | |||
echo "<option value='0' selected>请选择栏目...</option>\r\n"; | |||
echo "<option value='0' selected>请选择栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -81,7 +81,7 @@ | |||
<?php | |||
$typeOptions = GetOptionList(0,$channelid); | |||
echo "<select class='form-control' name='typeid' size='1'>\r\n"; | |||
echo "<option value='0' selected>请选择栏目...</option>\r\n"; | |||
echo "<option value='0' selected>请选择栏目</option>\r\n"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?> | |||
@@ -36,7 +36,7 @@ | |||
{ | |||
echo '<tbody>'; | |||
echo '<tr><td bgcolor="#eeeeee" width="20%">id</td>'; | |||
echo '<td bgcolor="#eeeeee"><div class="left">'.$fields['id'].'</div><div class="right"><a href="diy.php?action=view&diyid='.$diy->diyid.'&id='.$fields['id'].'" target="_blank">详细...</a> </div></td></tr>'; | |||
echo '<td bgcolor="#eeeeee"><div class="left">'.$fields['id'].'</div><div class="right"><a href="diy.php?action=view&diyid='.$diy->diyid.'&id='.$fields['id'].'" target="_blank">详细</a> </div></td></tr>'; | |||
foreach($fieldlist as $field=>$fielddata) | |||
{ | |||
if($fields[$field]=='') continue; | |||
@@ -54,7 +54,7 @@ | |||
else $fields[$field] = dede_htmlspecialchars($fields[$field]); | |||
if( strlen($fields[$field]) > 250 ) | |||
{ | |||
$fields[$field] = cn_substr( $fields[$field], 250).'...'; | |||
$fields[$field] = cn_substr( $fields[$field], 250).''; | |||
} | |||
} | |||
echo "<tr><td bgcolor='#ffffff'>{$fielddata[0]}</td><td bgcolor='#ffffff'>{$fields[$field]}</td></tr>\r\n"; | |||
@@ -1,7 +1,7 @@ | |||
<div class='col1'> | |||
<div class='mainlinklist'>·<a href='[field:arcurl/]'>[field:title/]</a></div> | |||
<div class='descriptions'> | |||
[field:description/]... | |||
[field:description/] | |||
</div> | |||
<div class='addinfos'> | |||
日期:[field:pubdate function="GetDateTimeMK(@me)"/] 点击:[field:click/] 好评度:[field:scores/] | |||
@@ -6,6 +6,6 @@ | |||
<a href="[field:typelink/]">[field:typename/]</a> | |||
</li> | |||
<li style='float:right;padding-right:3px;'> | |||
<a href="[field:typelink/]">更多...</a> | |||
<a href="[field:typelink/]">更多</a> | |||
</li> | |||
</ul> |
@@ -9,7 +9,7 @@ | |||
<a href="[field:typelink /]">[field:typename /]</a> | |||
</td> | |||
<td width='30%' align='right'> | |||
<a href="[field:typelink /]">更多...</a> | |||
<a href="[field:typelink /]">更多</a> | |||
</td> | |||
</tr> | |||
</table> | |||