<!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">
	<tr><td align="center" height="20" colspan="5" class="title">会员主页模板    
	 ｜ <select OnChange="location.href='<?=site_url('admin/user/mb')?>?sid='+this.value" style='width:120px'><option value=''>快速查找</option><option value="1">黑色酷炫</option><option value="2">粉色浪漫</a></li></option><option value="3">蓝色经典</option><option value="4">黄色温馨</option><option value="5">绿色清新</option></select>
	</td></tr>
	<tr align="center">
		<td width="6%">ID</td>
		<td width="20%">萎缩图</td>
		<td width="*">标题</td>
        <td width="20%">积分</td>
        <td width="20%">操作</td>
	</tr>
<?php
 if(empty($user)) echo '<tr align="center"><td colspan="5" align="center">当前没有记录!</td></tr>';
 foreach ($user as $row) { 
?>
	<tr>
		<td align="center"><?=$row->CS_ID?></td>
		<td align="center"><img src="<?=Web_Path?>res/space/skin/t<?=$row->CS_ID?>/thumb.jpg" style="cursor:url(<?=Web_Path?>csdj/images/zoomin.cur),auto" onload="ResizeImages(this,50,30);" onclick="PreviewImage(this);"></td>
		<td align="center"><?=$row->CS_Name?></td>
		<td align="center"><?=$row->CS_Cion?></td>
		<td align="center"><a href="<?=site_url('admin/user/mb_edit/'.$row->CS_ID)?>">编辑</a></td>
	</tr>
<?php } ?>

	<tr><td colspan='5'><span style="float:right;">数据：<?=$nums?>条&nbsp;&nbsp;&nbsp;&nbsp;<?=$pages?></span>
	</td></tr></table>
</body>
</html>

