@@ -79,11 +79,11 @@ class ActionSearch | |||||
foreach ($text as $key => $value) { | foreach ($text as $key => $value) { | ||||
if ($key == 'title' || $key == 'description') { | if ($key == 'title' || $key == 'description') { | ||||
//仅对title,description进行数组替换 | //仅对title,description进行数组替换 | ||||
$text[$key] = str_replace($this->keyword, '<span style="color:#e74d58">'.$this->keyword.'</span>', $text[$key]); | |||||
$text[$key] = str_replace($this->keyword, '<span style="color:#dc3545">'.$this->keyword.'</span>', $text[$key]); | |||||
} | } | ||||
} | } | ||||
} else { | } else { | ||||
$text = str_replace($this->keyword, '<span style="color:#e74d58">'.$this->keyword.'</span>', $text); | |||||
$text = str_replace($this->keyword, '<span style="color:#dc3545">'.$this->keyword.'</span>', $text); | |||||
} | } | ||||
return $text; | return $text; | ||||
} | } | ||||
@@ -316,11 +316,11 @@ else if ($dopost == 'moveArchives') { | |||||
echo "<input type='hidden' name='qstr' value='{$qstr}'>"; | echo "<input type='hidden' name='qstr' value='{$qstr}'>"; | ||||
echo "<table width='100%' style='display:inline-block;z-index:9000'>"; | echo "<table width='100%' style='display:inline-block;z-index:9000'>"; | ||||
?> | ?> | ||||
<tr height='26'> | |||||
<tr> | |||||
<td width="86" class='bline'> 目标栏目:</td> | <td width="86" class='bline'> 目标栏目:</td> | ||||
<td class='bline'><?php echo $typeOptions; ?></td> | <td class='bline'><?php echo $typeOptions; ?></td> | ||||
</tr> | </tr> | ||||
<tr height='26'> | |||||
<tr> | |||||
<td width="86" class='bline'> 文档ID:</td> | <td width="86" class='bline'> 文档ID:</td> | ||||
<td class='bline'> | <td class='bline'> | ||||
<input type='text' name='tmpids' value="<?php echo $qstr; ?>" style='width:320px;overflow:hidden'> | <input type='text' name='tmpids' value="<?php echo $qstr; ?>" style='width:320px;overflow:hidden'> | ||||
@@ -521,7 +521,7 @@ else if ($dopost == 'quickEdit') { | |||||
echo "<input type='hidden' name='oldtypeid' value='{$arcRow['typeid']}'>"; | echo "<input type='hidden' name='oldtypeid' value='{$arcRow['typeid']}'>"; | ||||
echo "<table width='100%' style='display:inline-block;z-index:9000'>"; | echo "<table width='100%' style='display:inline-block;z-index:9000'>"; | ||||
?> | ?> | ||||
<tr height='26'> | |||||
<tr> | |||||
<td width="86" class='bline'> 所属栏目:</td> | <td width="86" class='bline'> 所属栏目:</td> | ||||
<td class='bline'> | <td class='bline'> | ||||
<?php | <?php | ||||
@@ -533,7 +533,7 @@ else if ($dopost == 'quickEdit') { | |||||
?> | ?> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr height='26'> | |||||
<tr> | |||||
<td width="86" class='bline'> 属性:</td> | <td width="86" class='bline'> 属性:</td> | ||||
<td class='bline'> | <td class='bline'> | ||||
<input type='hidden' name='oldflag' value='<?php echo $arcRow['flag']; ?>'> | <input type='hidden' name='oldflag' value='<?php echo $arcRow['flag']; ?>'> | ||||
@@ -550,15 +550,15 @@ else if ($dopost == 'quickEdit') { | |||||
?> | ?> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr height='26'> | |||||
<tr> | |||||
<td width="86" class='bline'> 标题:</td> | <td width="86" class='bline'> 标题:</td> | ||||
<td class='bline'><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:320px"></td> | <td class='bline'><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:320px"></td> | ||||
</tr> | </tr> | ||||
<tr height='26'> | |||||
<tr> | |||||
<td width="86" class='bline'> 简略标题:</td> | <td width="86" class='bline'> 简略标题:</td> | ||||
<td class='bline'><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:320px"></td> | <td class='bline'><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:320px"></td> | ||||
</tr> | </tr> | ||||
<tr height='26'> | |||||
<tr> | |||||
<td width="86" class='bline'> 阅读权限:</td> | <td width="86" class='bline'> 阅读权限:</td> | ||||
<td class='bline'> | <td class='bline'> | ||||
<select name="arcrank" id="arcrank" style="width:100px"> | <select name="arcrank" id="arcrank" style="width:100px"> | ||||
@@ -576,7 +576,7 @@ else if ($dopost == 'quickEdit') { | |||||
需要金币:<input name="money" type="text" id="money" value="<?php echo $arcRow["money"]; ?>" style="width:100px"> | 需要金币:<input name="money" type="text" id="money" value="<?php echo $arcRow["money"]; ?>" style="width:100px"> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr height='26'> | |||||
<tr> | |||||
<td width="86" class='bline'> 关键字:</td> | <td width="86" class='bline'> 关键字:</td> | ||||
<td class='bline'><input name="keywords" type="text" id="keywords" value="<?php echo $arcRow['keywords']; ?>" style="width:320px"></td> | <td class='bline'><input name="keywords" type="text" id="keywords" value="<?php echo $arcRow['keywords']; ?>" style="width:320px"></td> | ||||
</tr> | </tr> | ||||
@@ -838,7 +838,7 @@ else if ($dopost == 'attsDlg') { | |||||
echo "<input type='hidden' name='qstr' value='{$qstr}'>"; | echo "<input type='hidden' name='qstr' value='{$qstr}'>"; | ||||
echo "<table width='100%' style='display:inline-block;z-index:9000'>"; | echo "<table width='100%' style='display:inline-block;z-index:9000'>"; | ||||
?> | ?> | ||||
<tr height='26'> | |||||
<tr> | |||||
<td width="86" class='bline'> 属性:</td> | <td width="86" class='bline'> 属性:</td> | ||||
<td class='bline'> | <td class='bline'> | ||||
<input type='hidden' name='oldflag' value='<?php echo $arcRow['flag']; ?>'> | <input type='hidden' name='oldflag' value='<?php echo $arcRow['flag']; ?>'> | ||||
@@ -852,7 +852,7 @@ else if ($dopost == 'attsDlg') { | |||||
?> | ?> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr height='26'> | |||||
<tr> | |||||
<td width="86" class='bline'> 文档ID:</td> | <td width="86" class='bline'> 文档ID:</td> | ||||
<td class='bline'><input type='text' name='tmpids' value="<?php echo $qstr; ?>" style='width:320px;overflow:hidden'></td> | <td class='bline'><input type='text' name='tmpids' value="<?php echo $qstr; ?>" style='width:320px;overflow:hidden'></td> | ||||
</tr> | </tr> | ||||
@@ -27,7 +27,7 @@ $dlist->Display(); | |||||
function GetSta($sta) | function GetSta($sta) | ||||
{ | { | ||||
if ($sta == 1) return "正常"; | if ($sta == 1) return "正常"; | ||||
else return "<span style='color:#e74d58'>禁用</span>"; | |||||
else return "<span style='color:#dc3545'>禁用</span>"; | |||||
} | } | ||||
function GetMan($sta) | function GetMan($sta) | ||||
@@ -95,7 +95,7 @@ function DoRand(jobname) | |||||
</div> | </div> | ||||
<table width='98%' align='center'> | <table width='98%' align='center'> | ||||
<tr> | <tr> | ||||
<td height='26'> | |||||
<td> | |||||
如果您想对旧的文章应用随机模板设置,请点击此对旧文章进行处理(必须设置好模板项) | 如果您想对旧的文章应用随机模板设置,请点击此对旧文章进行处理(必须设置好模板项) | ||||
<a href='#' onclick='DoRand(\"makeold\")' class='btn btn-success 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> | <a href='#' onclick='DoRand(\"clearold\")' class='btn btn-success btn-sm'>取消全部</a> | ||||
@@ -34,7 +34,7 @@ $win = new OxWindow(); | |||||
$win->Init('catalog_del.php', 'js/blank.js', 'POST'); | $win->Init('catalog_del.php', 'js/blank.js', 'POST'); | ||||
$win->AddHidden('id', $id); | $win->AddHidden('id', $id); | ||||
$win->AddHidden('dopost', 'ok'); | $win->AddHidden('dopost', 'ok'); | ||||
$win->AddTitle("您要确实要删除栏目: [{$row['typename']}] 吗?"); | |||||
$win->AddTitle("您要确实要删除栏目:[{$row['typename']}] 吗?"); | |||||
$win->AddItem('栏目的文件保存目录:', $row['typedir']); | $win->AddItem('栏目的文件保存目录:', $row['typedir']); | ||||
$win->AddItem('是否删除文件:', "<label><input type='radio' name='delfile' class='np' value='no' checked='1' /> 否</label> <label> <input type='radio' name='delfile' class='np' value='yes' /> 是</label>"); | $win->AddItem('是否删除文件:', "<label><input type='radio' name='delfile' class='np' value='no' checked='1' /> 否</label> <label> <input type='radio' name='delfile' class='np' value='yes' /> 是</label>"); | ||||
$winform = $win->GetWindow('ok'); | $winform = $win->GetWindow('ok'); | ||||
@@ -210,7 +210,7 @@ function unitCatalog() { } | |||||
$reid = $tl->TypeInfos['reid']; | $reid = $tl->TypeInfos['reid']; | ||||
$channelid = $tl->TypeInfos['channeltype']; | $channelid = $tl->TypeInfos['channeltype']; | ||||
if (!empty($row['dd'])) { | if (!empty($row['dd'])) { | ||||
ShowMsg("栏目: $typename($typeid) 有子栏目,不能进行合并操作", '-1'); | |||||
ShowMsg("栏目:$typename($typeid) 有子栏目,不能进行合并操作", '-1'); | |||||
exit(); | exit(); | ||||
} | } | ||||
$typeOptions = $tl->GetOptionArray(0, 0, $channelid); | $typeOptions = $tl->GetOptionArray(0, 0, $channelid); | ||||
@@ -223,7 +223,7 @@ function unitCatalog() { } | |||||
$win->AddHidden('channelid', $channelid); | $win->AddHidden('channelid', $channelid); | ||||
$win->AddHidden('nextjob', 'unitok'); | $win->AddHidden('nextjob', 'unitok'); | ||||
$win->AddTitle("合并目录时不会删除原来的栏目目录,合并后需手动更新目标栏目的文档HTML和列表HTML。"); | $win->AddTitle("合并目录时不会删除原来的栏目目录,合并后需手动更新目标栏目的文档HTML和列表HTML。"); | ||||
$win->AddItem('您选择的栏目是:', "<span style='color:#e74d58'>$typename($typeid)</span>"); | |||||
$win->AddItem('您选择的栏目是:', "<span style='color:#dc3545'>$typename($typeid)</span>"); | |||||
$win->AddItem('您希望合并到那个栏目?', "<select name='unittype'>\r\n{$typeOptions}\r\n</select>"); | $win->AddItem('您希望合并到那个栏目?', "<select name='unittype'>\r\n{$typeOptions}\r\n</select>"); | ||||
$win->AddItem('注意事项:', '栏目不能有下级子栏目,只允许子级到更高级或同级或不同父级的情况。'); | $win->AddItem('注意事项:', '栏目不能有下级子栏目,只允许子级到更高级或同级或不同父级的情况。'); | ||||
$winform = $win->GetWindow('ok'); | $winform = $win->GetWindow('ok'); | ||||
@@ -187,7 +187,7 @@ if ($dopost == 'time') { | |||||
<td class='bline'><input name="typename" type="text" id="typename" value="<?php echo $myrow['typename'] ?>" style="width:260px" class="iptxt"></td> | <td class='bline'><input name="typename" type="text" id="typename" value="<?php echo $myrow['typename'] ?>" style="width:260px" class="iptxt"></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td class='bline' height="26" align="center"> 排列顺序: </td> | |||||
<td class='bline' height="26" align="center"> 排列顺序:</td> | |||||
<td class='bline'> <input name="sortrank" type="text" value="<?php echo $myrow['sortrank'] ?>" style="width:100" class="iptxt">(由低 -> 高)</td> | <td class='bline'> <input name="sortrank" type="text" value="<?php echo $myrow['sortrank'] ?>" style="width:100" class="iptxt">(由低 -> 高)</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -18,7 +18,7 @@ ul{margin:0;padding:0;list-style:none} | |||||
button+button{margin-left:10px} | button+button{margin-left:10px} | ||||
#wrap{padding:10px} | #wrap{padding:10px} | ||||
#topbar{padding:10px 0;border-bottom:1px solid #ccc;text-align:right} | #topbar{padding:10px 0;border-bottom:1px solid #ccc;text-align:right} | ||||
#topbar button{display:inline-block;border:0;padding:.25rem .5rem;line-height:1.5;font-size:12px;color:#fff;background:#28a745;border-color:#28a745;border-radius:.25rem;transition:all .6s;text-align:center} | |||||
#topbar button{display:inline-block;border:0;padding:.25rem .5rem;line-height:1.5;font-size:12px;color:#fff;background:#dc3545color:#dc3545;border-color:color:#dc3545;border-radius:.25rem;transition:all .6s;text-align:center} | |||||
.topbar button+.topbar button{margin-left:10px} | .topbar button+.topbar button{margin-left:10px} | ||||
#topbar button:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(38,159,86,.5);outline:none} | #topbar button:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(38,159,86,.5);outline:none} | ||||
#file_list{display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));padding-top:10px} | #file_list{display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));padding-top:10px} | ||||
@@ -120,7 +120,7 @@ table{background:#fff} | |||||
else if ($file == "..") { | else if ($file == "..") { | ||||
if ($activepath == "") continue; | if ($activepath == "") continue; | ||||
$tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); | $tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); | ||||
$line = "<tr height='26'> | |||||
$line = "<tr> | |||||
<td class='linerow'><a href='select_soft.php?f=$f&activepath=".urlencode($tmp).$addparm."'><img src='img/dir2.gif'>上级目录</a></td> | <td class='linerow'><a href='select_soft.php?f=$f&activepath=".urlencode($tmp).$addparm."'><img src='img/dir2.gif'>上级目录</a></td> | ||||
<td colspan='2' class='linerow'>当前目录:$activepath</td> | <td colspan='2' class='linerow'>当前目录:$activepath</td> | ||||
</tr>\r\n"; | </tr>\r\n"; | ||||
@@ -128,7 +128,7 @@ table{background:#fff} | |||||
} else if (is_dir("$inpath/$file")) { | } else if (is_dir("$inpath/$file")) { | ||||
if (preg_match("#^_(.*)$#i", $file)) continue; | if (preg_match("#^_(.*)$#i", $file)) continue; | ||||
if (preg_match("#^\.(.*)$#i", $file)) continue; | if (preg_match("#^\.(.*)$#i", $file)) continue; | ||||
$line = "<tr height='26'> | |||||
$line = "<tr> | |||||
<td class='linerow'><a href=select_soft.php?f=$f&activepath=".urlencode("$activepath/$file").$addparm."><img src='img/dir.gif'>$file</a></td> | <td class='linerow'><a href=select_soft.php?f=$f&activepath=".urlencode("$activepath/$file").$addparm."><img src='img/dir.gif'>$file</a></td> | ||||
<td class='linerow'></td> | <td class='linerow'></td> | ||||
<td class='linerow'></td> | <td class='linerow'></td> | ||||
@@ -140,7 +140,7 @@ table{background:#fff} | |||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
$reurl = $reurl; | $reurl = $reurl; | ||||
$line = "<tr height='26'> | |||||
$line = "<tr> | |||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='img/zip.gif'>$file</a></td> | <td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='img/zip.gif'>$file</a></td> | ||||
<td class='linerow'>$filesize KB</td> | <td class='linerow'>$filesize KB</td> | ||||
<td class='linerow'>$filetime</td> | <td class='linerow'>$filetime</td> | ||||
@@ -152,7 +152,7 @@ table{background:#fff} | |||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
$reurl = $reurl; | $reurl = $reurl; | ||||
$line = "<tr height='26'> | |||||
$line = "<tr> | |||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='img/exe.gif'>$file</a></td> | <td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='img/exe.gif'>$file</a></td> | ||||
<td class='linerow'>$filesize KB</td> | <td class='linerow'>$filesize KB</td> | ||||
<td class='linerow'>$filetime</td> | <td class='linerow'>$filetime</td> | ||||
@@ -20,7 +20,7 @@ if (empty($action)) { | |||||
include(DEDEADMIN."/templets/diy_add.htm"); | include(DEDEADMIN."/templets/diy_add.htm"); | ||||
} else { | } else { | ||||
if (preg_match("#[^0-9-]#", $diyid) || empty($diyid)) { | if (preg_match("#[^0-9-]#", $diyid) || empty($diyid)) { | ||||
ShowMsg("<span style='color:#e74d58'>'自定义表单diyid'</span>必须为数字", "-1"); | |||||
ShowMsg("<span style='color:#dc3545'>'自定义表单diyid'</span>必须为数字", "-1"); | |||||
exit(); | exit(); | ||||
} | } | ||||
if ($table == "") { | if ($table == "") { | ||||
@@ -23,7 +23,7 @@ if ($dopost == 'edit') { | |||||
$adminmsg = str_replace(">", ">", $adminmsg); | $adminmsg = str_replace(">", ">", $adminmsg); | ||||
$adminmsg = str_replace(" ", " ", $adminmsg); | $adminmsg = str_replace(" ", " ", $adminmsg); | ||||
$adminmsg = str_replace("\r\n", "<br/>\n", $adminmsg); | $adminmsg = str_replace("\r\n", "<br/>\n", $adminmsg); | ||||
$msg = $msg."<br/>\n"."<span style='color:#e74d58'>管理员回复: $adminmsg</span>\n"; | |||||
$msg = $msg."<br/>\n"."<span style='color:#dc3545'>管理员回复:$adminmsg</span>\n"; | |||||
} | } | ||||
$query = "UPDATE `#@__feedback` SET username='$username',msg='$msg',ischeck=1 WHERE id=$id"; | $query = "UPDATE `#@__feedback` SET username='$username',msg='$msg',ischeck=1 WHERE id=$id"; | ||||
$dsql->ExecuteNoneQuery($query); | $dsql->ExecuteNoneQuery($query); | ||||
@@ -18,7 +18,7 @@ setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | |||||
function IsCheck($st) | function IsCheck($st) | ||||
{ | { | ||||
return $st == 1 ? "[已审核]" : "<span style='color:#e74d58'>[未审核]</span>"; | |||||
return $st == 1 ? "[已审核]" : "<span style='color:#dc3545'>[未审核]</span>"; | |||||
} | } | ||||
function jsTrimjajx($str, $len) | function jsTrimjajx($str, $len) | ||||
@@ -1,5 +1,5 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('Request Error!'); | |||||
if (!defined('DEDEINC')) exit('dedebiz'); | |||||
/** | /** | ||||
* 文件管理逻辑类 | * 文件管理逻辑类 | ||||
* | * | ||||
@@ -92,7 +92,7 @@ else if ($dopost == 'editshow') { | |||||
<input type='hidden' name='dopost' value='editsave'> | <input type='hidden' name='dopost' value='editsave'> | ||||
<table width="100%" border="0" cellspacing="0" cellpadding="0"> | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td height='26' background="images/tbg.gif"> | |||||
<td background="images/tbg.gif"> | |||||
<div style='float:left'><b>修改快捷操作项</b></div> | <div style='float:left'><b>修改快捷操作项</b></div> | ||||
<div style='float:right;padding:3px 10px 0 0;'> | <div style='float:right;padding:3px 10px 0 0;'> | ||||
<a href="javascript:CloseTab('editTab')"><img src="images/close.gif" width="12" height="12" border="0"></a> | <a href="javascript:CloseTab('editTab')"><img src="images/close.gif" width="12" height="12" border="0"></a> | ||||
@@ -146,25 +146,25 @@ else if ($dopost == 'getRightSide') { | |||||
?> | ?> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width='50%' class='nline' style="text-align:left"> 会员数: </td> | |||||
<td width='50%' class='nline' style="text-align:left"> 会员数:</td> | |||||
<td class='nline' style="text-align:left"> <?php echo $row1['dd']; ?> </td> | <td class='nline' style="text-align:left"> <?php echo $row1['dd']; ?> </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td class='nline' style="text-align:left"> 文档数: </td> | |||||
<td class='nline' style="text-align:left"> 文档数:</td> | |||||
<td class='nline' style="text-align:left"> <?php echo $allArc; ?> </td> | <td class='nline' style="text-align:left"> <?php echo $allArc; ?> </td> | ||||
</tr> | </tr> | ||||
<?php | <?php | ||||
foreach ($chArr as $row) { | foreach ($chArr as $row) { | ||||
?> | ?> | ||||
<tr> | <tr> | ||||
<td class='nline' style="text-align:left"> <?php echo $row['typename']; ?>: </td> | |||||
<td class='nline' style="text-align:left"> <?php echo $row['typename']; ?>:</td> | |||||
<td class='nline' style="text-align:left"> <?php echo $row['dd']; ?> </td> | <td class='nline' style="text-align:left"> <?php echo $row['dd']; ?> </td> | ||||
</tr> | </tr> | ||||
<?php | <?php | ||||
} | } | ||||
?> | ?> | ||||
<tr> | <tr> | ||||
<td style="text-align:left"> 评论数: </td> | |||||
<td style="text-align:left"> 评论数:</td> | |||||
<td style="text-align:left"> <?php echo $row2['dd']; ?> </td> | <td style="text-align:left"> <?php echo $row2['dd']; ?> </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -188,7 +188,7 @@ exit(); | |||||
$row['editcon'] = 'archives_edit.php'; | $row['editcon'] = 'archives_edit.php'; | ||||
} | } | ||||
$linkstr = "·<a href='{$row['editcon']}?aid={$row['id']}&channelid={$row['channel']}'>{$row['title']}</a>"; | $linkstr = "·<a href='{$row['editcon']}?aid={$row['id']}&channelid={$row['channel']}'>{$row['title']}</a>"; | ||||
if ($row['arcrank'] == -1) $linkstr .= "<span style='color:#e74d58'>(未审核)</span>"; | |||||
if ($row['arcrank'] == -1) $linkstr .= "<span style='color:#dc3545'>(未审核)</span>"; | |||||
?> | ?> | ||||
<tr> | <tr> | ||||
<td class='nline'><?php echo $linkstr; ?></td> | <td class='nline'><?php echo $linkstr; ?></td> | ||||
@@ -60,12 +60,12 @@ if($dopost=="send"){ | |||||
}else{ | }else{ | ||||
function GetState($state){ | function GetState($state){ | ||||
if($state=="0") return "<span style='color:#e74d58'>未发送</span>"; | |||||
if($state=="0") return "<span style='color:#dc3545'>未发送</span>"; | |||||
else return "已发送"; | else return "已发送"; | ||||
} | } | ||||
function GetSendTimeMk($mktime){ | function GetSendTimeMk($mktime){ | ||||
if($mktime=="0") return "<span style='color:#e74d58'>未发送</span>"; | |||||
if($mktime=="0") return "<span style='color:#dc3545'>未发送</span>"; | |||||
else return MyDate('Y-m-d H:i:s',$mktime); | else return MyDate('Y-m-d H:i:s',$mktime); | ||||
} | } | ||||
@@ -120,7 +120,7 @@ if ($dopost == 'place' or $dopost == 'report' or $dopost == 'account' or $dopost | |||||
<tr> | <tr> | ||||
<td width="100%" height="100%" valign="top" bgcolor='#ffffff' style="padding-top:5px"><table width='100%' border='0' cellpadding='3' cellspacing='1' bgcolor='#DADADA' height="100%"> | <td width="100%" height="100%" valign="top" bgcolor='#ffffff' style="padding-top:5px"><table width='100%' border='0' cellpadding='3' cellspacing='1' bgcolor='#DADADA' height="100%"> | ||||
<tr bgcolor='#DADADA'> | <tr bgcolor='#DADADA'> | ||||
<td colspan='2' background='images/wbg.gif' height='26'><span><b>{$ptitle}</b></span></td> | |||||
<td colspan='2' background='images/wbg.gif'><span><b>{$ptitle}</b></span></td> | |||||
</tr> | </tr> | ||||
{$addstr} | {$addstr} | ||||
<tr bgcolor='#FFFFFF'> | <tr bgcolor='#FFFFFF'> | ||||
@@ -367,7 +367,7 @@ function __index(){ } | |||||
<input type='hidden' name='dopost' value='bind_user'> | <input type='hidden' name='dopost' value='bind_user'> | ||||
<table width='100%' border='0' cellpadding='3' cellspacing='1' bgcolor='#DADADA'> | <table width='100%' border='0' cellpadding='3' cellspacing='1' bgcolor='#DADADA'> | ||||
<tr bgcolor='#DADADA'> | <tr bgcolor='#DADADA'> | ||||
<td colspan='2' background='{$cfg_static_dir}/img/wbg.gif' height='26'><span><b>德得广告</b></span></td> | |||||
<td colspan='2' background='{$cfg_static_dir}/img/wbg.gif'><span><b>德得广告</b></span></td> | |||||
</tr> | </tr> | ||||
<tr bgcolor='#FFFFFF'> | <tr bgcolor='#FFFFFF'> | ||||
<td colspan='2' height='100'> | <td colspan='2' height='100'> | ||||
@@ -412,7 +412,7 @@ function __index(){ } | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan='2' bgcolor='#F9FCEF'><table width='270' border='0' cellpadding='0' cellspacing='0'> | <td colspan='2' bgcolor='#F9FCEF'><table width='270' border='0' cellpadding='0' cellspacing='0'> | ||||
<tr align='center' height='26'> | |||||
<tr align='center'> | |||||
<td width='90'><input name='imageField1' type='image' class='np' src='{$cfg_plus_dir}/img/button_ok.gif' width='60' height='22' border='0' /></td> | <td width='90'><input name='imageField1' type='image' class='np' src='{$cfg_plus_dir}/img/button_ok.gif' width='60' height='22' border='0' /></td> | ||||
<td width='90'></td> | <td width='90'></td> | ||||
<td></td> | <td></td> | ||||
@@ -72,7 +72,7 @@ if ($dopost == "delmember") { | |||||
$win->AddHidden("randcode", $randcode); | $win->AddHidden("randcode", $randcode); | ||||
$win->AddHidden("safecode", $safecode); | $win->AddHidden("safecode", $safecode); | ||||
$win->AddTitle("您确实要删除(ID:".$id.")这个会员?"); | $win->AddTitle("您确实要删除(ID:".$id.")这个会员?"); | ||||
$win->AddMsgItem("安全验证串:<input name='safecode' type='text' id='safecode' size='16' style='width:200px' /> (复制本代码: <span style='color:#e74d58'>$safecode</span> )", "30"); | |||||
$win->AddMsgItem("安全验证串:<input name='safecode' type='text' id='safecode' size='16' style='width:200px' /> (复制本代码:<span style='color:#dc3545'>$safecode</span> )", "30"); | |||||
$winform = $win->GetWindow("ok"); | $winform = $win->GetWindow("ok"); | ||||
$win->Display(); | $win->Display(); | ||||
} else if ($dopost == "delmembers") { | } else if ($dopost == "delmembers") { | ||||
@@ -121,7 +121,7 @@ if ($dopost == "delmember") { | |||||
$win->AddHidden("randcode", $randcode); | $win->AddHidden("randcode", $randcode); | ||||
$win->AddHidden("safecode", $safecode); | $win->AddHidden("safecode", $safecode); | ||||
$win->AddTitle("您确实要删除(ID:".$id.")这个会员?"); | $win->AddTitle("您确实要删除(ID:".$id.")这个会员?"); | ||||
$win->AddMsgItem(" 安全验证串:<input name='safecode' type='text' id='safecode' size='16' style='width:200px' /> (复制本代码: <span style='color:#e74d58'>$safecode</span>)", "30"); | |||||
$win->AddMsgItem(" 安全验证串:<input name='safecode' type='text' id='safecode' size='16' style='width:200px' /> (复制本代码:<span style='color:#dc3545'>$safecode</span>)", "30"); | |||||
$winform = $win->GetWindow("ok"); | $winform = $win->GetWindow("ok"); | ||||
$win->Display(); | $win->Display(); | ||||
} | } | ||||
@@ -146,7 +146,7 @@ function __EditUser() | |||||
修改会员 | 修改会员 | ||||
----------------*/ else if ($dopost == 'edituser') { | ----------------*/ else if ($dopost == 'edituser') { | ||||
CheckPurview('member_Edit'); | CheckPurview('member_Edit'); | ||||
if (!isset($_POST['id'])) exit('Request Error!'); | |||||
if (!isset($_POST['id'])) exit('dedebiz'); | |||||
$pwdsql = empty($pwd) ? '' : ",pwd='".md5($pwd)."'"; | $pwdsql = empty($pwd) ? '' : ",pwd='".md5($pwd)."'"; | ||||
if (empty($sex)) $sex = '男'; | if (empty($sex)) $sex = '男'; | ||||
$uptime = GetMkTime($uptime); | $uptime = GetMkTime($uptime); | ||||
@@ -85,7 +85,7 @@ function GetMemberName($rank, $mt) | |||||
{ | { | ||||
global $MemberTypes; | global $MemberTypes; | ||||
if (isset($MemberTypes[$rank])) { | if (isset($MemberTypes[$rank])) { | ||||
if ($mt == 'ut') return " <span style='color:#e74d58'>待升级:".$MemberTypes[$rank]."</span>"; | |||||
if ($mt == 'ut') return " <span style='color:#dc3545'>待升级:".$MemberTypes[$rank]."</span>"; | |||||
else return $MemberTypes[$rank]; | else return $MemberTypes[$rank]; | ||||
} else { | } else { | ||||
if ($mt == 'ut') return ''; | if ($mt == 'ut') return ''; | ||||
@@ -96,6 +96,6 @@ function GetMemberName($rank, $mt) | |||||
function GetMAtt($m) | function GetMAtt($m) | ||||
{ | { | ||||
if ($m < 1) return ''; | if ($m < 1) return ''; | ||||
else if ($m == 10) return " <span style='color:#e74d58'>[管理员]</span>"; | |||||
else return " <img src='images/adminuserico.gif' wmidth='16' height='15'><span style='color:#e74d58'>[荐]</span>"; | |||||
else if ($m == 10) return " <span style='color:#dc3545'>[管理员]</span>"; | |||||
else return " <img src='images/adminuserico.gif' wmidth='16' height='15'><span style='color:#dc3545'>[荐]</span>"; | |||||
} | } |
@@ -55,6 +55,6 @@ function GetFolders($me) | |||||
function IsReader($me) | function IsReader($me) | ||||
{ | { | ||||
$me = preg_replace("#[^0-1]#", "", $me); | $me = preg_replace("#[^0-1]#", "", $me); | ||||
if ($me) return "<span style='color:#28a745'>√</span>"; | |||||
else return "<span style='color:#e74d58'>×</span>"; | |||||
if ($me) return "<span style='color:color:#dc3545'>√</span>"; | |||||
else return "<span style='color:#dc3545'>×</span>"; | |||||
} | } |
@@ -141,7 +141,7 @@ else if ($action == 'setup') { | |||||
$prvdir .= "<tr style='background:#FBFCE2'><th width='270'>目录</td><th align='center'>可写</td></tr>\r\n"; | $prvdir .= "<tr style='background:#FBFCE2'><th width='270'>目录</td><th align='center'>可写</td></tr>\r\n"; | ||||
foreach ($prvdirs as $k => $v) { | foreach ($prvdirs as $k => $v) { | ||||
if ($v) $cw = '√'; | if ($v) $cw = '√'; | ||||
else $cw = '<span style="color:#e74d58">×</span>'; | |||||
else $cw = '<span style="color:#dc3545">×</span>'; | |||||
$prvdir .= "<tr bgcolor='#ffffff'><td>$k</td>"; | $prvdir .= "<tr bgcolor='#ffffff'><td>$k</td>"; | ||||
$prvdir .= "<td align='center'>$cw</td></tr>\r\n"; | $prvdir .= "<td align='center'>$cw</td></tr>\r\n"; | ||||
} | } | ||||
@@ -149,33 +149,33 @@ else if ($action == 'setup') { | |||||
$win = new OxWindow(); | $win = new OxWindow(); | ||||
$win->Init("module_main.php", "js/blank.js", "post"); | $win->Init("module_main.php", "js/blank.js", "post"); | ||||
$wecome_info = "模块管理"; | $wecome_info = "模块管理"; | ||||
$win->AddTitle(" <a href='module_main.php'>模块管理</a> >> 安装模块: {$infos['name']}"); | |||||
$win->AddTitle(" <a href='module_main.php'>模块管理</a> >> 安装模块:{$infos['name']}"); | |||||
$win->AddHidden("hash", $hash); | $win->AddHidden("hash", $hash); | ||||
$win->AddHidden("action", 'setupstart'); | $win->AddHidden("action", 'setupstart'); | ||||
$msg = "<style>.dtb{border-bottom:1px dotted #ccc}</style> | $msg = "<style>.dtb{border-bottom:1px dotted #ccc}</style> | ||||
<table width='98%' border='0' cellspacing='0' cellpadding='0' class='table'> | <table width='98%' border='0' cellspacing='0' cellpadding='0' class='table'> | ||||
<tr> | <tr> | ||||
<td width='20%' height='26' class='dtb'>模块名称:</td> | |||||
<td width='20%' class='dtb'>模块名称:</td> | |||||
<td width='80%' class='dtb'>{$infos['name']}</td> | <td width='80%' class='dtb'>{$infos['name']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>语言:</td> | |||||
<td class='dtb'>语言:</td> | |||||
<td class='dtb'>{$infos['lang']} {$alertMsg}</td> | <td class='dtb'>{$infos['lang']} {$alertMsg}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>文件大小:</td> | |||||
<td class='dtb'>文件大小:</td> | |||||
<td class='dtb'>{$infos['filesize']}</td> | <td class='dtb'>{$infos['filesize']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>开发者ID:</td> | |||||
<td class='dtb'>开发者ID:</td> | |||||
<td class='dtb'>{$infos['dev_id']} <a href='{$cfg_biz_dedebizUrl}/developer?dev_id={$infos['dev_id']}' target='_blank' class='btn btn-success btn-sm'>未认证</a></td> | <td class='dtb'>{$infos['dev_id']} <a href='{$cfg_biz_dedebizUrl}/developer?dev_id={$infos['dev_id']}' target='_blank' class='btn btn-success btn-sm'>未认证</a></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>发布时间:</td> | |||||
<td class='dtb'>发布时间:</td> | |||||
<td class='dtb'>{$infos['time']}</td> | <td class='dtb'>{$infos['time']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>使用协议:</td> | |||||
<td class='dtb'>使用协议:</td> | |||||
<td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank' class='btn btn-success btn-sm'>浏览</a></td> | <td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank' class='btn btn-success btn-sm'>浏览</a></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -197,7 +197,7 @@ else if ($action == 'setup') { | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26'>对于已存在文件处理方法:</td> | |||||
<td>对于已存在文件处理方法:</td> | |||||
<td> | <td> | ||||
<label><input name='isreplace' type='radio' value='1' checked='checked'> 覆盖</label> | <label><input name='isreplace' type='radio' value='1' checked='checked'> 覆盖</label> | ||||
<label><input name='isreplace' type='radio' value='3'> 覆盖,保留副本</label> | <label><input name='isreplace' type='radio' value='3'> 覆盖,保留副本</label> | ||||
@@ -284,37 +284,37 @@ else if ($action == 'del') { | |||||
$win = new OxWindow(); | $win = new OxWindow(); | ||||
$win->Init("module_main.php", "js/blank.js", "post"); | $win->Init("module_main.php", "js/blank.js", "post"); | ||||
$wecome_info = "模块管理"; | $wecome_info = "模块管理"; | ||||
$win->AddTitle("<a href='module_main.php'>模块管理</a> >> 删除模块: {$infos['name']}"); | |||||
$win->AddTitle("<a href='module_main.php'>模块管理</a> >> 删除模块:{$infos['name']}"); | |||||
$win->AddHidden('hash', $hash); | $win->AddHidden('hash', $hash); | ||||
$win->AddHidden('action', 'delok'); | $win->AddHidden('action', 'delok'); | ||||
$msg = "<style>.dtb{border-bottom:1px dotted #ccc}</style> | $msg = "<style>.dtb{border-bottom:1px dotted #ccc}</style> | ||||
<table width='750' border='0' cellspacing='0' cellpadding='0'> | <table width='750' border='0' cellspacing='0' cellpadding='0'> | ||||
<tr> | <tr> | ||||
<td width='20%' height='26' class='dtb'>模块名称:</td> | |||||
<td width='20%' class='dtb'>模块名称:</td> | |||||
<td width='80%' class='dtb'>{$infos['name']}</td> | <td width='80%' class='dtb'>{$infos['name']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>语言:</td> | |||||
<td class='dtb'>语言:</td> | |||||
<td class='dtb'>{$infos['lang']} {$alertMsg}</td> | <td class='dtb'>{$infos['lang']} {$alertMsg}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>文件大小:</td> | |||||
<td class='dtb'>文件大小:</td> | |||||
<td class='dtb'>{$infos['filesize']}</td> | <td class='dtb'>{$infos['filesize']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>开发者ID:</td> | |||||
<td class='dtb'>开发者ID:</td> | |||||
<td class='dtb'>{$dev_id}</td> | <td class='dtb'>{$dev_id}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>发布时间:</td> | |||||
<td class='dtb'>发布时间:</td> | |||||
<td class='dtb'>{$infos['time']}</td> | <td class='dtb'>{$infos['time']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>使用协议:</td> | |||||
<td class='dtb'>使用协议:</td> | |||||
<td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank' class='btn btn-success btn-sm'>浏览</a></td> | <td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank' class='btn btn-success btn-sm'>浏览</a></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' colspan='2'>删除模块仅删除这个模块的安装包文件,如果您已经安装,请执行<a href='module_main.php?hash={$hash}&action=uninstall'>卸载程序</a>来删除。</td> | |||||
<td colspan='2'>删除模块仅删除这个模块的安装包文件,如果您已经安装,请执行<a href='module_main.php?hash={$hash}&action=uninstall'>卸载程序</a>来删除。</td> | |||||
</tr> | </tr> | ||||
</table>"; | </table>"; | ||||
$win->AddMsgItem("<div style='padding-left:10px;line-height:150%'>$msg</div>"); | $win->AddMsgItem("<div style='padding-left:10px;line-height:150%'>$msg</div>"); | ||||
@@ -349,37 +349,37 @@ else if ($action == 'uninstall') { | |||||
$win = new OxWindow(); | $win = new OxWindow(); | ||||
$win->Init("module_main.php", "js/blank.js", "post"); | $win->Init("module_main.php", "js/blank.js", "post"); | ||||
$wecome_info = "模块管理"; | $wecome_info = "模块管理"; | ||||
$win->AddTitle("<a href='module_main.php'>模块管理</a> >> 卸载模块: {$infos['name']}"); | |||||
$win->AddTitle("<a href='module_main.php'>模块管理</a> >> 卸载模块:{$infos['name']}"); | |||||
$win->AddHidden("hash", $hash); | $win->AddHidden("hash", $hash); | ||||
$win->AddHidden("action", 'uninstallok'); | $win->AddHidden("action", 'uninstallok'); | ||||
$msg = "<style>.dtb{border-bottom:1px dotted #ccc}</style> | $msg = "<style>.dtb{border-bottom:1px dotted #ccc}</style> | ||||
<table width='750' border='0' cellspacing='0' cellpadding='0'> | <table width='750' border='0' cellspacing='0' cellpadding='0'> | ||||
<tr> | <tr> | ||||
<td width='200' height='26' class='dtb'>模块名称:</td> | |||||
<td width='200' class='dtb'>模块名称:</td> | |||||
<td width='550' class='dtb'>{$infos['name']}</td> | <td width='550' class='dtb'>{$infos['name']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>语言:</td> | |||||
<td class='dtb'>语言:</td> | |||||
<td class='dtb'>{$infos['lang']} {$alertMsg}</td> | <td class='dtb'>{$infos['lang']} {$alertMsg}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>文件大小:</td> | |||||
<td class='dtb'>文件大小:</td> | |||||
<td class='dtb'>{$infos['filesize']}</td> | <td class='dtb'>{$infos['filesize']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>开发者ID:</td> | |||||
<td class='dtb'>开发者ID:</td> | |||||
<td class='dtb'>{$dev_id}</td> | <td class='dtb'>{$dev_id}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>发布时间:</td> | |||||
<td class='dtb'>发布时间:</td> | |||||
<td class='dtb'>{$infos['time']}</td> | <td class='dtb'>{$infos['time']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>使用协议:</td> | |||||
<td class='dtb'>使用协议:</td> | |||||
<td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank' class='btn btn-success btn-sm'>浏览</a></td> | <td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank' class='btn btn-success btn-sm'>浏览</a></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26'>模块包含的文件:<br>(文件路径相对于当前目录)</td><td> </td> | |||||
<td>模块包含的文件:<br>(文件路径相对于当前目录)</td><td> </td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='160' colspan='2'> | <td height='160' colspan='2'> | ||||
@@ -387,7 +387,7 @@ else if ($action == 'uninstall') { | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26'>对于模块的文件处理方法:</td> | |||||
<td>对于模块的文件处理方法:</td> | |||||
<td> | <td> | ||||
<label><input type='radio' name='isreplace' value='0' checked='checked'> 手工删除文件,仅运行卸载程序</label> | <label><input type='radio' name='isreplace' value='0' checked='checked'> 手工删除文件,仅运行卸载程序</label> | ||||
<label><input name='isreplace' type='radio' value='2'> 删除模块的所有文件</label> | <label><input name='isreplace' type='radio' value='2'> 删除模块的所有文件</label> | ||||
@@ -481,35 +481,35 @@ else if ($action == 'view') { | |||||
$win = new OxWindow(); | $win = new OxWindow(); | ||||
$win->Init("", "js/blank.js", ""); | $win->Init("", "js/blank.js", ""); | ||||
$wecome_info = "模块管理"; | $wecome_info = "模块管理"; | ||||
$win->AddTitle("<a href='module_main.php'>模块管理</a> >> 模块详情: {$infos['name']}"); | |||||
$win->AddTitle("<a href='module_main.php'>模块管理</a> >> 模块详情:{$infos['name']}"); | |||||
$msg = "<style>.dtb{border-bottom:1px dotted #ccc}</style> | $msg = "<style>.dtb{border-bottom:1px dotted #ccc}</style> | ||||
<table width='98%' border='0' cellspacing='0' cellpadding='0'> | <table width='98%' border='0' cellspacing='0' cellpadding='0'> | ||||
<tr> | <tr> | ||||
<td width='20%' height='26' class='dtb'>模块名称:</td> | |||||
<td width='20%' class='dtb'>模块名称:</td> | |||||
<td width='80%' class='dtb'>{$infos['name']}</td> | <td width='80%' class='dtb'>{$infos['name']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>语言:</td> | |||||
<td class='dtb'>语言:</td> | |||||
<td class='dtb'>{$infos['lang']} {$alertMsg}</td> | <td class='dtb'>{$infos['lang']} {$alertMsg}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>文件大小:</td> | |||||
<td class='dtb'>文件大小:</td> | |||||
<td class='dtb'>{$infos['filesize']}</td> | <td class='dtb'>{$infos['filesize']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>开发者ID:</td> | |||||
<td class='dtb'>开发者ID:</td> | |||||
<td class='dtb'>{$dev_id}</td> | <td class='dtb'>{$dev_id}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>发布时间:</td> | |||||
<td class='dtb'>发布时间:</td> | |||||
<td class='dtb'>{$infos['time']}</td> | <td class='dtb'>{$infos['time']}</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26' class='dtb'>使用协议:</td> | |||||
<td class='dtb'>使用协议:</td> | |||||
<td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank' class='btn btn-success btn-sm'>浏览</a></td> | <td class='dtb'><a href='module_main.php?action=showreadme&hash={$hash}' target='_blank' class='btn btn-success btn-sm'>浏览</a></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26'>模块包含的文件:<br>(文件路径相对于当前目录)</td><td> </td> | |||||
<td>模块包含的文件:<br>(文件路径相对于当前目录)</td><td> </td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='160' colspan='2'> | <td height='160' colspan='2'> | ||||
@@ -81,13 +81,13 @@ if ($action == 'upload') { | |||||
$win->AddHidden("action", 'upload'); | $win->AddHidden("action", 'upload'); | ||||
$msg = "<table width='600' border='0' cellspacing='0' cellpadding='0'> | $msg = "<table width='600' border='0' cellspacing='0' cellpadding='0'> | ||||
<tr> | <tr> | ||||
<td height='26'>文件格式:</td> | |||||
<td>文件格式:</td> | |||||
<td> | <td> | ||||
<label><input name='filetype' type='radio' value='0' checked='checked' /> 正常的模块包</label> | <label><input name='filetype' type='radio' value='0' checked='checked' /> 正常的模块包</label> | ||||
<label><input type='radio' name='filetype' value='1' /> 经过 zip 压缩的模块包</label></td> | <label><input type='radio' name='filetype' value='1' /> 经过 zip 压缩的模块包</label></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height='26'>已有模块:</td> | |||||
<td>已有模块:</td> | |||||
<td><label><input name='delhas' type='checkbox' id='delhas' value='1' /> 强制删除同名模块(这可能导致已经安装的模块无法卸载)</label></td> | <td><label><input name='delhas' type='checkbox' id='delhas' value='1' /> 强制删除同名模块(这可能导致已经安装的模块无法卸载)</label></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -18,11 +18,11 @@ if (empty($action)) $action = ''; | |||||
if ($action == 'add') { | if ($action == 'add') { | ||||
//检查输入 | //检查输入 | ||||
if (empty($id) || preg_match("#[^0-9-]#", $id)) { | if (empty($id) || preg_match("#[^0-9-]#", $id)) { | ||||
ShowMsg("<span style='color:#e74d58'>'频道id'</span>必须为数字", "-1"); | |||||
ShowMsg("<span style='color:#dc3545'>'频道id'</span>必须为数字", "-1"); | |||||
exit(); | exit(); | ||||
} | } | ||||
if (preg_match("#[^a-z0-9]#i", $nid) || $nid == "") { | if (preg_match("#[^a-z0-9]#i", $nid) || $nid == "") { | ||||
ShowMsg("<span style='color:#e74d58'>'频道名字标识'</span>必须为英文字母或与数字混合字符串", "-1"); | |||||
ShowMsg("<span style='color:#dc3545'>'频道名字标识'</span>必须为英文字母或与数字混合字符串", "-1"); | |||||
exit(); | exit(); | ||||
} | } | ||||
if ($addtable == "") { | if ($addtable == "") { | ||||
@@ -56,7 +56,7 @@ function __CopyStart() | |||||
$wecome_info = " <a href='mychannel_main.php'>频道管理</a> - 模型复制"; | $wecome_info = " <a href='mychannel_main.php'>频道管理</a> - 模型复制"; | ||||
$win = new OxWindow(); | $win = new OxWindow(); | ||||
$win->Init("mychannel_edit.php", "js/blank.js", "post"); | $win->Init("mychannel_edit.php", "js/blank.js", "post"); | ||||
$win->AddTitle(" 被复制频道: [<span style='color:#e74d58'>".$row['typename']."</span>]"); | |||||
$win->AddTitle(" 被复制频道:[<span style='color:#dc3545'>".$row['typename']."</span>]"); | |||||
$win->AddHidden("cid", $id); | $win->AddHidden("cid", $id); | ||||
$win->AddHidden("id", $id); | $win->AddHidden("id", $id); | ||||
$win->AddHidden("dopost", 'copysave'); | $win->AddHidden("dopost", 'copysave'); | ||||
@@ -539,9 +539,9 @@ function __modifysearch() | |||||
} else if ($mainfield == 'iscommend') { | } else if ($mainfield == 'iscommend') { | ||||
$forms .= "<label><input type=\"checkbox\" name=\"iscommend\" value=\"1\" />推荐</label><br />"; | $forms .= "<label><input type=\"checkbox\" name=\"iscommend\" value=\"1\" />推荐</label><br />"; | ||||
} else if ($mainfield == 'writer') { | } else if ($mainfield == 'writer') { | ||||
$forms .= "作者: <input type=\"text\" name=\"writer\" value=\"\" /><br />"; | |||||
$forms .= "作者:<input type=\"text\" name=\"writer\" value=\"\" /><br />"; | |||||
} else if ($mainfield == 'source') { | } else if ($mainfield == 'source') { | ||||
$forms .= "来源: <input type=\"text\" name=\"source\" value=\"\" /><br />"; | |||||
$forms .= "来源:<input type=\"text\" name=\"source\" value=\"\" /><br />"; | |||||
} else if ($mainfield == 'senddate') { | } else if ($mainfield == 'senddate') { | ||||
$forms .= "开始时间:<input type=\"text\" name=\"startdate\" value=\"\" /><br />"; | $forms .= "开始时间:<input type=\"text\" name=\"startdate\" value=\"\" /><br />"; | ||||
$forms .= "结束时间:<input type=\"text\" name=\"enddate\" value=\"\" /><br />"; | $forms .= "结束时间:<input type=\"text\" name=\"enddate\" value=\"\" /><br />"; | ||||
@@ -30,13 +30,13 @@ if ($action == 'setdefault') { | |||||
$msg = " | $msg = " | ||||
成功取消默认发布表单 | 成功取消默认发布表单 | ||||
<hr style='width:90%' size='1' /> | <hr style='width:90%' size='1' /> | ||||
您目前想要进行的操作: <a href='public_guide.php?action=edit'>返回发布向导页</a> | |||||
您目前想要进行的操作:<a href='public_guide.php?action=edit'>返回发布向导页</a> | |||||
"; | "; | ||||
} else { | } else { | ||||
$msg = " | $msg = " | ||||
成功保存默认发布表单,以后点击“内容发布”面板将直接跳转到您选择的内容发布页 | 成功保存默认发布表单,以后点击“内容发布”面板将直接跳转到您选择的内容发布页 | ||||
<hr style='width:90%' size='1' /> | <hr style='width:90%' size='1' /> | ||||
您目前想要进行的操作: <a href='public_guide.php'>转到默认发布表单</a> <a href='public_guide.php?action=edit'>返回发布向导页</a> | |||||
您目前想要进行的操作:<a href='public_guide.php'>转到默认发布表单</a> <a href='public_guide.php?action=edit'>返回发布向导页</a> | |||||
"; | "; | ||||
} | } | ||||
$win->AddMsgItem("<div style='padding-left:20px;line-height:150%'>$msg</div>"); | $win->AddMsgItem("<div style='padding-left:20px;line-height:150%'>$msg</div>"); | ||||
@@ -35,10 +35,10 @@ function GetSta($sta, $oid) | |||||
if ($sta == 0) { | if ($sta == 0) { | ||||
return $payname['name']." 手续费:".$payname['fee']."元"; | return $payname['name']." 手续费:".$payname['fee']."元"; | ||||
} else if ($sta == 1) { | } else if ($sta == 1) { | ||||
return '<span style="color:#e74d58">已付款,等发货</span>'; | |||||
return '<span style="color:#dc3545">已付款,等发货</span>'; | |||||
} else if ($sta == 2) { | } else if ($sta == 2) { | ||||
return '<a href="shops_products.php?do=ok&oid='.$oid.'">确认</a>'; | return '<a href="shops_products.php?do=ok&oid='.$oid.'">确认</a>'; | ||||
} else { | } else { | ||||
return '<span style="color:#e74d58">已完成</span>'; | |||||
return '<span style="color:#dc3545">已完成</span>'; | |||||
} | } | ||||
} | } |
@@ -64,7 +64,7 @@ if ($dopost == 'saveedit') { | |||||
$win->AddHidden("id", $id); | $win->AddHidden("id", $id); | ||||
$win->AddTitle("系统警告"); | $win->AddTitle("系统警告"); | ||||
$win->AddMsgItem("您确信要删除用户:$userid 吗?", "50"); | $win->AddMsgItem("您确信要删除用户:$userid 吗?", "50"); | ||||
$win->AddMsgItem("安全验证串:<input name='safecode' type='text' id='safecode' size='16' style='width:200px' /> (复制本代码: <span style='color:#e74d58'>$safecode</span> )", "30"); | |||||
$win->AddMsgItem("安全验证串:<input name='safecode' type='text' id='safecode' size='16' style='width:200px' /> (复制本代码:<span style='color:#dc3545'>$safecode</span> )", "30"); | |||||
$winform = $win->GetWindow("ok"); | $winform = $win->GetWindow("ok"); | ||||
$win->Display(); | $win->Display(); | ||||
exit(); | exit(); | ||||
@@ -102,7 +102,7 @@ if (isset($dopost) && $dopost == 'getone') { | |||||
$msg = "<table width='96%' border='0' align='center' cellpadding='3' cellspacing='1' bgcolor='#cfcfcf'> | $msg = "<table width='96%' border='0' align='center' cellpadding='3' cellspacing='1' bgcolor='#cfcfcf'> | ||||
<tr align='center' bgcolor='#FBFCE2'> | <tr align='center' bgcolor='#FBFCE2'> | ||||
<td width='18%' height='26'><strong>管理员↓|统计信息→</strong></td> | |||||
<td width='18%'><strong>管理员↓|统计信息→</strong></td> | |||||
<td width='18%'><strong>全部(文档|点击)</strong></td> | <td width='18%'><strong>全部(文档|点击)</strong></td> | ||||
<td width='16%'><strong>季度</strong></td> | <td width='16%'><strong>季度</strong></td> | ||||
<td width='16%'><strong>当月</strong></td> | <td width='16%'><strong>当月</strong></td> | ||||
@@ -110,7 +110,7 @@ if (isset($dopost) && $dopost == 'getone') { | |||||
<td width='16%'><strong>当天</strong></td> | <td width='16%'><strong>当天</strong></td> | ||||
</tr> | </tr> | ||||
<tr align='center' bgcolor='#FFFFFF'> | <tr align='center' bgcolor='#FFFFFF'> | ||||
<td height='26'>{$userid}</td> | |||||
<td>{$userid}</td> | |||||
<td>{$dd} | {$cc}</td> | <td>{$dd} | {$cc}</td> | ||||
<td>{$dds} | {$ccs}</td> | <td>{$dds} | {$ccs}</td> | ||||
<td>{$ddm} | {$ccm}</td> | <td>{$ddm} | {$ccm}</td> | ||||
@@ -39,9 +39,9 @@ if ($dopost == "viewinfo") //查看表结构 | |||||
} else { | } else { | ||||
$rs = $dsql->ExecuteNoneQuery("OPTIMIZE TABLE `$tablename` "); | $rs = $dsql->ExecuteNoneQuery("OPTIMIZE TABLE `$tablename` "); | ||||
if ($rs) { | if ($rs) { | ||||
echo "执行优化表: $tablename OK"; | |||||
echo "执行优化表:$tablename OK"; | |||||
} else { | } else { | ||||
echo "执行优化表: $tablename 失败,原因是:".$dsql->GetError(); | |||||
echo "执行优化表:$tablename 失败,原因是:".$dsql->GetError(); | |||||
} | } | ||||
} | } | ||||
echo '</xmp>'; | echo '</xmp>'; | ||||
@@ -54,9 +54,9 @@ if ($dopost == "viewinfo") //查看表结构 | |||||
} else { | } else { | ||||
$rs = $dsql->ExecuteNoneQuery("REPAIR TABLE `$tablename` "); | $rs = $dsql->ExecuteNoneQuery("REPAIR TABLE `$tablename` "); | ||||
if ($rs) { | if ($rs) { | ||||
echo "修复表: $tablename OK"; | |||||
echo "修复表:$tablename OK"; | |||||
} else { | } else { | ||||
echo "修复表: $tablename 失败,原因是:".$dsql->GetError(); | |||||
echo "修复表:$tablename 失败,原因是:".$dsql->GetError(); | |||||
} | } | ||||
} | } | ||||
echo '</xmp>'; | echo '</xmp>'; | ||||
@@ -110,11 +110,11 @@ EOT; | |||||
while ($row = $dsql->GetArray()) { | while ($row = $dsql->GetArray()) { | ||||
$bgcolor = ($i++ % 2 == 0) ? "#F9FCEF" : "#ffffff"; | $bgcolor = ($i++ % 2 == 0) ? "#F9FCEF" : "#ffffff"; | ||||
$row['info'] = preg_replace("#{$keywords}#", '<span style="color:#e74d58">'.$keywords.'</span>', $row['info']); | |||||
$row['varname'] = preg_replace("#{$keywords}#", '<span style="color:#e74d58">'.$keywords.'</span>', $row['varname']); | |||||
$row['info'] = preg_replace("#{$keywords}#", '<span style="color:#dc3545">'.$keywords.'</span>', $row['info']); | |||||
$row['varname'] = preg_replace("#{$keywords}#", '<span style="color:#dc3545">'.$keywords.'</span>', $row['varname']); | |||||
?> | ?> | ||||
<tr align="center" height="26" bgcolor="<?php echo $bgcolor ?>"> | <tr align="center" height="26" bgcolor="<?php echo $bgcolor ?>"> | ||||
<td width="300"><?php echo $row['info']; ?>: </td> | |||||
<td width="300"><?php echo $row['info']; ?>:</td> | |||||
<td align="left" style="padding:3px;"> | <td align="left" style="padding:3px;"> | ||||
<?php | <?php | ||||
if ($row['type'] == 'bool') { | if ($row['type'] == 'bool') { | ||||
@@ -56,7 +56,7 @@ function 1_test_db() { } | |||||
<table width='98%' border='0' cellspacing='0' cellpadding='0' align='center'> | <table width='98%' border='0' cellspacing='0' cellpadding='0' align='center'> | ||||
<tr> | <tr> | ||||
<td height='250' valign='top'> | <td height='250' valign='top'> | ||||
<b><span style='color:#28a745'>已完成数据结构完整性检测</span></b> | |||||
<b><span style='color:color:#dc3545'>已完成数据结构完整性检测</span></b> | |||||
<hr size='1'/> | <hr size='1'/> | ||||
<br /> | <br /> | ||||
<b>如果您系统有下面几种问题之一,请检测微表正确性:</b><br /> | <b>如果您系统有下面几种问题之一,请检测微表正确性:</b><br /> | ||||
@@ -84,7 +84,7 @@ function 2_test_arctiny() { } | |||||
$allarcnum = 0; | $allarcnum = 0; | ||||
$row = $dsql->GetOne("SELECT COUNT(*) AS dd FROM `#@__archives` "); | $row = $dsql->GetOne("SELECT COUNT(*) AS dd FROM `#@__archives` "); | ||||
$allarcnum = $arcnum = $row['dd']; | $allarcnum = $arcnum = $row['dd']; | ||||
$msg .= "·#@__archives 表总记录数: {$arcnum} <br />"; | |||||
$msg .= "·#@__archives 表总记录数:{$arcnum} <br />"; | |||||
$shtables = array(); | $shtables = array(); | ||||
$dsql->Execute('me', " SELECT addtable FROM `#@__channeltype` WHERE id < -1 "); | $dsql->Execute('me', " SELECT addtable FROM `#@__channeltype` WHERE id < -1 "); | ||||
@@ -96,21 +96,21 @@ function 2_test_arctiny() { } | |||||
if (!isset($shtables[$addtable])) { | if (!isset($shtables[$addtable])) { | ||||
$shtables[$addtable] = 1; | $shtables[$addtable] = 1; | ||||
$row = $dsql->GetOne("SELECT COUNT(aid) AS dd FROM `$addtable` "); | $row = $dsql->GetOne("SELECT COUNT(aid) AS dd FROM `$addtable` "); | ||||
$msg .= "·{$addtable} 表总记录数: {$row['dd']} <br />"; | |||||
$msg .= "·{$addtable} 表总记录数:{$row['dd']} <br />"; | |||||
$allarcnum += $row['dd']; | $allarcnum += $row['dd']; | ||||
} | } | ||||
} | } | ||||
} | } | ||||
$msg .= "※总有效记录数: {$allarcnum} <br /> "; | |||||
$msg .= "※总有效记录数:{$allarcnum} <br /> "; | |||||
$errall = "<a href='index_body.php' style='font-size:14px;'><b>完成修正或无错误返回>></b></a>"; | $errall = "<a href='index_body.php' style='font-size:14px;'><b>完成修正或无错误返回>></b></a>"; | ||||
$row = $dsql->GetOne("SELECT COUNT(*) AS dd FROM `#@__arctiny` "); | $row = $dsql->GetOne("SELECT COUNT(*) AS dd FROM `#@__arctiny` "); | ||||
$msg .= "※微统计表记录数: {$row['dd']}<br />"; | |||||
$msg .= "※微统计表记录数:{$row['dd']}<br />"; | |||||
if ($row['dd'] == $allarcnum) { | if ($row['dd'] == $allarcnum) { | ||||
$msg .= "<p style='color:green;font-size:16px'><b>两者记录一致,无需修正</b></p><br />"; | $msg .= "<p style='color:green;font-size:16px'><b>两者记录一致,无需修正</b></p><br />"; | ||||
} else { | } else { | ||||
$sql = " TRUNCATE TABLE `#@__arctiny`"; | $sql = " TRUNCATE TABLE `#@__arctiny`"; | ||||
$dsql->ExecuteNoneQuery($sql); | $dsql->ExecuteNoneQuery($sql); | ||||
$msg .= "<span style='color:#e74d58'>两者记录不一致,尝试进行简单修正...</span><br />"; | |||||
$msg .= "<span style='color:#dc3545'>两者记录不一致,尝试进行简单修正...</span><br />"; | |||||
//导入普通模型微数据 | //导入普通模型微数据 | ||||
$sql = "INSERT INTO `#@__arctiny`(id, typeid, typeid2, arcrank, channel, senddate, sortrank, mid) | $sql = "INSERT INTO `#@__arctiny`(id, typeid, typeid2, arcrank, channel, senddate, sortrank, mid) | ||||
SELECT id, typeid, typeid2, arcrank, channel, senddate, sortrank, mid FROM `#@__archives` "; | SELECT id, typeid, typeid2, arcrank, channel, senddate, sortrank, mid FROM `#@__archives` "; | ||||
@@ -90,7 +90,7 @@ if ($action == 'test') { | |||||
AjaxHead(); | AjaxHead(); | ||||
TestSafe(DEDEROOT); | TestSafe(DEDEROOT); | ||||
if ($message == '') $message = "<span style='color:#28a745'>没发现可疑文件</span>"; | |||||
if ($message == '') $message = "<span style='color:color:#dc3545'>没发现可疑文件</span>"; | |||||
echo $message; | echo $message; | ||||
exit(); | exit(); | ||||
} else if ($action == 'viewdiff') { | } else if ($action == 'viewdiff') { | ||||
@@ -131,7 +131,7 @@ else if ($action == 'clear') { | |||||
@unlink($d.'/'.$filename); | @unlink($d.'/'.$filename); | ||||
} | } | ||||
} | } | ||||
$message = "<span style='color:#28a745'>成功清空模板缓存</span>"; | |||||
$message = "<span style='color:color:#dc3545'>成功清空模板缓存</span>"; | |||||
echo $message; | echo $message; | ||||
exit(); | exit(); | ||||
} | } | ||||
@@ -33,8 +33,8 @@ else if ($dopost == "opimize") { | |||||
echo "没有指定表名"; | echo "没有指定表名"; | ||||
} else { | } else { | ||||
$rs = $dsql->ExecuteNoneQuery("OPTIMIZE TABLE `$tablename` "); | $rs = $dsql->ExecuteNoneQuery("OPTIMIZE TABLE `$tablename` "); | ||||
if ($rs) echo "执行优化表: $tablename OK"; | |||||
else echo "执行优化表: $tablename 失败,原因是:".$dsql->GetError(); | |||||
if ($rs) echo "执行优化表:$tablename OK"; | |||||
else echo "执行优化表:$tablename 失败,原因是:".$dsql->GetError(); | |||||
} | } | ||||
exit(); | exit(); | ||||
} | } | ||||
@@ -60,8 +60,8 @@ else if ($dopost == "repair") { | |||||
echo "没有指定表名"; | echo "没有指定表名"; | ||||
} else { | } else { | ||||
$rs = $dsql->ExecuteNoneQuery("REPAIR TABLE `$tablename` "); | $rs = $dsql->ExecuteNoneQuery("REPAIR TABLE `$tablename` "); | ||||
if ($rs) echo "修复表: $tablename OK"; | |||||
else echo "修复表: $tablename 失败,原因是:".$dsql->GetError(); | |||||
if ($rs) echo "修复表:$tablename OK"; | |||||
else echo "修复表:$tablename 失败,原因是:".$dsql->GetError(); | |||||
} | } | ||||
exit(); | exit(); | ||||
} | } | ||||
@@ -107,7 +107,7 @@ else if ($dopost == "query") { | |||||
echo "记录:$j"; | echo "记录:$j"; | ||||
echo "<hr size=1 width='100%'/>"; | echo "<hr size=1 width='100%'/>"; | ||||
foreach ($row as $k => $v) { | foreach ($row as $k => $v) { | ||||
echo "<span style='color:#e74d58'>{$k}:</span>{$v}<br/>\r\n"; | |||||
echo "<span style='color:#dc3545'>{$k}:</span>{$v}<br/>\r\n"; | |||||
} | } | ||||
} | } | ||||
exit(); | exit(); | ||||
@@ -128,7 +128,7 @@ else if ($dopost == "query") { | |||||
if ($errCode == "") { | if ($errCode == "") { | ||||
$i++; | $i++; | ||||
} else { | } else { | ||||
$nerrCode .= "执行: <span style='color:#007bff'>$q</span> 出错,错误提示:<span style='color:#e74d58'>".$errCode."</span><br>"; | |||||
$nerrCode .= "执行:<span style='color:#007bff'>$q</span> 出错,错误提示:<span style='color:#dc3545'>".$errCode."</span><br>"; | |||||
} | } | ||||
} | } | ||||
echo "成功执行{$i}个SQL语句<br><br>"; | echo "成功执行{$i}个SQL语句<br><br>"; | ||||
@@ -13,7 +13,7 @@ | |||||
<td height="26" background="images/tbg.gif"><b>当前位置</b> > 搜索结果</td> | <td height="26" background="images/tbg.gif"><b>当前位置</b> > 搜索结果</td> | ||||
</tr> | </tr> | ||||
<tr align="center" bgcolor="#F9FCEF" height="26"> | <tr align="center" bgcolor="#F9FCEF" height="26"> | ||||
<td align="left">"<span style='color:#e74d58'><?php echo $keyword;?></span>"的搜索结果</td> | |||||
<td align="left">"<span style='color:#dc3545'><?php echo $keyword;?></span>"的搜索结果</td> | |||||
</tr> | </tr> | ||||
<tr align="center" bgcolor="#FFFFFF" height="26"> | <tr align="center" bgcolor="#FFFFFF" height="26"> | ||||
<td align="center"> | <td align="center"> | ||||
@@ -33,7 +33,7 @@ | |||||
<?php echo $option;?> | <?php echo $option;?> | ||||
</select></td> | </select></td> | ||||
<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-success">搜索</button> | <button type="submit" class="btn btn-success">搜索</button> | ||||
@@ -14,7 +14,7 @@ | |||||
<form name="form1" action="cards_type.php" method="post"> | <form name="form1" action="cards_type.php" method="post"> | ||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<tr> | <tr> | ||||
<td height="26" colspan="4" bgcolor="#EDF9D5" background="images/tbg.gif"> <strong>点卡产品分类: </strong></td> | |||||
<td height="26" colspan="4" bgcolor="#EDF9D5" background="images/tbg.gif"> <strong>点卡产品分类:</strong></td> | |||||
</tr> | </tr> | ||||
<tr bgcolor="#FBFCE2"> | <tr bgcolor="#FBFCE2"> | ||||
<td width="26%" height="26" align="center" valign="top">产品名称</td> | <td width="26%" height="26" align="center" valign="top">产品名称</td> | ||||
@@ -357,7 +357,7 @@ function CheckCross() { | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr id='smclass' style='<?php echo ($channelid<0 ? '' : 'display:none'); ?>'> | <tr id='smclass' style='<?php echo ($channelid<0 ? '' : 'display:none'); ?>'> | ||||
<td class="bline" style="padding-left:10px">绑定小分类: <br>仅适用[分类信息模型]</td> | |||||
<td class="bline" style="padding-left:10px">绑定小分类:<br>仅适用[分类信息模型]</td> | |||||
<td class="bline"> | <td class="bline"> | ||||
<select name='smalltype[]' size='5' style='width:120px' multiple='yes'> | <select name='smalltype[]' size='5' style='width:120px' multiple='yes'> | ||||
<?php | <?php | ||||
@@ -167,7 +167,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td class='bline' height="26" style="padding-left:10px;">内容模型: </td> | |||||
<td class='bline' height="26" style="padding-left:10px;">内容模型: </td> | |||||
<td class='bline'><select name="channeltype" id="channeltype" style="width:200px" | <td class='bline'><select name="channeltype" id="channeltype" style="width:200px" | ||||
onChange="ParTemplet(this)"> | onChange="ParTemplet(this)"> | ||||
<?php | <?php | ||||
@@ -191,11 +191,11 @@ | |||||
使用动态页</label> </td> | 使用动态页</label> </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td class='bline' height="26" style="padding-left:10px;">默认页的名称: </td> | |||||
<td class='bline' height="26" style="padding-left:10px;">默认页的名称:</td> | |||||
<td class='bline'><input name="defaultname" type="text" value="index.html" class="pubinputs" /></td> | <td class='bline'><input name="defaultname" type="text" value="index.html" class="pubinputs" /></td> | ||||
</tr> | </tr> | ||||
<tr id='helpvar2' style='display:none'> | <tr id='helpvar2' style='display:none'> | ||||
<td height="26" bgcolor="#F3F7EA" style="padding-left:10px;">支持变量: </td> | |||||
<td height="26" bgcolor="#F3F7EA" style="padding-left:10px;">支持变量:</td> | |||||
<td height="26" bgcolor="#F3F7EA"> {Y}、{M}、{D} 年月日<br /> | <td height="26" bgcolor="#F3F7EA"> {Y}、{M}、{D} 年月日<br /> | ||||
{timestamp} INT类型的UNIX时间戳<br /> | {timestamp} INT类型的UNIX时间戳<br /> | ||||
{aid} 文章ID<br /> | {aid} 文章ID<br /> | ||||
@@ -213,7 +213,7 @@ | |||||
onClick="ShowHide('helpvar2')" /> </td> | onClick="ShowHide('helpvar2')" /> </td> | ||||
</tr> | </tr> | ||||
<tr id='helpvar3' style='display:none'> | <tr id='helpvar3' style='display:none'> | ||||
<td height="26" bgcolor="#F3F7EA" style="padding-left:10px;">支持变量: </td> | |||||
<td height="26" bgcolor="#F3F7EA" style="padding-left:10px;">支持变量:</td> | |||||
<td bgcolor="#F3F7EA">{page} 列表的页码</td> | <td bgcolor="#F3F7EA">{page} 列表的页码</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -286,7 +286,7 @@ function CheckCross() { | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr id='smclass' style='<?php echo ($channelid<0 ? '' : 'display:none'); ?>'> | <tr id='smclass' style='<?php echo ($channelid<0 ? '' : 'display:none'); ?>'> | ||||
<td class="bline" style="padding-left:10px">绑定小分类: <br>仅适用[分类信息模型]</td> | |||||
<td class="bline" style="padding-left:10px">绑定小分类:<br>仅适用[分类信息模型]</td> | |||||
<td class="bline"> | <td class="bline"> | ||||
<select name='smalltype[]' size='5' style='width:120px;height: auto;' multiple='yes'> | <select name='smalltype[]' size='5' style='width:120px;height: auto;' multiple='yes'> | ||||
<?php | <?php | ||||
@@ -157,7 +157,7 @@ | |||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="74%">进行状态: </td> | |||||
<td width="74%">进行状态:</td> | |||||
<td width="26%" align="right"> | <td width="26%" align="right"> | ||||
<script language='javascript'> | <script language='javascript'> | ||||
function ResizeDiv(obj, ty) { | function ResizeDiv(obj, ty) { | ||||
@@ -45,7 +45,7 @@ | |||||
<table width='98%' border='0' cellpadding='2' cellspacing='1' bgcolor='#cfcfcf' align='center' | <table width='98%' border='0' cellpadding='2' cellspacing='1' bgcolor='#cfcfcf' align='center' | ||||
style="margin-top:8px;" class="table-bordered"> | style="margin-top:8px;" class="table-bordered"> | ||||
<tr bgcolor='#EEF4EA' height='26'> | |||||
<tr bgcolor='#EEF4EA'> | |||||
<td background='images/wbg.gif' colspan='7' style="padding-left:10px;"> | <td background='images/wbg.gif' colspan='7' style="padding-left:10px;"> | ||||
{dede:global.positionname/}文档列表 (使用鼠标右键进行常用操作) | {dede:global.positionname/}文档列表 (使用鼠标右键进行常用操作) | ||||
</td> | </td> | ||||
@@ -39,7 +39,7 @@ | |||||
<input type="hidden" name="_csrf_token" value="{dede:global name='csrf_token'/}" /> | <input type="hidden" name="_csrf_token" value="{dede:global name='csrf_token'/}" /> | ||||
<table width='100%' border='0' align="center" cellpadding='3' cellspacing='1' bgcolor='#cfcfcf' class="table maintable table-borderless"> | <table width='100%' border='0' align="center" cellpadding='3' cellspacing='1' bgcolor='#cfcfcf' class="table maintable table-borderless"> | ||||
<tr bgcolor='#EEF4EA'> | <tr bgcolor='#EEF4EA'> | ||||
<td colspan='2' background='images/wbg.gif' height='26' style="padding-left:10px;"> | |||||
<td colspan='2' background='images/wbg.gif' style="padding-left:10px;"> | |||||
<span><b>修改/新建文件:</b></span> | <span><b>修改/新建文件:</b></span> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -71,7 +71,7 @@ while(($file = $dh->read()) !== false) | |||||
{ | { | ||||
if(preg_match("#^_(.*)$#i",$file)) continue; #屏蔽FrontPage扩展目录和linux隐蔽目录 | if(preg_match("#^_(.*)$#i",$file)) continue; #屏蔽FrontPage扩展目录和linux隐蔽目录 | ||||
if(preg_match("#^\.(.*)$#i",$file)) continue; | if(preg_match("#^\.(.*)$#i",$file)) continue; | ||||
$line = "\n<tr bgcolor='#FFFFFF' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
$line = "\n<tr bgcolor='#FFFFFF' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
<td> | <td> | ||||
<a href=file_manage_main.php?activepath=".urlencode("$activepath/$file")."><img src=images/dir.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | <a href=file_manage_main.php?activepath=".urlencode("$activepath/$file")."><img src=images/dir.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | ||||
<td> </td> | <td> </td> | ||||
@@ -86,7 +86,7 @@ while(($file = $dh->read()) !== false) | |||||
} | } | ||||
else if(preg_match("#\.(gif|png)#i",$file)) | else if(preg_match("#\.(gif|png)#i",$file)) | ||||
{ | { | ||||
$line = "\n<tr bgcolor='#FFFFFF' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
$line = "\n<tr bgcolor='#FFFFFF' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
<td> | <td> | ||||
<a href=$activeurl/$file target=_blank><img src=images/gif.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | <a href=$activeurl/$file target=_blank><img src=images/gif.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | ||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
@@ -101,7 +101,7 @@ while(($file = $dh->read()) !== false) | |||||
} | } | ||||
else if(preg_match("#\.(jpg)#i",$file)) | else if(preg_match("#\.(jpg)#i",$file)) | ||||
{ | { | ||||
$line = "\n<tr bgcolor='#FFFFFF' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
$line = "\n<tr bgcolor='#FFFFFF' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
<td> | <td> | ||||
<a href=$activeurl/$file target=_blank><img src=images/jpg.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | <a href=$activeurl/$file target=_blank><img src=images/jpg.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | ||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
@@ -116,7 +116,7 @@ while(($file = $dh->read()) !== false) | |||||
} | } | ||||
else if(preg_match("#\.(swf|fla|fly)#i",$file)) | else if(preg_match("#\.(swf|fla|fly)#i",$file)) | ||||
{ | { | ||||
$line = "\n<tr bgcolor='#FFFFFF' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
$line = "\n<tr bgcolor='#FFFFFF' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
<td> | <td> | ||||
<a href=$activeurl/$file target=_blank><img src=images/flash.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | <a href=$activeurl/$file target=_blank><img src=images/flash.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | ||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
@@ -131,7 +131,7 @@ while(($file = $dh->read()) !== false) | |||||
} | } | ||||
else if(preg_match("#\.(zip|rar|tar.gz)#i",$file)) | else if(preg_match("#\.(zip|rar|tar.gz)#i",$file)) | ||||
{ | { | ||||
$line = "\n<tr bgcolor='#FFFFFF' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
$line = "\n<tr bgcolor='#FFFFFF' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
<td> | <td> | ||||
<a href=$activeurl/$file target=_blank><img src=images/zip.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | <a href=$activeurl/$file target=_blank><img src=images/zip.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | ||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
@@ -146,7 +146,7 @@ while(($file = $dh->read()) !== false) | |||||
} | } | ||||
else if(preg_match("#\.(exe)#i",$file)) | else if(preg_match("#\.(exe)#i",$file)) | ||||
{ | { | ||||
$line = "\n<tr bgcolor='#FFFFFF' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
$line = "\n<tr bgcolor='#FFFFFF' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
<td> | <td> | ||||
<a href=$activeurl/$file target=_blank><img src=images/exe.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | <a href=$activeurl/$file target=_blank><img src=images/exe.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | ||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
@@ -161,7 +161,7 @@ while(($file = $dh->read()) !== false) | |||||
} | } | ||||
else if(preg_match("#\.(mp3|wma)#i",$file)) | else if(preg_match("#\.(mp3|wma)#i",$file)) | ||||
{ | { | ||||
$line = "\n<tr bgcolor='#FFFFFF' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
$line = "\n<tr bgcolor='#FFFFFF' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
<td> | <td> | ||||
<a href=$activeurl/$file target=_blank><img src=images/mp3.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | <a href=$activeurl/$file target=_blank><img src=images/mp3.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | ||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
@@ -176,7 +176,7 @@ while(($file = $dh->read()) !== false) | |||||
} | } | ||||
else if(preg_match("#\.(wmv|api)#i",$file)) | else if(preg_match("#\.(wmv|api)#i",$file)) | ||||
{ | { | ||||
$line = "\n<tr bgcolor='#FFFFFF' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
$line = "\n<tr bgcolor='#FFFFFF' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
<td> | <td> | ||||
<a href=$activeurl/$file target=_blank><img src=images/wmv.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | <a href=$activeurl/$file target=_blank><img src=images/wmv.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | ||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
@@ -191,7 +191,7 @@ while(($file = $dh->read()) !== false) | |||||
} | } | ||||
else if(preg_match("#\.(rm|rmvb)#i",$file)) | else if(preg_match("#\.(rm|rmvb)#i",$file)) | ||||
{ | { | ||||
$line = "\n<tr bgcolor='#FFFFFF' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
$line = "\n<tr bgcolor='#FFFFFF' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
<td> | <td> | ||||
<a href=$activeurl/$file target=_blank><img src=images/rm.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | <a href=$activeurl/$file target=_blank><img src=images/rm.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | ||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
@@ -224,7 +224,7 @@ while(($file = $dh->read()) !== false) | |||||
else if(preg_match("#\.(htm|html)#i",$file)) | else if(preg_match("#\.(htm|html)#i",$file)) | ||||
{ | { | ||||
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | ||||
$line = "\n<tr bgcolor='#FFFFFF' height='26'onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
$line = "\n<tr bgcolor='#FFFFFF' onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
<td> | <td> | ||||
<a href=$activeurl/$file target=_blank><img src=images/htm.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | <a href=$activeurl/$file target=_blank><img src=images/htm.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | ||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
@@ -241,7 +241,7 @@ while(($file = $dh->read()) !== false) | |||||
else if(preg_match("#\.(php)#i",$file)) | else if(preg_match("#\.(php)#i",$file)) | ||||
{ | { | ||||
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | ||||
$line = "\n<tr bgcolor='#FFFFFF' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
$line = "\n<tr bgcolor='#FFFFFF' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
<td> | <td> | ||||
<a href=$activeurl/$file target=_blank><img src=images/php.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | <a href=$activeurl/$file target=_blank><img src=images/php.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | ||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
@@ -258,7 +258,7 @@ while(($file = $dh->read()) !== false) | |||||
else if(preg_match("#\.(js)#i",$file)) | else if(preg_match("#\.(js)#i",$file)) | ||||
{ | { | ||||
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | ||||
$line = "\n<tr bgcolor='#FFFFFF' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
$line = "\n<tr bgcolor='#FFFFFF' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
<td> | <td> | ||||
<a href=$activeurl/$file target=_blank><img src=images/js.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | <a href=$activeurl/$file target=_blank><img src=images/js.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | ||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
@@ -275,7 +275,7 @@ while(($file = $dh->read()) !== false) | |||||
else if(preg_match("#\.(css)#i",$file)) | else if(preg_match("#\.(css)#i",$file)) | ||||
{ | { | ||||
$edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); | ||||
$line = "\n<tr bgcolor='#FFFFFF' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
$line = "\n<tr bgcolor='#FFFFFF' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
<td> | <td> | ||||
<a href=$activeurl/$file target=_blank><img src=images/css.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | <a href=$activeurl/$file target=_blank><img src=images/css.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> | ||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
@@ -291,7 +291,7 @@ while(($file = $dh->read()) !== false) | |||||
} | } | ||||
else | else | ||||
{ | { | ||||
$line = "\n<tr bgcolor='#FFFFFF' height='26' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
$line = "\n<tr bgcolor='#FFFFFF' onMouseMove=\"javascript:this.bgColor='#FCFDEE';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\"> | |||||
<td><a href=$activeurl/$file target=_blank>$file</td> | <td><a href=$activeurl/$file target=_blank>$file</td> | ||||
<td>$filesize KB</td> | <td>$filesize KB</td> | ||||
<td align='center'>$filetime</td> | <td align='center'>$filetime</td> | ||||
@@ -315,7 +315,7 @@ foreach ($files as $file) | |||||
} | } | ||||
?> | ?> | ||||
<tr> | <tr> | ||||
<td colspan="4" height='26' bgcolor='#F9FCEF'> | |||||
<td colspan="4" bgcolor='#F9FCEF'> | |||||
<a href='file_manage_main.php' class="btn btn-success 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=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=newdir&activepath=<?php echo urlencode($activepath)?>' class="btn btn-success btn-sm">新建目录</a> | ||||
@@ -69,7 +69,7 @@ | |||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="74%">进行状态: </td> | |||||
<td width="74%">进行状态:</td> | |||||
<td width="26%" align="right"> | <td width="26%" align="right"> | ||||
<script language='javascript'> | <script language='javascript'> | ||||
function ResizeDiv(obj, ty) { | function ResizeDiv(obj, ty) { | ||||
@@ -60,7 +60,7 @@ | |||||
<td height="26" colspan="2" bgcolor="#F9FCEF"> | <td height="26" colspan="2" bgcolor="#F9FCEF"> | ||||
<table width="100%"> | <table width="100%"> | ||||
<tr> | <tr> | ||||
<td width="74%">进行状态: </td> | |||||
<td width="74%">进行状态:</td> | |||||
<td width="26%" align="right"> | <td width="26%" align="right"> | ||||
<script language='javascript'> | <script language='javascript'> | ||||
function ResizeDiv(obj, ty) { | function ResizeDiv(obj, ty) { | ||||
@@ -127,7 +127,7 @@ | |||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="74%">进行状态: </td> | |||||
<td width="74%">进行状态:</td> | |||||
<td width="26%" align="right"> | <td width="26%" align="right"> | ||||
<script language='javascript'> | <script language='javascript'> | ||||
function ResizeDiv(obj, ty) { | function ResizeDiv(obj, ty) { | ||||
@@ -84,7 +84,7 @@ | |||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="74%">进行状态: </td> | |||||
<td width="74%">进行状态:</td> | |||||
<td width="26%" align="right"> | <td width="26%" align="right"> | ||||
<script language='javascript'> | <script language='javascript'> | ||||
function ResizeDiv(obj, ty) { | function ResizeDiv(obj, ty) { | ||||
@@ -64,7 +64,7 @@ | |||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="74%">进行状态: </td> | |||||
<td width="74%">进行状态:</td> | |||||
<td width="26%" align="right"> | <td width="26%" align="right"> | ||||
<script language='javascript'> | <script language='javascript'> | ||||
function ResizeDiv(obj, ty) { | function ResizeDiv(obj, ty) { | ||||
@@ -42,7 +42,7 @@ | |||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="74%">进行状态: </td> | |||||
<td width="74%">进行状态:</td> | |||||
<td width="26%" align="right"> | <td width="26%" align="right"> | ||||
<script language='javascript'> | <script language='javascript'> | ||||
function ResizeDiv(obj, ty) { | function ResizeDiv(obj, ty) { | ||||
@@ -38,7 +38,7 @@ | |||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="74%">进行状态: </td> | |||||
<td width="74%">进行状态:</td> | |||||
<td width="26%" align="right"> | <td width="26%" align="right"> | ||||
<script language='javascript'> | <script language='javascript'> | ||||
function ResizeDiv(obj, ty) { | function ResizeDiv(obj, ty) { | ||||
@@ -40,7 +40,7 @@ | |||||
<td height="26"> | <td height="26"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="74%">进行状态: </td> | |||||
<td width="74%">进行状态:</td> | |||||
<td width="26%" align="right"> | <td width="26%" align="right"> | ||||
<script language='javascript'> | <script language='javascript'> | ||||
function ResizeDiv(obj, ty) { | function ResizeDiv(obj, ty) { | ||||
@@ -70,7 +70,7 @@ | |||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="74%">进行状态: </td> | |||||
<td width="74%">进行状态:</td> | |||||
<td width="26%" align="right"> | <td width="26%" align="right"> | ||||
<script language='javascript'> | <script language='javascript'> | ||||
function ResizeDiv(obj, ty) { | function ResizeDiv(obj, ty) { | ||||
@@ -58,7 +58,7 @@ function changeDopost(postval) | |||||
?> | ?> | ||||
<tr> | <tr> | ||||
<td width="61" align="center" valign="top" bgcolor="<?php echo $bgcolor;?>"><input name="Iterm[<?php echo $key;?>]" type="checkbox" id="Iterm" value="<?php echo $value['filedir'] ;?>"></td> | <td width="61" align="center" valign="top" bgcolor="<?php echo $bgcolor;?>"><input name="Iterm[<?php echo $key;?>]" type="checkbox" id="Iterm" value="<?php echo $value['filedir'] ;?>"></td> | ||||
<td width="185" align="left" valign="top" bgcolor="<?php echo $bgcolor;?>"><?php echo $value['filedir'] ;?><?php echo ($value['issystem']==1)? '<span style='color:#e74d58'>[系统]</span>' : '' ;?></td> | |||||
<td width="185" align="left" valign="top" bgcolor="<?php echo $bgcolor;?>"><?php echo $value['filedir'] ;?><?php echo ($value['issystem']==1)? '<span style='color:#dc3545'>[系统]</span>' : '' ;?></td> | |||||
<td width="265" valign="top" bgcolor="<?php echo $bgcolor;?>"><?php echo $value['description'] ;?></td> | <td width="265" valign="top" bgcolor="<?php echo $bgcolor;?>"><?php echo $value['description'] ;?></td> | ||||
<td width="195" align="center" valign="top" bgcolor="<?php echo $bgcolor;?>"><label> | <td width="195" align="center" valign="top" bgcolor="<?php echo $bgcolor;?>"><label> | ||||
@@ -80,7 +80,7 @@ function changeDopost(postval) | |||||
<tr bgcolor="#E6F3CD"> | <tr bgcolor="#E6F3CD"> | ||||
<td height="26" colspan="5"><table width="100%"> | <td height="26" colspan="5"><table width="100%"> | ||||
<tr> | <tr> | ||||
<td width="74%">进行状态: </td> | |||||
<td width="74%">进行状态:</td> | |||||
<td width="26%" align="right"><script language='javascript'> | <td width="26%" align="right"><script language='javascript'> | ||||
function ResizeDiv(obj,ty) | function ResizeDiv(obj,ty) | ||||
{ | { | ||||
@@ -106,8 +106,8 @@ | |||||
<td><a href="../member/index.php?uid={dede:field.userid/}" target='_blank'> | <td><a href="../member/index.php?uid={dede:field.userid/}" target='_blank'> | ||||
<?php | <?php | ||||
echo ''.$fields['userid'].''; | echo ''.$fields['userid'].''; | ||||
if($fields['spacesta']==-2) echo "<span style='color:#e74d58'>(禁言)</span>"; | |||||
if($fields['spacesta']==-1) echo "<span style='color:#e74d58'>(未审核)</span>"; | |||||
if($fields['spacesta']==-2) echo "<span style='color:#dc3545'>(禁言)</span>"; | |||||
if($fields['spacesta']==-1) echo "<span style='color:#dc3545'>(未审核)</span>"; | |||||
if(!empty($fields['face'])) { | if(!empty($fields['face'])) { | ||||
echo "<br /><img src='{$fields['face']}' width='60' alt='浏览会员空间' />"; | echo "<br /><img src='{$fields['face']}' width='60' alt='浏览会员空间' />"; | ||||
} | } | ||||
@@ -57,7 +57,7 @@ | |||||
?> | ?> | ||||
<input type="hidden" name="idend" value="<?php echo $k; ?>"> | <input type="hidden" name="idend" value="<?php echo $k; ?>"> | ||||
<tr bgcolor="#F8FCF1" height="26"> | <tr bgcolor="#F8FCF1" height="26"> | ||||
<td colspan="6"><strong>新增一个级别:</strong>(由于会员升级是以级别值由低向高升级的,因此增加组别时需注意此值的设置,<span style='color:#e74d58'> | |||||
<td colspan="6"><strong>新增一个级别:</strong>(由于会员升级是以级别值由低向高升级的,因此增加组别时需注意此值的设置,<span style='color:#dc3545'> | |||||
如果您增加新的会员组的级别值低于10,将自动被视为普通的注册会员。</span>) </td> | 如果您增加新的会员组的级别值低于10,将自动被视为普通的注册会员。</span>) </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor="#FFFFFF" align="center" height="26"> | <tr bgcolor="#FFFFFF" align="center" height="26"> | ||||
@@ -36,7 +36,7 @@ | |||||
<td height="200" bgcolor="#FFFFFF" align='center'><?php | <td height="200" bgcolor="#FFFFFF" align='center'><?php | ||||
if($row['matt']==10) | if($row['matt']==10) | ||||
{ | { | ||||
echo "<span style='color:#e74d58'>已经是管理员了,不要再提升了</span>"; | |||||
echo "<span style='color:#dc3545'>已经是管理员了,不要再提升了</span>"; | |||||
}else{ | }else{ | ||||
?> | ?> | ||||
<table width="98%" border="0" cellspacing="0" cellpadding="6" class="table table-borderless"> | <table width="98%" border="0" cellspacing="0" cellpadding="6" class="table table-borderless"> | ||||
@@ -106,7 +106,7 @@ | |||||
<td align="left"><input name="safecode" type="text" id="safecode" size="16" style="width:200px" /> | <td align="left"><input name="safecode" type="text" id="safecode" size="16" style="width:200px" /> | ||||
<input name="randcode" type="hidden" value="<?php echo $randcode; ?>" /> | <input name="randcode" type="hidden" value="<?php echo $randcode; ?>" /> | ||||
| | ||||
(复制本代码: <span style='color:#e74d58'><?php echo $safecode; ?></span> ) </td> | |||||
(复制本代码:<span style='color:#dc3545'><?php echo $safecode; ?></span> ) </td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="67" align="right"> </td> | <td height="67" align="right"> </td> | ||||
@@ -36,7 +36,7 @@ function checkSubmit() | |||||
<tr> | <tr> | ||||
<td height="200" bgcolor="#FFFFFF" align='center'> | <td height="200" bgcolor="#FFFFFF" align='center'> | ||||
<?php | <?php | ||||
if($row['matt']==10) echo "<span style='color:#e74d58'>当前用户是网站管理员关连的帐号,请小心操作</span>"; | |||||
if($row['matt']==10) echo "<span style='color:#dc3545'>当前用户是网站管理员关连的帐号,请小心操作</span>"; | |||||
?> | ?> | ||||
<table width="98%" border="0" cellspacing="0" cellpadding="6" class="table table-borderless"> | <table width="98%" border="0" cellspacing="0" cellpadding="6" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
@@ -67,7 +67,7 @@ function checkSubmit() | |||||
<td align="right" class='bline'>注册时间:</td> | <td align="right" class='bline'>注册时间:</td> | ||||
<td class='bline' style="text-align:left;"> | <td class='bline' style="text-align:left;"> | ||||
<?php echo GetDateTimeMk($row['jointime'])?> | <?php echo GetDateTimeMk($row['jointime'])?> | ||||
IP: | |||||
IP: | |||||
<?php echo $row['joinip']?> | <?php echo $row['joinip']?> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -75,7 +75,7 @@ function checkSubmit() | |||||
<td align="right" class='bline'>最近登录时间:</td> | <td align="right" class='bline'>最近登录时间:</td> | ||||
<td class='bline' style="text-align:left;"> | <td class='bline' style="text-align:left;"> | ||||
<?php echo GetDateTimeMk($row['logintime'])?> | <?php echo GetDateTimeMk($row['logintime'])?> | ||||
IP: | |||||
IP: | |||||
<?php echo $row['loginip']?> | <?php echo $row['loginip']?> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -145,7 +145,7 @@ function checkSubmit() | |||||
<td class='bline' style="text-align:left;"><input type="text" style="width: 200px;" value="<?php echo $row['exptime']?>" id="exptime" name="exptime"> | <td class='bline' style="text-align:left;"><input type="text" style="width: 200px;" value="<?php echo $row['exptime']?>" id="exptime" name="exptime"> | ||||
(如果您要升级会员,会员天数必须大于0) </td> | (如果您要升级会员,会员天数必须大于0) </td> | ||||
</tr> | </tr> | ||||
<?php if($mhasDay!=0){ $mhasDay=($mhasDay>0)? $mhasDay : '<span style='color:#e74d58'>该会员已经到期</span>';?> | |||||
<?php if($mhasDay!=0){ $mhasDay=($mhasDay>0)? $mhasDay : '<span style='color:#dc3545'>该会员已经到期</span>';?> | |||||
<tr> | <tr> | ||||
<td align="right" class='bline'>会员剩余天数:</td> | <td align="right" class='bline'>会员剩余天数:</td> | ||||
<td class='bline' style="text-align:left;"><?php echo $mhasDay; ?></td> | <td class='bline' style="text-align:left;"><?php echo $mhasDay; ?></td> | ||||
@@ -157,7 +157,7 @@ function checkSubmit() | |||||
<input name="oldmatt" type="hidden" id="oldmatt" value="<?php echo $row['matt']?>" /> | <input name="oldmatt" type="hidden" id="oldmatt" value="<?php echo $row['matt']?>" /> | ||||
<input name="matt" type="text" id="matt" value="<?php echo $row['matt']?>" size="3" /> | <input name="matt" type="text" id="matt" value="<?php echo $row['matt']?>" size="3" /> | ||||
(0为普通,1为推荐,10为管理员[不能在前台登录] | (0为普通,1为推荐,10为管理员[不能在前台登录] | ||||
<span style='color:#e74d58'>{非管理员ID是严格使用10属性的,要新建管理在 <a href='sys_admin_user_add.php' target='_blank'>系统帐号</a> 的地方增加}</span>) | |||||
<span style='color:#dc3545'>{非管理员ID是严格使用10属性的,要新建管理在 <a href='sys_admin_user_add.php' target='_blank'>系统帐号</a> 的地方增加}</span>) | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -209,7 +209,7 @@ td{padding-left:8px} | |||||
<td align="center" bgcolor="#FFFFFF"><b>文件列表:</b></td> | <td align="center" bgcolor="#FFFFFF"><b>文件列表:</b></td> | ||||
<td bgcolor="#FFFFFF"><p>每行指定一个文件或目录,路径为相对于本目录,本目录的文件则直接用文件名即可,对于整个打包的目录,不需要指定子目录里的文件。<br /> | <td bgcolor="#FFFFFF"><p>每行指定一个文件或目录,路径为相对于本目录,本目录的文件则直接用文件名即可,对于整个打包的目录,不需要指定子目录里的文件。<br /> | ||||
如:<br /> | 如:<br /> | ||||
如果已经指定了: ../book 则不需要再指定目录里的 ../book/index.php 等文件或目录,系统会自动索引整个目录,<br /> | |||||
如果已经指定了:../book 则不需要再指定目录里的 ../book/index.php 等文件或目录,系统会自动索引整个目录,<br /> | |||||
对于不需要索引整个目录的,请不要指定这个目录,否则可能会把不必要的文件也放进模块中。 <br> | 对于不需要索引整个目录的,请不要指定这个目录,否则可能会把不必要的文件也放进模块中。 <br> | ||||
<textarea name="filelist" rows="8" id="filelist" style="width:80%"><?php echo $filelist; ?></textarea> | <textarea name="filelist" rows="8" id="filelist" style="width:80%"><?php echo $filelist; ?></textarea> | ||||
</p> | </p> | ||||
@@ -63,7 +63,7 @@ | |||||
<td><?php echo $v['time']; ?></td> | <td><?php echo $v['time']; ?></td> | ||||
<td> | <td> | ||||
<?php | <?php | ||||
if($cfg_soft_lang != $v['lang']) echo "<span style='color:#e74d58'>".$v['lang']."</span>"; | |||||
if($cfg_soft_lang != $v['lang']) echo "<span style='color:#dc3545'>".$v['lang']."</span>"; | |||||
else echo $v['lang']; | else echo $v['lang']; | ||||
?> | ?> | ||||
</td> | </td> | ||||
@@ -78,7 +78,7 @@ | |||||
echo "未安装 <a href='module_main.php?action=setup&hash={$v['hash']}' class='btn btn-success btn-sm'>安装</a>"; | echo "未安装 <a href='module_main.php?action=setup&hash={$v['hash']}' class='btn btn-success btn-sm'>安装</a>"; | ||||
} | } | ||||
} else { | } else { | ||||
echo "<div id=\"status_{$v['hash']}\"><span style='color:#e74d58'>未下载</span> <a href=\"javascript:getmodule('download','{$v['hash']}')\" class='btn btn-success btn-sm'>下载</a></div>"; | |||||
echo "<div id=\"status_{$v['hash']}\"><span style='color:#dc3545'>未下载</span> <a href=\"javascript:getmodule('download','{$v['hash']}')\" class='btn btn-success btn-sm'>下载</a></div>"; | |||||
} | } | ||||
?> | ?> | ||||
</td> | </td> | ||||
@@ -207,7 +207,7 @@ | |||||
<td bgcolor="#FFFFFF"> | <td bgcolor="#FFFFFF"> | ||||
<p> | <p> | ||||
每行指定一个文件或目录,路径为相对于本目录,本目录的文件则直接用文件名即可,对于整个打包的目录,不需要指定子目录里的文件。<br /> | 每行指定一个文件或目录,路径为相对于本目录,本目录的文件则直接用文件名即可,对于整个打包的目录,不需要指定子目录里的文件。<br /> | ||||
如:如果已经指定了: ../book 则不需要再指定目录里的 ../book/index.php 等文件或目录,系统会自动索引整个目录,<br /> | |||||
如:如果已经指定了:../book 则不需要再指定目录里的 ../book/index.php 等文件或目录,系统会自动索引整个目录,<br /> | |||||
对于不需要索引整个目录的,请不要指定这个目录,否则可能会把不必要的文件也放进模块中。 <br /> | 对于不需要索引整个目录的,请不要指定这个目录,否则可能会把不必要的文件也放进模块中。 <br /> | ||||
<textarea name="filelist" rows="8" id="filelist" style="width:80%"></textarea> | <textarea name="filelist" rows="8" id="filelist" style="width:80%"></textarea> | ||||
</p> | </p> | ||||
@@ -105,7 +105,7 @@ | |||||
<td height="26" colspan="2" bgcolor="#F9FCEF"> | <td height="26" colspan="2" bgcolor="#F9FCEF"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="74%"><strong> </strong>进行状态: </td> | |||||
<td width="74%"><strong> </strong>进行状态:</td> | |||||
<td width="26%" align="right"> | <td width="26%" align="right"> | ||||
<script language='javascript'> | <script language='javascript'> | ||||
function ResizeDiv(obj, ty) { | function ResizeDiv(obj, ty) { | ||||
@@ -37,7 +37,7 @@ function checkSubmit() | |||||
<td height="26" colspan="2" align="left"> 说明:站内新闻是为了方便站长发布站点公告而设置的一种小功能,由于要读取包括text字段的信息,应定期删除太旧的信息,否则可能会让模板解析速度变慢。如果没有选择显示频道,则在这个频道中使用这个标记时会被“所有位置...”的标记内容代替。</td> | <td height="26" colspan="2" align="left"> 说明:站内新闻是为了方便站长发布站点公告而设置的一种小功能,由于要读取包括text字段的信息,应定期删除太旧的信息,否则可能会让模板解析速度变慢。如果没有选择显示频道,则在这个频道中使用这个标记时会被“所有位置...”的标记内容代替。</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="26" colspan="2" align="left"> 站内新闻调用代码: {dede:mynews row='条数' titlelen='标题长度'}Innertext{/dede:mynews},Innertext支持的字段为:[field:title | |||||
<td height="26" colspan="2" align="left"> 站内新闻调用代码:{dede:mynews row='条数' titlelen='标题长度'}Innertext{/dede:mynews},Innertext支持的字段为:[field:title | |||||
/],[field:writer /],[field:senddate /](时间),[field:body /]。 </td> | /],[field:writer /],[field:senddate /](时间),[field:body /]。 </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -38,7 +38,7 @@ function checkSubmit() | |||||
<td height="26" colspan="2" align="left"> 说明:站内新闻是为了方便站长发布站点公告而设置的一种小功能,由于要读取包括text字段的信息,应定期删除太旧的信息,否则可能会让模板解析速度变慢。如果没有选择显示频道,则在这个频道中使用这个标记时会被“所有位置...”的标记内容代替。</td> | <td height="26" colspan="2" align="left"> 说明:站内新闻是为了方便站长发布站点公告而设置的一种小功能,由于要读取包括text字段的信息,应定期删除太旧的信息,否则可能会让模板解析速度变慢。如果没有选择显示频道,则在这个频道中使用这个标记时会被“所有位置...”的标记内容代替。</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="26" colspan="2" align="left"> 站内新闻调用代码: {dede:mynews row='条数' titlelen='标题长度'}Innertext{/dede:mynews},Innertext支持的字段为:[field:title | |||||
<td height="26" colspan="2" align="left"> 站内新闻调用代码:{dede:mynews row='条数' titlelen='标题长度'}Innertext{/dede:mynews},Innertext支持的字段为:[field:title | |||||
/],[field:writer /],[field:senddate /](时间),[field:body /]。 </td> | /],[field:writer /],[field:senddate /](时间),[field:body /]。 </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -68,7 +68,7 @@ function checkSubmit() | |||||
<td align="left"><input name="writer" type="text" id="writer" value="<?php echo $myNews['writer']?>" size="16"></td> | <td align="left"><input name="writer" type="text" id="writer" value="<?php echo $myNews['writer']?>" size="16"></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="30" align="right">日期: </td> | |||||
<td height="30" align="right">日期:</td> | |||||
<td align="left"><input name="sdate" type="text" id="sdate" size="25" value="<?php echo GetDateTimeMk($myNews['senddate'])?>"></td> | <td align="left"><input name="sdate" type="text" id="sdate" size="25" value="<?php echo GetDateTimeMk($myNews['senddate'])?>"></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -158,7 +158,7 @@ | |||||
天以内 (0 表示不限)</td> | 天以内 (0 表示不限)</td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="26">提取特定文档: <button class="btn btn-success btn-sm" type="button" id="selarc" | |||||
<td height="26">提取特定文档:<button class="btn btn-success btn-sm" type="button" id="selarc" | |||||
onClick="SelectArcList('form1.arcid');">选择节点文章</button> | onClick="SelectArcList('form1.arcid');">选择节点文章</button> | ||||
<textarea name="arcid" rows="3" id="arcid" style="width:90%" class="mt-3"></textarea> | <textarea name="arcid" rows="3" id="arcid" style="width:90%" class="mt-3"></textarea> | ||||
</td> | </td> | ||||
@@ -258,7 +258,7 @@ table{border-collapse:separate} | |||||
<option value="汉化补丁">汉化补丁</option> | <option value="汉化补丁">汉化补丁</option> | ||||
</select> | </select> | ||||
</td> | </td> | ||||
<td width="72">界面语言: </td> | |||||
<td width="72">界面语言:</td> | |||||
<td width="131"><select name="language" id="language" style="width:100"> | <td width="131"><select name="language" id="language" style="width:100"> | ||||
<option value="简体中文" selected>简体中文</option> | <option value="简体中文" selected>简体中文</option> | ||||
<option value="英文软件">英文软件</option> | <option value="英文软件">英文软件</option> | ||||
@@ -125,7 +125,7 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="26" colspan="2" bgcolor="#F9FCEF" style="padding-left:10px;"> | <td height="26" colspan="2" bgcolor="#F9FCEF" style="padding-left:10px;"> | ||||
<strong>镜像服务器列表: </strong></td> | |||||
<strong>镜像服务器列表:</strong></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="2" bgcolor="#FFFFFF">服务器网址: | <td colspan="2" bgcolor="#FFFFFF">服务器网址: | ||||
@@ -257,7 +257,7 @@ table{border-collapse:separate} | |||||
<option value="汉化补丁">汉化补丁</option> | <option value="汉化补丁">汉化补丁</option> | ||||
</select> | </select> | ||||
</td> | </td> | ||||
<td width="89">界面语言: </td> | |||||
<td width="89">界面语言:</td> | |||||
<td width="130"><select name="language" id="language" style="width:100"> | <td width="130"><select name="language" id="language" style="width:100"> | ||||
<?php | <?php | ||||
if($addRow["language"]!="") echo "<option value=\"".$addRow["language"]."\">".$addRow["language"]."</option>\r\n"; | if($addRow["language"]!="") echo "<option value=\"".$addRow["language"]."\">".$addRow["language"]."</option>\r\n"; | ||||
@@ -400,7 +400,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="50" rowspan="2" valign="top">节点布局: </td> | |||||
<td height="50" rowspan="2" valign="top">节点布局:</td> | |||||
<td colspan="2"> 列数: | <td colspan="2"> 列数: | ||||
<input name="col<?php echo $i?>" type="text" id="col<?php echo $i?>" value="1" size="3"> | <input name="col<?php echo $i?>" type="text" id="col<?php echo $i?>" value="1" size="3"> | ||||
图片宽: | 图片宽: | ||||
@@ -464,11 +464,11 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="50" rowspan="2" valign="top">节点布局:<br /> </td> | <td height="50" rowspan="2" valign="top">节点布局:<br /> </td> | ||||
<td colspan="2">列数: <input name="col<?php echo $i?>" type="text" id="col<?php echo $i?>" | |||||
<td colspan="2">列数:<input name="col<?php echo $i?>" type="text" id="col<?php echo $i?>" | |||||
value="<?php echo $col?>" size="3"> | value="<?php echo $col?>" size="3"> | ||||
图片宽: <input name="imgwidth<?php echo $i?>" type="text" id="imgwidth<?php echo $i?>" | |||||
图片宽:<input name="imgwidth<?php echo $i?>" type="text" id="imgwidth<?php echo $i?>" | |||||
value="<?php echo $imgwidth?>" size="3"> | value="<?php echo $imgwidth?>" size="3"> | ||||
图片高: <input name="imgheight<?php echo $i?>" type="text" id="imgheight<?php echo $i?>" | |||||
图片高:<input name="imgheight<?php echo $i?>" type="text" id="imgheight<?php echo $i?>" | |||||
value="<?php echo $imgheight?>" size="3"> | value="<?php echo $imgheight?>" size="3"> | ||||
标题长: | 标题长: | ||||
<input name="titlelen<?php echo $i?>" type="text" id="titlelen<?php echo $i?>" | <input name="titlelen<?php echo $i?>" type="text" id="titlelen<?php echo $i?>" | ||||
@@ -534,11 +534,11 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="50" rowspan="2" valign="top">节点布局:<br /> </td> | <td height="50" rowspan="2" valign="top">节点布局:<br /> </td> | ||||
<td colspan="2">列数: <input name="col<?php echo $i?>" type="text" id="col<?php echo $i?>" value="1" | |||||
<td colspan="2">列数:<input name="col<?php echo $i?>" type="text" id="col<?php echo $i?>" value="1" | |||||
size="3"> | size="3"> | ||||
图片高: <input name="imgheight<?php echo $i?>" type="text" id="imgheight<?php echo $i?>" value="90" | |||||
图片高:<input name="imgheight<?php echo $i?>" type="text" id="imgheight<?php echo $i?>" value="90" | |||||
size="3"> | size="3"> | ||||
图片宽: <input name="imgwidth<?php echo $i?>" type="text" id="imgwidth<?php echo $i?>" value="120" | |||||
图片宽:<input name="imgwidth<?php echo $i?>" type="text" id="imgwidth<?php echo $i?>" value="120" | |||||
size="3"> | size="3"> | ||||
标题长: | 标题长: | ||||
<input name="titlelen<?php echo $i?>" type="text" id="titlelen<?php echo $i?>" value="60" size="3"> | <input name="titlelen<?php echo $i?>" type="text" id="titlelen<?php echo $i?>" value="60" size="3"> | ||||
@@ -109,7 +109,7 @@ | |||||
<input name="safecode" type="text" id="safecode" size="16" style="width:200px" /> | <input name="safecode" type="text" id="safecode" size="16" style="width:200px" /> | ||||
<input name="randcode" type="hidden" value="<?php echo $randcode; ?>" /> | <input name="randcode" type="hidden" value="<?php echo $randcode; ?>" /> | ||||
| | ||||
(复制本代码: <span style='color:#e74d58'><?php echo $safecode; ?></span> ) | |||||
(复制本代码:<span style='color:#dc3545'><?php echo $safecode; ?></span> ) | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -86,7 +86,7 @@ | |||||
<input name="safecode" type="text" id="safecode" size="16" style="width:200px" /> | <input name="safecode" type="text" id="safecode" size="16" style="width:200px" /> | ||||
<input name="randcode" type="hidden" value="<?php echo $randcode; ?>" /> | <input name="randcode" type="hidden" value="<?php echo $randcode; ?>" /> | ||||
| | ||||
(复制本代码: <span style='color:#e74d58'><?php echo $safecode; ?></span> ) | |||||
(复制本代码:<span style='color:#dc3545'><?php echo $safecode; ?></span> ) | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -48,7 +48,7 @@ | |||||
<td height="26"> | <td height="26"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="74%">进行状态: </td> | |||||
<td width="74%">进行状态:</td> | |||||
<td width="26%" align="right"> | <td width="26%" align="right"> | ||||
<script language='javascript'> | <script language='javascript'> | ||||
function ResizeDiv(obj, ty) { | function ResizeDiv(obj, ty) { | ||||
@@ -251,7 +251,7 @@ | |||||
<td height="50" colspan="8"> | <td height="50" colspan="8"> | ||||
<table width="90%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | <table width="90%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td height="30">当前数据库版本: <?php echo $mysql_version?></td> | |||||
<td height="30">当前数据库版本:<?php echo $mysql_version?></td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="30"> | <td height="30"> | ||||
@@ -69,7 +69,7 @@ | |||||
$dsql->SetQuery("Show Tables"); | $dsql->SetQuery("Show Tables"); | ||||
$dsql->Execute('t'); | $dsql->Execute('t'); | ||||
if($dsql->GetError()!=''){ | if($dsql->GetError()!=''){ | ||||
echo "<span style='color:#e74d58'>找不到您所指定的数据库 $dbname</span><br>"; | |||||
echo "<span style='color:#dc3545'>找不到您所指定的数据库 $dbname</span><br>"; | |||||
echo $qbutton; | echo $qbutton; | ||||
} | } | ||||
echo "<select name='exptable' id='exptable' size='10' style='width:60%;height: 220px;' onchange='ShowFields()'>\r\n"; | echo "<select name='exptable' id='exptable' size='10' style='width:60%;height: 220px;' onchange='ShowFields()'>\r\n"; | ||||
@@ -132,7 +132,7 @@ | |||||
</tr> | </tr> | ||||
</form> | </form> | ||||
<tr bgcolor="#F7F8ED"> | <tr bgcolor="#F7F8ED"> | ||||
<td height="26" colspan="4"><strong>进行状态: </strong></td> | |||||
<td height="26" colspan="4"><strong>进行状态:</strong></td> | |||||
</tr> | </tr> | ||||
<tr bgcolor="#FFFFFF"> | <tr bgcolor="#FFFFFF"> | ||||
<td height="180" colspan="4"> | <td height="180" colspan="4"> | ||||
@@ -32,7 +32,7 @@ | |||||
$dsql->SetQuery("Select `rank` From `#@__admintype`"); | $dsql->SetQuery("Select `rank` From `#@__admintype`"); | ||||
$dsql->Execute(); | $dsql->Execute(); | ||||
while($row = $dsql->GetObject()) echo '<span style='color:#e74d58'>'.$row->rank.'</span>、'; | |||||
while($row = $dsql->GetObject()) echo '<span style='color:#dc3545'>'.$row->rank.'</span>、'; | |||||
?> | ?> | ||||
,级别值必须小于10,超过或等于10所有权限设置将无效(超级管理员),如果10个组不能完全满足您的要求,允许使用小数) </td> | ,级别值必须小于10,超过或等于10所有权限设置将无效(超级管理员),如果10个组不能完全满足您的要求,允许使用小数) </td> | ||||
</tr> | </tr> | ||||
@@ -20,7 +20,7 @@ | |||||
<td width="75%">参数值</td> | <td width="75%">参数值</td> | ||||
</tr> | </tr> | ||||
<tr align="center" height="26" bgcolor="#F4FCDC"> | <tr align="center" height="26" bgcolor="#F4FCDC"> | ||||
<td bgcolor="#FFFFFF"> 是否使用通行证: </td> | |||||
<td bgcolor="#FFFFFF"> 是否使用通行证:</td> | |||||
<td align="left" bgcolor="#FFFFFF"> | <td align="left" bgcolor="#FFFFFF"> | ||||
<input type='radio' class='np' name='edit___cfg_pp_need' value='Y'<?php if($cfg_pp_need=='Y') echo " checked";?>> | <input type='radio' class='np' name='edit___cfg_pp_need' value='Y'<?php if($cfg_pp_need=='Y') echo " checked";?>> | ||||
是 | 是 | ||||
@@ -28,7 +28,7 @@ | |||||
否 </td> | 否 </td> | ||||
</tr> | </tr> | ||||
<tr align="center" height="26" bgcolor="#F4FCDC"> | <tr align="center" height="26" bgcolor="#F4FCDC"> | ||||
<td> 通行证加密码: </td> | |||||
<td> 通行证加密码:</td> | |||||
<td align="left"> | <td align="left"> | ||||
<?php | <?php | ||||
if($cfg_pp_encode=='') $cfg_pp_encode = chr(mt_rand(ord('A'),ord('Z'))).chr(mt_rand(ord('a'),ord('z'))).chr(mt_rand(ord('A'),ord('Z'))).chr(mt_rand(ord('A'),ord('Z'))).chr(mt_rand(ord('a'),ord('z'))).mt_rand(1000,9999).chr(mt_rand(ord('A'),ord('Z'))); | if($cfg_pp_encode=='') $cfg_pp_encode = chr(mt_rand(ord('A'),ord('Z'))).chr(mt_rand(ord('a'),ord('z'))).chr(mt_rand(ord('A'),ord('Z'))).chr(mt_rand(ord('A'),ord('Z'))).chr(mt_rand(ord('a'),ord('z'))).mt_rand(1000,9999).chr(mt_rand(ord('A'),ord('Z'))); | ||||
@@ -37,12 +37,12 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr align="center" height="26" bgcolor="#FFFFFF"> | <tr align="center" height="26" bgcolor="#FFFFFF"> | ||||
<td> 登录通行证网址: </td> | |||||
<td> 登录通行证网址:</td> | |||||
<td align="left"> | <td align="left"> | ||||
<input type='text' name='edit___cfg_pp_login' id='edit___cfg_pp_login' style='width:80%' value='<?php echo $cfg_pp_login?>'></td> | <input type='text' name='edit___cfg_pp_login' id='edit___cfg_pp_login' style='width:80%' value='<?php echo $cfg_pp_login?>'></td> | ||||
</tr> | </tr> | ||||
<tr align="center" height="26" bgcolor="#F4FCDC"> | <tr align="center" height="26" bgcolor="#F4FCDC"> | ||||
<td>退出通行证网址: </td> | |||||
<td>退出通行证网址:</td> | |||||
<td align="left"><input name="edit___cfg_pp_exit" type='text' id="edit___cfg_pp_exit" style='width:80%' value='<?php echo $cfg_pp_exit?>'></td> | <td align="left"><input name="edit___cfg_pp_exit" type='text' id="edit___cfg_pp_exit" style='width:80%' value='<?php echo $cfg_pp_exit?>'></td> | ||||
</tr> | </tr> | ||||
<tr align="center" height="26" bgcolor="#FFFFFF"> | <tr align="center" height="26" bgcolor="#FFFFFF"> | ||||
@@ -54,7 +54,7 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td colspan="2" valign="top" bgcolor="#FFFFFF">输入要测试的局部代码: </td> | |||||
<td colspan="2" valign="top" bgcolor="#FFFFFF">输入要测试的局部代码:</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="62" colspan="2" bgcolor="#FFFFFF"> | <td height="62" colspan="2" bgcolor="#FFFFFF"> | ||||
@@ -85,7 +85,7 @@ | |||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
<table width="100%" class="table table-borderless"> | <table width="100%" class="table table-borderless"> | ||||
<tr> | <tr> | ||||
<td width="74%">进行状态: </td> | |||||
<td width="74%">进行状态:</td> | |||||
<td width="26%" align="right"> | <td width="26%" align="right"> | ||||
<script language='javascript'> | <script language='javascript'> | ||||
function ResizeDiv(obj, ty) { | function ResizeDiv(obj, ty) { | ||||
@@ -60,7 +60,7 @@ | |||||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>" /> | <input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>" /> | ||||
<table width='98%' border='0' cellpadding='3' cellspacing='1' bgcolor='#cfcfcf' align="center" class="table maintable table-bordered mt-3"> | <table width='98%' border='0' cellpadding='3' cellspacing='1' bgcolor='#cfcfcf' align="center" class="table maintable table-bordered mt-3"> | ||||
<tr bgcolor='#EEF4EA'> | <tr bgcolor='#EEF4EA'> | ||||
<td colspan='2' background='images/wbg.gif' height='26' style="padding-left:10px;"> | |||||
<td colspan='2' background='images/wbg.gif' style="padding-left:10px;"> | |||||
<span><b>修改/新建模板:</b></span> | <span><b>修改/新建模板:</b></span> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -57,7 +57,7 @@ function Post() | |||||
<input type="hidden" name="action" value="savetagfile" /> | <input type="hidden" name="action" value="savetagfile" /> | ||||
<table width='98%' border='0' cellpadding='3' cellspacing='1' bgcolor='#cfcfcf' align="center" class="table maintable table-bordered mt-3"> | <table width='98%' border='0' cellpadding='3' cellspacing='1' bgcolor='#cfcfcf' align="center" class="table maintable table-bordered mt-3"> | ||||
<tr bgcolor='#EEF4EA'> | <tr bgcolor='#EEF4EA'> | ||||
<td colspan='2' background='images/wbg.gif' height='26' style="padding-left:10px;"> | |||||
<td colspan='2' background='images/wbg.gif' style="padding-left:10px;"> | |||||
<span><b><?php echo $title; ?></b>(修改源码如果出现语法错误,可能导致标签无法使用,请修改前先作好数据备份)</span> | <span><b><?php echo $title; ?></b>(修改源码如果出现语法错误,可能导致标签无法使用,请修改前先作好数据备份)</span> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -19,7 +19,7 @@ | |||||
</tr> | </tr> | ||||
<tr bgcolor="#ffffff"> | <tr bgcolor="#ffffff"> | ||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
下载的文件临时存放在文件夹(<span style='color:#e74d58'>../data/<?php echo $tmpdir; ?></span>)内,如果某些基础类有重要的改动导致更新中途中错,您可以从这文件夹提取文件手工更新。 | |||||
下载的文件临时存放在文件夹(<span style='color:#dc3545'>../data/<?php echo $tmpdir; ?></span>)内,如果某些基础类有重要的改动导致更新中途中错,您可以从这文件夹提取文件手工更新。 | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php echo $dirinfos; ?> | <?php echo $dirinfos; ?> | ||||
@@ -27,7 +27,7 @@ | |||||
<td height="26" colspan="2"> | <td height="26" colspan="2"> | ||||
<table width="100%"> | <table width="100%"> | ||||
<tr> | <tr> | ||||
<td width="74%">进行状态: </td> | |||||
<td width="74%">进行状态:</td> | |||||
<td width="26%" align="right"> | <td width="26%" align="right"> | ||||
<script language='javascript'> | <script language='javascript'> | ||||
function ResizeDiv(obj,ty) | function ResizeDiv(obj,ty) | ||||
@@ -20,13 +20,13 @@ | |||||
ShowMsg("最大只允许15个选项"); | ShowMsg("最大只允许15个选项"); | ||||
return; | return; | ||||
} | } | ||||
var htmldata = "<br/>选项" + i + ": <input name='voteitem" + i + "' type='text' size='30' class='mt-2'>"; | |||||
var htmldata = "<br/>选项" + i + ":<input name='voteitem" + i + "' type='text' size='30' class='mt-2'>"; | |||||
jQuery("#voteitem").append(htmldata); | jQuery("#voteitem").append(htmldata); | ||||
} | } | ||||
function ResetItem() { | function ResetItem() { | ||||
i = 1; | i = 1; | ||||
var obj = document.getElementById("voteitem"); | var obj = document.getElementById("voteitem"); | ||||
obj.innerHTML = "选项1: <input name='voteitem1' type='text' size='30'>"; | |||||
obj.innerHTML = "选项1:<input name='voteitem1' type='text' size='30'>"; | |||||
} | } | ||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form1.votename.value == "") { | if (document.form1.votename.value == "") { | ||||
@@ -38,7 +38,7 @@ | |||||
<td>{dede:field.endtime function="GetDateMk(@me)" /}</td> | <td>{dede:field.endtime function="GetDateMk(@me)" /}</td> | ||||
<td>{dede:field.totalcount /}</td> | <td>{dede:field.totalcount /}</td> | ||||
<td> | <td> | ||||
<?php if($fields['isenable'] == 1){echo "<span style='color:#e74d58'>未启用</span>";}else{echo "<span style='color:#28a745'>启用</span>";} ?> | |||||
<?php if($fields['isenable'] == 1){echo "<span style='color:#dc3545'>未启用</span>";}else{echo "<span style='color:color:#dc3545'>启用</span>";} ?> | |||||
</td> | </td> | ||||
<td> | <td> | ||||
<a title="获取代码" href='vote_getcode.php?aid={dede:field.aid /}' class="btn btn-success btn-sm">代码</a> | <a title="获取代码" href='vote_getcode.php?aid={dede:field.aid /}' class="btn btn-success btn-sm">代码</a> | ||||
@@ -301,35 +301,35 @@ $action = isset($action) ? $action : ''; | |||||
$rs = TestExecuteable(DEDEROOT.$key, $cfg_basehost, $cfg_cmspath); | $rs = TestExecuteable(DEDEROOT.$key, $cfg_basehost, $cfg_cmspath); | ||||
if ($rs === -1) { | if ($rs === -1) { | ||||
echo "<span style='color:#e74d58'>无法判断</span>"; | |||||
echo "<span style='color:#dc3545'>无法判断</span>"; | |||||
} else { | } else { | ||||
if ($val['execute'] == true) | if ($val['execute'] == true) | ||||
echo $rs != $val['execute'] ? "<span style='color:#e74d58'>错误(不可执行)</span>" : "<span style='color:#28a745'>正常(可执行)</span>"; | |||||
echo $rs != $val['execute'] ? "<span style='color:#dc3545'>错误(不可执行)</span>" : "<span style='color:color:#dc3545'>正常(可执行)</span>"; | |||||
else | else | ||||
echo $rs != $val['execute'] ? "<span style='color:#e74d58'>错误(可执行)</span>" : "<span style='color:#28a745'>正常(不可执行)</span>"; | |||||
echo $rs != $val['execute'] ? "<span style='color:#dc3545'>错误(可执行)</span>" : "<span style='color:color:#dc3545'>正常(不可执行)</span>"; | |||||
} | } | ||||
?>|<?php | ?>|<?php | ||||
if ($val['read'] == true) | if ($val['read'] == true) | ||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#e74d58'>错误(不可读)</span>" : "<span style='color:#28a745'>正常(可读)</span>"; | |||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(不可读)</span>" : "<span style='color:color:#dc3545'>正常(可读)</span>"; | |||||
else | else | ||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#e74d58'>错误(可读)</span>" : "<span style='color:#28a745'>正常(不可读)</span>"; | |||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(可读)</span>" : "<span style='color:color:#dc3545'>正常(不可读)</span>"; | |||||
?>|<?php | ?>|<?php | ||||
if ($val['write'] == true) | if ($val['write'] == true) | ||||
echo TestWriteable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#e74d58'>错误(不可写)</span>" : "<span style='color:#28a745'>正常(可写)</span>"; | |||||
echo TestWriteable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(不可写)</span>" : "<span style='color:color:#dc3545'>正常(可写)</span>"; | |||||
else | else | ||||
echo TestWriteable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#e74d58'>错误(可写)</span>" : "<span style='color:#28a745'>正常(不可写)</span>"; | |||||
echo TestWriteable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(可写)</span>" : "<span style='color:color:#dc3545'>正常(不可写)</span>"; | |||||
?><dedecms><?php | ?><dedecms><?php | ||||
} else { | } else { | ||||
?><?php echo $key; ?>|无需判断|<?php | ?><?php echo $key; ?>|无需判断|<?php | ||||
if ($val['read'] == true) | if ($val['read'] == true) | ||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#e74d58'>错误(不可读)</span>" : "<span style='color:#28a745'>正常(可读)</span>"; | |||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(不可读)</span>" : "<span style='color:color:#dc3545'>正常(可读)</span>"; | |||||
else | else | ||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#e74d58'>错误(可读)</span>" : "<span style='color:#28a745'>正常(不可读)</span>"; | |||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(可读)</span>" : "<span style='color:color:#dc3545'>正常(不可读)</span>"; | |||||
?>|<?php | ?>|<?php | ||||
if ($val['write'] == true) | if ($val['write'] == true) | ||||
echo is_writable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#e74d58'>错误(不可写)</span>" : "<span style='color:#28a745'>正常(可写)</span>"; | |||||
echo is_writable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(不可写)</span>" : "<span style='color:color:#dc3545'>正常(可写)</span>"; | |||||
else | else | ||||
echo is_writable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#e74d58'>错误(可写)</span>" : "<span style='color:#28a745'>正常(不可写)</span>"; | |||||
echo is_writable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(可写)</span>" : "<span style='color:color:#dc3545'>正常(不可写)</span>"; | |||||
?><dedecms><?php | ?><dedecms><?php | ||||
} | } | ||||
} | } | ||||
@@ -328,9 +328,9 @@ class SearchView | |||||
continue; | continue; | ||||
} | } | ||||
//这里不区分大小写进行关键词替换 | //这里不区分大小写进行关键词替换 | ||||
$fstr = str_ireplace($k, "<span style='color:#e74d58'>$k</span>", $fstr); | |||||
$fstr = str_ireplace($k, "<span style='color:#dc3545'>$k</span>", $fstr); | |||||
//速度更快,效率更高 | //速度更快,效率更高 | ||||
//$fstr = str_replace($k, "<span style='color:#e74d58'>$k</span>", $fstr); | |||||
//$fstr = str_replace($k, "<span style='color:#dc3545'>$k</span>", $fstr); | |||||
} | } | ||||
return $fstr; | return $fstr; | ||||
} | } | ||||
@@ -203,7 +203,8 @@ function ShowMsg($msg, $gourl, $onlymsg = 0, $limittime = 0) | |||||
} | } | ||||
$func .= "var pgo=0;function JumpUrl(){if (pgo==0){location='$gourl'; pgo=1;}}"; | $func .= "var pgo=0;function JumpUrl(){if (pgo==0){location='$gourl'; pgo=1;}}"; | ||||
$rmsg = $func; | $rmsg = $func; | ||||
$rmsg .= "document.write(\"<style>body{margin:0;line-height:1.5;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#f2f2f2}a{color:#28a745;text-decoration:none}.tips{margin:68px auto 0;padding:0;width:420px;height:auto;background:#fff;border-radius:.2rem}.tips-head{margin:0 20px;padding:16px 0;border-bottom:1px solid #f6f6f6}.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #ff5722}.tips-box{padding:20px;min-height:120px;color:#666}.btn a{display:inline-block;margin:20px auto 0;padding:.375rem .75rem;font-size:12px;color:#fff;background:#28a745;border-radius:.2rem;text-align:center;transition:all .6s}.btn a:hover{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(38,159,86,.5)}@media (max-width:768px){body{padding:0 15px}.tips{width:100%}}</style>\");"; | |||||
$rmsg .= "document.write(\"<style>body{margin:0;line-height:1.5;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#f2f2f2}a{color:#28a745;text-decoration:none}.tips{margin:68px auto 0;padding:0;width:420px;height:auto;background:#fff;border-radius:.2rem}.tips-head{margin:0 20px;padding:16px 0;border-bottom:1px solid #f6f6f6}.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #ff5722}.tips-box{padding:20px;min-height:120px;color:#666}.btn a{display:inline-block;margin:20px auto 0;padding:.375rem .75rem;font-size:12px;color:#fff;background:#28a745;border-radius:.2rem;text-align:center;transition:all .6s}.btn a:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(38,159,86,.5)}@media (max-width:768px){body{padding:0 15px}.tips{width:100%}}</style>\");"; | |||||
$rmsg .= "document.write(\"<div class='tips'>"; | $rmsg .= "document.write(\"<div class='tips'>"; | ||||
$rmsg .= "<div class='tips-head'><p>提示信息</p></div>\");"; | $rmsg .= "<div class='tips-head'><p>提示信息</p></div>\");"; | ||||
$rmsg .= "document.write(\"<div class='tips-box'>\");"; | $rmsg .= "document.write(\"<div class='tips-box'>\");"; | ||||
@@ -122,7 +122,7 @@ class DedeSqli | |||||
$this->linkID = mysqli_init(); | $this->linkID = mysqli_init(); | ||||
mysqli_real_connect($this->linkID, $dbhost, $this->dbUser, $this->dbPwd, false, $dbport); | mysqli_real_connect($this->linkID, $dbhost, $this->dbUser, $this->dbPwd, false, $dbport); | ||||
mysqli_errno($this->linkID) != 0 && $this->DisplayError('DedeBIZ错误警告: 链接('.$this->pconnect.') 到MySQL发生错误'); | |||||
mysqli_errno($this->linkID) != 0 && $this->DisplayError('DedeBIZ错误警告:链接('.$this->pconnect.') 到MySQL发生错误'); | |||||
//复制一个对象副本 | //复制一个对象副本 | ||||
@@ -131,7 +131,7 @@ class DedeSqli | |||||
//处理错误,成功连接则选择数据库 | //处理错误,成功连接则选择数据库 | ||||
if (!$this->linkID) { | if (!$this->linkID) { | ||||
$this->DisplayError("DedeBIZ错误警告:<span style='color:#e74d58'>连接数据库失败,可能数据库密码不对或数据库服务器出错</span>"); | |||||
$this->DisplayError("DedeBIZ错误警告:<span style='color:#dc3545'>连接数据库失败,可能数据库密码不对或数据库服务器出错</span>"); | |||||
exit(); | exit(); | ||||
} | } | ||||
$this->isInit = TRUE; | $this->isInit = TRUE; | ||||
@@ -337,7 +337,7 @@ class DedeSqli | |||||
} | } | ||||
if ($this->result[$id] === FALSE) { | if ($this->result[$id] === FALSE) { | ||||
$this->DisplayError(mysqli_error($this->linkID)." <br />Error sql: <span style='color:#e74d58'>".$this->queryString."</span>"); | |||||
$this->DisplayError(mysqli_error($this->linkID)." <br />Error sql: <span style='color:#dc3545'>".$this->queryString."</span>"); | |||||
} | } | ||||
} | } | ||||
@@ -544,7 +544,7 @@ EOT; | |||||
$emsg .= "<div><h3>DedeBIZ Error Warning!</h3>\r\n"; | $emsg .= "<div><h3>DedeBIZ Error Warning!</h3>\r\n"; | ||||
$emsg .= "<div><a href='https://www.dedebiz.com' target='_blank' style='color:#dc3545'>Technical Support: https://www.dedebiz.com</a></div>"; | $emsg .= "<div><a href='https://www.dedebiz.com' target='_blank' style='color:#dc3545'>Technical Support: https://www.dedebiz.com</a></div>"; | ||||
$emsg .= "<div style='line-helght:160%;font-size:14px;color:green'>\r\n"; | $emsg .= "<div style='line-helght:160%;font-size:14px;color:green'>\r\n"; | ||||
$emsg .= "<div style='color:blue'><br />Error page: <span style='color:#e74d58'>".$this->GetCurUrl()."</span></div>\r\n"; | |||||
$emsg .= "<div style='color:blue'><br />Error page: <span style='color:#dc3545'>".$this->GetCurUrl()."</span></div>\r\n"; | |||||
$emsg .= "<div>Error infos: {$msg}</div>\r\n"; | $emsg .= "<div>Error infos: {$msg}</div>\r\n"; | ||||
$emsg .= "<br /></div></div>\r\n"; | $emsg .= "<br /></div></div>\r\n"; | ||||
@@ -116,7 +116,7 @@ class DedeSqlite | |||||
//处理错误,成功连接则选择数据库 | //处理错误,成功连接则选择数据库 | ||||
if (!$this->linkID) { | if (!$this->linkID) { | ||||
$this->DisplayError("DedeBIZ错误警告:<span style='color:#e74d58'>连接数据库失败,可能数据库密码不对或数据库服务器出错</span>"); | |||||
$this->DisplayError("DedeBIZ错误警告:<span style='color:#dc3545'>连接数据库失败,可能数据库密码不对或数据库服务器出错</span>"); | |||||
exit(); | exit(); | ||||
} | } | ||||
$this->isInit = TRUE; | $this->isInit = TRUE; | ||||
@@ -285,7 +285,7 @@ class DedeSqlite | |||||
} | } | ||||
if ($this->result[$id] === FALSE) { | if ($this->result[$id] === FALSE) { | ||||
$this->DisplayError($this->linkID->lastErrorMsg() . " <br />Error sql: <font color='red'>" . $this->queryString . "</font>"); | |||||
$this->DisplayError($this->linkID->lastErrorMsg() . " <br />Error sql: <span style='color:#dc3545'>" . $this->queryString . "</span>"); | |||||
} | } | ||||
} | } | ||||
@@ -560,7 +560,7 @@ EOT; | |||||
$emsg .= "<div><h3>DedeBIZ Error Warning!</h3>\r\n"; | $emsg .= "<div><h3>DedeBIZ Error Warning!</h3>\r\n"; | ||||
$emsg .= "<div><a href='https://www.dedebiz.com' target='_blank' style='color:#dc3545'>Technical Support: https://www.dedebiz.com</a></div>"; | $emsg .= "<div><a href='https://www.dedebiz.com' target='_blank' style='color:#dc3545'>Technical Support: https://www.dedebiz.com</a></div>"; | ||||
$emsg .= "<div style='line-helght:160%;font-size:14px;color:green'>\r\n"; | $emsg .= "<div style='line-helght:160%;font-size:14px;color:green'>\r\n"; | ||||
$emsg .= "<div style='color:blue'><br />Error page: <font color='red'>" . $this->GetCurUrl() . "</font></div>\r\n"; | |||||
$emsg .= "<div style='color:blue'><br />Error page: <span style='color:#dc3545'>" . $this->GetCurUrl() . "</span></div>\r\n"; | |||||
$emsg .= "<div>Error infos: {$msg}</div>\r\n"; | $emsg .= "<div>Error infos: {$msg}</div>\r\n"; | ||||
$emsg .= "<br /></div></div>\r\n"; | $emsg .= "<br /></div></div>\r\n"; | ||||
@@ -618,7 +618,7 @@ if (!function_exists('CheckSql')) { | |||||
//$notallow2 = "--|/\*"; | //$notallow2 = "--|/\*"; | ||||
if (preg_match("/" . $notallow1 . "/i", $db_string)) { | if (preg_match("/" . $notallow1 . "/i", $db_string)) { | ||||
fputs(fopen($log_file, 'a+'), "$userIP||$getUrl||$db_string||SelectBreak\r\n"); | fputs(fopen($log_file, 'a+'), "$userIP||$getUrl||$db_string||SelectBreak\r\n"); | ||||
exit("<font size='5' color='red'>Safe Alert: Request Error step 1 !</font>"); | |||||
exit("<span style='color:#dc3545'>Safe Alert: Request Error step 1 !</span>"); | |||||
} | } | ||||
} | } | ||||
@@ -933,7 +933,7 @@ class DedeTagParse | |||||
} else if (file_exists(DEDEROOT.'/templets/'.$cfg_df_style.'/'.$filename)) { | } else if (file_exists(DEDEROOT.'/templets/'.$cfg_df_style.'/'.$filename)) { | ||||
$okfile = DEDEROOT.'/templets/'.$cfg_df_style.'/'.$filename; | $okfile = DEDEROOT.'/templets/'.$cfg_df_style.'/'.$filename; | ||||
} else { | } else { | ||||
return "无法在这个位置找到: $filename"; | |||||
return "无法在这个位置找到:$filename"; | |||||
} | } | ||||
//编译 | //编译 | ||||
@@ -479,8 +479,8 @@ class MemberLogin | |||||
$sta .= "您目前的身份是:".$row['membername']; | $sta .= "您目前的身份是:".$row['membername']; | ||||
$rs = $dsql->GetOne("Select id From `#@__admin` where userid='".$this->M_LoginID."'"); | $rs = $dsql->GetOne("Select id From `#@__admin` where userid='".$this->M_LoginID."'"); | ||||
if (!is_array($rs)) { | if (!is_array($rs)) { | ||||
if ($this->M_Rank > 10 && $this->M_HasDay > 0) $sta .= " 剩余天数: <span style='color:#e74d58'>".$this->M_HasDay."</span> 天 "; | |||||
elseif ($this->M_Rank > 10) $sta .= " <span style='color:#e74d58'>会员升级已经到期</span> "; | |||||
if ($this->M_Rank > 10 && $this->M_HasDay > 0) $sta .= " 剩余天数: <span style='color:#dc3545'>".$this->M_HasDay."</span> 天 "; | |||||
elseif ($this->M_Rank > 10) $sta .= " <span style='color:#dc3545'>会员升级已经到期</span> "; | |||||
} | } | ||||
} | } | ||||
$sta .= " 拥有金币:{$this->M_Money} 个, 积分:{$this->M_Scores} 分。"; | $sta .= " 拥有金币:{$this->M_Money} 个, 积分:{$this->M_Scores} 分。"; | ||||
@@ -186,7 +186,7 @@ class Alipay | |||||
else return $msg = "支付失败<br> <a href='/'>返回主页</a> <a href='/member'>会员中心</a>"; | else return $msg = "支付失败<br> <a href='/'>返回主页</a> <a href='/member'>会员中心</a>"; | ||||
} else if ( $ordertype=="member" ) { | } else if ( $ordertype=="member" ) { | ||||
$oldinf = $this->success_mem($order_sn,$pname,$product,$pid); | $oldinf = $this->success_mem($order_sn,$pname,$product,$pid); | ||||
return $msg = "<span style='color:#e74d58'>".$oldinf."</span><br> <a href='/'>返回主页</a> <a href='/member'>会员中心</a>"; | |||||
return $msg = "<span style='color:#dc3545'>".$oldinf."</span><br> <a href='/'>返回主页</a> <a href='/member'>会员中心</a>"; | |||||
} | } | ||||
} else { | } else { | ||||
$this->log_result ("verify_failed"); | $this->log_result ("verify_failed"); | ||||
@@ -236,7 +236,7 @@ class Alipay | |||||
} else { | } else { | ||||
$cardid = $row['cardid']; | $cardid = $row['cardid']; | ||||
$sql1=" UPDATE `#@__moneycard_record` SET uid='".$this->mid."',isexp='1',utime='".time()."' WHERE cardid='$cardid' "; | $sql1=" UPDATE `#@__moneycard_record` SET uid='".$this->mid."',isexp='1',utime='".time()."' WHERE cardid='$cardid' "; | ||||
$oldinf='您的充值密码是:<span style="color:#28a745">'.$cardid.'</span>'; | |||||
$oldinf='您的充值密码是:<span style="color:color:#dc3545">'.$cardid.'</span>'; | |||||
} | } | ||||
//更新交易状态为已关闭 | //更新交易状态为已关闭 | ||||
$sql2=" UPDATE `#@__member_operation` SET sta=2,oldinfo='$oldinf' WHERE buyid='$order_sn'"; | $sql2=" UPDATE `#@__member_operation` SET sta=2,oldinfo='$oldinf' WHERE buyid='$order_sn'"; | ||||
@@ -188,7 +188,7 @@ class yeepay | |||||
else return $msg = "支付失败!<br> <a href='/'>返回主页</a> <a href='/member'>会员中心</a>"; | else return $msg = "支付失败!<br> <a href='/'>返回主页</a> <a href='/member'>会员中心</a>"; | ||||
} else if ($ordertype=="member") { | } else if ($ordertype=="member") { | ||||
$oldinf = $this->success_mem($r6_Order,$pname,$product,$pid); | $oldinf = $this->success_mem($r6_Order,$pname,$product,$pid); | ||||
return $msg = "<span style='color:#e74d58'>".$oldinf."</span><br> <a href='/'>返回主页</a> <a href='/member'>会员中心</a>"; | |||||
return $msg = "<span style='color:#dc3545'>".$oldinf."</span><br> <a href='/'>返回主页</a> <a href='/member'>会员中心</a>"; | |||||
} | } | ||||
} else if ( $r9_BType == "2" ){ | } else if ( $r9_BType == "2" ){ | ||||
#如果需要应答机制则必须回写流,以success开头,大小写不敏感. | #如果需要应答机制则必须回写流,以success开头,大小写不敏感. | ||||
@@ -368,7 +368,7 @@ class yeepay | |||||
} else { | } else { | ||||
$cardid = $row['cardid']; | $cardid = $row['cardid']; | ||||
$sql1=" UPDATE #@__moneycard_record SET uid='".$this->mid."',isexp='1',utime='".time()."' WHERE cardid='$cardid' "; | $sql1=" UPDATE #@__moneycard_record SET uid='".$this->mid."',isexp='1',utime='".time()."' WHERE cardid='$cardid' "; | ||||
$oldinf='您的充值密码是:<span style="color:#28a745">'.$cardid.'</span>'; | |||||
$oldinf='您的充值密码是:<span style="color:color:#dc3545">'.$cardid.'</span>'; | |||||
} | } | ||||
//更新交易状态为已关闭 | //更新交易状态为已关闭 | ||||
$sql2=" UPDATE #@__member_operation SET sta=2,oldinfo='$oldinf' WHERE buyid='$order_sn'"; | $sql2=" UPDATE #@__member_operation SET sta=2,oldinfo='$oldinf' WHERE buyid='$order_sn'"; | ||||
@@ -1,6 +1,6 @@ | |||||
<?php | <?php | ||||
if (!defined('DEDEINC')) exit('dedebiz'); | if (!defined('DEDEINC')) exit('dedebiz'); | ||||
define("DE_ItemEcode", 'Shop_De_'); //识别购物车Cookie前缀,非开发人员请不要随意更改! | |||||
define("DE_ItemEcode", 'Shop_De_');//识别购物车Cookie前缀,非开发人员请不要随意更改! | |||||
/** | /** | ||||
* 购物车类 | * 购物车类 | ||||
* | * | ||||
@@ -10,7 +10,6 @@ define("DE_ItemEcode", 'Shop_De_'); //识别购物车Cookie前缀,非开发人 | |||||
* @license https://www.dedebiz.com/license | * @license https://www.dedebiz.com/license | ||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
// ------------------------------------------------------------------------ | |||||
/** | /** | ||||
* 会员购物车类 | * 会员购物车类 | ||||
* | * | ||||
@@ -5,7 +5,7 @@ if (!defined('DEDEINC')) exit('dedebiz'); | |||||
* | * | ||||
* 1、只适用于php5,必要函数 iconv | * 1、只适用于php5,必要函数 iconv | ||||
* 2、本程序是使用RMM逆向匹配算法进行分词的,词库需要特别编译,本类里提供了 MakeDict() 方法 | * 2、本程序是使用RMM逆向匹配算法进行分词的,词库需要特别编译,本类里提供了 MakeDict() 方法 | ||||
* 3、简单操作流程: SetSource -> StartAnalysis -> Get***Result | |||||
* 3、简单操作流程:SetSource -> StartAnalysis -> Get***Result | |||||
* 4、对主词典使用特殊格式进行编码, 不需要载入词典到内存操作 | * 4、对主词典使用特殊格式进行编码, 不需要载入词典到内存操作 | ||||
* | * | ||||
* @version $Id: splitword.class.php 2 11:45 2011-2-14 itplato $ | * @version $Id: splitword.class.php 2 11:45 2011-2-14 itplato $ | ||||
@@ -10,7 +10,7 @@ if (!defined('DEDEINC')) exit('dedebiz'); | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
if (!defined('DEDEINC')) exit('Request Error!'); | |||||
if (!defined('DEDEINC')) exit('dedebiz'); | |||||
require_once(dirname(__FILE__).'/likesgpage.lib.php'); | require_once(dirname(__FILE__).'/likesgpage.lib.php'); | ||||
function lib_likepage(&$ctag, &$refObj) | function lib_likepage(&$ctag, &$refObj) | ||||
@@ -293,7 +293,7 @@ class TypeLink | |||||
/** | /** | ||||
* 获得与该类相关的类目,本函数应用于模板标记{dede:channel}{/dede:channel}中 | * 获得与该类相关的类目,本函数应用于模板标记{dede:channel}{/dede:channel}中 | ||||
* $typetype 的值为: sun 下级分类 self 同级分类 top 顶级分类 | |||||
* $typetype 的值为:sun 下级分类 self 同级分类 top 顶级分类 | |||||
* | * | ||||
* @access public | * @access public | ||||
* @param int $typeid 栏目ID | * @param int $typeid 栏目ID | ||||
@@ -119,7 +119,7 @@ class TypeUnit | |||||
$id = $row->id; | $id = $row->id; | ||||
$rank = $row->sortrank; | $rank = $row->sortrank; | ||||
if ($row->ishidden == '1') { | if ($row->ishidden == '1') { | ||||
$nss = "<span style='color:#e74d58'>[隐]</span>"; | |||||
$nss = "<span style='color:#dc3545'>[隐]</span>"; | |||||
} else { | } else { | ||||
$nss = ''; | $nss = ''; | ||||
} | } | ||||
@@ -206,7 +206,7 @@ class TypeUnit | |||||
} | } | ||||
$rank = $row->sortrank; | $rank = $row->sortrank; | ||||
if ($row->ishidden == '1') { | if ($row->ishidden == '1') { | ||||
$nss = "<span style='color:#e74d58'>[隐]</span>"; | |||||
$nss = "<span style='color:#dc3545'>[隐]</span>"; | |||||
} else { | } else { | ||||
$nss = ''; | $nss = ''; | ||||
} | } | ||||
@@ -1,5 +1,4 @@ | |||||
<?php | <?php | ||||
/** | /** | ||||
* 文件上传安全校验方法 | * 文件上传安全校验方法 | ||||
* | * | ||||
@@ -15,7 +15,7 @@ $cfg_ddimg_height = 180; | |||||
$cfg_domain_cookie = ''; | $cfg_domain_cookie = ''; | ||||
$cfg_imgtype = 'jpg|gif|png'; | $cfg_imgtype = 'jpg|gif|png'; | ||||
$cfg_softtype = 'zip|gz|rar|iso|doc|xsl|ppt|wps'; | $cfg_softtype = 'zip|gz|rar|iso|doc|xsl|ppt|wps'; | ||||
$cfg_mediatype = 'swf|mpg|mp3|rm|rmvb|wmv|wma|wav|mid|mov'; | |||||
$cfg_mediatype = 'swf|rm|rmvb|mpg|mp3|mp4|wmv|wma|wav|mid|mov'; | |||||
$cfg_specnote = 6; | $cfg_specnote = 6; | ||||
$cfg_list_symbol = ' > '; | $cfg_list_symbol = ' > '; | ||||
$cfg_notallowstr = '非典|艾滋病|阳痿'; | $cfg_notallowstr = '非典|艾滋病|阳痿'; | ||||
@@ -46,7 +46,7 @@ $cfg_mb_upload_size = 1024; | |||||
$cfg_mb_sendall = 'Y'; | $cfg_mb_sendall = 'Y'; | ||||
$cfg_mb_rmdown = 'Y'; | $cfg_mb_rmdown = 'Y'; | ||||
$cfg_cli_time = 8; | $cfg_cli_time = 8; | ||||
$cfg_mb_addontype = 'swf|mpg|mp3|mp4|rm|rmvb|wmv|wma|wav|mid|mov|zip|rar|doc|xsl|ppt|wps'; | |||||
$cfg_mb_addontype = 'swf|rm|rmvb|mpg|mp3|mp4|wmv|wma|wav|mid|mov|zip|rar|doc|xsl|ppt|wps'; | |||||
$cfg_mb_max = 500; | $cfg_mb_max = 500; | ||||
$cfg_keyword_like = 'N'; | $cfg_keyword_like = 'N'; | ||||
$cfg_index_max = 10000; | $cfg_index_max = 10000; | ||||
@@ -114,7 +114,7 @@ $cfg_jump_once = 'Y'; | |||||
$cfg_task_pwd = ''; | $cfg_task_pwd = ''; | ||||
$cfg_addon_domainbind = 'N'; | $cfg_addon_domainbind = 'N'; | ||||
$cfg_addon_domain = ''; | $cfg_addon_domain = ''; | ||||
$cfg_df_dutyadmin = 'admin'; | |||||
$cfg_df_dutyadmin = '网站管理员'; | |||||
$cfg_mb_allowncarc = 'Y'; | $cfg_mb_allowncarc = 'Y'; | ||||
$cfg_mb_allowreg = 'Y'; | $cfg_mb_allowreg = 'Y'; | ||||
$cfg_mb_adminlock = 'N'; | $cfg_mb_adminlock = 'N'; | ||||
@@ -142,4 +142,4 @@ $cfg_mb_msgischeck = 'N'; | |||||
$cfg_mb_reginfo = 'Y'; | $cfg_mb_reginfo = 'Y'; | ||||
$cfg_title_site = 'N'; | $cfg_title_site = 'N'; | ||||
$cfg_mysql_type = 'mysqli'; | $cfg_mysql_type = 'mysqli'; | ||||
$cfg_memcache_enable = 'N'; | |||||
$cfg_memcache_enable = 'N'; |
@@ -562,7 +562,7 @@ INSERT INTO `#@__shops_delivery` VALUES('1','送货上门','10.21','送货上门 | |||||
INSERT INTO `#@__member_stowtype` VALUES('sys','系统收藏','archives_do.php'), | INSERT INTO `#@__member_stowtype` VALUES('sys','系统收藏','archives_do.php'), | ||||
('book','小说收藏','/book/book.php?bid'); | ('book','小说收藏','/book/book.php?bid'); | ||||
INSERT INTO `#@__payment` VALUES('3','alipay','支付宝','2','支付宝网站(www.alipay.com) 是国内先进的网上支付平台。<br/>DedeCMS联合支付宝推出支付宝接口。<br/><a href="https://www.alipay.com/himalayas/practicality_customer.htm?customer_external_id=C4335994340215837114&market_type=from_agent_contract&pro_codes=6ACD133C5F350958F7F62F29651356BB " target="_blank"><span style="color:#e74d58">立即在线申请</span></a>','1','a:4:{s:14:"alipay_account";a:4:{s:5:"title";s:14:"支付宝用户账号";s:11:"description";s:0:"";s:4:"type";s:4:"text";s:5:"value";s:20:"yuan12345xin@163.com";}s:10:"alipay_key";a:4:{s:5:"title";s:14:"交易安全校验码";s:11:"description";s:0:"";s:4:"type";s:4:"text";s:5:"value";s:6:"dsfsdf";}s:14:"alipay_partner";a:4:{s:5:"title";s:12:"合作者身份ID";s:11:"description";s:0:"";s:4:"type";s:4:"text";s:5:"value";s:1:"1";}s:17:"alipay_pay_method";a:5:{s:5:"title";s:14:"支付宝账号类型";s:11:"description";s:52:"请选择您最后一次跟支付宝签订的协议里面说明的接口类型";s:4:"type";s:6:"select";s:5:"iterm";s:58:"0:使用标准双接口,1:使用担保交易接口,2:使用即时到帐交易接口";s:5:"value";s:1:"1";}}','1','0','1'), | |||||
INSERT INTO `#@__payment` VALUES('3','alipay','支付宝','2','支付宝网站(www.alipay.com) 是国内先进的网上支付平台。<br/>DedeCMS联合支付宝推出支付宝接口。<br/><a href="https://www.alipay.com/himalayas/practicality_customer.htm?customer_external_id=C4335994340215837114&market_type=from_agent_contract&pro_codes=6ACD133C5F350958F7F62F29651356BB " target="_blank"><span style="color:#dc3545">立即在线申请</span></a>','1','a:4:{s:14:"alipay_account";a:4:{s:5:"title";s:14:"支付宝用户账号";s:11:"description";s:0:"";s:4:"type";s:4:"text";s:5:"value";s:20:"yuan12345xin@163.com";}s:10:"alipay_key";a:4:{s:5:"title";s:14:"交易安全校验码";s:11:"description";s:0:"";s:4:"type";s:4:"text";s:5:"value";s:6:"dsfsdf";}s:14:"alipay_partner";a:4:{s:5:"title";s:12:"合作者身份ID";s:11:"description";s:0:"";s:4:"type";s:4:"text";s:5:"value";s:1:"1";}s:17:"alipay_pay_method";a:5:{s:5:"title";s:14:"支付宝账号类型";s:11:"description";s:52:"请选择您最后一次跟支付宝签订的协议里面说明的接口类型";s:4:"type";s:6:"select";s:5:"iterm";s:58:"0:使用标准双接口,1:使用担保交易接口,2:使用即时到帐交易接口";s:5:"value";s:1:"1";}}','1','0','1'), | |||||
('2','bank','银行汇款/转帐','0','银行名称\t\n收款人信息:全称 ××× ;帐号或地址 ××× ;开户行 ×××。\t\n注意事项:办理电汇时,请在电汇单“汇款用途”一栏处注明您的订单号。','4','a:0:{}','1','1','0'), | ('2','bank','银行汇款/转帐','0','银行名称\t\n收款人信息:全称 ××× ;帐号或地址 ××× ;开户行 ×××。\t\n注意事项:办理电汇时,请在电汇单“汇款用途”一栏处注明您的订单号。','4','a:0:{}','1','1','0'), | ||||
('1','cod','货到付款','0','开通城市:×××\t\n货到付款区域:×××','3','a:0:{}','1','1','0'), | ('1','cod','货到付款','0','开通城市:×××\t\n货到付款区域:×××','3','a:0:{}','1','1','0'), | ||||
('6','yeepay','YeePay易宝','12','YeePay易宝(北京通融通信息技术有限公司)是专业从事多元化电子支付业务一站式服务的领跑者。在立足于网上支付的同时,YeePay易宝不断创新,将互联网、手机、固定电话整合在一个平台上,继短信支付、手机充值之后,首家推出了YeePay易宝电话支付业务,真正实现了离线支付,为更多传统行业搭建了电子支付的高速公路。YeePay易宝融合世界先进的电子支付文化,聚合众多金融、电信、IT、互联网等领域内的巨擘,旨在通过创新的支付机制,推动中国电子商务新进程。YeePay易宝致力于成为世界一流的电子支付应用和服务提供商,专注于金融增值服务和移动增值服务两大领域,创新并推广多元化、低成本的、安全有效的支付服务。<input type="button" name="Submit" value="立即注册" onclick="window.open("https://www.yeepay.com/selfservice/requestRegister.action")" />','2','a:2:{s:10:"yp_account";a:4:{s:5:"title";s:8:"商户编号";s:11:"description";s:0:"";s:4:"type";s:4:"text";s:5:"value";s:2:"aa";}s:6:"yp_key";a:4:{s:5:"title";s:8:"商户密钥";s:11:"description";s:0:"";s:4:"type";s:4:"text";s:5:"value";s:3:"dsa";}}','1','0','1'); | ('6','yeepay','YeePay易宝','12','YeePay易宝(北京通融通信息技术有限公司)是专业从事多元化电子支付业务一站式服务的领跑者。在立足于网上支付的同时,YeePay易宝不断创新,将互联网、手机、固定电话整合在一个平台上,继短信支付、手机充值之后,首家推出了YeePay易宝电话支付业务,真正实现了离线支付,为更多传统行业搭建了电子支付的高速公路。YeePay易宝融合世界先进的电子支付文化,聚合众多金融、电信、IT、互联网等领域内的巨擘,旨在通过创新的支付机制,推动中国电子商务新进程。YeePay易宝致力于成为世界一流的电子支付应用和服务提供商,专注于金融增值服务和移动增值服务两大领域,创新并推广多元化、低成本的、安全有效的支付服务。<input type="button" name="Submit" value="立即注册" onclick="window.open("https://www.yeepay.com/selfservice/requestRegister.action")" />','2','a:2:{s:10:"yp_account";a:4:{s:5:"title";s:8:"商户编号";s:11:"description";s:0:"";s:4:"type";s:4:"text";s:5:"value";s:2:"aa";}s:6:"yp_key";a:4:{s:5:"title";s:8:"商户密钥";s:11:"description";s:0:"";s:4:"type";s:4:"text";s:5:"value";s:3:"dsa";}}','1','0','1'); | ||||