<?php 
	/**
	 * 本站最新开通微博的用户列表
	 * 需要参数参见component_15_pls
	 * @version $Id: component_15.tpl.php 16466 2011-05-27 11:33:53Z zhenquan $
	 */
	if(!defined('IN_APPLICATION')){
		exit('ACCESS DENIED!');
	}
	
?>

<div class="mod-aside user-sidebar">
    <div class="hd"><h3><?php echo F('escape', $mod['title']);?></h3></div>
	<div class="bd">
    <ul>
	<?php
		$uid = USER::uid();
		
		foreach ($userList as $u) {
			$user_img = F('profile_image_url', $u['sina_uid']);
			$nick = F('escape', $u['nickname']);
			$url = URL('ta', array('id' => $u['sina_uid']));
	?>
        <li rel="u:<?php echo $u['sina_uid'];?>">
            <a href="<?php echo $url;?>"><img src="<?php echo $user_img;?>" alt="<?php echo $nick;?>" /></a>
            <p><a href="<?php echo $url;?>"><?php echo $nick;?></a></p>
			<?php if ((string)$u['sina_uid'] !== (string)$uid) {?>
				<?php if (!isset($followedList[(string)$u['sina_uid']])):?>
				<a href="#" class="sub-link" rel="e:fl,t:2"><?php LO('modules_component_component_2_follow');?></a>
				<?php else:?>
				<em><?php LO('modules_component_component_2_followed');?></em>
				<?php endif;?>
			<?php } else {?>
				<em>&nbsp;</em>
			<?php }?>
        </li>
	<?php } ?>
    </ul>
	</div>
</div>
