forked from orvice/ss-panel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcode.php
executable file
·59 lines (53 loc) · 1.67 KB
/
code.php
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
<?php
require_once 'lib/config.php';
include_once 'header.php';
$c = new \Ss\User\Invite();
?>
<div class="section no-pad-bot" id="index-banner">
<div class="container">
<br><br>
<div class="row center">
<h5 > 邀请码实时刷新</h5>
<h5>如遇到无邀请码请找已经注册的用户获取。</h5>
</div>
</div>
</div>
<div class="container">
<div class="section">
<!-- Icon Section -->
<div class="row">
<div class="row marketing">
<h2 class="sub-header">邀请码</h2>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>###</th>
<th>邀请码</th>
<th>状态</th>
</tr>
</thead>
<tbody>
<?php
$datas = $c->CodeArray();
$a = 0;
foreach($datas as $data ){
?>
<tr>
<td><?php echo $a;$a++; ?></td>
<td><?php echo $data['code'];?></td>
<td>可用</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<br><br>
<div class="section">
</div>
</div>
<?php include_once 'ana.php';
include_once 'footer.php';?>