<?php include_once tpl('header');?>
<card title="我的好友 - <?php echo setting('webname');?>">
<p align="left">
<a href="<?php echo url('system',array('s'=>'member','c'=>'message'));?>">信箱</a>|<?php echo memberLink();?>|<a href="<?php echo url('system',array('s'=>'member','c'=>'my','a'=>'progress'));?>">进度</a>
<br/>
≠好友列表≠
<br/>
<?php //echo $navString;?>
<?php if (!empty($friends)):?>
  	-----------
  	<br/>
  	<?php $page = ($pageObj->getCurrentPage() - 1) * $pageObj->getPageSize();?>
	<?php foreach ($friends as $friend):?>
		<?php echo ++$page;?>.<?php echo ilink($this->filter(userName($friend['fuid'])),url('system',array('s'=>'member','uid'=>$friend['fuid'])));?>[UID:<?php echo $friend['fuid'];?>][<?php echo isOnlineView($friend['fuid']);?>][<?php echo ilink('删',url('system',array('s'=>'member','c'=>'friend','a'=>'delete','fuid'=>$friend['fuid'])));?>]
		<br/>
		最后访问: <?php echo date('Y-m-d H:i',$friend['lastactivity']);?>
		<br/>
		-----------------
		<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'=>'member','c'=>'friend','t'=>$type)) . '&amp;page=$(page)">GO&gt;&gt;</a>';?><br/>
<?php else:?>
	暂无好友<br/>
<?php endif;?>

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