<?php $title = '我的推广记录 - ' . setting('webname');?>
<?php include_once tpl('globalHeader');?>
<?php echo backLink();?> <?php echo memberLink();?> <?php echo indexLink();?>
<div class="nav">我的推广记录</div>
<?php if (!empty($rewards)):?>
	<?php foreach ($rewards as $reward):?>
        <div class="comment">
		<?php echo $floor--;?>.用户名:<a href="<?php echo url('system',array('s'=>'member','uid'=>$reward['uid']))?>"><?php echo $this->filter($reward['username']);?></a>
        <br/>
		注册时间:<span class="f"><?php echo $reward['createdate'];?></span>
        <br/>
		当前<?php echo setting('creditname');?>:<b><?php echo $reward['extcredits1'];?></b>
        </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:?>
	暂无推广记录
<?php endif;?>

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