打开default\forum下的discuz.htm文件
查找下面这一段代码
- <!--{subtemplate common/pubsearchform}-->
- <!--{ad/text/wp a_t}-->
- <style id="diy_style" type="text/css"></style>
- <div class="wp">
- <!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
- </div>
- <div id="ct" class="wp cl{if $_G['setting']['forumallowside']} ct2{/if}">
- <div id="chart" class="bm bw0 cl">
- <!--{if $_G['uid']}--><p class="y"><a href="home.php?mod=space&uid=$_G['uid']&do=thread&view=me" title="{lang my_posts}" class="xi2">{lang my_posts}</a><span class="pipe">|</span><a href="search.php?mod=forum&srchfrom=$newthreads&searchsubmit=yes" title="{lang show_newthreads}" class="xi2">{lang show_newthreads}</a></p><!--{/if}-->
- <p class="chart">{lang index_today}: <em>$todayposts</em><span class="pipe">|</span>{lang index_yesterday}: $postdata[0]<span class="pipe">|</span>{lang index_posts}: <em>$posts</em><span class="pipe">|</span>{lang index_members}: <em>$_G['cache']['userstats']['totalmembers']</em><!--{if $_G['setting']['lastmember']}--><span class="pipe">|</span>{lang welcome_new_members}: <em><a href="home.php?mod=space&username={echo rawurlencode($_G['setting']['lastmember'])}" target="_blank" class="xi2">$_G['setting']['lastmember']</a></em><!--{/if}--></p>
- </div>
复制代码
替换成:
- <style type="text/css">
- <!--
- .STYLE1 {color: #5367ED}
- -->
- </style>
- <div id="chart" class="bm bw0 cl">
- <!--{if $_G['uid']}-->
- <p class="y">
- <a href="home.php?mod=space&uid=$_G['uid']&do=thread&view=me" title="{lang my_posts}" class="xi2">{lang my_posts}</a><span class="pipe">|</span><a href="search.php?mod=forum&srchfrom=$newthreads&searchsubmit=yes" title="{lang show_newthreads}" class="xi2">{lang show_newthreads}</a></p><!--{/if}-->
- <p class="chart"><dt class="z">{lang index_today}: <em>$todayposts</em><span class="pipe">|</span>{lang index_yesterday}: $postdata[0]<span class="pipe">|</span>{lang index_posts}: <em>$posts</em><span class="pipe">|</span>{lang index_members}: <em>$_G['cache']['userstats']['totalmembers']</em><!--{if $_G['setting']['lastmember']}--><span class="pipe">|</span>{lang welcome_new_members}: <em><a href="home.php?mod=space&username={echo rawurlencode($_G['setting']['lastmember'])}" target="_blank" class="xi2">$_G['setting']['lastmember']</a></em><!--{/if}--></dt>
- <dt class="z">
- <span class="pipe">|</span></dt>
- <dt class="z">
- <img border="0" alt="乌托邦城市电台" src="{IMGDIR}/yinyue.gif" align="absMiddle" title="乌托邦城市电台" />:<SCRIPT type=text/javascript> if (window == top) {document.write ("<a href=music.php target=_top><font color=red>开启电台</font></a>");} else {document.write ("<a href=" + window.location.href + " target=_top><font color=red>关闭电台</font></a>");} </SCRIPT>
- <span class="STYLE1"></span> </dt>
- </p>
- </div>
- <!--{subtemplate common/pubsearchform}-->
- <!--{ad/text/wp a_t}-->
- <style id="diy_style" type="text/css"></style>
- <div class="wp">
- <!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
- </div>
- <div id="ct" class="wp cl{if $_G['setting']['forumallowside']} ct2{/if}">
复制代码
|