|
read.htm
查找
替换为
<strong>
<!--
EOT;
if($read['groupid']==3){
print <<<EOT
-->
</strong>
<div style="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FILTER: glow(color=red,strength=4); PADDING-BOTTOM: 1px; COLOR: white; PADDING-TOP: 1px; HEIGHT: 16px">
<strong>$read[author]</strong></div>
</div>
<strong>
<!--
EOT;
}else if($read['groupid']==4){
print <<<EOT
-->
</strong>
</div>
<div style="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FILTER: glow(color=orangered,strength=4); PADDING-BOTTOM: 1px; COLOR: white; PADDING-TOP: 1px; HEIGHT: 16px">
<strong>$read[author]</strong></div>
</div>
<strong>
<!--
EOT;
}else if($read['groupid']==5){
print <<<EOT
-->
</strong>
</div>
<div style="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FILTER: glow(color=royalblue,strength=4); PADDING-BOTTOM: 1px; COLOR: white; PADDING-TOP: 1px; HEIGHT: 16px">
<strong>$read[author]</strong></div>
</div>
<strong>
<!--
EOT;
}else if($read['groupid']==16){
print <<<EOT
-->
</strong>
</div>
<div style="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FILTER: glow(color=deeppink,strength=4); PADDING-BOTTOM: 1px; COLOR: white; PADDING-TOP: 1px; HEIGHT: 16px">
<strong>$read[author]</strong></div>
</div>
<strong>
<!--
EOT;
}else {
print <<<EOT
-->
</strong>
</div>
<div style="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FILTER: glow(color=black,strength=4); PADDING-BOTTOM: 1px; COLOR: white; PADDING-TOP: 1px; HEIGHT: 16px">
<strong>$read[author]</strong></div>
</div>
<strong>
<!--
EOT;
}
print <<<EOT
-->
这样本来就可以了,但默认的是否在线那个图标就不美观了,我们吧它换个位置,我放在了几星会员的后面,当然你可以放在金钱威望一排,像5.3那样。
所以
然后查找
<!--
EOT;
if($db_showonline && $read[thisvisit]+$db_onlinetime*1.5>$timestamp){print <<<EOT
-->
<img src="$imgpath/$stylepath/read/online.gif" alt="该用户目前在线" align="absmiddle" />
<!--
EOT;
}elseif($db_showonline){print <<<EOT
-->
<img src="$imgpath/$stylepath/read/offline.gif" alt="该用户目前不在线" align="absmiddle" />
<!--
EOT;
}print <<<EOT
-->
放在
<img style="margin:.2em 0 .6em" src="$imgpath/$stylepath/level/$read[lpic].gif" />
和
的中间
就可以了。 |
|