📄 _index.php
字号:
<? include getData('bbs_header'); ?>
<TABLE cellSpacing=1 cellPadding=1 width="96%" bgColor="<?=$sty_bordercolor?>">
<TBODY>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=3 width="100%">
<TBODY>
<TR class='header'>
<TD vAlign=center width="50%"><B><FONT
color=#ffffff><b><?=$union_user?></b> 欢迎您回来!
<? if($lastvisits) { ?>
您上一次访问的时间是 <?=$lastvisits?>
<? } ?>
</FONT></B></TD>
<TD vAlign=center align=right colSpan=2></TD></TR>
<TR class=category>
<TD colSpan=2> 主题总数:<B><?=$threadcountall?></B>
帖子总数:<B><?=$postcountall?></B> >>
论坛注册用户总数: <B><?=$allmem?></B> 人 << </TD>
<TD align=right width="26%"> 欢迎新会员 <A
href="modules.php?mod=bbs&action=member&mem_action=viewpro&username=<?=$newmems['username_']?>"><?=$newmems['username']?></A>
的到来 </TD></TR>
<TR bgColor=#fcfdfe>
<TD colSpan=2>
<? if(count($announcementarr)>0) { ?>
<MARQUEE id=newid onmouseover=newid.stop() onmouseout=newid.start() scrollAmount=4 height='10'>
<? if(is_array($announcementarr)) {
foreach($announcementarr as $key => $val) { ?>
<IMG src="images/standard/announce.gif" align='absmiddle'> <a href="modules.php?mod=bbs&action=announcement&id=<?=$key?>" target=_blank><?=$val?></a>
<? }
} ?>
</MARQUEE>
<? } ?>
</TD>
<TD align=right width="5%"></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<br>
<? if(is_array($bbslist)) {
foreach($bbslist as $key => $val) { ?>
<TABLE cellSpacing=1 cellPadding=5 width="96%" align=center bgColor=<?=$sty_bordercolor?> border=0>
<TBODY>
<TR class='header'>
<TD colSpan=6
height=22> <IMG
src="images/standard/mboard_img.gif"> <FONT
color=#fcfdfe><B> <?=$val['mainbbs']?> </B></FONT></TD></TR>
<? if(is_array($val['catebbs'])) {
foreach($val['catebbs'] as $key2 => $val2) { ?>
<TR bgColor=#fcfdfe>
<TD align=middle width="6%" bgColor=<?=$sty_altbg1?>
height=20>
<? if($val2['lasttime']>$lastvisit) { ?>
<img src='images/standard/bbs/bbs_new.gif' border='0' alt=''>
<? } else { ?>
<img src='images/standard/bbs/bbs_nonew.gif' border='0' alt=''>
<? } ?>
</TD>
<TD onmouseover="javascript:this.bgColor='<?=$sty_altbg1?>'"
onmouseout="javascript:this.bgColor='<?=$sty_altbg2?>'" vAlign=center width="48%"
height=20>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD width=0 rowSpan=2><!--<A
href="http://bbs.andbbs.com/lool/recity/forum/nboard.asp?ntypeid=19"
target=_blank><IMG alt=在新窗口打开论坛公告
src="D:\www\1\ttjj\temp\adbbs\announce(1).gif"
border=0></A> --></td>
<TD colSpan=2><A
href="modules.php?mod=bbs&action=forum&bbsid=<?=$val2['id']?>"><B><?=$val2['name']?></B></A></td>
<TD align=right width=15>
<DIV align=right><A
href="modules.php?mod=bbs&action=forum&bbsid=<?=$key2?>&pink=1"><IMG
height=13 alt=我要查看此论坛的精华帖子
src="images/standard/jinhua.gif" width=12
border=0></A> </DIV></td>
<TD align=right width=15>
<DIV align=right><A
href="modules.php?mod=bbs&action=forum&bbsid=<?=$key2?>" target=_blank><IMG
height=13 alt=我要在此论坛打开新窗口查看
src="images/standard/new_ie.gif" width=12
border=0></A> </DIV></td>
<TD align=right width=15><A
href="modules.php?mod=bbs&action=post&bbsid=<?=$key2?>"><IMG
height=13 alt=我要在此论坛发表一个新帖子
src="images/standard/newthread.gif" width=12
border=0></A> </td></TR>
<TR>
<TD
width=790>
<? if($set_showbbsdes) { ?>
<span><?=$val2['des']?></span>
<? } ?>
</TD></TR></TBODY></TABLE></TD>
<TD align=middle width="6%" bgColor=<?=$sty_altbg1?>><FONT
title=本版主题数><?=$val2['threadcount']?></FONT> </TD>
<TD align=middle width="6%" bgColor=<?=$sty_altbg1?>><FONT
title=本版帖子回复数><?=$val2['replycount']?></FONT> </TD>
<TD onmouseover="javascript:this.bgColor='<?=$sty_altbg1?>'"
onmouseout="javascript:this.bgColor='<?=$sty_altbg2?>'" align=left
width="20%">
<? if($val2['last_poster']) { ?>
<IMG src="images/standard/lastpost.gif"
border=0>最新: <a href='modules.php?mod=bbs&action=viewthread&bbsid=<?=$key2?>&returnto=lastpost'><?=$val2['last_title']?></a><BR>
<IMG src="images/standard/bar.gif" border=0>作者: <? $val2['last_poster_']=rawurlencode(stripslashes($val2['last_poster'])); ?><a href='modules.php?mod=bbs&action=member&mem_action=viewpro&username=<?=$val2['last_poster_']?>' target=_blank><?=$val2['last_poster']?></a><BR> <IMG
src="images/standard/bar.gif" border=0><FONT
color=#333333><?=$val2['last_time']?></FONT>
<? } ?>
</TD>
<TD class=p1 align=middle width="10%" bgColor=<?=$sty_altbg1?>>
<?=$val2['moderatoruser']?>
</TD></TR>
<? }
} ?>
</TBODY></TABLE>
<? }
} ?>
<? if(count($UNION_CACHE['forumlink'])>0) { ?>
<BR>
<TABLE cellSpacing=1 cellPadding=5 width="96%" bgColor=<?=$sty_bordercolor?>>
<TBODY>
<TR class=header>
<TD colSpan=3> <FONT color=#fcfdfe>:::: 联盟论坛</FONT></TD></TR>
<? if(is_array($forumlink11)) {
foreach($forumlink11 as $key => $val) { ?>
<tr>
<td bgcolor=<?=$sty_altbg2?> width=20><img src="images/standard/shareforum.gif">
</td>
<? if($val['logo']) { ?>
<td bgcolor=<?=$sty_altbg2?> width=10>
<a href="<?=$val['url']?>" target=_blank><img src=<?=$val['logo']?> border=0></a>
</td>
<? } ?>
<td bgcolor=<?=$sty_altbg2?>> <b><a href="<?=$val['url']?>" target=_blank><?=$val['title']?></a></b><br> <?=$val['des']?>
</td>
</tr>
<? }
} ?>
<? if(is_array($forumlink22)) {
foreach($forumlink22 as $key => $val) { ?>
<tr>
<td bgcolor=<?=$sty_altbg2?> width=20><img src="images/standard/bbs/forumlink.gif">
</td>
<td bgcolor=<?=$sty_altbg2?> colspan=2>
<? if($val['logo']) { ?>
<a href="<?=$val['url']?>" target=_blank title=<?=$val['title']?>><img src=<?=$val['logo']?> border=0></a>
<? } ?>
</td>
</tr>
<? }
} ?>
<? if(is_array($forumlink33)) {
foreach($forumlink33 as $key => $val) { ?>
<tr>
<td bgcolor=<?=$sty_altbg2?> width=20><img src="images/standard/bbs/forumlink.gif">
</td>
<td bgcolor=<?=$sty_altbg2?> colspan=2><b><a href="<?=$val['url']?>" target=_blank title=<?=$val['des']?>><?=$val['title']?></a></b>
</td>
</tr>
<? }
} ?>
</TBODY></TABLE>
<? } ?>
<TABLE cellSpacing=0 cellPadding=0 width="96%">
<TBODY>
<TR>
<TD height=7></TD></TR></TBODY></TABLE><BR>
<TABLE cellSpacing=0 cellPadding=0 width="96%" align=center border=0>
<TBODY>
<TR class='header'>
<TD vAlign=center height=20> <FONT color=#ffffff><B>Forum & Users Status</B></FONT></TD>
</TR></TBODY></TABLE>
<a name=seeonline>
<TABLE height=30 cellSpacing=1 cellPadding=6 width="96%" bgColor=<?=$sty_bordercolor?>>
<TBODY>
<TR class='category'>
<TD colSpan=2
height=25> :::: 在过去 <?=$set_onlinehold2?> 分钟内在线用户: <b><?=$guestcount?></b> 位客人, <b><?=$membercount?></b> 位会员 共 <?=$onlinenum?> 在线.
[
<? if(!$onlinedetail) { ?>
<A href="modules.php?mod=bbs&onlinedetail=yes#seeonline">在线人员列表</A>
<? } else { ?>
<A href="modules.php?mod=bbs">关闭在线人员列表</A>
<? } ?>
] </TD></TR>
<TR bgColor=#fcfdfe>
<TD align=middle width=38 bgColor=#efeff7><IMG
src="images/standard/headonline.gif"></TD>
<TD class=pbz vAlign=center width=722 height=40>在线人员图例: <IMG
src="images/standard/bbs/online_admin.gif"> 管理员 <IMG
src="images/standard/bbs/online_supermoderator.gif"> 总版主, <IMG
src="images/standard/bbs/online_moderator.gif"> 版主, <IMG
src="images/standard/bbs/online_member.gif"> 用户, <IMG
src="images/standard/bbs/online_guest.gif"> 游客或隐身用户: <BR>
<? if($onlinedetail) { ?>
<HR color=#000000 SIZE=1>
<table cellpadding='3' cellspacing='1' border='0' width='100%'><tr><td>
<? if(is_array($whosonline)) {
foreach($whosonline as $key => $val) { ?>
<? $onlinekid++ ?>
<? if($ug_whosonline) $action_=$useractiondb[$val['action']]."\n".$val['time']; ?>
<? if($ug_whosonlineip) $action_ .= "\nIP:".$val['ip']; ?>
<? if($val['username']=='Guest') { ?>
<img src='images/standard/bbs/<?=$val['icon']?>' border='0'><span title='<?=$action_?>'><?=$val['username']?></span>
<? } else { ?>
<img src='images/standard/bbs/<?=$val['icon']?>' border='0'><a href="modules.php?mod=bbs&action=member&mem_action=viewpro&username=<?=$val['username_']?>" title="<?=$action_?>" target=_blank><?=$val['username']?></a>
<? } ?>
<? if($onlinekid%5==0) { ?>
</td></tr><tr><td>
<? } else { ?>
</td><td>
<? } ?>
<? }
} ?>
</td></tr></table>
<HR color=#000000 SIZE=1>
<? } ?>
</TD></TR></TBODY></TABLE>
<br>
<? include getData('bbs_footer'); ?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -