1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?
/**
* 我的学员
* $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>