<table border="0" cellpadding="0" cellspacing="0" class="adminlist">
	<thead>
	<tr>
    	<th><input id="toggle" type="checkbox" value="" /></th>
    	<th>卡号</th>
    	<th>状态</th>
    	<th>创建时间</th>
    	<th>操作</th>
    </tr>
    </thead>
    <tbody>
    	<?php foreach($list as $vip){ if(!@$a){$a=0;}?>
    	<tr>
        <td><input name="select_id[]" type="checkbox" class="checkbox" id="cb<?=$a++?>" value="<?=$vip->vip_number_id;?>"/></td>
        <td><?=$vip->vip_number;?></td>
        <td><?=$status[$vip->vip_number_status];?></td>
        <td><?=$vip->vip_number_time;?></td>
        <td><?=html::anchor(BASEURI."member_vip/edit/".$vip->vip_number_id,"编辑")?>&nbsp;&nbsp;<?=html::anchor(BASEURI."member_vip/delete/".$vip->vip_number_id,'删除',array('onclick'=>"return confirm('请确认是否删除')"))?></td>
        </tr>
        <?php }?>
    </tbody>
    <tr>
    	<td>
        	<input type="button" name="BC" value="删除" class="button" onclick="select_control('<?=BASEURI?>member_vip/delete.html','请确是否删除')">
            <input type="button" class="button" value="清空" onclick="select_control('<?=BASEURI?>member_vip/truncate','请确认清空所有VIP卡号')" />
            <input type="button" name="BC" value="制卡" class="button" onclick="select_control('<?=BASEURI?>member_vip/makecard.html','请确是否制卡')">
        </td>
        <td colspan="4">
            <?php echo $this->pagination->render('digg') ?>
        </td>
    </tr>
</table>