charge_post.html
2.93 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
83
84
85
86
87
{template 'common/header'}
<ul class="nav nav-tabs">
<li ><a href="{php echo create_url('site/entry', array('do' => 'charge', 'op' => 'list','m' => 'wwx_fxxt','uniacid'=>$_W['uniacid']))}">会员信息</a></li>
{if $_GPC['from_user']}
<li class="active"><a >会员余额充值详情</a></li><li><a href="{php echo create_url('site/entry', array('do' => 'order', 'op' => 'display','m' => 'wwx_fxxt','uniacid'=>$_W['uniacid'],'from_user'=>$_GPC['from_user']))}">会员订单</a></li>
{/if}
</ul>
<div class="main">
<form action="" method="post" class="form-horizontal form" enctype="multipart/form-data" onsubmit="return validate(this);">
<div class="panel panel-default">
<div class="panel-heading">会员充值</div>
<div class="panel-body">
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">真实姓名:</label>
<div class="col-sm-3 col-xs-12">
<div class="alert alert-warning">{$profile['realname']}</div>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">联系方式:</label>
<div class="col-sm-3 col-xs-12">
<div class="alert alert-warning">{$profile['mobile']}</div>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">当前余额:</label>
<div class="col-sm-3 col-xs-12">
<div class="alert alert-warning">{$profile['credit2']}</div>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">充值金额:</label>
<div class="col-sm-5 col-xs-12">
<div class="input-group input-medium">
<input type="text" name="chargenum" class="form-control" value="" />
<input type="hidden" name="from_user" value="{$_GPC['from_user']}" />
<input type="hidden" name="uid" value="{$profile['uid']}" />
</div>
</div>
</div>
<div class="form-group">
<input name="submit" type="submit" value="充 值" class="btn btn-primary">
<input type="hidden" name="token" value="{$_W['token']}" />
</div>
</div>
</div>
</form>
<div class="panel panel-default">
<div class="panel-heading">帐变明细 总数:<span class="label label-success">{$total}</span> <a href="">刷新</a> </div>
<div class="panel-body table-responsive">
<table class="table table-hover">
<thead class="navbar-inner">
<tr>
<th style="width:200px;">日期</th>
<th style="width:100px;">类型</th>
<th style="width:100px;">金额</th>
<th>说明</th>
</tr>
</thead>
<tbody>
{loop $list $v}
<tr>
<td>{php echo date('Y-m-d H:i', $v['createtime'])}</td>
<td>{if $v['credittype']=='credit2'}充值{else}消费{/if}</td>
<td>{$v['num']}</td>
<td>{$v['remark']}</td>
</tr>
{/loop}
</tbody>
</table>
</div>
{$pager}
</div>
</div>
{template 'common/footer'}