voucher.html
3.3 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<link type="text/css" rel="stylesheet" href="{url:@static/css/ucenter.css}" />
<div class="mt10 clearfix" style="position: relative;">
{widget:name=sub_navs action=ucsidebar sidebar=$sidebar act=$actionId}
<div class="content clearfix uc-content">
<div class="box p10">
<h1 class="title"><span>优惠卷:</span></h1>
{if:isset($msg)}
<div class="message_{$msg[0]} ie6png">{$msg[1]}</div>
{elseif:isset($validator)}
<div class="message_warning ie6png">{$validator['msg']}</div>
{/if}
<div >
<form class="box" action="{url:/ucenter/voucher_activated}" method="post">
<h2>实体优惠券激活:</h2>
<table class="form" style="width:600px;margin: auto;">
<tr><td class="label">账号:</td><td><input name="account" type="text"></td></tr>
<tr><td class="label">密码:</td><td><input name="password" type="text"></td></tr>
<tr><td class="label"> </td><td><input type="submit" class="btn" value="激活"></td></tr>
</table>
{token:}
</form>
</div>
<div class="mt10 tab">
<ul class="tab-head">
<li>未使用的优惠卷</li>
<li>已使用的优惠卷</li>
<li>已过期的优惠卷</li>
</ul>
<div class="tab-body" style="padding: 20px 10px;">
<div id="voucher-n">
<table class="simple">
<tr><th >账号</th> <th width="120">类型</th> <th width="100">面值</th> <th width="140">所需消费金额</th> <th width="150">有效期</th></tr>
<tbody class="page-content">
<tr class="{odd-even}">
<td><a href="">{account}</a></td> <td>{name}</td> <td>{$currency_symbol}{value}</td> <td>{$currency_symbol}{money}</td> <td>{start_time} ~ {end_time}</td>
</tr>
</tbody>
</table>
<div class="page-nav"></div>
</div>
<div id="voucher-u">
<table class="simple">
<tr><th >账号</th> <th width="120">类型</th> <th width="100">面值</th> <th width="140">所需消费金额</th> <th width="150">有效期</th></tr>
<tbody class="page-content">
<tr class="{odd-even}">
<td><a href="">{account}</a></td> <td>{name}</td> <td>{$currency_symbol}{value}</td> <td>{$currency_symbol}{money}</td> <td>{start_time} ~ {end_time}</td>
</tr>
</tbody>
</table>
<div class="page-nav"></div>
</div>
<div id="voucher-p">
<table class="simple">
<tr><th >账号</th> <th width="120">类型</th> <th width="100">面值</th> <th width="140">所需消费金额</th> <th width="150">有效期</th></tr>
<tbody class="page-content">
<tr class="{odd-even}">
<td><a href="">{account}</a></td> <td>{name}</td> <td>{$currency_symbol}{value}</td> <td>{$currency_symbol}{money}</td> <td>{start_time} ~ {end_time}</td>
</tr>
</tbody>
</table>
<div class="page-nav"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$("#voucher-n").Paging({
url:'{url:/ucenter/get_voucher}',
params:{status:'n'}
});
$("#voucher-u").Paging({
url:'{url:/ucenter/get_voucher}',
params:{status:'u'}
});
$("#voucher-p").Paging({
url:'{url:/ucenter/get_voucher}',
params:{status:'p'}
});
</script>