@@ -314,15 +314,6 @@ function __save(){ } | |||||
//生成HTML | //生成HTML | ||||
InsertTags($tags, $arcID); | InsertTags($tags, $arcID); | ||||
if ($cfg_remote_site == 'Y' && $isremote == "1") { | |||||
if ($serviterm != "") { | |||||
list($servurl, $servuser, $servpwd) = explode(',', $serviterm); | |||||
$config = array('hostname' => $servurl, 'username' => $servuser, 'password' => $servpwd, 'debug' => 'TRUE'); | |||||
} else { | |||||
$config = array(); | |||||
} | |||||
if (!$ftp->connect($config)) exit('Error:None FTP Connection!'); | |||||
} | |||||
$artUrl = MakeArt($arcID, TRUE, TRUE, $isremote); | $artUrl = MakeArt($arcID, TRUE, TRUE, $isremote); | ||||
if ($artUrl == '') { | if ($artUrl == '') { | ||||
$artUrl = $cfg_phpurl . "/view.php?aid=$arcID"; | $artUrl = $cfg_phpurl . "/view.php?aid=$arcID"; | ||||
@@ -344,13 +335,13 @@ function __save(){ } | |||||
//返回成功信息 | //返回成功信息 | ||||
$msg = " | $msg = " | ||||
请选择你的后续操作: | 请选择你的后续操作: | ||||
<a href='album_add.php?cid=$typeid' class='btn btn-secondary btn-sm'>继续发布图片</a> | |||||
<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布图片</a> | |||||
| | ||||
<a href='archives_do.php?aid=" . $arcID . "&dopost=editArchives' class='btn btn-secondary btn-sm'>更改图集</a> | |||||
<a href='archives_do.php?aid=" . $arcID . "&dopost=editArchives' class='btn btn-success btn-sm'>更改图集</a> | |||||
| | ||||
<a href='$artUrl' target='_blank' class='btn btn-secondary btn-sm'>预览文档</a> | |||||
<a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>预览文档</a> | |||||
| | ||||
<a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-secondary btn-sm'>已发布图片管理</a> | |||||
<a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布图片管理</a> | |||||
| | ||||
$backurl | $backurl | ||||
"; | "; | ||||
@@ -378,15 +378,6 @@ function __save(){ } | |||||
//生成HTML | //生成HTML | ||||
UpIndexKey($id, $arcrank, $typeid, $sortrank, $tags); | UpIndexKey($id, $arcrank, $typeid, $sortrank, $tags); | ||||
if ($cfg_remote_site == 'Y' && $isremote == "1") { | |||||
if ($serviterm != "") { | |||||
list($servurl, $servuser, $servpwd) = explode(',', $serviterm); | |||||
$config = array('hostname' => $servurl, 'username' => $servuser, 'password' => $servpwd, 'debug' => 'TRUE'); | |||||
} else { | |||||
$config = array(); | |||||
} | |||||
if (!$ftp->connect($config)) exit('Error:None FTP Connection!'); | |||||
} | |||||
$arcUrl = MakeArt($id, true, true, $isremote); | $arcUrl = MakeArt($id, true, true, $isremote); | ||||
if ($arcUrl == '') { | if ($arcUrl == '') { | ||||
$arcUrl = $cfg_phpurl . "/view.php?aid=$id"; | $arcUrl = $cfg_phpurl . "/view.php?aid=$id"; | ||||
@@ -408,13 +399,13 @@ function __save(){ } | |||||
//返回成功信息 | //返回成功信息 | ||||
$msg = | $msg = | ||||
" 请选择你的后续操作: | " 请选择你的后续操作: | ||||
<a href='album_add.php?cid=$typeid' class='btn btn-secondary btn-sm'>继续发布图片</a> | |||||
<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布图片</a> | |||||
| | ||||
<a href='archives_do.php?aid=" . $id . "&dopost=editArchives' class='btn btn-secondary btn-sm'>查看更改</a> | |||||
<a href='archives_do.php?aid=" . $id . "&dopost=editArchives' class='btn btn-success btn-sm'>查看更改</a> | |||||
| | ||||
<a href='$arcUrl' target='_blank' class='btn btn-secondary btn-sm'>预览文档</a> | |||||
<a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>预览文档</a> | |||||
| | ||||
<a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-secondary btn-sm'>管理已发布图片</a> | |||||
<a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理已发布图片</a> | |||||
| | ||||
$backurl | $backurl | ||||
"; | "; | ||||
@@ -190,18 +190,6 @@ color,writer,source,litpic,pubdate,senddate,mid,voteid,notpost,description,keywo | |||||
//生成HTML | //生成HTML | ||||
InsertTags($tags, $arcID); | InsertTags($tags, $arcID); | ||||
if ($cfg_remote_site == 'Y' && $isremote == "1") { | |||||
if ($serviterm != "") { | |||||
list($servurl, $servuser, $servpwd) = explode(',', $serviterm); | |||||
$config = array( | |||||
'hostname' => $servurl, 'username' => $servuser, | |||||
'password' => $servpwd, 'debug' => 'TRUE' | |||||
); | |||||
} else { | |||||
$config = array(); | |||||
} | |||||
if (!$ftp->connect($config)) exit('Error:None FTP Connection!'); | |||||
} | |||||
$artUrl = MakeArt($arcID, true, true, $isremote); | $artUrl = MakeArt($arcID, true, true, $isremote); | ||||
if ($artUrl == '') { | if ($artUrl == '') { | ||||
$artUrl = $cfg_phpurl . "/view.php?aid=$arcID"; | $artUrl = $cfg_phpurl . "/view.php?aid=$arcID"; | ||||
@@ -222,13 +210,13 @@ color,writer,source,litpic,pubdate,senddate,mid,voteid,notpost,description,keywo | |||||
//返回成功信息 | //返回成功信息 | ||||
$msg = " 请选择你的后续操作: | $msg = " 请选择你的后续操作: | ||||
<a href='archives_add.php?cid=$typeid' class='btn btn-secondary btn-sm'>继续发布文档</a> | |||||
<a href='archives_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布文档</a> | |||||
| | ||||
<a href='$artUrl' target='_blank' class='btn btn-secondary btn-sm'>查看文档</a> | |||||
<a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a> | |||||
| | ||||
<a href='archives_do.php?aid=" . $arcID . "&dopost=editArchives' class='btn btn-secondary btn-sm'>更改文档</a> | |||||
<a href='archives_do.php?aid=" . $arcID . "&dopost=editArchives' class='btn btn-success btn-sm'>更改文档</a> | |||||
| | ||||
<a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-secondary btn-sm'>已发布文档管理</a> | |||||
<a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布文档管理</a> | |||||
| | ||||
$backurl | $backurl | ||||
"; | "; | ||||
@@ -594,9 +594,9 @@ function quickEdit(){ } | |||||
</tr> | </tr> | ||||
<tr height='32'> | <tr height='32'> | ||||
<td colspan='2' align='center' style='padding-top:12px' class='py-3'> | <td colspan='2' align='center' style='padding-top:12px' class='py-3'> | ||||
<button type="submit" class="btn btn-secondary">保存</button> | |||||
<button type="submit" class="btn btn-success">保存</button> | |||||
| | ||||
<button type="button" onclick='HideObj("<?php echo $divname; ?>");ChangeFullDiv("hide");' class="btn btn-secondary">关闭</button> | |||||
<button type="button" onclick='HideObj("<?php echo $divname; ?>");ChangeFullDiv("hide");' class="btn btn-success">关闭</button> | |||||
</td> | </td> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -202,15 +202,6 @@ function __save(){ } | |||||
//生成HTML | //生成HTML | ||||
UpIndexKey($id, $arcrank, $typeid, $sortrank, $tags); | UpIndexKey($id, $arcrank, $typeid, $sortrank, $tags); | ||||
if ($cfg_remote_site == 'Y' && $isremote == "1") { | |||||
if ($serviterm != "") { | |||||
list($servurl, $servuser, $servpwd) = explode(',', $serviterm); | |||||
$config = array('hostname' => $servurl, 'username' => $servuser, 'password' => $servpwd, 'debug' => 'TRUE'); | |||||
} else { | |||||
$config = array(); | |||||
} | |||||
if (!$ftp->connect($config)) exit('Error:None FTP Connection!'); | |||||
} | |||||
$artUrl = MakeArt($id, TRUE, TRUE, $isremote); | $artUrl = MakeArt($id, TRUE, TRUE, $isremote); | ||||
if ($artUrl == '') { | if ($artUrl == '') { | ||||
$artUrl = $cfg_phpurl . "/view.php?aid=$id"; | $artUrl = $cfg_phpurl . "/view.php?aid=$id"; | ||||
@@ -232,13 +223,13 @@ function __save(){ } | |||||
//返回成功信息 | //返回成功信息 | ||||
$msg = " | $msg = " | ||||
请选择你的后续操作: | 请选择你的后续操作: | ||||
<a href='archives_add.php?cid=$typeid' class='btn btn-secondary btn-sm'>发布新文档</a> | |||||
<a href='archives_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新文档</a> | |||||
| | ||||
<a href='archives_do.php?aid=" . $id . "&dopost=editArchives' class='btn btn-secondary btn-sm'>查看更改</a> | |||||
<a href='archives_do.php?aid=" . $id . "&dopost=editArchives' class='btn btn-success btn-sm'>查看更改</a> | |||||
| | ||||
<a href='$artUrl' target='_blank' class='btn btn-secondary btn-sm'>查看文档</a> | |||||
<a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a> | |||||
| | ||||
<a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-secondary btn-sm'>管理文档</a> | |||||
<a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理文档</a> | |||||
| | ||||
$backurl | $backurl | ||||
"; | "; | ||||
@@ -150,15 +150,6 @@ function __save(){ } | |||||
} | } | ||||
//生成HTML | //生成HTML | ||||
if ($cfg_remote_site == 'Y' && $isremote == "1") { | |||||
if ($serviterm != "") { | |||||
list($servurl, $servuser, $servpwd) = explode(',', $serviterm); | |||||
$config = array('hostname' => $servurl, 'username' => $servuser, 'password' => $servpwd, 'debug' => 'TRUE'); | |||||
} else { | |||||
$config = array(); | |||||
} | |||||
if (!$ftp->connect($config)) exit('Error:None FTP Connection!'); | |||||
} | |||||
$artUrl = MakeArt($arcID, TRUE, TRUE, $isremote); | $artUrl = MakeArt($arcID, TRUE, TRUE, $isremote); | ||||
if ($artUrl == '') { | if ($artUrl == '') { | ||||
$artUrl = $cfg_phpurl . "/view.php?aid=$arcID"; | $artUrl = $cfg_phpurl . "/view.php?aid=$arcID"; | ||||
@@ -167,15 +158,15 @@ function __save(){ } | |||||
//返回成功信息 | //返回成功信息 | ||||
$msg = " | $msg = " | ||||
请选择你的后续操作: | 请选择你的后续操作: | ||||
<a href='archives_sg_add.php?cid=$typeid' class='btn btn-secondary btn-sm'>继续发布文档</a> | |||||
<a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布文档</a> | |||||
| | ||||
<a href='$artUrl' target='_blank' class='btn btn-secondary btn-sm'>查看文档</a> | |||||
<a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a> | |||||
| | ||||
<a href='archives_do.php?aid=" . $arcID . "&dopost=editArchives' class='btn btn-secondary btn-sm'>更改文档</a> | |||||
<a href='archives_do.php?aid=" . $arcID . "&dopost=editArchives' class='btn btn-success btn-sm'>更改文档</a> | |||||
| | ||||
<a href='content_sg_list.php?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-secondary btn-sm'>已发布文档管理</a> | |||||
<a href='content_sg_list.php?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-success btn-sm'>已发布文档管理</a> | |||||
| | ||||
<a href='catalog_main.php' class='btn btn-secondary btn-sm'>网站栏目管理</a> | |||||
<a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a> | |||||
"; | "; | ||||
$wintitle = "成功发布文档!"; | $wintitle = "成功发布文档!"; | ||||
@@ -136,19 +136,6 @@ function __save(){ } | |||||
//生成HTML | //生成HTML | ||||
UpIndexKey($id, $arcrank, $typeid, $sortrank, ''); | UpIndexKey($id, $arcrank, $typeid, $sortrank, ''); | ||||
if ($cfg_remote_site == 'Y' && $isremote == "1") { | |||||
if ($serviterm != "") { | |||||
list($servurl, $servuser, $servpwd) = explode(',', $serviterm); | |||||
$config = array( | |||||
'hostname' => $servurl, 'username' => $servuser, | |||||
'password' => $servpwd, 'debug' => 'TRUE' | |||||
); | |||||
} else { | |||||
$config = array(); | |||||
} | |||||
if (!$ftp->connect($config)) exit('Error:None FTP Connection!'); | |||||
} | |||||
$artUrl = MakeArt($id, TRUE, TRUE, $isremote); | $artUrl = MakeArt($id, TRUE, TRUE, $isremote); | ||||
if ($artUrl == '') $artUrl = $cfg_phpurl . "/view.php?aid=$id"; | if ($artUrl == '') $artUrl = $cfg_phpurl . "/view.php?aid=$id"; | ||||
@@ -156,15 +143,15 @@ function __save(){ } | |||||
//返回成功信息 | //返回成功信息 | ||||
$msg = " | $msg = " | ||||
请选择你的后续操作: | 请选择你的后续操作: | ||||
<a href='archives_sg_add.php?cid=$typeid' class='btn btn-secondary btn-sm'>发布新文档</a> | |||||
<a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新文档</a> | |||||
| | ||||
<a href='archives_do.php?aid=" . $id . "&dopost=editArchives' class='btn btn-secondary btn-sm'>查看更改</a> | |||||
<a href='archives_do.php?aid=" . $id . "&dopost=editArchives' class='btn btn-success btn-sm'>查看更改</a> | |||||
| | ||||
<a href='$artUrl' target='_blank' class='btn btn-secondary btn-sm'>查看文档</a> | |||||
<a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a> | |||||
| | ||||
<a href='catalog_do.php?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-secondary btn-sm'>管理文档</a> | |||||
<a href='catalog_do.php?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-success btn-sm'>管理文档</a> | |||||
| | ||||
<a href='catalog_main.php' class='btn btn-secondary btn-sm'>网站栏目管理</a> | |||||
<a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a> | |||||
"; | "; | ||||
$wintitle = "成功更改文档!"; | $wintitle = "成功更改文档!"; | ||||
@@ -221,15 +221,6 @@ function __save(){ } | |||||
} | } | ||||
//生成HTML | //生成HTML | ||||
InsertTags($tags, $arcID); | InsertTags($tags, $arcID); | ||||
if ($cfg_remote_site == 'Y' && $isremote == "1") { | |||||
if ($serviterm != "") { | |||||
list($servurl, $servuser, $servpwd) = explode(',', $serviterm); | |||||
$config = array('hostname' => $servurl, 'username' => $servuser, 'password' => $servpwd, 'debug' => 'TRUE'); | |||||
} else { | |||||
$config = array(); | |||||
} | |||||
if (!$ftp->connect($config)) exit('Error:None FTP Connection!'); | |||||
} | |||||
$picTitle = false; | $picTitle = false; | ||||
if (count($_SESSION['bigfile_info']) > 0) { | if (count($_SESSION['bigfile_info']) > 0) { | ||||
foreach ($_SESSION['bigfile_info'] as $k => $v) { | foreach ($_SESSION['bigfile_info'] as $k => $v) { | ||||
@@ -264,13 +255,13 @@ function __save(){ } | |||||
//返回成功信息 | //返回成功信息 | ||||
$msg = " 请选择你的后续操作: | $msg = " 请选择你的后续操作: | ||||
<a href='article_add.php?cid=$typeid' class='btn btn-secondary btn-sm'>继续发布文章</a> | |||||
<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布文章</a> | |||||
| | ||||
<a href='$artUrl' target='_blank' class='btn btn-secondary btn-sm'>查看文章</a> | |||||
<a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文章</a> | |||||
| | ||||
<a href='archives_do.php?aid=" . $arcID . "&dopost=editArchives' class='btn btn-secondary btn-sm'>更改文章</a> | |||||
<a href='archives_do.php?aid=" . $arcID . "&dopost=editArchives' class='btn btn-success btn-sm'>更改文章</a> | |||||
| | ||||
<a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-secondary btn-sm'>已发布文章管理</a> | |||||
<a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布文章管理</a> | |||||
| | ||||
$backurl | $backurl | ||||
"; | "; | ||||
@@ -101,8 +101,8 @@ function _EditNoteLoad(){ } | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="32"> </td> | <td height="32"> </td> | ||||
<td colspan="2"><button class="btn btn-secondary btn-sm" type="submit" name="Submit" value="">保存规则</button> | |||||
<button type="reset" class="btn btn-secondary btn-sm" name="Submit2">重置</button></td> | |||||
<td colspan="2"><button class="btn btn-success btn-sm" type="submit" name="Submit" value="">保存规则</button> | |||||
<button type="reset" class="btn btn-success btn-sm" name="Submit2">重置</button></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</form> | </form> | ||||
@@ -214,18 +214,6 @@ function __save(){ } | |||||
//生成HTML | //生成HTML | ||||
UpIndexKey($id, $arcrank, $typeid, $sortrank, $tags); | UpIndexKey($id, $arcrank, $typeid, $sortrank, $tags); | ||||
if ($cfg_remote_site == 'Y' && $isremote == "1") { | |||||
if ($serviterm != "") { | |||||
list($servurl, $servuser, $servpwd) = explode(',', $serviterm); | |||||
$config = array( | |||||
'hostname' => $servurl, 'username' => $servuser, | |||||
'password' => $servpwd, 'debug' => 'TRUE' | |||||
); | |||||
} else { | |||||
$config = array(); | |||||
} | |||||
if (!$ftp->connect($config)) exit('Error:None FTP Connection!'); | |||||
} | |||||
$artUrl = MakeArt($id, true, true, $isremote); | $artUrl = MakeArt($id, true, true, $isremote); | ||||
if ($artUrl == '') { | if ($artUrl == '') { | ||||
$artUrl = $cfg_phpurl . "/view.php?aid=$id"; | $artUrl = $cfg_phpurl . "/view.php?aid=$id"; | ||||
@@ -247,13 +235,13 @@ function __save(){ } | |||||
//返回成功信息 | //返回成功信息 | ||||
$msg = " | $msg = " | ||||
请选择你的后续操作: | 请选择你的后续操作: | ||||
<a href='article_add.php?cid=$typeid' class='btn btn-secondary btn-sm'>发布新文章</a> | |||||
<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新文章</a> | |||||
| | ||||
<a href='archives_do.php?aid=" . $id . "&dopost=editArchives' class='btn btn-secondary btn-sm'>查看更改</a> | |||||
<a href='archives_do.php?aid=" . $id . "&dopost=editArchives' class='btn btn-success btn-sm'>查看更改</a> | |||||
| | ||||
<a href='$artUrl' target='_blank' class='btn btn-secondary btn-sm'>查看文章</a> | |||||
<a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文章</a> | |||||
| | ||||
<a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-secondary btn-sm'>管理文章</a> | |||||
<a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理文章</a> | |||||
| | ||||
$backurl | $backurl | ||||
"; | "; | ||||
@@ -98,8 +98,8 @@ function DoRand(jobname) | |||||
<tr> | <tr> | ||||
<td height='28'> | <td height='28'> | ||||
如果你想对旧的文章应用随机模板设置,请点击此对旧文章进行处理(必须设置好模板项)! | 如果你想对旧的文章应用随机模板设置,请点击此对旧文章进行处理(必须设置好模板项)! | ||||
<a href='#' onclick='DoRand(\"makeold\")' class='btn btn-secondary btn-sm'>设置全部</a> | |||||
<a href='#' onclick='DoRand(\"clearold\")' class='btn btn-secondary btn-sm'>取消全部</a> | |||||
<a href='#' onclick='DoRand(\"makeold\")' class='btn btn-success btn-sm'>设置全部</a> | |||||
<a href='#' onclick='DoRand(\"clearold\")' class='btn btn-success btn-sm'>取消全部</a> | |||||
<span id='tmpct' style='color:red;font-weight:bold'>$okmsg</span> | <span id='tmpct' style='color:red;font-weight:bold'>$okmsg</span> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -62,7 +62,6 @@ $isUrlOpen = @ini_get('allow_url_fopen'); | |||||
$dedeNowurl = GetCurUrl(); | $dedeNowurl = GetCurUrl(); | ||||
$dedeNowurls = explode('?', $dedeNowurl); | $dedeNowurls = explode('?', $dedeNowurl); | ||||
$s_scriptName = $dedeNowurls[0]; | $s_scriptName = $dedeNowurls[0]; | ||||
$cfg_remote_site = empty($cfg_remote_site) ? 'N' : $cfg_remote_site; | |||||
//检验用户登录状态 | //检验用户登录状态 | ||||
$cuserLogin = new userLogin(); | $cuserLogin = new userLogin(); | ||||
@@ -159,9 +159,9 @@ if ($cid != 0) { | |||||
} | } | ||||
if ($arcrank != '') { | if ($arcrank != '') { | ||||
$whereSql .= " AND arc.arcrank = '$arcrank' "; | $whereSql .= " AND arc.arcrank = '$arcrank' "; | ||||
$CheckUserSend = "<button type='button' class='btn btn-secondary btn-sm' onClick=\"location='catalog_do.php?cid=" . $cid . "&dopost=listArchives&gurl=content_list.php';\">所有文档</button>"; | |||||
$CheckUserSend = "<button type='button' class='btn btn-success btn-sm' onClick=\"location='catalog_do.php?cid=" . $cid . "&dopost=listArchives&gurl=content_list.php';\">所有文档</button>"; | |||||
} else { | } else { | ||||
$CheckUserSend = "<button type='button' class='btn btn-secondary btn-sm' onClick=\"location='catalog_do.php?cid=" . $cid . "&dopost=listArchives&arcrank=-1&gurl=content_list.php';\">稿件审核</button>"; | |||||
$CheckUserSend = "<button type='button' class='btn btn-success btn-sm' onClick=\"location='catalog_do.php?cid=" . $cid . "&dopost=listArchives&arcrank=-1&gurl=content_list.php';\">稿件审核</button>"; | |||||
} | } | ||||
$orderby = empty($orderby) ? 'id' : preg_replace("#[^a-z0-9]#", "", $orderby); | $orderby = empty($orderby) ? 'id' : preg_replace("#[^a-z0-9]#", "", $orderby); | ||||
@@ -64,9 +64,9 @@ if ($cid != 0) $whereSql .= " AND arc.typeid in (" . GetSonIds($cid) . ")"; | |||||
if ($arcrank != '') { | if ($arcrank != '') { | ||||
$whereSql .= " AND arc.arcrank = '$arcrank' "; | $whereSql .= " AND arc.arcrank = '$arcrank' "; | ||||
$CheckUserSend = "<button type='button' class='btn btn-secondary btn-sm' onClick=\"location='content_sg_list.php?cid={$cid}&channelid={$channelid}&dopost=listArchives';\">所有文档</button>"; | |||||
$CheckUserSend = "<button type='button' class='btn btn-success btn-sm' onClick=\"location='content_sg_list.php?cid={$cid}&channelid={$channelid}&dopost=listArchives';\">所有文档</button>"; | |||||
} else { | } else { | ||||
$CheckUserSend = "<button type='button' class='btn btn-secondary btn-sm' onClick=\"location='content_sg_list.php?cid={$cid}&channelid={$channelid}&dopost=listArchives&arcrank=-1';\">稿件审核</button>"; | |||||
$CheckUserSend = "<button type='button' class='btn btn-success btn-sm' onClick=\"location='content_sg_list.php?cid={$cid}&channelid={$channelid}&dopost=listArchives&arcrank=-1';\">稿件审核</button>"; | |||||
} | } | ||||
$query = "SELECT arc.aid,arc.aid as id,arc.typeid,arc.arcrank,arc.flag,arc.senddate,arc.channel,arc.title,arc.mid,arc.click,tp.typename,ch.typename as channelname | $query = "SELECT arc.aid,arc.aid as id,arc.typeid,arc.arcrank,arc.flag,arc.senddate,arc.channel,arc.title,arc.mid,arc.click,tp.typename,ch.typename as channelname | ||||
@@ -14,21 +14,31 @@ body { | |||||
background-color: #FFF; | background-color: #FFF; | ||||
} | } | ||||
form,h1,h2,h3,ul,ol,div { | |||||
form, | |||||
h1, | |||||
h2, | |||||
h3, | |||||
ul, | |||||
ol, | |||||
div { | |||||
margin: 0; | margin: 0; | ||||
padding: 0; | padding: 0; | ||||
} | } | ||||
td,th,div { | |||||
td, | |||||
th, | |||||
div { | |||||
word-break: break-all; | word-break: break-all; | ||||
word-wrap: break-word; | word-wrap: break-word; | ||||
} | } | ||||
b,strong { | |||||
b, | |||||
strong { | |||||
color: #666600; | color: #666600; | ||||
} | } | ||||
li,dd { | |||||
li, | |||||
dd { | |||||
list-style-type: none; | list-style-type: none; | ||||
margin: 0px; | margin: 0px; | ||||
padding: 0px; | padding: 0px; | ||||
@@ -47,7 +57,9 @@ select { | |||||
transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; | transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; | ||||
} | } | ||||
input[type="button"],input[type="submit"],input[type="reset"] { | |||||
input[type="button"], | |||||
input[type="submit"], | |||||
input[type="reset"] { | |||||
border: none; | border: none; | ||||
border-right: 1px solid #ACACAC; | border-right: 1px solid #ACACAC; | ||||
border-bottom: 1px solid #ACACAC; | border-bottom: 1px solid #ACACAC; | ||||
@@ -58,7 +70,8 @@ input[type="button"],input[type="submit"],input[type="reset"] { | |||||
cursor: pointer; | cursor: pointer; | ||||
} | } | ||||
input[type="text"],input[type="password"] { | |||||
input[type="text"], | |||||
input[type="password"] { | |||||
font-size: 1rem; | font-size: 1rem; | ||||
font-weight: 400; | font-weight: 400; | ||||
color: #495057; | color: #495057; | ||||
@@ -73,593 +86,605 @@ input[type="text"],input[type="password"] { | |||||
vertical-align: middle; | vertical-align: middle; | ||||
} | } | ||||
input[type="text"]:focus,input[type="password"]:focus { | |||||
border-color: #A5C760; | |||||
color: #333; | |||||
-moz-box-shadow: 0 0 3px #A5C760; | |||||
-webkit-box-shadow: 0 0 3px #A5C760; | |||||
box-shadow: 0 0 3px #A5C760; | |||||
outline: none; | |||||
input[type="text"]:focus, | |||||
input[type="password"]:focus { | |||||
border-color: #A5C760; | |||||
color: #333; | |||||
-moz-box-shadow: 0 0 3px #A5C760; | |||||
-webkit-box-shadow: 0 0 3px #A5C760; | |||||
box-shadow: 0 0 3px #A5C760; | |||||
outline: none; | |||||
} | } | ||||
input:disabled, input[readonly] { | |||||
background-color: #e9ecef; | |||||
opacity: 1; | |||||
input:disabled, | |||||
input[readonly] { | |||||
background-color: #e9ecef; | |||||
opacity: 1; | |||||
} | } | ||||
label { | label { | ||||
display: inline-block; | |||||
margin: .5rem 0; | |||||
display: inline-block; | |||||
margin: .5rem 0; | |||||
} | } | ||||
.alltxt { | .alltxt { | ||||
line-height: 18px; | |||||
padding: 3px 3px 2px 3px; | |||||
vertical-align: middle; | |||||
border-width: 1px; | |||||
border-style: solid; | |||||
border-color: #707070 #CECECE #CECECE #707070; | |||||
line-height: 18px; | |||||
padding: 3px 3px 2px 3px; | |||||
vertical-align: middle; | |||||
border-width: 1px; | |||||
border-style: solid; | |||||
border-color: #707070 #CECECE #CECECE #707070; | |||||
} | } | ||||
textarea { | textarea { | ||||
font-size: 1rem; | |||||
font-weight: 400; | |||||
color: #495057; | |||||
background-color: #fff; | |||||
background-clip: padding-box; | |||||
border: 1px solid #ced4da; | |||||
border-radius: .25rem; | |||||
transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; | |||||
padding: 2px 4px; | |||||
vertical-align: middle; | |||||
line-height: 16px; | |||||
overflow: auto; | |||||
resize: vertical; | |||||
font-size: 1rem; | |||||
font-weight: 400; | |||||
color: #495057; | |||||
background-color: #fff; | |||||
background-clip: padding-box; | |||||
border: 1px solid #ced4da; | |||||
border-radius: .25rem; | |||||
transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; | |||||
padding: 2px 4px; | |||||
vertical-align: middle; | |||||
line-height: 16px; | |||||
overflow: auto; | |||||
resize: vertical; | |||||
} | } | ||||
textarea:focus { | textarea:focus { | ||||
border-color: #A5C760; | |||||
color: #333; | |||||
-moz-box-shadow: 0 0 3px #A5C760; | |||||
-webkit-box-shadow: 0 0 3px #A5C760; | |||||
box-shadow: 0 0 3px #A5C760; | |||||
border-color: #A5C760; | |||||
color: #333; | |||||
-moz-box-shadow: 0 0 3px #A5C760; | |||||
-webkit-box-shadow: 0 0 3px #A5C760; | |||||
box-shadow: 0 0 3px #A5C760; | |||||
} | } | ||||
h1 { | h1 { | ||||
color: #171B16; | |||||
font-size: 130%; | |||||
font-weight: bold; | |||||
color: #171B16; | |||||
font-size: 130%; | |||||
font-weight: bold; | |||||
} | } | ||||
h2 { | h2 { | ||||
color: #171B16; | |||||
font-size: 115%; | |||||
font-weight: bold; | |||||
color: #171B16; | |||||
font-size: 115%; | |||||
font-weight: bold; | |||||
} | } | ||||
h3 { | h3 { | ||||
color: #171B16; | |||||
font-size: 100%; | |||||
font-weight: bold; | |||||
color: #171B16; | |||||
font-size: 100%; | |||||
font-weight: bold; | |||||
} | } | ||||
a:link { | a:link { | ||||
font-size: 9pt; | |||||
color: #000000; | |||||
text-decoration: none; | |||||
font-family: ""宋体""; | |||||
font-size: 9pt; | |||||
color: #000000; | |||||
text-decoration: none; | |||||
font-family: ""宋体""; | |||||
} | } | ||||
a:visited { | a:visited { | ||||
font-size: 9pt; | |||||
color: #000000; | |||||
text-decoration: none; | |||||
font-family: ""宋体""; | |||||
font-size: 9pt; | |||||
color: #000000; | |||||
text-decoration: none; | |||||
font-family: ""宋体""; | |||||
} | } | ||||
a:hover { | a:hover { | ||||
color: red; | |||||
font-family: ""宋体""; | |||||
color: red; | |||||
font-family: ""宋体""; | |||||
} | } | ||||
a img { | a img { | ||||
border-style: none; | |||||
border-style: none; | |||||
} | } | ||||
b a { | b a { | ||||
color: #666600; | |||||
color: #666600; | |||||
} | } | ||||
strong a { | strong a { | ||||
color: #666600; | |||||
color: #666600; | |||||
} | } | ||||
a b { | a b { | ||||
color: #666600; | |||||
color: #666600; | |||||
} | } | ||||
a strong { | a strong { | ||||
color: #666600; | |||||
color: #666600; | |||||
} | } | ||||
.pubinputs { | .pubinputs { | ||||
height: 16px; | |||||
line-height: 16px; | |||||
width: 250px; | |||||
padding: 4px 0px 2px 0px; | |||||
border-width: 1px; | |||||
border-style: solid; | |||||
border-color: #999999 #dddddd #dddddd #999999; | |||||
height: 16px; | |||||
line-height: 16px; | |||||
width: 250px; | |||||
padding: 4px 0px 2px 0px; | |||||
border-width: 1px; | |||||
border-style: solid; | |||||
border-color: #999999 #dddddd #dddddd #999999; | |||||
} | } | ||||
.iptxt { | .iptxt { | ||||
height: 14px; | |||||
line-height: 14px; | |||||
padding: 4px 3px 2px 3px; | |||||
border-width: 1px; | |||||
border-style: solid; | |||||
border-color: #999999 #dddddd #dddddd #999999; | |||||
height: 14px; | |||||
line-height: 14px; | |||||
padding: 4px 3px 2px 3px; | |||||
border-width: 1px; | |||||
border-style: solid; | |||||
border-color: #999999 #dddddd #dddddd #999999; | |||||
} | } | ||||
.pubinput { | .pubinput { | ||||
height: 24px; | |||||
width: 250px; | |||||
padding-top: 3px; | |||||
padding-bottom: 0px; | |||||
height: 24px; | |||||
width: 250px; | |||||
padding-top: 3px; | |||||
padding-bottom: 0px; | |||||
} | } | ||||
.pubinputl { | .pubinputl { | ||||
height: 24px; | |||||
width: 350px; | |||||
padding-top: 3px; | |||||
padding-bottom: 0px; | |||||
height: 24px; | |||||
width: 350px; | |||||
padding-top: 3px; | |||||
padding-bottom: 0px; | |||||
} | } | ||||
.np { | .np { | ||||
border: none; | |||||
border: none; | |||||
} | } | ||||
.linerow { | .linerow { | ||||
border-bottom: 1px solid #ACACAC; | |||||
border-bottom: 1px solid #ACACAC; | |||||
} | } | ||||
.coolbg { | .coolbg { | ||||
border: none; | |||||
border-right: 1px solid #ACACAC; | |||||
border-bottom: 1px solid #ACACAC; | |||||
padding: 2px; | |||||
padding-right: 5px; | |||||
padding-left: 5px; | |||||
background: #CCC url(../images/allbtbg2.gif); | |||||
cursor: pointer; | |||||
border: none; | |||||
border-right: 1px solid #ACACAC; | |||||
border-bottom: 1px solid #ACACAC; | |||||
padding: 2px; | |||||
padding-right: 5px; | |||||
padding-left: 5px; | |||||
background: #CCC url(../images/allbtbg2.gif); | |||||
cursor: pointer; | |||||
} | } | ||||
.coolbg2 { | .coolbg2 { | ||||
border: 1px solid #000000; | |||||
background-color: #DFDDD2; | |||||
height: 18px | |||||
border: 1px solid #000000; | |||||
background-color: #DFDDD2; | |||||
height: 18px | |||||
} | } | ||||
.ll { | .ll { | ||||
border-right: 2px solid #ACACAC; | |||||
border-bottom: 2px solid #ACACAC; | |||||
background-color: #E6E6E6 | |||||
border-right: 2px solid #ACACAC; | |||||
border-bottom: 2px solid #ACACAC; | |||||
background-color: #E6E6E6 | |||||
} | } | ||||
.bline { | .bline { | ||||
border-bottom: 1px dotted #BCBCBC; | |||||
height: 36px; | |||||
background-color: #FFFFFF; | |||||
border-bottom: 1px dotted #BCBCBC; | |||||
height: 36px; | |||||
background-color: #FFFFFF; | |||||
} | } | ||||
#uploadfield { | #uploadfield { | ||||
float: left; | |||||
float: left; | |||||
} | } | ||||
.bline2 { | .bline2 { | ||||
border-bottom: 1px solid #BCBCBC; | |||||
border-bottom: 1px solid #BCBCBC; | |||||
} | } | ||||
.coolbt { | .coolbt { | ||||
border-left: 1px solid #EFEFEF; | |||||
border-top: 1px solid #EFEFEF; | |||||
border-right: 1px solid #ACACAC; | |||||
border-bottom: 1px solid #ACACAC; | |||||
background-color: #E4F7D7; | |||||
cursor: pointer; | |||||
border-left: 1px solid #EFEFEF; | |||||
border-top: 1px solid #EFEFEF; | |||||
border-right: 1px solid #ACACAC; | |||||
border-bottom: 1px solid #ACACAC; | |||||
background-color: #E4F7D7; | |||||
cursor: pointer; | |||||
} | } | ||||
.coolbt2 { | .coolbt2 { | ||||
border-left: 1px solid #EFEFEF; | |||||
border-top: 1px solid #EFEFEF; | |||||
border-right: 1px solid #ACACAC; | |||||
border-bottom: 1px solid #ACACAC; | |||||
background-color: #F7FCDA | |||||
border-left: 1px solid #EFEFEF; | |||||
border-top: 1px solid #EFEFEF; | |||||
border-right: 1px solid #ACACAC; | |||||
border-bottom: 1px solid #ACACAC; | |||||
background-color: #F7FCDA | |||||
} | } | ||||
.coolbg3 { | .coolbg3 { | ||||
border: 1px solid #BDC5B4; | |||||
background-color: #DFDDD2; | |||||
height: 20px; | |||||
width: 140px; | |||||
text-align: right; | |||||
border: 1px solid #BDC5B4; | |||||
background-color: #DFDDD2; | |||||
height: 20px; | |||||
width: 140px; | |||||
text-align: right; | |||||
} | } | ||||
.coolbg61 { | .coolbg61 { | ||||
line-height: 26px; | |||||
width: 380px; | |||||
border-top: 1px solid #BDC5B4; | |||||
border-left: 1px solid #BDC5B4; | |||||
border-right: 1px solid #BDC5B4; | |||||
height: 26px; | |||||
text-align: right; | |||||
background-color: #E7F3B1; | |||||
line-height: 26px; | |||||
width: 380px; | |||||
border-top: 1px solid #BDC5B4; | |||||
border-left: 1px solid #BDC5B4; | |||||
border-right: 1px solid #BDC5B4; | |||||
height: 26px; | |||||
text-align: right; | |||||
background-color: #E7F3B1; | |||||
} | } | ||||
.coolbg62 { | .coolbg62 { | ||||
border: 1px solid #BDC5B4; | |||||
background-color: #F8FDF0; | |||||
height: 300px; | |||||
width: 380px; | |||||
padding: 5px; | |||||
border: 1px solid #BDC5B4; | |||||
background-color: #F8FDF0; | |||||
height: 300px; | |||||
width: 380px; | |||||
padding: 5px; | |||||
} | } | ||||
.coolbg4 { | .coolbg4 { | ||||
border-bottom: 1px solid #C9CFC1; | |||||
background-color: #F9FCDC; | |||||
background: url(../images/dlgtitle.gif) repeat-x; | |||||
height: 24px; | |||||
line-height: 24px; | |||||
width: 190px; | |||||
text-align: right; | |||||
border-bottom: 1px solid #C9CFC1; | |||||
background-color: #F9FCDC; | |||||
background: url(../images/dlgtitle.gif) repeat-x; | |||||
height: 24px; | |||||
line-height: 24px; | |||||
width: 190px; | |||||
text-align: right; | |||||
} | } | ||||
.coolbg5 { | .coolbg5 { | ||||
border-top: 1px solid #BDC5B4; | |||||
background-color: #F9FCDC; | |||||
font-size: 1pt; | |||||
height: 6px; | |||||
width: 190px; | |||||
border-top: 1px solid #BDC5B4; | |||||
background-color: #F9FCDC; | |||||
font-size: 1pt; | |||||
height: 6px; | |||||
width: 190px; | |||||
} | } | ||||
.wsselect { | .wsselect { | ||||
height: 60px; | |||||
line-height: 24px | |||||
overflow-y:auto; | |||||
overflow: auto; | |||||
background-color: #FCFEF1; | |||||
scrollbar-face-color: #ffffff; | |||||
scrollbar-highlight-color: #919192; | |||||
scrollbar-shadow-color: #919192; | |||||
scrollbar-3dlight-color: #ffffff; | |||||
scrollbar-arrow-color: #919192; | |||||
scrollbar-track-color: #ffffff; | |||||
scrollbar-darkshadow-color: #ffffff; | |||||
height: 60px; | |||||
line-height: 24px overflow-y:auto; | |||||
overflow: auto; | |||||
background-color: #FCFEF1; | |||||
scrollbar-face-color: #ffffff; | |||||
scrollbar-highlight-color: #919192; | |||||
scrollbar-shadow-color: #919192; | |||||
scrollbar-3dlight-color: #ffffff; | |||||
scrollbar-arrow-color: #919192; | |||||
scrollbar-track-color: #ffffff; | |||||
scrollbar-darkshadow-color: #ffffff; | |||||
} | } | ||||
.dlg { | .dlg { | ||||
border: 2px solid #749F4D; | |||||
background-color: #F0FAEB; | |||||
padding: 2px; | |||||
width: 360px; | |||||
line-height: 160%; | |||||
border: 2px solid #749F4D; | |||||
background-color: #F0FAEB; | |||||
padding: 2px; | |||||
width: 360px; | |||||
line-height: 160%; | |||||
} | } | ||||
.pubdlg { | .pubdlg { | ||||
z-index: 8888; | |||||
border: 5px solid #749F4D; | |||||
background-color: #fff; | |||||
z-index: 8888; | |||||
border: 5px solid #749F4D; | |||||
background-color: #fff; | |||||
} | } | ||||
.pubdlg .title { | .pubdlg .title { | ||||
border-bottom: 1px solid #C9CFC1; | |||||
background-color: #F9FCDC; | |||||
background: url(../images/dlgtitle.gif) repeat-x; | |||||
height: 28px; | |||||
line-height: 28px; | |||||
text-align: left; | |||||
cursor: move; | |||||
border-bottom: 1px solid #C9CFC1; | |||||
background-color: #F9FCDC; | |||||
background: url(../images/dlgtitle.gif) repeat-x; | |||||
height: 28px; | |||||
line-height: 28px; | |||||
text-align: left; | |||||
cursor: move; | |||||
} | } | ||||
.pubdlg .titLeft { | .pubdlg .titLeft { | ||||
float: left; | |||||
padding-left: 8px; | |||||
line-height: 28px; | |||||
font-weight: bold; | |||||
color: #555; | |||||
float: left; | |||||
padding-left: 8px; | |||||
line-height: 28px; | |||||
font-weight: bold; | |||||
color: #555; | |||||
} | } | ||||
.pubdlg .titRight { | .pubdlg .titRight { | ||||
float: right; | |||||
padding: 0px; | |||||
float: right; | |||||
padding: 0px; | |||||
} | } | ||||
.fullpagediv { | .fullpagediv { | ||||
z-index: 1999; | |||||
top: 0; | |||||
left: 0; | |||||
background: #cdcdcd; | |||||
filter: Alpha(opacity=50); | |||||
-moz-opacity: .5; | |||||
opacity: 0.5; | |||||
position: absolute; | |||||
width: 100%; | |||||
height: 120%; | |||||
z-index: 1999; | |||||
top: 0; | |||||
left: 0; | |||||
background: #cdcdcd; | |||||
filter: Alpha(opacity=50); | |||||
-moz-opacity: .5; | |||||
opacity: 0.5; | |||||
position: absolute; | |||||
width: 100%; | |||||
height: 120%; | |||||
} | } | ||||
.quicksel { | .quicksel { | ||||
z-index: 10005; | |||||
width: 680px; | |||||
height: 420px; | |||||
margin-left: 5px; | |||||
margin-top: 5px; | |||||
overflow: auto; | |||||
scrollbar-face-color: #ffffff; | |||||
scrollbar-highlight-color: #919192; | |||||
scrollbar-shadow-color: #919192; | |||||
scrollbar-3dlight-color: #ffffff; | |||||
scrollbar-arrow-color: #919192; | |||||
scrollbar-track-color: #ffffff; | |||||
scrollbar-darkshadow-color: #ffffff; | |||||
z-index: 10005; | |||||
width: 680px; | |||||
height: 420px; | |||||
margin-left: 5px; | |||||
margin-top: 5px; | |||||
overflow: auto; | |||||
scrollbar-face-color: #ffffff; | |||||
scrollbar-highlight-color: #919192; | |||||
scrollbar-shadow-color: #919192; | |||||
scrollbar-3dlight-color: #ffffff; | |||||
scrollbar-arrow-color: #919192; | |||||
scrollbar-track-color: #ffffff; | |||||
scrollbar-darkshadow-color: #ffffff; | |||||
} | } | ||||
.quickselfoot { | .quickselfoot { | ||||
padding-top: 8px; | |||||
border-top: 1px dashed #C0CC9D; | |||||
padding-top: 8px; | |||||
border-top: 1px dashed #C0CC9D; | |||||
} | } | ||||
.quickselItem { | .quickselItem { | ||||
margin-bottom: 8px; | |||||
margin-bottom: 8px; | |||||
} | } | ||||
.quickselItem .topcat { | .quickselItem .topcat { | ||||
font-weight: bold; | |||||
clear: both; | |||||
line-height: 24px; | |||||
border-bottom: 1px dashed #ccc; | |||||
background: #FBFEEF; | |||||
padding-left: 5px; | |||||
font-weight: bold; | |||||
clear: both; | |||||
line-height: 24px; | |||||
border-bottom: 1px dashed #ccc; | |||||
background: #FBFEEF; | |||||
padding-left: 5px; | |||||
} | } | ||||
.quickselItem .soncat { | .quickselItem .soncat { | ||||
padding-left: 10px; | |||||
padding-left: 10px; | |||||
} | } | ||||
.quickselItem .item { | .quickselItem .item { | ||||
float: left; | |||||
margin-right: 8px; | |||||
float: left; | |||||
margin-right: 8px; | |||||
} | } | ||||
.mysource,.mywriter { | |||||
z-index: 10001; | |||||
border: 5px solid #749F4D; | |||||
background-color: #F0FAEB; | |||||
padding: 2px; | |||||
width: 280px; | |||||
line-height: 160%; | |||||
.mysource, | |||||
.mywriter { | |||||
z-index: 10001; | |||||
border: 5px solid #749F4D; | |||||
background-color: #F0FAEB; | |||||
padding: 2px; | |||||
width: 280px; | |||||
line-height: 160%; | |||||
} | } | ||||
.dlgws div { | .dlgws div { | ||||
width: 100%; | |||||
width: 100%; | |||||
} | } | ||||
.dlgTesttitle { | .dlgTesttitle { | ||||
border: 2px solid #749F4D; | |||||
background-color: #F0FAEB; | |||||
padding: 2px; | |||||
width: 300px; | |||||
line-height: 150%; | |||||
border: 2px solid #749F4D; | |||||
background-color: #F0FAEB; | |||||
padding: 2px; | |||||
width: 300px; | |||||
line-height: 150%; | |||||
} | } | ||||
#_mysource { | #_mysource { | ||||
z-index: 10003; | |||||
z-index: 10003; | |||||
} | } | ||||
#_mywriter { | #_mywriter { | ||||
z-index: 10004; | |||||
z-index: 10004; | |||||
} | } | ||||
#uploadwait { | #uploadwait { | ||||
z-index: 19999; | |||||
z-index: 19999; | |||||
} | } | ||||
.option1 { | .option1 { | ||||
background-color: #DCECA6; | |||||
background-color: #DCECA6; | |||||
} | } | ||||
.option2 { | .option2 { | ||||
background-color: #F7FBD2; | |||||
background-color: #F7FBD2; | |||||
} | } | ||||
.option3 { | .option3 { | ||||
background-color: #FFFFFF; | |||||
background-color: #FFFFFF; | |||||
} | } | ||||
.ininput { | .ininput { | ||||
width: 96%; | |||||
height: 20px; | |||||
border: 1px solid #ffffff; | |||||
width: 96%; | |||||
height: 20px; | |||||
border: 1px solid #ffffff; | |||||
} | } | ||||
.nbt { | .nbt { | ||||
padding: 1px; | |||||
background-image: url('../images/allbtbg.gif'); | |||||
background-color: #ffffff; | |||||
border: 1px solid #A5AF83; | |||||
padding: 1px; | |||||
background-image: url('../images/allbtbg.gif'); | |||||
background-color: #ffffff; | |||||
border: 1px solid #A5AF83; | |||||
} | } | ||||
.tdt { | .tdt { | ||||
padding-left: 6px; | |||||
padding-left: 6px; | |||||
} | } | ||||
.waitpage { | .waitpage { | ||||
top: 0; | |||||
left: 0; | |||||
filter: Alpha(opacity=70); | |||||
-moz-opacity: 0.7; | |||||
position: absolute; | |||||
z-index: 10000; | |||||
background: url(../../images/loading1.gif) #ababab center no-repeat; | |||||
top: 0; | |||||
left: 0; | |||||
filter: Alpha(opacity=70); | |||||
-moz-opacity: 0.7; | |||||
position: absolute; | |||||
z-index: 10000; | |||||
background: url(../../images/loading1.gif) #ababab center no-repeat; | |||||
} | } | ||||
.divpre img { | .divpre img { | ||||
max-width: 150px; | |||||
max-height: 100px; | |||||
max-width: 150px; | |||||
max-height: 100px; | |||||
} | } | ||||
.divpre { | .divpre { | ||||
overflow: hidden; | |||||
overflow: hidden; | |||||
} | } | ||||
.autoinput { | .autoinput { | ||||
padding-left: 3px; | |||||
width: 90%; | |||||
padding-left: 3px; | |||||
width: 90%; | |||||
} | } | ||||
.bodytitle { | .bodytitle { | ||||
margin: auto; | |||||
height: 28px; | |||||
border: 1px dotted #BFD67C; | |||||
background: url('../images/wbg.gif'); | |||||
margin-bottom: 6px; | |||||
width: 98%; | |||||
font-weight: bold; | |||||
margin: auto; | |||||
height: 28px; | |||||
border: 1px dotted #BFD67C; | |||||
background: url('../images/wbg.gif'); | |||||
margin-bottom: 6px; | |||||
width: 98%; | |||||
font-weight: bold; | |||||
} | } | ||||
.bodytitle div { | .bodytitle div { | ||||
float: left | |||||
float: left | |||||
} | } | ||||
.bodytitletxt { | .bodytitletxt { | ||||
padding-left: 6px; | |||||
line-height: 28px; | |||||
padding-left: 6px; | |||||
line-height: 28px; | |||||
} | } | ||||
.tbtitle td { | .tbtitle td { | ||||
padding: 3px; | |||||
padding: 3px; | |||||
} | } | ||||
.tblist td { | .tblist td { | ||||
background: #FFFFFF; | |||||
padding: 6px; | |||||
background: #FFFFFF; | |||||
padding: 6px; | |||||
} | } | ||||
.tblist td.tbsname { | .tblist td.tbsname { | ||||
background: #F9FFE6; | |||||
padding: 6px; | |||||
background: #F9FFE6; | |||||
padding: 6px; | |||||
} | } | ||||
.colordlg { | .colordlg { | ||||
width: 100px; | |||||
z-index;10005;border: 2px dashed #749F4D; | |||||
background-color: #F0FAEB; | |||||
padding: 2px; | |||||
line-height: 160%; | |||||
width: 100px; | |||||
z-index; | |||||
10005; | |||||
border: 2px dashed #749F4D; | |||||
background-color: #F0FAEB; | |||||
padding: 2px; | |||||
line-height: 160%; | |||||
} | } | ||||
option.alltype { | option.alltype { | ||||
height: 18px; | |||||
line-height: 18px; | |||||
font-size: 12px; | |||||
padding-left: 16px; | |||||
background: url(../images/arr4.gif) 3px 4px no-repeat; | |||||
height: 18px; | |||||
line-height: 18px; | |||||
font-size: 12px; | |||||
padding-left: 16px; | |||||
background: url(../images/arr4.gif) 3px 4px no-repeat; | |||||
} | } | ||||
option.btype { | option.btype { | ||||
height: 18px; | |||||
line-height: 18px; | |||||
font-size: 12px; | |||||
padding-left: 16px; | |||||
background: url(../images/arr4.gif) 3px 4px no-repeat; | |||||
height: 18px; | |||||
line-height: 18px; | |||||
font-size: 12px; | |||||
padding-left: 16px; | |||||
background: url(../images/arr4.gif) 3px 4px no-repeat; | |||||
} | } | ||||
option.stype { | option.stype { | ||||
height: 18px; | |||||
line-height: 18px; | |||||
font-size: 12px; | |||||
padding-left: 24px; | |||||
background: url(../images/arrr.gif) 11px 4px no-repeat; | |||||
height: 18px; | |||||
line-height: 18px; | |||||
font-size: 12px; | |||||
padding-left: 24px; | |||||
background: url(../images/arrr.gif) 11px 4px no-repeat; | |||||
} | } | ||||
.ilist { | .ilist { | ||||
border-top: 1px dashed #BCBCBC; | |||||
border-bottom: 1px dashed #BCBCBC; | |||||
border-left: 1px dashed #BCBCBC; | |||||
border-top: 1px dashed #BCBCBC; | |||||
border-bottom: 1px dashed #BCBCBC; | |||||
border-left: 1px dashed #BCBCBC; | |||||
} | } | ||||
.ilist td { | .ilist td { | ||||
border-right: 1px dashed #BCBCBC; | |||||
border-right: 1px dashed #BCBCBC; | |||||
} | } | ||||
#typeid2 { | #typeid2 { | ||||
border: 0px; | |||||
padding: 0px; | |||||
background: #ccc; | |||||
height: 18px; | |||||
font-size: 12px; | |||||
padding-left: 10px; | |||||
background: url(../images/typeid2bg.gif) no-repeat; | |||||
float: left; | |||||
border: 0px; | |||||
padding: 0px; | |||||
background: #ccc; | |||||
height: 18px; | |||||
font-size: 12px; | |||||
padding-left: 10px; | |||||
background: url(../images/typeid2bg.gif) no-repeat; | |||||
float: left; | |||||
} | } | ||||
.litpic_span { | .litpic_span { | ||||
width: 77px; | |||||
overflow: hidden; | |||||
height: 21px; | |||||
*vertical-align: 3px; | |||||
margin-left: -60px; | |||||
*margin-left: -75px; | |||||
cursor: pointer; | |||||
width: 77px; | |||||
overflow: hidden; | |||||
height: 21px; | |||||
*vertical-align: 3px; | |||||
margin-left: -60px; | |||||
*margin-left: -75px; | |||||
cursor: pointer; | |||||
} | } | ||||
#litpic { | #litpic { | ||||
width: 85px; | |||||
height: 20px; | |||||
margin-left: -20px; | |||||
filter: alpha(opacity=00); | |||||
-moz-opacity: .0; | |||||
opacity: 0.0; | |||||
cursor: pointer; | |||||
width: 85px; | |||||
height: 20px; | |||||
margin-left: -20px; | |||||
filter: alpha(opacity=00); | |||||
-moz-opacity: .0; | |||||
opacity: 0.0; | |||||
cursor: pointer; | |||||
} | } | ||||
#starttime,#endtime,#pubdate { | |||||
background: url(../images/calendar.gif) 3px no-repeat; | |||||
padding-left: 23px; | |||||
#starttime, | |||||
#endtime, | |||||
#pubdate { | |||||
background: url(../images/calendar.gif) 3px no-repeat; | |||||
padding-left: 23px; | |||||
} | } | ||||
#title { | #title { | ||||
background: url(../images/ruler.gif) repeat-x 0px 10px; | |||||
background: url(../images/ruler.gif) repeat-x 0px 10px; | |||||
} | } | ||||
.spec { | .spec { | ||||
width: 60px; | |||||
width: 60px; | |||||
} | } | ||||
.gtab a { | .gtab a { | ||||
width: 80px; | |||||
text-align: center; | |||||
display: block; | |||||
float: left; | |||||
height: 26px; | |||||
line-height: 26px; | |||||
width: 80px; | |||||
text-align: center; | |||||
display: block; | |||||
float: left; | |||||
height: 26px; | |||||
line-height: 26px; | |||||
} | } | ||||
.albCt img { | .albCt img { | ||||
cursor: pointer; | |||||
cursor: pointer; | |||||
} | } | ||||
img { | img { | ||||
vertical-align: baseline; | |||||
vertical-align: baseline; | |||||
} | } | ||||
.maintable { | .maintable { | ||||
width: 98%!important; | |||||
width: 98% !important; | |||||
} | } | ||||
a.btn { | a.btn { | ||||
color: white!important; | |||||
color: white !important; | |||||
} | } | ||||
span.page-link { | span.page-link { | ||||
background-color: #DDD; | background-color: #DDD; | ||||
} | |||||
.btn-success { | |||||
background-color: #28a745; | |||||
border-color: #28a745; | |||||
} | } |
@@ -35,23 +35,3 @@ if ($cuserLogin->getUserID() <= 0) { | |||||
echo "<script language='javascript'>location='$gurl';</script>"; | echo "<script language='javascript'>location='$gurl';</script>"; | ||||
exit(); | exit(); | ||||
} | } | ||||
//启用远程站点则创建FTP类 | |||||
if ($cfg_remote_site == 'Y') { | |||||
require_once(DEDEINC . '/ftp.class.php'); | |||||
if (file_exists(DEDEDATA . "/cache/inc_remote_config.php")) { | |||||
require_once DEDEDATA . "/cache/inc_remote_config.php"; | |||||
} | |||||
if (empty($remoteuploads)) $remoteuploads = 0; | |||||
if (empty($remoteupUrl)) $remoteupUrl = ''; | |||||
//初始化FTP配置 | |||||
$ftpconfig = array( | |||||
'hostname' => $rmhost, | |||||
'port' => $rmport, | |||||
'username' => $rmname, | |||||
'password' => $rmpwd | |||||
); | |||||
$ftp = new FTP; | |||||
$ftp->connect($ftpconfig); | |||||
} |
@@ -202,11 +202,7 @@ if (!empty($noeditor)) { | |||||
} else if (preg_match("#\.(" . $cfg_imgtype . ")#i", $file)) { | } else if (preg_match("#\.(" . $cfg_imgtype . ")#i", $file)) { | ||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
if ($cfg_remote_site == 'Y' && $remoteuploads == 1) { | |||||
$reurl = $remoteupUrl . $reurl; | |||||
} else { | |||||
$reurl = $reurl; | |||||
} | |||||
$reurl = $reurl; | |||||
if ($file == $comeback) $lstyle = " style='color:red' "; | if ($file == $comeback) $lstyle = " style='color:red' "; | ||||
else $lstyle = ""; | else $lstyle = ""; | ||||
@@ -224,11 +220,7 @@ if (!empty($noeditor)) { | |||||
} else if (preg_match("#\.(jpg)#i", $file)) { | } else if (preg_match("#\.(jpg)#i", $file)) { | ||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
if ($cfg_remote_site == 'Y' && $remoteuploads == 1) { | |||||
$reurl = $remoteupUrl . $reurl; | |||||
} else { | |||||
$reurl = $reurl; | |||||
} | |||||
$reurl = $reurl; | |||||
if ($file == $comeback) $lstyle = " style='color:red' "; | if ($file == $comeback) $lstyle = " style='color:red' "; | ||||
else $lstyle = ""; | else $lstyle = ""; | ||||
@@ -267,7 +259,7 @@ if (!empty($noeditor)) { | |||||
<label><input type='checkbox' name='resize' value='1' class='np' /> 缩小 </label> | <label><input type='checkbox' name='resize' value='1' class='np' /> 缩小 </label> | ||||
宽:<input type='text' style='width:46px' name='iwidth' value='<?php echo $cfg_ddimg_width ?>' /> | 宽:<input type='text' style='width:46px' name='iwidth' value='<?php echo $cfg_ddimg_width ?>' /> | ||||
高:<input type='text' style='width:46px' name='iheight' value='<?php echo $cfg_ddimg_height ?>' /> | 高:<input type='text' style='width:46px' name='iheight' value='<?php echo $cfg_ddimg_height ?>' /> | ||||
<button type='submit' name='sb1' class="btn btn-secondary btn-sm">确定</button> | |||||
<button type='submit' name='sb1' class="btn btn-success btn-sm">确定</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
@@ -56,15 +56,7 @@ $filename = $filename . '.' . $fs[count($fs) - 1]; | |||||
$filename_name = $filename_name . '.' . $fs[count($fs) - 1]; | $filename_name = $filename_name . '.' . $fs[count($fs) - 1]; | ||||
$fullfilename = $cfg_basedir . $activepath . "/" . $filename; | $fullfilename = $cfg_basedir . $activepath . "/" . $filename; | ||||
move_uploaded_file($imgfile, $fullfilename) or die("上传文件到 $fullfilename 失败!"); | move_uploaded_file($imgfile, $fullfilename) or die("上传文件到 $fullfilename 失败!"); | ||||
if ($cfg_remote_site == 'Y' && $remoteuploads == 1) { | |||||
//分析远程文件路径 | |||||
$remotefile = str_replace(DEDEROOT, '', $fullfilename); | |||||
$localfile = '../..' . $remotefile; | |||||
//创建远程文件夹 | |||||
$remotedir = preg_replace('/[^\/]*\.(jpg|gif|bmp|png)/', '', $remotefile); | |||||
$ftp->rmkdir($remotedir); | |||||
$ftp->upload($localfile, $remotefile); | |||||
} | |||||
@unlink($imgfile); | @unlink($imgfile); | ||||
if (empty($resize)) { | if (empty($resize)) { | ||||
$resize = 0; | $resize = 0; | ||||
@@ -129,11 +129,7 @@ if (!empty($noeditor)) { | |||||
} else if (preg_match("#\.(swf|fly|fla|flv)#i", $file)) { | } else if (preg_match("#\.(swf|fly|fla|flv)#i", $file)) { | ||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
if ($cfg_remote_site == 'Y' && $remoteuploads == 1) { | |||||
$reurl = $remoteupUrl . $reurl; | |||||
} else { | |||||
$reurl = $reurl; | |||||
} | |||||
$reurl = $reurl; | |||||
if ($file == $comeback) $lstyle = " style='color:red' "; | if ($file == $comeback) $lstyle = " style='color:red' "; | ||||
else $lstyle = ""; | else $lstyle = ""; | ||||
@@ -150,11 +146,7 @@ if (!empty($noeditor)) { | |||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
if ($cfg_remote_site == 'Y' && $remoteuploads == 1) { | |||||
$reurl = $remoteupUrl . $reurl; | |||||
} else { | |||||
$reurl = $reurl; | |||||
} | |||||
$reurl = $reurl; | |||||
if ($file == $comeback) $lstyle = " style='color:red' "; | if ($file == $comeback) $lstyle = " style='color:red' "; | ||||
else $lstyle = ""; | else $lstyle = ""; | ||||
@@ -170,11 +162,7 @@ if (!empty($noeditor)) { | |||||
} else if (preg_match("#\.(rm|rmvb)#i", $file)) { | } else if (preg_match("#\.(rm|rmvb)#i", $file)) { | ||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
if ($cfg_remote_site == 'Y' && $remoteuploads == 1) { | |||||
$reurl = $remoteupUrl . $reurl; | |||||
} else { | |||||
$reurl = $reurl; | |||||
} | |||||
$reurl = $reurl; | |||||
if ($file == $comeback) $lstyle = " style='color:red' "; | if ($file == $comeback) $lstyle = " style='color:red' "; | ||||
else $lstyle = ""; | else $lstyle = ""; | ||||
@@ -191,11 +179,7 @@ if (!empty($noeditor)) { | |||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
if ($cfg_remote_site == 'Y' && $remoteuploads == 1) { | |||||
$reurl = $remoteupUrl . $reurl; | |||||
} else { | |||||
$reurl = $reurl; | |||||
} | |||||
$reurl = $reurl; | |||||
if ($file == $comeback) $lstyle = " style='color:red' "; | if ($file == $comeback) $lstyle = " style='color:red' "; | ||||
else $lstyle = ""; | else $lstyle = ""; | ||||
@@ -224,7 +208,7 @@ if (!empty($noeditor)) { | |||||
<input type='hidden' name='CKEditorFuncNum' value='<?php echo isset($CKEditorFuncNum) ? $CKEditorFuncNum : 1; ?>'> | <input type='hidden' name='CKEditorFuncNum' value='<?php echo isset($CKEditorFuncNum) ? $CKEditorFuncNum : 1; ?>'> | ||||
<tr> | <tr> | ||||
<td background="img/tbg.gif" bgcolor="#99CC00"> | <td background="img/tbg.gif" bgcolor="#99CC00"> | ||||
上 传: <input type='file' name='uploadfile' style='width:320px'> <button class="btn btn-secondary btn-sm" type='submit' name='sb1'>确定</button> | |||||
上 传: <input type='file' name='uploadfile' style='width:320px'> <button class="btn btn-success btn-sm" type='submit' name='sb1'>确定</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
@@ -90,7 +90,7 @@ if (!empty($noeditor)) { | |||||
| | ||||
改 名:<input type='test' name='newname' style='width:90px' /> | 改 名:<input type='test' name='newname' style='width:90px' /> | ||||
| | ||||
<button type='submit' name='sb1' class="btn btn-secondary btn-sm">确定</button> | |||||
<button type='submit' name='sb1' class="btn btn-success btn-sm">确定</button> | |||||
</form> | </form> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -150,11 +150,7 @@ if (!empty($noeditor)) { | |||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
if ($cfg_remote_site == 'Y' && $remoteuploads == 1) { | |||||
$reurl = $remoteupUrl . $reurl; | |||||
} else { | |||||
$reurl = $reurl; | |||||
} | |||||
$reurl = $reurl; | |||||
$line = "\n<tr height='24'> | $line = "\n<tr height='24'> | ||||
<td class='linerow' bgcolor='#F9FBF0'> | <td class='linerow' bgcolor='#F9FBF0'> | ||||
@@ -172,11 +168,7 @@ if (!empty($noeditor)) { | |||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
if ($cfg_remote_site == 'Y' && $remoteuploads == 1) { | |||||
$reurl = $remoteupUrl . $reurl; | |||||
} else { | |||||
$reurl = $reurl; | |||||
} | |||||
$reurl = $reurl; | |||||
$line = "\n<tr height='24'> | $line = "\n<tr height='24'> | ||||
<td class='linerow' bgcolor='#F9FBF0'> | <td class='linerow' bgcolor='#F9FBF0'> | ||||
@@ -70,15 +70,6 @@ $fullfilename = $cfg_basedir . $activepath . '/' . $filename; | |||||
$fullfileurl = $activepath . '/' . $filename; | $fullfileurl = $activepath . '/' . $filename; | ||||
move_uploaded_file($uploadfile, $fullfilename) or die("上传文件到 $fullfilename 失败!"); | move_uploaded_file($uploadfile, $fullfilename) or die("上传文件到 $fullfilename 失败!"); | ||||
@unlink($uploadfile); | @unlink($uploadfile); | ||||
if ($cfg_remote_site == 'Y' && $remoteuploads == 1) { | |||||
//分析远程文件路径 | |||||
$remotefile = str_replace(DEDEROOT, '', $fullfilename); | |||||
$localfile = '../..' . $remotefile; | |||||
//创建远程文件夹 | |||||
$remotedir = preg_replace('/[^\/]*\.(' . $cfg_softtype . ')/', '', $remotefile); | |||||
$ftp->rmkdir($remotedir); | |||||
$ftp->upload($localfile, $remotefile); | |||||
} | |||||
if ($uploadfile_type == 'application/x-shockwave-flash') { | if ($uploadfile_type == 'application/x-shockwave-flash') { | ||||
$mediatype = 2; | $mediatype = 2; | ||||
@@ -230,7 +230,7 @@ if (empty($comeback)) { | |||||
<td background="img/tbg.gif" bgcolor="#99CC00"> | <td background="img/tbg.gif" bgcolor="#99CC00"> | ||||
上 传: <input type='file' name='uploadfile' style='width:320px'> | 上 传: <input type='file' name='uploadfile' style='width:320px'> | ||||
改名:<input type='text' name='filename' value='' style='width:100px'> | 改名:<input type='text' name='filename' value='' style='width:100px'> | ||||
<button type='submit' name='sb1' class="btn btn-secondary btn-sm">确定</button> | |||||
<button type='submit' name='sb1' class="btn btn-success btn-sm">确定</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
@@ -88,9 +88,9 @@ function GetTagList($dsql,$pageno,$pagesize,$orderby='aid') | |||||
<td> {$row['templet']} </td> | <td> {$row['templet']} </td> | ||||
<td> {$row['click']} </td> | <td> {$row['click']} </td> | ||||
<td>".MyDate("y-m-d",$row['edtime'])."</td> | <td>".MyDate("y-m-d",$row['edtime'])."</td> | ||||
<td> <a href='#' onclick='EditNote({$row['aid']})' class='btn btn-secondary btn-sm'> <i class=\"fa fa-pencil-square-o\" aria-hidden=\"true\"></i> 更改</a> | |||||
<a href='#' onclick='CreateNote({$row['aid']})' class='btn btn-secondary btn-sm'> <i class=\"fa fa-refresh\" aria-hidden=\"true\"></i> 更新</a> | |||||
<a href='#' onclick='DelNote({$row['aid']})' class='btn btn-secondary btn-sm'> <i class=\"fa fa-trash\" aria-hidden=\"true\"></i> 删除</a> | |||||
<td> <a href='#' onclick='EditNote({$row['aid']})' class='btn btn-success btn-sm'> <i class=\"fa fa-pencil-square-o\" aria-hidden=\"true\"></i> 更改</a> | |||||
<a href='#' onclick='CreateNote({$row['aid']})' class='btn btn-success btn-sm'> <i class=\"fa fa-refresh\" aria-hidden=\"true\"></i> 更新</a> | |||||
<a href='#' onclick='DelNote({$row['aid']})' class='btn btn-success btn-sm'> <i class=\"fa fa-trash\" aria-hidden=\"true\"></i> 删除</a> | |||||
</td> | </td> | ||||
</tr>"; | </tr>"; | ||||
echo $line; | echo $line; | ||||
@@ -65,7 +65,6 @@ | |||||
>sys_Group>系统组管理 | >sys_Group>系统组管理 | ||||
>sys_MdPwd>更改个人密码 | >sys_MdPwd>更改个人密码 | ||||
>sys_DelUpload>删除附件 | >sys_DelUpload>删除附件 | ||||
>sys_Task>计划任务管理 | |||||
>sys_Edit>修改系统参数 | >sys_Edit>修改系统参数 | ||||
>sys_Log>管理日志 | >sys_Log>管理日志 | ||||
>sys_plus>插件管理 | >sys_plus>插件管理 | ||||
@@ -429,12 +429,6 @@ $actionSearch[10] = array( | |||||
'purview' => 'sys_StringMix', | 'purview' => 'sys_StringMix', | ||||
'linkurl' => 'article_template_rand.php' | 'linkurl' => 'article_template_rand.php' | ||||
), | ), | ||||
10 => array( | |||||
'title' => '计划任务管理', | |||||
'description' => '可以添加一个指定时间运行的程序', | |||||
'purview' => 'sys_task', | |||||
'linkurl' => 'sys_task.php' | |||||
), | |||||
11 => array( | 11 => array( | ||||
'title' => '数据库备份/还原', | 'title' => '数据库备份/还原', | ||||
'description' => '对数据库进行备份和还原', | 'description' => '对数据库进行备份和还原', | ||||
@@ -14,7 +14,7 @@ require_once(DEDEINC . '/image.func.php'); | |||||
require_once(DEDEINC . '/archives.func.php'); | require_once(DEDEINC . '/archives.func.php'); | ||||
require_once(DEDEINC . '/arc.partview.class.php'); | require_once(DEDEINC . '/arc.partview.class.php'); | ||||
$backurl = !empty($_COOKIE['ENV_GOBACK_URL']) ? $_COOKIE['ENV_GOBACK_URL'] : ''; | $backurl = !empty($_COOKIE['ENV_GOBACK_URL']) ? $_COOKIE['ENV_GOBACK_URL'] : ''; | ||||
$backurl = preg_match("#content_#", $backurl) ? "<a href='$backurl' class='btn btn-secondary btn-sm'>记忆的列表页</a> " : ''; | |||||
$backurl = preg_match("#content_#", $backurl) ? "<a href='$backurl' class='btn btn-success btn-sm'>记忆的列表页</a> " : ''; | |||||
if (!isset($_NOT_ARCHIVES)) { | if (!isset($_NOT_ARCHIVES)) { | ||||
require_once(DEDEINC . '/customfields.func.php'); | require_once(DEDEINC . '/customfields.func.php'); | ||||
} | } | ||||
@@ -64,7 +64,6 @@ if ($cuserLogin->getUserType() >= 10) { | |||||
<m:item name='软件频道设置' link='soft_config.php' rank='sys_SoftConfig' target='main' /> | <m:item name='软件频道设置' link='soft_config.php' rank='sys_SoftConfig' target='main' /> | ||||
<m:item name='防采集串混淆' link='article_string_mix.php' rank='sys_StringMix' target='main' /> | <m:item name='防采集串混淆' link='article_string_mix.php' rank='sys_StringMix' target='main' /> | ||||
<m:item name='随机模板设置' link='article_template_rand.php' rank='sys_StringMix' target='main' /> | <m:item name='随机模板设置' link='article_template_rand.php' rank='sys_StringMix' target='main' /> | ||||
<m:item name='计划任务管理' link='sys_task.php' rank='sys_Task' target='main' /> | |||||
<m:item name='数据库备份/还原' link='sys_data.php' rank='sys_Data' target='main' /> | <m:item name='数据库备份/还原' link='sys_data.php' rank='sys_Data' target='main' /> | ||||
<m:item name='SQL命令行工具' link='sys_sql_query.php' rank='sys_Data' target='main' /> | <m:item name='SQL命令行工具' link='sys_sql_query.php' rank='sys_Data' target='main' /> | ||||
<m:item name='病毒扫描[S]' link='sys_safetest.php' rank='sys_verify' target='main' /> | <m:item name='病毒扫描[S]' link='sys_safetest.php' rank='sys_verify' target='main' /> | ||||
@@ -82,7 +81,6 @@ if ($cuserLogin->getUserType() >= 10) { | |||||
</m:top> | </m:top> | ||||
"; | "; | ||||
} | } | ||||
$remoteMenu = ($cfg_remote_site == 'Y') ? "<m:item name='远程服务器同步' link='makeremote_all.php' rank='sys_ArcBatch' target='main' />" : ""; | |||||
$menusMain = " | $menusMain = " | ||||
----------------------------------------------- | ----------------------------------------------- | ||||
@@ -122,7 +120,6 @@ $adminMenu1 | |||||
<m:top item='5_' name='自动任务' notshowall='1' display='block' rank='sys_MakeHtml'> | <m:top item='5_' name='自动任务' notshowall='1' display='block' rank='sys_MakeHtml'> | ||||
<m:item name='一键更新网站' link='makehtml_all.php' rank='sys_MakeHtml' target='main' /> | <m:item name='一键更新网站' link='makehtml_all.php' rank='sys_MakeHtml' target='main' /> | ||||
<m:item name='更新系统缓存' link='sys_cache_up.php' rank='sys_ArcBatch' target='main' /> | <m:item name='更新系统缓存' link='sys_cache_up.php' rank='sys_ArcBatch' target='main' /> | ||||
{$remoteMenu} | |||||
</m:top> | </m:top> | ||||
<m:top item='5_' name='HTML更新' notshowall='1' display='none' rank='sys_MakeHtml'> | <m:top item='5_' name='HTML更新' notshowall='1' display='none' rank='sys_MakeHtml'> | ||||
@@ -108,7 +108,6 @@ $menusMain = " | |||||
<m:item name='软件频道设置' link='soft_config.php' rank='sys_SoftConfig' target='main' /> | <m:item name='软件频道设置' link='soft_config.php' rank='sys_SoftConfig' target='main' /> | ||||
<m:item name='防采集串混淆' link='article_string_mix.php' rank='sys_StringMix' target='main' /> | <m:item name='防采集串混淆' link='article_string_mix.php' rank='sys_StringMix' target='main' /> | ||||
<m:item name='随机模板设置' link='article_template_rand.php' rank='sys_StringMix' target='main' /> | <m:item name='随机模板设置' link='article_template_rand.php' rank='sys_StringMix' target='main' /> | ||||
<m:item name='计划任务管理' link='sys_task.php' rank='sys_Task' target='main' /> | |||||
<m:item name='数据库备份/还原' link='sys_data.php' rank='sys_Data' target='main' /> | <m:item name='数据库备份/还原' link='sys_data.php' rank='sys_Data' target='main' /> | ||||
<m:item name='SQL命令行工具' link='sys_sql_query.php' rank='sys_Data' target='main' /> | <m:item name='SQL命令行工具' link='sys_sql_query.php' rank='sys_Data' target='main' /> | ||||
<m:item name='病毒扫描[S]' link='sys_safetest.php' rank='sys_verify' target='main' /> | <m:item name='病毒扫描[S]' link='sys_safetest.php' rank='sys_verify' target='main' /> | ||||
@@ -137,7 +137,7 @@ if (IsWritable(DEDEDATA . '/common.inc.php')) { | |||||
} | } | ||||
$rs = TestAdminPWD(); | $rs = TestAdminPWD(); | ||||
if ($rs < 0) { | if ($rs < 0) { | ||||
$linkurl = "<a href='sys_admin_user.php' class='btn btn-secondary btn-sm'>马上修改</a>"; | |||||
$linkurl = "<a href='sys_admin_user.php' class='btn btn-success btn-sm'>马上修改</a>"; | |||||
switch ($rs) { | switch ($rs) { | ||||
case -1: | case -1: | ||||
$msg = "没有更改默认管理员名称admin,建议您修改为其他管理账号!{$linkurl}"; | $msg = "没有更改默认管理员名称admin,建议您修改为其他管理账号!{$linkurl}"; | ||||
@@ -1,94 +1,86 @@ | |||||
a { | a { | ||||
font-size:12px; | |||||
} | |||||
.WebFX-ContextMenu { | |||||
border: 0;/*2px outset;*/ | |||||
font-size: 12px; | |||||
} | |||||
.WebFX-ContextMenu { | |||||
border: 0; | |||||
/*2px outset;*/ | |||||
width: 10px; | width: 10px; | ||||
} | |||||
} | |||||
.WebFX-ContextMenu-Body { | |||||
.WebFX-ContextMenu-Body { | |||||
background-color: #EEFFEC; | background-color: #EEFFEC; | ||||
background-image:url('../images/mmenubg.gif'); | |||||
margins: 0px; | |||||
padding: 1px; | |||||
background-image: url('../images/mmenubg.gif'); | |||||
margin: 0px; | |||||
padding: 1px; | |||||
border: 1px solid #E0E7C9; | border: 1px solid #E0E7C9; | ||||
} | |||||
.WebFX-ContextMenu-Separator | |||||
{ | |||||
font-size: 0pt; | |||||
border: 1px dotted #E0E7C9; | |||||
height: 1px; | |||||
overflow: hidden; | |||||
} | |||||
.WebFX-ContextMenu-Separator { | |||||
font-size: 0pt; | |||||
border: 1px dotted #E0E7C9; | |||||
height: 1px; | |||||
overflow: hidden; | |||||
margin: 3px 1px 3px 1px; | margin: 3px 1px 3px 1px; | ||||
} | } | ||||
.WebFX-ContextMenu-Item { | |||||
cursor: default; | |||||
font: menu; | |||||
color: black!important; | |||||
width: 100%; | |||||
.WebFX-ContextMenu-Item { | |||||
cursor: default; | |||||
font: menu; | |||||
font-size: 13px; | |||||
color: black !important; | |||||
width: 100%; | |||||
padding: 2px 20px 2px 16px; | padding: 2px 20px 2px 16px; | ||||
} | |||||
} | |||||
.WebFX-ContextMenu-Over { | |||||
cursor: default; | |||||
background-color: highlight; | |||||
font: menu; | |||||
width: 100%; | |||||
.WebFX-ContextMenu-Over { | |||||
cursor: default; | |||||
background-color: highlight; | |||||
font: menu; | |||||
font-size: 13px; | |||||
width: 100%; | |||||
padding: 2px 20px 2px 16px; | padding: 2px 20px 2px 16px; | ||||
color: highlighttext; | color: highlighttext; | ||||
} | |||||
} | |||||
.WebFX-ContextMenu-Disabled { | |||||
cursor: default; | |||||
.WebFX-ContextMenu-Disabled { | |||||
cursor: default; | |||||
font: menu; | font: menu; | ||||
width: 100%; | |||||
width: 100%; | |||||
padding: 2px 20px 2px 16px; | padding: 2px 20px 2px 16px; | ||||
color:graytext; | |||||
} | |||||
color: graytext; | |||||
} | |||||
.WebFX-ContextMenu-Disabled-Over { | |||||
cursor: default; | |||||
background-color: highlight; | |||||
font: menu; | |||||
width: 100%; | |||||
.WebFX-ContextMenu-Disabled-Over { | |||||
cursor: default; | |||||
background-color: highlight; | |||||
font: menu; | |||||
width: 100%; | |||||
padding: 2px 20px 2px 16px; | padding: 2px 20px 2px 16px; | ||||
color: graytext; | color: graytext; | ||||
} | |||||
.WebFX-ContextMenu-Disabled-Over .WebFX-ContextMenu-DisabledContainer | |||||
{ | |||||
display: block; | |||||
width: 100%; | |||||
vertical-align: center; | |||||
} | |||||
} | |||||
/*very nice hack by erik below */ | |||||
.WebFX-ContextMenu-Disabled .WebFX-ContextMenu-DisabledContainer | |||||
{ | |||||
display: block; | |||||
background: GrayText; | |||||
filter: chroma(color=#010101) dropshadow(color=ButtonHighlight, offx=1, offy=1); | |||||
width: 100%; | |||||
vertical-align: center; | |||||
} | |||||
.WebFX-ContextMenu-Disabled-Over .WebFX-ContextMenu-DisabledContainer { | |||||
display: block; | |||||
width: 100%; | |||||
vertical-align: center; | |||||
} | |||||
.WebFX-ContextMenu-Disabled .WebFX-ContextMenu-DisabledContainer .WebFX-ContextMenu-DisabledContainer | |||||
{ | |||||
background: Transparent; | |||||
filter: gray() | |||||
/* Remove all bright shades of gray */ | |||||
chroma(color=#ffffff) chroma(color=#fefefe) chroma(color=#fdfdfd) | |||||
chroma(color=#fcfcfc) chroma(color=#fbfbfb) chroma(color=#fafafa) | |||||
chroma(color=#f9f9f9) chroma(color=#f8f8f8) chroma(color=#f7f7f7) | |||||
chroma(color=#f6f6f6) chroma(color=#f5f5f5) chroma(color=#f4f4f4) | |||||
chroma(color=#f3f3f3) | |||||
mask(color=#010101); | |||||
} | |||||
/*very nice hack by erik below */ | |||||
.WebFX-ContextMenu-Disabled .WebFX-ContextMenu-DisabledContainer { | |||||
display: block; | |||||
background: GrayText; | |||||
filter: chroma(color=#010101) dropshadow(color=ButtonHighlight, offx=1, offy=1); | |||||
width: 100%; | |||||
vertical-align: center; | |||||
} | |||||
.WebFX-ContextMenu-Disabled-Over .WebFX-ContextMenu-DisabledContainer .WebFX-ContextMenu-DisabledContainer | |||||
{ | |||||
.WebFX-ContextMenu-Disabled .WebFX-ContextMenu-DisabledContainer .WebFX-ContextMenu-DisabledContainer { | |||||
background: Transparent; | |||||
filter: gray() | |||||
/* Remove all bright shades of gray */ | |||||
chroma(color=#ffffff) chroma(color=#fefefe) chroma(color=#fdfdfd) chroma(color=#fcfcfc) chroma(color=#fbfbfb) chroma(color=#fafafa) chroma(color=#f9f9f9) chroma(color=#f8f8f8) chroma(color=#f7f7f7) chroma(color=#f6f6f6) chroma(color=#f5f5f5) chroma(color=#f4f4f4) chroma(color=#f3f3f3) mask(color=#010101); | |||||
} | |||||
} | |||||
.WebFX-ContextMenu-Disabled-Over .WebFX-ContextMenu-DisabledContainer .WebFX-ContextMenu-DisabledContainer {} |
@@ -758,7 +758,7 @@ $(document).ready(function () { | |||||
// 截取缩略图 | // 截取缩略图 | ||||
function SetThumb(srcURL) { | function SetThumb(srcURL) { | ||||
var footer = | var footer = | ||||
"<p><a href='javascript:useDefault(\"~modalID~\");' class='btn btn-secondary'>使用原图</a> <a href='?' class='btn btn-secondary' data-dismiss='modal' aria-label='Close'>确定</a></p>"; | |||||
"<p><a href='javascript:useDefault(\"~modalID~\");' class='btn btn-success'>使用原图</a> <a href='?' class='btn btn-success' data-dismiss='modal' aria-label='Close'>确定</a></p>"; | |||||
var optButton = `<p><div class="form-group"> | var optButton = `<p><div class="form-group"> | ||||
<label for="aspectRatio">比例</label> | <label for="aspectRatio">比例</label> | ||||
<select class="form-control" id="aspectRatio" onchange="setAspectRatio(this.selectedIndex)"> | <select class="form-control" id="aspectRatio" onchange="setAspectRatio(this.selectedIndex)"> | ||||
@@ -81,12 +81,12 @@ if ($dopost == "view") { | |||||
$pv->SetTemplet($cfg_basedir . $cfg_templets_dir . "/" . $templet); | $pv->SetTemplet($cfg_basedir . $cfg_templets_dir . "/" . $templet); | ||||
$pv->SaveToHtml($homeFile); | $pv->SaveToHtml($homeFile); | ||||
echo "<link rel=\"stylesheet\" href=\"{$cfg_cmsurl}/static/css/bootstrap.min.css\"><style>.modal {position: static;}</style>"; | echo "<link rel=\"stylesheet\" href=\"{$cfg_cmsurl}/static/css/bootstrap.min.css\"><style>.modal {position: static;}</style>"; | ||||
echo "<div class=\"alert alert-success\" role=\"alert\">成功更新主页HTML:" . $homeFile . "<br /><a href='{$position}' target='_blank' class='btn btn-secondary'>浏览...</a></div><br />"; | |||||
echo "<div class=\"alert alert-success\" role=\"alert\">成功更新主页HTML:" . $homeFile . "<br /><a href='{$position}' target='_blank' class='btn btn-success'>浏览...</a></div><br />"; | |||||
} else { | } else { | ||||
// 动态浏览 | // 动态浏览 | ||||
if (file_exists($homeFile)) @unlink($homeFile); | if (file_exists($homeFile)) @unlink($homeFile); | ||||
echo "<link rel=\"stylesheet\" href=\"{$cfg_cmsurl}/static/css/bootstrap.min.css\"><style>.modal {position: static;}</style>"; | echo "<link rel=\"stylesheet\" href=\"{$cfg_cmsurl}/static/css/bootstrap.min.css\"><style>.modal {position: static;}</style>"; | ||||
echo "<div class=\"alert alert-success\" role=\"alert\">采用动态浏览模式:<a href='../index.php' target='_blank' class='btn btn-secondary'>浏览...</a></div><br />"; | |||||
echo "<div class=\"alert alert-success\" role=\"alert\">采用动态浏览模式:<a href='../index.php' target='_blank' class='btn btn-success'>浏览...</a></div><br />"; | |||||
} | } | ||||
$iquery = "UPDATE `#@__homepageset` SET showmod='$showmod'"; | $iquery = "UPDATE `#@__homepageset` SET showmod='$showmod'"; | ||||
@@ -33,5 +33,5 @@ $dtp->LoadTemplet($tmpfile); | |||||
$dtp->SaveTo($cfg_basedir . $murl); | $dtp->SaveTo($cfg_basedir . $murl); | ||||
$dtp->Clear(); | $dtp->Clear(); | ||||
echo "<link rel=\"stylesheet\" href=\"{$cfg_cmsurl}/static/css/bootstrap.min.css\"><style>.modal {position: static;}</style>"; | echo "<link rel=\"stylesheet\" href=\"{$cfg_cmsurl}/static/css/bootstrap.min.css\"><style>.modal {position: static;}</style>"; | ||||
echo "<div class=\"alert alert-success\" role=\"alert\">成功更新文件: $murl <a href='$murl' target='_blank' class='btn btn-secondary'>浏览...</a></div>"; | |||||
echo "<div class=\"alert alert-success\" role=\"alert\">成功更新文件: $murl <a href='$murl' target='_blank' class='btn btn-success'>浏览...</a></div>"; | |||||
exit(); | exit(); |
@@ -18,7 +18,7 @@ if ($dopost == "ok") { | |||||
$sp = new SpecView(); | $sp = new SpecView(); | ||||
$rurl = $sp->MakeHtml(0); | $rurl = $sp->MakeHtml(0); | ||||
echo "<link rel=\"stylesheet\" href=\"{$cfg_cmsurl}/static/css/bootstrap.min.css\"><style>.modal {position: static;}</style>"; | echo "<link rel=\"stylesheet\" href=\"{$cfg_cmsurl}/static/css/bootstrap.min.css\"><style>.modal {position: static;}</style>"; | ||||
echo "<div class=\"alert alert-success\" role=\"alert\">成功生成所有专题HTML列表!<a href='$rurl' target='_blank' class='btn btn-secondary'>预览</a></div>"; | |||||
echo "<div class=\"alert alert-success\" role=\"alert\">成功生成所有专题HTML列表!<a href='$rurl' target='_blank' class='btn btn-success'>预览</a></div>"; | |||||
exit(); | exit(); | ||||
} | } | ||||
include DedeInclude('templets/makehtml_spec.htm'); | include DedeInclude('templets/makehtml_spec.htm'); |
@@ -1,300 +0,0 @@ | |||||
<?php | |||||
/** | |||||
* 远程发布 | |||||
* | |||||
* @version $Id: makeremote_all.php 1 11:17 2010年7月19日Z tianya $ | |||||
* @package DedeBIZ.Administrator | |||||
* @copyright Copyright (c) 2021, DedeBIZ.COM | |||||
* @license https://www.dedebiz.com/license | |||||
* @link https://www.dedebiz.com | |||||
*/ | |||||
require_once(dirname(__FILE__) . "/config.php"); | |||||
CheckPurview('sys_MakeHtml'); | |||||
require_once(DEDEINC . "/arc.partview.class.php"); | |||||
if ($cfg_remote_site == 'N') exit('Error:$cfg_remote_site is OFF,Check it!'); | |||||
//生成必须同步服务器的列表 | |||||
if (file_exists(DEDEDATA . '/config.file.inc.php')) { | |||||
require_once(DEDEDATA . '/config.file.inc.php'); | |||||
} | |||||
if (empty($dopost)) $dopost = ''; | |||||
$step = !isset($step) ? 1 : $step; | |||||
$sta = !isset($sta) ? 0 : $sta; | |||||
$totalnum = !isset($totalnum) ? 0 : $totalnum; | |||||
$maketype = empty($maketype) ? '' : $maketype; | |||||
//获取同步状态 | |||||
function GetState($val) | |||||
{ | |||||
$color = ($val == 0) ? 'red' : 'green'; | |||||
$signer = ($val == 0) ? '未同步' : '已同步'; | |||||
return '<font color="' . $color . '">' . $signer . '</font>'; | |||||
} | |||||
//生成远程目录数组 | |||||
function addDir($filedir = '', $description = '', $dfserv = 0, $state = 0, $issystem = 0) | |||||
{ | |||||
return array( | |||||
'filedir' => $filedir, | |||||
'description' => $description, | |||||
'dfserv' => $dfserv, | |||||
'state' => $state, | |||||
'issystem' => $issystem | |||||
); | |||||
} | |||||
//将配置数组生成配置内容 | |||||
function makeConfig($dirarray = array()) | |||||
{ | |||||
$config_str = ''; | |||||
foreach ($dirarray as $k => $val) { | |||||
$config_str .= '$remotefile[' . $k . '] = array(' . "\n"; | |||||
$config_str .= ' \'filedir\'=>\'' . $val['filedir'] . "',\n"; | |||||
$config_str .= ' \'description\'=>\'' . $val['description'] . "',\n"; | |||||
$config_str .= ' \'dfserv\'=>' . $val['dfserv'] . ",\n"; | |||||
$config_str .= ' \'state\'=>' . $val['state'] . ",\n"; | |||||
$config_str .= ' \'issystem\'=>' . $val['issystem'] . "\n"; | |||||
$config_str .= ");\n"; | |||||
} | |||||
return ($config_str == '') ? '' : $config_str; | |||||
} | |||||
//递归获取目录 by:tianya | |||||
function getDirs($directory, $exempt = array('.', '..', '.ds_store', '.svn'), &$files = array()) | |||||
{ | |||||
//没有则创建 | |||||
if (is_dir($directory) && !opendir($directory)) mkdir($directory, 0777, TRUE); | |||||
$handle = opendir($directory); | |||||
while (false !== ($resource = readdir($handle))) { | |||||
if (!in_array(strtolower($resource), $exempt)) { | |||||
//排除目录 | |||||
if (is_dir($directory . $resource . '/')) { | |||||
array_merge( | |||||
$files, | |||||
getDirs($directory . $resource . '/', $exempt, $files) | |||||
); | |||||
} else { | |||||
//if(!is_file($directory.'/'.$resource)) | |||||
//{ | |||||
$files[] = $directory . '/' . $resource; | |||||
//} | |||||
} | |||||
} | |||||
} | |||||
closedir($handle); | |||||
return $files; | |||||
} | |||||
function updateConfig($dirarray = array()) | |||||
{ | |||||
//将其转换为配置写入文件 | |||||
$configfile = DEDEDATA . '/config.file.inc.php'; | |||||
$old_config = @file_get_contents($configfile); | |||||
$config_str = makeConfig($dirarray); | |||||
//替换配置项 | |||||
$new_config = preg_replace("/#<s_config>(.*)#<e_config>/s", "#<s_config>\n\n{$config_str}#<e_config>", $old_config); | |||||
file_put_contents($configfile, $new_config); | |||||
} | |||||
if ($dopost == '') { | |||||
} | |||||
/* | |||||
function Updateremote() | |||||
*/ else if ($dopost == 'updateremote') { | |||||
$dirbox = array(); // 定义一个目录容器,确保目录的唯一性 | |||||
//获取所有HTML生成文件夹列表 | |||||
$query = "SELECT id,typedir,ispart FROM #@__arctype WHERE ispart <> '3'"; | |||||
$dsql->SetQuery($query); | |||||
$dsql->Execute('al'); | |||||
$dirarray = array(); | |||||
$i = 0; | |||||
while ($row = $dsql->GetArray("al")) { | |||||
$darray = explode('/', preg_replace('/{cmspath}/', '', $row['typedir'])); | |||||
//仅获取顶级目录作为文件同步更新目录 | |||||
if (!in_array($darray[1], $dirbox)) { | |||||
$dirarray[$i] = addDir('/' . $darray[1], '文档HTML默认保存路', 0, 0, 1); | |||||
$dirbox[] = $darray[1]; | |||||
$i++; | |||||
} | |||||
} | |||||
//系统附件存放目录 | |||||
$dirarray[$i++] = addDir($cfg_medias_dir, '图片/上传文件默认路径', 0, 0, 1); | |||||
//专题目录 | |||||
$dirarray[$i++] = addDir('/special', '专题目录', 0, 0, 1); | |||||
//data/js目录 | |||||
$dirarray[$i++] = addDir('/data/js', '生成js目录', 0, 0, 1); | |||||
//$remotefile = array(); | |||||
//把非系统目录的内容提取出来 | |||||
foreach ($remotefile as $key => $value) { | |||||
//处理用户自定义配置 | |||||
if ($value['issystem'] == 0) { | |||||
$dirarray[$i++] = addDir( | |||||
$value['filedir'], | |||||
$value['description'], | |||||
$value['dfserv'], | |||||
$value['state'], | |||||
$value['issystem'] | |||||
); | |||||
} | |||||
} | |||||
updateConfig($dirarray); | |||||
ShowMsg("成功更新同步目录,请重新对目录进行同步操作!", "makeremote_all.php"); | |||||
exit; | |||||
} | |||||
/* | |||||
function Make()&MakeAll() | |||||
*/ else if ($dopost == 'make') { | |||||
if ($step == 1) { | |||||
if ($maketype == 'makeall') { | |||||
//如果更新所有,则需要重新组合$Iterm | |||||
foreach ($remotefile as $key => $val) { | |||||
$Iterm[] = $val['filedir']; | |||||
} | |||||
} else { | |||||
//初始化配置 | |||||
$Iterm = !isset($Iterm) ? array() : $Iterm; | |||||
} | |||||
$serviterm = !isset($serviterm) ? array() : $serviterm; | |||||
$cacheMakeFile = DEDEDATA . '/cache/filelist.inc.php'; | |||||
$dirlist = $alllist = $updir = array(); | |||||
$dirindex = 0; //目录统一索引 | |||||
//采用比较人性化的更新方式进行提示更新 | |||||
//初始化本地文件夹底层的子集目录 | |||||
if (count($Iterm) > 0) { | |||||
//获取远程文件(夹)列表 | |||||
foreach ($Iterm as $key => $val) { | |||||
$config = $serviterm[$key]; | |||||
if (is_array($dirlist = getDirs(DEDEROOT . $val))) { | |||||
foreach ($dirlist as $k => $v) { | |||||
$alllist[] = $v . '|' . $config; | |||||
if (!in_array($val, array_values($updir))) $updir[] = $val; | |||||
} | |||||
} | |||||
} | |||||
//遍历文件夹列表,如果存在子集文件夹大于3的则需要进行细分 | |||||
//将列表写入缓存 | |||||
$cachestr = "<?php \n global \$dirlist,\$upremote;\n \$dirlist=array();\n"; | |||||
foreach ($alllist as $key => $val) { | |||||
list($filename, $fileconfig) = explode('|', $val); | |||||
if (is_dir($filename)) { | |||||
$deepDir = getDirs($filename); | |||||
$dd = 0; | |||||
//先遍历一遍确定子集文件夹数目 | |||||
foreach ($deepDir as $k => $v) { | |||||
if (is_dir($v)) $dd++; | |||||
} | |||||
if ($dd > 3) { | |||||
//如果自己文件夹数目大于3则 | |||||
foreach ($deepDir as $k => $v) { | |||||
$v .= '|' . $fileconfig; | |||||
$cachestr .= " \$dirlist['$dirindex']='$v';\n"; | |||||
$dirindex++; | |||||
} | |||||
} else { | |||||
$cachestr .= " \$dirlist['$dirindex']='$val';\n"; | |||||
$dirindex++; | |||||
} | |||||
} | |||||
} | |||||
foreach ($updir as $key => $val) { | |||||
$cachestr .= " \$upremote['$key']='$val';\n"; | |||||
} | |||||
$cachestr .= "?>"; | |||||
file_put_contents($cacheMakeFile, $cachestr); | |||||
$tnum = count($alllist); | |||||
ShowMsg("成功获取远程列表,下面进行文件远程发布!", "makeremote_all.php?dopost=make&step=2&sta=1&totalnum=$tnum"); | |||||
exit; | |||||
} else { | |||||
echo '您没有选择,请先选择再点击更新!'; | |||||
} | |||||
exit; | |||||
} elseif ($step == 2) { | |||||
if (file_exists(DEDEDATA . '/cache/filelist.inc.php')) { | |||||
require_once(DEDEDATA . '/cache/filelist.inc.php'); | |||||
} | |||||
if (is_array($dirlist)) { | |||||
if ($sta > 0 && $sta < $totalnum) { | |||||
list($dirname, $ftpconfig) = explode('|', $dirlist[$sta - 1]); | |||||
list($servurl, $servuser, $servpwd) = explode(',', $ftpconfig); | |||||
$config = array( | |||||
'hostname' => $servurl, 'username' => $servuser, | |||||
'password' => $servpwd, 'debug' => 'TRUE' | |||||
); | |||||
if ($ftp->connect($config)) { | |||||
//var_dump(is_dir($dirname));exit; | |||||
if (is_dir($dirname)) { | |||||
//如果是文件目录 | |||||
$remotedir = str_replace(DEDEROOT, '', $dirname) . '/'; | |||||
$localdir = '..' . $remotedir . '/'; | |||||
$ftp->rmkdir($remotedir); | |||||
if ($ftp->mirror($localdir, $remotedir)) { | |||||
$sta++; | |||||
ShowMsg("成功同步文件夹$remotedir,进入下一个任务", "makeremote_all.php?dopost=make&step=2&sta={$sta}&totalnum=$totalnum"); | |||||
exit; | |||||
} | |||||
} else { | |||||
$remotefile = str_replace(DEDEROOT, '', $dirname); | |||||
$localfile = '..' . $remotefile; | |||||
//创建远程文件夹 | |||||
$remotedir = preg_replace('/[^\/]*\.(\w){0,}/', '', $remotefile); | |||||
//如果是文件则需要智能处理 | |||||
$remotebox = array(); | |||||
$ftp->rmkdir($remotedir); | |||||
foreach ($dirlist as $key => $val) { | |||||
list($filename, $fileconfig) = explode('|', $val); | |||||
if (preg_replace('/[^\/]*\.(\w){0,}/', '', str_replace(DEDEROOT, '', $filename)) == $remotedir) { | |||||
//如果这些文件都在同一目录,则统计这些记录的id项目 | |||||
$remotebox[] = $key; | |||||
} | |||||
} | |||||
//print_r($remotebox); | |||||
//if(count($remotebox) > 1 && count($remotebox) < 20) | |||||
if (count($remotebox) > 1) { | |||||
//如果大于1,则说明有多条记录在同一文件夹内 | |||||
$localdir = '..' . $remotedir; | |||||
if ($ftp->mirror($localdir, $remotedir)) { | |||||
$sta = end($remotebox) + 1; | |||||
ShowMsg("成功同步文件夹$remotedir,进入下一个任务", "makeremote_all.php?dopost=make&step=2&sta={$sta}&totalnum=$totalnum"); | |||||
exit; | |||||
} | |||||
} else { | |||||
if ($ftp->upload($localfile, $remotefile)) { | |||||
$sta++; | |||||
ShowMsg("成功同步文件$remotefile,进入下一个任务", "makeremote_all.php?dopost=make&step=2&sta={$sta}&totalnum=$totalnum"); | |||||
exit; | |||||
} | |||||
} | |||||
} | |||||
} | |||||
} else { | |||||
//否则成功更新完毕 | |||||
foreach ($remotefile as $key => $val) { | |||||
if (in_array($val['filedir'], array_values($upremote))) { | |||||
$remotefile[$key]['state'] = 1; | |||||
} | |||||
} | |||||
updateConfig($remotefile); | |||||
@unlink(DEDEDATA . '/cache/filelist.inc.php'); | |||||
echo '全部同步完毕!'; | |||||
exit; | |||||
} | |||||
} else { | |||||
exit('Error:None remote cache file exist!'); | |||||
} | |||||
exit; | |||||
} | |||||
} | |||||
include DedeInclude('templets/makeremote_all.htm'); |
@@ -25,24 +25,17 @@ if ($dopost == 'del') { | |||||
$ids = ""; | $ids = ""; | ||||
} | } | ||||
if ($ids == "") { | if ($ids == "") { | ||||
$myrow = $dsql->GetOne("SELECT url FROM #@__uploads WHERE aid='" . $aid . "'"); | |||||
$myrow = $dsql->GetOne("SELECT url FROM `#@__uploads` WHERE aid='" . $aid . "'"); | |||||
$truefile = $cfg_basedir . $myrow['url']; | $truefile = $cfg_basedir . $myrow['url']; | ||||
$rs = 0; | $rs = 0; | ||||
if (!file_exists($truefile) || $myrow['url'] == "") { | if (!file_exists($truefile) || $myrow['url'] == "") { | ||||
$rs = 1; | $rs = 1; | ||||
} else { | } else { | ||||
$rs = @unlink($truefile); | $rs = @unlink($truefile); | ||||
//如果开启远程附件则需要同步删除文件 | |||||
if ($cfg_remote_site == 'Y') { | |||||
if ($ftp->connect($ftpconfig) && $remoteuploads == 1) { | |||||
$remotefile = str_replace(DEDEROOT, '', $truefile); | |||||
$ftp->delete_file($remotefile); | |||||
} | |||||
} | |||||
} | } | ||||
if ($rs == 1) { | if ($rs == 1) { | ||||
$msg = "成功删除一个附件!"; | $msg = "成功删除一个附件!"; | ||||
$dsql->ExecuteNoneQuery("DELETE FROM #@__uploads WHERE aid='" . $aid . "'"); | |||||
$dsql->ExecuteNoneQuery("DELETE FROM `#@__uploads` WHERE aid='" . $aid . "'"); | |||||
} | } | ||||
ShowMsg($msg, $backurl); | ShowMsg($msg, $backurl); | ||||
exit(); | exit(); | ||||
@@ -56,13 +49,9 @@ if ($dopost == 'del') { | |||||
$idquery .= " OR aid='$aid' "; | $idquery .= " OR aid='$aid' "; | ||||
} | } | ||||
} | } | ||||
$dsql->SetQuery("SELECT aid,url FROM #@__uploads $idquery "); | |||||
$dsql->SetQuery("SELECT aid,url FROM `#@__uploads` $idquery "); | |||||
$dsql->Execute(); | $dsql->Execute(); | ||||
//如果开启远程附件则需要同步删除文件 | |||||
if ($cfg_remote_site == 'Y' && $remoteuploads == 1) { | |||||
$ftp->connect($ftpconfig); | |||||
} | |||||
while ($myrow = $dsql->GetArray()) { | while ($myrow = $dsql->GetArray()) { | ||||
$truefile = $cfg_basedir . $myrow['url']; | $truefile = $cfg_basedir . $myrow['url']; | ||||
$rs = 0; | $rs = 0; | ||||
@@ -70,13 +59,9 @@ if ($dopost == 'del') { | |||||
$rs = 1; | $rs = 1; | ||||
} else { | } else { | ||||
$rs = @unlink($truefile); | $rs = @unlink($truefile); | ||||
if ($cfg_remote_site == 'Y' && $remoteuploads == 1) { | |||||
$remotefile = str_replace(DEDEROOT, '', $truefile); | |||||
$ftp->delete_file($remotefile); | |||||
} | |||||
} | } | ||||
if ($rs == 1) { | if ($rs == 1) { | ||||
$dsql->ExecuteNoneQuery("DELETE FROM #@__uploads WHERE aid='" . $myrow['aid'] . "'"); | |||||
$dsql->ExecuteNoneQuery("DELETE FROM `#@__uploads` WHERE aid='" . $myrow['aid'] . "'"); | |||||
} | } | ||||
} | } | ||||
ShowMsg('成功删除选定的文件!', $backurl); | ShowMsg('成功删除选定的文件!', $backurl); | ||||
@@ -89,7 +74,7 @@ function __save_edit() //保存更改 | |||||
if ($aid == "") exit(); | if ($aid == "") exit(); | ||||
CheckCSRF(); | CheckCSRF(); | ||||
//检查是否有修改权限 | //检查是否有修改权限 | ||||
$myrow = $dsql->GetOne("SELECT * FROM #@__uploads WHERE aid='" . $aid . "'"); | |||||
$myrow = $dsql->GetOne("SELECT * FROM `#@__uploads` WHERE aid='" . $aid . "'"); | |||||
if ($myrow['mid'] != $cuserLogin->getUserID()) { | if ($myrow['mid'] != $cuserLogin->getUserID()) { | ||||
CheckPurview('sys_Upload'); | CheckPurview('sys_Upload'); | ||||
} | } | ||||
@@ -102,7 +102,7 @@ function ViewDevelopoer(); | |||||
$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-secondary 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 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:;"); | |||||
exit; | exit; | ||||
} | } | ||||
/*-------------- | /*-------------- | ||||
@@ -180,7 +180,7 @@ function Setup(); | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>开发者ID:</td> | <td height='28' class='dtb'>开发者ID:</td> | ||||
<td class='dtb'>{$infos['dev_id']} <a class='btn btn-secondary btn-sm' target='_blank' href='{$cfg_biz_dedebizUrl}/developer?dev_id={$infos['dev_id']}'>查看详情</a></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> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='28' class='dtb'>发布时间:</td> | <td height='28' class='dtb'>发布时间:</td> | ||||
@@ -315,7 +315,7 @@ function DelModule(); | |||||
$infos = $dm->GetModuleInfo($hash); | $infos = $dm->GetModuleInfo($hash); | ||||
$alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '<br /><font color="red">(这个模块的语言编码与你系统的编码不一致,请向开发者确认它的兼容性)</font>'); | $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-secondary btn-sm' target='_blank' href='{$cfg_biz_dedebizUrl}/developer?dev_id={$infos['dev_id']}'>查看详情</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>"; | |||||
$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 = "模块管理"; | ||||
@@ -384,7 +384,7 @@ 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-secondary btn-sm' target='_blank' href='{$cfg_biz_dedebizUrl}/developer?dev_id={$infos['dev_id']}'>查看详情</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>"; | |||||
$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 = "模块管理"; | ||||
@@ -522,7 +522,7 @@ 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-secondary btn-sm' target='_blank' href='{$cfg_biz_dedebizUrl}/developer?dev_id={$infos['dev_id']}'>查看详情</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>"; | |||||
$win = new OxWindow(); | $win = new OxWindow(); | ||||
$win->Init("", "js/blank.js", ""); | $win->Init("", "js/blank.js", ""); | ||||
$wecome_info = "模块管理"; | $wecome_info = "模块管理"; | ||||
@@ -92,8 +92,8 @@ function GetKeywordList($dsql, $pageno, $pagesize, $orderby = 'aid') | |||||
<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'><u>{$row['result']}</u></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-secondary btn-sm'>更新</a> | | |||||
<a href='#' onclick='DelNote({$row['aid']})' class='btn btn-secondary btn-sm'>删除</a> | |||||
<a href='#' onclick='UpdateNote({$row['aid']})' class='btn btn-success btn-sm'>更新</a> | | |||||
<a href='#' onclick='DelNote({$row['aid']})' class='btn btn-success btn-sm'>删除</a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
"; | "; | ||||
@@ -101,9 +101,9 @@ function GetKeywordList($dsql, $pageno, $pagesize, $orderby = 'aid') | |||||
} | } | ||||
echo " <tr align='left' bgcolor='#ffffff' height='30'> | echo " <tr align='left' bgcolor='#ffffff' height='30'> | ||||
<td colspan='8' style='padding-left:10px;'> | <td colspan='8' style='padding-left:10px;'> | ||||
<a href='javascript:selAll()' class='btn btn-secondary btn-sm'>反选</a> | |||||
<a href='javascript:noselAll()' class='btn btn-secondary btn-sm'>取消</a> | |||||
<a href='javascript:delall()' class='btn btn-secondary btn-sm'>删除</a> | |||||
<a href='javascript:selAll()' class='btn btn-success btn-sm'>反选</a> | |||||
<a href='javascript:noselAll()' class='btn btn-success btn-sm'>取消</a> | |||||
<a href='javascript:delall()' class='btn btn-success btn-sm'>删除</a> | |||||
</td> | </td> | ||||
</tr>\r\n"; | </tr>\r\n"; | ||||
echo "</table></form>\r\n"; | echo "</table></form>\r\n"; | ||||
@@ -277,15 +277,15 @@ function __save(){ } | |||||
//返回成功信息 | //返回成功信息 | ||||
$msg = " | $msg = " | ||||
请选择你的后续操作: | 请选择你的后续操作: | ||||
<a href='soft_add.php?cid=$typeid' class='btn btn-secondary btn-sm'>继续发布软件</a> | |||||
<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布软件</a> | |||||
| | ||||
<a href='$arcUrl' target='_blank' class='btn btn-secondary btn-sm'>查看软件</a> | |||||
<a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>查看软件</a> | |||||
| | ||||
<a href='archives_do.php?aid=" . $arcID . "&dopost=editArchives' class='btn btn-secondary btn-sm'>更改软件</a> | |||||
<a href='archives_do.php?aid=" . $arcID . "&dopost=editArchives' class='btn btn-success btn-sm'>更改软件</a> | |||||
| | ||||
<a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-secondary btn-sm'>已发布软件管理</a> | |||||
<a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布软件管理</a> | |||||
| | ||||
<a href='catalog_main.php' class='btn btn-secondary btn-sm'>网站栏目管理</a> | |||||
<a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a> | |||||
"; | "; | ||||
$msg = "<div style=\"line-height:36px;height:36px\">{$msg}</div>" . GetUpdateTest(); | $msg = "<div style=\"line-height:36px;height:36px\">{$msg}</div>" . GetUpdateTest(); | ||||
@@ -58,7 +58,7 @@ if ($dopost != 'save') { | |||||
if ($ctag->GetName() == 'link') { | if ($ctag->GetName() == 'link') { | ||||
$islocal = $ctag->GetAtt('islocal'); | $islocal = $ctag->GetAtt('islocal'); | ||||
if ($islocal != 1) $needmsg = "<input type='checkbox' name='del{$newRowStart}' value='1' />删除"; | if ($islocal != 1) $needmsg = "<input type='checkbox' name='del{$newRowStart}' value='1' />删除"; | ||||
else $needmsg = '<button name="sel1" class="btn btn-secondary btn-sm" type="button" id="sel1" onClick="SelectSoft(\'form1.softurl' . $newRowStart . '\')">选取</button>'; | |||||
else $needmsg = '<button name="sel1" class="btn btn-success btn-sm" type="button" id="sel1" onClick="SelectSoft(\'form1.softurl' . $newRowStart . '\')">选取</button>'; | |||||
$nForm .= "<div style='line-height:36px'>软件地址{$newRowStart}:<input type='text' name='softurl{$newRowStart}' style='width:280px' value='" . trim($ctag->GetInnerText()) . "' /> | $nForm .= "<div style='line-height:36px'>软件地址{$newRowStart}:<input type='text' name='softurl{$newRowStart}' style='width:280px' value='" . trim($ctag->GetInnerText()) . "' /> | ||||
服务器名称:<input type='text' name='servermsg{$newRowStart}' value='" . $ctag->GetAtt("text") . "' style='width:150px' /> | 服务器名称:<input type='text' name='servermsg{$newRowStart}' value='" . $ctag->GetAtt("text") . "' style='width:150px' /> | ||||
<input type='hidden' name='islocal{$newRowStart}' value='{$islocal}' /> | <input type='hidden' name='islocal{$newRowStart}' value='{$islocal}' /> | ||||
@@ -299,15 +299,15 @@ function __save(){ } | |||||
//返回成功信息 | //返回成功信息 | ||||
$msg = " | $msg = " | ||||
请选择你的后续操作: | 请选择你的后续操作: | ||||
<a href='soft_add.php?cid=$typeid' class='btn btn-secondary btn-sm'>发布新软件</a> | |||||
<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新软件</a> | |||||
| | ||||
<a href='archives_do.php?aid=" . $id . "&dopost=editArchives' class='btn btn-secondary btn-sm'>继续修改</a> | |||||
<a href='archives_do.php?aid=" . $id . "&dopost=editArchives' class='btn btn-success btn-sm'>继续修改</a> | |||||
| | ||||
<a href='$arcUrl' target='_blank' class='btn btn-secondary btn-sm'>查看软件</a> | |||||
<a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>查看软件</a> | |||||
| | ||||
<a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-secondary btn-sm'>已发布软件管理</a> | |||||
<a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布软件管理</a> | |||||
| | ||||
<a href='catalog_main.php' class='btn btn-secondary btn-sm'>网站栏目管理</a> | |||||
<a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a> | |||||
"; | "; | ||||
$wintitle = "成功修改一个软件!"; | $wintitle = "成功修改一个软件!"; | ||||
$wecome_info = "文章管理::修改软件"; | $wecome_info = "文章管理::修改软件"; | ||||
@@ -220,11 +220,11 @@ function __save(){ } | |||||
//返回成功信息 | //返回成功信息 | ||||
$msg = " | $msg = " | ||||
请选择你的后续操作: | 请选择你的后续操作: | ||||
<a href='spec_add.php?cid=$typeid' class='btn btn-secondary btn-sm'>创建新专题</a> | |||||
<a href='spec_add.php?cid=$typeid' class='btn btn-success btn-sm'>创建新专题</a> | |||||
| | ||||
<a href='$artUrl' target='_blank' class='btn btn-secondary btn-sm'>查看专题</a> | |||||
<a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看专题</a> | |||||
| | ||||
<a href='content_s_list.php' class='btn btn-secondary btn-sm'>已发布专题管理</a> | |||||
<a href='content_s_list.php' class='btn btn-success btn-sm'>已发布专题管理</a> | |||||
"; | "; | ||||
$wintitle = "成功创建专题!"; | $wintitle = "成功创建专题!"; | ||||
$wecome_info = "文章管理::发布专题"; | $wecome_info = "文章管理::发布专题"; | ||||
@@ -248,13 +248,13 @@ function __save(){ } | |||||
//返回成功信息 | //返回成功信息 | ||||
$msg = " 请选择你的后续操作: | $msg = " 请选择你的后续操作: | ||||
<a href='spec_add.php?cid=$typeid' class='btn btn-secondary btn-sm'>发布新专题</a> | |||||
<a href='spec_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新专题</a> | |||||
| | ||||
<a href='archives_do.php?aid=" . $id . "&dopost=editArchives' class='btn btn-secondary btn-sm'>查看更改</a> | |||||
<a href='archives_do.php?aid=" . $id . "&dopost=editArchives' class='btn btn-success btn-sm'>查看更改</a> | |||||
| | ||||
<a href='$artUrl' target='_blank' class='btn btn-secondary btn-sm'>查看专题</a> | |||||
<a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看专题</a> | |||||
| | ||||
<a href='content_s_list.php' class='btn btn-secondary btn-sm'>已发布专题管理</a> "; | |||||
<a href='content_s_list.php' class='btn btn-success btn-sm'>已发布专题管理</a> "; | |||||
$wintitle = "成功更改一个专题!"; | $wintitle = "成功更改一个专题!"; | ||||
$wecome_info = "专题管理::更改专题"; | $wecome_info = "专题管理::更改专题"; | ||||
$win = new OxWindow(); | $win = new OxWindow(); | ||||
@@ -61,9 +61,9 @@ function TestOneFile($f) | |||||
$message .= "<div style='clear:both;'> | $message .= "<div style='clear:both;'> | ||||
<div style='width:350px;float:left'>可疑文件:{$trfile}</div> | <div style='width:350px;float:left'>可疑文件:{$trfile}</div> | ||||
<a class='btn btn-secondary btn-sm' href='sys_safetest.php?action=viewdiff&filename=$oldTrfile' target='_blank'>更改记录</a> | |||||
<a class='btn btn-secondary btn-sm' href='file_manage_view.php?fmdo=del&filename=$oldTrfile&activepath=' target='_blank'>删除</a> | |||||
<a class='btn btn-secondary btn-sm' href='file_manage_view.php?fmdo=edit&filename=$oldTrfile&activepath=' target='_blank'>查看源码</a> | |||||
<a class='btn btn-success btn-sm' href='sys_safetest.php?action=viewdiff&filename=$oldTrfile' target='_blank'>更改记录</a> | |||||
<a class='btn btn-success btn-sm' href='file_manage_view.php?fmdo=del&filename=$oldTrfile&activepath=' target='_blank'>删除</a> | |||||
<a class='btn btn-success btn-sm' href='file_manage_view.php?fmdo=edit&filename=$oldTrfile&activepath=' target='_blank'>查看源码</a> | |||||
</div></div><hr>\r\n"; | </div></div><hr>\r\n"; | ||||
return 1; | return 1; | ||||
} | } | ||||
@@ -1,22 +0,0 @@ | |||||
<?php | |||||
/** | |||||
* 系统任务 | |||||
* | |||||
* @version $Id: sys_task.php 1 23:07 2010年7月20日Z tianya $ | |||||
* @package DedeBIZ.Administrator | |||||
* @copyright Copyright (c) 2021, DedeBIZ.COM | |||||
* @license https://www.dedebiz.com/license | |||||
* @link https://www.dedebiz.com | |||||
*/ | |||||
require_once(dirname(__FILE__) . "/config.php"); | |||||
CheckPurview('sys_Task'); | |||||
if (empty($dopost)) $dopost = ''; | |||||
//删除 | |||||
if ($dopost == 'del') { | |||||
$dsql->ExecuteNoneQuery("DELETE FROM `#@__sys_task` WHERE id='$id' "); | |||||
ShowMsg("成功删除一个任务!", "sys_task.php"); | |||||
exit(); | |||||
} | |||||
include DedeInclude('templets/sys_task.htm'); |
@@ -1,31 +0,0 @@ | |||||
<?php | |||||
/** | |||||
* 增加任务 | |||||
* | |||||
* @version $Id: sys_task_add.php 1 23:07 2010年7月20日Z tianya $ | |||||
* @package DedeBIZ.Administrator | |||||
* @copyright Copyright (c) 2021, DedeBIZ.COM | |||||
* @license https://www.dedebiz.com/license | |||||
* @link https://www.dedebiz.com | |||||
*/ | |||||
require(dirname(__FILE__) . "/config.php"); | |||||
CheckPurview('sys_Task'); | |||||
if (empty($dopost)) $dopost = ''; | |||||
if ($dopost == 'save') { | |||||
$starttime = empty($starttime) ? 0 : GetMkTime($starttime); | |||||
$endtime = empty($endtime) ? 0 : GetMkTime($endtime); | |||||
$runtime = $h . ':' . $m; | |||||
$Query = "INSERT INTO `#@__sys_task`(`taskname`,`dourl`,`islock`,`runtype`,`runtime`,`starttime`,`endtime`,`freq`,`lastrun`,`description`,`parameter`,`settime`) | |||||
VALUES('$taskname', '$dourl', '$nislock', '$runtype', '$runtime', '$starttime', '$endtime','$freq', '0', '$description','$parameter', '" . time() . "'); "; | |||||
$rs = $dsql->ExecuteNoneQuery($Query); | |||||
if ($rs) { | |||||
ShowMsg('成功增加一个任务!', 'sys_task.php'); | |||||
} else { | |||||
ShowMsg('增加任务失败!' . $dsql->GetError(), 'javascript:;'); | |||||
} | |||||
exit(); | |||||
} | |||||
include DedeInclude('templets/sys_task_add.htm'); |
@@ -1,42 +0,0 @@ | |||||
<?php | |||||
/** | |||||
* 编辑任务 | |||||
* | |||||
* @version $Id: sys_task_edit.php 1 23:07 2010年7月20日Z tianya $ | |||||
* @package DedeBIZ.Administrator | |||||
* @copyright Copyright (c) 2021, DedeBIZ.COM | |||||
* @license https://www.dedebiz.com/license | |||||
* @link https://www.dedebiz.com | |||||
*/ | |||||
require(dirname(__FILE__) . "/config.php"); | |||||
CheckPurview('sys_Task'); | |||||
if (empty($dopost)) $dopost = ''; | |||||
if ($dopost == 'save') { | |||||
$starttime = empty($starttime) ? 0 : GetMkTime($starttime); | |||||
$endtime = empty($endtime) ? 0 : GetMkTime($endtime); | |||||
$runtime = $h . ':' . $m; | |||||
$query = "UPDATE `#@__sys_task` | |||||
SET `taskname` = '$taskname', | |||||
`dourl` = '$dourl', | |||||
`islock` = '$nislock', | |||||
`runtype` = '$runtype', | |||||
`runtime` = '$runtime', | |||||
`starttime` = '$starttime', | |||||
`endtime` = '$endtime', | |||||
`freq` = '$freq', | |||||
`description` = '$description', | |||||
`parameter` = '$parameter' | |||||
WHERE id='$id' "; | |||||
$rs = $dsql->ExecuteNoneQuery($query); | |||||
if ($rs) { | |||||
ShowMsg('成功修改一个任务!', 'sys_task.php'); | |||||
} else { | |||||
ShowMsg('修改任务失败!' . $dsql->GetError(), 'javascript:;'); | |||||
} | |||||
exit(); | |||||
} | |||||
$row = $dsql->GetOne("SELECT * FROM `#@__sys_task` WHERE id='$id' "); | |||||
include DedeInclude('templets/sys_task_edit.htm'); |
@@ -170,7 +170,7 @@ | |||||
<tr> | <tr> | ||||
<td height="53" align="center"> </td> | <td height="53" align="center"> </td> | ||||
<td colspan="2"> | <td colspan="2"> | ||||
<button type="submit" class="btn btn-secondary">确定</button> | |||||
<button type="submit" class="btn btn-success">确定</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -124,7 +124,7 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="53" align="center"> </td> | <td height="53" align="center"> </td> | ||||
<td colspan="2"><button type="submit" class="btn btn-secondary">确定</button></td> | |||||
<td colspan="2"><button type="submit" class="btn btn-success">确定</button></td> | |||||
</tr> | </tr> | ||||
</form> | </form> | ||||
</table> | </table> | ||||
@@ -16,8 +16,8 @@ | |||||
class="table maintable table-bordered mt-3"> | class="table maintable table-bordered mt-3"> | ||||
<tr> | <tr> | ||||
<td height="28" background="images/tbg.gif" colspan="7" style="padding-left:10px;"> | <td height="28" background="images/tbg.gif" colspan="7" style="padding-left:10px;"> | ||||
<a href="ad_main.php">广告管理</a> <a href="ad_add.php" class="btn btn-secondary btn-sm">增加一个新广告</a> | |||||
<a href="adtype_main.php" class="btn btn-secondary btn-sm">广告分类管理</a></td> | |||||
<a href="ad_main.php">广告管理</a> <a href="ad_add.php" class="btn btn-success btn-sm">增加一个新广告</a> | |||||
<a href="adtype_main.php" class="btn btn-success btn-sm">广告分类管理</a></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="28" colspan="7" style="padding-left:10px;" bgcolor="#FFFFFF"> | <td height="28" colspan="7" style="padding-left:10px;" bgcolor="#FFFFFF"> | ||||
@@ -38,7 +38,7 @@ | |||||
<td width='71'> 关键字: </td> | <td width='71'> 关键字: </td> | ||||
<td width='185'><input type='text' name='keyword' style='width:150' /></td> | <td width='185'><input type='text' name='keyword' style='width:150' /></td> | ||||
<td width="130"> | <td width="130"> | ||||
<button type="submit" class="btn btn-secondary">搜索</button> | |||||
<button type="submit" class="btn btn-success">搜索</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -68,9 +68,9 @@ | |||||
<td>{dede:field.timeset function='TimeSetValue(@me)'/}</td> | <td>{dede:field.timeset function='TimeSetValue(@me)'/}</td> | ||||
<td>{dede:field.endtime function='GetDateMk(@me)'/}</td> | <td>{dede:field.endtime function='GetDateMk(@me)'/}</td> | ||||
<td> | <td> | ||||
<a href='ad_edit.php?aid={dede:field.aid /}&dopost=gettag' class="btn btn-secondary btn-sm">代码</a> | |||||
<a href='ad_edit.php?aid={dede:field.aid /}&dopost=edit' class="btn btn-secondary btn-sm">更改</a> | |||||
<a href='ad_edit.php?aid={dede:field.aid /}&dopost=delete' class="btn btn-secondary btn-sm">删除</a> | |||||
<a href='ad_edit.php?aid={dede:field.aid /}&dopost=gettag' class="btn btn-success btn-sm">代码</a> | |||||
<a href='ad_edit.php?aid={dede:field.aid /}&dopost=edit' class="btn btn-success btn-sm">更改</a> | |||||
<a href='ad_edit.php?aid={dede:field.aid /}&dopost=delete' class="btn btn-success btn-sm">删除</a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
{/dede:datalist} | {/dede:datalist} | ||||
@@ -72,7 +72,7 @@ | |||||
<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"><u>图集列表</u></a> | ||||
>> 发布新图集</td> | >> 发布新图集</td> | ||||
<td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-secondary 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> | ||||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1"> | <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1"> | ||||
@@ -174,14 +174,14 @@ | |||||
<td height="30"> | <td height="30"> | ||||
<input name="picname" type="text" id="picname" style="width:240px" /> | <input name="picname" type="text" id="picname" style="width:240px" /> | ||||
<button type="button" | <button type="button" | ||||
onClick="SelectImage('form1.picname','small');" class='btn btn-secondary btn-sm'>站内选择</button> | |||||
onClick="SelectImage('form1.picname','small');" class='btn btn-success btn-sm'>站内选择</button> | |||||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' /> 远程</label> | <label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' /> 远程</label> | ||||
<span class="btn btn-secondary btn-sm fileinput-button"> | |||||
<span class="btn btn-success btn-sm fileinput-button"> | |||||
<i class="glyphicon glyphicon-plus"></i> | <i class="glyphicon glyphicon-plus"></i> | ||||
选择图片 | 选择图片 | ||||
<input type="file" name="files[]" id="iptAddImages"> | <input type="file" name="files[]" id="iptAddImages"> | ||||
</span> | </span> | ||||
<button id="btnClearAll" type="button" class="btn btn-sm btn-secondary delete"> | |||||
<button id="btnClearAll" type="button" class="btn btn-sm btn-success delete"> | |||||
<i class="fa fa-trash-o"></i> | <i class="fa fa-trash-o"></i> | ||||
<span>清空</span> | <span>清空</span> | ||||
</button> | </button> | ||||
@@ -218,7 +218,7 @@ | |||||
<?php | <?php | ||||
if($cfg_need_typeid2=='Y') | if($cfg_need_typeid2=='Y') | ||||
{ | { | ||||
echo "<a href='javascript:AddTypeid2();' class='btn btn-secondary btn-sm'>选择副栏目</a>"; | |||||
echo "<a href='javascript:AddTypeid2();' class='btn btn-success btn-sm'>选择副栏目</a>"; | |||||
} | } | ||||
?> | ?> | ||||
</td> | </td> | ||||
@@ -328,7 +328,7 @@ | |||||
<td width="100"> 压缩包文件:</td> | <td width="100"> 压缩包文件:</td> | ||||
<td><input type='text' name='zipfile' id='zipfile' style='width:300px'> | <td><input type='text' name='zipfile' id='zipfile' style='width:300px'> | ||||
<button name='addon_bt' type='button' | <button name='addon_bt' type='button' | ||||
onClick="SelectSoft('form1.zipfile')" class="btn btn-secondary btn-sm">浏览...</button> | |||||
onClick="SelectSoft('form1.zipfile')" class="btn btn-success btn-sm">浏览...</button> | |||||
<label><input name="delzip" type="checkbox" id="delzip" value="1" checked="checked" /> | <label><input name="delzip" type="checkbox" id="delzip" value="1" checked="checked" /> | ||||
处理后删除压缩文件</label> </td> | 处理后删除压缩文件</label> </td> | ||||
</tr> | </tr> | ||||
@@ -360,7 +360,7 @@ | |||||
<tr> | <tr> | ||||
<td width="90" height="40"> <b>手工上传:</b></td> | <td width="90" height="40"> <b>手工上传:</b></td> | ||||
<td> | <td> | ||||
<span class="btn btn-secondary btn-sm fileinput-button"> | |||||
<span class="btn btn-success btn-sm fileinput-button"> | |||||
<i class="glyphicon glyphicon-plus"></i> | <i class="glyphicon glyphicon-plus"></i> | ||||
选择本地图片(支持多选) | 选择本地图片(支持多选) | ||||
<input type="file" name="files[]" id="iptAlbumImages" multiple> | <input type="file" name="files[]" id="iptAlbumImages" multiple> | ||||
@@ -402,11 +402,11 @@ | |||||
<tr> | <tr> | ||||
<td width="90"> 图集来源:</td> | <td width="90"> 图集来源:</td> | ||||
<td width="240"><input name="source" type="text" id="source" style="width:160px" value="" size="16"> | <td width="240"><input name="source" type="text" id="source" style="width:160px" value="" size="16"> | ||||
<button name="selsource" type="button" id="selsource" class="btn btn-secondary btn-sm">选择</button></td> | |||||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button></td> | |||||
<td width="90">作 者:</td> | <td width="90">作 者:</td> | ||||
<td> | <td> | ||||
<input name="writer" type="text" id="writer" style="width:120px" value=""> | <input name="writer" type="text" id="writer" style="width:120px" value=""> | ||||
<button name="selwriter" type="button" id="selwriter" class="btn btn-secondary btn-sm">选择</button> | |||||
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -450,7 +450,7 @@ | |||||
<td width="90">标题颜色:</td> | <td width="90">标题颜色:</td> | ||||
<td> | <td> | ||||
<input name="color" type="text" id="color" style="width:120px"> | <input name="color" type="text" id="color" style="width:120px"> | ||||
<button class="btn btn-secondary btn-sm" name="modcolor" type="button" id="modcolor" onClick="ShowColor(event,this)">选取</button></td> | |||||
<button class="btn btn-success btn-sm" name="modcolor" type="button" id="modcolor" onClick="ShowColor(event,this)">选取</button></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -506,7 +506,7 @@ | |||||
<td width="90"> 关键字:</td> | <td width="90"> 关键字:</td> | ||||
<td colspan="2"><input type='text' name="keywords" id="keywords" style="width:290px;" value="" /> <button | <td colspan="2"><input type='text' name="keywords" id="keywords" style="width:290px;" value="" /> <button | ||||
type="button" name="Submit" | type="button" name="Submit" | ||||
onClick="SelectKeywords('form1.keywords');" class="btn btn-secondary btn-sm">浏览...</button></td> | |||||
onClick="SelectKeywords('form1.keywords');" class="btn btn-success btn-sm">浏览...</button></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -545,10 +545,10 @@ | |||||
<table width="214" border="0" cellspacing="0" cellpadding="0"> | <table width="214" border="0" cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td width="115" class="py-3"> | <td width="115" class="py-3"> | ||||
<button type="submit" class="btn btn-secondary">保存</button> | |||||
<button type="submit" class="btn btn-success">保存</button> | |||||
</td> | </td> | ||||
<td width="99" class="py-3"> | <td width="99" class="py-3"> | ||||
<button type="button" onClick="location.reload();" class="btn btn-secondary">重置</button> | |||||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -75,7 +75,7 @@ body { | |||||
<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"><u>图集列表</u></a> >> 更改图集</td> | ||||
<td width="30%" align='right'><?php echo $backurl; ?><a class="btn btn-secondary 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> | ||||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1"> | <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1"> | ||||
@@ -155,15 +155,15 @@ body { | |||||
<td width="90" height="81"> 缩 略 图:<br/></td> | <td width="90" height="81"> 缩 略 图:<br/></td> | ||||
<td><input name="picname" type="text" id="picname" style="width:300px" | <td><input name="picname" type="text" id="picname" style="width:300px" | ||||
value="<?php echo $arcRow["litpic"]?>"> <button type="button" name="Submit" | value="<?php echo $arcRow["litpic"]?>"> <button type="button" name="Submit" | ||||
class="btn btn-secondary btn-sm" onClick="SelectImage('form1.picname','');">浏览...</button> | |||||
class="btn btn-success btn-sm" onClick="SelectImage('form1.picname','');">浏览...</button> | |||||
<label><input type='checkbox' class='np' name='ddisremote' value='1'> | <label><input type='checkbox' class='np' name='ddisremote' value='1'> | ||||
远程</label> | 远程</label> | ||||
<span class="btn btn-secondary btn-sm fileinput-button"> | |||||
<span class="btn btn-success btn-sm fileinput-button"> | |||||
<i class="glyphicon glyphicon-plus"></i> | <i class="glyphicon glyphicon-plus"></i> | ||||
选择图片 | 选择图片 | ||||
<input type="file" name="files[]" id="iptAddImages"> | <input type="file" name="files[]" id="iptAddImages"> | ||||
</span> | </span> | ||||
<button id="btnClearAll" type="button" class="btn btn-secondary btn-sm delete"> | |||||
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete"> | |||||
<i class="fa fa-trash-o"></i> | <i class="fa fa-trash-o"></i> | ||||
<span>清空</span> | <span>清空</span> | ||||
</button> </td> | </button> </td> | ||||
@@ -266,7 +266,7 @@ if($cfg_need_typeid2=='Y') { | |||||
</select></td> | </select></td> | ||||
<td width="90">标题颜色:</td> | <td width="90">标题颜色:</td> | ||||
<td><input name="color" type="text" id="color" style="width:120" value="<?php echo $arcRow["color"]?>"> | <td><input name="color" type="text" id="color" style="width:120" value="<?php echo $arcRow["color"]?>"> | ||||
<button name="modcolor" type="button" id="modcolor" class="btn btn-secondary btn-sm" onClick="ShowColor(event,this)">选取</button></td> | |||||
<button name="modcolor" type="button" id="modcolor" class="btn btn-success btn-sm" onClick="ShowColor(event,this)">选取</button></td> | |||||
</tr> | </tr> | ||||
</table></td> | </table></td> | ||||
</tr> | </tr> | ||||
@@ -407,7 +407,7 @@ if($cfg_need_typeid2=='Y') { | |||||
<tr> | <tr> | ||||
<td width="100"> 压缩包文件:</td> | <td width="100"> 压缩包文件:</td> | ||||
<td><input type='text' name='zipfile' id='zipfile' style='width:300px'> | <td><input type='text' name='zipfile' id='zipfile' style='width:300px'> | ||||
<button name='addon_bt' type='button' class='btn btn-secondary btn-sm' onClick="SelectSoft('form1.zipfile')">浏览...</button> | |||||
<button name='addon_bt' type='button' class='btn btn-success btn-sm' onClick="SelectSoft('form1.zipfile')">浏览...</button> | |||||
<label><input name="delzip" type="checkbox" id="delzip" value="1" checked="checked" /> | <label><input name="delzip" type="checkbox" id="delzip" value="1" checked="checked" /> | ||||
处理后删除压缩文件</label> </td> | 处理后删除压缩文件</label> </td> | ||||
</tr> | </tr> | ||||
@@ -480,7 +480,7 @@ if($cfg_need_typeid2=='Y') { | |||||
<tr> | <tr> | ||||
<td width="100"> <b>增加新图片:</b></td> | <td width="100"> <b>增加新图片:</b></td> | ||||
<td> | <td> | ||||
<span class="btn btn-secondary btn-sm fileinput-button"> | |||||
<span class="btn btn-success btn-sm fileinput-button"> | |||||
<i class="glyphicon glyphicon-plus"></i> | <i class="glyphicon glyphicon-plus"></i> | ||||
选择本地图片(支持多选) | 选择本地图片(支持多选) | ||||
<input type="file" name="files[]" id="iptAlbumImages" multiple> | <input type="file" name="files[]" id="iptAlbumImages" multiple> | ||||
@@ -506,8 +506,8 @@ if($cfg_need_typeid2=='Y') { | |||||
<td width="10%"> </td> | <td width="10%"> </td> | ||||
<td><table width="214" border="0" cellspacing="0" cellpadding="0"> | <td><table width="214" border="0" cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td width="115" class="py-3"><button type="submit" class="btn btn-secondary">保存</button></td> | |||||
<td width="99" class="py-3"><button type="button" onClick="location.reload();" class="btn btn-secondary">重置</button></td> | |||||
<td width="115" class="py-3"><button type="submit" class="btn btn-success">保存</button></td> | |||||
<td width="99" class="py-3"><button type="button" onClick="location.reload();" class="btn btn-success">重置</button></td> | |||||
</tr> | </tr> | ||||
</table></td> | </table></td> | ||||
</tr> | </tr> | ||||
@@ -53,7 +53,7 @@ | |||||
<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"><u>文档列表</u></a> | ||||
>> 发布文档</td> | >> 发布文档</td> | ||||
<td width="30%" align='right'><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-secondary 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> | ||||
</table> | </table> | ||||
@@ -169,15 +169,15 @@ | |||||
<tr> | <tr> | ||||
<td height="30"> | <td height="30"> | ||||
<input name="picname" type="text" id="picname" style="width:240px" /> | <input name="picname" type="text" id="picname" style="width:240px" /> | ||||
<button type="button" name="Submit2" class="btn btn-secondary" | |||||
<button type="button" name="Submit2" class="btn btn-success" | |||||
onClick="SelectImage('form1.picname','small');" class='np coolbg'>站内选择</button> | onClick="SelectImage('form1.picname','small');" class='np coolbg'>站内选择</button> | ||||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' /> 远程 </label> | <label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' /> 远程 </label> | ||||
<span class="btn btn-secondary fileinput-button"> | |||||
<span class="btn btn-success fileinput-button"> | |||||
<i class="glyphicon glyphicon-plus"></i> | <i class="glyphicon glyphicon-plus"></i> | ||||
选择图片 | 选择图片 | ||||
<input type="file" name="files[]" id="iptAddImages"> | <input type="file" name="files[]" id="iptAddImages"> | ||||
</span> | </span> | ||||
<button id="btnClearAll" type="button" class="btn btn-secondary delete"> | |||||
<button id="btnClearAll" type="button" class="btn btn-success delete"> | |||||
<i class="fa fa-trash-o"></i> | <i class="fa fa-trash-o"></i> | ||||
<span>清空</span> | <span>清空</span> | ||||
</button> | </button> | ||||
@@ -221,7 +221,7 @@ | |||||
<?php | <?php | ||||
if($cfg_need_typeid2=='Y') | if($cfg_need_typeid2=='Y') | ||||
{ | { | ||||
echo "<a href='javascript:AddTypeid2();' class='btn btn-secondary btn-sm'>选择副栏目</a>"; | |||||
echo "<a href='javascript:AddTypeid2();' class='btn btn-success btn-sm'>选择副栏目</a>"; | |||||
} | } | ||||
?> | ?> | ||||
</td> | </td> | ||||
@@ -303,10 +303,10 @@ | |||||
<tr> | <tr> | ||||
<td width="90"> 文档来源:</td> | <td width="90"> 文档来源:</td> | ||||
<td width="240"><input name="source" type="text" id="source" style="width:160px" value="" size="16"> | <td width="240"><input name="source" type="text" id="source" style="width:160px" value="" size="16"> | ||||
<button name="selsource" type="button" id="selsource" class="btn btn-secondary btn-sm">选择</button></td> | |||||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button></td> | |||||
<td width="90">作 者:</td> | <td width="90">作 者:</td> | ||||
<td> <input name="writer" type="text" id="writer" style="width:120px" value=""> | <td> <input name="writer" type="text" id="writer" style="width:120px" value=""> | ||||
<button name="selwriter" type="button" id="selwriter" class="btn btn-secondary btn-sm">选择</button> </td> | |||||
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button> </td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
<script language='javascript'>InitPage();</script> | <script language='javascript'>InitPage();</script> | ||||
@@ -328,7 +328,7 @@ | |||||
<td width="90">标题颜色:</td> | <td width="90">标题颜色:</td> | ||||
<td> | <td> | ||||
<input name="color" type="text" id="color" style="width:120px"> | <input name="color" type="text" id="color" style="width:120px"> | ||||
<button name="modcolor" type="button" id="modcolor" onClick="ShowColor(event,this)" class="btn btn-secondary btn-sm">选取</button> </td> | |||||
<button name="modcolor" type="button" id="modcolor" onClick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button> </td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -384,7 +384,7 @@ | |||||
<td width="262"><label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" | <td width="262"><label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" | ||||
id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>> | id="autokey" value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked'; ?>> | ||||
自动获取,手动填写用","分开</label><br /> | 自动获取,手动填写用","分开</label><br /> | ||||
<button type="button" name="Submit" value="" class="btn btn-secondary btn-sm" | |||||
<button type="button" name="Submit" value="" class="btn btn-success btn-sm" | |||||
onClick="SelectKeywords('form1.keywords');">浏览...</button> | onClick="SelectKeywords('form1.keywords');">浏览...</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -426,10 +426,10 @@ | |||||
<table width="214" border="0" cellspacing="0" cellpadding="0"> | <table width="214" border="0" cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td width="115" class="py-3"> | <td width="115" class="py-3"> | ||||
<button type="submit" class="btn btn-secondary">保存</button> | |||||
<button type="submit" class="btn btn-success">保存</button> | |||||
</td> | </td> | ||||
<td width="99" class="py-3"> | <td width="99" class="py-3"> | ||||
<button type="button" onClick="location.reload();" class="btn btn-secondary">重置</button> | |||||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -49,7 +49,7 @@ | |||||
<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"><u>文档列表</u></a> | ||||
>> 更改文档</td> | >> 更改文档</td> | ||||
<td width="30%" align='right'><?php echo $backurl; ?><a href="catalog_main.php" class="btn btn-secondary 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> | ||||
</table> | </table> | ||||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1"> | <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1"> | ||||
@@ -164,16 +164,16 @@ | |||||
</td> | </td> | ||||
<td width="600"> | <td width="600"> | ||||
<input name="picname" type="text" id="picname" style="width:300px" | <input name="picname" type="text" id="picname" style="width:300px" | ||||
value="<?php echo $arcRow["litpic"]?>"> <button class="btn btn-secondary" type="button" name="Submit" | |||||
value="<?php echo $arcRow["litpic"]?>"> <button class="btn btn-success" type="button" name="Submit" | |||||
style="width:70px" onClick="SelectImage('form1.picname','');">浏览...</button> | style="width:70px" onClick="SelectImage('form1.picname','');">浏览...</button> | ||||
<label><input type='checkbox' class='np' name='ddisremote' value='1'> | <label><input type='checkbox' class='np' name='ddisremote' value='1'> | ||||
远程</label> | 远程</label> | ||||
<span class="btn btn-secondary fileinput-button"> | |||||
<span class="btn btn-success fileinput-button"> | |||||
<i class="glyphicon glyphicon-plus"></i> | <i class="glyphicon glyphicon-plus"></i> | ||||
选择图片 | 选择图片 | ||||
<input type="file" name="files[]" id="iptAddImages"> | <input type="file" name="files[]" id="iptAddImages"> | ||||
</span> | </span> | ||||
<button id="btnClearAll" type="button" class="btn btn-secondary delete"> | |||||
<button id="btnClearAll" type="button" class="btn btn-success delete"> | |||||
<i class="fa fa-trash-o"></i> | <i class="fa fa-trash-o"></i> | ||||
<span>清空</span> | <span>清空</span> | ||||
</button> | </button> | ||||
@@ -288,11 +288,11 @@ if($cfg_need_typeid2=='Y') { | |||||
<td width="90"> 文档来源:</td> | <td width="90"> 文档来源:</td> | ||||
<td width="250"> | <td width="250"> | ||||
<input name="source" type="text" id="source" style="width:160" value="<?php echo $arcRow["source"]?>" | <input name="source" type="text" id="source" style="width:160" value="<?php echo $arcRow["source"]?>" | ||||
size="16"> <button name="selsource" type="button" id="selsource" class="btn btn-secondary btn-sm">选择</button> </td> | |||||
size="16"> <button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button> </td> | |||||
<td width="90">作 者:</td> | <td width="90">作 者:</td> | ||||
<td> | <td> | ||||
<input name="writer" type="text" id="writer" style="width:120px" | <input name="writer" type="text" id="writer" style="width:120px" | ||||
value="<?php echo $arcRow["writer"]?>"> <button class="btn btn-secondary btn-sm" name="selwriter" type="button" id="selwriter" | |||||
value="<?php echo $arcRow["writer"]?>"> <button class="btn btn-success btn-sm" name="selwriter" type="button" id="selwriter" | |||||
>选择</button> </td> | >选择</button> </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -319,7 +319,7 @@ if($cfg_need_typeid2=='Y') { | |||||
<td width="90">标题颜色:</td> | <td width="90">标题颜色:</td> | ||||
<td><input name="color" type="text" id="color" style="width:120" | <td><input name="color" type="text" id="color" style="width:120" | ||||
value="<?php echo $arcRow["color"]?>"> | value="<?php echo $arcRow["color"]?>"> | ||||
<button name="modcolor" type="button" id="modcolor" class="btn btn-secondary btn-sm" | |||||
<button name="modcolor" type="button" id="modcolor" class="btn btn-success btn-sm" | |||||
onClick="ShowColor(event,this)">选取</button></td> | onClick="ShowColor(event,this)">选取</button></td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -418,9 +418,9 @@ if($cfg_need_typeid2=='Y') { | |||||
<td width="83%"> | <td width="83%"> | ||||
<table width="214" border="0" cellspacing="0" cellpadding="0"> | <table width="214" border="0" cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td width="115" class="py-3"><button type="submit" class="btn btn-secondary">保存</button></td> | |||||
<td width="115" class="py-3"><button type="submit" class="btn btn-success">保存</button></td> | |||||
<td width="99" class="py-3"> | <td width="99" class="py-3"> | ||||
<button type="button" onClick="location.reload();" class="btn btn-secondary">重置</button> | |||||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -48,7 +48,7 @@ function checkSubmit() | |||||
<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"><u>文档列表</u></a> >> 发布文档</td> | ||||
<td width="30%" align='right'> <?php echo $backurl; ?><a class="btn btn-secondary 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> | ||||
</table> | </table> | ||||
@@ -114,14 +114,14 @@ function checkSubmit() | |||||
<td height="30"> | <td height="30"> | ||||
<input name="picname" type="text" id="picname" style="width:240px" /> | <input name="picname" type="text" id="picname" style="width:240px" /> | ||||
<button type="button" name="Submit2" | <button type="button" name="Submit2" | ||||
onClick="SelectImage('form1.picname','small');" class='btn btn-secondary btn-sm'>站内选择</button> | |||||
onClick="SelectImage('form1.picname','small');" class='btn btn-success btn-sm'>站内选择</button> | |||||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' /> 远程 </label> | <label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' /> 远程 </label> | ||||
<span class="btn btn-secondary btn-sm fileinput-button"> | |||||
<span class="btn btn-success btn-sm fileinput-button"> | |||||
<i class="glyphicon glyphicon-plus"></i> | <i class="glyphicon glyphicon-plus"></i> | ||||
选择图片 | 选择图片 | ||||
<input type="file" name="files[]" id="iptAddImages"> | <input type="file" name="files[]" id="iptAddImages"> | ||||
</span> | </span> | ||||
<button id="btnClearAll" type="button" class="btn btn-secondary btn-sm delete"> | |||||
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete"> | |||||
<i class="fa fa-trash-o"></i> | <i class="fa fa-trash-o"></i> | ||||
<span>清空</span> | <span>清空</span> | ||||
</button> | </button> | ||||
@@ -181,8 +181,8 @@ function checkSubmit() | |||||
echo "</select>"; | echo "</select>"; | ||||
?></span> | ?></span> | ||||
<img src='images/menusearch.gif' style='cursor:pointer;' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid')" alt='快捷选择' title='快捷选择' /> | <img src='images/menusearch.gif' style='cursor:pointer;' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid')" alt='快捷选择' title='快捷选择' /> | ||||
<a href='catalog_main.php' class='btn btn-secondary btn-sm'>栏目管理</a> | |||||
<a href='catalog_add.php?listtype=all' class='btn btn-secondary btn-sm'>增加大栏目</a> | |||||
<a href='catalog_main.php' class='btn btn-success btn-sm'>栏目管理</a> | |||||
<a href='catalog_add.php?listtype=all' class='btn btn-success btn-sm'>增加大栏目</a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table></td> | </table></td> | ||||
@@ -202,10 +202,10 @@ function checkSubmit() | |||||
<td width="83%"><table width="214" border="0" cellspacing="0" cellpadding="0"> | <td width="83%"><table width="214" border="0" cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td width="115" class="py-3"> | <td width="115" class="py-3"> | ||||
<button type="submit" class="btn btn-secondary">保存</button> | |||||
<button type="submit" class="btn btn-success">保存</button> | |||||
</td> | </td> | ||||
<td width="99" class="py-3"> | <td width="99" class="py-3"> | ||||
<button type="button" onClick="location.reload();" class="btn btn-secondary">重置</button> | |||||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table></td> | </table></td> | ||||
@@ -45,7 +45,7 @@ function checkSubmit() | |||||
<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"><u>文档列表</u></a> >> 更改文档</td> | ||||
<td width="30%" align='right'> <?php echo $backurl; ?><a class="btn btn-secondary 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> | ||||
@@ -130,16 +130,16 @@ function checkSubmit() | |||||
</td> | </td> | ||||
<td width="560"> | <td width="560"> | ||||
<input name="picname" type="text" id="picname" style="width:300px" | <input name="picname" type="text" id="picname" style="width:300px" | ||||
value="<?php echo $addRow["litpic"]?>"><button class="btn btn-secondary btn-sm" type="button" name="Submit" | |||||
value="<?php echo $addRow["litpic"]?>"><button class="btn btn-success btn-sm" type="button" name="Submit" | |||||
style="width:70px" onClick="SelectImage('form1.picname','');">浏览...</button> | style="width:70px" onClick="SelectImage('form1.picname','');">浏览...</button> | ||||
<label><input type='checkbox' class='np' name='ddisremote' value='1'> | <label><input type='checkbox' class='np' name='ddisremote' value='1'> | ||||
远程</label> | 远程</label> | ||||
<span class="btn btn-secondary btn-sm fileinput-button"> | |||||
<span class="btn btn-success btn-sm fileinput-button"> | |||||
<i class="glyphicon glyphicon-plus"></i> | <i class="glyphicon glyphicon-plus"></i> | ||||
选择图片 | 选择图片 | ||||
<input type="file" name="files[]" id="iptAddImages"> | <input type="file" name="files[]" id="iptAddImages"> | ||||
</span> | </span> | ||||
<button id="btnClearAll" type="button" class="btn btn-secondary btn-sm delete"> | |||||
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete"> | |||||
<i class="fa fa-trash-o"></i> | <i class="fa fa-trash-o"></i> | ||||
<span>清空</span> | <span>清空</span> | ||||
</button> | </button> | ||||
@@ -195,9 +195,9 @@ function checkSubmit() | |||||
<td width="17%"> </td> | <td width="17%"> </td> | ||||
<td width="83%"><table width="214" border="0" cellspacing="0" cellpadding="0"> | <td width="83%"><table width="214" border="0" cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td width="115" class="py-3"><button type="submit" class="btn btn-secondary">保存</button></td> | |||||
<td width="115" class="py-3"><button type="submit" class="btn btn-success">保存</button></td> | |||||
<td width="99" class="py-3"> | <td width="99" class="py-3"> | ||||
<button type="button" onClick="location.reload();" class="btn btn-secondary">重置</button> | |||||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table></td> | </table></td> | ||||
@@ -69,7 +69,7 @@ | |||||
<td width="60%" height="30"><IMG height=14 src="images/book1.gif" width=20> <a | <td width="60%" 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"><u>文章列表</u></a> | ||||
>> 发布文章</td> | >> 发布文章</td> | ||||
<td width="30%" align='right'> <?php echo $backurl; ?><a class="btn btn-secondary btn-sm" | |||||
<td width="30%" align='right'> <?php echo $backurl; ?><a class="btn btn-success btn-sm" | |||||
href="catalog_main.php">栏目管理</a> </td> | href="catalog_main.php">栏目管理</a> </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -80,7 +80,7 @@ | |||||
<table width="800" border="0" cellpadding="0" cellspacing="0"> | <table width="800" 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><a href="#" class="btn btn-secondary btn-sm" onClick="ShowHide('getone')">单页采集...</a></td> | |||||
<td><a href="#" class="btn btn-success btn-sm" onClick="ShowHide('getone')">单页采集...</a></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -99,9 +99,9 @@ | |||||
<td width="360" align="center"><input name="geturl" type="text" id="geturl" style="width:290px" | <td width="360" align="center"><input name="geturl" type="text" id="geturl" style="width:290px" | ||||
value="<?php echo $geturl; ?>" /></td> | value="<?php echo $geturl; ?>" /></td> | ||||
<td> | <td> | ||||
<button type="submit" class='btn btn-secondary btn-sm' name="Submit3">抓取</button> | |||||
<button type="submit" class='btn btn-success btn-sm' name="Submit3">抓取</button> | |||||
| | ||||
<button type="button" class='btn btn-secondary btn-sm' name="setrule" | |||||
<button type="button" class='btn btn-success btn-sm' name="setrule" | |||||
onClick="OpenMyWinCoOne('article_coonepage_rule.php')">规则管理</button></td> | onClick="OpenMyWinCoOne('article_coonepage_rule.php')">规则管理</button></td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -191,14 +191,14 @@ | |||||
<td height="30"> | <td height="30"> | ||||
<input name="picname" type="text" id="picname" style="width:240px" /> | <input name="picname" type="text" id="picname" style="width:240px" /> | ||||
<button type="button" name="Submit2" style="margin-left:8px;" | <button type="button" name="Submit2" style="margin-left:8px;" | ||||
onClick="SelectImage('form1.picname','small');" class='btn btn-secondary btn-sm'>站内选择</button> | |||||
onClick="SelectImage('form1.picname','small');" class='btn btn-success btn-sm'>站内选择</button> | |||||
<label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' /> 远程</label> | <label><input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' /> 远程</label> | ||||
<span class="btn btn-secondary btn-sm fileinput-button"> | |||||
<span class="btn btn-success btn-sm fileinput-button"> | |||||
<i class="glyphicon glyphicon-plus"></i> | <i class="glyphicon glyphicon-plus"></i> | ||||
选择图片 | 选择图片 | ||||
<input type="file" name="files[]" id="iptAddImages"> | <input type="file" name="files[]" id="iptAddImages"> | ||||
</span> | </span> | ||||
<button id="btnClearAll" type="button" class="btn btn-secondary btn-sm delete"> | |||||
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete"> | |||||
<i class="fa fa-trash-o"></i> | <i class="fa fa-trash-o"></i> | ||||
<span>清空</span> | <span>清空</span> | ||||
</button> | </button> | ||||
@@ -221,11 +221,11 @@ | |||||
<td width="240"> | <td width="240"> | ||||
<input name="source" type="text" id="source" style="width:160px" value="<?php echo $source; ?>" | <input name="source" type="text" id="source" style="width:160px" value="<?php echo $source; ?>" | ||||
size="16" /> | size="16" /> | ||||
<button name="selsource" type="button" id="selsource" class="btn btn-secondary btn-sm">选择</button></td> | |||||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button></td> | |||||
<td width="90">作 者:</td> | <td width="90">作 者:</td> | ||||
<td> | <td> | ||||
<input name="writer" type="text" id="writer" style="width:120px" value="<?php echo $writer; ?>" /> | <input name="writer" type="text" id="writer" style="width:120px" value="<?php echo $writer; ?>" /> | ||||
<button name="selwriter" type="button" id="selwriter" class="btn btn-secondary btn-sm">选择</button> | |||||
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -251,7 +251,7 @@ | |||||
<?php | <?php | ||||
if($cfg_need_typeid2=='Y') | if($cfg_need_typeid2=='Y') | ||||
{ | { | ||||
echo "<a href='javascript:AddTypeid2();' class='btn btn-secondary btn-sm'>选择副栏目</a>"; | |||||
echo "<a href='javascript:AddTypeid2();' class='btn btn-success btn-sm'>选择副栏目</a>"; | |||||
} | } | ||||
?> | ?> | ||||
</td> | </td> | ||||
@@ -281,7 +281,7 @@ | |||||
<td width="90"> 关键字:</td> | <td width="90"> 关键字:</td> | ||||
<td width="448"><input type='text' name="keywords" id="keywords" style="width:80%" | <td width="448"><input type='text' name="keywords" id="keywords" style="width:80%" | ||||
value="<?php echo $keywords; ?>" /> <button type="button" name="Submit" style="width:56;height:20" | value="<?php echo $keywords; ?>" /> <button type="button" name="Submit" style="width:56;height:20" | ||||
onClick="SelectKeywords('form1.keywords');" class='btn btn-secondary btn-sm'>浏览...</button></td> | |||||
onClick="SelectKeywords('form1.keywords');" class='btn btn-success btn-sm'>浏览...</button></td> | |||||
<td><label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" | <td><label><input name="autokey" type="checkbox" onClick="ShowHide('keywords');" ; class="np" id="autokey" | ||||
value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked="1" '; ?> /> | value="1" <?php if($cfg_arc_autokeyword=='Y') echo ' checked="1" '; ?> /> | ||||
自动获取,手动填写用","分开</label><br /> | 自动获取,手动填写用","分开</label><br /> | ||||
@@ -309,10 +309,10 @@ | |||||
<td height="28" colspan="2" bgcolor="#F9FCEF" class="bline2"> | <td height="28" colspan="2" bgcolor="#F9FCEF" class="bline2"> | ||||
<div style='float:left;line-height:28px;'> <strong>文章内容:</strong></div> | <div style='float:left;line-height:28px;'> <strong>文章内容:</strong></div> | ||||
<div style='float:right;;padding-right:8px'> | <div style='float:right;;padding-right:8px'> | ||||
<button type="button" onClick="location.reload();" class="btn btn-secondary">重置</button> | |||||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||||
</div> | </div> | ||||
<div style='float:right;padding-right:8px'> | <div style='float:right;padding-right:8px'> | ||||
<button type="submit" class="btn btn-secondary">保存</button> | |||||
<button type="submit" class="btn btn-success">保存</button> | |||||
</div> | </div> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -421,7 +421,7 @@ | |||||
<td width="90">标题颜色:</td> | <td width="90">标题颜色:</td> | ||||
<td> | <td> | ||||
<input name="color" type="text" id="color" style="width:120px" /> | <input name="color" type="text" id="color" style="width:120px" /> | ||||
<button class="btn btn-secondary btn-sm" name="modcolor" type="button" id="modcolor" | |||||
<button class="btn btn-success btn-sm" name="modcolor" type="button" id="modcolor" | |||||
onClick="ShowColor(event, this)">选取</button> | onClick="ShowColor(event, this)">选取</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -512,8 +512,8 @@ | |||||
<tr height="35"> | <tr height="35"> | ||||
<td width="17%"> </td> | <td width="17%"> </td> | ||||
<td width="83%" class="py-3"> | <td width="83%" class="py-3"> | ||||
<button type="submit" class="btn btn-secondary">保存</button> | |||||
<button type="button" onClick="location.reload();" class="btn btn-secondary">重置</button> | |||||
<button type="submit" class="btn btn-success">保存</button> | |||||
<button type="button" onClick="location.reload();" class="btn btn-success">重置</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -102,7 +102,7 @@ | |||||
<td height="26" colspan="6"> | <td height="26" colspan="6"> | ||||
<div style="float:left;padding-left:6px"><b>单页采集规则管理:</b></div> | <div style="float:left;padding-left:6px"><b>单页采集规则管理:</b></div> | ||||
<div style="float:right;padding-right:10px"><a href='javascript:ShowAddNode();' | <div style="float:right;padding-right:10px"><a href='javascript:ShowAddNode();' | ||||
class="btn btn-secondary btn-sm">增加新网址</a> | |||||
class="btn btn-success btn-sm">增加新网址</a> | |||||
</div> | </div> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -126,17 +126,17 @@ | |||||
<td><?php echo $fields['lang']; ?></td> | <td><?php echo $fields['lang']; ?></td> | ||||
<td><?php echo $fields['title']; ?></td> | <td><?php echo $fields['title']; ?></td> | ||||
<td> | <td> | ||||
<a href="javascript:EditNode(<?php echo $fields['id']?>)" class="btn btn-secondary btn-sm">编辑</a> | |||||
<a href="javascript:DelNode(<?php echo $fields['id']?>)" class="btn btn-secondary btn-sm">删除</a> | |||||
<a href="javascript:EditNode(<?php echo $fields['id']?>)" class="btn btn-success btn-sm">编辑</a> | |||||
<a href="javascript:DelNode(<?php echo $fields['id']?>)" class="btn btn-success btn-sm">删除</a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
{/dede:datalist} | {/dede:datalist} | ||||
<tr bgcolor="#FAFAF1"> | <tr bgcolor="#FAFAF1"> | ||||
<td height="24" colspan="6"> | <td height="24" colspan="6"> | ||||
| | ||||
<a href="javascript:selAll()" class="btn btn-secondary btn-sm">全选</a> | |||||
<a href="javascript:noSelAll()" class="btn btn-secondary btn-sm">取消</a> | |||||
<a href="javascript:DelNode(0)" class="btn btn-secondary btn-sm"> 删除 </a> | |||||
<a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a> | |||||
<a href="javascript:noSelAll()" class="btn btn-success btn-sm">取消</a> | |||||
<a href="javascript:DelNode(0)" class="btn btn-success btn-sm"> 删除 </a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
@@ -198,9 +198,9 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="32"> </td> | <td height="32"> </td> | ||||
<td colspan="2"><button class="btn btn-secondary btn-sm" type="submit" name="Submit" | |||||
<td colspan="2"><button class="btn btn-success btn-sm" type="submit" name="Submit" | |||||
value="">保存规则</button> | value="">保存规则</button> | ||||
<button type="reset" class="btn btn-secondary btn-sm" name="Submit2">重置</button></td> | |||||
<button type="reset" class="btn btn-success btn-sm" name="Submit2">重置</button></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</form> | </form> | ||||
@@ -68,14 +68,14 @@ | |||||
自动分页</label> </td> | 自动分页</label> </td> | ||||
<td>(自动分页大小: | <td>(自动分页大小: | ||||
<?php echo $cfg_arcautosp_size?> | <?php echo $cfg_arcautosp_size?> | ||||
K,<a href='sys_info.php' class="btn btn-secondary btn-sm">修改系统参数</a>)</td> | |||||
K,<a href='sys_info.php' class="btn btn-success btn-sm">修改系统参数</a>)</td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="31" bgcolor="#ffffff" align="center"> | <td height="31" bgcolor="#ffffff" align="center"> | ||||
<button type="submit" name="Submit" class="btn btn-secondary">开始执行分析</button> | |||||
<button type="submit" name="Submit" class="btn btn-success">开始执行分析</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
@@ -52,7 +52,7 @@ | |||||
<td width="60%" height="30"><IMG height=14 src="images/book1.gif" width=20> <a | <td width="60%" 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"><u>文章列表</u></a> | ||||
>> 更改文章</td> | >> 更改文章</td> | ||||
<td width="30%" align='right'> <?php echo $backurl; ?><a class="btn btn-secondary 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> | ||||
</table> | </table> | ||||
@@ -174,12 +174,12 @@ | |||||
<label><input type='checkbox' class='np' name='ddisremote' value='1' /> | <label><input type='checkbox' class='np' name='ddisremote' value='1' /> | ||||
远程</label> | 远程</label> | ||||
<span class="btn btn-secondary btn-sm fileinput-button"> | |||||
<span class="btn btn-success btn-sm fileinput-button"> | |||||
<i class="glyphicon glyphicon-plus"></i> | <i class="glyphicon glyphicon-plus"></i> | ||||
选择图片 | 选择图片 | ||||
<input type="file" name="files[]" id="iptAddImages"> | <input type="file" name="files[]" id="iptAddImages"> | ||||
</span> | </span> | ||||
<button id="btnClearAll" type="button" class="btn btn-secondary btn-sm delete"> | |||||
<button id="btnClearAll" type="button" class="btn btn-success btn-sm delete"> | |||||
<i class="fa fa-trash-o"></i> | <i class="fa fa-trash-o"></i> | ||||
<span>清空</span> | <span>清空</span> | ||||
</button> | </button> | ||||
@@ -200,11 +200,11 @@ | |||||
<td width="90"> 文章来源:</td> | <td width="90"> 文章来源:</td> | ||||
<td width="250"><input name="source" type="text" id="source" style="width:160px" | <td width="250"><input name="source" type="text" id="source" style="width:160px" | ||||
value="<?php echo $arcRow["source"]?>" size="16"> | value="<?php echo $arcRow["source"]?>" size="16"> | ||||
<button name="selsource" type="button" id="selsource" class="btn btn-secondary btn-sm">选择</button></td> | |||||
<button name="selsource" type="button" id="selsource" class="btn btn-success btn-sm">选择</button></td> | |||||
<td width="90">作 者:</td> | <td width="90">作 者:</td> | ||||
<td><input name="writer" type="text" id="writer" style="width:120px" | <td><input name="writer" type="text" id="writer" style="width:120px" | ||||
value="<?php echo $arcRow["writer"]?>"> | value="<?php echo $arcRow["writer"]?>"> | ||||
<button name="selwriter" type="button" id="selwriter" class="btn btn-secondary btn-sm">选择</button></td> | |||||
<button name="selwriter" type="button" id="selwriter" class="btn btn-success btn-sm">选择</button></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -316,7 +316,7 @@ if($cfg_need_typeid2=='Y') { | |||||
</select></td> | </select></td> | ||||
<td width="90">标题颜色:</td> | <td width="90">标题颜色:</td> | ||||
<td><input name="color" type="text" id="color" style="width:120" value="<?php echo $arcRow["color"]?>"> | <td><input name="color" type="text" id="color" style="width:120" value="<?php echo $arcRow["color"]?>"> | ||||
<button name="modcolor" type="button" id="modcolor" onClick="ShowColor(event,this)" class="btn btn-secondary btn-sm">选取</button></td> | |||||
<button name="modcolor" type="button" id="modcolor" onClick="ShowColor(event,this)" class="btn btn-success btn-sm">选取</button></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -431,8 +431,8 @@ if($cfg_need_typeid2=='Y') { | |||||
<td width="83%"> | <td width="83%"> | ||||
<table width="214" border="0" cellspacing="0" cellpadding="0"> | <table width="214" border="0" cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td width="115" class="py-3"><button type="submit" class="btn btn-secondary">保存</button></td> | |||||
<td width="99" class="py-3"><button type="button" onClick="location.reload();" class="btn btn-secondary">重置</button></td> | |||||
<td width="115" class="py-3"><button type="submit" class="btn btn-success">保存</button></td> | |||||
<td width="99" class="py-3"><button type="button" onClick="location.reload();" class="btn btn-success">重置</button></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -40,12 +40,12 @@ | |||||
<form name='form1' action="article_keywords_main.php"> | <form name='form1' action="article_keywords_main.php"> | ||||
<td width="75%" align="right"> | <td width="75%" align="right"> | ||||
搜索:<input type='text' name='keyword' size='20' /> | 搜索:<input type='text' name='keyword' size='20' /> | ||||
<button type='submit' name='sb' value='' class="btn btn-secondary btn-sm">确定</button> | |||||
<button type='submit' name='sb' value='' class="btn btn-success btn-sm">确定</button> | |||||
| | ||||
<button class="btn btn-secondary btn-sm" name="n1" type="button" id="n1" | |||||
<button class="btn btn-success btn-sm" name="n1" type="button" id="n1" | |||||
onClick="location='article_keywords_make.php';">分析系统内的关键字</button> | onClick="location='article_keywords_make.php';">分析系统内的关键字</button> | ||||
| | ||||
<button class="btn btn-secondary btn-sm" name="n11" type="button" id="n11" | |||||
<button class="btn btn-success btn-sm" name="n11" type="button" id="n11" | |||||
onClick="location='search_keywords_main.php';">管理搜索的关键字</button> | onClick="location='search_keywords_main.php';">管理搜索的关键字</button> | ||||
</td> | </td> | ||||
</form> | </form> | ||||
@@ -65,7 +65,7 @@ | |||||
<td width="140"><input name="rpurl" type="text" id="rpurl"/></td> | <td width="140"><input name="rpurl" type="text" id="rpurl"/></td> | ||||
<td width="80">频率:</td> | <td width="80">频率:</td> | ||||
<td width="60"><input name="rank" type="text" id="rank" style="width:50px" value="30" /></td> | <td width="60"><input name="rank" type="text" id="rank" style="width:50px" value="30" /></td> | ||||
<td width="80"><button type="submit" name="Submit" class="btn btn-secondary btn-sm">保存</button></td> | |||||
<td width="80"><button type="submit" name="Submit" class="btn btn-success btn-sm">保存</button></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -112,9 +112,9 @@ | |||||
<tr bgcolor="#ffffff"> | <tr bgcolor="#ffffff"> | ||||
<td height="28" colspan="6"> | <td height="28" colspan="6"> | ||||
| | ||||
<button type="button" name="dl1" class="btn btn-secondary btn-sm" onClick="selAll()">反选</button> | |||||
<button type="button" name="dl1" class="btn btn-success btn-sm" onClick="selAll()">反选</button> | |||||
| | ||||
<button type="button" name="dl2" class="btn btn-secondary btn-sm" onClick="this.form.submit();">保存更改</button> | |||||
<button type="button" name="dl2" class="btn btn-success btn-sm" onClick="this.form.submit();">保存更改</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
@@ -14,7 +14,7 @@ | |||||
<tr> | <tr> | ||||
<td width="30%" height="18" style="padding-left:10px;"><strong>关键字维护:</strong></td> | <td width="30%" height="18" style="padding-left:10px;"><strong>关键字维护:</strong></td> | ||||
<td width="70%" align="right"> | <td width="70%" align="right"> | ||||
<button class="btn btn-secondary btn-sm" name="kw" type="button" id="kw" onClick="location='article_keywords_main.php';">返回关键字管理页</button> | |||||
<button class="btn btn-success btn-sm" name="kw" type="button" id="kw" onClick="location='article_keywords_main.php';">返回关键字管理页</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table></td> | </table></td> | ||||
@@ -26,9 +26,9 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="31" bgcolor="#ffffff" align="center"> | <td height="31" bgcolor="#ffffff" align="center"> | ||||
<a href="article_keywords_make.php?dopost=analyse" target="stafrm" class="btn btn-secondary btn-sm">检测已有的关键字</a> | |||||
<a href="article_keywords_make.php?dopost=analyse" target="stafrm" class="btn btn-success btn-sm">检测已有的关键字</a> | |||||
| | ||||
<a href="article_keywords_make.php?dopost=fetch" target="stafrm" class="btn btn-secondary btn-sm">自动获取关键字</a> | |||||
<a href="article_keywords_make.php?dopost=fetch" target="stafrm" class="btn btn-success btn-sm">自动获取关键字</a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#F9FCEF"> | <tr bgcolor="#F9FCEF"> | ||||
@@ -72,8 +72,8 @@ function AddNewKw() | |||||
<tr> | <tr> | ||||
<td width="31%"><strong>选择关键字</strong></td> | <td width="31%"><strong>选择关键字</strong></td> | ||||
<td width="69%" align="right"> | <td width="69%" align="right"> | ||||
<button class="btn btn-secondary btn-sm" type="button" name="kwa" onClick="AddNewKw()">新增关键字</button> | |||||
<button class="btn btn-secondary btn-sm" type="button" name="kwm" onClick="location='article_keywords_main.php';">关键字管理</button> | |||||
<button class="btn btn-success btn-sm" type="button" name="kwa" onClick="AddNewKw()">新增关键字</button> | |||||
<button class="btn btn-success btn-sm" type="button" name="kwm" onClick="location='article_keywords_main.php';">关键字管理</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table></td> | </table></td> | ||||
@@ -91,7 +91,7 @@ function AddNewKw() | |||||
<tr> | <tr> | ||||
<td width="120">已选的关键字:</td> | <td width="120">已选的关键字:</td> | ||||
<td width="320"><input name="keywords" type="text" id="keywords" style="width:300" value="<?php echo $keywords?>"></td> | <td width="320"><input name="keywords" type="text" id="keywords" style="width:300" value="<?php echo $keywords?>"></td> | ||||
<td width="93"><button type="button" class="btn btn-secondary btn-sm" name="Submit" onClick="ReturnValue()"> 选用 </button></td> | |||||
<td width="93"><button type="button" class="btn btn-success btn-sm" name="Submit" onClick="ReturnValue()"> 选用 </button></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -67,7 +67,7 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="31" bgcolor="#ffffff" align="center" style="padding-top:6px"> | <td height="31" bgcolor="#ffffff" align="center" style="padding-top:6px"> | ||||
<button type="submit" name="Submit" class="btn btn-secondary">分析标题重复的文档</button> | |||||
<button type="submit" name="Submit" class="btn btn-success">分析标题重复的文档</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
@@ -42,7 +42,7 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="2" align="center" bgcolor="#FFFFFF"> | <td colspan="2" align="center" bgcolor="#FFFFFF"> | ||||
<button name="button" type="submit" class="btn btn-secondary" id="button">开始生成</button> | |||||
<button name="button" type="submit" class="btn btn-success" id="button">开始生成</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
@@ -21,9 +21,9 @@ | |||||
<tr> | <tr> | ||||
<td width="30%" style="padding-left:10px;"><strong>点卡生成向导:</strong> </td> | <td width="30%" style="padding-left:10px;"><strong>点卡生成向导:</strong> </td> | ||||
<td align="right"> | <td align="right"> | ||||
<button type="button" name="ss1" onClick="location='cards_type.php';" class='btn btn-secondary btn-sm'>点卡产品分类</button> | |||||
<button type="button" name="ss1" onClick="location='cards_type.php';" class='btn btn-success btn-sm'>点卡产品分类</button> | |||||
<button type="button" name="ss2" onClick="location='cards_manage.php';" | <button type="button" name="ss2" onClick="location='cards_manage.php';" | ||||
class='btn btn-secondary btn-sm'>点卡使用记录</button> | |||||
class='btn btn-success btn-sm'>点卡使用记录</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -76,7 +76,7 @@ $dsql->Close(); | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="31" bgcolor="#ffffff" align="center"> | <td height="31" bgcolor="#ffffff" align="center"> | ||||
<button type="submit" name="Submit" class='btn btn-secondary'>开始生成点卡</button> | |||||
<button type="submit" name="Submit" class='btn btn-success'>开始生成点卡</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
@@ -50,17 +50,17 @@ | |||||
<td width="30%" style="padding-left:10px;"><strong>点卡业务管理:</strong> </td> | <td width="30%" style="padding-left:10px;"><strong>点卡业务管理:</strong> </td> | ||||
<td width="45%" align="right" style="padding-top:4px;"> | <td width="45%" align="right" style="padding-top:4px;"> | ||||
<button type="button" onClick="location='cards_manage.php?isexp=0';" | <button type="button" onClick="location='cards_manage.php?isexp=0';" | ||||
class="btn btn-secondary btn-sm">未使用</button> | |||||
class="btn btn-success btn-sm">未使用</button> | |||||
<button type="button" onClick="location='cards_manage.php?isexp=1';" | <button type="button" onClick="location='cards_manage.php?isexp=1';" | ||||
class="btn btn-secondary btn-sm">已售出</button> | |||||
class="btn btn-success btn-sm">已售出</button> | |||||
<button type="button" onClick="location='cards_manage.php?isexp=-1';" | <button type="button" onClick="location='cards_manage.php?isexp=-1';" | ||||
class="btn btn-secondary btn-sm">已使用</button> | |||||
<button type="button" onClick="location='cards_manage.php';" class="btn btn-secondary btn-sm">全部</button> | |||||
class="btn btn-success btn-sm">已使用</button> | |||||
<button type="button" onClick="location='cards_manage.php';" class="btn btn-success btn-sm">全部</button> | |||||
</td> | </td> | ||||
<td width="25%" align="right" style="padding-top:4px;"> | <td width="25%" align="right" style="padding-top:4px;"> | ||||
<button type="button" onClick="location='cards_make.php';" class="btn btn-secondary btn-sm">生成点卡</button> | |||||
<button type="button" onClick="location='cards_make.php';" class="btn btn-success btn-sm">生成点卡</button> | |||||
<button type="button" onClick="location='cards_type.php';" | <button type="button" onClick="location='cards_type.php';" | ||||
class="btn btn-secondary btn-sm">点卡产品分类</button> | |||||
class="btn btn-success btn-sm">点卡产品分类</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -91,8 +91,8 @@ | |||||
</form> | </form> | ||||
<tr> | <tr> | ||||
<td height="30" colspan="7" bgcolor="#ffffff"> | <td height="30" colspan="7" bgcolor="#ffffff"> | ||||
<button type="button" onClick="ReSel();" class="btn btn-secondary btn-sm">反选</button> | |||||
<button type="button" onClick="DelSel();" class="btn btn-secondary btn-sm">删除</button> | |||||
<button type="button" onClick="ReSel();" class="btn btn-success btn-sm">反选</button> | |||||
<button type="button" onClick="DelSel();" class="btn btn-success btn-sm">删除</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -78,7 +78,7 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="34" colspan="4" align="center" bgcolor="#F9FCEF"> | <td height="34" colspan="4" align="center" bgcolor="#F9FCEF"> | ||||
<button type="submit" class="btn btn-secondary">确定</button> | |||||
<button type="submit" class="btn btn-success">确定</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
@@ -482,7 +482,7 @@ $i = 0; | |||||
<td height="26" style="padding-left:10px;">封面模板:</td> | <td height="26" style="padding-left:10px;">封面模板:</td> | ||||
<td> <input name="tempindex" type="text" value="{style}/index_<?php echo $nid?>.htm" class="pubinputs" | <td> <input name="tempindex" type="text" value="{style}/index_<?php echo $nid?>.htm" class="pubinputs" | ||||
style="width:300px" /> | style="width:300px" /> | ||||
<button type="button" name="set1" class="btn btn-secondary btn-sm" | |||||
<button type="button" name="set1" class="btn btn-success btn-sm" | |||||
onClick="SelectTemplets('form1.tempindex');">浏览...</button> | onClick="SelectTemplets('form1.tempindex');">浏览...</button> | ||||
<img src="images/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" | <img src="images/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" | ||||
onClick="ShowHide('helpvar1')" /> | onClick="ShowHide('helpvar1')" /> | ||||
@@ -492,7 +492,7 @@ $i = 0; | |||||
<td height="26" style="padding-left:10px;">列表模板:</td> | <td height="26" style="padding-left:10px;">列表模板:</td> | ||||
<td> <input name="templist" type="text" value="{style}/list_<?php echo $nid?>.htm" class="pubinputs" | <td> <input name="templist" type="text" value="{style}/list_<?php echo $nid?>.htm" class="pubinputs" | ||||
style="width:300px" /> | style="width:300px" /> | ||||
<button type="button" name="set3" class="btn btn-secondary btn-sm" | |||||
<button type="button" name="set3" class="btn btn-success btn-sm" | |||||
onClick="SelectTemplets('form1.templist');">浏览...</button> | onClick="SelectTemplets('form1.templist');">浏览...</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -500,7 +500,7 @@ $i = 0; | |||||
<td height="26" style="padding-left:10px;">文章模板:</td> | <td height="26" style="padding-left:10px;">文章模板:</td> | ||||
<td><input name="temparticle" type="text" value="{style}/article_<?php echo $nid?>.htm" class="pubinputs" | <td><input name="temparticle" type="text" value="{style}/article_<?php echo $nid?>.htm" class="pubinputs" | ||||
style="width:300px" /> | style="width:300px" /> | ||||
<button type="button" name="set4" class="btn btn-secondary btn-sm" style="width:60px" | |||||
<button type="button" name="set4" class="btn btn-success btn-sm" style="width:60px" | |||||
onClick="SelectTemplets('form1.temparticle');">浏览...</button> | onClick="SelectTemplets('form1.temparticle');">浏览...</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -575,9 +575,9 @@ $i = 0; | |||||
<tr> | <tr> | ||||
<td width="1%" height="35"></td> | <td width="1%" height="35"></td> | ||||
<td width="99%" valign="bottom" class="py-3"> | <td width="99%" valign="bottom" class="py-3"> | ||||
<button type="submit" class="btn btn-secondary">确定</button> | |||||
<button type="submit" class="btn btn-success">确定</button> | |||||
| | ||||
<a href="catalog_main.php" class="btn btn-secondary">返回</a> | |||||
<a href="catalog_main.php" class="btn btn-success">返回</a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -237,7 +237,7 @@ | |||||
<td width="60" height="28">排序</td> | <td width="60" height="28">排序</td> | ||||
<td width="170">顶级栏目名称</td> | <td width="170">顶级栏目名称</td> | ||||
<td width="520">子栏目(用"目录名称1,目录名称2..."这样表示多个栏目)</td> | <td width="520">子栏目(用"目录名称1,目录名称2..."这样表示多个栏目)</td> | ||||
<td width="250" align="center"><button type="button" id="add" class="btn btn-secondary btn-sm">添加</button> | |||||
<td width="250" align="center"><button type="button" id="add" class="btn btn-success btn-sm">添加</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#FFFFFF" height="32" align="center"> | <tr bgcolor="#FFFFFF" height="32" align="center"> | ||||
@@ -247,7 +247,7 @@ | |||||
<td align='center'><input type="text" name="toptype" id="toptype" class="pubinputs" | <td align='center'><input type="text" name="toptype" id="toptype" class="pubinputs" | ||||
style="width:160px;" /></td> | style="width:160px;" /></td> | ||||
<td><input type="text" name="sontype" id="sontype" class="pubinputs" style="width:480px;" /></td> | <td><input type="text" name="sontype" id="sontype" class="pubinputs" style="width:480px;" /></td> | ||||
<td align="center"><button name="" type="button" id="add" class="btn btn-secondary btn-sm del">删除</button></td> | |||||
<td align="center"><button name="" type="button" id="add" class="btn btn-success btn-sm del">删除</button></td> | |||||
</tr> | </tr> | ||||
<?php for($i=2;$i<=10;$i++) { ?> | <?php for($i=2;$i<=10;$i++) { ?> | ||||
<tr bgcolor="#FFFFFF" height="32" class="repeat" align="center"> | <tr bgcolor="#FFFFFF" height="32" class="repeat" align="center"> | ||||
@@ -259,7 +259,7 @@ | |||||
id="toptype<?php echo $i; ?>" class="pubinputs" style="width:160px;" /></td> | id="toptype<?php echo $i; ?>" class="pubinputs" style="width:160px;" /></td> | ||||
<td><input type="text" name="sontype<?php echo $i; ?>" id="sontype<?php echo $i; ?>" | <td><input type="text" name="sontype<?php echo $i; ?>" id="sontype<?php echo $i; ?>" | ||||
class="pubinputs" style="width:480px;" /></td> | class="pubinputs" style="width:480px;" /></td> | ||||
<td align="center"><button name="" type="button" id="add" class="btn btn-secondary btn-sm del">删除</button></td> | |||||
<td align="center"><button name="" type="button" id="add" class="btn btn-success btn-sm del">删除</button></td> | |||||
</tr> | </tr> | ||||
<?php } ?> | <?php } ?> | ||||
</tbody> | </tbody> | ||||
@@ -272,7 +272,7 @@ | |||||
<tr bgcolor="#FBFCE2" align="center"> | <tr bgcolor="#FBFCE2" align="center"> | ||||
<td width="60" height="28">排序</td> | <td width="60" height="28">排序</td> | ||||
<td width="170">栏目名称</td> | <td width="170">栏目名称</td> | ||||
<td width="250" align="center"><button type="button" id="addrel" class="btn btn-secondary btn-sm">添加</button> | |||||
<td width="250" align="center"><button type="button" id="addrel" class="btn btn-success btn-sm">添加</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#FFFFFF" height="32" align="center"> | <tr bgcolor="#FFFFFF" height="32" align="center"> | ||||
@@ -281,7 +281,7 @@ | |||||
<input type="text" name="rank" id="rank" value="1" class="pubinputs" style="width:50px;" /></td> | <input type="text" name="rank" id="rank" value="1" class="pubinputs" style="width:50px;" /></td> | ||||
<td align='center'><input type="text" name="reltype" id="reltype" class="pubinputs" | <td align='center'><input type="text" name="reltype" id="reltype" class="pubinputs" | ||||
style="width:160px;" /></td> | style="width:160px;" /></td> | ||||
<td align="center"><button name="" type="button" id="add" class="btn btn-secondary btn-sm del">删除</button></td> | |||||
<td align="center"><button name="" type="button" id="add" class="btn btn-success btn-sm del">删除</button></td> | |||||
</tr> | </tr> | ||||
<?php for($i=2;$i<=10;$i++) { ?> | <?php for($i=2;$i<=10;$i++) { ?> | ||||
<tr bgcolor="#FFFFFF" height="32" class="repeat" align="center"> | <tr bgcolor="#FFFFFF" height="32" class="repeat" align="center"> | ||||
@@ -291,7 +291,7 @@ | |||||
value="<?php echo $i; ?>" class="pubinputs" style="width:50px;" /></td> | value="<?php echo $i; ?>" class="pubinputs" style="width:50px;" /></td> | ||||
<td align='center'><input type="text" name="reltype<?php echo $i; ?>" | <td align='center'><input type="text" name="reltype<?php echo $i; ?>" | ||||
id="reltype<?php echo $i; ?>" class="pubinputs" style="width:160px;" /></td> | id="reltype<?php echo $i; ?>" class="pubinputs" style="width:160px;" /></td> | ||||
<td align="center"><button type="button" id="add" class="btn btn-secondary btn-sm del">删除</button></td> | |||||
<td align="center"><button type="button" id="add" class="btn btn-success btn-sm del">删除</button></td> | |||||
</tr> | </tr> | ||||
<?php } ?> | <?php } ?> | ||||
</tbody> | </tbody> | ||||
@@ -303,8 +303,8 @@ | |||||
style="border:1px solid #cfcfcf;border-top:none;" class="mb-3"> | style="border:1px solid #cfcfcf;border-top:none;" class="mb-3"> | ||||
<tr> | <tr> | ||||
<td width="1%" height="36"></td> | <td width="1%" height="36"></td> | ||||
<td width="99%" valign="bottom" class="py-3"><button type="submit" class="btn btn-secondary">确定</button> | |||||
<a href="catalog_main.php" class="btn btn-secondary">返回</a></td> | |||||
<td width="99%" valign="bottom" class="py-3"><button type="submit" class="btn btn-success">确定</button> | |||||
<a href="catalog_main.php" class="btn btn-success">返回</a></td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
</td> | </td> | ||||
@@ -407,7 +407,7 @@ $i = 0; | |||||
<td height="26" style="padding-left:10px;">封面模板:</td> | <td height="26" style="padding-left:10px;">封面模板:</td> | ||||
<td> <input name="tempindex" type="text" value="<?php echo $myrow['tempindex']?>" style="width:300px" | <td> <input name="tempindex" type="text" value="<?php echo $myrow['tempindex']?>" style="width:300px" | ||||
class="iptxt" /> | class="iptxt" /> | ||||
<button type="button" name="set1" class="btn btn-secondary btn-sm" | |||||
<button type="button" name="set1" class="btn btn-success btn-sm" | |||||
onClick="SelectTemplets('form1.tempindex');">浏览...</button> | onClick="SelectTemplets('form1.tempindex');">浏览...</button> | ||||
<img src="images/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" | <img src="images/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:pointer" | ||||
onClick="ShowHide('helpvar1')" /> | onClick="ShowHide('helpvar1')" /> | ||||
@@ -417,7 +417,7 @@ $i = 0; | |||||
<td height="26" style="padding-left:10px;">列表模板:</td> | <td height="26" style="padding-left:10px;">列表模板:</td> | ||||
<td> <input name="templist" type="text" value="<?php echo $myrow['templist']?>" style="width:300px" | <td> <input name="templist" type="text" value="<?php echo $myrow['templist']?>" style="width:300px" | ||||
class="iptxt" /> | class="iptxt" /> | ||||
<button type="button" name="set3" class="btn btn-secondary btn-sm" | |||||
<button type="button" name="set3" class="btn btn-success btn-sm" | |||||
onClick="SelectTemplets('form1.templist');">浏览...</button> | onClick="SelectTemplets('form1.templist');">浏览...</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -425,7 +425,7 @@ $i = 0; | |||||
<td height="26" style="padding-left:10px;">文章模板:</td> | <td height="26" style="padding-left:10px;">文章模板:</td> | ||||
<td><input name="temparticle" type="text" value="<?php echo $myrow['temparticle']?>" style="width:300px" | <td><input name="temparticle" type="text" value="<?php echo $myrow['temparticle']?>" style="width:300px" | ||||
class="iptxt" /> | class="iptxt" /> | ||||
<button type="button" name="set4" class="btn btn-secondary btn-sm" | |||||
<button type="button" name="set4" class="btn btn-success btn-sm" | |||||
onClick="SelectTemplets('form1.temparticle');">浏览...</button> | onClick="SelectTemplets('form1.temparticle');">浏览...</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -506,9 +506,9 @@ $i = 0; | |||||
<tr> | <tr> | ||||
<td width="1%" height="36"></td> | <td width="1%" height="36"></td> | ||||
<td width="99%" valign="bottom" class="py-3"> | <td width="99%" valign="bottom" class="py-3"> | ||||
<button type="submit" class="btn btn-secondary">确定</button> | |||||
<button type="submit" class="btn btn-success">确定</button> | |||||
| | ||||
<a href="catalog_main.php" class="btn btn-secondary">返回</a> | |||||
<a href="catalog_main.php" class="btn btn-success">返回</a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -134,10 +134,10 @@ td, th{ | |||||
<strong>网站栏目管理 </strong> | <strong>网站栏目管理 </strong> | ||||
</div> | </div> | ||||
<div style="float:right;padding-right:6px;" class="py-3"> | <div style="float:right;padding-right:6px;" class="py-3"> | ||||
<a href='catalog_add.php?listtype=all' class='btn btn-secondary btn-sm'>增加顶级栏目</a> | |||||
<a href='catalog_add.php?dopost=quick' class='btn btn-secondary btn-sm'>批量增加栏目</a> | |||||
<a href="catalog_do.php?dopost=upcatcache" class='btn btn-secondary btn-sm'>更新栏目缓存</a> | |||||
<a href="makehtml_list.php" class='btn btn-secondary btn-sm'>更新栏目HTML</a> | |||||
<a href='catalog_add.php?listtype=all' class='btn btn-success btn-sm'>增加顶级栏目</a> | |||||
<a href='catalog_add.php?dopost=quick' class='btn btn-success btn-sm'>批量增加栏目</a> | |||||
<a href="catalog_do.php?dopost=upcatcache" class='btn btn-success btn-sm'>更新栏目缓存</a> | |||||
<a href="makehtml_list.php" class='btn btn-success btn-sm'>更新栏目HTML</a> | |||||
</a> | </a> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -175,10 +175,10 @@ $tu->ListAllType($userChannel,$opendir); | |||||
<table width="98%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | <table width="98%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td align="right"> | <td align="right"> | ||||
<button type="button" name="sb1" class="btn btn-secondary btn-sm" onClick="document.form1.submit();">更新排序</button> | |||||
<button type="button" name="sb4" class="btn btn-secondary btn-sm" onClick="location='makehtml_js.php';">获取JS</button> | |||||
<button type="button" name="sb2" class="btn btn-secondary btn-sm" onClick="location='makehtml_list.php';">更新栏目HTML</button> | |||||
<button type="button" name="sb3" class="btn btn-secondary btn-sm" onClick="location='makehtml_archives.php';">更新文档HTML</button> | |||||
<button type="button" name="sb1" class="btn btn-success btn-sm" onClick="document.form1.submit();">更新排序</button> | |||||
<button type="button" name="sb4" class="btn btn-success btn-sm" onClick="location='makehtml_js.php';">获取JS</button> | |||||
<button type="button" name="sb2" class="btn btn-success btn-sm" onClick="location='makehtml_list.php';">更新栏目HTML</button> | |||||
<button type="button" name="sb3" class="btn btn-success btn-sm" onClick="location='makehtml_archives.php';">更新文档HTML</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -176,12 +176,12 @@ body | |||||
<form name="form3" target="menu" action="index_menu.php"></form> | <form name="form3" target="menu" action="index_menu.php"></form> | ||||
<form name="form5" target="main" action="catalog_add.php"><input type="hidden" name="dopost" value="quick" /></form> | <form name="form5" target="main" action="catalog_add.php"><input type="hidden" name="dopost" value="quick" /></form> | ||||
<form name="form6" target="main" action="content_list.php"></form> | <form name="form6" target="main" action="content_list.php"></form> | ||||
<button type="button" name="sb5" class="btn btn-secondary btn-sm" onClick="document.form5.submit();">批量增加栏目</button> | |||||
<button type="button" name="sb2" class="btn btn-secondary btn-sm" onClick="document.form2.submit();">栏目管理</button> | |||||
<button type="button" name="sb5" class="btn btn-success btn-sm" onClick="document.form5.submit();">批量增加栏目</button> | |||||
<button type="button" name="sb2" class="btn btn-success btn-sm" onClick="document.form2.submit();">栏目管理</button> | |||||
<br /> | <br /> | ||||
<button type="button" name="sb3" class="btn btn-secondary btn-sm mt-1" onClick="document.form3.submit();">菜单</button> | |||||
<button type="button" name="sb6" class="btn btn-secondary btn-sm mt-1" onClick="document.form6.submit();">文档列表</button> | |||||
<button type="button" name="sb1" class="btn btn-secondary btn-sm mt-1" onClick="document.form1.submit();">发布向导</button> | |||||
<button type="button" name="sb3" class="btn btn-success btn-sm mt-1" onClick="document.form3.submit();">菜单</button> | |||||
<button type="button" name="sb6" class="btn btn-success btn-sm mt-1" onClick="document.form6.submit();">文档列表</button> | |||||
<button type="button" name="sb1" class="btn btn-success btn-sm mt-1" onClick="document.form1.submit();">发布向导</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -62,7 +62,7 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="34" colspan="3" align="center" bgcolor="#FFFFFF"> | <td height="34" colspan="3" align="center" bgcolor="#FFFFFF"> | ||||
<button type="submit" class="btn btn-secondary">确定</button> | |||||
<button type="submit" class="btn btn-success">确定</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
@@ -151,7 +151,7 @@ | |||||
<tr> | <tr> | ||||
<td height="31" colspan="2" bgcolor="#ffffff" align="center"> | <td height="31" colspan="2" bgcolor="#ffffff" align="center"> | ||||
<button name="b112" type="button" onClick="document.form1.submit();" | <button name="b112" type="button" onClick="document.form1.submit();" | ||||
class="btn btn-secondary">开始操作</button> | |||||
class="btn btn-success">开始操作</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
@@ -205,7 +205,7 @@ | |||||
<tr> | <tr> | ||||
<td height="31" colspan="2" bgcolor="#F9FCEF" align="center"> | <td height="31" colspan="2" bgcolor="#F9FCEF" align="center"> | ||||
<button name="b112" type="button" onClick="document.form2.submit();" | <button name="b112" type="button" onClick="document.form2.submit();" | ||||
class="btn btn-secondary">开始操作</button> | |||||
class="btn btn-success">开始操作</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
@@ -23,23 +23,23 @@ | |||||
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#cfcfcf" class="table table-bordered maintable mt-3"> | <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#cfcfcf" class="table table-bordered maintable mt-3"> | ||||
<tr> | <tr> | ||||
<td align="center" height="28" background="images/newlinebg3.gif"> | <td align="center" height="28" background="images/newlinebg3.gif"> | ||||
<button type='button' class="btn btn-secondary btn-sm" | |||||
<button type='button' class="btn btn-success btn-sm" | |||||
onClick="location='catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives';">添加文档</button> | onClick="location='catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives';">添加文档</button> | ||||
{dede:if $adminid == $mid } | {dede:if $adminid == $mid } | ||||
<button type='button' class="btn btn-secondary btn-sm" | |||||
<button type='button' class="btn btn-success btn-sm" | |||||
onClick="location='content_i_list.php?cid={dede:global.cid/}&mid=0';">全部文档</button> | onClick="location='content_i_list.php?cid={dede:global.cid/}&mid=0';">全部文档</button> | ||||
{else} | {else} | ||||
<button type='button' class="btn btn-secondary btn-sm" | |||||
<button type='button' class="btn btn-success btn-sm" | |||||
onClick="location='content_i_list.php?cid={dede:global.cid/}&mid=<?php echo $cuserLogin->getUserID(); ?>';" | onClick="location='content_i_list.php?cid={dede:global.cid/}&mid=<?php echo $cuserLogin->getUserID(); ?>';" | ||||
value=''>我的文档</button> | value=''>我的文档</button> | ||||
{/dede:if} | {/dede:if} | ||||
{dede:global.CheckUserSend/} | {dede:global.CheckUserSend/} | ||||
<button type='button' class="btn btn-secondary btn-sm" onClick="location='catalog_main.php';">栏目管理</button> | |||||
<button type='button' class="btn btn-secondary btn-sm" name='bb1' | |||||
<button type='button' class="btn btn-success btn-sm" onClick="location='catalog_main.php';">栏目管理</button> | |||||
<button type='button' class="btn btn-success btn-sm" name='bb1' | |||||
onClick="location='makehtml_list.php?cid={dede:global.cid/}';">更新列表</button> | onClick="location='makehtml_list.php?cid={dede:global.cid/}';">更新列表</button> | ||||
<button type='button' class="btn btn-secondary btn-sm" name='bb2' | |||||
<button type='button' class="btn btn-success btn-sm" name='bb2' | |||||
onClick="location='makehtml_archives.php?cid={dede:global.cid/}';">更新文档</button> | onClick="location='makehtml_archives.php?cid={dede:global.cid/}';">更新文档</button> | ||||
<button type='button' class="btn btn-secondary btn-sm" name='bb1' | |||||
<button type='button' class="btn btn-success btn-sm" name='bb1' | |||||
onClick="location='recycling.php?cid={dede:global.cid/}';">文章回收站</button> | onClick="location='recycling.php?cid={dede:global.cid/}';">文章回收站</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -104,18 +104,18 @@ | |||||
<tr bgcolor="#ffffff"> | <tr bgcolor="#ffffff"> | ||||
<td height="36" colspan="10"> | <td height="36" colspan="10"> | ||||
| | ||||
<a href="javascript:selAll()" class="btn btn-secondary btn-sm">全选</a> | |||||
<a href="javascript:noSelAll()" class="btn btn-secondary btn-sm">取消</a> | |||||
<a href="javascript:viewArc(0)" class="btn btn-secondary btn-sm"> 查看 </a> | |||||
<a href="javascript:editArc(0)" class="btn btn-secondary btn-sm"> 更改 </a> | |||||
<a href="javascript:updateArc(0)" class="btn btn-secondary btn-sm"> 更新 </a> | |||||
<a href="javascript:checkArc(0)" class="btn btn-secondary btn-sm"> 审核 </a> | |||||
<a href="javascript:adArc(0)" class="btn btn-secondary btn-sm"> 推荐 </a> | |||||
<a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a> | |||||
<a href="javascript:noSelAll()" class="btn btn-success btn-sm">取消</a> | |||||
<a href="javascript:viewArc(0)" class="btn btn-success btn-sm"> 查看 </a> | |||||
<a href="javascript:editArc(0)" class="btn btn-success btn-sm"> 更改 </a> | |||||
<a href="javascript:updateArc(0)" class="btn btn-success btn-sm"> 更新 </a> | |||||
<a href="javascript:checkArc(0)" class="btn btn-success btn-sm"> 审核 </a> | |||||
<a href="javascript:adArc(0)" class="btn btn-success btn-sm"> 推荐 </a> | |||||
<a href="javascript:;" onClick="moveArc(event,this,<?php echo (empty($channelid) ? 0 : $channelid); ?>)" | <a href="javascript:;" onClick="moveArc(event,this,<?php echo (empty($channelid) ? 0 : $channelid); ?>)" | ||||
class="btn btn-secondary btn-sm"> 移动 </a> | |||||
<a href="javascript:delArc(0)" class="btn btn-secondary btn-sm"> 删除 </a> | |||||
<a href="javascript:;" onClick="cAtts('attsAdd',event,this)" class="btn btn-secondary btn-sm"> 增加属性 </a> | |||||
<a href="javascript:;" onClick="cAtts('attsDel',event,this)" class="btn btn-secondary btn-sm"> 删除属性 </a> | |||||
class="btn btn-success btn-sm"> 移动 </a> | |||||
<a href="javascript:delArc(0)" class="btn btn-success btn-sm"> 删除 </a> | |||||
<a href="javascript:;" onClick="cAtts('attsAdd',event,this)" class="btn btn-success btn-sm"> 增加属性 </a> | |||||
<a href="javascript:;" onClick="cAtts('attsDel',event,this)" class="btn btn-success btn-sm"> 删除属性 </a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -157,7 +157,7 @@ | |||||
</select> | </select> | ||||
</td> | </td> | ||||
<td width='100'> | <td width='100'> | ||||
<button type="submit" class="btn btn-secondary btn-sm">搜索</button> | |||||
<button type="submit" class="btn btn-success btn-sm">搜索</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -23,22 +23,22 @@ | |||||
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" class="table maintable table-bordered mt-3"> | <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" class="table maintable table-bordered mt-3"> | ||||
<tr> | <tr> | ||||
<td align="center"> | <td align="center"> | ||||
<button type='button' class="btn btn-secondary btn-sm" | |||||
<button type='button' class="btn btn-success btn-sm" | |||||
onClick="location='catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives';">添加文档</button> | onClick="location='catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives';">添加文档</button> | ||||
{dede:if $adminid==$mid } | {dede:if $adminid==$mid } | ||||
<button type='button' class="btn btn-secondary btn-sm" | |||||
<button type='button' class="btn btn-success btn-sm" | |||||
onClick="location='content_list.php?cid={dede:global.cid/}&mid=0';">全部文档</button> | onClick="location='content_list.php?cid={dede:global.cid/}&mid=0';">全部文档</button> | ||||
{else} | {else} | ||||
<button type='button' class="btn btn-secondary btn-sm" | |||||
<button type='button' class="btn btn-success btn-sm" | |||||
onClick="location='content_list.php?cid={dede:global.cid/}&mid=<?php echo $cuserLogin->getUserID(); ?>';">我的文档</button> | onClick="location='content_list.php?cid={dede:global.cid/}&mid=<?php echo $cuserLogin->getUserID(); ?>';">我的文档</button> | ||||
{/dede:if} | {/dede:if} | ||||
{dede:global.CheckUserSend/} | {dede:global.CheckUserSend/} | ||||
<button type='button' class="btn btn-secondary btn-sm" onClick="location='catalog_main.php';">栏目管理</button> | |||||
<button type='button' class="btn btn-secondary btn-sm" name='bb1' | |||||
<button type='button' class="btn btn-success btn-sm" onClick="location='catalog_main.php';">栏目管理</button> | |||||
<button type='button' class="btn btn-success btn-sm" name='bb1' | |||||
onClick="location='makehtml_list.php?cid={dede:global.cid/}';">更新列表</button> | onClick="location='makehtml_list.php?cid={dede:global.cid/}';">更新列表</button> | ||||
<button type='button' class="btn btn-secondary btn-sm" name='bb2' | |||||
<button type='button' class="btn btn-success btn-sm" name='bb2' | |||||
onClick="location='makehtml_archives.php?cid={dede:global.cid/}';">更新文档</button> | onClick="location='makehtml_archives.php?cid={dede:global.cid/}';">更新文档</button> | ||||
<button type='button' class="btn btn-secondary btn-sm" name='bb1' | |||||
<button type='button' class="btn btn-success btn-sm" name='bb1' | |||||
onClick="location='recycling.php?cid={dede:global.cid/}';">文章回收站</button> | onClick="location='recycling.php?cid={dede:global.cid/}';">文章回收站</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -92,27 +92,27 @@ | |||||
<td>{dede:field.arcrank function="GetRankName(@me)"/}</td> | <td>{dede:field.arcrank function="GetRankName(@me)"/}</td> | ||||
<td>{dede:field.mid function=GetMemberName(@me)/}</td> | <td>{dede:field.mid function=GetMemberName(@me)/}</td> | ||||
<td> | <td> | ||||
<a href="javascript:;" title="编辑属性" class="btn btn-secondary btn-sm" onClick="QuickEdit('{dede:field.id/}', event, this);"> <i class="fa fa-cogs" aria-hidden="true"></i></a> | |||||
<a href="javascript:;" title="编辑" class="btn btn-secondary btn-sm" onClick="editArc({dede:field.id/});"> <i class="fa fa-pencil-square-o" aria-hidden="true"></i></a> | |||||
<a href="javascript:;" title="预览" class="btn btn-secondary btn-sm" onClick="viewArc({dede:field.id/});"> <i class="fa fa-globe" aria-hidden="true"></i></a> | |||||
<a href="javascript:;" title="编辑属性" class="btn btn-success btn-sm" onClick="QuickEdit('{dede:field.id/}', event, this);"> <i class="fa fa-cogs" aria-hidden="true"></i></a> | |||||
<a href="javascript:;" title="编辑" class="btn btn-success btn-sm" onClick="editArc({dede:field.id/});"> <i class="fa fa-pencil-square-o" aria-hidden="true"></i></a> | |||||
<a href="javascript:;" title="预览" class="btn btn-success btn-sm" onClick="viewArc({dede:field.id/});"> <i class="fa fa-globe" aria-hidden="true"></i></a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
{/dede:datalist} | {/dede:datalist} | ||||
<tr bgcolor="#ffffff"> | <tr bgcolor="#ffffff"> | ||||
<td height="36" colspan="10"> | <td height="36" colspan="10"> | ||||
| | ||||
<a class="btn btn-secondary btn-sm" href="javascript:selAll()">全选</a> | |||||
<a class="btn btn-secondary btn-sm" href="javascript:noSelAll()">取消</a> | |||||
<a class="btn btn-secondary btn-sm" href="javascript:updateArc(0)"> 更新 </a> | |||||
<a class="btn btn-secondary btn-sm" href="javascript:checkArc(0)"> 审核 </a> | |||||
<a class="btn btn-secondary btn-sm" href="javascript:adArc(0)"> 推荐 </a> | |||||
<a class="btn btn-secondary btn-sm" href="javascript:;" | |||||
<a class="btn btn-success btn-sm" href="javascript:selAll()">全选</a> | |||||
<a class="btn btn-success btn-sm" href="javascript:noSelAll()">取消</a> | |||||
<a class="btn btn-success btn-sm" href="javascript:updateArc(0)"> 更新 </a> | |||||
<a class="btn btn-success btn-sm" href="javascript:checkArc(0)"> 审核 </a> | |||||
<a class="btn btn-success btn-sm" href="javascript:adArc(0)"> 推荐 </a> | |||||
<a class="btn btn-success btn-sm" href="javascript:;" | |||||
onClick="moveArc(event,this,<?php echo (empty($channelid) ? 0 : $channelid); ?>)" | onClick="moveArc(event,this,<?php echo (empty($channelid) ? 0 : $channelid); ?>)" | ||||
class="coolbg"> 移动 </a> | class="coolbg"> 移动 </a> | ||||
<a class="btn btn-secondary btn-sm" href="javascript:delArc(0)"> 删除 </a> | |||||
<?php if($channelid==1) echo " <a class='btn btn-secondary btn-sm' href='javascript:kwArc(0)' class='coolbg'> 自动关键字 </a>\r\n"; ?> | |||||
<a class="btn btn-secondary btn-sm" href="javascript:;" onClick="cAtts('attsAdd',event,this)" class="coolbg"> 增加属性 </a> | |||||
<a href="javascript:;" onClick="cAtts('attsDel',event,this)" class="btn btn-secondary btn-sm"> 删除属性 </a> | |||||
<a class="btn btn-success btn-sm" href="javascript:delArc(0)"> 删除 </a> | |||||
<?php if($channelid==1) echo " <a class='btn btn-success btn-sm' href='javascript:kwArc(0)' class='coolbg'> 自动关键字 </a>\r\n"; ?> | |||||
<a class="btn btn-success btn-sm" href="javascript:;" onClick="cAtts('attsAdd',event,this)" class="coolbg"> 增加属性 </a> | |||||
<a href="javascript:;" onClick="cAtts('attsDel',event,this)" class="btn btn-success btn-sm"> 删除属性 </a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
@@ -161,7 +161,7 @@ | |||||
</select> | </select> | ||||
</td> | </td> | ||||
<td> | <td> | ||||
<button type="submit" class="btn btn-secondary">搜索</button> | |||||
<button type="submit" class="btn btn-success">搜索</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -118,10 +118,10 @@ | |||||
<table width="98%" border="0" cellspacing="0" cellpadding="0" class="table-borderless"> | <table width="98%" border="0" cellspacing="0" cellpadding="0" class="table-borderless"> | ||||
<tr> | <tr> | ||||
<td align="center"> | <td align="center"> | ||||
<button type='button' class="btn btn-secondary btn-sm" onClick="location='makehtml_spec.php';">更新专题HTML</button> | |||||
<button type='button' class="btn btn-secondary btn-sm" onClick="location='spec_add.php';">添加专题</button> | |||||
<button type='button' class="btn btn-success btn-sm" onClick="location='makehtml_spec.php';">更新专题HTML</button> | |||||
<button type='button' class="btn btn-success btn-sm" onClick="location='spec_add.php';">添加专题</button> | |||||
<?php echo $CheckUserSend?> | <?php echo $CheckUserSend?> | ||||
<button type='button' class="btn btn-secondary btn-sm" onClick="location='catalog_main.php';">频道管理</button> | |||||
<button type='button' class="btn btn-success btn-sm" onClick="location='catalog_main.php';">频道管理</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -171,14 +171,14 @@ | |||||
<tr bgcolor="#ffffff"> | <tr bgcolor="#ffffff"> | ||||
<td height="24" colspan="9"> | <td height="24" colspan="9"> | ||||
| | ||||
<a href="javascript:selAll()" class="btn btn-secondary btn-sm">全选</a> | |||||
<a href="javascript:noSelAll()" class="btn btn-secondary btn-sm">取消</a> | |||||
<a href="javascript:viewArc(0)" class="btn btn-secondary btn-sm"> 查看 </a> | |||||
<a href="javascript:editArc(0)" class="btn btn-secondary btn-sm"> 更改 </a> | |||||
<a href="javascript:updateArc(0)" class="btn btn-secondary btn-sm"> 更新 </a> | |||||
<a href="javascript:checkArc(0)" class="btn btn-secondary btn-sm"> 审核 </a> | |||||
<a href="javascript:adArc(0)" class="btn btn-secondary btn-sm"> 推荐 </a> | |||||
<a href="javascript:delArc(0)" class="btn btn-secondary btn-sm"> 删除 </a> | |||||
<a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a> | |||||
<a href="javascript:noSelAll()" class="btn btn-success btn-sm">取消</a> | |||||
<a href="javascript:viewArc(0)" class="btn btn-success btn-sm"> 查看 </a> | |||||
<a href="javascript:editArc(0)" class="btn btn-success btn-sm"> 更改 </a> | |||||
<a href="javascript:updateArc(0)" class="btn btn-success btn-sm"> 更新 </a> | |||||
<a href="javascript:checkArc(0)" class="btn btn-success btn-sm"> 审核 </a> | |||||
<a href="javascript:adArc(0)" class="btn btn-success btn-sm"> 推荐 </a> | |||||
<a href="javascript:delArc(0)" class="btn btn-success btn-sm"> 删除 </a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
@@ -207,7 +207,7 @@ | |||||
<input type='text' name='keyword' value='<?php echo $keyword?>' style='width:150'> | <input type='text' name='keyword' value='<?php echo $keyword?>' style='width:150'> | ||||
</td> | </td> | ||||
<td width='100'> | <td width='100'> | ||||
<button type="submit" class="btn btn-secondary btn-sm">搜索</button> | |||||
<button type="submit" class="btn btn-success btn-sm">搜索</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -88,11 +88,11 @@ | |||||
<tr bgcolor="#FAFAF1"> | <tr bgcolor="#FAFAF1"> | ||||
<td height="24" colspan="9"> | <td height="24" colspan="9"> | ||||
| | ||||
<a href="javascript:selAll()" class="btn btn-secondary btn-sm">全选</a> | |||||
<a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a> | |||||
| | ||||
<a href="javascript:noSelAll()" class="btn btn-secondary btn-sm">取消</a> | |||||
<a href="javascript:noSelAll()" class="btn btn-success btn-sm">取消</a> | |||||
| | ||||
<a href="javascript:ReturnValue()" class="btn btn-secondary btn-sm">把选定值加到列表</a> | |||||
<a href="javascript:ReturnValue()" class="btn btn-success btn-sm">把选定值加到列表</a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</form> | </form> | ||||
@@ -123,7 +123,7 @@ | |||||
<input type='text' name='keyword' value='<?php echo $keyword?>' style='width:150'> | <input type='text' name='keyword' value='<?php echo $keyword?>' style='width:150'> | ||||
</td> | </td> | ||||
<td width='100'> | <td width='100'> | ||||
<button type="submit" class="btn btn-secondary btn-sm">搜索</button> | |||||
<button type="submit" class="btn btn-success btn-sm">搜索</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -164,24 +164,24 @@ | |||||
<table width="98%" align="center" border="0" cellspacing="0" cellpadding="0" class="table table-bordered maintable mt-3"> | <table width="98%" align="center" border="0" cellspacing="0" cellpadding="0" class="table table-bordered maintable mt-3"> | ||||
<tr> | <tr> | ||||
<td align="center"> | <td align="center"> | ||||
<button type='button' class="btn btn-secondary btn-sm" | |||||
<button type='button' class="btn btn-success btn-sm" | |||||
onClick="location='catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives';" | onClick="location='catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives';" | ||||
>添加文档</button> | >添加文档</button> | ||||
{dede:if $adminid==$mid } | {dede:if $adminid==$mid } | ||||
<button type='button' class="btn btn-secondary btn-sm" | |||||
<button type='button' class="btn btn-success btn-sm" | |||||
onClick="location='content_list.php?cid={dede:global.cid/}&mid=0';" | onClick="location='content_list.php?cid={dede:global.cid/}&mid=0';" | ||||
>全部文档</button> | >全部文档</button> | ||||
{else} | {else} | ||||
<button type='button' class="btn btn-secondary btn-sm" | |||||
<button type='button' class="btn btn-success btn-sm" | |||||
onClick="location='content_list.php?cid={dede:global.cid/}&mid=<?php echo $cuserLogin->getUserID(); ?>';" | onClick="location='content_list.php?cid={dede:global.cid/}&mid=<?php echo $cuserLogin->getUserID(); ?>';" | ||||
>我的文档</button> | >我的文档</button> | ||||
{/dede:if} | {/dede:if} | ||||
<button type='button' class="btn btn-secondary btn-sm" onClick="location='catalog_main.php';" | |||||
<button type='button' class="btn btn-success btn-sm" onClick="location='catalog_main.php';" | |||||
>栏目管理</button> | >栏目管理</button> | ||||
<button type='button' class="btn btn-secondary btn-sm" name='bb1' | |||||
<button type='button' class="btn btn-success btn-sm" name='bb1' | |||||
onClick="location='makehtml_list.php?cid={dede:global.cid/}';" | onClick="location='makehtml_list.php?cid={dede:global.cid/}';" | ||||
>更新列表</button> | >更新列表</button> | ||||
<button type='button' class="btn btn-secondary btn-sm" name='bb2' | |||||
<button type='button' class="btn btn-success btn-sm" name='bb2' | |||||
onClick="location='makehtml_archives.php?cid={dede:global.cid/}';" | onClick="location='makehtml_archives.php?cid={dede:global.cid/}';" | ||||
>更新文档</button> | >更新文档</button> | ||||
<?php echo $CheckUserSend; ?> | <?php echo $CheckUserSend; ?> | ||||
@@ -235,27 +235,27 @@ | |||||
<td>{dede:field.click/}</td> | <td>{dede:field.click/}</td> | ||||
<td>{dede:field.mid function=GetMemberName(@me)/}</td> | <td>{dede:field.mid function=GetMemberName(@me)/}</td> | ||||
<td> | <td> | ||||
<a href="javascript:editArc({dede:field.aid/})" class="btn btn-secondary btn-sm" title="编辑"> <i class="fa fa-pencil-square-o" aria-hidden="true"></i> </a> | |||||
<a href="javascript:viewArc({dede:field.aid/})" class="btn btn-secondary btn-sm" title="预览"> <i class="fa fa-globe" aria-hidden="true"></i></a> | |||||
<a href="javascript:editArc({dede:field.aid/})" class="btn btn-success btn-sm" title="编辑"> <i class="fa fa-pencil-square-o" aria-hidden="true"></i> </a> | |||||
<a href="javascript:viewArc({dede:field.aid/})" class="btn btn-success btn-sm" title="预览"> <i class="fa fa-globe" aria-hidden="true"></i></a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
{/dede:datalist} | {/dede:datalist} | ||||
<tr bgcolor="#ffffff"> | <tr bgcolor="#ffffff"> | ||||
<td height="24" colspan="9"> | <td height="24" colspan="9"> | ||||
| | ||||
<a class="btn btn-secondary btn-sm" href="javascript:selAll()" class="coolbg">全选</a> | |||||
<a class="btn btn-secondary btn-sm" href="javascript:noSelAll()" class="coolbg">取消</a> | |||||
<a class="btn btn-secondary btn-sm" href="javascript:updateArc(0)" class="coolbg"> 更新 </a> | |||||
<a class="btn btn-secondary btn-sm" href="javascript:checkArc(0)" class="coolbg"> 审核 </a> | |||||
<a class="btn btn-secondary btn-sm" href="javascript:adArc(0)" class="coolbg"> 推荐 </a> | |||||
<a class="btn btn-secondary btn-sm" href="javascript:;" | |||||
<a class="btn btn-success btn-sm" href="javascript:selAll()" class="coolbg">全选</a> | |||||
<a class="btn btn-success btn-sm" href="javascript:noSelAll()" class="coolbg">取消</a> | |||||
<a class="btn btn-success btn-sm" href="javascript:updateArc(0)" class="coolbg"> 更新 </a> | |||||
<a class="btn btn-success btn-sm" href="javascript:checkArc(0)" class="coolbg"> 审核 </a> | |||||
<a class="btn btn-success btn-sm" href="javascript:adArc(0)" class="coolbg"> 推荐 </a> | |||||
<a class="btn btn-success btn-sm" href="javascript:;" | |||||
onClick="moveArc(event,this,<?php echo (empty($channelid) ? 0 : $channelid); ?>)" | onClick="moveArc(event,this,<?php echo (empty($channelid) ? 0 : $channelid); ?>)" | ||||
class="coolbg"> 移动 </a> | class="coolbg"> 移动 </a> | ||||
<a class="btn btn-secondary btn-sm" href="javascript:delArc(0)" class="coolbg"> 删除 </a> | |||||
<a class="btn btn-success btn-sm" href="javascript:delArc(0)" class="coolbg"> 删除 </a> | |||||
<?php | <?php | ||||
if(!empty($f)) { | if(!empty($f)) { | ||||
?> | ?> | ||||
<a href="javascript:ReturnValue()" class="btn btn-secondary btn-sm">把选定值加到列表</a> | |||||
<a href="javascript:ReturnValue()" class="btn btn-success btn-sm">把选定值加到列表</a> | |||||
<?php | <?php | ||||
} | } | ||||
?> | ?> | ||||
@@ -296,7 +296,7 @@ | |||||
style='width:150'> | style='width:150'> | ||||
</td> | </td> | ||||
<td width='100'> | <td width='100'> | ||||
<button type="submit" class="btn btn-secondary btn-sm">搜索</button> | |||||
<button type="submit" class="btn btn-success btn-sm">搜索</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -115,10 +115,10 @@ | |||||
<tr> | <tr> | ||||
<td width="26%" height="45"> </td> | <td width="26%" height="45"> </td> | ||||
<td width="15%"> | <td width="15%"> | ||||
<button type="submit" name="button" id="button" class='btn btn-secondary'>确定</button> | |||||
<button type="submit" name="button" id="button" class='btn btn-success'>确定</button> | |||||
</td> | </td> | ||||
<td width="59%"> | <td width="59%"> | ||||
<button type="button" class='btn btn-secondary' id="button2" onclick="location='diy_main.php';" | |||||
<button type="button" class='btn btn-success' id="button2" onclick="location='diy_main.php';" | |||||
>返回</button> | >返回</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -94,7 +94,7 @@ | |||||
您只需要增加其它个性化字段即可。</td> | 您只需要增加其它个性化字段即可。</td> | ||||
<td bgcolor="#F9FCEF"> | <td bgcolor="#F9FCEF"> | ||||
<button name="fset" type="button" id="fset" | <button name="fset" type="button" id="fset" | ||||
onClick="location.href='diy_field_add.php?diyid=<?php echo $diyid; ?>'" class="btn btn-secondary btn-sm" | |||||
onClick="location.href='diy_field_add.php?diyid=<?php echo $diyid; ?>'" class="btn btn-success btn-sm" | |||||
>添加新字段</button> | >添加新字段</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -148,9 +148,9 @@ foreach($dtp->CTags as $ctag) | |||||
?> | ?> | ||||
</td> | </td> | ||||
<td> | <td> | ||||
<a href="diy_field_edit.php?diyid=<?php echo $diyid;?>&fname=<?php echo $ctag->GetTagName()?>" class="btn btn-secondary btn-sm"> <i class="fa fa-pencil-square-o" aria-hidden="true"></i> 修改</a> | |||||
<a href="diy_field_edit.php?diyid=<?php echo $diyid;?>&fname=<?php echo $ctag->GetTagName()?>" class="btn btn-success btn-sm"> <i class="fa fa-pencil-square-o" aria-hidden="true"></i> 修改</a> | |||||
<a | <a | ||||
href="diy_field_edit.php?diyid=<?php echo $diyid;?>&action=delete&fname=<?php echo $ctag->GetTagName()?>" class="btn btn-secondary btn-sm"> <i class="fa fa-globe" aria-hidden="true"></i> 删除</a> | |||||
href="diy_field_edit.php?diyid=<?php echo $diyid;?>&action=delete&fname=<?php echo $ctag->GetTagName()?>" class="btn btn-success btn-sm"> <i class="fa fa-globe" aria-hidden="true"></i> 删除</a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php | <?php | ||||
@@ -198,10 +198,10 @@ foreach($dtp->CTags as $ctag) | |||||
<tr> | <tr> | ||||
<td width="26%" height="45"> </td> | <td width="26%" height="45"> </td> | ||||
<td width="15%"> | <td width="15%"> | ||||
<button type="submit" name="button" id="button" class='btn btn-secondary'>确定</button> | |||||
<button type="submit" name="button" id="button" class='btn btn-success'>确定</button> | |||||
</td> | </td> | ||||
<td width="59%"> | <td width="59%"> | ||||
<button type="button" class='btn btn-secondary' id="button2" onclick="location='diy_main.php';" | |||||
<button type="button" class='btn btn-success' id="button2" onclick="location='diy_main.php';" | |||||
>返回</button> | >返回</button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -58,8 +58,8 @@ body { | |||||
<td height="40" width='600' colspan="2" align="center"> | <td height="40" width='600' colspan="2" align="center"> | ||||
<button type="submit" name="Submit1" class='btn btn-secondary'>保存更改</button> | |||||
<button type="button" name="Submit2" class='btn btn-secondary' onClick="location='<?php echo $ENV_GOBACK_URL; ?>';">不理返回</button> | |||||
<button type="submit" name="Submit1" class='btn btn-success'>保存更改</button> | |||||
<button type="button" name="Submit2" class='btn btn-success' onClick="location='<?php echo $ENV_GOBACK_URL; ?>';">不理返回</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -85,7 +85,7 @@ td{ padding:2px; padding-left:6px; line-height:150%; } | |||||
<tr> | <tr> | ||||
<td width="30%"> <b><a href="diy_main.php">自定义表单管理</a> >> 增加新字段:</b> </td> | <td width="30%"> <b><a href="diy_main.php">自定义表单管理</a> >> 增加新字段:</b> </td> | ||||
<td align="right" style="padding-top:6px;"> | <td align="right" style="padding-top:6px;"> | ||||
<button type="button" name="ss1" onClick="location='diy_edit.php?diyid=<?php echo $diyid; ?>&dopost=edit';" class="btn btn-secondary btn-sm">当前表单信息</button> | |||||
<button type="button" name="ss1" onClick="location='diy_edit.php?diyid=<?php echo $diyid; ?>&dopost=edit';" class="btn btn-success btn-sm">当前表单信息</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> </td> | </table> </td> | ||||
@@ -187,10 +187,10 @@ td{ padding:2px; padding-left:6px; line-height:150%; } | |||||
<tr> | <tr> | ||||
<td width="26%" height="45"> </td> | <td width="26%" height="45"> </td> | ||||
<td width="10%"> | <td width="10%"> | ||||
<button type="submit" class="btn btn-secondary">确定</button> | |||||
<button type="submit" class="btn btn-success">确定</button> | |||||
</td> | </td> | ||||
<td> | <td> | ||||
<button type="reset" class="btn btn-secondary">重置</button> | |||||
<button type="reset" class="btn btn-success">重置</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -69,7 +69,7 @@ td{ padding:2px; padding-left:6px; } | |||||
<tr> | <tr> | ||||
<td width="30%" style="padding-left:10px;"><b><a href="diy_main.php">自定义表单管理</a> >> 修改字段:</b> </td> | <td width="30%" style="padding-left:10px;"><b><a href="diy_main.php">自定义表单管理</a> >> 修改字段:</b> </td> | ||||
<td align="right" style="padding-top:6px;"> | <td align="right" style="padding-top:6px;"> | ||||
<button type="button" name="ss1" onClick="location='diy_edit.php?diyid=<?php echo $diyid; ?>&dopost=edit';" class="btn btn-secondary btn-sm">当前表单信息</button> | |||||
<button type="button" name="ss1" onClick="location='diy_edit.php?diyid=<?php echo $diyid; ?>&dopost=edit';" class="btn btn-success btn-sm">当前表单信息</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> </td> | </table> </td> | ||||
@@ -166,10 +166,10 @@ td{ padding:2px; padding-left:6px; } | |||||
<tr> | <tr> | ||||
<td width="26%" height="45"> </td> | <td width="26%" height="45"> </td> | ||||
<td width="10%" class="py-3"> | <td width="10%" class="py-3"> | ||||
<button type="submit" class="btn btn-secondary">确定</button> | |||||
<button type="submit" class="btn btn-success">确定</button> | |||||
</td> | </td> | ||||
<td class="py-3"> | <td class="py-3"> | ||||
<button type="reset" class="btn btn-secondary">重置</button> | |||||
<button type="reset" class="btn btn-success">重置</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table></td> | </table></td> | ||||
@@ -67,7 +67,7 @@ if(!empty($fields)) | |||||
<label><input type="radio" name="action" value="check" class='np' /> 审核</label> | <label><input type="radio" name="action" value="check" class='np' /> 审核</label> | ||||
<label><input type="radio" name="action" value="delete" class='np' /> 删除</label> | <label><input type="radio" name="action" value="delete" class='np' /> 删除</label> | ||||
| | ||||
<button type="submit" name="submit" class='btn btn-secondary'>提交</button> | |||||
<button type="submit" name="submit" class='btn btn-success'>提交</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -23,7 +23,7 @@ | |||||
<td bgcolor="#EDF9D5" class="tbtitletxt" background="images/tbg.gif"> | <td bgcolor="#EDF9D5" class="tbtitletxt" background="images/tbg.gif"> | ||||
<table width='96%' border="0" cellpadding='0' cellspacing='0'> | <table width='96%' border="0" cellpadding='0' cellspacing='0'> | ||||
<tr> | <tr> | ||||
<td width='30%' class="py-3"><a href="diy_add.php" class="btn btn-secondary btn-sm ml-3">增加新的自定义表单</a></td> | |||||
<td width='30%' class="py-3"><a href="diy_add.php" class="btn btn-success btn-sm ml-3">增加新的自定义表单</a></td> | |||||
<td align='right'> | <td align='right'> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -47,9 +47,9 @@ | |||||
<td><a href="diy_list.php?action=list&diyid={dede:field.diyid/}"><u>{dede:field.name/}</u></a></td> | <td><a href="diy_list.php?action=list&diyid={dede:field.diyid/}"><u>{dede:field.name/}</u></a></td> | ||||
<td>{dede:field.table/}</td> | <td>{dede:field.table/}</td> | ||||
<td> | <td> | ||||
<a href='diy_edit.php?diyid={dede:field.diyid/}&dopost=edit' class="btn btn-secondary btn-sm"><i class="fa fa-pencil-square-o" aria-hidden="true"></i> 更改</a> | |||||
<a href='diy_edit.php?diyid={dede:field.diyid/}&dopost=delete' class="btn btn-secondary btn-sm"> <i class="fa fa-trash" aria-hidden="true"></i> 删除 </a> | |||||
<a href="../plus/diy.php?action=list&diyid={dede:field.diyid/}" class="btn btn-secondary btn-sm" target="_blank"> <i class="fa fa-globe" aria-hidden="true"></i> 前台预览</a> | |||||
<a href='diy_edit.php?diyid={dede:field.diyid/}&dopost=edit' class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o" aria-hidden="true"></i> 更改</a> | |||||
<a href='diy_edit.php?diyid={dede:field.diyid/}&dopost=delete' class="btn btn-success btn-sm"> <i class="fa fa-trash" aria-hidden="true"></i> 删除 </a> | |||||
<a href="../plus/diy.php?action=list&diyid={dede:field.diyid/}" class="btn btn-success btn-sm" target="_blank"> <i class="fa fa-globe" aria-hidden="true"></i> 前台预览</a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
{/dede:datalist} | {/dede:datalist} | ||||
@@ -89,9 +89,9 @@ | |||||
{/dede:datalist} | {/dede:datalist} | ||||
<tr align="left" bgcolor="#ffffff" height="28"> | <tr align="left" bgcolor="#ffffff" height="28"> | ||||
<td colspan="8"> | <td colspan="8"> | ||||
<a href="javascript:selAll()" class="btn btn-secondary btn-sm">全选</a> | |||||
<a href="javascript:noSelAll()" class="btn btn-secondary btn-sm">取消</a> | |||||
<a href="javascript:delArc(0)" class="btn btn-secondary btn-sm"> 删除 </a> | |||||
<a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a> | |||||
<a href="javascript:noSelAll()" class="btn btn-success btn-sm">取消</a> | |||||
<a href="javascript:delArc(0)" class="btn btn-success btn-sm"> 删除 </a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr align="center" bgcolor="#F9FCEF" height="28"> | <tr align="center" bgcolor="#F9FCEF" height="28"> | ||||
@@ -73,9 +73,9 @@ | |||||
</tr> | </tr> | ||||
<tr bgcolor="#FFFFFF"> | <tr bgcolor="#FFFFFF"> | ||||
<td height="40" width='600' colspan="2" align="center"> | <td height="40" width='600' colspan="2" align="center"> | ||||
<button type="submit" class="btn btn-secondary">保存更改</button> | |||||
<button type="submit" class="btn btn-success">保存更改</button> | |||||
| | ||||
<button onClick="location='<?php echo $ENV_GOBACK_URL; ?>';" type="button" class="btn btn-secondary">不理返回</button> | |||||
<button onClick="location='<?php echo $ENV_GOBACK_URL; ?>';" type="button" class="btn btn-success">不理返回</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -84,7 +84,7 @@ | |||||
<option value="0">--请选择--</option> | <option value="0">--请选择--</option> | ||||
{dede:global.openarray /} | {dede:global.openarray /} | ||||
</select> | </select> | ||||
<button type="submit" class="btn btn-secondary">搜索</button> | |||||
<button type="submit" class="btn btn-success">搜索</button> | |||||
</form> | </form> | ||||
</div> | </div> | ||||
</td> | </td> | ||||
@@ -123,10 +123,10 @@ | |||||
时间:{dede:field.dtime function="GetDateTimeMK(@me)" /} | 时间:{dede:field.dtime function="GetDateTimeMK(@me)" /} | ||||
</td> | </td> | ||||
<td width="20%" align="center"> | <td width="20%" align="center"> | ||||
<a class="btn btn-secondary btn-sm" | |||||
<a class="btn btn-success btn-sm" | |||||
href='feedback_edit.php?id={dede:field.id/}'><i | href='feedback_edit.php?id={dede:field.id/}'><i | ||||
class="fa fa-pencil-square-o" aria-hidden="true"></i> 编辑</a> | class="fa fa-pencil-square-o" aria-hidden="true"></i> 编辑</a> | ||||
<a class="btn btn-secondary btn-sm" | |||||
<a class="btn btn-success btn-sm" | |||||
href='feedback_edit.php?id={dede:field.id/}&dopost=makehtml'>更新文档</a> | href='feedback_edit.php?id={dede:field.id/}&dopost=makehtml'>更新文档</a> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -157,19 +157,19 @@ | |||||
<tr> | <tr> | ||||
<td width="30%"> | <td width="30%"> | ||||
<button type='button' name='kk1' onClick="selAll()" | <button type='button' name='kk1' onClick="selAll()" | ||||
class="btn btn-secondary btn-sm">全选</button> | |||||
class="btn btn-success btn-sm">全选</button> | |||||
<button type='button' name='kk2' onClick="selNone()" | <button type='button' name='kk2' onClick="selNone()" | ||||
class="btn btn-secondary btn-sm">取消</button> | |||||
class="btn btn-success btn-sm">取消</button> | |||||
<button type='button' name='kk3' onClick="selNor()" | <button type='button' name='kk3' onClick="selNor()" | ||||
class="btn btn-secondary btn-sm">反选</button> | |||||
class="btn btn-success btn-sm">反选</button> | |||||
</td> | </td> | ||||
<td align="right"> | <td align="right"> | ||||
<button type='button' name='db' onClick="delFeedbackIP()" | <button type='button' name='db' onClick="delFeedbackIP()" | ||||
class="btn btn-secondary btn-sm">删除相同IP的所有评论</button> | |||||
class="btn btn-success btn-sm">删除相同IP的所有评论</button> | |||||
<button type='button' name='db' onClick="delFeedback()" | <button type='button' name='db' onClick="delFeedback()" | ||||
class="btn btn-secondary btn-sm">删除评论</button> | |||||
class="btn btn-success btn-sm">删除评论</button> | |||||
<button type='button' name='db2' onClick="checkFeedback()" | <button type='button' name='db2' onClick="checkFeedback()" | ||||
class="btn btn-secondary btn-sm">审核评论</button> | |||||
class="btn btn-success btn-sm">审核评论</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -73,11 +73,11 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan='2' height="36" bgcolor='#F9FCEF' align='center'> | <td colspan='2' height="36" bgcolor='#F9FCEF' align='center'> | ||||
<button type=submit name='B1' class="btn btn-secondary"> 保 存 </button> | |||||
<button type=submit name='B1' class="btn btn-success"> 保 存 </button> | |||||
| | ||||
<button type=reset name='B2' class="btn btn-secondary"> 重 置 </button> | |||||
<button type=reset name='B2' class="btn btn-success"> 重 置 </button> | |||||
| | ||||
<button type=button name='B4' class="btn btn-secondary" | |||||
<button type=button name='B4' class="btn btn-success" | |||||
onClick="javascript:history.go(-1);"> 返 回 </button> | onClick="javascript:history.go(-1);"> 返 回 </button> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -80,8 +80,8 @@ while(($file = $dh->read()) !== false) | |||||
<td> </td> | <td> </td> | ||||
<td> </td> | <td> </td> | ||||
<td> | <td> | ||||
<a href=file_manage_view.php?filename=".urlencode($file)."&activepath=".urlencode($activepath)."&fmdo=rename class='btn btn-secondary btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href=file_manage_view.php?filename=".urlencode($file)."&activepath=".urlencode($activepath)."&type=dir&fmdo=del class='btn btn-secondary btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href=file_manage_view.php?filename=".urlencode($file)."&activepath=".urlencode($activepath)."&fmdo=rename class='btn btn-success btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href=file_manage_view.php?filename=".urlencode($file)."&activepath=".urlencode($activepath)."&type=dir&fmdo=del class='btn btn-success btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
</td> | </td> | ||||
</td> | </td> | ||||
</tr>"; | </tr>"; | ||||
@@ -95,9 +95,9 @@ while(($file = $dh->read()) !== false) | |||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
<td align='center'>$filetime</td> | <td align='center'>$filetime</td> | ||||
<td> | <td> | ||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'><i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'><i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
</td> | </td> | ||||
</tr>"; | </tr>"; | ||||
$files[] = $line; | $files[] = $line; | ||||
@@ -110,9 +110,9 @@ while(($file = $dh->read()) !== false) | |||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
<td align='center' class='linerow'>$filetime</td> | <td align='center' class='linerow'>$filetime</td> | ||||
<td > | <td > | ||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
</td> | </td> | ||||
</tr>"; | </tr>"; | ||||
$files[] = $line; | $files[] = $line; | ||||
@@ -125,9 +125,9 @@ while(($file = $dh->read()) !== false) | |||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
<td align='center'>$filetime</td> | <td align='center'>$filetime</td> | ||||
<td> | <td> | ||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
</td> | </td> | ||||
</tr>"; | </tr>"; | ||||
$files[] = $line; | $files[] = $line; | ||||
@@ -140,9 +140,9 @@ while(($file = $dh->read()) !== false) | |||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
<td align='center'>$filetime</td> | <td align='center'>$filetime</td> | ||||
<td> | <td> | ||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
</td> | </td> | ||||
</tr>"; | </tr>"; | ||||
$files[] = $line; | $files[] = $line; | ||||
@@ -155,9 +155,9 @@ while(($file = $dh->read()) !== false) | |||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
<td align='center'>$filetime</td> | <td align='center'>$filetime</td> | ||||
<td > | <td > | ||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
</td> | </td> | ||||
</tr>"; | </tr>"; | ||||
$files[] = $line; | $files[] = $line; | ||||
@@ -170,9 +170,9 @@ while(($file = $dh->read()) !== false) | |||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
<td align='center'>$filetime</td> | <td align='center'>$filetime</td> | ||||
<td> | <td> | ||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
</td> | </td> | ||||
</tr>"; | </tr>"; | ||||
$files[] = $line; | $files[] = $line; | ||||
@@ -185,9 +185,9 @@ while(($file = $dh->read()) !== false) | |||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
<td align='center'>$filetime</td> | <td align='center'>$filetime</td> | ||||
<td> | <td> | ||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
</td> | </td> | ||||
</tr>"; | </tr>"; | ||||
$files[] = $line; | $files[] = $line; | ||||
@@ -200,9 +200,9 @@ while(($file = $dh->read()) !== false) | |||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
<td align='center' class='linerow'>$filetime</td> | <td align='center' class='linerow'>$filetime</td> | ||||
<td> | <td> | ||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
</td> | </td> | ||||
</tr>"; | </tr>"; | ||||
$files[] = $line; | $files[] = $line; | ||||
@@ -216,10 +216,10 @@ while(($file = $dh->read()) !== false) | |||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
<td align='center'>$filetime</td> | <td align='center'>$filetime</td> | ||||
<td> | <td> | ||||
<a href='$edurl' class='btn btn-secondary btn-sm'> <i class='fa fa-pencil-square-o' aria-hidden='true'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
<a href='$edurl' class='btn btn-success btn-sm'> <i class='fa fa-pencil-square-o' aria-hidden='true'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
</td> | </td> | ||||
</tr>"; | </tr>"; | ||||
$files[] = $line; | $files[] = $line; | ||||
@@ -233,10 +233,10 @@ while(($file = $dh->read()) !== false) | |||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
<td align='center'>$filetime</td> | <td align='center'>$filetime</td> | ||||
<td> | <td> | ||||
<a href='$edurl' class='btn btn-secondary btn-sm'> <i class='fa fa-pencil-square-o' aria-hidden='true'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
<a href='$edurl' class='btn btn-success btn-sm'> <i class='fa fa-pencil-square-o' aria-hidden='true'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
</td> | </td> | ||||
</tr>"; | </tr>"; | ||||
$files[] = $line; | $files[] = $line; | ||||
@@ -250,10 +250,10 @@ while(($file = $dh->read()) !== false) | |||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
<td align='center'>$filetime</td> | <td align='center'>$filetime</td> | ||||
<td> | <td> | ||||
<a href='$edurl' class='btn btn-secondary btn-sm'> <i class='fa fa-pencil-square-o' aria-hidden='true'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
<a href='$edurl' class='btn btn-success btn-sm'> <i class='fa fa-pencil-square-o' aria-hidden='true'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
</td> | </td> | ||||
</tr>"; | </tr>"; | ||||
$files[] = $line; | $files[] = $line; | ||||
@@ -267,10 +267,10 @@ while(($file = $dh->read()) !== false) | |||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
<td align='center'>$filetime</td> | <td align='center'>$filetime</td> | ||||
<td> | <td> | ||||
<a href='$edurl' class='btn btn-secondary btn-sm'> <i class='fa fa-pencil-square-o' aria-hidden='true'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'><i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
<a href='$edurl' class='btn btn-success btn-sm'> <i class='fa fa-pencil-square-o' aria-hidden='true'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
</td> | </td> | ||||
</tr>"; | </tr>"; | ||||
$files[] = $line; | $files[] = $line; | ||||
@@ -284,10 +284,10 @@ while(($file = $dh->read()) !== false) | |||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
<td align='center'>$filetime</td> | <td align='center'>$filetime</td> | ||||
<td> | <td> | ||||
<a href='$edurl' class='btn btn-secondary btn-sm'> <i class='fa fa-pencil-square-o' aria-hidden='true'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
<a href='$edurl' class='btn btn-success btn-sm'> <i class='fa fa-pencil-square-o' aria-hidden='true'></i> 编辑</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
</td> | </td> | ||||
</tr>"; | </tr>"; | ||||
$files[] = $line; | $files[] = $line; | ||||
@@ -299,9 +299,9 @@ while(($file = $dh->read()) !== false) | |||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
<td align='center'>$filetime</td> | <td align='center'>$filetime</td> | ||||
<td> | <td> | ||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-secondary btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-address-card-o' aria-hidden='true'></i> 改名</a> | |||||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-trash' aria-hidden='true'></i> 删除</a> | |||||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'> <i class='fa fa-share-square' aria-hidden='true'></i> 移动</a> | |||||
</td> | </td> | ||||
</tr>"; | </tr>"; | ||||
$files[] = $line; | $files[] = $line; | ||||
@@ -319,11 +319,11 @@ foreach ($files as $file) | |||||
?> | ?> | ||||
<tr> | <tr> | ||||
<td colspan="4" height='26' bgcolor='#F9FCEF'> | <td colspan="4" height='26' bgcolor='#F9FCEF'> | ||||
<a href='file_manage_main.php' class="btn btn-secondary btn-sm">根目录</a> | |||||
<a href='file_manage_view.php?fmdo=newfile&activepath=<?php echo urlencode($activepath)?>' class="btn btn-secondary btn-sm">新建文件</a> | |||||
<a href='file_manage_view.php?fmdo=newdir&activepath=<?php echo urlencode($activepath)?>' class="btn btn-secondary btn-sm">新建目录</a> | |||||
<a href='file_manage_view.php?fmdo=upload&activepath=<?php echo urlencode($activepath)?>' class="btn btn-secondary btn-sm">文件上传</a> | |||||
<a href='file_manage_control.php?fmdo=space&activepath=<?php echo urlencode($activepath)?>' class="btn btn-secondary btn-sm">空间检查</a> | |||||
<a href='file_manage_main.php' class="btn btn-success btn-sm">根目录</a> | |||||
<a href='file_manage_view.php?fmdo=newfile&activepath=<?php echo urlencode($activepath)?>' class="btn btn-success btn-sm">新建文件</a> | |||||
<a href='file_manage_view.php?fmdo=newdir&activepath=<?php echo urlencode($activepath)?>' class="btn btn-success btn-sm">新建目录</a> | |||||
<a href='file_manage_view.php?fmdo=upload&activepath=<?php echo urlencode($activepath)?>' class="btn btn-success btn-sm">文件上传</a> | |||||
<a href='file_manage_control.php?fmdo=space&activepath=<?php echo urlencode($activepath)?>' class="btn btn-success btn-sm">空间检查</a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -132,7 +132,7 @@ | |||||
<td align="left"><input name="templet" type="text" id="templet" style="width:300px" | <td align="left"><input name="templet" type="text" id="templet" style="width:300px" | ||||
value="{style}/list_free.htm"> | value="{style}/list_free.htm"> | ||||
<button type="button" name="set4" style="width:60px" | <button type="button" name="set4" style="width:60px" | ||||
onClick="SelectTemplets('form1.templet');" class="btn btn-secondary btn-sm">浏览...</button></td> | |||||
onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览...</button></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="30" align="left">最大列出页数:</td> | <td height="30" align="left">最大列出页数:</td> | ||||
@@ -296,7 +296,7 @@ | |||||
<tr> | <tr> | ||||
<td height="50" align="left"> | <td height="50" align="left"> | ||||
<button name="Submit2" type="submit" id="Submit2" | <button name="Submit2" type="submit" id="Submit2" | ||||
class="btn btn-secondary">保存一个列表</button> | |||||
class="btn btn-success">保存一个列表</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -122,7 +122,7 @@ | |||||
<td align="left"><input name="templet" type="text" id="templet" style="width:300px" | <td align="left"><input name="templet" type="text" id="templet" style="width:300px" | ||||
value="<?php echo $row['templet']?>"> | value="<?php echo $row['templet']?>"> | ||||
<button type="button" name="set4" style="width:60px" | <button type="button" name="set4" style="width:60px" | ||||
onClick="SelectTemplets('form1.templet');" class="btn btn-secondary btn-sm">浏览...</button></td> | |||||
onClick="SelectTemplets('form1.templet');" class="btn btn-success btn-sm">浏览...</button></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="30" align="left">最大列出页数:</td> | <td height="30" align="left">最大列出页数:</td> | ||||
@@ -304,7 +304,7 @@ | |||||
<tr> | <tr> | ||||
<td height="50" align="left"> | <td height="50" align="left"> | ||||
<button name="Submit2" type="submit" id="Submit2" | <button name="Submit2" type="submit" id="Submit2" | ||||
class="btn btn-secondary">保存一个列表</button> | |||||
class="btn btn-success">保存一个列表</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -106,7 +106,7 @@ | |||||
<table width='100%' border="0" cellpadding='0' cellspacing='0' class="maintable"> | <table width='100%' border="0" cellpadding='0' cellspacing='0' class="maintable"> | ||||
<tr> | <tr> | ||||
<td width='36%' class="py-3" style="padding-left:10px;"><strong>自由列表管理</strong> | <td width='36%' class="py-3" style="padding-left:10px;"><strong>自由列表管理</strong> | ||||
<a href="freelist_add.php" class="btn btn-secondary btn-sm">增加列表</a> | |||||
<a href="freelist_add.php" class="btn btn-success btn-sm">增加列表</a> | |||||
</td> | </td> | ||||
<td width="29%"> </td> | <td width="29%"> </td> | ||||
<td width="35%" align='right'> </td> | <td width="35%" align='right'> </td> | ||||
@@ -133,14 +133,14 @@ | |||||
value="<?php echo $keyword?>" /> | value="<?php echo $keyword?>" /> | ||||
</td> | </td> | ||||
<td width="80" align="left"> | <td width="80" align="left"> | ||||
<button type="submit" name="Submit2" class="btn btn-secondary btn-sm">搜索</button> | |||||
<button type="submit" name="Submit2" class="btn btn-success btn-sm">搜索</button> | |||||
</td> | </td> | ||||
<td align="left"> | <td align="left"> | ||||
<button type="button" name="bt1" | <button type="button" name="bt1" | ||||
onclick="location='freelist_add.php';" class="btn btn-secondary btn-sm">增加列表</button> | |||||
onclick="location='freelist_add.php';" class="btn btn-success btn-sm">增加列表</button> | |||||
| | ||||
<button type="button" name="bt2" | <button type="button" name="bt2" | ||||
onclick="location='makehtml_freelist.php';" class="btn btn-secondary btn-sm">更新所有列表HTML</button> | |||||
onclick="location='makehtml_freelist.php';" class="btn btn-success btn-sm">更新所有列表HTML</button> | |||||
</td> | </td> | ||||
<td width="200"> | <td width="200"> | ||||
@@ -105,8 +105,8 @@ function CheckSubmit() | |||||
<tr> | <tr> | ||||
<td height="51"> </td> | <td height="51"> </td> | ||||
<td> | <td> | ||||
<button type="submit" name="Submit" class="btn btn-secondary"> 提 交 </button> | |||||
<button type="reset" name="Submit" class="btn btn-secondary"> 重 置 </button> | |||||
<button type="submit" name="Submit" class="btn btn-success"> 提 交 </button> | |||||
<button type="reset" name="Submit" class="btn btn-success"> 重 置 </button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -93,9 +93,9 @@ | |||||
<tr> | <tr> | ||||
<td height="51"> </td> | <td height="51"> </td> | ||||
<td> | <td> | ||||
<button type="submit" name="Submit" class="btn btn-secondary"> 提 交 </button> | |||||
<button type="submit" name="Submit" class="btn btn-success"> 提 交 </button> | |||||
<button type="reset" name="Submit" onClick="location.href='<?php echo $ENV_GOBACK_URL?>';" | <button type="reset" name="Submit" onClick="location.href='<?php echo $ENV_GOBACK_URL?>';" | ||||
class="btn btn-secondary"> 返 回 </button> | |||||
class="btn btn-success"> 返 回 </button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -47,9 +47,9 @@ | |||||
<b>友情链接管理</b> | <b>友情链接管理</b> | ||||
</div> | </div> | ||||
<div style="float:right;padding-right:6px;"> | <div style="float:right;padding-right:6px;"> | ||||
<a href="friendlink_add.php" class="btn btn-secondary btn-sm">增加链接</a> | |||||
<a href="friendlink_type.php" class="btn btn-secondary btn-sm">网站类型管理</a> | |||||
<a href='{dede:global name=' cfg_phpurl' /}/flink.php' target='_blank' class="btn btn-secondary btn-sm">友情链接预览</a> | |||||
<a href="friendlink_add.php" class="btn btn-success btn-sm">增加链接</a> | |||||
<a href="friendlink_type.php" class="btn btn-success btn-sm">网站类型管理</a> | |||||
<a href='{dede:global name=' cfg_phpurl' /}/flink.php' target='_blank' class="btn btn-success btn-sm">友情链接预览</a> | |||||
</div> | </div> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -73,7 +73,7 @@ | |||||
</select> | </select> | ||||
</td> | </td> | ||||
<td> | <td> | ||||
<button type="submit" class="btn btn-secondary">搜索</button> | |||||
<button type="submit" class="btn btn-success">搜索</button> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -104,8 +104,8 @@ | |||||
<td>{dede:field.ischeck function="GetSta(@me)"/}</td> | <td>{dede:field.ischeck function="GetSta(@me)"/}</td> | ||||
<td>{dede:field.sortrank/}</td> | <td>{dede:field.sortrank/}</td> | ||||
<td> | <td> | ||||
<a href='friendlink_edit.php?id={dede:field.id/}&dopost=getedit' class="btn btn-secondary btn-sm">更改</a> | |||||
<a href='friendlink_edit.php?id={dede:field.id/}&dopost=delete' class="btn btn-secondary btn-sm">删除</a> | |||||
<a href='friendlink_edit.php?id={dede:field.id/}&dopost=getedit' class="btn btn-success btn-sm">更改</a> | |||||
<a href='friendlink_edit.php?id={dede:field.id/}&dopost=delete' class="btn btn-success btn-sm">删除</a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
{/dede:datalist} | {/dede:datalist} | ||||
@@ -113,9 +113,9 @@ | |||||
<tr bgcolor="#ffffff" height="28"> | <tr bgcolor="#ffffff" height="28"> | ||||
<td colspan="8"> | <td colspan="8"> | ||||
<a href='#' onclick='Sel("all")' class="btn btn-secondary btn-sm">全选</a> | |||||
<a href='#' onclick='Sel("none")' class="btn btn-secondary btn-sm">取消</a> | |||||
<a href='#' onclick='checkSubmit()' class="btn btn-secondary btn-sm">批量删除</a> | |||||
<a href='#' onclick='Sel("all")' class="btn btn-success btn-sm">全选</a> | |||||
<a href='#' onclick='Sel("none")' class="btn btn-success btn-sm">取消</a> | |||||
<a href='#' onclick='checkSubmit()' class="btn btn-success btn-sm">批量删除</a> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -17,9 +17,9 @@ | |||||
<tr> | <tr> | ||||
<td height="19" background="images/tbg.gif" colspan="9" style="padding-left:10px;"> | <td height="19" background="images/tbg.gif" colspan="9" style="padding-left:10px;"> | ||||
<a href="friendlink_main.php">友情链接管理</a> | <a href="friendlink_main.php">友情链接管理</a> | ||||
<a href="friendlink_add.php" class="btn btn-secondary btn-sm">增加链接</a> | |||||
<a href="friendlink_type.php" class="btn btn-secondary btn-sm">网站类型管理</a> | |||||
<a href='../plus/flink_add.php' target='_blank' class="btn btn-secondary btn-sm">外部申请表单</a></td> | |||||
<a href="friendlink_add.php" class="btn btn-success btn-sm">增加链接</a> | |||||
<a href="friendlink_type.php" class="btn btn-success btn-sm">网站类型管理</a> | |||||
<a href='../plus/flink_add.php' target='_blank' class="btn btn-success btn-sm">外部申请表单</a></td> | |||||
</tr> | </tr> | ||||
<tr bgcolor="#FBFCE2"> | <tr bgcolor="#FBFCE2"> | ||||
<td width="4%" height="24" align="center" valign="top">类型ID</td> | <td width="4%" height="24" align="center" valign="top">类型ID</td> | ||||
@@ -112,24 +112,7 @@ | |||||
</div> | </div> | ||||
<div id="skin"> | <div id="skin"> | ||||
<div> | <div> | ||||
<ul id="skinlist"> | |||||
<li id="s1"> | |||||
<div<?php echo $cfg_admin_skin == 1? ' class="sel"' : '';?>><img alt="织梦绿" src="images/blank.gif"> | |||||
</div> | |||||
</li> | |||||
<li id="s2"> | |||||
<div<?php echo $cfg_admin_skin == 2? ' class="sel"' : '';?>><img alt="淡蓝" src="images/blank.gif"> | |||||
</div> | |||||
</li> | |||||
<li id="s3"> | |||||
<div<?php echo $cfg_admin_skin == 3? ' class="sel"' : '';?>><img alt="咖啡" src="images/blank.gif"> | |||||
</div> | |||||
</li> | |||||
<li id="s4"> | |||||
<div<?php echo $cfg_admin_skin == 4? ' class="sel"' : '';?>><img alt="水墨" src="images/blank.gif"> | |||||
</div> | |||||
</li> | |||||
</ul> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
@@ -71,7 +71,7 @@ | |||||
<div id="updateinfos"> | <div id="updateinfos"> | ||||
<?php | <?php | ||||
echo "<div class='updatedvt py-3'>"; | echo "<div class='updatedvt py-3'>"; | ||||
echo "安全操作:<a href='sys_data.php' class='btn btn-secondary btn-sm'>数据库备份/还原</a> <a href='sys_safetest.php' class='btn btn-secondary btn-sm'>病毒扫描</a> <a href='sys_repair.php' class='btn btn-secondary btn-sm'>系统错误修复</a></div>\r\n"; | |||||
echo "安全操作:<a href='sys_data.php' class='btn btn-success btn-sm'>数据库备份/还原</a> <a href='sys_safetest.php' class='btn btn-success btn-sm'>病毒扫描</a> <a href='sys_repair.php' class='btn btn-success btn-sm'>系统错误修复</a></div>\r\n"; | |||||
echo "<iframe name='stafrm' src='{$offUrl}&uptime={$oktime}' frameborder='0' id='stafrm' width='98%' height='100'></iframe>"; | echo "<iframe name='stafrm' src='{$offUrl}&uptime={$oktime}' frameborder='0' id='stafrm' width='98%' height='100'></iframe>"; | ||||
?> | ?> | ||||
</div> | </div> | ||||
@@ -145,7 +145,7 @@ | |||||
echo "信息采集员或其它管理员"; | echo "信息采集员或其它管理员"; | ||||
} | } | ||||
?> | ?> | ||||
<a href="javascript:showMore()" class="btn btn-secondary btn-sm">查看更多</a></td> | |||||
<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"> | ||||