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
<?
/**
* 赠送代金券
* $Id: user_search_list.inc,v 1.1
* @author taocy
* @package src.admin.templates
*/
?>
<b>代金券使用</b><br /><br />
<form name="user_use_coupon" action="user_use_coupon_exec_result.php" method="post">
<input type="hidden" name="id" value="<?=$id ?>" />
<input type="hidden" name="status_from" value="<?=$user_use_coupon_dat->status ?>" />
<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>
<tr>
<td>代金券</td>
<td class="begin_blank"><?=Coupon::getTitleById($user_use_coupon_dat->coupon_id) ?></td>
</tr>
<tr>
<td>代金券</td>
<td class="begin_blank">
<select name="status_to">
<?
foreach ($coupon_status_list as $coupon_status_obj) {
?>
<option value="<?=$coupon_status_obj->name ?>" <?=$coupon_status_obj->name == $status_to ? " selected " : "" ?>><?=$coupon_status_obj->title ?></option>
<?
}
?>
</select>
</td>
</tr>
<tr>
<td>说明</td>
<td class="begin_blank">
<input type="text" id="comment" name="comment" value="" style="width:300px;"/><br/>
<?=nl2br($user_use_coupon_dat->comment) ?>
<br />
</td>
</tr>
<tr>
<td><input type="button" value="执行操作" class="button_width_normal" onClick="doUseCouponExec();" /></td>
</tr>
</table>
</form>