<?
/**
 * 我的学员
 * $Id: user_search_list.inc,v 1.1
 * @author taocy
 * @package src.admin.templates
 */
?>
<b>赠送代金券</b><br /><br />

<table>
<tr>
	<td>手机号码</td>
	<td class="begin_blank"><?=htmlspecialchars($user_mst->mobile) ?></td>
</tr>
<tr>
	<td>昵称</td>
	<td class="begin_blank"><?=htmlspecialchars($user_mst->nickname) ?></td>
</tr>
</table>
	
<div style="clear:both"></div>

<div id="result_list" style="width:50%">
<?
if (!empty($user_coupon_list)) {
?>
<table >
<tr>
	<th class="contents_title">ID</th>
	<th class="contents_title">代金券</th>
	<th class="contents_title">数量</th>
	<th class="contents_title">有效期</th>
	<th class="contents_title">转让次数</th>
</tr>

<?
	foreach($user_coupon_list as $user_coupon_dat) {
?>
<tr>
    <td align="center"><?=$user_coupon_dat->id ?></td>
    <td align="center"><?=Coupon::getTitleById($user_coupon_dat->coupon_id) ?></td>
	<td align="center"><?=$user_coupon_dat->coupon_count ?></td>
	<td align="center"><?=$user_coupon_dat->dead_time ?></td>
	<td align="center"><?=$user_coupon_dat->transfer_count ?></td>
</tr>
<?
    }
?>
</table>

<?
}
?>
</div>
<br />
<table>
	<tr>
		<td><a class="flatbutton" href="ocean_user_list.php">返回</a></td>
	</tr>
</table>