<?php include(pe_tpl('header.html'));?>
<div class="right fr">
	<div class="now">
		<div class="fl now1"></div>
		<div class="fl now2">佣金列表</div>
		<div class="fl now3"></div>
		<div class="clear"></div>
	</div>
	<div class="spqh mat8">
		<div class="fr searbox mat3">
			<form method="get">
				<input type="hidden" name="mod" value="<?php echo $_g_mod ?>" />
				<input type="hidden" name="act" value="<?php echo $_g_act ?>" />
				用户名：<input type="text" name="user_name" value="<?php echo $_g_user_name ?>" class="inputtext inputtext_100" />
				<input type="submit" value="搜索" class="input2" />
			</form>
		</div>
		<div class="clear"></div>
	</div>
	<form method="post" id="form">
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list mat5">
	<tr>
		<td class="bgtt" align="center" width="10"><input type="checkbox" name="checkall" onclick="pe_checkall(this, 'id')" /></td>
		<td class="bgtt" align="center" width="40">ID号</td>
		<td class="bgtt" align="center">周</td>
		<td class="bgtt" align="center">用户名</td>
		<td class="bgtt" align="center" width="80">会员等级</td>
		<td class="bgtt" align="center" width="100">佣金费用</td>
		<td class="bgtt" align="center" width="100">添加时间</td>
		<td class="bgtt" align="center" width="100">最后购买IP</td>
		<td class="bgtt" align="center" width="30">操作</td>
	</tr>
	<?php foreach($info_list as $v):?>
	<tr>
		<td align="center"><input type="checkbox" name="id[]" value="<?php echo $v['id'] ?>"></td>
		<td align="center"><?php echo $v['id'] ?></td>
		<td align="center"><?php echo $v['tj_week'] ?></td>
		<td align="center"><?php echo $v['tj_name'] ?></td>
		<td align="center"><?php if($v['tj_level']==1):?>一般会员<?php elseif($v['tj_level']==2):?>代理会员<?php elseif($v['tj_level']==3):?>高级代理会员<?php else:?>无佣金会员<?php endif;?></td>
		<td align="center"><?php echo $v['tj_money'] ?></td>
		<td align="center"><?php echo $v['tj_date'] ?></td>
		<td align="center"><?php echo $v['tj_ip'] ?></td>
		<td align="center">
			<a href="admin.php?mod=brokerage&act=delsql&id=<?php echo $v['id'] ?>" class="admin_del" onclick="return pe_cfone('删除')">删除</a>
			<a href="admin.php?mod=brokerage&act=edit&id=<?php echo $v['id'] ?>" class="admin_del" >修改</a>
		</td>
	</tr>
	<?php endforeach;?>
	<tr>
		<td class="bgtt"><input type="checkbox" name="checkall" onclick="pe_checkall(this, 'id')" /></td>
		<td class="bgtt" colspan="9">
			<span class="fl"><button href="admin.php?mod=brokerage&act=delsql" onclick="return pe_cfall(this, 'id', 'form', '批量删除')">批量删除</button></span>
			<span class="fenye"><?php echo $db->page->html ?></span>
		</td>
	</tr>
	</table>
	</form>
</div>
<?php include(pe_tpl('footer.html'));?>