<?php $title = '我的好友 - ' . setting('webname');?>
<?php include_once tpl('globalHeader');?>
<style type="text/css">.f{color: #666666;}</style>
<div class="nav"><?php echo memberLink();?> <a href="<?php echo url('system',array('s'=>'member','c'=>'message'));?>">信箱</a>  <a href="<?php echo url('system',array('s'=>'member','c'=>'my','a'=>'progress'));?>">进度</a></div>
<div class="kind">≠好友列表≠</div>
<?php //echo $navString;?>
<?php if (!empty($friends)):?>
  	<?php $page = ($pageObj->getCurrentPage() - 1) * $pageObj->getPageSize();?>
	<?php foreach ($friends as $friend):?>
        <div class="comment">
		<?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']);?>
		</div>
	<?php endforeach;?>
    <div class="search">
    共<?php echo $pageObj->getTotalRecord();?>位好友 [<?php echo $pageObj->getCurrentPage();?>/<?php echo $pageObj->getTotalPage();?>页]
    <br/>
	<?php echo $pageObj->show();?>
    </div>
<?php else:?>
	暂无好友<br/>
<?php endif;?>

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