code.tpl.php 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php if (!defined("IS_INITPHP")) exit("Access Denied!"); /* INITPHP Version 1.0 ,Create on 2017-12-13 16:49:28, compiled from /data/wwwroot/www.shadowsocks5.com/app/template/ss/index/code.html */ ?>
  2. <?php include('/data/wwwroot/www.shadowsocks5.com/app/data/template_c/ss/index/user_top.tpl.php'); ?>
  3. <aside class="right-side">
  4. <!-- Content Header (Page header) -->
  5. <section class="content-header">
  6. <h1>
  7. 邀请
  8. <small>Invite</small>
  9. </h1>
  10. </section>
  11. <!-- Main content -->
  12. <section class="content">
  13. <div class="row">
  14. <!-- left column -->
  15. <div class="col-md-6">
  16. <!-- general form elements -->
  17. <div class="box box-primary">
  18. <div class="box-header">
  19. <h3 class="box-title">邀请码</h3>
  20. </div><!-- /.box-header -->
  21. <div class="table-responsive">
  22. <table class="table table-striped">
  23. <thead>
  24. <tr>
  25. <th>###</th>
  26. <th>邀请码</th>
  27. <th>状态</th>
  28. </tr>
  29. </thead>
  30. <tbody>
  31. <?php foreach ($code as $k=>$v) { ?>
  32. <tr>
  33. <td><?php echo $k;?></td>
  34. <td><?php echo $v['code'];?></td>
  35. <td>可用</td>
  36. </tr>
  37. <?php } ?>
  38. </tbody>
  39. </table>
  40. </div>
  41. </div>
  42. </div><!-- /.box -->
  43. </div> <!-- /.row -->
  44. </section><!-- /.content -->
  45. </aside><!-- /.right-side -->
  46. <?php include('/data/wwwroot/www.shadowsocks5.com/app/data/template_c/ss/index/user_foot.tpl.php'); ?>