<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>数据管理</title>
<LINK href="<?=base_url()?>csdj/admin/images/admin.css" type="text/css" rel="stylesheet">
<SCRIPT type="text/javascript" src="<?=base_url()?>csdj/admin/js/admin.js?v23"></script>
<script type="text/javascript" src="<?=base_url()?>csdj/admin/js/dialog.js"></script>
<script type="text/javascript" src="<?=base_url()?>csdj/admin/js/ajaxrequest.js"></script>
<script type="text/javascript" src="<?=base_url()?>csdj/admin/js/setcolor.js"></script>
</head>
<body style="margin:2px">
 
	<table align="center" border="1" cellspacing="0" cellpadding="5" bordercolor="#C4DFF4" width="80%" style="border-collapse:collapse;" id="m_Imgs">
	<form method="post" Name="myForm" action="<?=site_url('admin/match/del')?>">
	<tr><td align="center" height="20" colspan="6" class="title">参与大赛会员管理    
	 ｜ <A href="<?=site_url('admin/match')?>?sid=1">本届会员</A>
	</td></tr>
	<tr align="center">
		<td width="5%">选中</td>
		<td width="6%">ID</td>
		<td width="8%">会员头像</td>
		<td width="*">会员名称</td>
		<td width="10%">会员呢称</td>
		<td width="10%">届数</td>
	</tr>
<?php
 if(empty($match)) echo '<tr align="center"><td colspan="16" align="center">当前没有记录!</td></tr>';
 foreach ($match as $rowu) {
	          $row=$this->db->query("SELECT CS_ID,CS_Name,CS_Logo,CS_Nichen FROM ".CS_SqlPrefix."user where cs_id=".$rowu->CS_UID."")->row();
?>
	<tr>
		<td align="center"><input type=checkbox Name="CS_ID[]" id="CS_ID[]" Value="<?=$rowu->CS_ID?>"></td>
		<td align="center"><?=$rowu->CS_ID?></td>
		<td align="center">
<?php
if(empty($row->CS_Logo)){
       echo '--';
}else{
       echo '<img src="'.$this->CsdjSkins->piclink('logo',$row->CS_Logo).'" style="cursor:url('.base_url().'csdj/images/zoomin.cur),auto" onload="ResizeImages(this,50,30);" onclick="PreviewImage(this);">';
}
?>
                </td>
		<td align="center"><a href="<?=$this->CsdjSkins->userlink('index',$row->CS_ID,$row->CS_Name)?>" target="_blank"><?=$row->CS_Name?></a></td>
		<td align="center"><a href="<?=$this->CsdjSkins->userlink('index',$row->CS_ID,$row->CS_Name)?>" target="_blank"><?=$row->CS_Nichen?></a></td>
		<td align="center">第<?=$rowu->CS_SID?>届</td>
	</tr>
<?php } ?>

	<tr><td colspan='16'><span style="float:right;">会员：<?=$nums?>位&nbsp;&nbsp;&nbsp;&nbsp;<?=$pages?></span>选中<input type="checkbox" name="chkall" onclick="CheckAll(this.form)" value="ON">
	&nbsp;&nbsp;<input type="submit" name="Submit1" class="italk-st3" value="批量删除所选" onClick="return confirm('您确定删除吗?')">
	</span>
	</td></tr></form></table>
</body>
</html>

