<?php include_once tpl('header');?>
<card title="社区 - <?php echo setting('webname');?>">
<p align="left">
<?php $bbsIndex = true;include_once tpl('globalHeader');?>
<img src='<?php echo getImageFile('bbs/logo.gif');?>' alt="logo" />
<br/>
<?php include_once tpl('topnav');?>
<?php echo ilink('浏览记录', url('system', array('s'=>'bbs','a'=>'history')));?>|<?php echo ilink('帮助',url('system',array('s'=>'bbs','a'=>'ubb')));?>|<?php echo ilink('版规',url('system',array('s'=>'bbs','a'=>'thread','tid'=>26352)));?>|<?php echo ilink('软件', url('system', array('s'=>'soft')));?>
<br/>
【热议话题】<a href="<?php echo url('system',array('s'=>'forum','a'=>'new'));?>">书会热聊</a>
<br/>
<?php foreach ($news as $new):?>
	•<?php echo ilink(BookPost::filter($this->filter(mb_substr($new['subject'],0,20,'utf8'))),url('system',array('s'=>'bbs','a'=>'thread','tid'=>$new['id'])));?><br/>
<?php endforeach;?>
<?php foreach ($allowForums as $forum):?>
	<?php $i = 1;?>
	〓<?php echo $forum['name'];?>〓<br/>
		<?php foreach ($forum['child'] as $fid => $name):?>
			<?php echo ilink($name.'(今日:'.$forumCounts[$fid]['todayposts'].')',url('system',array('s'=>'bbs','a'=>'forum','fid'=>$fid)));?>
			<br/>
			<?php //if ($i++ % 2 == 0):?>
			<?php //endif;?>
		<?php endforeach;?>
<?php endforeach;?>
搜索:
<?php
$easou = new iEasou(array(array(4, '美图'), array(11, '网页'), array(11 , '新闻')));
echo $easou->show();
?>
<br/>
<?php echo randAd('read,other,show,chapter,bbs,index,member,forum');?>
时间：<?php echo date('n/d H:i:s');?>
<br/>
<?php echo ilink(setting('webname'),url('index'));?>&gt;<?php echo ilink('社区',url('system',array('s'=>'bbs')));?>
</p>
</card>
</wml>