<?php include_once tpl('header');?>
<card title="‘<?php echo $this->filter($forumInfo['forumname']);?>’书友会成员列表 - <?php echo setting('webname');?>">
<p align="left">
<anchor>返回<prev/></anchor>/<?php echo forumLink($bookid);?>/<?php echo memberLink();?>
<br/>
【成员列表】
<br/>
<?php if (!empty($bookMembers)):?>
    <?php foreach ($bookMembers as $value):?>
<a href="<?php echo url('system',array('s'=>'member','uid'=>$value['uid']));?>"><?php echo $this->filter(userName($value['uid']));?></a>[UID:<?php echo $value['uid'];?>]<?php if (IS_MANAGE):?><?php echo ilink('奖', url('system',array('s'=>'forum','c'=>'manage','a'=>'credit','id'=>$bookid,'uid'=>$value['uid'])));?>|<a href="<?php echo url('system',array('s'=>'forum','c'=>'ban','a'=>'post','id'=>$bookid,'uid'=>$value['uid']));?>">禁</a>|<a href="<?php echo url('system',array('s'=>'forum','c'=>'manage','a'=>'delete','id'=>$bookid,'uid'=>$value['uid']));?>">删</a><?php endif;?><?php if (IS_SUPER):?>|<a href="<?php echo url('system',array('s'=>'forum','c'=>'ban','a'=>'visit','uid'=>$value['uid']));?>">封</a><?php endif;?><br/>
    <?php endforeach;?>
    共<?php echo $pageObj->getTotalRecord();?>位[<?php echo $pageObj->getCurrentPage();?>/<?php echo $pageObj->getTotalPage();?>]
    <br/>
    <?php echo $pageObj->show();?>
    <?php echo '到第<input name="page" type="text" size="4" format="*N" emptyok="true"/>页<a href="'. url('system', array('s'=>'forum','a'=>'users','id'=>$bookid)) . '&amp;page=$(page)">GO&gt;&gt;</a>';?>
    <br/>
<?php else:?>
    本书会暂无成员<br/>
<?php endif;?>
<a href="<?php echo url('system',array('s'=>'forum','a'=>'join','id'=>$bookid));?>">我要加入本书会&gt;&gt;</a><br/>

【搜索用户】
<br/>
<select name="type">
    <option value="uid">UID</option>
    <option value="username">昵称</option>    
</select>
<input type='text' name='member' value='' maxlength='16' format='M*m' />
<br/>
<anchor>
    <go href='<?php echo url('system',array('s'=>'forum','a'=>'users','id'=>$bookid));?>' accept-charset='utf-8' method='get'>
        <postfield name='s' value='forum'/>
        <postfield name='a' value='users'/>
        <postfield name='id' value='<?php echo $bookid;?>'/>
        <postfield name='type' value='$(type)'/>
        <postfield name='member' value='$(member)'/>
        <postfield name='sid' value='<?php global $sid;echo $sid;?>'/>
</go>搜索</anchor>
<br/>
---------------
<br/>
+书会书管+
<br/>
<?php if (!empty($bookManagers)):?>
    <?php foreach ($bookManagers as $value):?>
        <a href="<?php echo url('system',array('s'=>'member','uid'=>$value['uid']));?>"><?php echo $this->filter(userName($value['uid']));?></a>[UID:<?php echo $value['uid'];?>]<br/>
    <?php endforeach;?>
<?php else:?>
    本书会暂无书管<br/>
<?php endif;?>
<?php include_once tpl('footer');?>