@@ -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'><font color='#666600'><b>{$ptitle}</b></span></td> | |||||
<td colspan='2' background='images/wbg.gif' height='26'><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'><font color='#666600'><b>德得广告</b></span></td> | |||||
<td colspan='2' background='{$cfg_static_dir}/img/wbg.gif' height='26'><span><b>德得广告</b></span></td> | |||||
</tr> | </tr> | ||||
<tr bgcolor='#FFFFFF'> | <tr bgcolor='#FFFFFF'> | ||||
<td colspan='2' height='100'> | <td colspan='2' height='100'> | ||||
@@ -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 "<font color='green'>√</span>"; | |||||
if ($me) return "<span style='color:#28a745'>√</span>"; | |||||
else return "<span style='color:#e74d58'>×</span>"; | else return "<span style='color:#e74d58'>×</span>"; | ||||
} | } |
@@ -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><font color='green'>已完成数据结构完整性检测</span></b> | |||||
<b><span style='color:#28a745'>已完成数据结构完整性检测</span></b> | |||||
<hr size='1'/> | <hr size='1'/> | ||||
<br /> | <br /> | ||||
<b>如果您系统有下面几种问题之一,请检测微表正确性:</b><br /> | <b>如果您系统有下面几种问题之一,请检测微表正确性:</b><br /> | ||||
@@ -90,7 +90,7 @@ if ($action == 'test') { | |||||
AjaxHead(); | AjaxHead(); | ||||
TestSafe(DEDEROOT); | TestSafe(DEDEROOT); | ||||
if ($message == '') $message = "<font color='green' style='font-size:14px'>没发现可疑文件</span>"; | |||||
if ($message == '') $message = "<span style='color:#28a745'>没发现可疑文件</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 = "<font color='green' style='font-size:14px'>成功清空模板缓存</span>"; | |||||
$message = "<span style='color:#28a745'>成功清空模板缓存</span>"; | |||||
echo $message; | echo $message; | ||||
exit(); | exit(); | ||||
} | } | ||||
@@ -128,7 +128,7 @@ else if ($dopost == "query") { | |||||
if ($errCode == "") { | if ($errCode == "") { | ||||
$i++; | $i++; | ||||
} else { | } else { | ||||
$nerrCode .= "执行: <font color='blue'>$q</span> 出错,错误提示:<span style='color:#e74d58'>".$errCode."</span><br>"; | |||||
$nerrCode .= "执行: <span style='color:#007bff'>$q</span> 出错,错误提示:<span style='color:#e74d58'>".$errCode."</span><br>"; | |||||
} | } | ||||
} | } | ||||
echo "成功执行{$i}个SQL语句<br><br>"; | echo "成功执行{$i}个SQL语句<br><br>"; | ||||
@@ -458,7 +458,7 @@ $i = 0; | |||||
<tr id='helpvar1' style='display:none'> | <tr id='helpvar1' 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"> {tid}表示栏目ID,<br> | <td bgcolor="#F3F7EA"> {tid}表示栏目ID,<br> | ||||
{cid}表示频道模型的'名字ID' <font color='#888888'> ( | |||||
{cid}表示频道模型的'名字ID' <span>( | |||||
<?php | <?php | ||||
foreach($channelArray as $k=>$arr) | foreach($channelArray as $k=>$arr) | ||||
{ | { | ||||
@@ -388,7 +388,7 @@ $i = 0; | |||||
<tr id='helpvar1' style='display:none'> | <tr id='helpvar1' style='display:none'> | ||||
<td height="26" bgcolor="#F9FCEF" style="padding-left:10px;">支持变量: </td> | <td height="26" bgcolor="#F9FCEF" style="padding-left:10px;">支持变量: </td> | ||||
<td bgcolor="#F9FCEF"> {tid}表示栏目ID,<br> | <td bgcolor="#F9FCEF"> {tid}表示栏目ID,<br> | ||||
{cid}表示频道模型的'名字ID' <font color='#888888'> ( | |||||
{cid}表示频道模型的'名字ID' <span>( | |||||
<?php | <?php | ||||
foreach($channelArray as $k=>$arr) | foreach($channelArray as $k=>$arr) | ||||
{ | { | ||||
@@ -40,7 +40,7 @@ | |||||
<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' height='26' style="padding-left:10px;"> | ||||
<font color='#666600'><b>修改/新建文件:</b></span> | |||||
<span><b>修改/新建文件:</b></span> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor='#FFFFFF'> | <tr bgcolor='#FFFFFF'> | ||||
@@ -284,7 +284,7 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="80" align="left" id='innervar' style="display:none"> | <td height="80" align="left" id='innervar' style="display:none"> | ||||
<font color="#CC6600"><img src="images/help.gif" width="16" | |||||
<span><img src="images/help.gif" width="16" | |||||
height="16">支持字段(底层变量[field:varname/]):id,title,color,typeid,ismake,description,pubdate,senddate,arcrank,click,litpic,typedir,typename,arcurl,typeurl,<br> | height="16">支持字段(底层变量[field:varname/]):id,title,color,typeid,ismake,description,pubdate,senddate,arcrank,click,litpic,typedir,typename,arcurl,typeurl,<br> | ||||
stime(pubdate 的"0000-00-00"格式),textlink,typelink,imglink,image | stime(pubdate 的"0000-00-00"格式),textlink,typelink,imglink,image | ||||
普通字段直接用[field:字段名/]表示。<br> | 普通字段直接用[field:字段名/]表示。<br> | ||||
@@ -292,7 +292,7 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="80" align="left" id='innervar' style="display:none"> | <td height="80" align="left" id='innervar' style="display:none"> | ||||
<font color="#CC6600"><img src="images/help.gif" width="16" | |||||
<span><img src="images/help.gif" width="16" | |||||
height="16">支持字段(底层变量[field:varname/]):id,title,color,typeid,ismake,description,pubdate,senddate,arcrank,click,litpic,typedir,typename,arcurl,typeurl,<br> | height="16">支持字段(底层变量[field:varname/]):id,title,color,typeid,ismake,description,pubdate,senddate,arcrank,click,litpic,typedir,typename,arcurl,typeurl,<br> | ||||
stime(pubdate 的"0000-00-00"格式),textlink,typelink,imglink,image | stime(pubdate 的"0000-00-00"格式),textlink,typelink,imglink,image | ||||
普通字段直接用[field:字段名/]表示。<br> | 普通字段直接用[field:字段名/]表示。<br> | ||||
@@ -52,7 +52,7 @@ | |||||
<tr> | <tr> | ||||
<td height="40" bgcolor="#FFFFFF">JS文件:</td> | <td height="40" bgcolor="#FFFFFF">JS文件:</td> | ||||
<td height="40" bgcolor="#FFFFFF"> | <td height="40" bgcolor="#FFFFFF"> | ||||
<font color="#660000"> | |||||
<span> | |||||
<?php echo "<script src='".$cfg_cmspath."/data/js/".$cid.".js' language='javascript'></script>"; ?> | <?php echo "<script src='".$cfg_cmspath."/data/js/".$cid.".js' language='javascript'></script>"; ?> | ||||
</span> | </span> | ||||
</td> | </td> | ||||
@@ -122,7 +122,7 @@ | |||||
</td> | </td> | ||||
<td align="center"> | <td align="center"> | ||||
<?php echo GetDateTimeMk($fields['mtime'])?> | <?php echo GetDateTimeMk($fields['mtime'])?> | ||||
(<font color="#FF0000">{dede:field.mtime function="floorTime(time()-@me,@me)"/}</span>) | |||||
(<span>{dede:field.mtime function="floorTime(time()-@me,@me)"/}</span>) | |||||
</td> | </td> | ||||
<td align="center"> | <td align="center"> | ||||
<?php echo $fields['money']?> | <?php echo $fields['money']?> | ||||
@@ -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 : '<font color="red">该会员已经到期</span>';?> | |||||
<?php if($mhasDay!=0){ $mhasDay=($mhasDay>0)? $mhasDay : '<span style='color:#e74d58'>该会员已经到期</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> | ||||
@@ -173,7 +173,7 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="80"> | <td height="80"> | ||||
<font color="#CC6600"> | |||||
<span> | |||||
支持字段:id,title,color,typeid,ismake,description,pubdate,senddate,arcrank,click,litpic,typedir,typename,arcurl,typeurl, | 支持字段:id,title,color,typeid,ismake,description,pubdate,senddate,arcrank,click,litpic,typedir,typename,arcurl,typeurl, | ||||
<br /> | <br /> | ||||
stime(pubdate 的"0000-00-00"格式),textlink,typelink,imglink,image | stime(pubdate 的"0000-00-00"格式),textlink,typelink,imglink,image | ||||
@@ -91,9 +91,9 @@ | |||||
<a href="catalog_do.php?channelid=<?php echo $row['id'];?>&cid=0&dopost=addArchives" class="btn btn-success btn-sm">发布内容</a> | <a href="catalog_do.php?channelid=<?php echo $row['id'];?>&cid=0&dopost=addArchives" class="btn btn-success btn-sm">发布内容</a> | ||||
<?php }else{ ?> | <?php }else{ ?> | ||||
| | | | ||||
<font color='#cccccc'>管理内容</span> | |||||
<span>管理内容</span> | |||||
| | | | ||||
<font color='#cccccc'>发布内容</span> | |||||
<span>发布内容</span> | |||||
<?php } ?> | <?php } ?> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -137,7 +137,7 @@ | |||||
</td> | </td> | ||||
<td align="center"> | <td align="center"> | ||||
<?php echo GetDateTimeMk($fields['stime'])?> | <?php echo GetDateTimeMk($fields['stime'])?> | ||||
(<font color="#FF0000">{dede:field.stime function="floorTime(time()-@me,@me)"/}</span>) | |||||
(<span>{dede:field.stime function="floorTime(time()-@me,@me)"/}</span>) | |||||
</td> | </td> | ||||
<td align="center"> | <td align="center"> | ||||
<?php echo $fields['price']?> | <?php echo $fields['price']?> | ||||
@@ -60,8 +60,8 @@ | |||||
$ls = explode('>',$line); | $ls = explode('>',$line); | ||||
$tag = $ls[1]; | $tag = $ls[1]; | ||||
$tagname = str_replace('[br]', '<br />', $ls[2]); | $tagname = str_replace('[br]', '<br />', $ls[2]); | ||||
if(!preg_match("#<br \/>#", $tagname) ) $tagname .= "<font color='#888888'>($tag)</span>"; | |||||
else $tagname = str_replace('<br />', "<font color='#888888'>($tag)</span><br />", $tagname); | |||||
if(!preg_match("#<br \/>#", $tagname) ) $tagname .= "<span>($tag)</span>"; | |||||
else $tagname = str_replace('<br />', "<span>($tag)</span><br />", $tagname); | |||||
echo " <label><input name='purviews[]' type='checkbox' class='np' id='purviews$k' value='$tag'> $tagname</label>\r\n"; | echo " <label><input name='purviews[]' type='checkbox' class='np' id='purviews$k' value='$tag'> $tagname</label>\r\n"; | ||||
$k++; | $k++; | ||||
} | } | ||||
@@ -57,8 +57,8 @@ | |||||
$ls = explode('>',$line); | $ls = explode('>',$line); | ||||
$tag = $ls[1]; | $tag = $ls[1]; | ||||
$tagname = str_replace('[br]','<br>',$ls[2]); | $tagname = str_replace('[br]','<br>',$ls[2]); | ||||
if(!preg_match("#<br \/>#", $tagname) ) $tagname .= "<font color='#888888'>($tag)</span>"; | |||||
else $tagname = str_replace('<br />', "<font color='#888888'>($tag)</span><br />", $tagname); | |||||
if(!preg_match("#<br \/>#", $tagname) ) $tagname .= "<span>($tag)</span>"; | |||||
else $tagname = str_replace('<br />', "<span>($tag)</span><br />", $tagname); | |||||
echo " <label><input name='purviews[]' type='checkbox' class='np' id='purviews$k' value='$tag'".CRank($tag)."> $tagname</label>\r\n"; | echo " <label><input name='purviews[]' type='checkbox' class='np' id='purviews$k' value='$tag'".CRank($tag)."> $tagname</label>\r\n"; | ||||
$k++; | $k++; | ||||
} | } | ||||
@@ -75,7 +75,7 @@ | |||||
<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' height='26' style="padding-left:10px;"> | ||||
<font color='#666600'><b>修改/新建模板:</b></span> | |||||
<span><b>修改/新建模板:</b></span> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor='#FFFFFF'> | <tr bgcolor='#FFFFFF'> | ||||
@@ -58,7 +58,7 @@ function Post() | |||||
<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' height='26' style="padding-left:10px;"> | ||||
<font color='#666600'><b><?php echo $title; ?></b>(修改源码如果出现语法错误,可能导致标签无法使用,请修改前先作好数据备份)</span> | |||||
<span><b><?php echo $title; ?></b>(修改源码如果出现语法错误,可能导致标签无法使用,请修改前先作好数据备份)</span> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr bgcolor='#FFFFFF'> | <tr bgcolor='#FFFFFF'> | ||||
@@ -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 "<font color=green>启用</span>";} ?> | |||||
<?php if($fields['isenable'] == 1){echo "<span style='color:#e74d58'>未启用</span>";}else{echo "<span style='color:#28a745'>启用</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> | ||||
@@ -304,32 +304,32 @@ $action = isset($action) ? $action : ''; | |||||
echo "<span style='color:#e74d58'>无法判断</span>"; | echo "<span style='color:#e74d58'>无法判断</span>"; | ||||
} else { | } else { | ||||
if ($val['execute'] == true) | if ($val['execute'] == true) | ||||
echo $rs != $val['execute'] ? "<span style='color:#e74d58'>错误(不可执行)</span>" : "<font color='green'>正常(可执行)</span>"; | |||||
echo $rs != $val['execute'] ? "<span style='color:#e74d58'>错误(不可执行)</span>" : "<span style='color:#28a745'>正常(可执行)</span>"; | |||||
else | else | ||||
echo $rs != $val['execute'] ? "<span style='color:#e74d58'>错误(可执行)</span>" : "<font color='green'>正常(不可执行)</span>"; | |||||
echo $rs != $val['execute'] ? "<span style='color:#e74d58'>错误(可执行)</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:#e74d58'>错误(不可读)</span>" : "<font color='green'>正常(可读)</span>"; | |||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#e74d58'>错误(不可读)</span>" : "<span style='color:#28a745'>正常(可读)</span>"; | |||||
else | else | ||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#e74d58'>错误(可读)</span>" : "<font color='green'>正常(不可读)</span>"; | |||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#e74d58'>错误(可读)</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:#e74d58'>错误(不可写)</span>" : "<font color='green'>正常(可写)</span>"; | |||||
echo TestWriteable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#e74d58'>错误(不可写)</span>" : "<span style='color:#28a745'>正常(可写)</span>"; | |||||
else | else | ||||
echo TestWriteable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#e74d58'>错误(可写)</span>" : "<font color='green'>正常(不可写)</span>"; | |||||
echo TestWriteable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#e74d58'>错误(可写)</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:#e74d58'>错误(不可读)</span>" : "<font color='green'>正常(可读)</span>"; | |||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#e74d58'>错误(不可读)</span>" : "<span style='color:#28a745'>正常(可读)</span>"; | |||||
else | else | ||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#e74d58'>错误(可读)</span>" : "<font color='green'>正常(不可读)</span>"; | |||||
echo is_readable(DEDEROOT.$key) != $val['read'] ? "<span style='color:#e74d58'>错误(可读)</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:#e74d58'>错误(不可写)</span>" : "<font color='green'>正常(可写)</span>"; | |||||
echo is_writable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#e74d58'>错误(不可写)</span>" : "<span style='color:#28a745'>正常(可写)</span>"; | |||||
else | else | ||||
echo is_writable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#e74d58'>错误(可写)</span>" : "<font color='green'>正常(不可写)</span>"; | |||||
echo is_writable(DEDEROOT.$key) != $val['write'] ? "<span style='color:#e74d58'>错误(可写)</span>" : "<span style='color:#28a745'>正常(不可写)</span>"; | |||||
?><dedecms><?php | ?><dedecms><?php | ||||
} | } | ||||
} | } | ||||
@@ -607,7 +607,7 @@ class FreeList | |||||
$row['templeturl'] = $GLOBALS['cfg_templeturl']; | $row['templeturl'] = $GLOBALS['cfg_templeturl']; | ||||
$row['title'] = cn_substr($row['title'], $titlelen); | $row['title'] = cn_substr($row['title'], $titlelen); | ||||
if ($row['color'] != "") { | if ($row['color'] != "") { | ||||
$row['title'] = "<font color='".$row['color']."'>".$row['title']."</span>"; | |||||
$row['title'] = "<span style='".$row['color']."'>".$row['title']."</span>"; | |||||
} | } | ||||
if (preg_match("#c#", $row['flag'])) { | if (preg_match("#c#", $row['flag'])) { | ||||
$row['title'] = "<b>".$row['title']."</b>"; | $row['title'] = "<b>".$row['title']."</b>"; | ||||
@@ -790,7 +790,7 @@ class ListView | |||||
$row['fulltitle'] = $row['title']; | $row['fulltitle'] = $row['title']; | ||||
$row['title'] = cn_substr($row['title'], $titlelen); | $row['title'] = cn_substr($row['title'], $titlelen); | ||||
if ($row['color'] != '') { | if ($row['color'] != '') { | ||||
$row['title'] = "<font color='".$row['color']."'>".$row['title']."</span>"; | |||||
$row['title'] = "<span style='".$row['color']."'>".$row['title']."</span>"; | |||||
} | } | ||||
if (preg_match('/c/', $row['flag'])) { | if (preg_match('/c/', $row['flag'])) { | ||||
$row['title'] = "<b>".$row['title']."</b>"; | $row['title'] = "<b>".$row['title']."</b>"; | ||||
@@ -403,7 +403,7 @@ class TagList | |||||
$row['fulltitle'] = $row['title']; | $row['fulltitle'] = $row['title']; | ||||
$row['title'] = cn_substr($row['title'], $titlelen); | $row['title'] = cn_substr($row['title'], $titlelen); | ||||
if ($row['color'] != '') { | if ($row['color'] != '') { | ||||
$row['title'] = "<font color='".$row['color']."'>".$row['title']."</span>"; | |||||
$row['title'] = "<span style='".$row['color']."'>".$row['title']."</span>"; | |||||
} | } | ||||
if (preg_match('/c/', $row['flag'])) { | if (preg_match('/c/', $row['flag'])) { | ||||
$row['title'] = "<b>".$row['title']."</b>"; | $row['title'] = "<b>".$row['title']."</b>"; | ||||
@@ -86,7 +86,7 @@ if (!function_exists('RndString')) { | |||||
if ($emname != 'font') { | if ($emname != 'font') { | ||||
$rnstr = " <$emname class='$rndstyleName'>$rnstr</$emname> "; | $rnstr = " <$emname class='$rndstyleName'>$rnstr</$emname> "; | ||||
} else { | } else { | ||||
$rnstr = " <font color='$fontColor'>$rnstr</span> "; | |||||
$rnstr = " <span style='$fontColor'>$rnstr</span> "; | |||||
} | } | ||||
$reString .= $rnstr.$body[$i]; | $reString .= $rnstr.$body[$i]; | ||||
$prepos = $i; | $prepos = $i; | ||||
@@ -252,9 +252,9 @@ if (!function_exists('ubb')) { | |||||
$Text = preg_replace("/\[url=(.+?)\](.+?)\[\/url\]/is", "<a href=\\1>\\2</a>", $Text); | $Text = preg_replace("/\[url=(.+?)\](.+?)\[\/url\]/is", "<a href=\\1>\\2</a>", $Text); | ||||
$Text = preg_replace("/\[img\](.+?)\[\/img\]/is", "<img src=\\1>", $Text); | $Text = preg_replace("/\[img\](.+?)\[\/img\]/is", "<img src=\\1>", $Text); | ||||
$Text = preg_replace("/\[img\s(.+?)\](.+?)\[\/img\]/is", "<img \\1 src=\\2>", $Text); | $Text = preg_replace("/\[img\s(.+?)\](.+?)\[\/img\]/is", "<img \\1 src=\\2>", $Text); | ||||
$Text = preg_replace("/\[color=(.+?)\](.+?)\[\/color\]/is", "<font color=\\1>\\2</span>", $Text); | |||||
$Text = preg_replace("/\[color=(.+?)\](.+?)\[\/color\]/is", "<font color=\\1>\\2</font>", $Text); | |||||
$Text = preg_replace("/\[style=(.+?)\](.+?)\[\/style\]/is", "<div class='\\1'>\\2</div>", $Text); | $Text = preg_replace("/\[style=(.+?)\](.+?)\[\/style\]/is", "<div class='\\1'>\\2</div>", $Text); | ||||
$Text = preg_replace("/\[size=(.+?)\](.+?)\[\/size\]/is", "<font size=\\1>\\2</span>", $Text); | |||||
$Text = preg_replace("/\[size=(.+?)\](.+?)\[\/size\]/is", "<font size=\\1>\\2</font>", $Text); | |||||
$Text = preg_replace("/\[sup\](.+?)\[\/sup\]/is", "<sup>\\1</sup>", $Text); | $Text = preg_replace("/\[sup\](.+?)\[\/sup\]/is", "<sup>\\1</sup>", $Text); | ||||
$Text = preg_replace("/\[sub\](.+?)\[\/sub\]/is", "<sub>\\1</sub>", $Text); | $Text = preg_replace("/\[sub\](.+?)\[\/sub\]/is", "<sub>\\1</sub>", $Text); | ||||
$Text = preg_replace("/\[pre\](.+?)\[\/pre\]/is", "<pre>\\1</pre>", $Text); | $Text = preg_replace("/\[pre\](.+?)\[\/pre\]/is", "<pre>\\1</pre>", $Text); | ||||
@@ -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='您的充值密码是:<font color="green">'.$cardid.'</span>'; | |||||
$oldinf='您的充值密码是:<span style="color:#28a745">'.$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'"; | ||||
@@ -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='您的充值密码是:<font color="green">'.$cardid.'</span>'; | |||||
$oldinf='您的充值密码是:<span style="color:#28a745">'.$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'"; | ||||
@@ -373,7 +373,7 @@ function lib_arclistDone (&$refObj, &$ctag, $typeid=0, $row=10, $col=1, $titlele | |||||
$row['imglink'] = "<a href='".$row['filename']."'>".$row['image']."</a>"; | $row['imglink'] = "<a href='".$row['filename']."'>".$row['image']."</a>"; | ||||
$row['fulltitle'] = $row['title']; | $row['fulltitle'] = $row['title']; | ||||
$row['title'] = cn_substr($row['title'], $titlelen); | $row['title'] = cn_substr($row['title'], $titlelen); | ||||
if ($row['color'] != '') $row['title'] = "<font color='".$row['color']."'>".$row['title']."</span>"; | |||||
if ($row['color'] != '') $row['title'] = "<span style='".$row['color']."'>".$row['title']."</span>"; | |||||
if (preg_match('#b#', $row['flag'])) $row['title'] = "<strong>".$row['title']."</strong>"; | if (preg_match('#b#', $row['flag'])) $row['title'] = "<strong>".$row['title']."</strong>"; | ||||
//$row['title'] = "<b>".$row['title']."</b>"; | //$row['title'] = "<b>".$row['title']."</b>"; | ||||
$row['textlink'] = "<a href='".$row['filename']."'>".$row['title']."</a>"; | $row['textlink'] = "<a href='".$row['filename']."'>".$row['title']."</a>"; | ||||
@@ -156,7 +156,7 @@ function lib_likearticle(&$ctag, &$refObj) | |||||
$row['imglink'] = "<a href='".$row['filename']."'>".$row['image']."</a>"; | $row['imglink'] = "<a href='".$row['filename']."'>".$row['image']."</a>"; | ||||
$row['fulltitle'] = $row['title']; | $row['fulltitle'] = $row['title']; | ||||
$row['title'] = cn_substr($row['title'], $titlelen); | $row['title'] = cn_substr($row['title'], $titlelen); | ||||
if ($row['color'] != '') $row['title'] = "<font color='".$row['color']."'>".$row['title']."</span>"; | |||||
if ($row['color'] != '') $row['title'] = "<span style='".$row['color']."'>".$row['title']."</span>"; | |||||
if (preg_match('#b#', $row['flag'])) $row['title'] = "<strong>".$row['title']."</strong>"; | if (preg_match('#b#', $row['flag'])) $row['title'] = "<strong>".$row['title']."</strong>"; | ||||
$row['textlink'] = "<a href='".$row['filename']."'>".$row['title']."</a>"; | $row['textlink'] = "<a href='".$row['filename']."'>".$row['title']."</a>"; | ||||
$row['plusurl'] = $row['phpurl'] = $GLOBALS['cfg_phpurl']; | $row['plusurl'] = $row['phpurl'] = $GLOBALS['cfg_phpurl']; | ||||
@@ -143,7 +143,7 @@ function lib_relation(&$ctag, &$refObj) | |||||
$row['imglink'] = "<a href='".$row['filename']."'>".$row['image']."</a>"; | $row['imglink'] = "<a href='".$row['filename']."'>".$row['image']."</a>"; | ||||
$row['fulltitle'] = $row['title']; | $row['fulltitle'] = $row['title']; | ||||
$row['title'] = cn_substr($row['title'], $titlelen); | $row['title'] = cn_substr($row['title'], $titlelen); | ||||
if (isset($row['color']) && $row['color'] != '') $row['title'] = "<font color='".$row['color']."'>".$row['title']."</span>"; | |||||
if (isset($row['color']) && $row['color'] != '') $row['title'] = "<span style='".$row['color']."'>".$row['title']."</span>"; | |||||
if (preg_match('#b#', $row['flag'])) $row['title'] = "<strong>".$row['title']."</strong>"; | if (preg_match('#b#', $row['flag'])) $row['title'] = "<strong>".$row['title']."</strong>"; | ||||
$row['textlink'] = "<a href='".$row['filename']."'>".$row['title']."</a>"; | $row['textlink'] = "<a href='".$row['filename']."'>".$row['title']."</a>"; | ||||
$row['plusurl'] = $row['phpurl'] = $GLOBALS['cfg_phpurl']; | $row['plusurl'] = $row['phpurl'] = $GLOBALS['cfg_phpurl']; | ||||
@@ -99,7 +99,7 @@ else if ($fmdo == 'user') { | |||||
$msg = CheckUserID($uid, $msgtitle, false); | $msg = CheckUserID($uid, $msgtitle, false); | ||||
} | } | ||||
if ($msg == 'ok') { | if ($msg == 'ok') { | ||||
$msg = "<font color='#4E7504'><b>√{$msgtitle}可以使用</b></span>"; | |||||
$msg = "<span style='color:#28a745'><b>√{$msgtitle}可以使用</b></span>"; | |||||
} else { | } else { | ||||
$msg = "<span style='color:#e74d58'><b>×{$msg}</b></span>"; | $msg = "<span style='color:#e74d58'><b>×{$msg}</b></span>"; | ||||
} | } | ||||
@@ -112,14 +112,14 @@ else if ($fmdo == 'user') { | |||||
AjaxHead(); | AjaxHead(); | ||||
if ($cfg_md_mailtest == 'N') { | if ($cfg_md_mailtest == 'N') { | ||||
$msg = "<font color='#4E7504'><b>√可以使用</b></span>"; | |||||
$msg = "<span style='color:#28a745'><b>√可以使用</b></span>"; | |||||
} else { | } else { | ||||
if (!CheckEmail($email)) { | if (!CheckEmail($email)) { | ||||
$msg = "<font color='#4E7504'><b>×Email格式有误</b></span>"; | |||||
$msg = "<span style='color:#28a745'><b>×Email格式有误</b></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 = "<font color='#4E7504'><b>√可以使用</b></span>"; | |||||
$msg = "<span style='color:#28a745'><b>√可以使用</b></span>"; | |||||
} else { | } else { | ||||
$msg = "<span style='color:#e74d58'><b>×Email已经被另一个帐号占用</b></span>"; | $msg = "<span style='color:#e74d58'><b>×Email已经被另一个帐号占用</b></span>"; | ||||
} | } | ||||
@@ -79,7 +79,7 @@ | |||||
<td align="center"><?php echo $fields['typename']; ?></td> | <td align="center"><?php echo $fields['typename']; ?></td> | ||||
<td align="center"><?php | <td align="center"><?php | ||||
if($fields['arcrank']>=0) echo "已审核"; | if($fields['arcrank']>=0) echo "已审核"; | ||||
else if($fields['arcrank']==-2) echo "<font color='blue'>被退回</span>"; | |||||
else if($fields['arcrank']==-2) echo "<span style='color:#007bff'>被退回</span>"; | |||||
else echo "<span style='color:#e74d58'>未审核</span>"; | else echo "<span style='color:#e74d58'>未审核</span>"; | ||||
?></td> | ?></td> | ||||
<td align="center"><?php echo $fields['click']; ?></td> | <td align="center"><?php echo $fields['click']; ?></td> | ||||
@@ -78,7 +78,7 @@ | |||||
<td align="center"><?php echo $fields['typename']; ?></td> | <td align="center"><?php echo $fields['typename']; ?></td> | ||||
<td align="center"><?php | <td align="center"><?php | ||||
if($fields['arcrank']>=0) echo "已审核"; | if($fields['arcrank']>=0) echo "已审核"; | ||||
else if($fields['arcrank']==-2) echo "<font color='blue'>被退回</span>"; | |||||
else if($fields['arcrank']==-2) echo "<span style='color:#007bff'>被退回</span>"; | |||||
else echo "<span style='color:#e74d58'>未审核</span>"; | else echo "<span style='color:#e74d58'>未审核</span>"; | ||||
?></td> | ?></td> | ||||
<td align="center"><?php echo $fields['click']; ?></td> | <td align="center"><?php echo $fields['click']; ?></td> | ||||
@@ -79,7 +79,7 @@ if($tagid !='') | |||||
$row['imglink'] = "<a href='".$row['filename']."'>".$row['image']."</a>"; | $row['imglink'] = "<a href='".$row['filename']."'>".$row['image']."</a>"; | ||||
$row['fulltitle'] = $row['title']; | $row['fulltitle'] = $row['title']; | ||||
$row['title'] = cn_substr($row['title'],$titlelen); | $row['title'] = cn_substr($row['title'],$titlelen); | ||||
if($row['color']!='') $row['title'] = "<font color='".$row['color']."'>".$row['title']."</span>"; | |||||
if($row['color']!='') $row['title'] = "<span style='".$row['color']."'>".$row['title']."</span>"; | |||||
if(preg_match('#b#', $row['flag'])) $row['title'] = "<strong>".$row['title']."</strong>"; | if(preg_match('#b#', $row['flag'])) $row['title'] = "<strong>".$row['title']."</strong>"; | ||||
//$row['title'] = "<b>".$row['title']."</b>"; | //$row['title'] = "<b>".$row['title']."</b>"; | ||||
@@ -10,7 +10,7 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td height="56" colspan='2'> | <td height="56" colspan='2'> | ||||
[field:description /]<font color='#8F8C89'>([field:stime /])</span> | |||||
[field:description /]<span>([field:stime /])</span> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||