-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/dev'
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> 回到登录 </span><i class="fa-mail-reply-all"></i></a></h4> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<import template="panel/_footer" /> |