数据加载中……


 

 登   陆

我的分类(专题)
数据加载中……

链接

Blog信息
数据加载中……

 



bbsxp论坛代码优化-改变帖子签名默认的猥琐字体
樱木花盗 发表于 2008-1-18 10:53:42

唉,改学校论坛代码麻烦死了。。一升级又要重新改。。。找又不好找到,记之!

http://bbs.yuzi.net/ShowPost.asp?ThreadID=725565

ShowPost.asp

添加以下红色代码,可以自己设置字体大小和颜色。

<div class="ForumPostBodyArea">
    <%
    if Rs("UserAccountStatus")=2 then
      Response.Write "==============================<br>   <font color=RED>该用户帐号已被禁用   </font><br>=============================="
    else
      if Subject<>"" then response.write "<div class=ForumPostTitle>"&Subject&"</div>"
      response.write "<div class=ForumPostContentText>"&Body&"</div>"
     
      if SiteConfig("EnableSignatures")=1 and SiteConfig("AllowSignatures")=1 then
       if Rs("UserSign")<>"" then response.write " <FONT SIZE=4 COLOR=#336699> <div class=ForumPostSignature>"&YbbEncode(Rs("UserSign"))&"</div> </FONT> "
      end if
    end if
    %> </div>

</div>


阅读全文 | 回复(1) | 引用通告 | 编辑
 


发表评论:

    昵称:
    密码: (游客无须输入密码)
    主页:
    标题:
    数据加载中……


Powered by Oblog.