这个是templates\showqian\discuz.htm:- {template header}
- <!--content START-->
- <div id="wrapper">
- <div style="height:24px;padding:2px 0px 5px 0px;">
- <div style="float:left;color:#666666;"> <img src='{IMGDIR}/nav.gif' alt="" /></div>
- <div id="submenu" style="height:24px;overflow:hidden; float:left;"> <a href='$indexname'>$bbname</a></div>
- <!--submenu END-->
- <div style="float:left;"><a href="#" onClick="location.reload();"><img src="{IMGDIR}/refresh.gif" alt="" /></a></div>
- </div>
- </div>
- <div style="float:left;width:695px;">
- <!--Rightmenu Start-->
- <!--Announcement START-->
- <!--{if !empty($announcements)}-->
- <div style="height:18px;width:695px;padding:0px 0px 5px 0px"> <img src="{IMGDIR}/alert.gif" style="vertical-align:middle;float:left;" alt="" />
- <div id="mq_div" style="width:680px;height:18px;overflow:hidden;text-align:left;float:left;">
- <div id="mq_cont" style="line-height:18px;">
- <div class="annc"> <b>论坛公告: $announcements</b></div>
- </div>
- </div>
- <script type="text/javascript">
- <!--
- var speed = 4000;
- var mqdiv = document.getElementById('mq_div');
- var mqcont = document.getElementById('mq_cont');
- var MyMar=setInterval(Marquee,speed)
- function Marquee(){
- var mqline = parseInt(mqcont.style.lineHeight);
- if(mqdiv.scrollTop + mqline >= mqcont.offsetHeight) mqdiv.scrollTop = 0;
- else mqdiv.scrollTop += mqline;
- }
- mqdiv.onmouseover=function() {clearInterval(MyMar)}
- mqdiv.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
- //-->
- </script>
- </div>
- <!--Announcement END-->
- <!--{/if}-->
- <!--论坛统计 START-->
- <div style="margin-bottom:5px;">
- <div id="fstats">
- <div style="padding:5px 0px 0px 110px;text-align:left;">
- <div style="padding:1px"> 新进会员: <b><a href='space.php?username=$memberenc'><span style='color:#4D97C0;font-weight:bold;'>$lastmember</span></a></b> </div>
- <div style="padding:1px"> 主题总数: <b>$threads</b>
- 帖子总数: <b>$posts</b>
- 会员总数: <b>$totalmembers</b> 今日发帖: <span style='color:red;font-weight:bold;'>$todayposts</span></div>
- </div>
- </div>
- </div>
- <!--论坛统计 END-->
- <div class="wgborder" style="max-width:695px;padding-bottom:5px;">
- <script type="text/javascript" src="include/javascript/tabcontent.js"></script>
- <ul id="maintab" class="shadetabs">
- <li class="selected"><a href="#" rel="tcontent1"><img src="{IMGDIR}/s_news.gif" alt="" /></a></li>
- <li><a href="#" rel="tcontent2"><img src="{IMGDIR}/s_topic.gif" alt="" /></a></li>
- <li><a href="#" rel="tcontent3"><img src="{IMGDIR}/r_topic.gif" alt="" /></a></li>
- <li><a href="#" rel="tcontent4"><img src="{IMGDIR}/w_topic.gif" alt="" /></a></li>
- </ul>
- <div class="tabcontentstyle">
- <div id="tcontent1" class="tabcontent">
- <!--Tab 1 Start-->
- <div style="margin-left:2px;border:4px solid #E4E4E4;">
- <!--Bold Border Start-->
- <div style="width:668px;height:228px;">
- <!--slidenews Start-->
- <div style="margin:4px 6px 0px 2px;float:left;">
- <!--会员登陆-->
- <div style="width:149px;height:180px;border-right:1px solid #CCCCCC;margin-top:8px;">
- <!--{if $discuz_uid}-->
- <div style="padding:8px 0px 0px 0px;">
- <div style="text-align:center;"><a href="space.php?uid=$discuz_uid" title='查看个人资料'> <b>$discuz_userss</b></a> <span class="time">UID: $discuz_uid</span><br /><br />
- <div style="text-align:center;"><img src="{IMGDIR}/picon/login_lev.gif" style="vertical-align:middle;" alt="" /><b>$grouptitle</b><img src="{IMGDIR}/picon/login_lev.gif" style="vertical-align:middle;" alt="" /></div>
- </div>
- <div style="padding-left:15px;">
- <div>
- <img src="{IMGDIR}/picon/login_rep.gif" style="vertical-align:middle;" alt="" /> 我的积分:<b>$credits</b> <br />
- <img src="{IMGDIR}/picon/login_que.gif" style="vertical-align:middle;" alt="" /> 我的精华:<b>$digestposts</b><br />
- <img src="{IMGDIR}/picon/login_que.gif" style="vertical-align:middle;" alt="" /> 我的威望:<b>$extcredits1</b><br />
- <img src="{IMGDIR}/picon/login_mon.gif" style="vertical-align:middle;" alt="" /> 我的金钱:<b>$extcredits2</b> <br />
- <img src="{IMGDIR}/picon/login_post.gif" style="vertical-align:middle;" alt="" /> 我的贡献:<b>$extcredits3</b> <br />
- <img src="{IMGDIR}/picon/login_msg.gif" style="vertical-align:middle;" alt="" /> <a href='pm.php'>我的讯息:<b><!--{if $newpm ==0}-->0<!--{else}--><font color="#FF0000">$newpmnum</font><!--{/if}--></b>/$pm_inbox</a><br />
- <a href="$link_logout"> <span style="color:#646464;font-weight:normal">〔退 出〕</span></a> </div>
- </div>
- </div>
- <!--{else}-->
- <form method="post" name="login" action="logging.php?action=login">
- <div style="padding:10px 0px 0px 10px;">
- <div>
- <input type="hidden" name="formhash" value="{FORMHASH}">
- <input type="hidden" name="referer" value="$referer">
- <div style="padding-top:5px">
- <input type="text" name="username" size="20" maxlength="15" tabindex="2" onFocus="if (this.value == '用户名') this.value = ''" value="用户名" class='poinput'>
- </div>
- <div style="padding-top:5px;">
- <input type="password" class="poinput" name="password" size="20" tabindex="3" onFocus="if (this.value == 'password') this.value = ''" value="password">
- </div>
- <div style="padding-top:5px;">
- <INPUT type=hidden value="登 陆" name="loginsubmit">
- <input type="image" src="{IMGDIR}/login_button.gif" class="sotimelogin">
- </div>
- <div style="padding-top:5px;"> <a href="register.php"> <img src="{IMGDIR}/login_reg.gif" width="76" height="18" alt="" /></a><br />
- <a href="member.php?action=lostpasswd"> <img src="{IMGDIR}/login_pw.gif" width="76" height="18" alt="" /></a> </div>
- </div>
- </div>
- </form>
- <!--{/if}-->
- <!--login END-->
- </div>
- <!--logged END-->
- <!--会员登陆完-->
- </div>
- <!--Login Section End-->
- <!--Slidenews Message Start-->
- <div style="float:left;width:505px;height:195px;margin:4px 0px 4px 0px;">
- <div id="slidenews">
- <iframe src="pic.htm" width="505" height=195 marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
- </div>
- </div>
- <!--Slidenews Message End-->
- </div>
- <!--Bold Border END-->
- </div>
- <!--topboard End-->
- </div>
- <!--Tab 1 End-->
- <div id="tcontent2" class="tabcontent">
- <!--Tab 2 Start-->
- <div style="margin-left:2px;border:4px solid #ececec;">
- <!--Bold Border Start-->
- <!--最新主题-->
- <div style="width:520px;height:100%">
- <div style="width:658px;height:212px;">
- <div class="replylist"></div>
- <div class="replyctext">{subject}</div>
- <div class="replyu">{author}</div>
- <div class="replydtext">{dateline}</div>
- <div class="replyntext">{replies}</div>
- <div class="replyntext">{views}</div>
- </div> <table width='100%' border='0' cellspacing='0' cellpadding='0'>
- <tr>
- <td>{eval request('threads_new 最新主题');}</td>
- </tr>
- </table>
- </div>
- </div>
- <!--最新主题完-->
- </div>
- <!--Bold Border End-->
- </div>
- <!--Tab 2 End-->
- <div id="tcontent3" class="tabcontent">
- <!--Tab 3 Start-->
- <div style="margin-left:2px;border:4px solid #ececec;">
- <!--Bold Border Start-->
- <!--最新回复-->
- <div style="width:520px;height:100%">
- <div style="width:658px;height:212px;margin:6px 0px 10px 6px;text-align:left;">
- <div class="replylist">
- <div class="replyctext">最新回复标题</div>
- <div class="replyu">作者</div>
- <div class="replydtext">最后发表</div>
- <div class="replyntext">回复</div>
- <div class="replyntext">查看</div>
- </div>
- <table width='100%' border='0' cellspacing='0' cellpadding='0'>
- <tr>
- <td>{eval request('threads_new 最新回复');}</td>
- </tr>
- </table>
- </div>
- <!--最新回复完-->
- </div>
- <!--Bold Border End-->
- </div>
- <!--Tab 3 End-->
- </div>
- <div id="tcontent4" class="tabcontent">
- <!--Tab 4 Start-->
- <div style="margin-left:2px;border:4px solid #ececec;">
- <!--Bold Border Start-->
- <!--本周热门-->
- <div style="width:520px;height:100%">
- <div style="width:658px;height:212px;margin:6px 0px 10px 6px;text-align:left;">
- <div class="replylist">
- <div class="replyctext">本周热门标题</div>
- <div class="replyu">作者</div>
- <div class="replydtext">最后发表</div>
- <div class="replyntext">回复</div>
- <div class="replyntext">查看</div>
- </div>
- <table width='100%' border='0' cellspacing='0' cellpadding='0'>
- <tr>
- <td>{eval request('default_hotthreads');}</td>
- </tr>
- </table>
- </div>
- </div>
- <!--本周热门完-->
- </div>
- <!--Bold Border End-->
- </div>
- <!--Tab 2 End-->
- </div>
- <!--tabcontentstyle END-->
- <script type="text/javascript">
- //Start Tab Content script for UL with id="maintab" Separate multiple ids each with a comma.
- initializetabcontent("maintab")
- </script>
- <div id="forumlist1">
- <div style="text-align:right;padding:3px 3px 0px 0px;"> <img src="{IMGDIR}/getread.gif" style="vertical-align:middle;" alt="" /> <a href="member.php?action=markread">标记所有论坛为已读</a> | <img src="{IMGDIR}/getnew.gif" style="vertical-align:middle;" alt="" /> <a href="search.php?srchfrom=$newthreads&searchsubmit=yes">查看新贴</a> | <img src="{IMGDIR}/getq.gif" style="vertical-align:middle;" alt="" /> <a href="digest.php">精华区</a> </div>
- </div>
- <!--Forumlist END-->
- <!--{loop $catlist $key $cat}-->
- <!--{if $cat['forumscount']}-->
- <!--{if $cat['moderators']}-->
- <!--{/if}-->
- <div class="thead2" style="margin-left:3px;"><a href="$indexname?gid=$cat[fid]">$cat[name]</a></div>
- <table width="100%" border="0" cellspacing="0" cellpadding="4" class="ttable1">
- <!--{if !$cat['forumcolumns']}-->
- <tbody>
- <!--{loop $cat[forums] $forumid}-->
- <!--{eval $forum=$forumlist[$forumid];}-->
- <tr>
- <td class="brow01"><div style="width:260px;">
- <div style="float:left;width:93px;">
- <!--Area logo-->
- <!--{if $forum['icon']}-->
- $forum[icon]
- <!--{/if}-->
- </div>
- <div style="float:left;width:167px;">
- <!--Area Content-->
- <b><a spry:hover="text-decoration:none;color:#465584;background-color:inherit;" href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a></b>
- <div>$forum[description]</div>
- <div class="lastthread" style="clear:both;"><a title="发布时间: $forum[lastpost][dateline]{LF}完整标题: $forum[lastpost][subject]" href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost"><font color="#1266CE">$forum[lastpost][subjectsc]</font></a></div>
- <div class="lastposter" style="vertical-align:middle;float:left">
- <!--{if $forum['lastpost']['author']}-->
- $forum['lastpost']['author']
- <!--{else}-->
- {lang guest}
- <!--{/if}-->
- </div>
- <div class="time" style="line-height:14px;float:left"> » $forum[lastpost][dateline]</div>
- <div class="miniarea" style="clear:both;"><img src="{IMGDIR}/topic.gif" /> $forum[threads] <img src="{IMGDIR}/post.gif" /> $forum[posts]<img src="{IMGDIR}/today.gif" /><b><font color="#FF0066">$forum[todayposts]</font></b></div></td>
- </tr>
- <!--{if $forum['permission'] == 1}-->
- </tbody>
- <tr>
- <td align="center"><span class="smalltxt">{lang private_forum}</span></td>
- <!--{else}-->
- <!--{if is_array($forum['lastpost'])}-->
- <!--{else}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--{/loop}-->
- <!--{else}-->
- <!--{loop $cat['forums'] $forumid}-->
- <!--{eval $forum=$forumlist[$forumid];}-->
- <!--{if $forum['orderid'] && ($forum['orderid'] % $cat['forumcolumns'] == 0)}-->
- <!--{if $forum['orderid'] < $cat['forumscount']}-->
- </tr>
- <tr>
- <!--{/if}-->
- <!--{/if}-->
- <td class="brow01"><div style="width:275px;height:auto;">
- <div style="float:left;width:93px;">
- <!--Area logo-->
- <!--{if $forum['icon']}-->
- $forum[icon]
- <!--{/if}-->
- </div>
- <div style="float:left;">
- <!--Area Content-->
- <b><a spry:hover="text-decoration:none;color:#465584;background-color:inherit;" href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a></b>
- <div>$forum[description]</div>
- <div class="lastthread" style="clear:both;"><a title="发布时间: $forum[lastpost][dateline]{LF}完整标题: $forum[lastpost][subject]" href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost"><font color="#1266CE">$forum[lastpost][subjectsc]</font></a></div>
- <div class="lastposter" style="vertical-align:middle;float:left">
- <!--{if $forum['lastpost']['author']}-->
- $forum['lastpost']['author']
- <!--{else}-->
- {lang guest}
- <!--{/if}-->
- </div>
- <div class="time" style="line-height:14px;float:left"> » $forum[lastpost][dateline]</div>
- <div class="miniarea" style="clear:both;"><img src="{IMGDIR}/topic.gif" /> $forum[threads] <img src="{IMGDIR}/post.gif" /> $forum[posts]<img src="{IMGDIR}/today.gif" /><b><font color="#FF0066">$forum[todayposts]</font></b></div><!--{/loop}-->$cat['endrows']<!--{/if}-->
- </td></tr></tbody></table>
- <!--{/if}-->
- <!--{/loop}-->
- </div>
- <!--wgborder END-->
- </div>
- <!--Leftmenu END-->
- <div style="float:left;">
- <!--Rightmenu START-->
- <!--论坛消息 START-->
- <div id="farea"></div>
- <div class="blogc2">
- <div style="padding:8px 0px 8px 10px">
- <script type="text/javascript" src="include/javascript/areaslide.js"></script>
- <script type="text/javascript">new fadeshow(fadeimages, 244, 188, 0, 3000, 1, "R")</script>
- </div>
- </div>
- <!--论坛消息 END-->
- <!--会员排行 START
- <div id="factive"></div>
- <div class="blogc2">
- <div style="text-align:left;width:244px;padding:2px 0px 0px 5px ;">
- <script src="include/javascript/prototype.js" type="text/javascript"></script>
- <SCRIPT language=javascript type=text/javascript>
- function display(num){
- for(var i=1;i<20;i++){
- if(i!=num){
- $("width_li"+i).style.display = "none";
- $("narrow_li"+i).style.display = "";
- }else{
- $("width_li"+i).style.display = "";
- $("narrow_li"+i).style.display = "none";
- }
- }
- }
- </SCRIPT>
- <DIV id=member_right>
- <DIV id=membertopten>
- <DIV class=toptenbox>
- <UL>
- {eval request('member_rank_top');}
- {eval request('member_rank');}
- </UL></DIV></DIV></DIV>
- </div>
- </div>
- 會員排行 END-->
- <!--会员调查 START-->
- <div id="fsurvey" style="clear:both;"></div>
- <div class="blogc2">
- <div style="text-align:center;">
- {eval request('default_hotmembers');}<br />
- </div>
- </div>
- <!-- 广告服务 START-->
- <div id="forumad"></div>
- <div class="blogc2">
- <div style="text-align:center;padding:10px 0px 10px 0px;">
- <!--Love Cat Start-->
- $advlist[headerbanner]
- <!--Love Cat END-->
- </div>
- </div>
- <!-- 广告服务 END-->
- <!--部落格交流板 START
- <div id="blogc1"></div>
- <div class="blogc2" style="height:245px;">
- {eval request('member_rank');}
- </div>
- 部落格交流板完 END-->
- <div id="forumco"></div>
- <div class="blogc2">
- <!--论坛联盟 START-->
- <div style="text-align:center;padding:3px 0px 0px 5px;width:244px;">
- <!--{if $_DCACHE['forumlinks']}-->
- <!--{loop $_DCACHE['forumlinks'] $flink}-->
- <div class="brow4" style="padding:2px;">$flink[content]</div>
- <!--{/loop}-->
- <!--{/if}-->
- <div style="text-align:center">
- <a href="#" onClick="window.open('post.php?action=newthread&fid=16','_self')"><img src="{IMGDIR}/blogun.gif" alt="" /></a>
- </div>
- </div>
- <!--论坛联盟 END-->
- </div>
- <div class="rightb"></div>
- </div>
- <!--Leftmenu END-->
- <div style="clear:both;">
- <div class="wttborder">
- <!--{if empty($gid) && ($whosonlinestatus)}-->
- <!--{if $whosonlinestatus}-->
- <table width='100%' cellpadding='4' cellspacing='1' class='ttable2'>
- <!--{if $detailstatus}-->
- <tbody>
- <tr>
- <td colspan='2' class='thead'> <img class='inline' src='{IMGDIR}/nav_m.gif' alt='' /> <b>在线会员</b> </td>
- </tr>
- <tr>
- <td class='tcat' colspan='2'><div style='float:right;width:auto'><a href='$indexname?showoldetails=no#online'><img src='{IMGDIR}/collapse.gif' alt='' /></a></div>
- <a href='member.php?action=online'>当前在线用户</a>: $onlinenum <span style="font-weight:normal;">游客: <b>$guestcount</b>, 会员: <b>$membercount</b>( $invisiblecount 人隐身 ) | 最高有 $onlineinfo[0] 人同时在线,发生于 $onlineinfo[1]。</span></td>
- </tr>
- </tbody>
- <!--{else}-->
- <tbody>
- <tr>
- <td colspan='2' class='thead'> <img class='inline' src='{IMGDIR}/nav_m.gif' alt='' /> <b>在线会员</b> </td>
- </tr>
- <tr>
- <td class='tcat' colspan='2'><div style="float:right"><a href='$indexname?showoldetails=yes#online'><img src='{IMGDIR}/expand.gif' alt='' /></a></div>
- <div align='left'><a href='member.php?action=online'>当前在线用户</a>: $onlinenum | 最高有 $onlineinfo[0] 人同时在线,发生于 $onlineinfo[1]。</div></td>
- </tr>
- </tbody>
- <!--{/if}-->
- <tr>
- <td class='brow4' style="text-align:center;"><img src="{IMGDIR}/online.gif" alt="" /></td>
- <td class='brow4'>
- <div>$_DCACHE[onlinelist][legend]</div>
- <!--{if $detailstatus}-->
- <hr />
- <table width="100%" cellpadding='2' cellspacing='0'>
- <tbody>
- <tr>
- <td><!--{if $whosonline}-->
- <!--{loop $whosonline $key $online}-->
- <!--{if $key % 7 == 0}--></td>
- </tr>
- </tbody>
- <tr>
- <td width="15%" nowrap="nowrap"><!--{else}--></td>
- <td width="15%" nowrap="nowrap"><!--{/if}-->
- <img src="images/common/$online[icon]" alt="" />
- <!--{if $online['uid']}-->
- <a href="space.php?uid=$online[uid]"
- <!--{else}-->
- <a href="###"
- <!--{/if}-->
- title="{lang time}: $online[lastactivity]{LF}
- {lang action}: $online[action]
- <!--{if $online['fid']}-->
- {LF}{lang forum}: $online[fid]
- <!--{/if}-->
- ">$online[username]</a>
- <!--{/loop}-->
- <!--{else}-->
- {lang online_only_guests}
- <!--{/if}-->
- <!--{/if}-->
- </td>
- </tr>
- </table>
- </table>
- <!--{/if}-->
- <!--{/if}--></div>
- </div>
- <!--content END-->
- {template footer}
复制代码 |