<?php $title = '本月书会群英榜 - ' . setting('webname');?>
<?php include_once tpl('globalHeader');?>
<?php echo backLink();?> <?php echo memberLink();?> <?php echo indexLink();?>
<div class="nav"><?php echo date("n月");?>书会群英榜|<a href="<?php echo url('top');?>">小说排行</a></div>
<?php if (!empty($forums)):?>
    <?php $first = true; $count = 1;?>
    <?php foreach ($forums as $forum):?>
        <div class="comment">
        <?php if ($first):?><?php echo printImage('bookforum/cg.gif');?>No.<?php endif;?><?php echo $count;?>.<?php echo $this->filter($forum['forumname']);?>
        <br/>
        总等级:<img src="<?php echo getImageFile('bookforum/'.$forum['level'].'.gif');?>"" alt='^_^'/>
        <br/>
        当月新成员数:<a href="<?php echo url('system',array('s'=>'forum','a'=>'users','id'=>$forum['bookid']));?>"><span class="r"><?php echo $forum['monthmcount'];?></span></a>
        <br/>
        当月发贴数:<?php echo $forum['monthposts'];?>
        <br/>
        今日发帖:<?php echo $forum['todayposts'];?>
        <br/>
        <a href="<?php echo url('system',array('s'=>'forum','id'=>$forum['bookid']));?>">点击进入&gt;&gt;</a>
        </div>
        <?php $first = false; $count++;?>
    <?php endforeach;?>
	<?php echo ilink('历届书会争霸战绩',url('system',array('s'=>'forum','c'=>'ranking','a'=>'history')));?><br/>
<?php else:?>
    <div class="content">暂无排行</div>
<?php endif;?>

<?php include_once tpl('globalFooter');?>