<?php include_once tpl('header');?>
<card title="<?php echo $month;?>书会争霸排行 - <?php echo setting('webname');?>">
<p align="left">
<?php if (!empty($forums)):?>
    <?php $first = true; $count = 1;?>
    <?php foreach ($forums as $forum):?>
        <?php if ($first):?><img src="<?php echo getImageFile("bookforum/cg.gif");?>" alt='^_^'/>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']));?>"><?php echo $forum['monthmcount'];?></a>
        <br/>
        当月发贴数:<?php echo $forum['monthposts'];?>
        <br/>
        <a href="<?php echo url('system',array('s'=>'forum','id'=>$forum['bookid']));?>">点击进入&gt;&gt;</a>
        <br/>
        ---------------
        <br/>
        <?php $first = false; $count++;?>
    <?php endforeach;?>
	<a href="<?php echo url('system',array('s'=>'forum','c'=>'ranking','a'=>'top'));?>"><?php echo date("n月");?>书会群英榜</a><br/>
<?php else:?>
    暂无排行<br/>
<?php endif;?>

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