@@ -32,7 +32,7 @@ if ($dopost == 'delete') { | |||||
如果不希望重新生成所有页面,则直接调用JS代码即可。 | 如果不希望重新生成所有页面,则直接调用JS代码即可。 | ||||
"; | "; | ||||
$wintitle = "广告管理-获取广告标签"; | $wintitle = "广告管理-获取广告标签"; | ||||
$wecome_info = "<a href='ad_main.php'><u>广告管理</u></a>::获取JS"; | |||||
$wecome_info = "<a href='ad_main.php'>广告管理</a>::获取JS"; | |||||
$win = new OxWindow(); | $win = new OxWindow(); | ||||
$win->Init(); | $win->Init(); | ||||
$winform = $win->GetWindow("hand", $info); | $winform = $win->GetWindow("hand", $info); | ||||
@@ -33,6 +33,6 @@ function GetSta($sta) | |||||
function GetMan($sta) | function GetMan($sta) | ||||
{ | { | ||||
if ($sta == 1) return "<u>禁用</u>"; | |||||
else return "<u>启用</u>"; | |||||
if ($sta == 1) return "禁用"; | |||||
else return "启用"; | |||||
} | } |
@@ -15,5 +15,5 @@ if (empty($t) || $cfg_check_title == 'N') exit; | |||||
$row = $dsql->GetOne("SELECT id FROM `#@__archives` WHERE title LIKE '$t' "); | $row = $dsql->GetOne("SELECT id FROM `#@__archives` WHERE title LIKE '$t' "); | ||||
if (is_array($row)) { | if (is_array($row)) { | ||||
echo "提示:系统已经存在标题为 '<a href='../plus/view.php?aid={$row['id']}' style='color:red' target='_blank'><u>$t</u></a>' 的文档。[<a href='#' onclick='javascript:HideObj(\"mytitle\")'>关闭</a>]"; | |||||
echo "提示:系统已经存在标题为 '<a href='../plus/view.php?aid={$row['id']}' style='color:red' target='_blank'>$t</a>' 的文档。[<a href='#' onclick='javascript:HideObj(\"mytitle\")'>关闭</a>]"; | |||||
} | } |
@@ -40,7 +40,7 @@ function GetArchives($dsql, $ordertype) | |||||
$dsql->Execute('ga'); | $dsql->Execute('ga'); | ||||
while ($row = $dsql->GetObject('ga')) { | while ($row = $dsql->GetObject('ga')) { | ||||
if (preg_match("#feedback#i", $ordertype)) { | if (preg_match("#feedback#i", $ordertype)) { | ||||
$moreinfo = "[<a target='_blank' href='".$GLOBALS['cfg_phpurl']."/feedback.php?aid={$row->id}'><u>评论:{$row->scores}</u></a>]"; | |||||
$moreinfo = "[<a target='_blank' href='".$GLOBALS['cfg_phpurl']."/feedback.php?aid={$row->id}'>评论:{$row->scores}</a>]"; | |||||
} else { | } else { | ||||
$moreinfo = "[点击:{$row->click}]"; | $moreinfo = "[点击:{$row->click}]"; | ||||
} | } | ||||
@@ -126,7 +126,7 @@ else if ($fmdo == "space") { | |||||
} else { | } else { | ||||
$ecpath = $activepath; | $ecpath = $activepath; | ||||
} | } | ||||
$titleinfo = "目录 <a href='file_manage_main.php?activepath=$activepath'><b><u>$ecpath</u></b></a> 空间使用状况:<br/>"; | |||||
$titleinfo = "目录 <a href='file_manage_main.php?activepath=$activepath'><b>$ecpath</b></a> 空间使用状况:<br/>"; | |||||
$wintitle = "文件管理"; | $wintitle = "文件管理"; | ||||
$wecome_info = "文件管理::空间大小检查 [<a href='file_manage_main.php?activepath=$activepath'>文件浏览器</a>]</a>"; | $wecome_info = "文件管理::空间大小检查 [<a href='file_manage_main.php?activepath=$activepath'>文件浏览器</a>]</a>"; | ||||
$activepath = $cfg_basedir.$activepath; | $activepath = $cfg_basedir.$activepath; | ||||
@@ -68,10 +68,10 @@ function GetTagList($dsql,$pageno,$pagesize,$orderby='aid') | |||||
$start = ($pageno-1) * $pagesize; | $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:5px;'> | $printhead ="<table width='98%' border='0' cellpadding='1' cellspacing='1' align='center' class='table maintable table-bordered' style='background:#cfcfcf;margin-bottom:5px;'> | ||||
<tr align='center' bgcolor='#FBFCE2'> | <tr align='center' bgcolor='#FBFCE2'> | ||||
<td width='5%' class='tbsname'><a href='#' onclick=\"ReloadPage('aid')\"><u>ID</u></a></td> | |||||
<td width='5%' class='tbsname'><a href='#' onclick=\"ReloadPage('aid')\">ID</a></td> | |||||
<td width='20%' class='tbsname'>列表名称</td> | <td width='20%' class='tbsname'>列表名称</td> | ||||
<td width='20%' class='tbsname'>模板文件</td> | <td width='20%' class='tbsname'>模板文件</td> | ||||
<td width='5%' class='tbsname'><a href='#' onclick=\"ReloadPage('click')\"><u>点击</u></a></td> | |||||
<td width='5%' class='tbsname'><a href='#' onclick=\"ReloadPage('click')\">点击</a></td> | |||||
<td width='15%' class='tbsname'>创建时间</td> | <td width='15%' class='tbsname'>创建时间</td> | ||||
<td class='tbsname'>管理</td> | <td class='tbsname'>管理</td> | ||||
</tr>\r\n"; | </tr>\r\n"; | ||||
@@ -85,7 +85,7 @@ function ShowMenu(evt,obj,aid,atitle) | |||||
new ContextItem("推荐文档",function(){ adArc(aid); }), | new ContextItem("推荐文档",function(){ adArc(aid); }), | ||||
new ContextItem("删除文档",function(){ delArc(aid); }), | new ContextItem("删除文档",function(){ delArc(aid); }), | ||||
new ContextSeperator(), | new ContextSeperator(), | ||||
new ContextItem("复制(<u>C</u>)",function(){ copyToClipboard(atitle); }), | |||||
new ContextItem("复制(C)",function(){ copyToClipboard(atitle); }), | |||||
new ContextItem("重载页面",function(){ location.reload(); }), | new ContextItem("重载页面",function(){ location.reload(); }), | ||||
new ContextSeperator(), | new ContextSeperator(), | ||||
new ContextItem("全部选择",function(){ selAll(); }), | new ContextItem("全部选择",function(){ selAll(); }), | ||||
@@ -1,5 +1,4 @@ | |||||
<?php | <?php | ||||
/** | /** | ||||
* 模块管理 | * 模块管理 | ||||
* | * | ||||
@@ -17,7 +16,6 @@ if (empty($action)) $action = ''; | |||||
require_once(DEDEDATA."/admin/config_update.php"); | require_once(DEDEDATA."/admin/config_update.php"); | ||||
$mdir = DEDEDATA.'/module'; | $mdir = DEDEDATA.'/module'; | ||||
$mdurl = ""; | $mdurl = ""; | ||||
function TestWriteAble($d) | function TestWriteAble($d) | ||||
{ | { | ||||
$tfile = '_dedet.txt'; | $tfile = '_dedet.txt'; | ||||
@@ -31,13 +29,12 @@ function TestWriteAble($d) | |||||
else return FALSE; | else return FALSE; | ||||
} | } | ||||
} | } | ||||
function ReWriteConfigAuto() | function ReWriteConfigAuto() | ||||
{ | { | ||||
global $dsql; | global $dsql; | ||||
$configfile = DEDEDATA.'/config.cache.inc.php'; | $configfile = DEDEDATA.'/config.cache.inc.php'; | ||||
if (!is_writeable($configfile)) { | if (!is_writeable($configfile)) { | ||||
echo "配置文件'{$configfile}'不支持写入,无法修改系统配置参数!"; | |||||
echo "配置文件'{$configfile}'不支持写入,无法修改系统配置参数"; | |||||
//ClearAllLink(); | //ClearAllLink(); | ||||
exit(); | exit(); | ||||
} | } | ||||
@@ -53,7 +50,6 @@ function ReWriteConfigAuto() | |||||
fwrite($fp, "?".">"); | fwrite($fp, "?".">"); | ||||
fclose($fp); | fclose($fp); | ||||
} | } | ||||
/*-------------- | /*-------------- | ||||
function ShowAll(); | function ShowAll(); | ||||
--------------*/ | --------------*/ | ||||
@@ -61,7 +57,6 @@ if ($action == '') { | |||||
$types = array('soft' => '模块', 'templets' => '模板', 'plus' => '小插件', 'patch' => '补丁'); | $types = array('soft' => '模块', 'templets' => '模板', 'plus' => '小插件', 'patch' => '补丁'); | ||||
$dm = new DedeModule($mdir); | $dm = new DedeModule($mdir); | ||||
if (empty($moduletype)) $moduletype = ''; | if (empty($moduletype)) $moduletype = ''; | ||||
$modules_remote = $dm->GetModuleUrlList($moduletype, $mdurl); | $modules_remote = $dm->GetModuleUrlList($moduletype, $mdurl); | ||||
$modules = array(); | $modules = array(); | ||||
$modules = $dm->GetModuleList($moduletype); | $modules = $dm->GetModuleList($moduletype); | ||||
@@ -75,16 +70,15 @@ if ($action == '') { | |||||
} | } | ||||
/*-------------- | /*-------------- | ||||
function ViewDevelopoer(); | function ViewDevelopoer(); | ||||
--------------*/ else if ($action == 'view_developoer') { | |||||
// 检验开发者信息 | |||||
--------------*/ | |||||
else if ($action == 'view_developoer') { | |||||
//检验开发者信息 | |||||
$dm = new DedeModule($mdir); | $dm = new DedeModule($mdir); | ||||
$info = $dm->GetModuleInfo($hash); | $info = $dm->GetModuleInfo($hash); | ||||
if ($info == null) { | if ($info == null) { | ||||
ShowMsg("获取模块信息错误,模块文件可能被篡改", -1); | ShowMsg("获取模块信息错误,模块文件可能被篡改", -1); | ||||
exit; | exit; | ||||
} | } | ||||
$dev_id = $info['dev_id']; | $dev_id = $info['dev_id']; | ||||
$devURL = DEDECDNURL."/developers/$dev_id.json"; | $devURL = DEDECDNURL."/developers/$dev_id.json"; | ||||
$dhd = new DedeHttpDown(); | $dhd = new DedeHttpDown(); | ||||
@@ -98,25 +92,23 @@ function ViewDevelopoer(); | |||||
$authAt = date("Y-m-d", $devInfo['auth_at']); | $authAt = date("Y-m-d", $devInfo['auth_at']); | ||||
if (!isset($info['dev_id'])) { | if (!isset($info['dev_id'])) { | ||||
$devInfo['realname'] = $devInfo['dev_name'] = $info['team']." <font color=red>未认证</font>"; | |||||
$devInfo['realname'] = $devInfo['dev_name'] = $info['team']." <font color='red'>未认证</font>"; | |||||
$authAt = "0000-00-00"; | $authAt = "0000-00-00"; | ||||
} | } | ||||
ShowMsg("<div class='text-left'><p>开发者名称:{$devInfo['dev_name']}</p><p>开发者全称:{$devInfo['realname']}</p><p>开发者ID:{$devInfo['dev_id']} <a class='btn btn-success btn-sm' target='_blank' href='{$cfg_biz_dedebizUrl}/developer?dev_id={$devInfo['dev_id']}'>查看详情</a></p>$offUrl<p>认证于:{$authAt}</p></a>", "javascript:;"); | |||||
ShowMsg("<div class='text-left'><p>开发者名称:{$devInfo['dev_name']}</p><p>开发者全称:{$devInfo['realname']}</p><p>开发者ID:{$devInfo['dev_id']} <a target='_blank' href='{$cfg_biz_dedebizUrl}/developer?dev_id={$devInfo['dev_id']}' class='btn btn-success btn-sm'>未认证</a></p>$offUrl<p>认证于:{$authAt}</p></a>", "javascript:;"); | |||||
exit; | exit; | ||||
} | } | ||||
/*-------------- | /*-------------- | ||||
function Setup(); | function Setup(); | ||||
--------------*/ else if ($action == 'setup') { | |||||
--------------*/ | |||||
else if ($action == 'setup') { | |||||
$dm = new DedeModule($mdir); | $dm = new DedeModule($mdir); | ||||
$infos = $dm->GetModuleInfo($hash); | $infos = $dm->GetModuleInfo($hash); | ||||
if ($infos == null) { | if ($infos == null) { | ||||
ShowMsg("获取模块信息错误,模块文件可能被篡改", -1); | ShowMsg("获取模块信息错误,模块文件可能被篡改", -1); | ||||
exit; | exit; | ||||
} | } | ||||
$alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '<br /><font color="red">(这个模块的语言编码与您系统的编码不一致,请向开发者确认它的兼容性)</font>'); | |||||
$alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '<br />(这个模块的语言编码与您系统的编码不一致,请向开发者确认它的兼容性)'); | |||||
$filelists = $dm->GetFileLists($hash); | $filelists = $dm->GetFileLists($hash); | ||||
$filelist = ''; | $filelist = ''; | ||||
$prvdirs = array(); | $prvdirs = array(); | ||||
@@ -147,85 +139,74 @@ function Setup(); | |||||
$prvdirs[$prvdir][1] = TestWriteAble($prvdir); | $prvdirs[$prvdir][1] = TestWriteAble($prvdir); | ||||
} | } | ||||
} | } | ||||
$prvdir = "<table cellpadding='1' cellspacing='1' width='350' bgcolor='#cfcfcf' style='margin-top:5px;'>\r\n"; | |||||
$prvdir = "<table cellpadding='1' cellspacing='1' width='350' bgcolor='#cfcfcf' style='margin-top:10px'>\r\n"; | |||||
$prvdir .= "<tr style='background:#FBFCE2'><th width='270'>目录</td><th align='center'>可写</td></tr>\r\n"; | $prvdir .= "<tr style='background:#FBFCE2'><th width='270'>目录</td><th align='center'>可写</td></tr>\r\n"; | ||||
foreach ($prvdirs as $k => $v) { | foreach ($prvdirs as $k => $v) { | ||||
if ($v) $cw = '√'; | if ($v) $cw = '√'; | ||||
else $cw = '<font color="red">×</font>'; | else $cw = '<font color="red">×</font>'; | ||||
$prvdir .= "<tr bgcolor='#ffffff'><td >$k</td>"; | |||||
$prvdir .= "<td align='center' >$cw</td></tr>\r\n"; | |||||
$prvdir .= "<tr bgcolor='#ffffff'><td>$k</td>"; | |||||
$prvdir .= "<td align='center'>$cw</td></tr>\r\n"; | |||||
} | } | ||||
$prvdir .= "</table>"; | $prvdir .= "</table>"; | ||||
$win = new OxWindow(); | $win = new OxWindow(); | ||||
$win->Init("module_main.php", "js/blank.js", "post"); | $win->Init("module_main.php", "js/blank.js", "post"); | ||||
$wecome_info = "模块管理"; | $wecome_info = "模块管理"; | ||||
$win->AddTitle(" <a href='module_main.php'>模块管理</a> >> 安装模块: {$infos['name']}"); | $win->AddTitle(" <a href='module_main.php'>模块管理</a> >> 安装模块: {$infos['name']}"); | ||||
$win->AddHidden("hash", $hash); | $win->AddHidden("hash", $hash); | ||||
$win->AddHidden("action", 'setupstart'); | $win->AddHidden("action", 'setupstart'); | ||||
$msg = "<style>.dtb{border-bottom:1px dotted #cccccc}</style> | |||||
$msg = "<style>.dtb{border-bottom:1px dotted #ccc}</style> | |||||
<table width='98%' border='0' cellspacing='0' cellpadding='0' class='table'> | <table width='98%' border='0' cellspacing='0' cellpadding='0' class='table'> | ||||
<tr> | <tr> | ||||
<td width='20%' height='28' class='dtb'>模块名称:</td> | |||||
<td width='20%' height='26' class='dtb'>模块名称:</td> | |||||
<td width='80%' class='dtb'>{$infos['name']}</td> | <td width='80%' class='dtb'>{$infos['name']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>语言:</td> | |||||
<td height='26' class='dtb'>语言:</td> | |||||
<td class='dtb'>{$infos['lang']} {$alertMsg}</td> | <td class='dtb'>{$infos['lang']} {$alertMsg}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>文件大小:</td> | |||||
<td height='26' class='dtb'>文件大小:</td> | |||||
<td class='dtb'>{$infos['filesize']}</td> | <td class='dtb'>{$infos['filesize']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>开发者ID:</td> | |||||
<td class='dtb'>{$infos['dev_id']} <a class='btn btn-success btn-sm' target='_blank' href='{$cfg_biz_dedebizUrl}/developer?dev_id={$infos['dev_id']}'>查看详情</a></td> | |||||
<td height='26' class='dtb'>开发者ID:</td> | |||||
<td class='dtb'>{$infos['dev_id']} <a href='{$cfg_biz_dedebizUrl}/developer?dev_id={$infos['dev_id']}' target='_blank' class='btn btn-success btn-sm'>未认证</a></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>发布时间:</td> | |||||
<td height='26' class='dtb'>发布时间:</td> | |||||
<td class='dtb'>{$infos['time']}</td> | <td class='dtb'>{$infos['time']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>使用协议:</td> | |||||
<td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank'>点击浏览...</a></td> | |||||
<td height='26' class='dtb'>使用协议:</td> | |||||
<td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank' class='btn btn-success btn-sm'>浏览</a></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='30' class='dtb' colspan='2'> | <td height='30' class='dtb' colspan='2'> | ||||
<div class='alert alert-danger'> | |||||
<b>注意事项:</b> | |||||
安装时请确保文件列表中涉及的目录前可写入权限,此外“后台管理目录”、“后台管理目录/templets”目录也必须暂时设置可写入权限。 | |||||
</div> | |||||
<div class='alert alert-danger'><b>注意事项:</b>安装时请确保文件列表中涉及的目录前可写入权限,此外“后台管理目录”、“后台管理目录/templets”目录也必须暂时设置可写入权限。</div> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='30'><b>目录权限检测:</b><br /> ../ 为根目录 <br /> ./ 表示当前目录</td> | <td height='30'><b>目录权限检测:</b><br /> ../ 为根目录 <br /> ./ 表示当前目录</td> | ||||
<td> | |||||
$prvdir | |||||
</td> | |||||
<td>$prvdir</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='30'>模块包含的所有文件列表:</td> | <td height='30'>模块包含的所有文件列表:</td> | ||||
<td></td> | <td></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='164' colspan='2'> | |||||
<td height='160' colspan='2'> | |||||
<textarea name='filelists' id='filelists' style='width:90%;height:200px'>{$filelist}</textarea> | <textarea name='filelists' id='filelists' style='width:90%;height:200px'>{$filelist}</textarea> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28'>对于已存在文件处理方法:</td> | |||||
<td height='26'>对于已存在文件处理方法:</td> | |||||
<td> | <td> | ||||
<label><input name='isreplace' type='radio' value='1' checked='checked' /> | |||||
覆盖</label> | |||||
<label><input name='isreplace' type='radio' value='3' /> | |||||
覆盖,保留副本</label> | |||||
<label><input type='radio' name='isreplace' value='0' /> | |||||
保留旧文件</label> | |||||
<label><input name='isreplace' type='radio' value='1' checked='checked'>覆盖</label> | |||||
<label><input name='isreplace' type='radio' value='3'>覆盖,保留副本</label> | |||||
<label><input type='radio' name='isreplace' value='0'>保留旧文件</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | |||||
"; | |||||
</table>"; | |||||
$win->AddMsgItem("<div style='padding-left:10px;line-height:150%'>$msg</div>"); | $win->AddMsgItem("<div style='padding-left:10px;line-height:150%'>$msg</div>"); | ||||
$winform = $win->GetWindow("ok", ""); | $winform = $win->GetWindow("ok", ""); | ||||
$win->Display(); | $win->Display(); | ||||
@@ -234,36 +215,31 @@ function Setup(); | |||||
} | } | ||||
/*--------------- | /*--------------- | ||||
function SetupRun() | function SetupRun() | ||||
--------------*/ else if ($action == 'setupstart') { | |||||
--------------*/ | |||||
else if ($action == 'setupstart') { | |||||
if (!is_writeable($mdir)) { | if (!is_writeable($mdir)) { | ||||
ShowMsg("目录 {$mdir} 不支持写入,这将导致安装程序没法正常创建!", "-1"); | |||||
ShowMsg("目录 {$mdir} 不支持写入,这将导致安装程序没法正常创建", "-1"); | |||||
exit(); | exit(); | ||||
} | } | ||||
$dm = new DedeModule($mdir); | $dm = new DedeModule($mdir); | ||||
$minfos = $dm->GetModuleInfo($hash); | $minfos = $dm->GetModuleInfo($hash); | ||||
extract($minfos, EXTR_SKIP); | extract($minfos, EXTR_SKIP); | ||||
$menustring = addslashes($dm->GetSystemFile($hash, 'menustring')); | $menustring = addslashes($dm->GetSystemFile($hash, 'menustring')); | ||||
$indexurl = str_replace('**', '=', $indexurl); | $indexurl = str_replace('**', '=', $indexurl); | ||||
$query = "INSERT INTO `#@__sys_module`(`hashcode` , `modname` , `indexname` , `indexurl` , `ismember` , `menustring` ) | $query = "INSERT INTO `#@__sys_module`(`hashcode` , `modname` , `indexname` , `indexurl` , `ismember` , `menustring` ) | ||||
VALUES ('$hash' , '$name' , '$indexname' , '$indexurl' , '$ismember' , '$menustring' ) "; | |||||
VALUES ('$hash' , '$name' , '$indexname' , '$indexurl' , '$ismember' , '$menustring' ) "; | |||||
$rs = $dsql->ExecuteNoneQuery("DELETE FROM `#@__sys_module` WHERE hashcode LIKE '$hash' "); | $rs = $dsql->ExecuteNoneQuery("DELETE FROM `#@__sys_module` WHERE hashcode LIKE '$hash' "); | ||||
$rs = $dsql->ExecuteNoneQuery($query); | $rs = $dsql->ExecuteNoneQuery($query); | ||||
if (!$rs) { | if (!$rs) { | ||||
ShowMsg('保存数据库信息失败,无法完成安装!'.$dsql->GetError(), 'javascript:;'); | |||||
ShowMsg('保存数据库信息失败,无法完成安装'.$dsql->GetError(), 'javascript:;'); | |||||
exit(); | exit(); | ||||
} | } | ||||
$dm->WriteFiles($hash, $isreplace); | $dm->WriteFiles($hash, $isreplace); | ||||
$filename = ''; | $filename = ''; | ||||
if (!isset($autosetup) || $autosetup == 0) $filename = $dm->WriteSystemFile($hash, 'setup'); | if (!isset($autosetup) || $autosetup == 0) $filename = $dm->WriteSystemFile($hash, 'setup'); | ||||
if (!isset($autodel) || $autodel == 0) $dm->WriteSystemFile($hash, 'uninstall'); | if (!isset($autodel) || $autodel == 0) $dm->WriteSystemFile($hash, 'uninstall'); | ||||
$dm->WriteSystemFile($hash, 'readme'); | $dm->WriteSystemFile($hash, 'readme'); | ||||
$dm->Clear(); | $dm->Clear(); | ||||
//用模块的安装程序安装 | //用模块的安装程序安装 | ||||
if (!isset($autosetup) || $autosetup == 0) { | if (!isset($autosetup) || $autosetup == 0) { | ||||
include(DEDEDATA.'/module/'.$filename); | include(DEDEDATA.'/module/'.$filename); | ||||
@@ -274,35 +250,26 @@ function SetupRun() | |||||
$mysql_version = $dsql->GetVersion(TRUE); | $mysql_version = $dsql->GetVersion(TRUE); | ||||
//默认使用MySQL 4.1 以下版本的SQL语句,对大于4.1版本采用替换处理 TYPE=MyISAM ==> ENGINE=MyISAM DEFAULT CHARSET=#~lang~# | //默认使用MySQL 4.1 以下版本的SQL语句,对大于4.1版本采用替换处理 TYPE=MyISAM ==> ENGINE=MyISAM DEFAULT CHARSET=#~lang~# | ||||
$setupsql = $dm->GetSystemFile($hash, 'setupsql40'); | $setupsql = $dm->GetSystemFile($hash, 'setupsql40'); | ||||
$setupsql = preg_replace("#ENGINE=MyISAM#i", 'TYPE=MyISAM', $setupsql); | $setupsql = preg_replace("#ENGINE=MyISAM#i", 'TYPE=MyISAM', $setupsql); | ||||
$sql41tmp = 'ENGINE=MyISAM DEFAULT CHARSET='.$cfg_db_language; | $sql41tmp = 'ENGINE=MyISAM DEFAULT CHARSET='.$cfg_db_language; | ||||
if ($mysql_version >= 4.1) { | if ($mysql_version >= 4.1) { | ||||
$setupsql = preg_replace("#TYPE=MyISAM#i", $sql41tmp, $setupsql); | $setupsql = preg_replace("#TYPE=MyISAM#i", $sql41tmp, $setupsql); | ||||
} | } | ||||
//_ROOTURL_ | //_ROOTURL_ | ||||
if ($cfg_cmspath == '/') $cfg_cmspath = ''; | if ($cfg_cmspath == '/') $cfg_cmspath = ''; | ||||
$rooturl = $cfg_basehost.$cfg_cmspath; | $rooturl = $cfg_basehost.$cfg_cmspath; | ||||
$setupsql = preg_replace("#_ROOTURL_#i", $rooturl, $setupsql); | $setupsql = preg_replace("#_ROOTURL_#i", $rooturl, $setupsql); | ||||
$setupsql = preg_replace("#[\r\n]{1,}#", "\n", $setupsql); | $setupsql = preg_replace("#[\r\n]{1,}#", "\n", $setupsql); | ||||
$sqls = @split(";[ \t]{0,}\n", $setupsql); | $sqls = @split(";[ \t]{0,}\n", $setupsql); | ||||
foreach ($sqls as $sql) { | foreach ($sqls as $sql) { | ||||
if (trim($sql) != '') $dsql->ExecuteNoneQuery($sql); | if (trim($sql) != '') $dsql->ExecuteNoneQuery($sql); | ||||
} | } | ||||
ReWriteConfigAuto(); | ReWriteConfigAuto(); | ||||
$rflwft = "<script language='javascript' type='text/javascript'>\r\n"; | $rflwft = "<script language='javascript' type='text/javascript'>\r\n"; | ||||
$rflwft .= "if(window.navigator.userAgent.indexOf('MSIE')>=1) top.document.frames.menu.location = 'index_menu_module.php';\r\n"; | $rflwft .= "if(window.navigator.userAgent.indexOf('MSIE')>=1) top.document.frames.menu.location = 'index_menu_module.php';\r\n"; | ||||
$rflwft .= "else top.document.getElementById('menufra').src = 'index_menu_module.php';\r\n"; | $rflwft .= "else top.document.getElementById('menufra').src = 'index_menu_module.php';\r\n"; | ||||
$rflwft .= "</script>"; | $rflwft .= "</script>"; | ||||
echo $rflwft; | echo $rflwft; | ||||
UpDateCatCache(); | UpDateCatCache(); | ||||
ShowMsg('模块安装完成...', 'module_main.php'); | ShowMsg('模块安装完成...', 'module_main.php'); | ||||
exit(); | exit(); | ||||
@@ -310,51 +277,48 @@ function SetupRun() | |||||
} | } | ||||
/*-------------- | /*-------------- | ||||
function DelModule(); | function DelModule(); | ||||
--------------*/ else if ($action == 'del') { | |||||
--------------*/ | |||||
else if ($action == 'del') { | |||||
$dm = new DedeModule($mdir); | $dm = new DedeModule($mdir); | ||||
$infos = $dm->GetModuleInfo($hash); | $infos = $dm->GetModuleInfo($hash); | ||||
$alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '<br /><font color="red">(这个模块的语言编码与您系统的编码不一致,请向开发者确认它的兼容性)</font>'); | |||||
$dev_id = empty($infos['dev_id'])? "未认证 <a style='color:red' target='_blank' href='{$cfg_biz_dedebizUrl}/developer'>前去认证</a>" : "{$infos['dev_id']} <a class='btn btn-success btn-sm' target='_blank' href='{$cfg_biz_dedebizUrl}/developer?dev_id={$infos['dev_id']}'>查看详情</a>"; | |||||
$alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '<br />(这个模块的语言编码与您系统的编码不一致,请向开发者确认它的兼容性)'); | |||||
$dev_id = empty($infos['dev_id'])? "<a href='{$cfg_biz_dedebizUrl}/developer' target='_blank' class='btn btn-success btn-sm'>未认证</a>" : "{$infos['dev_id']} <a href='{$cfg_biz_dedebizUrl}/developer?dev_id={$infos['dev_id']}' target='_blank' class='btn btn-success btn-sm'>未认证</a>"; | |||||
$win = new OxWindow(); | $win = new OxWindow(); | ||||
$win->Init("module_main.php", "js/blank.js", "post"); | $win->Init("module_main.php", "js/blank.js", "post"); | ||||
$wecome_info = "模块管理"; | $wecome_info = "模块管理"; | ||||
$win->AddTitle("<a href='module_main.php'>模块管理</a> >> 删除模块: {$infos['name']}"); | $win->AddTitle("<a href='module_main.php'>模块管理</a> >> 删除模块: {$infos['name']}"); | ||||
$win->AddHidden('hash', $hash); | $win->AddHidden('hash', $hash); | ||||
$win->AddHidden('action', 'delok'); | $win->AddHidden('action', 'delok'); | ||||
$msg = "<style>.dtb{border-bottom:1px dotted #cccccc}</style> | |||||
$msg = "<style>.dtb{border-bottom:1px dotted #ccc}</style> | |||||
<table width='750' border='0' cellspacing='0' cellpadding='0'> | <table width='750' border='0' cellspacing='0' cellpadding='0'> | ||||
<tr> | <tr> | ||||
<td width='20%' height='28' class='dtb'>模块名称:</td> | |||||
<td width='20%' height='26' class='dtb'>模块名称:</td> | |||||
<td width='80%' class='dtb'>{$infos['name']}</td> | <td width='80%' class='dtb'>{$infos['name']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>语言:</td> | |||||
<td height='26' class='dtb'>语言:</td> | |||||
<td class='dtb'>{$infos['lang']} {$alertMsg}</td> | <td class='dtb'>{$infos['lang']} {$alertMsg}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>文件大小:</td> | |||||
<td height='26' class='dtb'>文件大小:</td> | |||||
<td class='dtb'>{$infos['filesize']}</td> | <td class='dtb'>{$infos['filesize']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>开发者ID:</td> | |||||
<td height='26' class='dtb'>开发者ID:</td> | |||||
<td class='dtb'>{$dev_id}</td> | <td class='dtb'>{$dev_id}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>发布时间:</td> | |||||
<td height='26' class='dtb'>发布时间:</td> | |||||
<td class='dtb'>{$infos['time']}</td> | <td class='dtb'>{$infos['time']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>使用协议:</td> | |||||
<td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank'>点击浏览...</a></td> | |||||
<td height='26' class='dtb'>使用协议:</td> | |||||
<td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank' class='btn btn-success btn-sm'>浏览</a></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' colspan='2'> | |||||
删除模块仅删除这个模块的安装包文件,如果您已经安装,请执行<a href='module_main.php?hash={$hash}&action=uninstall'><u>卸载程序</u></a>来删除! | |||||
</td> | |||||
<td height='26' colspan='2'>删除模块仅删除这个模块的安装包文件,如果您已经安装,请执行<a href='module_main.php?hash={$hash}&action=uninstall'>卸载程序</a>来删除</td> | |||||
</tr> | </tr> | ||||
</table> | |||||
"; | |||||
</table>"; | |||||
$win->AddMsgItem("<div style='padding-left:10px;line-height:150%'>$msg</div>"); | $win->AddMsgItem("<div style='padding-left:10px;line-height:150%'>$msg</div>"); | ||||
$winform = $win->GetWindow("ok", ""); | $winform = $win->GetWindow("ok", ""); | ||||
$win->Display(); | $win->Display(); | ||||
@@ -363,19 +327,18 @@ function DelModule(); | |||||
} else if ($action == 'delok') { | } else if ($action == 'delok') { | ||||
$dm = new DedeModule($mdir); | $dm = new DedeModule($mdir); | ||||
$modfile = $mdir."/".$dm->GetHashFile($hash); | $modfile = $mdir."/".$dm->GetHashFile($hash); | ||||
unlink($modfile) or die("删除文件 {$modfile} 失败!"); | |||||
ShowMsg("成功删除一个模块文件!", "module_main.php"); | |||||
unlink($modfile) or die("删除文件 {$modfile} 失败"); | |||||
ShowMsg("成功删除一个模块文件", "module_main.php"); | |||||
exit(); | exit(); | ||||
} | } | ||||
/*-------------- | /*-------------- | ||||
function UnInstall(); | function UnInstall(); | ||||
--------------*/ else if ($action == 'uninstall') { | |||||
--------------*/ | |||||
else if ($action == 'uninstall') { | |||||
$dm = new DedeModule($mdir); | $dm = new DedeModule($mdir); | ||||
$infos = $dm->GetModuleInfo($hash); | $infos = $dm->GetModuleInfo($hash); | ||||
if ($infos['url'] == '') $infos['url'] = ' '; | if ($infos['url'] == '') $infos['url'] = ' '; | ||||
$alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '<br /><font color="red">(这个模块的语言编码与您系统的编码不一致,请向开发者确认它的兼容性)</font>'); | |||||
$alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '<br />(这个模块的语言编码与您系统的编码不一致,请向开发者确认它的兼容性)'); | |||||
$filelists = $dm->GetFileLists($hash); | $filelists = $dm->GetFileLists($hash); | ||||
$filelist = ''; | $filelist = ''; | ||||
foreach ($filelists as $v) { | foreach ($filelists as $v) { | ||||
@@ -384,58 +347,55 @@ function UnInstall(); | |||||
else $v['type'] = '文件'; | else $v['type'] = '文件'; | ||||
$filelist .= "{$v['type']}|{$v['name']}\r\n"; | $filelist .= "{$v['type']}|{$v['name']}\r\n"; | ||||
} | } | ||||
$dev_id = empty($infos['dev_id'])? "未认证 <a style='color:red' target='_blank' href='{$cfg_biz_dedebizUrl}/developer'>前去认证</a>" : "{$infos['dev_id']} <a class='btn btn-success btn-sm' target='_blank' href='{$cfg_biz_dedebizUrl}/developer?dev_id={$infos['dev_id']}'>查看详情</a>"; | |||||
$dev_id = empty($infos['dev_id'])? "<a href='{$cfg_biz_dedebizUrl}/developer' target='_blank' class='btn btn-success btn-sm'>未认证</a>" : "{$infos['dev_id']} <a href='{$cfg_biz_dedebizUrl}/developer?dev_id={$infos['dev_id']}' target='_blank' class='btn btn-success btn-sm'>未认证</a>"; | |||||
$win = new OxWindow(); | $win = new OxWindow(); | ||||
$win->Init("module_main.php", "js/blank.js", "post"); | $win->Init("module_main.php", "js/blank.js", "post"); | ||||
$wecome_info = "模块管理"; | $wecome_info = "模块管理"; | ||||
$win->AddTitle("<a href='module_main.php'>模块管理</a> >> 卸载模块: {$infos['name']}"); | $win->AddTitle("<a href='module_main.php'>模块管理</a> >> 卸载模块: {$infos['name']}"); | ||||
$win->AddHidden("hash", $hash); | $win->AddHidden("hash", $hash); | ||||
$win->AddHidden("action", 'uninstallok'); | $win->AddHidden("action", 'uninstallok'); | ||||
$msg = "<style>.dtb{border-bottom:1px dotted #cccccc}</style> | |||||
$msg = "<style>.dtb{border-bottom:1px dotted #ccc}</style> | |||||
<table width='750' border='0' cellspacing='0' cellpadding='0'> | <table width='750' border='0' cellspacing='0' cellpadding='0'> | ||||
<tr> | <tr> | ||||
<td width='200' height='28' class='dtb'>模块名称:</td> | |||||
<td width='200' height='26' class='dtb'>模块名称:</td> | |||||
<td width='550' class='dtb'>{$infos['name']}</td> | <td width='550' class='dtb'>{$infos['name']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>语言:</td> | |||||
<td height='26' class='dtb'>语言:</td> | |||||
<td class='dtb'>{$infos['lang']} {$alertMsg}</td> | <td class='dtb'>{$infos['lang']} {$alertMsg}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>文件大小:</td> | |||||
<td height='26' class='dtb'>文件大小:</td> | |||||
<td class='dtb'>{$infos['filesize']}</td> | <td class='dtb'>{$infos['filesize']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>开发者ID:</td> | |||||
<td height='26' class='dtb'>开发者ID:</td> | |||||
<td class='dtb'>{$dev_id}</td> | <td class='dtb'>{$dev_id}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>发布时间:</td> | |||||
<td height='26' class='dtb'>发布时间:</td> | |||||
<td class='dtb'>{$infos['time']}</td> | <td class='dtb'>{$infos['time']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>使用协议:</td> | |||||
<td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank'>点击浏览...</a></td> | |||||
<td height='26' class='dtb'>使用协议:</td> | |||||
<td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank' class='btn btn-success btn-sm'>浏览</a></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28'>模块包含的文件:<br />(文件路径相对于当前目录)</td><td> </td> | |||||
<td height='26'>模块包含的文件:<br />(文件路径相对于当前目录)</td><td> </td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='164' colspan='2'> | |||||
<td height='160' colspan='2'> | |||||
<textarea name='filelists' id='filelists' style='width:90%;height:200px'>{$filelist}</textarea> | <textarea name='filelists' id='filelists' style='width:90%;height:200px'>{$filelist}</textarea> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28'>对于模块的文件处理方法:</td> | |||||
<td height='26'>对于模块的文件处理方法:</td> | |||||
<td> | <td> | ||||
<label><input type='radio' name='isreplace' value='0' checked='checked' /> | |||||
手工删除文件,仅运行卸载程序</label> | |||||
<label><input name='isreplace' type='radio' value='2' /> | |||||
删除模块的所有文件</label> | |||||
<label><input type='radio' name='isreplace' value='0' checked='checked'>手工删除文件,仅运行卸载程序</label> | |||||
<label><input name='isreplace' type='radio' value='2'>删除模块的所有文件</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | |||||
"; | |||||
</table>"; | |||||
$win->AddMsgItem("<div style='padding-left:10px;line-height:150%'>$msg</div>"); | $win->AddMsgItem("<div style='padding-left:10px;line-height:150%'>$msg</div>"); | ||||
$winform = $win->GetWindow("ok", ""); | $winform = $win->GetWindow("ok", ""); | ||||
$win->Display(); | $win->Display(); | ||||
@@ -444,13 +404,12 @@ function UnInstall(); | |||||
} | } | ||||
/*-------------- | /*-------------- | ||||
function UnInstallRun(); | function UnInstallRun(); | ||||
--------------*/ else if ($action == 'uninstallok') { | |||||
--------------*/ | |||||
else if ($action == 'uninstallok') { | |||||
$dsql->ExecuteNoneQuery("DELETE FROM `#@__sys_module` WHERE hashcode LIKE '$hash' "); | $dsql->ExecuteNoneQuery("DELETE FROM `#@__sys_module` WHERE hashcode LIKE '$hash' "); | ||||
$dm = new DedeModule($mdir); | $dm = new DedeModule($mdir); | ||||
$minfos = $dm->GetModuleInfo($hash); | $minfos = $dm->GetModuleInfo($hash); | ||||
extract($minfos, EXTR_SKIP); | extract($minfos, EXTR_SKIP); | ||||
if (!isset($moduletype) || $moduletype != 'patch') { | if (!isset($moduletype) || $moduletype != 'patch') { | ||||
$dm->DeleteFiles($hash, $isreplace); | $dm->DeleteFiles($hash, $isreplace); | ||||
} | } | ||||
@@ -470,9 +429,7 @@ function UnInstallRun(); | |||||
if (trim($sql) != '') $dsql->ExecuteNoneQuery($sql); | if (trim($sql) != '') $dsql->ExecuteNoneQuery($sql); | ||||
} | } | ||||
} | } | ||||
ReWriteConfigAuto(); | ReWriteConfigAuto(); | ||||
$rflwft = "<script language='javascript' type='text/javascript'>\r\n"; | $rflwft = "<script language='javascript' type='text/javascript'>\r\n"; | ||||
$rflwft .= "if(window.navigator.userAgent.indexOf('MSIE')>=1) top.document.frames.menu.location = 'index_menu_module.php';\r\n"; | $rflwft .= "if(window.navigator.userAgent.indexOf('MSIE')>=1) top.document.frames.menu.location = 'index_menu_module.php';\r\n"; | ||||
$rflwft .= "else top.document.getElementById('menufra').src = 'index_menu_module.php';\r\n"; | $rflwft .= "else top.document.getElementById('menufra').src = 'index_menu_module.php';\r\n"; | ||||
@@ -484,7 +441,8 @@ function UnInstallRun(); | |||||
} | } | ||||
/*-------------- | /*-------------- | ||||
function ShowReadme(); | function ShowReadme(); | ||||
--------------*/ else if ($action == 'showreadme') { | |||||
--------------*/ | |||||
else if ($action == 'showreadme') { | |||||
$dm = new DedeModule($mdir); | $dm = new DedeModule($mdir); | ||||
$msg = $dm->GetSystemFile($hash, 'readme'); | $msg = $dm->GetSystemFile($hash, 'readme'); | ||||
$msg = preg_replace("/(.*)<body/isU", "", $msg); | $msg = preg_replace("/(.*)<body/isU", "", $msg); | ||||
@@ -501,13 +459,12 @@ function ShowReadme(); | |||||
} | } | ||||
/*-------------- | /*-------------- | ||||
function ViewOne(); | function ViewOne(); | ||||
--------------*/ else if ($action == 'view') { | |||||
--------------*/ | |||||
else if ($action == 'view') { | |||||
$dm = new DedeModule($mdir); | $dm = new DedeModule($mdir); | ||||
$infos = $dm->GetModuleInfo($hash); | $infos = $dm->GetModuleInfo($hash); | ||||
if ($infos['url'] == '') $infos['url'] = ' '; | if ($infos['url'] == '') $infos['url'] = ' '; | ||||
$alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '<br /><font color="red">(这个模块的语言编码与您系统的编码不一致,请向开发者确认它的兼容性)</font>'); | |||||
$alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '<br />(这个模块的语言编码与您系统的编码不一致,请向开发者确认它的兼容性)'); | |||||
$filelists = $dm->GetFileLists($hash); | $filelists = $dm->GetFileLists($hash); | ||||
$filelist = ''; | $filelist = ''; | ||||
$setupinfo = ''; | $setupinfo = ''; | ||||
@@ -522,47 +479,46 @@ function ViewOne(); | |||||
} else { | } else { | ||||
$setupinfo = "未安装 <a href='module_main.php?action=setup&hash={$hash}'>安装</a>"; | $setupinfo = "未安装 <a href='module_main.php?action=setup&hash={$hash}'>安装</a>"; | ||||
} | } | ||||
$dev_id = empty($infos['dev_id'])? "未认证 <a style='color:red' target='_blank' href='{$cfg_biz_dedebizUrl}/developer'>前去认证</a>" : "{$infos['dev_id']} <a class='btn btn-success btn-sm' target='_blank' href='{$cfg_biz_dedebizUrl}/developer?dev_id={$infos['dev_id']}'>查看详情</a>"; | |||||
$dev_id = empty($infos['dev_id'])? "<a href='module_main.php?action=setup&hash={$hash}' class='btn btn-success btn-sm'>安装</a> <a href='{$cfg_biz_dedebizUrl}/developer' target='_blank' class='btn btn-success btn-sm'>未认证</a>" : "{$infos['dev_id']} <a href='{$cfg_biz_dedebizUrl}/developer?dev_id={$infos['dev_id']}' target='_blank' class='btn btn-success btn-sm'>未认证</a>"; | |||||
$win = new OxWindow(); | $win = new OxWindow(); | ||||
$win->Init("", "js/blank.js", ""); | $win->Init("", "js/blank.js", ""); | ||||
$wecome_info = "模块管理"; | $wecome_info = "模块管理"; | ||||
$win->AddTitle("<a href='module_main.php'>模块管理</a> >> 模块详情: {$infos['name']}"); | $win->AddTitle("<a href='module_main.php'>模块管理</a> >> 模块详情: {$infos['name']}"); | ||||
$msg = "<style>.dtb{border-bottom:1px dotted #cccccc}</style> | |||||
$msg = "<style>.dtb{border-bottom:1px dotted #ccc}</style> | |||||
<table width='98%' border='0' cellspacing='0' cellpadding='0'> | <table width='98%' border='0' cellspacing='0' cellpadding='0'> | ||||
<tr> | <tr> | ||||
<td width='20%' height='28' class='dtb'>模块名称:</td> | |||||
<td width='20%' height='26' class='dtb'>模块名称:</td> | |||||
<td width='80%' class='dtb'>{$infos['name']}</td> | <td width='80%' class='dtb'>{$infos['name']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>语言:</td> | |||||
<td height='26' class='dtb'>语言:</td> | |||||
<td class='dtb'>{$infos['lang']} {$alertMsg}</td> | <td class='dtb'>{$infos['lang']} {$alertMsg}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>文件大小:</td> | |||||
<td height='26' class='dtb'>文件大小:</td> | |||||
<td class='dtb'>{$infos['filesize']}</td> | <td class='dtb'>{$infos['filesize']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>开发者ID:</td> | |||||
<td height='26' class='dtb'>开发者ID:</td> | |||||
<td class='dtb'>{$dev_id}</td> | <td class='dtb'>{$dev_id}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>发布时间:</td> | |||||
<td height='26' class='dtb'>发布时间:</td> | |||||
<td class='dtb'>{$infos['time']}</td> | <td class='dtb'>{$infos['time']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>使用协议:</td> | |||||
<td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank'>点击浏览...</a></td> | |||||
<td height='26' class='dtb'>使用协议:</td> | |||||
<td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank' class='btn btn-success btn-sm'>浏览</a></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28'>模块包含的文件:<br />(文件路径相对于当前目录)</td><td> </td> | |||||
<td height='26'>模块包含的文件:<br />(文件路径相对于当前目录)</td><td> </td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='164' colspan='2'> | |||||
<td height='160' colspan='2'> | |||||
<textarea name='filelists' id='filelists' style='width:90%;height:200px'>{$filelist}</textarea> | <textarea name='filelists' id='filelists' style='width:90%;height:200px'>{$filelist}</textarea> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | |||||
"; | |||||
</table>"; | |||||
$win->AddMsgItem("<div style='padding-left:10px;line-height:150%'>$msg</div>"); | $win->AddMsgItem("<div style='padding-left:10px;line-height:150%'>$msg</div>"); | ||||
$winform = $win->GetWindow('hand', ''); | $winform = $win->GetWindow('hand', ''); | ||||
$win->Display(); | $win->Display(); | ||||
@@ -571,15 +527,13 @@ function ViewOne(); | |||||
} | } | ||||
/*-------------- | /*-------------- | ||||
function Edit(); | function Edit(); | ||||
--------------*/ else if ($action == 'edit') { | |||||
--------------*/ | |||||
else if ($action == 'edit') { | |||||
$dm = new DedeModule($mdir); | $dm = new DedeModule($mdir); | ||||
$minfos = $dm->GetModuleInfo($hash); | $minfos = $dm->GetModuleInfo($hash); | ||||
extract($minfos, EXTR_SKIP); | extract($minfos, EXTR_SKIP); | ||||
if (!isset($lang)) $lang = 'gb2312'; | if (!isset($lang)) $lang = 'gb2312'; | ||||
if (!isset($moduletype)) $moduletype = 'soft'; | if (!isset($moduletype)) $moduletype = 'soft'; | ||||
$menustring = $dm->GetSystemFile($hash, 'menustring'); | $menustring = $dm->GetSystemFile($hash, 'menustring'); | ||||
$setupsql40 = dede_htmlspecialchars($dm->GetSystemFile($hash, 'setupsql40')); | $setupsql40 = dede_htmlspecialchars($dm->GetSystemFile($hash, 'setupsql40')); | ||||
$readmetxt = $dm->GetSystemFile($hash, 'readme'); | $readmetxt = $dm->GetSystemFile($hash, 'readme'); | ||||
@@ -587,12 +541,12 @@ function Edit(); | |||||
$filelist = $dm->GetSystemFile($hash, 'oldfilelist', false); | $filelist = $dm->GetSystemFile($hash, 'oldfilelist', false); | ||||
$indexurl = str_replace('**', '=', $indexurl); | $indexurl = str_replace('**', '=', $indexurl); | ||||
$dm->Clear(); | $dm->Clear(); | ||||
require_once(dirname(__FILE__).'/templets/module_edit.htm'); | require_once(dirname(__FILE__).'/templets/module_edit.htm'); | ||||
exit(); | exit(); | ||||
} | } | ||||
/*-------------- | /*-------------- | ||||
function Download(); | function Download(); | ||||
--------------*/ else if ($action == 'download') { | |||||
--------------*/ | |||||
else if ($action == 'download') { | |||||
ShowMsg("暂不支持模块下载功能", "javascript:;"); | ShowMsg("暂不支持模块下载功能", "javascript:;"); | ||||
} | |||||
} |
@@ -110,7 +110,7 @@ function __Export() | |||||
$channelconfig .= "<channel:{$k}>$v</channel:{$k}>\r\n"; | $channelconfig .= "<channel:{$k}>$v</channel:{$k}>\r\n"; | ||||
} | } | ||||
$wintitle = "导出内容模型规则"; | $wintitle = "导出内容模型规则"; | ||||
$wecome_info = "<a href='mychannel_main.php'><u>内容模型管理</u></a>::导出内容模型规则"; | |||||
$wecome_info = "<a href='mychannel_main.php'>内容模型管理</a>::导出内容模型规则"; | |||||
$win = new OxWindow(); | $win = new OxWindow(); | ||||
$win->Init(); | $win->Init(); | ||||
$win->AddTitle("以下为规则 [{$row['typename']}] 的模型规则,您可以共享给您的朋友:"); | $win->AddTitle("以下为规则 [{$row['typename']}] 的模型规则,您可以共享给您的朋友:"); | ||||
@@ -23,9 +23,9 @@ $dlist->display(); | |||||
function GetSta($sta, $id) | function GetSta($sta, $id) | ||||
{ | { | ||||
if ($sta == 1) { | if ($sta == 1) { | ||||
return ($id != -1 ? "启用 > <a href='mychannel_edit.php?dopost=hide&id=$id'><u>禁用</u></a>" : "固定项目"); | |||||
return ($id != -1 ? "启用 > <a href='mychannel_edit.php?dopost=hide&id=$id'>禁用</a>" : "固定项目"); | |||||
} else { | } else { | ||||
return "禁用 > <a href='mychannel_edit.php?dopost=show&id=$id'><u>启用</u></a>"; | |||||
return "禁用 > <a href='mychannel_edit.php?dopost=show&id=$id'>启用</a>"; | |||||
} | } | ||||
} | } | ||||
@@ -43,7 +43,7 @@ if ($dopost == 'delete') { | |||||
$showhtml = "<xmp style='color:#333333;background-color:#ffffff'>\r\n\r\n$jscode\r\n\r\n</xmp>"; | $showhtml = "<xmp style='color:#333333;background-color:#ffffff'>\r\n\r\n$jscode\r\n\r\n</xmp>"; | ||||
$showhtml .= "<b>预览:</b><iframe name='testfrm' frameborder='0' src='mytag_edit.php?aid={$aid}&dopost=testjs' id='testfrm' width='100%' height='250'></iframe>"; | $showhtml .= "<b>预览:</b><iframe name='testfrm' frameborder='0' src='mytag_edit.php?aid={$aid}&dopost=testjs' id='testfrm' width='100%' height='250'></iframe>"; | ||||
$wintitle = "宏标记定义-获取JS"; | $wintitle = "宏标记定义-获取JS"; | ||||
$wecome_info = "<a href='mytag_main.php'><u>宏标记定义</u></a>::获取JS"; | |||||
$wecome_info = "<a href='mytag_main.php'>宏标记定义</a>::获取JS"; | |||||
$win = new OxWindow(); | $win = new OxWindow(); | ||||
$win->Init(); | $win->Init(); | ||||
$win->AddTitle('以下为选定宏标记的JS调用代码:'); | $win->AddTitle('以下为选定宏标记的JS调用代码:'); | ||||
@@ -23,8 +23,8 @@ $dlist->display(); | |||||
function GetSta($sta, $id, $title) | function GetSta($sta, $id, $title) | ||||
{ | { | ||||
if ($sta == 1) { | if ($sta == 1) { | ||||
return " <a href='plus_edit.php?dopost=edit&aid=$id'><u>修改</u></a> 启用 > <a href='plus_edit.php?dopost=hide&aid=$id'><u>禁用</u></a> <a href='plus_edit.php?dopost=delete&aid=$id&title=".urlencode($title)."'><u>删除</u></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 { | } else { | ||||
return " <a href='plus_edit.php?aid=$id'><u>修改</u></a> 禁用 > <a href='plus_edit.php?dopost=show&aid=$id'><u>启用</u></a> <a href='plus_edit.php?dopost=delete&aid=$id&title=".urlencode($title)."'><u>册除</u></a>"; | |||||
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>"; | |||||
} | } | ||||
} | } |
@@ -67,12 +67,12 @@ function GetKeywordList($dsql, $pageno, $pagesize, $orderby = 'aid') | |||||
<table width='98%' border='0' cellpadding='1' cellspacing='1' bgcolor='#cfcfcf' style='margin-bottom:3px' align='center'> | <table width='98%' border='0' cellpadding='1' cellspacing='1' bgcolor='#cfcfcf' style='margin-bottom:3px' align='center'> | ||||
<tr align='center' bgcolor='#FBFCE2' height='24'> | <tr align='center' bgcolor='#FBFCE2' height='24'> | ||||
<td width='5%'>选择</td> | <td width='5%'>选择</td> | ||||
<td width='6%' height='23'><a href='#' onclick=\"ReloadPage('aid')\"><u>ID</u></a></td> | |||||
<td width='6%' height='23'><a href='#' onclick=\"ReloadPage('aid')\">ID</a></td> | |||||
<td width='20%'>关键字</td> | <td width='20%'>关键字</td> | ||||
<td width='30%'>分词结果</td> | <td width='30%'>分词结果</td> | ||||
<td width='6%'><a href='#' onclick=\"ReloadPage('count')\"><u>频率</u></a></td> | |||||
<td width='6%'><a href='#' onclick=\"ReloadPage('result')\"><u>结果</u></a></td> | |||||
<td width='15%'><a href='#' onclick=\"ReloadPage('lasttime')\"><u>最后搜索时间</u></a></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>管理</td> | <td>管理</td> | ||||
</tr>\r\n | </tr>\r\n | ||||
"; | "; | ||||
@@ -89,7 +89,7 @@ function GetKeywordList($dsql, $pageno, $pagesize, $orderby = 'aid') | |||||
<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='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='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:5px;'><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'><u>{$row['result']}</u></a></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>".MyDate("Y-m-d H:i:s", $row['lasttime'])."</td> | ||||
<td> | <td> | ||||
<a href='#' onclick='UpdateNote({$row['aid']})' class='btn btn-success btn-sm'>更新</a> | | <a href='#' onclick='UpdateNote({$row['aid']})' class='btn btn-success btn-sm'>更新</a> | | ||||
@@ -20,7 +20,7 @@ if ($cfg_dbtype == 'sqlite') { | |||||
if ($dopost == "viewinfo") //查看表结构 | if ($dopost == "viewinfo") //查看表结构 | ||||
{ | { | ||||
echo "[<a href='#' onclick='javascript:HideObj(\"_mydatainfo\")'><u>关闭</u></a>]\r\n<xmp>"; | |||||
echo "[<a href='#' onclick='javascript:HideObj(\"_mydatainfo\")'>关闭</a>]\r\n<xmp>"; | |||||
if (empty($tablename)) { | if (empty($tablename)) { | ||||
echo "没有指定表名!"; | echo "没有指定表名!"; | ||||
} else { | } else { | ||||
@@ -34,7 +34,7 @@ if ($dopost == "viewinfo") //查看表结构 | |||||
exit(); | exit(); | ||||
} else if ($dopost == "opimize") //优化表 | } else if ($dopost == "opimize") //优化表 | ||||
{ | { | ||||
echo "[<a href='#' onclick='javascript:HideObj(\"_mydatainfo\")'><u>关闭</u></a>]\r\n<xmp>"; | |||||
echo "[<a href='#' onclick='javascript:HideObj(\"_mydatainfo\")'>关闭</a>]\r\n<xmp>"; | |||||
if (empty($tablename)) { | if (empty($tablename)) { | ||||
echo "没有指定表名!"; | echo "没有指定表名!"; | ||||
} else { | } else { | ||||
@@ -49,7 +49,7 @@ if ($dopost == "viewinfo") //查看表结构 | |||||
exit(); | exit(); | ||||
} else if ($dopost == "repair") //修复表 | } else if ($dopost == "repair") //修复表 | ||||
{ | { | ||||
echo "[<a href='#' onclick='javascript:HideObj(\"_mydatainfo\")'><u>关闭</u></a>]\r\n<xmp>"; | |||||
echo "[<a href='#' onclick='javascript:HideObj(\"_mydatainfo\")'>关闭</a>]\r\n<xmp>"; | |||||
if (empty($tablename)) { | if (empty($tablename)) { | ||||
echo "没有指定表名!"; | echo "没有指定表名!"; | ||||
} else { | } else { | ||||
@@ -26,7 +26,7 @@ function __getfields() | |||||
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:3px;line-height:160%'>"; | ||||
echo "表(".$exptable.")含有的字段:<br>"; | echo "表(".$exptable.")含有的字段:<br>"; | ||||
while ($row = $dsql->GetFieldObject()) { | while ($row = $dsql->GetFieldObject()) { | ||||
echo "<a href=\"javascript:pf('{$row->name}')\"><u>".$row->name."</u></a>\r\n"; | |||||
echo "<a href=\"javascript:pf('{$row->name}')\">".$row->name."</a>\r\n"; | |||||
} | } | ||||
echo "</div>"; | echo "</div>"; | ||||
exit(); | exit(); | ||||
@@ -87,7 +87,7 @@ | |||||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" class="table maintable table-bordered mt-3"> | <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" class="table maintable table-bordered mt-3"> | ||||
<tr> | <tr> | ||||
<td height="28" background="images/tbg.gif" style="padding-left:10px;"><b><a | <td height="28" background="images/tbg.gif" style="padding-left:10px;"><b><a | ||||
href="ad_main.php"><u>广告管理</u></a></b> >> 增加广告位置 </td> | |||||
href="ad_main.php">广告管理</a></b> >> 增加广告位置 </td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="200" bgcolor="#FFFFFF" valign="top"> | <td height="200" bgcolor="#FFFFFF" valign="top"> | ||||
@@ -50,7 +50,7 @@ | |||||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" class="table maintable table-bordered mt-3"> | <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" class="table maintable table-bordered mt-3"> | ||||
<tr> | <tr> | ||||
<td height="28" background="images/tbg.gif" style="padding-left:10px;"> <b><a | <td height="28" background="images/tbg.gif" style="padding-left:10px;"> <b><a | ||||
href="ad_main.php"><u>广告管理</u></a></b> >> 更改广告 </td> | |||||
href="ad_main.php">广告管理</a></b> >> 更改广告 </td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="200" bgcolor="#FFFFFF" valign="top"> | <td height="200" bgcolor="#FFFFFF" valign="top"> | ||||
@@ -70,7 +70,7 @@ | |||||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | ||||
<tr> | <tr> | ||||
<td width="65%" height="30"><img height=14 src="images/book1.gif" width="20" /> <a | <td width="65%" height="30"><img height=14 src="images/book1.gif" width="20" /> <a | ||||
href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"><u>图集列表</u></a> | |||||
href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">图集列表</a> | |||||
>> 发布新图集</td> | >> 发布新图集</td> | ||||
<td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a> </td> | <td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a> </td> | ||||
</tr> | </tr> | ||||
@@ -82,7 +82,7 @@ | |||||
<tr> | <tr> | ||||
<td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规内容 </td> | <td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规内容 </td> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem2()"><u>高级参数</u></a> </td> | |||||
onClick="ShowItem2()">高级参数</a> </td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -94,7 +94,7 @@ | |||||
<table width="168" height="24" border="0" cellpadding="0" cellspacing="0"> | <table width="168" height="24" border="0" cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem1()"><u>常规内容</u></a> </td> | |||||
onClick="ShowItem1()">常规内容</a> </td> | |||||
<td width="84" align="center" background="images/itemnote1.gif">高级参数 </td> | <td width="84" align="center" background="images/itemnote1.gif">高级参数 </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -74,7 +74,7 @@ body { | |||||
<input type="hidden" id="litpic_b64" name="litpic_b64" value=""> | <input type="hidden" id="litpic_b64" name="litpic_b64" value=""> | ||||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | ||||
<tr> | <tr> | ||||
<td width="65%" height="30"><IMG height=14 src="images/book1.gif" width=20> <a href="catalog_do.php?cid=<?php echo $arcRow["typeid"]?>&dopost=listArchives"><u>图集列表</u></a> >> 更改图集</td> | |||||
<td width="65%" height="30"><IMG height=14 src="images/book1.gif" width=20> <a href="catalog_do.php?cid=<?php echo $arcRow["typeid"]?>&dopost=listArchives">图集列表</a> >> 更改图集</td> | |||||
<td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a> </td> | <td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a> </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -83,7 +83,7 @@ body { | |||||
<td colspan="2"><table width="168" border="0" cellpadding="0" cellspacing="0"> | <td colspan="2"><table width="168" border="0" cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规内容 </td> | <td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规内容 </td> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()"><u>图集图片</u></a> </td> | |||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" onClick="ShowItem2()">图集图片</a> </td> | |||||
</tr> | </tr> | ||||
</table></td> | </table></td> | ||||
</tr> | </tr> | ||||
@@ -92,7 +92,7 @@ body { | |||||
<tr> | <tr> | ||||
<td colspan="2"><table width="168" height="24" border="0" cellpadding="0" cellspacing="0"> | <td colspan="2"><table width="168" height="24" border="0" cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" onClick="ShowItem1()"><u>常规内容</u></a> </td> | |||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" onClick="ShowItem1()">常规内容</a> </td> | |||||
<td width="84" align="center" background="images/itemnote1.gif">图集图片 </td> | <td width="84" align="center" background="images/itemnote1.gif">图集图片 </td> | ||||
</tr> | </tr> | ||||
</table></td> | </table></td> | ||||
@@ -51,7 +51,7 @@ | |||||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | ||||
<tr> | <tr> | ||||
<td width="65%" height="30"><IMG height=14 src="images/book1.gif" width=20> <a | <td width="65%" height="30"><IMG height=14 src="images/book1.gif" width=20> <a | ||||
href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"><u>文档列表</u></a> | |||||
href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> | |||||
>> 发布文档</td> | >> 发布文档</td> | ||||
<td width="30%" align='right'><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a> </td> | <td width="30%" align='right'><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a> </td> | ||||
</tr> | </tr> | ||||
@@ -64,7 +64,7 @@ | |||||
<tr> | <tr> | ||||
<td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规信息 </td> | <td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规信息 </td> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem2()"><u>高级参数</u></a></td> | |||||
onClick="ShowItem2()">高级参数</a></td> | |||||
<td> </td> | <td> </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -78,7 +78,7 @@ | |||||
<table height="24" border="0" cellpadding="0" cellspacing="0"> | <table height="24" border="0" cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem1()"><u>常规信息</u></a> </td> | |||||
onClick="ShowItem1()">常规信息</a> </td> | |||||
<td width="84" align="center" background="images/itemnote1.gif">高级参数</td> | <td width="84" align="center" background="images/itemnote1.gif">高级参数</td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -47,7 +47,7 @@ | |||||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"> | <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="65%" height="30"><IMG height=14 src="images/book1.gif" width=20> <a | <td width="65%" height="30"><IMG height=14 src="images/book1.gif" width=20> <a | ||||
href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives"><u>文档列表</u></a> | |||||
href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> | |||||
>> 更改文档</td> | >> 更改文档</td> | ||||
<td width="30%" align='right'><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a> </td> | <td width="30%" align='right'><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a> </td> | ||||
</tr> | </tr> | ||||
@@ -59,7 +59,7 @@ | |||||
<tr> | <tr> | ||||
<td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规信息 </td> | <td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规信息 </td> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem2()"><u>高级参数</u></a></td> | |||||
onClick="ShowItem2()">高级参数</a></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -71,7 +71,7 @@ | |||||
<table height="24" border="0" cellpadding="0" cellspacing="0"> | <table height="24" border="0" cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem1()"><u>常规信息</u></a> </td> | |||||
onClick="ShowItem1()">常规信息</a> </td> | |||||
<td width="84" align="center" background="images/itemnote1.gif">高级参数</td> | <td width="84" align="center" background="images/itemnote1.gif">高级参数</td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -47,7 +47,7 @@ function checkSubmit() | |||||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | ||||
<tr> | <tr> | ||||
<td width="65%" height="30"><IMG height=14 src="images/book1.gif" width=20> | <td width="65%" height="30"><IMG height=14 src="images/book1.gif" width=20> | ||||
<a href="content_sg_list.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"><u>文档列表</u></a> >> 发布文档</td> | |||||
<a href="content_sg_list.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> >> 发布文档</td> | |||||
<td width="30%" align='right'> <?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a> </td> | <td width="30%" align='right'> <?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a> </td> | ||||
<td width="1%"> </td> | <td width="1%"> </td> | ||||
</tr> | </tr> | ||||
@@ -44,7 +44,7 @@ function checkSubmit() | |||||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | ||||
<tr> | <tr> | ||||
<td width="65%" height="30"><IMG height=14 src="images/book1.gif" width='20' /> | <td width="65%" height="30"><IMG height=14 src="images/book1.gif" width='20' /> | ||||
<a href="content_sg_list.php?cid=<?php echo $addRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives"><u>文档列表</u></a> >> 更改文档</td> | |||||
<a href="content_sg_list.php?cid=<?php echo $addRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> >> 更改文档</td> | |||||
<td width="30%" align='right'> <?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a> </td> | <td width="30%" align='right'> <?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a> </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -33,7 +33,7 @@ | |||||
<tr> | <tr> | ||||
<td width="50%">频道ID: | <td width="50%">频道ID: | ||||
<input name="channel" type="text" id="channel" value="1" size="10"> | <input name="channel" type="text" id="channel" value="1" size="10"> | ||||
(可在“<a href="mychannel_main.php"><u>频道模型管理</u></a>”处获得)</td> | |||||
(可在“<a href="mychannel_main.php">频道模型管理</a>”处获得)</td> | |||||
<td width="50%">摘要大小: | <td width="50%">摘要大小: | ||||
<input name="dsize" type="text" id="dsize" size="15" value="<?php echo $cfg_auot_description?>"> | <input name="dsize" type="text" id="dsize" size="15" value="<?php echo $cfg_auot_description?>"> | ||||
(最大250字节)</td> | (最大250字节)</td> | ||||
@@ -81,7 +81,7 @@ function AddNewKw() | |||||
<tr> | <tr> | ||||
<td bgcolor="#FFFFFF" style="line-height:180%"> | <td bgcolor="#FFFFFF" style="line-height:180%"> | ||||
{dede:datalist} | {dede:datalist} | ||||
<a href='javascript:SelKw("{dede:field.keyword/}")'><u>{dede:field.keyword/}</u></a> | |||||
<a href='javascript:SelKw("{dede:field.keyword/}")'>{dede:field.keyword/}</a> | |||||
{/dede:datalist} | {/dede:datalist} | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -148,7 +148,7 @@ $i = 0; | |||||
<table width="100%" border="0" cellspacing="0" cellpadding="0"> | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td height="30"><IMG height=14 src="images/book1.gif" width=20> <a | <td height="30"><IMG height=14 src="images/book1.gif" width=20> <a | ||||
href="catalog_main.php"><u>栏目管理</u></a> >> 增加栏目</td> | |||||
href="catalog_main.php">栏目管理</a> >> 增加栏目</td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -182,9 +182,9 @@ $i = 0; | |||||
<tr> | <tr> | ||||
<td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规选项 </td> | <td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规选项 </td> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem2()"><u>高级选项</u></a> </td> | |||||
onClick="ShowItem2()">高级选项</a> </td> | |||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem3()"><u>栏目内容</u></a> </td> | |||||
onClick="ShowItem3()">栏目内容</a> </td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -197,10 +197,10 @@ $i = 0; | |||||
<table height="24" border="0" cellpadding="0" cellspacing="0"> | <table height="24" border="0" cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="84" align="center" background="images/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" | ||||
onClick="ShowItem1()"><u>常规选项</u></a> </td> | |||||
onClick="ShowItem1()">常规选项</a> </td> | |||||
<td width="84" align="center" background="images/itemnote1.gif">高级选项 </td> | <td width="84" align="center" background="images/itemnote1.gif">高级选项 </td> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem3()"><u>栏目内容</u></a> </td> | |||||
onClick="ShowItem3()">栏目内容</a> </td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -213,9 +213,9 @@ $i = 0; | |||||
<table height="24" border="0" cellpadding="0" cellspacing="0"> | <table height="24" border="0" cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="84" align="center" background="images/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" | ||||
onClick="ShowItem1()"><u>常规选项</u></a> </td> | |||||
onClick="ShowItem1()">常规选项</a> </td> | |||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem2()"><u>高级选项</u> </td> | |||||
onClick="ShowItem2()">高级选项 </td> | |||||
<td width="84" align="center" background="images/itemnote1.gif">栏目内容 </td> | <td width="84" align="center" background="images/itemnote1.gif">栏目内容 </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -417,7 +417,7 @@ $i = 0; | |||||
} | } | ||||
?> | ?> | ||||
</select> | </select> | ||||
按 Ctrl 多选,不选系统将调用全部分类,在<a href='stepselect_main.php'>“<u>联动类别管理</u>”</a>中管理 | |||||
按 Ctrl 多选,不选系统将调用全部分类,在<a href='stepselect_main.php'>“联动类别管理”</a>中管理 | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -96,7 +96,7 @@ | |||||
<table width="100%" border="0" cellspacing="0" cellpadding="0"> | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td height="30"><img height='14' src='images/book1.gif' width='20' /> <a | <td height="30"><img height='14' src='images/book1.gif' width='20' /> <a | ||||
href="catalog_main.php"><u>栏目管理</u></a> >> 批量增加栏目 </td> | |||||
href="catalog_main.php">栏目管理</a> >> 批量增加栏目 </td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -131,7 +131,7 @@ $i = 0; | |||||
<table width="100%" border="0" cellspacing="0" cellpadding="0"> | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td height="30"><IMG height=14 src="images/book1.gif" width=20> <a | <td height="30"><IMG height=14 src="images/book1.gif" width=20> <a | ||||
href="catalog_main.php"><u>栏目管理</u></a>>> 修改栏目</td> | |||||
href="catalog_main.php">栏目管理</a>>> 修改栏目</td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -158,9 +158,9 @@ $i = 0; | |||||
<tr> | <tr> | ||||
<td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规选项 </td> | <td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规选项 </td> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem2()"><u>高级选项</u></a> </td> | |||||
onClick="ShowItem2()">高级选项</a> </td> | |||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem3()"><u>栏目内容</u></a> </td> | |||||
onClick="ShowItem3()">栏目内容</a> </td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -173,10 +173,10 @@ $i = 0; | |||||
<table height="24" border="0" cellpadding="0" cellspacing="0"> | <table height="24" border="0" cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="84" align="center" background="images/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" | ||||
onClick="ShowItem1()"><u>常规选项</u></a> </td> | |||||
onClick="ShowItem1()">常规选项</a> </td> | |||||
<td width="84" align="center" background="images/itemnote1.gif">高级选项 </td> | <td width="84" align="center" background="images/itemnote1.gif">高级选项 </td> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem3()"><u>栏目内容</u></a> </td> | |||||
onClick="ShowItem3()">栏目内容</a> </td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -189,9 +189,9 @@ $i = 0; | |||||
<table height="24" border="0" cellpadding="0" cellspacing="0"> | <table height="24" border="0" cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="84" align="center" background="images/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" | ||||
onClick="ShowItem1()"><u>常规选项</u></a> </td> | |||||
onClick="ShowItem1()">常规选项</a> </td> | |||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem2()"><u>高级选项</u> </td> | |||||
onClick="ShowItem2()">高级选项 </td> | |||||
<td width="84" align="center" background="images/itemnote1.gif">栏目内容 </td> | <td width="84" align="center" background="images/itemnote1.gif">栏目内容 </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -355,7 +355,7 @@ $i = 0; | |||||
} | } | ||||
?> | ?> | ||||
</select> | </select> | ||||
按 Ctrl 多选,不选系统将调用全部分类,在<a href='stepselect_main.php'>“<u>联动类别管理</u>”</a>中管理 | |||||
按 Ctrl 多选,不选系统将调用全部分类,在<a href='stepselect_main.php'>“联动类别管理”</a>中管理 | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -58,7 +58,7 @@ function CommonMenu(eobj,obj,tid,tname) | |||||
new ContextItem("删除栏目",function(){location="catalog_del.php?id="+tid+"&typeoldname="+tname;}), | new ContextItem("删除栏目",function(){location="catalog_del.php?id="+tid+"&typeoldname="+tname;}), | ||||
new ContextSeperator(), | new ContextSeperator(), | ||||
new ContextItem("向上排前一级",function(){ location="catalog_do.php?cid="+tid+"&dopost=upRank"; }), | new ContextItem("向上排前一级",function(){ location="catalog_do.php?cid="+tid+"&dopost=upRank"; }), | ||||
new ContextItem("关闭菜单(<u>C</u>)",function(){}) | |||||
new ContextItem("关闭菜单(C)",function(){}) | |||||
] | ] | ||||
ContextMenu.display(eobj,popupoptions) | ContextMenu.display(eobj,popupoptions) | ||||
} | } | ||||
@@ -80,7 +80,7 @@ function CommonMenuPart(eobj,obj,tid,tname) | |||||
new ContextItem("删除栏目",function(){location="catalog_del.php?id="+tid+"&typeoldname="+tname;}), | new ContextItem("删除栏目",function(){location="catalog_del.php?id="+tid+"&typeoldname="+tname;}), | ||||
new ContextSeperator(), | new ContextSeperator(), | ||||
new ContextItem("向上排前一级",function(){ location="catalog_do.php?cid="+tid+"&dopost=upRank"; }), | new ContextItem("向上排前一级",function(){ location="catalog_do.php?cid="+tid+"&dopost=upRank"; }), | ||||
new ContextItem("关闭菜单(<u>C</u>)",function(){}) | |||||
new ContextItem("关闭菜单(C)",function(){}) | |||||
] | ] | ||||
ContextMenu.display(eobj,popupoptions) | ContextMenu.display(eobj,popupoptions) | ||||
} | } | ||||
@@ -95,7 +95,7 @@ function SingleMenu(eobj,obj,tid,tname) | |||||
new ContextItem("删除栏目",function(){location="catalog_del.php?id="+tid+"&typeoldname="+tname;}), | new ContextItem("删除栏目",function(){location="catalog_del.php?id="+tid+"&typeoldname="+tname;}), | ||||
new ContextSeperator(), | new ContextSeperator(), | ||||
new ContextItem("向上排前一级",function(){ window.location="catalog_do.php?cid="+tid+"&dopost=upRank"; }), | new ContextItem("向上排前一级",function(){ window.location="catalog_do.php?cid="+tid+"&dopost=upRank"; }), | ||||
new ContextItem("关闭菜单(<u>C</u>)",function(){}) | |||||
new ContextItem("关闭菜单(C)",function(){}) | |||||
] | ] | ||||
ContextMenu.display(eobj,popupoptions) | ContextMenu.display(eobj,popupoptions) | ||||
} | } | ||||
@@ -157,7 +157,7 @@ | |||||
<td align='left'> | <td align='left'> | ||||
<a href='archives_do.php?aid={dede:field.id/}&dopost=editArchives' | <a href='archives_do.php?aid={dede:field.id/}&dopost=editArchives' | ||||
oncontextmenu="ShowMenu(event,this,{dede:field.id/},'<?php echo urlencode($fields['title'])?>')"> | oncontextmenu="ShowMenu(event,this,{dede:field.id/},'<?php echo urlencode($fields['title'])?>')"> | ||||
<u>{dede:field.title/}</u> | |||||
{dede:field.title/} | |||||
</a> | </a> | ||||
</td> | </td> | ||||
<td><?php echo MyDate("Y-m-d H:i",$fields['senddate'])?></td> | <td><?php echo MyDate("Y-m-d H:i",$fields['senddate'])?></td> | ||||
@@ -75,7 +75,7 @@ | |||||
<td>{dede:field.id/}</td> | <td>{dede:field.id/}</td> | ||||
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np"></td> | <td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np"></td> | ||||
<td align='left'> | <td align='left'> | ||||
<a href='archives_do.php?aid={dede:field.id/}&dopost=editArchives'><u>{dede:field.title/}</u></a> | |||||
<a href='archives_do.php?aid={dede:field.id/}&dopost=editArchives'>{dede:field.title/}</a> | |||||
</td> | </td> | ||||
<td>{dede:field.senddate function="GetDateMk(@me)" /}</td> | <td>{dede:field.senddate function="GetDateMk(@me)" /}</td> | ||||
<td>{dede:field.typeid function='GetTypename(@me)'/}</td> | <td>{dede:field.typeid function='GetTypename(@me)'/}</td> | ||||
@@ -78,7 +78,7 @@ | |||||
new ContextItem("推荐文档", function () { adArc(aid); }), | new ContextItem("推荐文档", function () { adArc(aid); }), | ||||
new ContextItem("删除文档", function () { delArc(aid); }), | new ContextItem("删除文档", function () { delArc(aid); }), | ||||
new ContextSeperator(), | new ContextSeperator(), | ||||
new ContextItem("复制(<u>C</u>)", function () { copyToClipboard(atitle); }), | |||||
new ContextItem("复制(C)", function () { copyToClipboard(atitle); }), | |||||
new ContextItem("重载页面", function () { location.reload(); }), | new ContextItem("重载页面", function () { location.reload(); }), | ||||
new ContextSeperator(), | new ContextSeperator(), | ||||
new ContextItem("全部选择", function () { selAll(); }), | new ContextItem("全部选择", function () { selAll(); }), | ||||
@@ -226,7 +226,7 @@ | |||||
<a href='archives_do.php?aid={dede:field.aid/}&dopost=editArchives' | <a href='archives_do.php?aid={dede:field.aid/}&dopost=editArchives' | ||||
oncontextmenu="ShowMenu(event,this,{dede:field.aid/},'{dede:field.title function=" | oncontextmenu="ShowMenu(event,this,{dede:field.aid/},'{dede:field.title function=" | ||||
str_replace('\'', '' , @me)" /}')"> | str_replace('\'', '' , @me)" /}')"> | ||||
<u>{dede:field.title/}{dede:field.flag function='IsCommendArchives(@me)'/}</u> | |||||
{dede:field.title/}{dede:field.flag function='IsCommendArchives(@me)'/} | |||||
</a> | </a> | ||||
</td> | </td> | ||||
<td>{dede:field.senddate function='GetDateMk(@me)'/}</td> | <td>{dede:field.senddate function='GetDateMk(@me)'/}</td> | ||||
@@ -45,7 +45,7 @@ | |||||
<form name="form1" action="diy_add.php?action=add" method="post" onSubmit="return checkSubmit();"> | <form name="form1" action="diy_add.php?action=add" method="post" onSubmit="return checkSubmit();"> | ||||
<tr bgcolor="#CFCFCF"> | <tr bgcolor="#CFCFCF"> | ||||
<td height="28" colspan="2" bgcolor="#EDF9D5" background='images/tbg.gif'> | <td height="28" colspan="2" bgcolor="#EDF9D5" background='images/tbg.gif'> | ||||
<b> <a href="diy_main.php"><u>自定义表单管理</u></a> > 新增自定义表单:</b> | |||||
<b> <a href="diy_main.php">自定义表单管理</a> > 新增自定义表单:</b> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -56,7 +56,7 @@ | |||||
<input type='hidden' name='dopost' value='save'> | <input type='hidden' name='dopost' value='save'> | ||||
<tr bgcolor="#CFCFCF"> | <tr bgcolor="#CFCFCF"> | ||||
<td height="28" colspan="2" bgcolor="#EDF9D5" background='images/tbg.gif' style="padding-left:10px;"> | <td height="28" colspan="2" bgcolor="#EDF9D5" background='images/tbg.gif' style="padding-left:10px;"> | ||||
<b><a href="diy_main.php"><u>自定义表单管理</u></a> > 修改自定义表单:</b> | |||||
<b><a href="diy_main.php">自定义表单管理</a> > 修改自定义表单:</b> | |||||
(修改表名不会创建新表,如果您不懂手工处理这些表,请不要更改) | (修改表名不会创建新表,如果您不懂手工处理这些表,请不要更改) | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -18,7 +18,7 @@ body { | |||||
<table class="table maintable mt-3" width="98%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#D6D6D6"> | <table class="table maintable mt-3" width="98%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#D6D6D6"> | ||||
<tr> | <tr> | ||||
<td width="100%" height="24" colspan="2" background="images/tbg.gif"> | <td width="100%" height="24" colspan="2" background="images/tbg.gif"> | ||||
<strong><a href="<?php echo $ENV_GOBACK_URL; ?>"><u>表单管理</u></a> >> 编辑评论:</strong> </td> | |||||
<strong><a href="<?php echo $ENV_GOBACK_URL; ?>">表单管理</a> >> 编辑评论:</strong> </td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="167" colspan="2" align="center" bgcolor="#FFFFFF" valign="top"> | <td height="167" colspan="2" align="center" bgcolor="#FFFFFF" valign="top"> | ||||
@@ -103,7 +103,7 @@ td{ padding:2px; padding-left:6px; line-height:150%; } | |||||
<tr> | <tr> | ||||
<td width="28%" bgcolor="#FFFFFF"><strong>字段名称:</strong><br> | <td width="28%" bgcolor="#FFFFFF"><strong>字段名称:</strong><br> | ||||
<span class="STYLE2"> | <span class="STYLE2"> | ||||
只能用英文字母或数字,数据表的真实字段名,如果数据类型是联动类型,该项应该填写联动类型的<a href='stepselect_main.php' target='_blank'><u>[组名称]</u></a>。 | |||||
只能用英文字母或数字,数据表的真实字段名,如果数据类型是联动类型,该项应该填写联动类型的<a href='stepselect_main.php' target='_blank'>[组名称]</a>。 | |||||
</span> | </span> | ||||
</td> | </td> | ||||
<td width="72%" bgcolor="#FFFFFF"> | <td width="72%" bgcolor="#FFFFFF"> | ||||
@@ -79,7 +79,7 @@ | |||||
<td><input name="id" type="checkbox" id="id" value="{dede:field.id/}" class="np"></td> | <td><input name="id" type="checkbox" id="id" value="{dede:field.id/}" class="np"></td> | ||||
<td>{dede:field.id /}</td> | <td>{dede:field.id /}</td> | ||||
<td>{dede:field.mid function='username(@me)'/}</td> | <td>{dede:field.mid function='username(@me)'/}</td> | ||||
<td><a href='archives_do.php?dopost=editArchives&aid={dede:field.aid/}'><u>{dede:field.title /}</u></a> | |||||
<td><a href='archives_do.php?dopost=editArchives&aid={dede:field.aid/}'>{dede:field.title /}</a> | |||||
</td> | </td> | ||||
<td>{dede:field.type function='typename(@me)'/}</td> | <td>{dede:field.type function='typename(@me)'/}</td> | ||||
<td>{dede:field.sendtime function='GetDateMk(@me)'/}</td> | <td>{dede:field.sendtime function='GetDateMk(@me)'/}</td> | ||||
@@ -19,7 +19,7 @@ | |||||
<table width="98%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#cfcfcf" class="table maintable table-bordered mt-3"> | <table width="98%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#cfcfcf" class="table maintable table-bordered mt-3"> | ||||
<tr> | <tr> | ||||
<td width="100%" height="24" colspan="2" background="images/tbg.gif" style="padding-left:10px;"><strong><a | <td width="100%" height="24" colspan="2" background="images/tbg.gif" style="padding-left:10px;"><strong><a | ||||
href="<?php echo $ENV_GOBACK_URL; ?>"><u>评论管理</u></a> >> 编辑评论:</strong> | |||||
href="<?php echo $ENV_GOBACK_URL; ?>">评论管理</a> >> 编辑评论:</strong> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -74,7 +74,7 @@ | |||||
<tr> | <tr> | ||||
<td height="28" background='images/tbg.gif' style="padding-left:10px;"> | <td height="28" background='images/tbg.gif' style="padding-left:10px;"> | ||||
<div style="float:left;"> | <div style="float:left;"> | ||||
<a href='feedback_main.php'><u><b>评论管理</b></u></a> | |||||
<a href='feedback_main.php'><b>评论管理</b></a> | |||||
</div> | </div> | ||||
<div style="float:right;padding-right:10px"> | <div style="float:right;padding-right:10px"> | ||||
<form name='form1'> | <form name='form1'> | ||||
@@ -107,17 +107,17 @@ | |||||
用户:{dede:field.username/} | 用户:{dede:field.username/} | ||||
</td> | </td> | ||||
<td width="20%"> | <td width="20%"> | ||||
文档:<a href='feedback_main.php?aid={dede:field.aid/}'><u>{dede:field.arctitle | |||||
function="RemoveXSS(@me)"/}</u></a> (<a | |||||
文档:<a href='feedback_main.php?aid={dede:field.aid/}'>{dede:field.arctitle | |||||
function="RemoveXSS(@me)"/}</a> (<a | |||||
href="archives_do.php?aid={dede:field.aid/}&dopost=viewArchives" | href="archives_do.php?aid={dede:field.aid/}&dopost=viewArchives" | ||||
target="_blank"><u>浏览</u></a>) | |||||
target="_blank">浏览</a>) | |||||
<?php if($fields['replycount'] > 0) { ?><a | <?php if($fields['replycount'] > 0) { ?><a | ||||
href='feedback_main.php?fid={dede:field.id/}'>({dede:field.replycount/}条回复)</a> | href='feedback_main.php?fid={dede:field.id/}'>({dede:field.replycount/}条回复)</a> | ||||
<?php } ?> | <?php } ?> | ||||
</td> | </td> | ||||
<td width="18%" align="center"> | <td width="18%" align="center"> | ||||
IP地址:<a | IP地址:<a | ||||
href='feedback_main.php?ip={dede:field.ip/}'><u>{dede:field.ip/}</u></a> | |||||
href='feedback_main.php?ip={dede:field.ip/}'>{dede:field.ip/}</a> | |||||
</td> | </td> | ||||
<td width="15%"> | <td width="15%"> | ||||
时间:{dede:field.dtime function="GetDateTimeMK(@me)" /} | 时间:{dede:field.dtime function="GetDateTimeMK(@me)" /} | ||||
@@ -84,7 +84,7 @@ | |||||
style="border:1px solid #CFCFCF;border-bottom:none;" class="table-borderless"> | style="border:1px solid #CFCFCF;border-bottom:none;" class="table-borderless"> | ||||
<tr> | <tr> | ||||
<td align="left" bgcolor="#EDF9D5" background="images/tbg.gif" style="padding-left:10px;" class="py-3"> | <td align="left" bgcolor="#EDF9D5" background="images/tbg.gif" style="padding-left:10px;" class="py-3"> | ||||
<a href="freelist_main.php"><strong><u>自自由列表管理</u></strong></a> | |||||
<a href="freelist_main.php"><strong>自自由列表管理</strong></a> | |||||
<strong> >> 增加一个列表:</strong> | <strong> >> 增加一个列表:</strong> | ||||
</td> | </td> | ||||
<td align="right" bgcolor="#EDF9D5" background="images/tbg.gif"></td> | <td align="right" bgcolor="#EDF9D5" background="images/tbg.gif"></td> | ||||
@@ -73,7 +73,7 @@ | |||||
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="table-borderless"> | <table width="98%" border="0" cellpadding="0" cellspacing="0" class="table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="35%" height="18" align="left" style="padding-left:10px;"> | <td width="35%" height="18" align="left" style="padding-left:10px;"> | ||||
<a href="freelist_main.php"><strong><u>自自由列表管理</u></strong></a> | |||||
<a href="freelist_main.php"><strong>自自由列表管理</strong></a> | |||||
<strong> >> 更改自由列表:</strong> | <strong> >> 更改自由列表:</strong> | ||||
</td> | </td> | ||||
<td width="65%" align="right"></td> | <td width="65%" align="right"></td> | ||||
@@ -21,7 +21,7 @@ | |||||
function ReloadPage(ordertype) { | function ReloadPage(ordertype) { | ||||
orderby = ordertype; | orderby = ordertype; | ||||
var listArea = $Obj('rslist'); | var listArea = $Obj('rslist'); | ||||
var errMsg = "网络通信出错!<br>[<a href=\"javascript:ReloadPage('" + ordertype + "')\"><u>点击此重新加载列表</u></a>]"; | |||||
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); | myajax.SendGet("freelist_main.php?dopost=getlist&pageno=" + pageno + "&orderby=" + ordertype + addget); | ||||
} | } | ||||
@@ -46,7 +46,7 @@ | |||||
totalrow = totalrow - 1; | totalrow = totalrow - 1; | ||||
var pagenum = Math.ceil(totalrow / pagesize); | var pagenum = Math.ceil(totalrow / pagesize); | ||||
if (pagenum <= pageno) pageno = pagenum; | if (pagenum <= pageno) pageno = pagenum; | ||||
var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('" + pageno + "')\"><u>点击此重新加载列表</u></a>]"; | |||||
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); | myajax.SendGet("freelist_main.php?dopost=del&aid=" + nid + "&pageno=" + pageno); | ||||
ReloadPageNum(pageno); | ReloadPageNum(pageno); | ||||
@@ -31,7 +31,7 @@ function CheckSubmit() | |||||
<body background='images/allbg.gif' leftmargin='8' topmargin='8'> | <body background='images/allbg.gif' leftmargin='8' topmargin='8'> | ||||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" class="table maintable table-bordered mt-3"> | <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" class="table maintable table-bordered mt-3"> | ||||
<tr> | <tr> | ||||
<td height="28" background="images/tbg.gif" style="padding-left:10px;"><b><a href="friendlink_main.php"><u>友情链接管理</u></a></b>>>增加链接</td> | |||||
<td height="28" background="images/tbg.gif" style="padding-left:10px;"><b><a href="friendlink_main.php">友情链接管理</a></b>>>增加链接</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="200" bgcolor="#FFFFFF" valign="top"> | <td height="200" bgcolor="#FFFFFF" valign="top"> | ||||
@@ -14,7 +14,7 @@ | |||||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" class="table table-bordered maintable mt-3"> | <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" class="table table-bordered maintable mt-3"> | ||||
<tr> | <tr> | ||||
<td height="28" background="images/tbg.gif" style="padding-left:10px;"> | <td height="28" background="images/tbg.gif" style="padding-left:10px;"> | ||||
<b><a href="friendlink_main.php"><u>友情链接管理</u></a></b> >> 链接更改</td> | |||||
<b><a href="friendlink_main.php">友情链接管理</a></b> >> 链接更改</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="200" bgcolor="#FFFFFF" valign="top"> | <td height="200" bgcolor="#FFFFFF" valign="top"> | ||||
@@ -190,7 +190,7 @@ function ReturnImg(reimg) | |||||
top<input name="top" type="text" id="top" size="3" readonly="readonly" /> | top<input name="top" type="text" id="top" size="3" readonly="readonly" /> | ||||
宽<input name="width" type="text" id="width" size="3" readonly="readonly" /> | 宽<input name="width" type="text" id="width" size="3" readonly="readonly" /> | ||||
高<input name="height" type="text" id="height" size="3" readonly="readonly" /> | 高<input name="height" type="text" id="height" size="3" readonly="readonly" /> | ||||
<a href='javascript:changeRang();' id='changeRang'><u>改变比例</u></a> | |||||
<a href='javascript:changeRang();' id='changeRang'>改变比例</a> | |||||
</div> | </div> | ||||
</form> | </form> | ||||
</div> | </div> | ||||
@@ -5,7 +5,6 @@ | |||||
<meta name="robots" content="noindex,nofollow"> | <meta name="robots" content="noindex,nofollow"> | ||||
<title><?php echo $cfg_webname; ?>后台管理</title> | <title><?php echo $cfg_webname; ?>后台管理</title> | ||||
<link rel="stylesheet" href="css/frame.css"> | <link rel="stylesheet" href="css/frame.css"> | ||||
<link rel="stylesheet" href="images/style<?php echo $cfg_admin_skin;?>/style.css"> | |||||
<script src="../static/js/jquery.js"></script> | <script src="../static/js/jquery.js"></script> | ||||
<script src="js/frame.js"></script> | <script src="js/frame.js"></script> | ||||
<style> | <style> | ||||
@@ -108,31 +107,6 @@ | |||||
jQuery('#menufra').get(0).src = url1; | jQuery('#menufra').get(0).src = url1; | ||||
jQuery('#main').get(0).src = url2; | jQuery('#main').get(0).src = url2; | ||||
} | } | ||||
(function ($) { | |||||
$("#skinlist>li").click(function () { | |||||
var adminskin = $(this).index() + 1; | |||||
var csshref = "images/style" + adminskin + "/style.css"; | |||||
$("#skinlist>li").each(function () { $(this).children('div').attr('class', '') }); | |||||
$("#topdedelogo").attr('src', 'images/style' + adminskin + '/admin_top_logo.gif') | |||||
$('link').each(function () { | |||||
if ($(this).attr('href').match(/style.css$/)) { | |||||
$(this).attr('href', csshref); | |||||
} | |||||
}); | |||||
$(this).children('div').attr('class', 'sel'); | |||||
$(window.frames["menu"].document).find("link").each(function () { | |||||
if ($(this).attr('href').match(/style.css$/)) { | |||||
$(this).attr('href', csshref); | |||||
} | |||||
}); | |||||
$(window.frames["main"].document).find("link").each(function () { | |||||
if ($(this).attr('href').match(/style.css$/)) { | |||||
$(this).attr('href', csshref); | |||||
} | |||||
}); | |||||
$.get('index_body.php?dopost=setskin&cskin=' + adminskin); | |||||
}); | |||||
})(jQuery); | |||||
</script> | </script> | ||||
</body> | </body> | ||||
</html> | </html> |
@@ -90,8 +90,8 @@ $(function () { | |||||
<div class="card-body"> | <div class="card-body"> | ||||
<table width="98%" class="table table-borderless"> | <table width="98%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="25%" class="nline" style="text-align:right">您的级别:</td> | |||||
<td class="nline"> | |||||
<td width="30%" class="nline" style="text-align:right"> | |||||
您的级别: | |||||
<?php | <?php | ||||
if($cuserLogin->getUserType()==10) { | if($cuserLogin->getUserType()==10) { | ||||
echo "总管理员"; | echo "总管理员"; | ||||
@@ -101,8 +101,8 @@ $(function () { | |||||
echo "信息采集员或其它管理员"; | echo "信息采集员或其它管理员"; | ||||
} | } | ||||
?> | ?> | ||||
<a href="javascript:showMore()" class="btn btn-success btn-sm">查看更多</a> | |||||
</td> | </td> | ||||
<td class="nline"><a href="javascript:showMore()" class="btn btn-success btn-sm">查看更多</a></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="2" class="nline" id="allInfoTD" style="display:none"> | <td colspan="2" class="nline" id="allInfoTD" style="display:none"> | ||||
@@ -202,7 +202,7 @@ $(function () { | |||||
$row['editcon'] = 'archives_edit.php'; | $row['editcon'] = 'archives_edit.php'; | ||||
} | } | ||||
$linkstr = "<a href='{$row['editcon']}?aid={$row['id']}&channelid={$row['channel']}'>{$row['title']}</a>"; | $linkstr = "<a href='{$row['editcon']}?aid={$row['id']}&channelid={$row['channel']}'>{$row['title']}</a>"; | ||||
if($row['arcrank']==-1) $linkstr .= " <span class='btn btn-success btn-sm'>未审核</span>"; | |||||
if($row['arcrank']==-1) $linkstr .= "<span class='btn btn-danger btn-sm' style='margin-left:10px'>未审核</span>"; | |||||
?> | ?> | ||||
<tr> | <tr> | ||||
<td class="nline" style="text-align:left"><?php echo $linkstr; ?></td> | <td class="nline" style="text-align:left"><?php echo $linkstr; ?></td> | ||||
@@ -14,7 +14,7 @@ | |||||
<tr> | <tr> | ||||
<td height="20" colspan="8" bgcolor="#EDF9D5" background="images/tbg.gif"> | <td height="20" colspan="8" bgcolor="#EDF9D5" background="images/tbg.gif"> | ||||
<div style="float:left;padding-right:5px;padding-left:10px;"><b>期刊管理</b></div> | <div style="float:left;padding-right:5px;padding-left:10px;"><b>期刊管理</b></div> | ||||
<div style='float:right;padding-right:8px;'>[<a href="mail_title.php?dopost=add"><u>添加期刊</u></a>]</div> | |||||
<div style='float:right;padding-right:8px;'>[<a href="mail_title.php?dopost=add">添加期刊</a>]</div> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#FBFCE2" > | <tr bgcolor="#FBFCE2" > | ||||
@@ -13,7 +13,7 @@ | |||||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#cfcfcf;"> | <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#cfcfcf;"> | ||||
<td height="20" colspan="10" bgcolor="#EDF9D5" background="images/tbg.gif"> | <td height="20" colspan="10" bgcolor="#EDF9D5" background="images/tbg.gif"> | ||||
<div style="float:left;padding-right:5px;padding-left:10px;"><b>群发期刊</b></div> | <div style="float:left;padding-right:5px;padding-left:10px;"><b>群发期刊</b></div> | ||||
<div style='float:right;padding-right:8px;'>[<a href="mail_title.php?dopost=add"><u>添加期刊</u></a>]</div> | |||||
<div style='float:right;padding-right:8px;'>[<a href="mail_title.php?dopost=add">添加期刊</a>]</div> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#FBFCE2"> | <tr bgcolor="#FBFCE2"> | ||||
@@ -14,7 +14,7 @@ | |||||
<tr> | <tr> | ||||
<td width="92%" height="20" colspan="4" bgcolor="#EDF9D5" background="images/tbg.gif"> | <td width="92%" height="20" colspan="4" bgcolor="#EDF9D5" background="images/tbg.gif"> | ||||
<div style='float:left;padding-right:5px;padding-left:10px;'><b>分类管理</b></div> | <div style='float:left;padding-right:5px;padding-left:10px;'><b>分类管理</b></div> | ||||
<div style='float:right;padding-right:8px;'>[<a href="mail_type.php?dopost=add"><u>新增分类</u></a>]</div> | |||||
<div style='float:right;padding-right:8px;'>[<a href="mail_type.php?dopost=add">新增分类</a>]</div> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#FBFCE2"> | <tr bgcolor="#FBFCE2"> | ||||
@@ -129,7 +129,7 @@ | |||||
</td> | </td> | ||||
<td> | <td> | ||||
<a href='{dede:field.url/}' title='{dede:field.url/}' target='_blank'> | <a href='{dede:field.url/}' title='{dede:field.url/}' target='_blank'> | ||||
<u>{dede:field.title/}</u> | |||||
{dede:field.title/} | |||||
</a> | </a> | ||||
</td> | </td> | ||||
<td>{dede:field.filesize function='GetFileSize(@me)'/}</td> | <td>{dede:field.filesize function='GetFileSize(@me)'/}</td> | ||||
@@ -107,7 +107,7 @@ | |||||
<td>{dede:field.mid/}</td> | <td>{dede:field.mid/}</td> | ||||
<td><a href="../member/index.php?uid={dede:field.userid/}" target='_blank'> | <td><a href="../member/index.php?uid={dede:field.userid/}" target='_blank'> | ||||
<?php | <?php | ||||
echo '<u>'.$fields['userid'].'</u>'; | |||||
echo ''.$fields['userid'].''; | |||||
if($fields['spacesta']==-2) echo "<font color='red'>(禁言)</font>"; | if($fields['spacesta']==-2) echo "<font color='red'>(禁言)</font>"; | ||||
if($fields['spacesta']==-1) echo "<font color='red'>(未审核)</font>"; | if($fields['spacesta']==-1) echo "<font color='red'>(未审核)</font>"; | ||||
if(!empty($fields['face'])) { | if(!empty($fields['face'])) { | ||||
@@ -15,7 +15,7 @@ | |||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" align="center" class="table maintable table-bordered mt-3"> | <table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" align="center" class="table maintable table-bordered mt-3"> | ||||
<tr height="28"> | <tr height="28"> | ||||
<td colspan="6" background='images/tbg.gif'><strong><u>会员管理</u> > 会员级别设置:</strong></td> | |||||
<td colspan="6" background='images/tbg.gif'><strong>会员管理 > 会员级别设置:</strong></td> | |||||
</tr> | </tr> | ||||
<tr bgcolor="#F8FCF1" height="24"> | <tr bgcolor="#F8FCF1" height="24"> | ||||
<td colspan="6"><strong>级别名称和级别值:(注册会员这个级别不能删除,否则会员系统将会无法正常使用某些功能)</strong></td> | <td colspan="6"><strong>级别名称和级别值:(注册会员这个级别不能删除,否则会员系统将会无法正常使用某些功能)</strong></td> | ||||
@@ -60,7 +60,7 @@ | |||||
<input type="hidden" name="idend" value="<?php echo $k; ?>"> | <input type="hidden" name="idend" value="<?php echo $k; ?>"> | ||||
<tr bgcolor="#F8FCF1" height="24"> | <tr bgcolor="#F8FCF1" height="24"> | ||||
<td colspan="6"><strong>新增一个级别:</strong>(由于会员升级是以级别值由低向高升级的,因此增加组别时需注意此值的设置,<font color='red'> | <td colspan="6"><strong>新增一个级别:</strong>(由于会员升级是以级别值由低向高升级的,因此增加组别时需注意此值的设置,<font color='red'> | ||||
<u>如果您增加新的会员组的级别值低于10,将自动被视为普通的注册会员。</u></font>) </td> | |||||
如果您增加新的会员组的级别值低于10,将自动被视为普通的注册会员。</font>) </td> | |||||
</tr> | </tr> | ||||
<tr bgcolor="#FFFFFF" align="center" height="24"> | <tr bgcolor="#FFFFFF" align="center" height="24"> | ||||
<td> 级别名称 </td> | <td> 级别名称 </td> | ||||
@@ -33,7 +33,7 @@ | |||||
style="border:1px solid #CFCFCF;border-bottom:none;"> | style="border:1px solid #CFCFCF;border-bottom:none;"> | ||||
<tr bgcolor="#EDF9D5"> | <tr bgcolor="#EDF9D5"> | ||||
<td width="100%" height="24" background='images/tbg.gif' style="padding-left:10px;"> | <td width="100%" height="24" background='images/tbg.gif' style="padding-left:10px;"> | ||||
<b><a href="member_main.php"><U>会员管理</U></a> > 积分头衔设置:</b> | |||||
<b><a href="member_main.php">会员管理</a> > 积分头衔设置:</b> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -157,7 +157,7 @@ function checkSubmit() | |||||
<input name="oldmatt" type="hidden" id="oldmatt" value="<?php echo $row['matt']?>" /> | <input name="oldmatt" type="hidden" id="oldmatt" value="<?php echo $row['matt']?>" /> | ||||
<input name="matt" type="text" id="matt" value="<?php echo $row['matt']?>" size="3" /> | <input name="matt" type="text" id="matt" value="<?php echo $row['matt']?>" size="3" /> | ||||
(0为普通,1为推荐,10为管理员[不能在前台登录] | (0为普通,1为推荐,10为管理员[不能在前台登录] | ||||
<font color='red'>{非管理员ID是严格使用10属性的,要新建管理在 <a href='sys_admin_user_add.php' target='_blank'><u>系统帐号</u></a> 的地方增加}</font>) | |||||
<font color='red'>{非管理员ID是严格使用10属性的,要新建管理在 <a href='sys_admin_user_add.php' target='_blank'>系统帐号</a> 的地方增加}</font>) | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -187,11 +187,11 @@ function checkSubmit() | |||||
<tr> | <tr> | ||||
<td width="17%" align="right" class='bline'>特殊操作:</td> | <td width="17%" align="right" class='bline'>特殊操作:</td> | ||||
<td width="83%" class='bline' style="text-align:left;"> | <td width="83%" class='bline' style="text-align:left;"> | ||||
<a href='member_do.php?dopost=memberlogin&id=<?php echo $row['mid']; ?>&jumpurl=../member/edit_fullinfo.php' target='_blank'><u>查看/修改详细资料</u></a> | |||||
<a href='member_do.php?dopost=memberlogin&id=<?php echo $row['mid']; ?>&jumpurl=../member/edit_fullinfo.php' target='_blank'>查看/修改详细资料</a> | |||||
| | | | ||||
<a href='member_do.php?dopost=memberlogin&id=<?php echo $row['mid']; ?>' target='_blank'><u>登录到此用户控制面板</u></a> | |||||
<a href='member_do.php?dopost=memberlogin&id=<?php echo $row['mid']; ?>' target='_blank'>登录到此用户控制面板</a> | |||||
| | | | ||||
<a href='../member/index.php?uid=<?php echo $row['userid']; ?>' target='_blank'><u>浏览此用户的空间</u></a> | |||||
<a href='../member/index.php?uid=<?php echo $row['userid']; ?>' target='_blank'>浏览此用户的空间</a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -50,7 +50,7 @@ td{padding-left:8px} | |||||
<input type='hidden' name='dev_id' value='<?php echo $dev_id; ?>'> | <input type='hidden' name='dev_id' value='<?php echo $dev_id; ?>'> | ||||
<tr> | <tr> | ||||
<td height="20" colspan="2" bgcolor="#EDF9D5" background='images/wbg.gif' style="padding-left:10px;"><b> | <td height="20" colspan="2" bgcolor="#EDF9D5" background='images/wbg.gif' style="padding-left:10px;"><b> | ||||
<a href="module_main.php"><u>模块管理</u></a> | |||||
<a href="module_main.php">模块管理</a> | |||||
> 模块修改: | > 模块修改: | ||||
</b> | </b> | ||||
</td> | </td> | ||||
@@ -46,7 +46,7 @@ | |||||
<table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" | <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" | ||||
style="background:#CFCFCF;"> | style="background:#CFCFCF;"> | ||||
<tr> | <tr> | ||||
<td width="100%" height="20"> <b> <a href="plus_main.php"><u>模块管理</u></a> | |||||
<td width="100%" height="20"> <b> <a href="plus_main.php">模块管理</a> | |||||
> DedeBIZ模块开发指南:</b> </td> | > DedeBIZ模块开发指南:</b> </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -1,10 +1,8 @@ | |||||
<!DOCTYPE html | |||||
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |||||
<html xmlns="http://www.w3.org/1999/xhtml"> | |||||
<!DOCTYPE html> | |||||
<html> | |||||
<head> | <head> | ||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||||
<title>模块打包</title> | |||||
<meta charset="<?php echo $cfg_soft_lang; ?>"> | |||||
<title>模块管理</title> | |||||
<link rel="stylesheet" href="../static/css/bootstrap.min.css"> | <link rel="stylesheet" href="../static/css/bootstrap.min.css"> | ||||
<link rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css"> | <link rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css"> | ||||
<link rel="stylesheet" href="css/base.css"> | <link rel="stylesheet" href="css/base.css"> | ||||
@@ -21,26 +19,22 @@ | |||||
} | } | ||||
</script> | </script> | ||||
</head> | </head> | ||||
<body background='images/allbg.gif' leftmargin='8' topmargin='8'> | <body background='images/allbg.gif' leftmargin='8' topmargin='8'> | ||||
<div class="bodytitle mt-3"> | <div class="bodytitle mt-3"> | ||||
<div class="bodytitleleft"></div> | <div class="bodytitleleft"></div> | ||||
<div class="bodytitletxt" style="padding-left:10px;">模块管理</div> | <div class="bodytitletxt" style="padding-left:10px;">模块管理</div> | ||||
<div class="bodytitletxt" style="float: right;padding-right: 10px;"> | |||||
<div class="bodytitletxt" style="float:right;padding-right:10px"> | |||||
<a href="<?php echo $cfg_biz_dedebizUrl;?>?from=module" target="_blank">应用市场</a> | <a href="<?php echo $cfg_biz_dedebizUrl;?>?from=module" target="_blank">应用市场</a> | ||||
<a href="module_upload.php">模块上传</a> | <a href="module_upload.php">模块上传</a> | ||||
<a href="module_make.php">模块打包</a> | <a href="module_make.php">模块打包</a> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
<div class="alert alert-info maintable mb-2" role="alert" style="margin: 0 auto;"> | |||||
从DedeBIZV6开始,启动了<a href="<?php echo $cfg_biz_dedebizUrl;?>/license_developer" target="_blank">DedeBIZ商业开发者计划</a>,为了保障系统及技术服务安全,请认准DedeBIZ商业认证开发者。 | |||||
</div> | |||||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable" | |||||
style="background:#CFCFCF;"> | |||||
<div class="alert alert-info maintable mb-3" style="margin:0 auto">从DedeBIZV6开始,启动了<a href="<?php echo $cfg_biz_dedebizUrl;?>/license_developer" target="_blank">DedeBIZ商业开发者计划</a>,为了保障系统及技术服务安全,请认准DedeBIZ商业认证开发者。</div> | |||||
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable" style="background:#CFCFCF;"> | |||||
<form name="form1" action="plus_add.php" method="post"> | <form name="form1" action="plus_add.php" method="post"> | ||||
<input type='hidden' name='dopost' value='save'> | <input type='hidden' name='dopost' value='save'> | ||||
<tr> | <tr> | ||||
<td height="25" colspan="7" bgcolor="#EDF9D5" background="images/tbg.gif" style="padding-left:10px;"> | |||||
<td height="26" colspan="7" bgcolor="#EDF9D5" background="images/tbg.gif" style="padding-left:10px;"> | |||||
<div style='float:left'><a href='module_main.php'><b>模块管理</b></a> > <b>模块列表:</b></div> | <div style='float:left'><a href='module_main.php'><b>模块管理</b></a> > <b>模块列表:</b></div> | ||||
<div style='float:right;padding-right:8px;'> | <div style='float:right;padding-right:8px;'> | ||||
<a href='module_main.php'>全部</a> | | <a href='module_main.php'>全部</a> | | ||||
@@ -60,49 +54,40 @@ | |||||
<td align="center" width="26%">管理</td> | <td align="center" width="26%">管理</td> | ||||
</tr> | </tr> | ||||
<?php | <?php | ||||
if(count($modules)>0) | |||||
foreach($modules as $k=>$v) | |||||
{ | |||||
?> | |||||
<tr bgcolor="#FFFFFF" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" | |||||
onMouseOut="javascript:this.bgColor='#FFFFFF';"> | |||||
if(count($modules)>0) | |||||
foreach($modules as $k=>$v) | |||||
{ | |||||
?> | |||||
<tr bgcolor="#FFFFFF" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> | |||||
<td><?php echo $v['name']; ?></td> | <td><?php echo $v['name']; ?></td> | ||||
<td><?php echo $v['time']; ?></td> | <td><?php echo $v['time']; ?></td> | ||||
<td> | <td> | ||||
<?php | |||||
<?php | |||||
if($cfg_soft_lang != $v['lang']) echo "<font color='red'>".$v['lang']."</font>"; | if($cfg_soft_lang != $v['lang']) echo "<font color='red'>".$v['lang']."</font>"; | ||||
else echo $v['lang']; | else echo $v['lang']; | ||||
?> | |||||
?> | |||||
</td> | </td> | ||||
<td><?php echo $types[$v['moduletype']];?></td> | <td><?php echo $types[$v['moduletype']];?></td> | ||||
<td> | <td> | ||||
<?php | |||||
$file = DEDEDATA."/module/{$v['hash']}.xml"; | |||||
if(file_exists($file)) { | |||||
if(file_exists(DEDEDATA."/module/{$v['hash']}-readme.php")){ | |||||
echo "<font color='green'>已安装</font> <a style='color:green' href='module_main.php?action=uninstall&hash={$v['hash']}'><u>卸载</u></a>"; | |||||
} else { | |||||
echo "未安装 <a class='btn btn-success btn-sm' href='module_main.php?action=setup&hash={$v['hash']}'>安装</a>"; | |||||
} | |||||
} else { | |||||
echo "<div id=\"status_{$v['hash']}\"><font color='red'>未下载</font> <a style='color:red' href=\"javascript:getmodule('download','{$v['hash']}')\"><u>下载</u></a></div>"; | |||||
} | |||||
?> | |||||
<?php | |||||
$file = DEDEDATA."/module/{$v['hash']}.xml"; | |||||
if(file_exists($file)) { | |||||
if(file_exists(DEDEDATA."/module/{$v['hash']}-readme.php")){ | |||||
echo "已安装 <a href='module_main.php?action=uninstall&hash={$v['hash']}' class='btn btn-success btn-sm'>卸载</a>"; | |||||
} else { | |||||
echo "未安装 <a href='module_main.php?action=setup&hash={$v['hash']}' class='btn btn-success btn-sm'>安装</a>"; | |||||
} | |||||
} else { | |||||
echo "<div id=\"status_{$v['hash']}\"><font color='red'>未下载</font> <a href=\"javascript:getmodule('download','{$v['hash']}')\" class='btn btn-success btn-sm'>下载</a></div>"; | |||||
} | |||||
?> | |||||
</td> | </td> | ||||
<td> | <td> | ||||
<div id='manager_<?php echo $v['hash']; ?>' | <div id='manager_<?php echo $v['hash']; ?>' | ||||
<?php if(!file_exists(DEDEDATA."/module/{$v['hash']}.xml")) echo 'style="display:none;"'?>> | <?php if(!file_exists(DEDEDATA."/module/{$v['hash']}.xml")) echo 'style="display:none;"'?>> | ||||
<a class="btn btn-success" | |||||
href='module_main.php?action=view_developoer&hash=<?php echo $v['hash']; ?>'>开发者信息</a> | |||||
<a class="btn btn-success" href='module_main.php?action=view_developoer&hash=<?php echo $v['hash']; ?>'>开发者信息</a> | |||||
<div class="btn-group" role="group"> | <div class="btn-group" role="group"> | ||||
<button id="btnAction" type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown" | |||||
aria-haspopup="true" aria-expanded="false"> | |||||
操作 | |||||
</button> | |||||
<button id="btnAction" type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">操作</button> | |||||
<div class="dropdown-menu" aria-labelledby="btnAction"> | <div class="dropdown-menu" aria-labelledby="btnAction"> | ||||
<a class="dropdown-item" href="module_main.php?action=showreadme&hash=<?php echo $v['hash']; ?>">说明</a> | <a class="dropdown-item" href="module_main.php?action=showreadme&hash=<?php echo $v['hash']; ?>">说明</a> | ||||
<a class="dropdown-item" href="module_main.php?action=view&hash=<?php echo $v['hash']; ?>">详细</a> | <a class="dropdown-item" href="module_main.php?action=view&hash=<?php echo $v['hash']; ?>">详细</a> | ||||
@@ -114,13 +99,12 @@ foreach($modules as $k=>$v) | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php | <?php | ||||
} | |||||
?> | |||||
} | |||||
?> | |||||
<tr> | <tr> | ||||
<td colspan="7" align="center" bgcolor='#F9FCEF'> </td> | <td colspan="7" align="center" bgcolor='#F9FCEF'> </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
</table> | </table> | ||||
</body> | </body> | ||||
</html> | |||||
</html> |
@@ -49,7 +49,7 @@ | |||||
<input type='hidden' name='action' value='make'> | <input type='hidden' name='action' value='make'> | ||||
<tr> | <tr> | ||||
<td height="20" colspan="2" bgcolor="#EDF9D5" background="images/tbg.gif" style="padding-left:10px;"><a | <td height="20" colspan="2" bgcolor="#EDF9D5" background="images/tbg.gif" style="padding-left:10px;"><a | ||||
href="module_main.php"><u><b>模块管理</b></u></a> | |||||
href="module_main.php"><b>模块管理</b></a> | |||||
> <b> 模块打包:</b> </td> | > <b> 模块打包:</b> </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -14,7 +14,7 @@ | |||||
<form name="form1" action="plus_add.php" method="post"> | <form name="form1" action="plus_add.php" method="post"> | ||||
<input type='hidden' name='dopost' value='save'> | <input type='hidden' name='dopost' value='save'> | ||||
<tr> | <tr> | ||||
<td height="20" colspan="2" bgcolor="#EDF9D5" style="padding-left:10px;"><b><a href="plus_main.php"><u>模块管理</u></a> | |||||
<td height="20" colspan="2" bgcolor="#EDF9D5" style="padding-left:10px;"><b><a href="plus_main.php">模块管理</a> | |||||
> 模块打包:</b> </td> | > 模块打包:</b> </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -101,7 +101,7 @@ | |||||
<tr> | <tr> | ||||
<td bgcolor="#FFFFFF"> | <td bgcolor="#FFFFFF"> | ||||
<b>模型性质</b><br /> | <b>模型性质</b><br /> | ||||
<span class="STYLE2" id="help5">如果为<u>系统模型</u>将禁止删除,此选项不可更改,对于独立模型,系统强制创建字段aid,typeid,senddate,title, mid, | |||||
<span class="STYLE2" id="help5">如果为系统模型将禁止删除,此选项不可更改,对于独立模型,系统强制创建字段aid,typeid,senddate,title, mid, | |||||
channel,独立模型的文档内容必须点击栏目进入列表才能管理。</span> </td> | channel,独立模型的文档内容必须点击栏目进入列表才能管理。</span> </td> | ||||
<td bgcolor="#FFFFFF"> | <td bgcolor="#FFFFFF"> | ||||
<label><input type="radio" name="issystem" id='is1' class="np" value="0" onClick="PublicDefault()" checked='1' /> | <label><input type="radio" name="issystem" id='is1' class="np" value="0" onClick="PublicDefault()" checked='1' /> | ||||
@@ -76,7 +76,7 @@ | |||||
<tr> | <tr> | ||||
<td width="84" height="24" align="center" background="images/itemnote1.gif"> 基本设置 </td> | <td width="84" height="24" align="center" background="images/itemnote1.gif"> 基本设置 </td> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem2()"><u>字段管理</u></a> </td> | |||||
onClick="ShowItem2()">字段管理</a> </td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -89,7 +89,7 @@ | |||||
<table border="0" cellpadding="0" cellspacing="0"> | <table border="0" cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="84" height="24" align="center" background="images/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" | <td width="84" height="24" align="center" background="images/itemnote2.gif" bgcolor="#F2F7DF"><a href="javascript:;" | ||||
onClick="ShowItem1()"><u>基本设置</u></a> </td> | |||||
onClick="ShowItem1()">基本设置</a> </td> | |||||
<td width="84" align="center" background="images/itemnote1.gif">字段管理 </td> | <td width="84" align="center" background="images/itemnote1.gif">字段管理 </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -112,7 +112,7 @@ | |||||
?> | ?> | ||||
<tr> | <tr> | ||||
<td bgcolor="#FFFFFF"><b>模型性质</b><br /> | <td bgcolor="#FFFFFF"><b>模型性质</b><br /> | ||||
<span class="STYLE2" id="help5">如果为<u>系统模型</u>将禁止删除,此选项不可更改,对于独立模型,系统强制创建字段aid、栏目ID、发布时间、文档标题。</span></td> | |||||
<span class="STYLE2" id="help5">如果为系统模型将禁止删除,此选项不可更改,对于独立模型,系统强制创建字段aid、栏目ID、发布时间、文档标题。</span></td> | |||||
<td bgcolor="#FFFFFF"> | <td bgcolor="#FFFFFF"> | ||||
<?php | <?php | ||||
if($row['issystem']==0) echo "自动模型"; | if($row['issystem']==0) echo "自动模型"; | ||||
@@ -134,7 +134,7 @@ class="table maintable table-bordered mt-3"> | |||||
<tr> | <tr> | ||||
<td width="28%" bgcolor="#FFFFFF"><strong>字段名称:</strong><br> | <td width="28%" bgcolor="#FFFFFF"><strong>字段名称:</strong><br> | ||||
<span class="STYLE2"> | <span class="STYLE2"> | ||||
只能用英文字母或数字,数据表的真实字段名,如果数据类型是联动类型,该项应该填写联动类型的<a href='stepselect_main.php' target='_blank'><u>[组名称]</u></a>。 | |||||
只能用英文字母或数字,数据表的真实字段名,如果数据类型是联动类型,该项应该填写联动类型的<a href='stepselect_main.php' target='_blank'>[组名称]</a>。 | |||||
</span> | </span> | ||||
</td> | </td> | ||||
<td width="72%" bgcolor="#FFFFFF"> | <td width="72%" bgcolor="#FFFFFF"> | ||||
@@ -42,7 +42,7 @@ | |||||
onMouseOut="javascript:this.bgColor='#FFFFFF';"> | onMouseOut="javascript:this.bgColor='#FFFFFF';"> | ||||
<td>{dede:field.id /}</td> | <td>{dede:field.id /}</td> | ||||
<td> | <td> | ||||
<a href='mychannel_edit.php?id={dede:field.id/}&dopost=edit'><u>{dede:field.typename /}</u></a> | |||||
<a href='mychannel_edit.php?id={dede:field.id/}&dopost=edit'>{dede:field.typename /}</a> | |||||
</td> | </td> | ||||
<td>{dede:field.nid /}</td> | <td>{dede:field.nid /}</td> | ||||
<td>{dede:field.addtable function="str_replace('#@__',$cfg_dbprefix,@me)" /}</td> | <td>{dede:field.addtable function="str_replace('#@__',$cfg_dbprefix,@me)" /}</td> | ||||
@@ -44,7 +44,7 @@ | |||||
<td height="28" colspan="2" bgcolor="#EDF9D5" background='images/tbg.gif' style="padding-left:10px;"> | <td height="28" colspan="2" bgcolor="#EDF9D5" background='images/tbg.gif' style="padding-left:10px;"> | ||||
<div style="width:100px; float:right"><a | <div style="width:100px; float:right"><a | ||||
href="mychannel_edit.php?dopost=del&mid=<?php echo $mid;?>">删除自定义搜索</a></div> | href="mychannel_edit.php?dopost=del&mid=<?php echo $mid;?>">删除自定义搜索</a></div> | ||||
<b><a href="mychannel_main.php"><u>内容模型管理</u></a> > 自定义搜索管理:</b> | |||||
<b><a href="mychannel_main.php">内容模型管理</a> > 自定义搜索管理:</b> | |||||
(自定义搜索在方便搜索的同时在一定程度上降低了效率,请根据需求定义搜索) | (自定义搜索在方便搜索的同时在一定程度上降低了效率,请根据需求定义搜索) | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -25,7 +25,7 @@ function checkSubmit() | |||||
<table width="99%" border="0" cellspacing="0" cellpadding="0"> | <table width="99%" border="0" cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td><strong> 站内新闻管理->增加消息</strong></td> | <td><strong> 站内新闻管理->增加消息</strong></td> | ||||
<td align="right"> <a href="mynews_main.php"><img src="images/file_edit.gif" width="15" height="16" border="0"><u>返回管理页</u></a> | |||||
<td align="right"> <a href="mynews_main.php"><img src="images/file_edit.gif" width="15" height="16" border="0">返回管理页</a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table></td> | </table></td> | ||||
@@ -26,7 +26,7 @@ function checkSubmit() | |||||
<table width="99%" border="0" cellspacing="0" cellpadding="0"> | <table width="99%" border="0" cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td><strong> 站内新闻管理->增加消息</strong></td> | <td><strong> 站内新闻管理->增加消息</strong></td> | ||||
<td align="right"> <a href="mynews_main.php"><img src="images/file_edit.gif" width="15" height="16" border="0"><u>返回管理页</u></a> | |||||
<td align="right"> <a href="mynews_main.php"><img src="images/file_edit.gif" width="15" height="16" border="0">返回管理页</a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table></td> | </table></td> | ||||
@@ -14,7 +14,7 @@ | |||||
<tr> | <tr> | ||||
<td><strong> 站内新闻管理</strong></td> | <td><strong> 站内新闻管理</strong></td> | ||||
<td align="right"> | <td align="right"> | ||||
[<a href="mynews_add.php"><u>新增一则站内新闻</u></a>] | |||||
[<a href="mynews_add.php">新增一则站内新闻</a>] | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -60,7 +60,7 @@ | |||||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#cfcfcf" class="table maintable table-bordered mt-3"> | <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#cfcfcf" class="table maintable table-bordered mt-3"> | ||||
<tr> | <tr> | ||||
<td height="19" background="images/tbg.gif" style="padding-left:10px;"><b><a | <td height="19" background="images/tbg.gif" style="padding-left:10px;"><b><a | ||||
href="mytag_main.php"><u>自定义标记管理</u></a></b>>>增加新标记</td> | |||||
href="mytag_main.php">自定义标记管理</a></b>>>增加新标记</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="200" bgcolor="#FFFFFF" valign="top"> | <td height="200" bgcolor="#FFFFFF" valign="top"> | ||||
@@ -8,7 +8,7 @@ | |||||
<body background='images/allbg.gif' leftmargin='8' topmargin='8'> | <body background='images/allbg.gif' leftmargin='8' topmargin='8'> | ||||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#cfcfcf"> | <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#cfcfcf"> | ||||
<tr> | <tr> | ||||
<td height="19" background="images/tbg.gif" style="padding-left:10px;"><b><a href="mytag_main.php"><u>自定义标记管理</u></a></b>>>更改标记</td> | |||||
<td height="19" background="images/tbg.gif" style="padding-left:10px;"><b><a href="mytag_main.php">自定义标记管理</a></b>>>更改标记</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="200" bgcolor="#FFFFFF" valign="top"> | <td height="200" bgcolor="#FFFFFF" valign="top"> | ||||
@@ -50,7 +50,7 @@ | |||||
<input type="hidden" name="dopost" value="gettag" /> | <input type="hidden" name="dopost" value="gettag" /> | ||||
<tr> | <tr> | ||||
<td height="28" align="left" background="images/tbg.gif" style="padding-left:10px;"><b><a | <td height="28" align="left" background="images/tbg.gif" style="padding-left:10px;"><b><a | ||||
href="mytag_main.php" align="left"><u>自定义标记管理</u></a></b> >> 智能标记生成向导:</td> | |||||
href="mytag_main.php" align="left">自定义标记管理</a></b> >> 智能标记生成向导:</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="265" valign="top" bgcolor="#FFFFFF"> | <td height="265" valign="top" bgcolor="#FFFFFF"> | ||||
@@ -18,7 +18,7 @@ body { | |||||
<input type='hidden' name='dopost' value='saveedit'> | <input type='hidden' name='dopost' value='saveedit'> | ||||
<input type='hidden' name='aid' value='<?php echo $aid?>'> | <input type='hidden' name='aid' value='<?php echo $aid?>'> | ||||
<tr> | <tr> | ||||
<td height="20" colspan="2" background="images/tbg.gif" style="padding-left:10px;"><b><a href="plus_main.php"><u>插件管理</u></a> | |||||
<td height="20" colspan="2" background="images/tbg.gif" style="padding-left:10px;"><b><a href="plus_main.php">插件管理</a> | |||||
> 修改插件:</b> </td> | > 修改插件:</b> </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -19,7 +19,7 @@ | |||||
<tr> | <tr> | ||||
<td width='30%'><b>插件管理</b></td> | <td width='30%'><b>插件管理</b></td> | ||||
<td align='right'> | <td align='right'> | ||||
[<a href="module_main.php?moduletype=plus"><u>安装新插件</u></a>] | |||||
[<a href="module_main.php?moduletype=plus">安装新插件</a>] | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -52,7 +52,7 @@ | |||||
<table width="100%" border="0" cellspacing="0" cellpadding="6"> | <table width="100%" border="0" cellspacing="0" cellpadding="6"> | ||||
<tr> | <tr> | ||||
<td><strong>内容发布说明:</strong><br /> | <td><strong>内容发布说明:</strong><br /> | ||||
1、必须先建立与频道内容模型关连的栏目才能发布内容(<a href="catalog_main.php"><u>栏目管理</u></a>);<br /> | |||||
1、必须先建立与频道内容模型关连的栏目才能发布内容(<a href="catalog_main.php">栏目管理</a>);<br /> | |||||
2、如果您设置了某频道为默认发布表单,以后将不再显示此向导,而是直接显示您所选的频道的发布表单,如果想要发布其它频道的内容,可以从左边的目录树中选择,如果以后您想要修改默认发布表单,请点击目录树上方的“发布向导”图标;</td> | 2、如果您设置了某频道为默认发布表单,以后将不再显示此向导,而是直接显示您所选的频道的发布表单,如果想要发布其它频道的内容,可以从左边的目录树中选择,如果以后您想要修改默认发布表单,请点击目录树上方的“发布向导”图标;</td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -92,7 +92,7 @@ | |||||
<td>{dede:field.id/}</td> | <td>{dede:field.id/}</td> | ||||
<td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np"></td> | <td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np"></td> | ||||
<td align='left'> | <td align='left'> | ||||
<a href='archives_do.php?aid={dede:field.id/}&dopost=editArchives'><u>{dede:field.title/}</u></a> | |||||
<a href='archives_do.php?aid={dede:field.id/}&dopost=editArchives'>{dede:field.title/}</a> | |||||
</td> | </td> | ||||
<td>{dede:field.senddate function='GetDateMk(@me)'/}</td> | <td>{dede:field.senddate function='GetDateMk(@me)'/}</td> | ||||
<td>{dede:field.typename/}</td> | <td>{dede:field.typename/}</td> | ||||
@@ -20,7 +20,7 @@ var orderby = '<?php echo $orderby?>'; | |||||
function ReloadPage(ordertype) { | function ReloadPage(ordertype) { | ||||
orderby = ordertype; | orderby = ordertype; | ||||
var listArea = $Obj('rslist'); | var listArea = $Obj('rslist'); | ||||
var errMsg = "网络通信出错!<br>[<a href=\"javascript:ReloadPage('" + ordertype + "')\"><u>点击此重新加载列表</u></a>]"; | |||||
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); | myajax.SendGet("search_keywords_main.php?dopost=getlist&pageno=" + pageno + "&orderby=" + ordertype); | ||||
} | } | ||||
@@ -36,7 +36,7 @@ function UpdateNote(nid) { | |||||
var kw = $Obj('keyword' + nid).value; | var kw = $Obj('keyword' + nid).value; | ||||
var kws = $Obj('spwords' + nid).value; | var kws = $Obj('spwords' + nid).value; | ||||
var ct = $Obj('count' + nid).value; | var ct = $Obj('count' + nid).value; | ||||
var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('" + pageno + "')\"><u>点击此重新加载列表</u></a>]"; | |||||
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 | <?php | ||||
if (strtolower(substr($cfg_soft_lang, 0, 3)) == 'utf') { | if (strtolower(substr($cfg_soft_lang, 0, 3)) == 'utf') { | ||||
@@ -64,7 +64,7 @@ function DelNote(nid) { | |||||
totalrow = totalrow - 1; | totalrow = totalrow - 1; | ||||
var pagenum = Math.ceil(totalrow / pagesize); | var pagenum = Math.ceil(totalrow / pagesize); | ||||
if (pagenum <= pageno) pageno = pagenum; | if (pagenum <= pageno) pageno = pagenum; | ||||
var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('" + pageno + "')\"><u>点击此重新加载列表</u></a>]"; | |||||
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); | myajax.SendGet("search_keywords_main.php?dopost=del&aid=" + nid + "&pageno=" + pageno + "&orderby=" + orderby); | ||||
ReloadPageNum(pageno); | ReloadPageNum(pageno); | ||||
@@ -66,7 +66,7 @@ | |||||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | ||||
<tr> | <tr> | ||||
<td width="64%" height="30"><IMG height=14 src="images/book1.gif" width=20> <a | <td width="64%" height="30"><IMG height=14 src="images/book1.gif" width=20> <a | ||||
href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"><u>软件列表</u></a>>>发布新软件 | |||||
href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">软件列表</a>>>发布新软件 | |||||
</td> | </td> | ||||
<td align="right"> <a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a> | <td align="right"> <a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a> | ||||
<a href="soft_config.php" class="btn btn-success btn-sm">下载频道参数设定</a> </td> | <a href="soft_config.php" class="btn btn-success btn-sm">下载频道参数设定</a> </td> | ||||
@@ -81,7 +81,7 @@ | |||||
<tr> | <tr> | ||||
<td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规信息 </td> | <td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规信息 </td> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem2()"><u>高级参数</u></a></td> | |||||
onClick="ShowItem2()">高级参数</a></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -94,7 +94,7 @@ | |||||
<table height="24" border="0" cellpadding="0" cellspacing="0"> | <table height="24" border="0" cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem1()"><u>常规信息</u></a> </td> | |||||
onClick="ShowItem1()">常规信息</a> </td> | |||||
<td width="84" align="center" background="images/itemnote1.gif">高级参数</td> | <td width="84" align="center" background="images/itemnote1.gif">高级参数</td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -419,7 +419,7 @@ | |||||
</tr> | </tr> | ||||
<tr class="bline"> | <tr class="bline"> | ||||
<td style="padding-left:10px;"> | <td style="padding-left:10px;"> | ||||
(服务器地址 + 软件地址 = 软件真实地址 [<a href="soft_config.php" target="_blank"><u>软件频道设置</u></a>])<br /> | |||||
(服务器地址 + 软件地址 = 软件真实地址 [<a href="soft_config.php" target="_blank">软件频道设置</a>])<br /> | |||||
<?php | <?php | ||||
$sites = explode("\n", $softconfig['sites']); | $sites = explode("\n", $softconfig['sites']); | ||||
$startNum = 2; | $startNum = 2; | ||||
@@ -57,7 +57,7 @@ | |||||
<tr> | <tr> | ||||
<td width="85%" height="30"><IMG height=14 src="images/book1.gif" width=20> <a | <td width="85%" height="30"><IMG height=14 src="images/book1.gif" width=20> <a | ||||
href="catalog_do.php?cid=<?php echo $arcRow["typeid"]?>&dopost=listArchives"></a><a | href="catalog_do.php?cid=<?php echo $arcRow["typeid"]?>&dopost=listArchives"></a><a | ||||
href="catalog_do.php?cid=<?php echo $arcRow["typeid"]?>&dopost=listArchives"><u>软件列表</u></a>>>更改软件 | |||||
href="catalog_do.php?cid=<?php echo $arcRow["typeid"]?>&dopost=listArchives">软件列表</a>>>更改软件 | |||||
</td> | </td> | ||||
<td align="right"> <a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a> </td> | <td align="right"> <a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a> </td> | ||||
</tr> | </tr> | ||||
@@ -69,7 +69,7 @@ | |||||
<tr> | <tr> | ||||
<td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规参数 </td> | <td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规参数 </td> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem2()"><u>高级参数</u></a> </td> | |||||
onClick="ShowItem2()">高级参数</a> </td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -81,7 +81,7 @@ | |||||
<table width="168" height="24" border="0" cellpadding="0" cellspacing="0"> | <table width="168" height="24" border="0" cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem1()"><u>常规参数</u></a> </td> | |||||
onClick="ShowItem1()">常规参数</a> </td> | |||||
<td width="84" align="center" background="images/itemnote1.gif">高级参数 </td> | <td width="84" align="center" background="images/itemnote1.gif">高级参数 </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -385,7 +385,7 @@ if($cfg_need_typeid2=='Y') { | |||||
<tr> | <tr> | ||||
<td height="26" colspan="4" style="border-top:1px dashed #8EAF61"> <span | <td height="26" colspan="4" style="border-top:1px dashed #8EAF61"> <span | ||||
class="STYLE1 py-3">(如果设定了下载限制,<a href="soft_config.php" | class="STYLE1 py-3">(如果设定了下载限制,<a href="soft_config.php" | ||||
target="_blank"><u>软件频道设置</u></a>中“附件下载方式:”必须选择“链接到跳转页面”) </span></td> | |||||
target="_blank">软件频道设置</a>中“附件下载方式:”必须选择“链接到跳转页面”) </span></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -88,7 +88,7 @@ | |||||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | ||||
<tr> | <tr> | ||||
<td width="85%" height="30"><IMG height=14 src="images/book1.gif" width=20> <a | <td width="85%" height="30"><IMG height=14 src="images/book1.gif" width=20> <a | ||||
href="content_s_list.php"><u>专题列表</u></a><a | |||||
href="content_s_list.php">专题列表</a><a | |||||
href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"></a> | href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"></a> | ||||
>> 发布专题</td> | >> 发布专题</td> | ||||
<td width="10%" align="right"> <a href="makehtml_spec.php" class="btn btn-success btn-sm">更新HTML</a> </td> | <td width="10%" align="right"> <a href="makehtml_spec.php" class="btn btn-success btn-sm">更新HTML</a> </td> | ||||
@@ -101,7 +101,7 @@ | |||||
<tr> | <tr> | ||||
<td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规参数 </td> | <td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规参数 </td> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem2()"><u>专题文档</u></a> </td> | |||||
onClick="ShowItem2()">专题文档</a> </td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -113,7 +113,7 @@ | |||||
<table width="168" height="24" border="0" cellpadding="0" cellspacing="0"> | <table width="168" height="24" border="0" cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem1()"><u>常规参数</u></a> </td> | |||||
onClick="ShowItem1()">常规参数</a> </td> | |||||
<td width="84" align="center" background="images/itemnote1.gif">专题文档</td> | <td width="84" align="center" background="images/itemnote1.gif">专题文档</td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -95,7 +95,7 @@ | |||||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="mt-3"> | ||||
<tr> | <tr> | ||||
<td width="85%" height="30"><IMG height=14 src="images/book1.gif" width=20> <a | <td width="85%" height="30"><IMG height=14 src="images/book1.gif" width=20> <a | ||||
href="content_s_list.php"><u>专题列表</u></a><a | |||||
href="content_s_list.php">专题列表</a><a | |||||
href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"></a> | href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"></a> | ||||
>> 修改专题</td> | >> 修改专题</td> | ||||
<td width="10%" align="right"><a href="makehtml_spec.php" class="btn btn-success btn-sm">更新HTML</a> </td> | <td width="10%" align="right"><a href="makehtml_spec.php" class="btn btn-success btn-sm">更新HTML</a> </td> | ||||
@@ -108,7 +108,7 @@ | |||||
<tr> | <tr> | ||||
<td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规参数 </td> | <td width="84" height="24" align="center" background="images/itemnote1.gif"> 常规参数 </td> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem2()"><u>专题文档</u></a> </td> | |||||
onClick="ShowItem2()">专题文档</a> </td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -120,7 +120,7 @@ | |||||
<table width="168" height="24" border="0" cellpadding="0" cellspacing="0"> | <table width="168" height="24" border="0" cellpadding="0" cellspacing="0"> | ||||
<tr> | <tr> | ||||
<td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | <td width="84" align="center" background="images/itemnote2.gif"><a href="javascript:;" | ||||
onClick="ShowItem1()"><u>常规参数</u></a> </td> | |||||
onClick="ShowItem1()">常规参数</a> </td> | |||||
<td width="84" align="center" background="images/itemnote1.gif">专题文档</td> | <td width="84" align="center" background="images/itemnote1.gif">专题文档</td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -273,9 +273,9 @@ if(!empty($egroup)) | |||||
<tr> | <tr> | ||||
<td height="28" background="images/tbg.gif" colspan="8"> | <td height="28" background="images/tbg.gif" colspan="8"> | ||||
<div style="float:left"> | <div style="float:left"> | ||||
·<a href='stepselect_main.php'><b><u>枚举组列表</u></b></a> | |||||
·<a href='stepselect_main.php'><b>枚举组列表</b></a> | |||||
> <a | > <a | ||||
href='stepselect_main.php?egroup=<?php echo $egroup; ?>'><b><u><?php echo $selgroup; ?></u></b></a> | |||||
href='stepselect_main.php?egroup=<?php echo $egroup; ?>'><b><?php echo $selgroup; ?></b></a> | |||||
> <b>子分类列表</b> | > <b>子分类列表</b> | ||||
</div> | </div> | ||||
<div style="float:right"></div> | <div style="float:right"></div> | ||||
@@ -339,7 +339,7 @@ if(!empty($egroup)) | |||||
} | } | ||||
else | else | ||||
{ | { | ||||
echo "<a href='stepselect_main.php?egroup={$fields['egroup']}'><u>".$egroups[$fields['egroup']]."</u></a>"; | |||||
echo "<a href='stepselect_main.php?egroup={$fields['egroup']}'>".$egroups[$fields['egroup']]."</a>"; | |||||
} | } | ||||
?> | ?> | ||||
</td> | </td> | ||||
@@ -370,7 +370,7 @@ else | |||||
<tr> | <tr> | ||||
<td height="28" background="images/tbg.gif" colspan="8"> | <td height="28" background="images/tbg.gif" colspan="8"> | ||||
<div style="float:left"> | <div style="float:left"> | ||||
·<a href='stepselect_main.php'><b><u>枚举组列表</u></b></a> | |||||
·<a href='stepselect_main.php'><b>枚举组列表</b></a> | |||||
</div> | </div> | ||||
<div style="float:right"></div> | <div style="float:right"></div> | ||||
</td> | </td> | ||||
@@ -389,7 +389,7 @@ else | |||||
onMouseOut="javascript:this.bgColor='#FFFFFF';"> | onMouseOut="javascript:this.bgColor='#FFFFFF';"> | ||||
<td><input type='checkbox' name='ids[]' value='{dede:field.id /}' class='np' /></td> | <td><input type='checkbox' name='ids[]' value='{dede:field.id /}' class='np' /></td> | ||||
<td> {dede:field.id /} </td> | <td> {dede:field.id /} </td> | ||||
<td> <a href='stepselect_main.php?egroup={dede:field.egroup /}'><u>{dede:field.itemname /}</u></a> </td> | |||||
<td> <a href='stepselect_main.php?egroup={dede:field.egroup /}'>{dede:field.itemname /}</a> </td> | |||||
<td> | <td> | ||||
<?php | <?php | ||||
switch ($fields['issign']) { | switch ($fields['issign']) { | ||||
@@ -32,7 +32,7 @@ | |||||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" class="table maintable table-bordered mt-3"> | <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" class="table maintable table-bordered mt-3"> | ||||
<tr> | <tr> | ||||
<td height="28" background="images/tbg.gif" bgcolor="#E7E7E7"> | <td height="28" background="images/tbg.gif" bgcolor="#E7E7E7"> | ||||
<a href="sys_admin_user.php" style="padding-left:10px;"><strong><u>管理员帐号</u></strong></a> > <strong>编辑绩效统计</strong> | |||||
<a href="sys_admin_user.php" style="padding-left:10px;"><strong>管理员帐号</strong></a> > <strong>编辑绩效统计</strong> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -20,7 +20,7 @@ | |||||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" | <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" | ||||
class="table maintable table-bordered mt-3"> | class="table maintable table-bordered mt-3"> | ||||
<tr> | <tr> | ||||
<td height="28" background="images/tbg.gif"> <b><a href="sys_payment.php"><u>支付接口列表</u></a></b> >> | |||||
<td height="28" background="images/tbg.gif"> <b><a href="sys_payment.php">支付接口列表</a></b> >> | |||||
安装支付接口 </td> | 安装支付接口 </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -52,7 +52,7 @@ | |||||
<tr> | <tr> | ||||
<td colspan="2" valign="top" bgcolor="#FFFFFF"> | <td colspan="2" valign="top" bgcolor="#FFFFFF"> | ||||
全局标记指的是应用在网站主页、单独页面、频道封面使用的单独的模板标记,在列表或文章模板中,一般只允许调用channel、arclist标记(hotart、coolart、imglist等都是这个标记延伸出来的标记),但是环境变量限定为文章或列表所在的栏目,如果您要测试的标记是在列表或文章中使用,请指定环境变量(栏目ID)。<br /> | 全局标记指的是应用在网站主页、单独页面、频道封面使用的单独的模板标记,在列表或文章模板中,一般只允许调用channel、arclist标记(hotart、coolart、imglist等都是这个标记延伸出来的标记),但是环境变量限定为文章或列表所在的栏目,如果您要测试的标记是在列表或文章中使用,请指定环境变量(栏目ID)。<br /> | ||||
各标记的具体含义和用途,请在<a href="https://www.dedebiz.com/help" target="_blank"><u>模板标记参考</u></a>一章查阅。 | |||||
各标记的具体含义和用途,请在<a href="https://www.dedebiz.com/help" target="_blank">模板标记参考</a>一章查阅。 | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -148,13 +148,13 @@ | |||||
<td width="5%">删</td> | <td width="5%">删</td> | ||||
<td width="20%">标签</td> | <td width="20%">标签</td> | ||||
<td width="10%"><a | <td width="10%"><a | ||||
href="tags_main.php?tag=<?php echo $tag;?>&orderby=count&orderway=<?php echo $neworderway;?>"><u>点击</u></a> | |||||
href="tags_main.php?tag=<?php echo $tag;?>&orderby=count&orderway=<?php echo $neworderway;?>">点击</a> | |||||
</td> | </td> | ||||
<td width="10%"><a | <td width="10%"><a | ||||
href="tags_main.php?tag=<?php echo $tag;?>&orderby=total&orderway=<?php echo $neworderway;?>"><u>文档数</u></a> | |||||
href="tags_main.php?tag=<?php echo $tag;?>&orderby=total&orderway=<?php echo $neworderway;?>">文档数</a> | |||||
</td> | </td> | ||||
<td width="15%"><a | <td width="15%"><a | ||||
href="tags_main.php?tag=<?php echo $tag;?>&orderby=addtime&orderway=<?php echo $neworderway;?>"><u>添加时间</u></a> | |||||
href="tags_main.php?tag=<?php echo $tag;?>&orderby=addtime&orderway=<?php echo $neworderway;?>">添加时间</a> | |||||
</td> | </td> | ||||
<td width="15%">更新时间</td> | <td width="15%">更新时间</td> | ||||
<td width="20%">操作</td> | <td width="20%">操作</td> | ||||
@@ -31,7 +31,7 @@ | |||||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#cfcfcf" class="table maintable table-bordered mt-3"> | <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#cfcfcf" class="table maintable table-bordered mt-3"> | ||||
<tr> | <tr> | ||||
<td height="19" background="images/tbg.gif" style="padding-left:10px;"> | <td height="19" background="images/tbg.gif" style="padding-left:10px;"> | ||||
<b>◆<a href="templets_one.php"><u>单独页面管理</u></a></b>>>增加新页面 | |||||
<b>◆<a href="templets_one.php">单独页面管理</a></b>>>增加新页面 | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -31,7 +31,7 @@ function checkSubmit() | |||||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#cfcfcf" class="table maintable table-bordered mt-3"> | <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#cfcfcf" class="table maintable table-bordered mt-3"> | ||||
<tr> | <tr> | ||||
<td height="19" background="images/tbg.gif" style="padding-left:10px;"> | <td height="19" background="images/tbg.gif" style="padding-left:10px;"> | ||||
<b>◆<a href="templets_one.php"><u>单独页面管理</u></a></b>>>更新页面 | |||||
<b>◆<a href="templets_one.php">单独页面管理</a></b>>>更新页面 | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -13,7 +13,7 @@ | |||||
<body background="images/allbg.gif" leftmargin="8" topmargin="8"> | <body background="images/allbg.gif" leftmargin="8" topmargin="8"> | ||||
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3" bgcolor="#D6D6D6"> | <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3" bgcolor="#D6D6D6"> | ||||
<tr> | <tr> | ||||
<td height="19" background="images/tbg.gif"><strong><a href="vote_main.php"><u>投票管理</u></a>>>获取代码</strong> | |||||
<td height="19" background="images/tbg.gif"><strong><a href="vote_main.php">投票管理</a>>>获取代码</strong> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -33,7 +33,7 @@ | |||||
<td>{dede:field.aid /}</td> | <td>{dede:field.aid /}</td> | ||||
<td> | <td> | ||||
<a href='{dede:global name="cfg_phpurl" /}/vote.php?aid={dede:field.aid/}&dopost=view' target='_blank'> | <a href='{dede:global name="cfg_phpurl" /}/vote.php?aid={dede:field.aid/}&dopost=view' target='_blank'> | ||||
<u>{dede:field.votename /}</u> | |||||
{dede:field.votename /} | |||||
</a> | </a> | ||||
</td> | </td> | ||||
<td>{dede:field.starttime function="GetDateMk(@me)" /}</td> | <td>{dede:field.starttime function="GetDateMk(@me)" /}</td> | ||||
@@ -301,7 +301,7 @@ class SearchView | |||||
} else { | } else { | ||||
$style = ""; | $style = ""; | ||||
} | } | ||||
$likeword .= " <a href='search.php?keyword=".urlencode($row['keyword'])."&searchtype=titlekeyword'".$style."><u>".$row['keyword']."</u></a> "; | |||||
$likeword .= " <a href='search.php?keyword=".urlencode($row['keyword'])."&searchtype=titlekeyword'".$style.">".$row['keyword']."</a> "; | |||||
} | } | ||||
return $likeword; | return $likeword; | ||||
} | } | ||||
@@ -264,7 +264,7 @@ if (!function_exists('ubb')) { | |||||
} | } | ||||
$Text = preg_replace("/\[email\](.+?)\[\/email\]/is", "<a href='mailto:\\1'>\\1</a>", $Text); | $Text = preg_replace("/\[email\](.+?)\[\/email\]/is", "<a href='mailto:\\1'>\\1</a>", $Text); | ||||
$Text = preg_replace("/\[i\](.+?)\[\/i\]/is", "<i>\\1</i>", $Text); | $Text = preg_replace("/\[i\](.+?)\[\/i\]/is", "<i>\\1</i>", $Text); | ||||
$Text = preg_replace("/\[u\](.+?)\[\/u\]/is", "<u>\\1</u>", $Text); | |||||
$Text = preg_replace("/\[u\](.+?)\[\/u\]/is", "\\1", $Text); | |||||
$Text = preg_replace("/\[b\](.+?)\[\/b\]/is", "<b>\\1</b>", $Text); | $Text = preg_replace("/\[b\](.+?)\[\/b\]/is", "<b>\\1</b>", $Text); | ||||
$Text = preg_replace("/\[quote\](.+?)\[\/quote\]/is", "<blockquote>引用:<div style='border:1px solid silver;background:#EFFFDF;color:#393939;padding:5px' >\\1</div></blockquote>", $Text); | $Text = preg_replace("/\[quote\](.+?)\[\/quote\]/is", "<blockquote>引用:<div style='border:1px solid silver;background:#EFFFDF;color:#393939;padding:5px' >\\1</div></blockquote>", $Text); | ||||
$Text = preg_replace("/\[sig\](.+?)\[\/sig\]/is", "<div style='text-align: left; color: darkgreen; margin-left: 5%'><br><br>--------------------------<br>\\1<br>--------------------------</div>", $Text); | $Text = preg_replace("/\[sig\](.+?)\[\/sig\]/is", "<div style='text-align: left; color: darkgreen; margin-left: 5%'><br><br>--------------------------<br>\\1<br>--------------------------</div>", $Text); | ||||
@@ -176,7 +176,7 @@ function getSoft_new() | |||||
$cfg_ml = new MemberLogin(); | $cfg_ml = new MemberLogin(); | ||||
$arclink = $arcurl; | $arclink = $arcurl; | ||||
$arctitle = $title; | $arctitle = $title; | ||||
$arcLinktitle = "<a href=\"{$arcurl}\"><u>".$arctitle."</u></a>"; | |||||
$arcLinktitle = "<a href=\"{$arcurl}\">".$arctitle."</a>"; | |||||
$pubdate = GetDateTimeMk($pubdate); | $pubdate = GetDateTimeMk($pubdate); | ||||
//会员级别不足 | //会员级别不足 | ||||
@@ -51,7 +51,7 @@ if ($needMoney > 0 || $needRank > 1) { | |||||
$arc->Fields["title"],$arc->Fields["ismake"],$arc->Fields["arcrank"]); | $arc->Fields["title"],$arc->Fields["ismake"],$arc->Fields["arcrank"]); | ||||
*/ | */ | ||||
$arclink = $cfg_phpurl.'/view.php?aid='.$arc->ArcID; | $arclink = $cfg_phpurl.'/view.php?aid='.$arc->ArcID; | ||||
$arcLinktitle = "<a href=\"{$arclink}\"><u>".$arctitle."</u></a>"; | |||||
$arcLinktitle = "<a href=\"{$arclink}\">".$arctitle."</a>"; | |||||
$description = $arc->Fields["description"]; | $description = $arc->Fields["description"]; | ||||
$pubdate = GetDateTimeMk($arc->Fields["pubdate"]); | $pubdate = GetDateTimeMk($arc->Fields["pubdate"]); | ||||
@@ -235,8 +235,8 @@ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license | |||||
var html = CKEDITOR.instances.editor1.getData() ; | var html = CKEDITOR.instances.editor1.getData() ; | ||||
// Quick fix for link color. | // Quick fix for link color. | ||||
html = html.replace( /<a /g, '<font color="#0000FF"><u><a ' ) | |||||
html = html.replace( /<\/a>/g, '</a></u></font>' ) | |||||
html = html.replace( /<a /g, '<font color="#0000FF"><a ' ) | |||||
html = html.replace( /<\/a>/g, '</a></font>' ) | |||||
var flash = document.getElementById( 'ckFlashContainer' ) ; | var flash = document.getElementById( 'ckFlashContainer' ) ; | ||||
flash.setData( html ) ; | flash.setData( html ) ; | ||||
@@ -1,6 +1,6 @@ | |||||
<table width='300'> | <table width='300'> | ||||
<tr> | <tr> | ||||
<td height='30' width='20'><a href='~link~' target='_blank'><img src='~~cfg_phpurl~~/img/addon.gif' border='0' align='center'></a></td> | <td height='30' width='20'><a href='~link~' target='_blank'><img src='~~cfg_phpurl~~/img/addon.gif' border='0' align='center'></a></td> | ||||
<td><a href='~link~' target='_blank'><u>~link~</u></a></td> | |||||
<td><a href='~link~' target='_blank'>~link~</a></td> | |||||
</tr> | </tr> | ||||
</table> | </table> |