- 注册时间
- 2007-6-14
- 最后登录
- 2022-6-9
- 阅读权限
- 200
- 积分
- 8525
- 精华
- 17
- 帖子
- 5572
  
|
{template header} <!--/* 系统调用完header.htm头文件后,Discuz首页中间内容开始输出 */--> <div style="width: {TABLEWIDTH}; clear: both; overflow: hidden;"> <!--/* Discuz首页左上角个人信息开始*/--> <div class="left" style="line-height: 18px;"> <span class="bold"> <!--/* 在gid页面(以index.php?gid=xxx形式进入的页面)时,判断是否是会员, 如果只是游客(条件:$gid || !$discuz_uid),则输出:$bbname和个人空间相应的链接,否则输出: 用户名($discuz_user) 在这里,我们用可以用$gid来控制gid论坛指定列表的页面输出了。。*/--> <!--{if $gid || !$discuz_uid}--> <a href="$indexname">$bbname</a> <!--{else}--> <!--{if $supe['status']}--><a href="$supe[siteurl]" target="_blank">$supe['sitename']</a> - <!--{/if}--> $discuz_user <!--{/if}-->
<!--{if $discuz_uid}--> <!--/*如果是注册会员,*/--> <!--{if $spacestatus || $supe['status']}--> <!--/*如果$spacestatus 和 $supe['status']两个条件(个人信息显示和是否安装SS)有其中一个成立,则输出“个人空间”的链接*/--> - <a href="space.php?uid=$discuz_uid" target="_blank">{lang space}</a> <!--{/if}-->
<!--{if $supe['status'] && !$xspacestatus}--> <!--/*如果已经安装SS或者X-SPACE程序*/--> <!--{if $spacestatus}--> <!--/*如果已经开通个人空间,则输出“升级个人空间”、否则输出“开通个人空间”的链接*/--> - <a href="$supe[siteurl]/index.php?action/register" target="_blank">{lang space_upgrade_space}</a> <!--{else}--> - <a href="$supe[siteurl]/index.php?action/register" target="_blank">{lang supe_signin_xspace}</a> <!--{/if}--> <!--{/if}--> <!--{/if}--> </span>
<br> {lang credits}: <span class="bold smalltxt">$credits</span> <span id="creditlist">{lang credits_detail}<script type="text/javascript">menuregister(false, "creditlist", true)</script></span> / {lang index_status}: <!--{if $validdays}--> <!--/*如果用户组有日期限制的,输出的用户组后面带有相应的日期,否则直接输出用户组名称*/--> <a href="member.php?action=groupexpiry"><span class="bold">$grouptitle</span>($validdays)</a> <!--{else}--> <span class="bold">$grouptitle</span> <!--{/if}--> <!--{if $allowinvisible && $discuz_uid}--> <!--/*如果当前会员为注册会员,并且拥有隐身的权限,则输出详细的在线状态:在线模式、隐身模式,并带上两个状态切换的链接*/--> {lang online_status}: <!--{if !empty($invisible)}--> <a href="member.php?action=switchstatus" title="{lang login_switch_normal_mode}">{lang login_invisible_mode}</a> <!--{else}--> <a href="member.php?action=switchstatus" title="{lang login_switch_invisible_mode}">{lang login_normal_mode}</a> <!--{/if}--> <!--{/if}--> <br> {lang your_lastvisit} <span class="smalltxt">$lastvisittime</span><br> </div> <!--/* Discuz首页左上角个人信息结束 */--> <!--/* Discuz首页右上角论坛基本信息开始 */--> <div class="right" style="line-height: 18px;"> <a href="search.php?srchfrom=$newthreads&searchsubmit=yes">{lang show_newthreads}</a> | <a href="digest.php">{lang digest}</a> | <a href="member.php?action=markread">{lang mark_read}</a> <!--{if $rssstatus}--><a href="rss.php?auth=$rssauth" target="_blank"><img src="images/common/xml.gif" border="0" class="absmiddle" alt="{lang rss_subscribe_all}" /></a><!--{/if}--> <br> {lang total} <span class="smalltxt">$threads</span> {lang index_threads} / <span class="smalltxt">$posts</span> {lang index_posts} / {lang index_today} <span class="smalltxt">$todayposts</span> {lang index_posts}<br> {lang total} <span class="smalltxt">$totalmembers</span> {lang index_members} / {lang welcome_newmember} <a href="space.php?username=$memberenc"><span class="bold">$lastmember</span></a> </div> </div><br> <!--/* Discuz首页右上角论坛基本信息结束 */--> <!--/* Discuz首页公告、Qihoo搜索模块开始*/--> <!--{if empty($gid)}--> <!--/*没有在没有接到URL传递到的$gid值的条件下(也就是在非指定论坛列表的页面下),输出公告和Qihoo搜索的内容 */--> <!--{if !empty($announcements)}--> <!--/*如果公告变量$announcements非为空,则输出公告内容,并用javascript控制其滚动 */--> <div id="announcement">$announcements</div><script type="text/javascript">announcement();</script> <!--{/if}--> <!--/* Discuz首页Qihoo搜索模块开始*/--> <!--{if !empty($qihoo_status) && $searchboxstatus}--> <div class="subtable" style="clear: both; width: {TABLEWIDTH}"> <div class="right"> <form method="post" action="search.php?srchtype=qihoo" > <input type="hidden" name="searchsubmit" value="yes"> <input type="text" name="srchtxt" value="$qihoo_searchboxtxt" size="30" class="input" style="{BGCODE};" > <select name="stype"><option value="" selected>{lang qihoo_search_filltext}</option><option value="1">{lang qihoo_search_title}</option><option value="2">{lang qihoo_search_author}</option></select> <input name="searchsubmit" class="button" type="submit" value="{lang search}"> </form> </div> <!--{if $qihoo_links['keywords']}--> <span class="bold">{lang qihoo_hot_searches}</span> <!--{loop $qihoo_links['keywords'] $link}--> $link <!--{/loop}--> <!--{/if}--> </div> <div class="subtable" style="clear: both; width: {TABLEWIDTH}"> <div class="right"> <!--{if $customtopics}--> <span class="bold">{lang qihoo_custom_topics}</span> $customtopics [<a href="###" >{lang edit}</a>] <!--{/if}--> </div> <!--{if $qihoo_links['topics']}--> <span class="bold">{lang qihoo_topics}</span> <!--{loop $qihoo_links['topics'] $url}--> {$url} <!--{/loop}--> <!--{/if}--> </div> <!--{/if}--> <!--/* Discuz首页Qihoo搜索模块结束*/--> <!--{/if}--> <!--/* Discuz首页公告、Qihoo搜索模块模块结束*/--> <!--/* Discuz首页信息提示模块开始*/--> <!--{if !empty($newpmexists) || $announcepm}--> <!--/*用户短信息数组为非空,或者公共消息(后台统一发送)数组非空,则调用pmprompt.htm模板,实现首页的短信提示*/--> <div style="clear: both; margin-top: 5px"> {template pmprompt} </div> <!--{/if}--> <!--/* Discuz首页信息提示模块结束*/--> <!--/* Discuz首页广告模块开始*/--> <!--{if !empty($advlist['text'])}--> <!--/*如果广告类型为:text的数组为非空,则输出面页广告*/--> <div style="clear: both; margin-top: 5px;"> <div class="spaceborder" style="width: {TABLEWIDTH}"> <table cellspacing="1" border="0" cellpadding="{TABLESPACE}" width="100%" style="background: {BGBORDER}">$advlist[text]</table> </div><br></div> <!--{/if}--> <!--/* Discuz首页广告模块结束*/--> <!--/* Discuz首页X-SPACE热点导读模块开始*/--> <!--{if $supe['status'] && $supe['items']['status'] && $_DCACHE['supe_updateitems']}--> <div style="clear: both; margin-top: 5px;"> <div class="spaceborder" style="width: {TABLEWIDTH}"> <table cellspacing="0" border="0" cellpadding="{TABLESPACE}" width="100%"> <tr><td colspan="$supe[items][columns]" class="header" style="padding-left:20px"> <div class="subtable" style="padding: 0px"><a href="$supe[siteurl]" target="_blank">{lang supe_updateitems}</a></div> </td></tr> <script language="javascript">$_DCACHE['supe_updateitems']</script></table> </div></div> <!--{/if}--> <!--/* Discuz首页X-SPACE热点导读模块结束*/--> <!--/* Discuz首页版块列表模块开始*/--> <!--{loop $catlist $key $cat}--> <!--{if $cat['forumscount']}--> <div class="spaceborder spacebottom" style="width: {TABLEWIDTH}; clear: both; margin-top: 5px;"> <table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%" align="center"> <tr> <td colspan="<!--{if $cat['forumcolumns']}-->$cat[forumcolumns] <!--{else}-->7 <!--{/if}-->" class="header" style="padding-left:20px"> <div class="subtable" style="padding: 0px"> <div class="right"> <!--{if $cat['moderators']}--> <font color="{HEADERTEXT}">{lang forum_category_modedby}: $cat[moderators]</font> <!--{/if}--> <a href="###" > <img id="category_$cat[fid]_img" src="{IMGDIR}/$cat[collapseimg]" border="0" alt="" /></a> </div> <a href="$indexname?gid=$cat[fid]">$cat[name]</a> </div> </td> </tr>
|
|