Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Acris committed May 15, 2016
2 parents 96ebff7 + 3f2a590 commit df5d334
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions Template/Default/home/invite.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<import template="panel/_head" />
<body class="page-body invite-page">
<style>.row {margin-left: 0;margin-right: 0;}</style>
<div class="invite-container">

<div class="row">
<div class="col-sm-12">
<div class="row center">
<h1>邀请码</h1>
<h5>如遇到无邀请码请找已经注册的用户获取。</h5>
</div>
<table class="table" style="color:#FFF;">
<thead>
<tr>
<th style="color:#FFF;" width="180">添加时间</th>
<th style="color:#FFF;">邀请码</th>
<th style="color:#FFF;" width="100">状态</th>
</tr>
</thead>
<tbody>
<if condition="count($inviteList) > 0">
<loop variable="$inviteList" key="$key" value="$invite">
<tr>
<td>{(date('Y-m-d H:i:s', $invite->dateLine))}</td>
<td>{$invite->invite}</td>
<td><if condition="$invite->status == 0">
<a href="auth/login?invite={$invite->invite}#register" target="_blank">点击使用</a>
<elseif condition="$invite->status == 1">已用</elseif><else>过期</if></td>
</tr>
</loop>
<else>
<tr><td colspan="3" align="center" style="text-align:center;">木有邀请码~ ٩( \'ω\' )و </td></tr>
</if>
</tbody>
</table>
<div class="row center">
<h4><a href="auth/login" class="btn btn-black btn-icon"><span>&nbsp;回到登录&nbsp;</span><i class="fa-mail-reply-all"></i></a></h4>
</div>
</div>
</div>
</div>
<import template="panel/_footer" />

0 comments on commit df5d334

Please sign in to comment.