建站學(xué)院(LieHuo.Net)BBS程序美化 目前這個(gè)小美化還有一些問題,比如禁言某會(huì)員后,帖子雖看不了,但是會(huì)顯示此文章來源,如何禁止這一顯示,這個(gè)估計(jì)應(yīng)該修改那個(gè)read.php文件了,希望高手可以來繼續(xù)完善。
修改方法,找到read.htm文件,搜索
<!-- EOT; }if($read['subject'] || $db_union[2]){print <<<EOT --> |
刪除掉下面的這句代碼: <span id="subject_$read[pid]">$db_union[2]$read[icon]$read[subject]</span> |
然后在這個(gè)位置增加:
以下為引用的內(nèi)容: <!--++ 題目修改開始--> <span id="subject_$read[pid]"><center><font style="font-size:22px;line-height:120%;background:#E8F3FD">$read[icon]$read[subject]</font></center></span> </h1> <div align=center> 本文來自: <font color=blue>洋蔥頭社區(qū)</font> 作者: <font color=red>$read[author]</font> 發(fā)表于: $read[posttime] 閱讀: <font color=blue>$read[hits]</font> 人 <a class="fn" style="cursor:pointer;" onclick="Addtoie('$db_bbsurl/read.php?fid=$fid&tid=$tid','$db_bbsname_a--$favortitle');">收藏</a> <a class="fn" href="$db_bbsurl/simple/index.php?t{$tid}.html"> 打印</a> <a style="cursor:pointer" onclick="fontsize('small','$read[pid]')">小</a> <a style="cursor:pointer" onclick="fontsize('middle','$read[pid]')">中</a> <a style="cursor:pointer" onclick="fontsize('big','$read[pid]')">大</a> <hr width="95%" style="BORDER-BOTTOM-STYLE: dotted; BORDER-LEFT-STYLE: dotted; BORDER-RIGHT-STYLE: dotted; BORDER-TOP-STYLE: dotted" color=#000000 size=1> </div> <h1 class="b"> <!--++ 題目修改結(jié)束--> |