<?php include_once tpl('header');?>
<card title="<?php echo $label;?> - <?php echo setting('webname');?>">
<p align="left">
<?php if (!empty($result)):?>
	=共找到"<?php echo $pageObj->getTotalRecord();?>"位《<?php echo $label;?>》书友=
	<br/>
	-------------
	<br/>
	<?php $page = ($pageObj->getCurrentPage() - 1) * $pageObj->getPageSize();?>
    <?php foreach ($result as $user):?>
		<?php echo ++$page;?>.<?php echo ilink($this->filter(userName($user['uid'])),url('system',array('s'=>'member','uid'=>$user['uid'])));?>(UID:<?php echo $user['uid'];?>)[<?php echo isOnlineView($user['uid']);?>][<?php echo ilink('加',url('system',array('s'=>'member','c'=>'friend','a'=>'add','uid'=>$user['uid'])));?>]
		<br/>
		性别:<?php echo gender($member['gender']);?>/年龄:<?php echo $user['birth'] == '0000-00-00' ? '保密' : date('Y') - date('Y',strtotime($user['birth'])).'岁';?>/在线:<?php echo $user['oltime'];?>小时
		<br/>
		所在城市:<?php if (empty($user['city'])):?>没有填写<?php else:?><?php echo $this->filter($user['city']);?><?php endif;?>
		<br/>
		最爱的小说:<?php if (empty($user['book'])):?>没有填写<?else:?><?php echo $this->filter($user['book']);?><?php endif;?>
		<br/>
		-------------
		<br/>
	<?php endforeach;?>
	共<?php echo $pageObj->getTotalRecord();?>位书友 [<?php echo $pageObj->getCurrentPage();?>/<?php echo $pageObj->getTotalPage();?>页]
    <br/>
	<?php echo $pageObj->show();?>
<?php else:?>
	找不到符合条件的书友，建议<?php echo ilink('修改资料',url('system',array('s'=>'member','c'=>'setting','a'=>'info')));?>后再找
<?php endif;?>
<br/>
<?php include_once tpl('footer');?>