@@ -74,11 +74,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:#ff5722">'.$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:#ff5722">'.$this->keyword.'</span>', $text); | |||||
$text = str_replace($this->keyword, '<span style="color:#dc3545">'.$this->keyword.'</span>', $text); | |||||
} | } | ||||
return $text; | return $text; | ||||
} | } | ||||
@@ -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:#ff5722'>禁用</span>"; | |||||
else return "<span style='color:#dc3545'>禁用</span>"; | |||||
} | } | ||||
function GetMan($sta) | function GetMan($sta) | ||||
@@ -96,7 +96,7 @@ function DoRand(jobname) | |||||
如果您想对旧的文章应用随机模板设置,请点击此对旧文章进行处理(必须设置好模板项) | 如果您想对旧的文章应用随机模板设置,请点击此对旧文章进行处理(必须设置好模板项) | ||||
<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> | ||||
<span id='tmpct' style='color:#ff5722;font-weight:bold'>$okmsg</span> | |||||
<span id='tmpct' style='color:#dc3545;font-weight:bold'>$okmsg</span> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -14,5 +14,5 @@ if (empty($t) || $cfg_check_title == 'N') exit; | |||||
$row = $dsql->GetOne("SELECT id FROM `#@__archives` WHERE title LIKE '$t' "); | $row = $dsql->GetOne("SELECT id FROM `#@__archives` WHERE title LIKE '$t' "); | ||||
if (is_array($row)) { | if (is_array($row)) { | ||||
echo "提示:系统已经存在标题为 '<a href='../apps/view.php?aid={$row['id']}' style='color:#ff5722' target='_blank'>$t</a>' 的文档[<a href='#' onclick='javascript:HideObj(\"mytitle\")'>关闭</a>]"; | |||||
echo "提示:系统已经存在标题为 '<a href='../apps/view.php?aid={$row['id']}' style='color:#dc3545' target='_blank'>$t</a>' 的文档[<a href='#' onclick='javascript:HideObj(\"mytitle\")'>关闭</a>]"; | |||||
} | } |
@@ -228,7 +228,7 @@ else if ($dopost == '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:#ff5722'>$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'); | ||||
@@ -1 +1 @@ | |||||
div.flash{margin:10px 5px;width:375px;border-color:#D9E4FF;border-radius:.2rem}#btnSubmit{margin:0 0 0 155px}.progressWrapper{width:357px;overflow:hidden}.progressContainer{padding:4px;margin:5px;background-color:#f8f8f8;border:solid 1px #E8E8E8;overflow:hidden}.message{margin:10px 0;padding:10px 20px;background-color:#FFC;border:solid 1px #FD9;overflow:hidden}.red{background-color:#FFEBEB;border:solid 1px #B50000}.green{background-color:#EBFFEB;border:solid 1px #DDF0DD}.blue{background-color:#F0F5FF;border:solid 1px #CEE2F2}.progressName{width:320px;height:14px;text-align:left;white-space:nowrap;overflow:hidden}.progressBarInProgress,.progressBarComplete,.progressBarError{margin-top:2px;width:0;height:2px;font-size:0;background-color:blue}.progressBarComplete{width:100%;background-color:green;visibility:hidden}.progressBarError{width:100%;background-color:#ff5722;visibility:hidden}.progressBarStatus{margin-top:2px;width:340px;text-align:left;white-space:nowrap}a.progressCancel{font-size:0;display:block;height:14px;width:14px;background-image:url(../../images/cancelbutton.gif);background-repeat:no-repeat;background-position:-14px 0;float:right}a.progressCancel:hover{background-position:0 0}.swfupload{vertical-align:top}.albCt{float:left;width:240px;height:180px;margin-right:10px;margin-bottom:10px;border:1px dashed #eee;background:#f8f8f8;text-align:center;padding:10px}.albEdit{height:180px}.picinfo{height:30px;line-height:30px;margin:10px 0}.thumbnails img,.thumbnailsEdit img{margin:5px}.albCt img{height:100px!important} | |||||
div.flash{margin:10px 5px;width:375px;border-color:#D9E4FF;border-radius:.2rem}#btnSubmit{margin:0 0 0 155px}.progressWrapper{width:357px;overflow:hidden}.progressContainer{padding:4px;margin:5px;background-color:#f8f8f8;border:solid 1px #E8E8E8;overflow:hidden}.message{margin:10px 0;padding:10px 20px;background-color:#FFC;border:solid 1px #FD9;overflow:hidden}.red{background-color:#FFEBEB;border:solid 1px #B50000}.green{background-color:#EBFFEB;border:solid 1px #DDF0DD}.blue{background-color:#F0F5FF;border:solid 1px #CEE2F2}.progressName{width:320px;height:14px;text-align:left;white-space:nowrap;overflow:hidden}.progressBarInProgress,.progressBarComplete,.progressBarError{margin-top:2px;width:0;height:2px;font-size:0;background-color:blue}.progressBarComplete{width:100%;background-color:green;visibility:hidden}.progressBarError{width:100%;background-color:#dc3545;visibility:hidden}.progressBarStatus{margin-top:2px;width:340px;text-align:left;white-space:nowrap}a.progressCancel{font-size:0;display:block;height:14px;width:14px;background-image:url(../../images/cancelbutton.gif);background-repeat:no-repeat;background-position:-14px 0;float:right}a.progressCancel:hover{background-position:0 0}.swfupload{vertical-align:top}.albCt{float:left;width:240px;height:180px;margin-right:10px;margin-bottom:10px;border:1px dashed #eee;background:#f8f8f8;text-align:center;padding:10px}.albEdit{height:180px}.picinfo{height:30px;line-height:30px;margin:10px 0}.thumbnails img,.thumbnailsEdit img{margin:5px}.albCt img{height:100px!important} |
@@ -1 +1 @@ | |||||
.title{color:#009688}.title span{padding-left:6px}#addTab{position:absolute;left:460px;top:260px;min-width:360px;height:200px;z-index:2;background:#fff;border:1px solid #ccc;padding:0;display:none;border-radius:.2rem}#editTab{position:absolute;left:460px;top:260px;min-width:360px;height:300px;z-index:1;background:#fff;border:1px solid #ccc;padding:0;display:none;border-radius:.2rem}.txt{float:left}.updatedvt{width:98%;border-bottom:1px dashed #dcdcdc}.upinfotitle{border-bottom:1px solid #ccc;color:#ff5722;font-weight:bold}.verline{border-bottom:1px dashed #ccc}.itemTable{background:#CBD8AC}#loaddiv{top:0;left:0;background:#ccc;filter:Alpha(opacity=70);-moz-opacity:0.7;position:absolute;z-index:10000;width:100%;height:100%}#mainmsg{padding-right:8px}.rightside{width:49%;float:left;margin-right:1%;height:670px}.column{width:49%;float:left;margin-right:0.5%}.placeholder{width:98%;margin-left:1%;background:#f0f0f0;border:1px dashed #ddd}.dbox{border:1px solid #DEEAB6;width:98%;margin-left:1%;margin-top:8px}.dbox dt{height:28px;line-height:28px;font-weight:bold;color:#4D6C2F;cursor:move}.dbox dt .l{float:left;padding-left:8px}.dbox dt .r{float:right;padding-right:8px}.dbox dt.lside{border-bottom:1px solid #CFD7C4;background:rgb(239,248,229)}.dbox dt.rside{border-bottom:1px solid #DEEAB6;background:url(../../static/web/img/wbg.gif)repeat-x}.dbox dd{padding:0}.dbox dd.intable{padding-top:0}#updatetest{padding:6px;padding-left:110px;background:url(../../images/ico_spider.gif)no-repeat scroll 10px 15px transparent}.dboxtable td.nline{height:26px;border-bottom:1px dashed #CFD7C4}.dboxtable1 ul li{float:left;display:inline;width:48%;height:26px;line-height:26px;border-bottom:1px dashed #CFD7C4;text-align:center}.biz p{padding:0 15px}.biz img{float:right;margin:40px 15px 0 15px} | |||||
.title{color:#28a745}.title span{padding-left:6px}#addTab{position:absolute;left:460px;top:260px;min-width:360px;height:200px;z-index:2;background:#fff;border:1px solid #ccc;padding:0;display:none;border-radius:.2rem}#editTab{position:absolute;left:460px;top:260px;min-width:360px;height:300px;z-index:1;background:#fff;border:1px solid #ccc;padding:0;display:none;border-radius:.2rem}.txt{float:left}.updatedvt{width:98%;border-bottom:1px dashed #dcdcdc}.upinfotitle{border-bottom:1px solid #ccc;color:#dc3545;font-weight:bold}.verline{border-bottom:1px dashed #ccc}.itemTable{background:#CBD8AC}#loaddiv{top:0;left:0;background:#ccc;filter:Alpha(opacity=70);-moz-opacity:0.7;position:absolute;z-index:10000;width:100%;height:100%}#mainmsg{padding-right:8px}.rightside{width:49%;float:left;margin-right:1%;height:670px}.column{width:49%;float:left;margin-right:0.5%}.placeholder{width:98%;margin-left:1%;background:#f0f0f0;border:1px dashed #ddd}.dbox{border:1px solid #DEEAB6;width:98%;margin-left:1%;margin-top:8px}.dbox dt{height:28px;line-height:28px;font-weight:bold;color:#4D6C2F;cursor:move}.dbox dt .l{float:left;padding-left:8px}.dbox dt .r{float:right;padding-right:8px}.dbox dt.lside{border-bottom:1px solid #CFD7C4;background:rgb(239,248,229)}.dbox dt.rside{border-bottom:1px solid #DEEAB6;background:url(../../static/web/img/wbg.gif)repeat-x}.dbox dd{padding:0}.dbox dd.intable{padding-top:0}#updatetest{padding:6px;padding-left:110px;background:url(../../images/ico_spider.gif)no-repeat scroll 10px 15px transparent}.dboxtable td.nline{height:26px;border-bottom:1px dashed #CFD7C4}.dboxtable1 ul li{float:left;display:inline;width:48%;height:26px;line-height:26px;border-bottom:1px dashed #CFD7C4;text-align:center}.biz p{padding:0 15px}.biz img{float:right;margin:40px 15px 0 15px} |
@@ -198,7 +198,7 @@ a{text-decoration:none!important} | |||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
$reurl = $reurl; | $reurl = $reurl; | ||||
if ($file == $comeback) $lstyle = " style='color:#ff5722' "; | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href=\"#\" onClick=\"ChangeImage('$reurl');\"><img src='../../static/web/img/picviewnone.gif'></a></td> | <td class='linerow'><a href=\"#\" onClick=\"ChangeImage('$reurl');\"><img src='../../static/web/img/picviewnone.gif'></a></td> | ||||
@@ -211,7 +211,7 @@ a{text-decoration:none!important} | |||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
$reurl = $reurl; | $reurl = $reurl; | ||||
if ($file == $comeback) $lstyle = " style='color:#ff5722' "; | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href=\"#\" onClick=\"ChangeImage('$reurl');\"><img src='../../static/web/img/picviewnone.gif'></a></td> | <td class='linerow'><a href=\"#\" onClick=\"ChangeImage('$reurl');\"><img src='../../static/web/img/picviewnone.gif'></a></td> | ||||
@@ -132,7 +132,7 @@ a{text-decoration:none!important} | |||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
$reurl = $reurl; | $reurl = $reurl; | ||||
if ($file == $comeback) $lstyle = " style='color:#ff5722' "; | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\"><img src='../../static/web/img/flash.gif'>$file</a></td> | <td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\"><img src='../../static/web/img/flash.gif'>$file</a></td> | ||||
@@ -144,7 +144,7 @@ a{text-decoration:none!important} | |||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
$reurl = $reurl; | $reurl = $reurl; | ||||
if ($file == $comeback) $lstyle = " style='color:#ff5722' "; | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\"><img src='../../static/web/img/wmv.gif'>$file</a></td> | <td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\"><img src='../../static/web/img/wmv.gif'>$file</a></td> | ||||
@@ -156,7 +156,7 @@ a{text-decoration:none!important} | |||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
$reurl = $reurl; | $reurl = $reurl; | ||||
if ($file == $comeback) $lstyle = " style='color:#ff5722' "; | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\"><img src='../../static/web/img/rm.gif'>$file</a></td> | <td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\"><img src='../../static/web/img/rm.gif'>$file</a></td> | ||||
@@ -168,7 +168,7 @@ a{text-decoration:none!important} | |||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
$reurl = $reurl; | $reurl = $reurl; | ||||
if ($file == $comeback) $lstyle = " style='color:#ff5722' "; | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$line = "<tr> | $line = "<tr> | ||||
<td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\"><img src='../../static/web/img/mp3.gif'>$file</a></td> | <td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\"><img src='../../static/web/img/mp3.gif'>$file</a></td> | ||||
@@ -19,7 +19,7 @@ input[type=radio],input[type=checkbox]{margin:0;height:auto;box-shadow:none;outl | |||||
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:#009688;border-color:#009688;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:#28a745;border-color:#28a745;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} | ||||
@@ -136,7 +136,7 @@ a{text-decoration:none!important} | |||||
</tr>"; | </tr>"; | ||||
echo "$line"; | echo "$line"; | ||||
} else if (preg_match("#\.(zip|rar|tgr.gz)#i", $file)) { | } else if (preg_match("#\.(zip|rar|tgr.gz)#i", $file)) { | ||||
if ($file == $comeback) $lstyle = " style='color:#ff5722' "; | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
@@ -148,7 +148,7 @@ a{text-decoration:none!important} | |||||
</tr>"; | </tr>"; | ||||
echo "$line"; | echo "$line"; | ||||
} else { | } else { | ||||
if ($file == $comeback) $lstyle = " style='color:#ff5722' "; | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||||
else $lstyle = ''; | else $lstyle = ''; | ||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#^\.\.#", "", $reurl); | $reurl = preg_replace("#^\.\.#", "", $reurl); | ||||
@@ -115,7 +115,7 @@ a{text-decoration:none!important} | |||||
</tr>"; | </tr>"; | ||||
echo "$line"; | echo "$line"; | ||||
} else if (preg_match("#\.(htm|html)#i", $file)) { | } else if (preg_match("#\.(htm|html)#i", $file)) { | ||||
if ($file == $comeback) $lstyle = " style='color:#ff5722' "; | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#\.\.#", "", $reurl); | $reurl = preg_replace("#\.\.#", "", $reurl); | ||||
@@ -127,7 +127,7 @@ a{text-decoration:none!important} | |||||
</tr>"; | </tr>"; | ||||
echo "$line"; | echo "$line"; | ||||
} else if (preg_match("#\.(css)#i", $file)) { | } else if (preg_match("#\.(css)#i", $file)) { | ||||
if ($file == $comeback) $lstyle = " style='color:#ff5722' "; | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#\.\.#", "", $reurl); | $reurl = preg_replace("#\.\.#", "", $reurl); | ||||
@@ -139,7 +139,7 @@ a{text-decoration:none!important} | |||||
</tr>"; | </tr>"; | ||||
echo "$line"; | echo "$line"; | ||||
} else if (preg_match("#\.(js)#i", $file)) { | } else if (preg_match("#\.(js)#i", $file)) { | ||||
if ($file == $comeback) $lstyle = " style='color:#ff5722' "; | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#\.\.#", "", $reurl); | $reurl = preg_replace("#\.\.#", "", $reurl); | ||||
@@ -151,7 +151,7 @@ a{text-decoration:none!important} | |||||
</tr>"; | </tr>"; | ||||
echo "$line"; | echo "$line"; | ||||
} else if (preg_match("#\.(jpg)#i", $file)) { | } else if (preg_match("#\.(jpg)#i", $file)) { | ||||
if ($file == $comeback) $lstyle = " style='color:#ff5722' "; | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#\.\.#", "", $reurl); | $reurl = preg_replace("#\.\.#", "", $reurl); | ||||
@@ -163,7 +163,7 @@ a{text-decoration:none!important} | |||||
</tr>"; | </tr>"; | ||||
echo "$line"; | echo "$line"; | ||||
} else if (preg_match("#\.(gif|png)#i", $file)) { | } else if (preg_match("#\.(gif|png)#i", $file)) { | ||||
if ($file == $comeback) $lstyle = " style='color:#ff5722' "; | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#\.\.#", "", $reurl); | $reurl = preg_replace("#\.\.#", "", $reurl); | ||||
@@ -175,7 +175,7 @@ a{text-decoration:none!important} | |||||
</tr>"; | </tr>"; | ||||
echo "$line"; | echo "$line"; | ||||
} else if (preg_match("#\.(txt)#i", $file)) { | } else if (preg_match("#\.(txt)#i", $file)) { | ||||
if ($file == $comeback) $lstyle = " style='color:#ff5722' "; | |||||
if ($file == $comeback) $lstyle = " style='color:#dc3545' "; | |||||
else $lstyle = ""; | else $lstyle = ""; | ||||
$reurl = "$activeurl/$file"; | $reurl = "$activeurl/$file"; | ||||
$reurl = preg_replace("#\.\.#", "", $reurl); | $reurl = preg_replace("#\.\.#", "", $reurl); | ||||
@@ -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:#ff5722'>'自定义表单diyid'</span>必须为数字", "-1"); | |||||
ShowMsg("<span style='color:#dc3545'>'自定义表单diyid'</span>必须为数字", "-1"); | |||||
exit(); | exit(); | ||||
} | } | ||||
if ($table == "") { | if ($table == "") { | ||||
@@ -22,7 +22,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:#ff5722'>管理员回复:$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); | ||||
@@ -16,7 +16,7 @@ require_once(DEDEINC."/typelink/typelink.class.php"); | |||||
setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); | ||||
function IsCheck($st) | function IsCheck($st) | ||||
{ | { | ||||
return $st == 1 ? "[已审核]" : "<span style='color:#ff5722'>[未审核]</span>"; | |||||
return $st == 1 ? "[已审核]" : "<span style='color:#dc3545'>[未审核]</span>"; | |||||
} | } | ||||
function jsTrimjajx($str, $len) | function jsTrimjajx($str, $len) | ||||
{ | { | ||||
@@ -46,7 +46,7 @@ function IsCommendArchives($iscommend) | |||||
} | } | ||||
$sn = trim($sn); | $sn = trim($sn); | ||||
if ($sn == '') return ''; | if ($sn == '') return ''; | ||||
else return "<span style='color:#ff5722'>[$sn]</span>"; | |||||
else return "<span style='color:#dc3545'>[$sn]</span>"; | |||||
} | } | ||||
//获得推荐的标题 | //获得推荐的标题 | ||||
function GetCommendTitle($title, $iscommend) | function GetCommendTitle($title, $iscommend) | ||||
@@ -81,7 +81,7 @@ function IsHtmlArchives($ismake) | |||||
} else if ($ismake == -1) { | } else if ($ismake == -1) { | ||||
return "仅动态"; | return "仅动态"; | ||||
} else { | } else { | ||||
return "<span style='color:#ff5722'>未生成</span>"; | |||||
return "<span style='color:#dc3545'>未生成</span>"; | |||||
} | } | ||||
} | } | ||||
//获得内容的限定级别名称 | //获得内容的限定级别名称 | ||||
@@ -105,7 +105,7 @@ function GetRankName($arcrank) | |||||
function IsPicArchives($picname) | function IsPicArchives($picname) | ||||
{ | { | ||||
if ($picname != '') { | if ($picname != '') { | ||||
return "<span style='color:#ff5722'>[图]</span>"; | |||||
return "<span style='color:#dc3545'>[图]</span>"; | |||||
} else { | } else { | ||||
return ''; | return ''; | ||||
} | } |
@@ -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:#ff5722'>$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:#ff5722'>$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(); | ||||
} | } | ||||
@@ -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:#ff5722'>待升级:".$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:#ff5722'>[管理员]</span>"; | |||||
else return " <img src='../static/web/img/adminuserico.gif'><span style='color:#ff5722'>[荐]</span>"; | |||||
else if ($m == 10) return " <span style='color:#dc3545'>[管理员]</span>"; | |||||
else return " <img src='../static/web/img/adminuserico.gif'><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:#009688'>√</span>"; | |||||
else return "<span style='color:#ff5722'>×</span>"; | |||||
if ($me) return "<span style='color:#28a745'>√</span>"; | |||||
else return "<span style='color:#dc3545'>×</span>"; | |||||
} | } |
@@ -91,7 +91,7 @@ else if ($action == 'view_developoer') { | |||||
} | } | ||||
$authAt = date("Y-m-d", $devInfo['auth_at']); | $authAt = date("Y-m-d", $devInfo['auth_at']); | ||||
if (!isset($info['dev_id'])) { | if (!isset($info['dev_id'])) { | ||||
$devInfo['dev_name'] = $info['team']."<span style='display:inline-block;margin-left:10px;padding:.25rem .5rem;line-height:1.5;font-size:12px;color:#fff;background:#ff5722;border-color:#ff5722;border-radius:.2rem'>未认证</span>"; | |||||
$devInfo['dev_name'] = $info['team']."<span style='display:inline-block;margin-left:10px;padding:.25rem .5rem;line-height:1.5;font-size:12px;color:#fff;background:#dc3545;border-color:#dc3545;border-radius:.2rem'>未认证</span>"; | |||||
$authAt = "未知"; | $authAt = "未知"; | ||||
} | } | ||||
ShowMsg("<p>开发者名称:{$devInfo['dev_name']}</p><p>开发者ID:{$devInfo['dev_id']}</p><span>认证于:{$authAt}</span>", "-1"); | ShowMsg("<p>开发者名称:{$devInfo['dev_name']}</p><p>开发者ID:{$devInfo['dev_id']}</p><span>认证于:{$authAt}</span>", "-1"); | ||||
@@ -142,7 +142,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:#ff5722">×</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"; | ||||
} | } | ||||
@@ -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:#ff5722'>'频道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:#ff5722'>'频道名字标识'</span>必须为英文字母或与数字混合字符串", "-1"); | |||||
ShowMsg("<span style='color:#dc3545'>'频道名字标识'</span>必须为英文字母或与数字混合字符串", "-1"); | |||||
exit(); | exit(); | ||||
} | } | ||||
if ($addtable == "") { | if ($addtable == "") { | ||||
@@ -55,7 +55,7 @@ else if ($dopost == "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:#ff5722'>".$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'); | ||||
@@ -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:#ff5722">已付款,等发货</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:#ff5722">已完成</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:#ff5722'>$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(); | ||||
@@ -111,8 +111,8 @@ EOT; | |||||
while ($row = $dsql->GetArray()) { | while ($row = $dsql->GetArray()) { | ||||
$bgcolor = ($i++ % 2 == 0) ? "#f8f8f8" : "#ffffff"; | $bgcolor = ($i++ % 2 == 0) ? "#f8f8f8" : "#ffffff"; | ||||
$row['info'] = preg_replace("#{$keywords}#", '<span style="color:#ff5722">'.$keywords.'</span>', $row['info']); | |||||
$row['varname'] = preg_replace("#{$keywords}#", '<span style="color:#ff5722">'.$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> | ||||
@@ -57,7 +57,7 @@ else if ($dopost == 1) { | |||||
<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'> | ||||
<span style='color:#009688'>已完成数据结构完整性检测</span> | |||||
<span style='color:#28a745'>已完成数据结构完整性检测</span> | |||||
<hr size='1'/> | <hr size='1'/> | ||||
<br> | <br> | ||||
如果您系统有下面几种问题之一,请检测微表正确性:<br> | 如果您系统有下面几种问题之一,请检测微表正确性:<br> | ||||
@@ -112,7 +112,7 @@ else if ($dopost == 2) { | |||||
} else { | } else { | ||||
$sql = " TRUNCATE TABLE `#@__arctiny`"; | $sql = " TRUNCATE TABLE `#@__arctiny`"; | ||||
$dsql->ExecuteNoneQuery($sql); | $dsql->ExecuteNoneQuery($sql); | ||||
$msg .= "<span style='color:#ff5722'>两者记录不一致,尝试进行简单修正</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` "; | ||||
@@ -128,7 +128,7 @@ else if ($dopost == 2) { | |||||
if ($row['dd'] == $allarcnum) { | if ($row['dd'] == $allarcnum) { | ||||
$msg .= "<p style='color:green;font-size:16px'>修正记录成功</p><br>"; | $msg .= "<p style='color:green;font-size:16px'>修正记录成功</p><br>"; | ||||
} else { | } else { | ||||
$msg .= "<p style='color:#ff5722;font-size:16px'>修正记录失败,建议进行高级综合检测</p><br>"; | |||||
$msg .= "<p style='color:#dc3545;font-size:16px'>修正记录失败,建议进行高级综合检测</p><br>"; | |||||
$errall = " <a href='sys_repair.php?dopost=3' class='btn btn-danger'>进行高级结合性检测></a> "; | $errall = " <a href='sys_repair.php?dopost=3' class='btn btn-danger'>进行高级结合性检测></a> "; | ||||
} | } | ||||
} | } | ||||
@@ -77,7 +77,7 @@ if ($action == 'test') { | |||||
$message = '<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"><link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">'; | $message = '<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"><link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">'; | ||||
AjaxHead(); | AjaxHead(); | ||||
TestSafe(DEDEROOT); | TestSafe(DEDEROOT); | ||||
if ($message == '') $message = "<span style='color:#009688'>没发现可疑文件</span>"; | |||||
if ($message == '') $message = "<span style='color:#28a745'>没发现可疑文件</span>"; | |||||
echo $message; | echo $message; | ||||
exit(); | exit(); | ||||
} else if ($action == 'viewdiff') { | } else if ($action == 'viewdiff') { | ||||
@@ -114,7 +114,7 @@ else if ($action == 'clear') { | |||||
@unlink($d.'/'.$filename); | @unlink($d.'/'.$filename); | ||||
} | } | ||||
} | } | ||||
$message = "<span style='color:#009688'>成功清空模板缓存</span>"; | |||||
$message = "<span style='color:#28a745'>成功清空模板缓存</span>"; | |||||
echo $message; | echo $message; | ||||
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:#ff5722'>{$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:#ff5722'>".$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>"; | ||||
@@ -24,7 +24,7 @@ else $pv = new PartView(); | |||||
$pv->SetTemplet($partcode, "string"); | $pv->SetTemplet($partcode, "string"); | ||||
if ($showsource == "" || $showsource == "yes") { | if ($showsource == "" || $showsource == "yes") { | ||||
echo "模板代码:"; | echo "模板代码:"; | ||||
echo "<span style='color:#ff5722;'><pre>".dede_htmlspecialchars($partcode)."</pre></span>"; | |||||
echo "<span style='color:#dc3545;'><pre>".dede_htmlspecialchars($partcode)."</pre></span>"; | |||||
echo "结果:<hr size='1' width='100%'>"; | echo "结果:<hr size='1' width='100%'>"; | ||||
} | } | ||||
$pv->Display(); | $pv->Display(); |
@@ -13,7 +13,7 @@ | |||||
<td height="26" background="../static/web/img/tbg.gif">当前位置 > 搜索结果</td> | <td height="26" background="../static/web/img/tbg.gif">当前位置 > 搜索结果</td> | ||||
</tr> | </tr> | ||||
<tr align="center" bgcolor="#f8f8f8" height="26"> | <tr align="center" bgcolor="#f8f8f8" height="26"> | ||||
<td align="left">"<span style='color:#ff5722'><?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"> | ||||
@@ -58,7 +58,7 @@ function changeDopost(postval) | |||||
?> | ?> | ||||
<tr> | <tr> | ||||
<td width="60" 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="60" 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:#ff5722'>[系统]</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="260" valign="top" bgcolor="<?php echo $bgcolor; ?>"><?php echo $value['description'] ; ?></td> | <td width="260" valign="top" bgcolor="<?php echo $bgcolor; ?>"><?php echo $value['description'] ; ?></td> | ||||
<td width="190" align="center" valign="top" bgcolor="<?php echo $bgcolor; ?>"><label></label></td> | <td width="190" align="center" valign="top" bgcolor="<?php echo $bgcolor; ?>"><label></label></td> | ||||
<td width="190" align="center" valign="top" bgcolor="<?php echo $bgcolor; ?>"><?php echo GetState($value['state']) ; ?></td> | <td width="190" align="center" valign="top" bgcolor="<?php echo $bgcolor; ?>"><?php echo GetState($value['state']) ; ?></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:#ff5722'>当前用户是网站管理员关连的帐号,请小心操作</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> | ||||
@@ -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:#ff5722">该会员已经到期</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:#ff5722'>{非管理员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> | ||||
@@ -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:#ff5722'>".$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 "<span class='btn btn-success btn-sm'>未安装</span><a class='btn btn-success btn-sm' href='module_main.php?action=setup&hash={$v['hash']}'>安装</a>"; | echo "<span class='btn btn-success btn-sm'>未安装</span><a class='btn btn-success btn-sm' href='module_main.php?action=setup&hash={$v['hash']}'>安装</a>"; | ||||
} | } | ||||
} else { | } else { | ||||
echo "<div id=\"status_{$v['hash']}\"><span style='color:#ff5722'>未下载</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> | ||||
@@ -99,7 +99,7 @@ | |||||
{ | { | ||||
?> | ?> | ||||
<tr> | <tr> | ||||
<td colspan="2" bgcolor="#FFFFFF" style="color:#ff5722"> | |||||
<td colspan="2" bgcolor="#FFFFFF" style="color:#dc3545"> | |||||
您目前所展开的是系统模型,系统模型一般对发布程序和管理程序已经固化,如果您胡乱修改系统模型将会导致使用这种内容类型的频道可能崩溃 </td> | 您目前所展开的是系统模型,系统模型一般对发布程序和管理程序已经固化,如果您胡乱修改系统模型将会导致使用这种内容类型的频道可能崩溃 </td> | ||||
</tr> | </tr> | ||||
<?php | <?php | ||||
@@ -76,7 +76,7 @@ | |||||
</div> | </div> | ||||
<div style="float:right;"> | <div style="float:right;"> | ||||
<span style="font-weight:bold;">订单总计:</span> <span style="color:#ff5722;">{dede:field.priceCount/}</span>元, {dede:pagelist listsize=3/} | |||||
<span style="font-weight:bold;">订单总计:</span> <span style="color:#dc3545;">{dede:field.priceCount/}</span>元, {dede:pagelist listsize=3/} | |||||
<div> | <div> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -73,7 +73,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:#ff5722'>找不到您所指定的数据库 $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"; | ||||
@@ -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:#ff5722'>../data/<?php echo $tmpdir; ?></span>)内,如果某些基础类有重要的改动导致更新中途中错,您可以从这文件夹提取文件手工更新 | |||||
下载的文件临时存放在文件夹(<span style='color:#dc3545'>../data/<?php echo $tmpdir; ?></span>)内,如果某些基础类有重要的改动导致更新中途中错,您可以从这文件夹提取文件手工更新 | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<?php echo $dirinfos; ?> | <?php echo $dirinfos; ?> | ||||
@@ -36,7 +36,7 @@ | |||||
<td>{dede:field.starttime function="GetDateMk(@me)" /}</td> | <td>{dede:field.starttime function="GetDateMk(@me)" /}</td> | ||||
<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><?php if($fields['isenable'] == 1){echo "<span style='color:#e74d58'>未启用</span>";} else {echo "<span style='color:#009688'>启用</span>";} ?></td> | |||||
<td><?php if($fields['isenable'] == 1){echo "<span style='color:#e74d58'>未启用</span>";} else {echo "<span style='color:#28a745'>启用</span>";} ?></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> | ||||
<a href='vote_edit.php?aid={dede:field.aid /}&dopost=edit' class="btn btn-success btn-sm">修改</a> | <a href='vote_edit.php?aid={dede:field.aid /}&dopost=edit' class="btn btn-success btn-sm">修改</a> | ||||
@@ -289,35 +289,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:#ff5722'>无法判断</span>"; | |||||
echo "<span style='color:#dc3545'>无法判断</span>"; | |||||
} else { | } else { | ||||
if ($val['execute'] == true) | if ($val['execute'] == true) | ||||
echo $rs != $val['execute'] ? "<span style='color:#ff5722'>错误(不可执行)</span>" : "<span style='color:#009688'>正常(可执行)</span>"; | |||||
echo $rs != $val['execute'] ? "<span style='color:#dc3545'>错误(不可执行)</span>" : "<span style='color:#28a745'>正常(可执行)</span>"; | |||||
else | else | ||||
echo $rs != $val['execute'] ? "<span style='color:#ff5722'>错误(可执行)</span>" : "<span style='color:#009688'>正常(不可执行)</span>"; | |||||
echo $rs != $val['execute'] ? "<span style='color:#dc3545'>错误(可执行)</span>" : "<span style='color:#28a745'>正常(不可执行)</span>"; | |||||
} | } | ||||
?>|<?php | ?>|<?php | ||||
if ($val['read'] == true) | if ($val['read'] == true) | ||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#ff5722'>错误(不可读)</span>" : "<span style='color:#009688'>正常(可读)</span>"; | |||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(不可读)</span>" : "<span style='color:#28a745'>正常(可读)</span>"; | |||||
else | else | ||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#ff5722'>错误(可读)</span>" : "<span style='color:#009688'>正常(不可读)</span>"; | |||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(可读)</span>" : "<span style='color:#28a745'>正常(不可读)</span>"; | |||||
?>|<?php | ?>|<?php | ||||
if ($val['write'] == true) | if ($val['write'] == true) | ||||
echo TestWriteable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#ff5722'>错误(不可写)</span>" : "<span style='color:#009688'>正常(可写)</span>"; | |||||
echo TestWriteable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(不可写)</span>" : "<span style='color:#28a745'>正常(可写)</span>"; | |||||
else | else | ||||
echo TestWriteable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#ff5722'>错误(可写)</span>" : "<span style='color:#009688'>正常(不可写)</span>"; | |||||
echo TestWriteable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(可写)</span>" : "<span style='color:#28a745'>正常(不可写)</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:#ff5722'>错误(不可读)</span>" : "<span style='color:#009688'>正常(可读)</span>"; | |||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(不可读)</span>" : "<span style='color:#28a745'>正常(可读)</span>"; | |||||
else | else | ||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#ff5722'>错误(可读)</span>" : "<span style='color:#009688'>正常(不可读)</span>"; | |||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#dc3545'>错误(可读)</span>" : "<span style='color:#28a745'>正常(不可读)</span>"; | |||||
?>|<?php | ?>|<?php | ||||
if ($val['write'] == true) | if ($val['write'] == true) | ||||
echo is_writable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#ff5722'>错误(不可写)</span>" : "<span style='color:#009688'>正常(可写)</span>"; | |||||
echo is_writable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(不可写)</span>" : "<span style='color:#28a745'>正常(可写)</span>"; | |||||
else | else | ||||
echo is_writable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#ff5722'>错误(可写)</span>" : "<span style='color:#009688'>正常(不可写)</span>"; | |||||
echo is_writable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#dc3545'>错误(可写)</span>" : "<span style='color:#28a745'>正常(不可写)</span>"; | |||||
?><dedecms><?php | ?><dedecms><?php | ||||
} | } | ||||
} | } | ||||
@@ -173,7 +173,7 @@ else if ($open == 2) { | |||||
} | } | ||||
$memberTypes[0] = "游客"; | $memberTypes[0] = "游客"; | ||||
$msgtitle = "您没有权限下载软件:{$arctitle}"; | $msgtitle = "您没有权限下载软件:{$arctitle}"; | ||||
$moremsg = "这个软件需要 <span style='color:#ff5722'>".$memberTypes[$needRank]."</span> 才能下载,您目前是:<span style='color:#ff5722'>".$memberTypes[$cfg_ml->M_Rank]."</span> "; | |||||
$moremsg = "这个软件需要 <span style='color:#dc3545'>".$memberTypes[$needRank]."</span> 才能下载,您目前是:<span style='color:#dc3545'>".$memberTypes[$cfg_ml->M_Rank]."</span> "; | |||||
include_once(DEDETEMPLATE.'/plus/view_msg.htm'); | include_once(DEDETEMPLATE.'/plus/view_msg.htm'); | ||||
exit(); | exit(); | ||||
} | } | ||||
@@ -187,7 +187,7 @@ else if ($open == 2) { | |||||
//没有足够的金币 | //没有足够的金币 | ||||
if ($needMoney > $cfg_ml->M_Money || $cfg_ml->M_Money == '') { | if ($needMoney > $cfg_ml->M_Money || $cfg_ml->M_Money == '') { | ||||
$msgtitle = "您没有权限下载软件:{$arctitle}"; | $msgtitle = "您没有权限下载软件:{$arctitle}"; | ||||
$moremsg = "这个软件需要 <span style='color:#ff5722'>".$needMoney." 金币</span> 才能下载,您目前拥有金币:<span style='color:#ff5722'>".$cfg_ml->M_Money." 个</span> "; | |||||
$moremsg = "这个软件需要 <span style='color:#dc3545'>".$needMoney." 金币</span> 才能下载,您目前拥有金币:<span style='color:#dc3545'>".$cfg_ml->M_Money." 个</span> "; | |||||
include_once(DEDETEMPLATE.'/plus/view_msg.htm'); | include_once(DEDETEMPLATE.'/plus/view_msg.htm'); | ||||
exit(0); | exit(0); | ||||
} | } | ||||
@@ -47,7 +47,7 @@ if ($tinfos['issystem'] == -1) { | |||||
} | } | ||||
$memberTypes[0] = "游客或没权限会员"; | $memberTypes[0] = "游客或没权限会员"; | ||||
$msgtitle = "您没有权限浏览栏目:{$lv->Fields['typename']} "; | $msgtitle = "您没有权限浏览栏目:{$lv->Fields['typename']} "; | ||||
$moremsg = "这个栏目需要 <span style='color:#ff5722'>".$memberTypes[$lv->Fields['corank']]."</span> 才能访问,您目前是:<span style='color:#ff5722'>".$memberTypes[$cfg_ml->M_Rank]."</span> "; | |||||
$moremsg = "这个栏目需要 <span style='color:#dc3545'>".$memberTypes[$lv->Fields['corank']]."</span> 才能访问,您目前是:<span style='color:#dc3545'>".$memberTypes[$cfg_ml->M_Rank]."</span> "; | |||||
include_once(DEDETEMPLATE.'/plus/view_msg_catalog.htm'); | include_once(DEDETEMPLATE.'/plus/view_msg_catalog.htm'); | ||||
exit(); | exit(); | ||||
} | } | ||||
@@ -48,7 +48,7 @@ if ($needMoney > 0 || $needRank > 1) { | |||||
} | } | ||||
$memberTypes[0] = "游客或没权限会员"; | $memberTypes[0] = "游客或没权限会员"; | ||||
$msgtitle = "您没有权限浏览文档:{$arctitle} "; | $msgtitle = "您没有权限浏览文档:{$arctitle} "; | ||||
$moremsg = "这篇文档需要 <span style='color:#ff5722'>".$memberTypes[$needRank]."</span> 才能访问,您目前是:<span style='color:#ff5722'>".$memberTypes[$cfg_ml->M_Rank]."</span> "; | |||||
$moremsg = "这篇文档需要 <span style='color:#dc3545'>".$memberTypes[$needRank]."</span> 才能访问,您目前是:<span style='color:#dc3545'>".$memberTypes[$cfg_ml->M_Rank]."</span> "; | |||||
include_once(DEDETEMPLATE.'/plus/view_msg.htm'); | include_once(DEDETEMPLATE.'/plus/view_msg.htm'); | ||||
exit(); | exit(); | ||||
} | } | ||||
@@ -60,7 +60,7 @@ if ($needMoney > 0 || $needRank > 1) { | |||||
if (!is_array($row)) { | if (!is_array($row)) { | ||||
if ($cfg_ml->M_Money == '' || $needMoney > $cfg_ml->M_Money) { | if ($cfg_ml->M_Money == '' || $needMoney > $cfg_ml->M_Money) { | ||||
$msgtitle = "您没有权限浏览文档:{$arctitle} "; | $msgtitle = "您没有权限浏览文档:{$arctitle} "; | ||||
$moremsg = "这篇文档需要 <span style='color:#ff5722'>".$needMoney." 金币</span> 才能访问,您目前拥有金币:<span style='color:#ff5722'>".$cfg_ml->M_Money." 个</span> "; | |||||
$moremsg = "这篇文档需要 <span style='color:#dc3545'>".$needMoney." 金币</span> 才能访问,您目前拥有金币:<span style='color:#dc3545'>".$cfg_ml->M_Money." 个</span> "; | |||||
include_once(DEDETEMPLATE.'/plus/view_msg.htm'); | include_once(DEDETEMPLATE.'/plus/view_msg.htm'); | ||||
$arc->Close(); | $arc->Close(); | ||||
exit(); | exit(); | ||||
@@ -82,7 +82,7 @@ if ($needMoney > 0 || $needRank > 1) { | |||||
} | } | ||||
} | } | ||||
$msgtitle = "扣金币购买阅读"; | $msgtitle = "扣金币购买阅读"; | ||||
$moremsg = "阅读该文档内容需要付费<br>这篇文档需要 <span style='color:#ff5722'>".$needMoney." 金币</span> 才能访问,您目前拥有金币 <span style='color:#ff5722'>".$cfg_ml->M_Money." </span>个<br>确认阅读请点 [<a href='/plus/view.php?aid=".$aid."&dopost=buy' target='_blank'>确认付点阅读</a>]"; | |||||
$moremsg = "阅读该文档内容需要付费<br>这篇文档需要 <span style='color:#dc3545'>".$needMoney." 金币</span> 才能访问,您目前拥有金币 <span style='color:#dc3545'>".$cfg_ml->M_Money." </span>个<br>确认阅读请点 [<a href='/plus/view.php?aid=".$aid."&dopost=buy' target='_blank'>确认付点阅读</a>]"; | |||||
include_once($cfg_basedir.$cfg_templets_dir."/plus/view_msg.htm"); | include_once($cfg_basedir.$cfg_templets_dir."/plus/view_msg.htm"); | ||||
$arc->Close(); | $arc->Close(); | ||||
exit(); | exit(); | ||||
@@ -315,9 +315,9 @@ class SearchView | |||||
continue; | continue; | ||||
} | } | ||||
//这里不区分大小写进行关键词替换 | //这里不区分大小写进行关键词替换 | ||||
$fstr = str_ireplace($k, "<span style='color:#ff5722'>$k</span>", $fstr); | |||||
$fstr = str_ireplace($k, "<span style='color:#dc3545'>$k</span>", $fstr); | |||||
//速度更快,效率更高 | //速度更快,效率更高 | ||||
//$fstr = str_replace($k, "<span style='color:#ff5722'>$k</span>", $fstr); | |||||
//$fstr = str_replace($k, "<span style='color:#dc3545'>$k</span>", $fstr); | |||||
} | } | ||||
return $fstr; | return $fstr; | ||||
} | } | ||||
@@ -224,7 +224,7 @@ 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:#009688;text-decoration:none}.tips{margin:68px auto 0;padding:0;width:430px;height:auto;background:#fff;border-radius:.2rem}.tips-head{margin:0 20px;padding:16px 0;border-bottom:1px solid #f8f8f8}.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:#009688;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(\"<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:430px;height:auto;background:#fff;border-radius:.2rem}.tips-head{margin:0 20px;padding:16px 0;border-bottom:1px solid #f8f8f8}.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #dc3545}.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'>\");"; | ||||
@@ -350,7 +350,7 @@ function AddFilter($channelid, $type=1, $fieldsnamef="", $defaulttid=0, $loadtyp | |||||
$dede_addonfields .= ''.$ctag->GetAtt('itemname').':'; | $dede_addonfields .= ''.$ctag->GetAtt('itemname').':'; | ||||
switch ($type) { | switch ($type) { | ||||
case 1: | case 1: | ||||
$dede_addonfields .= (preg_match("/&".$ctag->GetName()."=/is",$filterarr,$regm) ? '<a href="'.str_replace("&".$ctag->GetName()."=".$fields_value,"",$filterarr).'" style="display:inline-block;padding:.25rem .5rem;line-height:1.5;color:#fff;background:#008e38;border-color:#008e38;border-radius:.2rem">全部</a>' : '<span style="display:inline-block;padding:.25rem .5rem;line-height:1.5;color:#fff;background:#ff5722;border-color:#ff5722;border-radius:.2rem">全部</span>').' '; | |||||
$dede_addonfields .= (preg_match("/&".$ctag->GetName()."=/is",$filterarr,$regm) ? '<a href="'.str_replace("&".$ctag->GetName()."=".$fields_value,"",$filterarr).'" style="display:inline-block;padding:.25rem .5rem;line-height:1.5;color:#fff;background:#008e38;border-color:#008e38;border-radius:.2rem">全部</a>' : '<span style="display:inline-block;padding:.25rem .5rem;line-height:1.5;color:#fff;background:#dc3545;border-color:#dc3545;border-radius:.2rem">全部</span>').' '; | |||||
$addonfields_items = explode(",",$ctag->GetAtt('default')); | $addonfields_items = explode(",",$ctag->GetAtt('default')); | ||||
for ($i=0; $i<count($addonfields_items); $i++) | for ($i=0; $i<count($addonfields_items); $i++) | ||||
{ | { | ||||
@@ -365,7 +365,7 @@ function AddFilter($channelid, $type=1, $fieldsnamef="", $defaulttid=0, $loadtyp | |||||
$href3 = str_replace(array("&".$ctag->GetName()."=".$fields_value,$ctag->GetName()."=".$fields_value, "&".$ctag->GetName()."=&"), array("&".$ctag->GetName()."=".$fields_value2,$ctag->GetName()."=".$fields_value2, "&"), $filterarr); | $href3 = str_replace(array("&".$ctag->GetName()."=".$fields_value,$ctag->GetName()."=".$fields_value, "&".$ctag->GetName()."=&"), array("&".$ctag->GetName()."=".$fields_value2,$ctag->GetName()."=".$fields_value2, "&"), $filterarr); | ||||
$href3 = !end(explode("=", $href3)) ? str_replace("&".end(explode("&", $href3)), "", $href3) : $href3; | $href3 = !end(explode("=", $href3)) ? str_replace("&".end(explode("&", $href3)), "", $href3) : $href3; | ||||
$dede_addonfields .= ($fields_value!=urlencode($addonfields_items[$i]) && $is_select!=1 ? '<a title="'.$addonfields_items[$i].'" href="'.$href.'" style="display:inline-block;padding:.25rem .5rem;line-height:1.5;color:#fff;background:#008e38;border-color:#008e38;border-radius:.2rem">'.$addonfields_items[$i].'</a>' : '<a title="'.$addonfields_items[$i].'" href="'.$href3.'" style="display:inline-block;padding:.25rem .5rem;line-height:1.5;color:#fff;background:#ff5722;border-color:#ff5722;border-radius:.2rem">'.$addonfields_items[$i].'<span style="margin-left:6px;color:#fff">×</span></a>')." "; | |||||
$dede_addonfields .= ($fields_value!=urlencode($addonfields_items[$i]) && $is_select!=1 ? '<a title="'.$addonfields_items[$i].'" href="'.$href.'" style="display:inline-block;padding:.25rem .5rem;line-height:1.5;color:#fff;background:#008e38;border-color:#008e38;border-radius:.2rem">'.$addonfields_items[$i].'</a>' : '<a title="'.$addonfields_items[$i].'" href="'.$href3.'" style="display:inline-block;padding:.25rem .5rem;line-height:1.5;color:#fff;background:#dc3545;border-color:#dc3545;border-radius:.2rem">'.$addonfields_items[$i].'<span style="margin-left:6px;color:#fff">×</span></a>')." "; | |||||
} | } | ||||
$dede_addonfields .= '<br><br>'; | $dede_addonfields .= '<br><br>'; | ||||
break; | break; | ||||
@@ -112,7 +112,7 @@ class DedeSqli | |||||
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('链接('.$this->pconnect.') 到MySQL发生错误'); | mysqli_errno($this->linkID) != 0 && $this->DisplayError('链接('.$this->pconnect.') 到MySQL发生错误'); | ||||
} catch (Exception $e) { | } catch (Exception $e) { | ||||
$this->DisplayError("<span style='color:#ff5722'>连接数据库失败,可能数据库密码不对或数据库服务器出错</span>"); | |||||
$this->DisplayError("<span style='color:#dc3545'>连接数据库失败,可能数据库密码不对或数据库服务器出错</span>"); | |||||
exit; | exit; | ||||
} | } | ||||
@@ -121,7 +121,7 @@ class DedeSqli | |||||
} | } | ||||
//处理错误,成功连接则选择数据库 | //处理错误,成功连接则选择数据库 | ||||
if (!$this->linkID) { | if (!$this->linkID) { | ||||
$this->DisplayError("<span style='color:#ff5722'>连接数据库失败,可能数据库密码不对或数据库服务器出错</span>"); | |||||
$this->DisplayError("<span style='color:#dc3545'>连接数据库失败,可能数据库密码不对或数据库服务器出错</span>"); | |||||
exit(); | exit(); | ||||
} | } | ||||
$this->isInit = TRUE; | $this->isInit = TRUE; | ||||
@@ -309,7 +309,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:#ff5722'>".$this->queryString."</span>"); | |||||
$this->DisplayError(mysqli_error($this->linkID)." <br>Error sql: <span style='color:#dc3545'>".$this->queryString."</span>"); | |||||
} | } | ||||
} | } | ||||
function Query($id = "me", $sql = '') | function Query($id = "me", $sql = '') | ||||
@@ -114,7 +114,7 @@ class DedeSqlite | |||||
} | } | ||||
//处理错误,成功连接则选择数据库 | //处理错误,成功连接则选择数据库 | ||||
if (!$this->linkID) { | if (!$this->linkID) { | ||||
$this->DisplayError("系统提示:<span style='color:#ff5722'>连接数据库失败,可能数据库密码不对或数据库服务器出错</span>"); | |||||
$this->DisplayError("系统提示:<span style='color:#dc3545'>连接数据库失败,可能数据库密码不对或数据库服务器出错</span>"); | |||||
exit(); | exit(); | ||||
} | } | ||||
$this->isInit = TRUE; | $this->isInit = TRUE; | ||||
@@ -265,7 +265,7 @@ class DedeSqlite | |||||
//echo $this->queryString."--{$queryTime}<hr />\r\n"; | //echo $this->queryString."--{$queryTime}<hr />\r\n"; | ||||
} | } | ||||
if ($this->result[$id] === FALSE) { | if ($this->result[$id] === FALSE) { | ||||
$this->DisplayError($this->linkID->lastErrorMsg()." <br>Error sql: <span style='color:#ff5722'>".$this->queryString."</span>"); | |||||
$this->DisplayError($this->linkID->lastErrorMsg()." <br>Error sql: <span style='color:#dc3545'>".$this->queryString."</span>"); | |||||
} | } | ||||
} | } | ||||
function Query($id = "me", $sql = '') | function Query($id = "me", $sql = '') | ||||
@@ -451,8 +451,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:#ff5722'>".$this->M_HasDay."</span> 天 "; | |||||
elseif ($this->M_Rank > 10) $sta .= " <span style='color:#ff5722'>会员升级已经到期</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} 分"; | ||||
@@ -109,7 +109,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:#ff5722'>[隐藏]</span>"; | |||||
$nss = "<span style='color:#dc3545'>[隐藏]</span>"; | |||||
} else { | } else { | ||||
$nss = ''; | $nss = ''; | ||||
} | } | ||||
@@ -195,7 +195,7 @@ class TypeUnit | |||||
} | } | ||||
$rank = $row->sortrank; | $rank = $row->sortrank; | ||||
if ($row->ishidden == '1') { | if ($row->ishidden == '1') { | ||||
$nss = "<span style='color:#ff5722'>[隐藏]</span>"; | |||||
$nss = "<span style='color:#dc3545'>[隐藏]</span>"; | |||||
} else { | } else { | ||||
$nss = ''; | $nss = ''; | ||||
} | } | ||||
@@ -60,7 +60,7 @@ | |||||
<tr> | <tr> | ||||
<td colspan="6" align="right"> | <td colspan="6" align="right"> | ||||
<div style="float:left;"> | <div style="float:left;"> | ||||
共 <span style='color:#ff5722'>{dede:var.carts.cart_count/}</span> 件商品,合计: <span style='color:#ff5722'> | |||||
共 <span style='color:#dc3545'>{dede:var.carts.cart_count/}</span> 件商品,合计: <span style='color:#dc3545'> | |||||
{dede:var.carts.price_count/}</span>元 </div> | {dede:var.carts.price_count/}</span>元 </div> | ||||
<div style="float:right; height:33px;"> | <div style="float:right; height:33px;"> | ||||
<!--<input type="button" value="打印购物车" class="btn-2" onclick="printPage(1)"/>--> | <!--<input type="button" value="打印购物车" class="btn-2" onclick="printPage(1)"/>--> | ||||
@@ -161,7 +161,7 @@ function CheckRank($rank = 0, $money = 0) | |||||
ShowMsg("邮箱地址为空,请设置一个可用的邮箱地址", "edit_email.php", 0, 5000); | ShowMsg("邮箱地址为空,请设置一个可用的邮箱地址", "edit_email.php", 0, 5000); | ||||
exit; | exit; | ||||
} | } | ||||
$msg = "您尚未进行邮件验证,请到邮箱查阅</br>重新发送邮件验证 <a href='{$cfg_memberurl}/index_do.php?fmdo=sendMail'><span style='color:#ff5722'>点击此处</span></a>"; | |||||
$msg = "您尚未进行邮件验证,请到邮箱查阅</br>重新发送邮件验证 <a href='{$cfg_memberurl}/index_do.php?fmdo=sendMail'><span style='color:#dc3545'>点击此处</span></a>"; | |||||
ShowMsg($msg, "-1", 0, 5000); | ShowMsg($msg, "-1", 0, 5000); | ||||
exit; | exit; | ||||
} | } | ||||
@@ -183,10 +183,10 @@ function CheckRank($rank = 0, $money = 0) | |||||
$myname = "普通会员"; | $myname = "普通会员"; | ||||
} | } | ||||
} | } | ||||
ShowMsg("对不起,需要:<span style='color:#ff5722'>$needname</span> 才能访问本页面<br>您目前的等级是:<span style='color:#ff5722'>$myname</span> ", "-1", 0, 5000); | |||||
ShowMsg("对不起,需要:<span style='color:#dc3545'>$needname</span> 才能访问本页面<br>您目前的等级是:<span style='color:#dc3545'>$myname</span> ", "-1", 0, 5000); | |||||
exit(); | exit(); | ||||
} else if ($cfg_ml->M_Money < $money) { | } else if ($cfg_ml->M_Money < $money) { | ||||
ShowMsg("对不起,需要花费金币:<span style='color:#ff5722'>$money</span> 才能访问本页面<br>您目前拥有的金币是:<span style='color:#ff5722'>".$cfg_ml->M_Money."</span> ", "-1", 0, 5000); | |||||
ShowMsg("对不起,需要花费金币:<span style='color:#dc3545'>$money</span> 才能访问本页面<br>您目前拥有的金币是:<span style='color:#dc3545'>".$cfg_ml->M_Money."</span> ", "-1", 0, 5000); | |||||
exit(); | exit(); | ||||
} | } | ||||
} | } | ||||
@@ -39,7 +39,7 @@ function IsCommendArchives($iscommend) | |||||
function GetCommendTitle($title, $iscommend) | function GetCommendTitle($title, $iscommend) | ||||
{ | { | ||||
if (preg_match('/c/', $iscommend)) { | if (preg_match('/c/', $iscommend)) { | ||||
$title = "$title<span style='color:#ff5722'>(推荐)</span>"; | |||||
$title = "$title<span style='color:#dc3545'>(推荐)</span>"; | |||||
} | } | ||||
return "$title"; | return "$title"; | ||||
} | } | ||||
@@ -87,7 +87,7 @@ function IsHtmlArchives($ismake) | |||||
} else if ($ismake == -1) { | } else if ($ismake == -1) { | ||||
return "仅动态"; | return "仅动态"; | ||||
} else { | } else { | ||||
return "<span style='color:#ff5722'>未生成</span>"; | |||||
return "<span style='color:#dc3545'>未生成</span>"; | |||||
} | } | ||||
} | } | ||||
/** | /** | ||||
@@ -121,7 +121,7 @@ function GetRankName($arcrank) | |||||
function IsPicArchives($picname) | function IsPicArchives($picname) | ||||
{ | { | ||||
if ($picname != "") { | if ($picname != "") { | ||||
return "<span style='color:#ff5722'>[图]</span>"; | |||||
return "<span style='color:#dc3545'>[图]</span>"; | |||||
} else { | } else { | ||||
return ""; | return ""; | ||||
} | } |
@@ -94,9 +94,9 @@ else if ($fmdo == 'user') { | |||||
$msg = CheckUserID($uid, $msgtitle, false); | $msg = CheckUserID($uid, $msgtitle, false); | ||||
} | } | ||||
if ($msg == 'ok') { | if ($msg == 'ok') { | ||||
$msg = "<span style='color:#009688'>√{$msgtitle}可以使用</span>"; | |||||
$msg = "<span style='color:#28a745'>√{$msgtitle}可以使用</span>"; | |||||
} else { | } else { | ||||
$msg = "<span style='color:#ff5722'>×{$msg}</span>"; | |||||
$msg = "<span style='color:#dc3545'>×{$msg}</span>"; | |||||
} | } | ||||
echo $msg; | echo $msg; | ||||
exit(); | exit(); | ||||
@@ -106,16 +106,16 @@ else if ($fmdo == 'user') { | |||||
AjaxHead(); | AjaxHead(); | ||||
if ($cfg_md_mailtest == 'N') { | if ($cfg_md_mailtest == 'N') { | ||||
$msg = "<span style='color:#009688'>√可以使用</span>"; | |||||
$msg = "<span style='color:#28a745'>√可以使用</span>"; | |||||
} else { | } else { | ||||
if (!CheckEmail($email)) { | if (!CheckEmail($email)) { | ||||
$msg = "<span style='color:#009688'>×Email格式有误</span>"; | |||||
$msg = "<span style='color:#28a745'>×Email格式有误</span>"; | |||||
} else { | } else { | ||||
$row = $dsql->GetOne("SELECT mid FROM `#@__member` WHERE email LIKE '$email' LIMIT 1"); | $row = $dsql->GetOne("SELECT mid FROM `#@__member` WHERE email LIKE '$email' LIMIT 1"); | ||||
if (!is_array($row)) { | if (!is_array($row)) { | ||||
$msg = "<span style='color:#009688'>√可以使用</span>"; | |||||
$msg = "<span style='color:#28a745'>√可以使用</span>"; | |||||
} else { | } else { | ||||
$msg = "<span style='color:#ff5722'>×Email已经被另一个帐号占用</span>"; | |||||
$msg = "<span style='color:#dc3545'>×Email已经被另一个帐号占用</span>"; | |||||
} | } | ||||
} | } | ||||
} | } | ||||
@@ -73,7 +73,7 @@ | |||||
<td align="center"><?php | <td align="center"><?php | ||||
if($fields['arcrank']>=0) echo "已审核"; | if($fields['arcrank']>=0) echo "已审核"; | ||||
else if($fields['arcrank']==-2) echo "<span style='color:#007bff'>被退回</span>"; | else if($fields['arcrank']==-2) echo "<span style='color:#007bff'>被退回</span>"; | ||||
else echo "<span style='color:#ff5722'>未审核</span>"; | |||||
else echo "<span style='color:#dc3545'>未审核</span>"; | |||||
?></td> | ?></td> | ||||
<td align="center"><?php echo $fields['click']; ?></td> | <td align="center"><?php echo $fields['click']; ?></td> | ||||
<td><?php echo GetDateMk($fields['senddate']); ?></td> | <td><?php echo GetDateMk($fields['senddate']); ?></td> | ||||
@@ -72,7 +72,7 @@ | |||||
<td align="center"><?php | <td align="center"><?php | ||||
if($fields['arcrank']>=0) echo "已审核"; | if($fields['arcrank']>=0) echo "已审核"; | ||||
else if($fields['arcrank']==-2) echo "<span style='color:#007bff'>被退回</span>"; | else if($fields['arcrank']==-2) echo "<span style='color:#007bff'>被退回</span>"; | ||||
else echo "<span style='color:#ff5722'>未审核</span>"; | |||||
else echo "<span style='color:#dc3545'>未审核</span>"; | |||||
?></td> | ?></td> | ||||
<td align="center"><?php echo $fields['click']; ?></td> | <td align="center"><?php echo $fields['click']; ?></td> | ||||
<td align="center"><?php echo GetDateMk($fields['senddate']); ?></td> | <td align="center"><?php echo GetDateMk($fields['senddate']); ?></td> | ||||
@@ -90,7 +90,7 @@ | |||||
<td> | <td> | ||||
<div class="pm-read-status" for="<?php echo $fields['id'];?>"> | <div class="pm-read-status" for="<?php echo $fields['id'];?>"> | ||||
<?php | <?php | ||||
$readmsg = ($fields['hasview']==0 ? "<span style='color:#ff5722'>未阅读</span>" : '已阅读'); | |||||
$readmsg = ($fields['hasview']==0 ? "<span style='color:#dc3545'>未阅读</span>" : '已阅读'); | |||||
echo $readmsg; | echo $readmsg; | ||||
?> | ?> | ||||
</div> | </div> | ||||