code.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!--{layout:index/user_top}-->
  2. <aside class="right-side">
  3. <!-- Content Header (Page header) -->
  4. <section class="content-header">
  5. <h1>
  6. 邀请
  7. <small>Invite</small>
  8. </h1>
  9. </section>
  10. <!-- Main content -->
  11. <section class="content">
  12. <div class="row">
  13. <!-- left column -->
  14. <div class="col-md-6">
  15. <!-- general form elements -->
  16. <div class="box box-primary">
  17. <div class="box-header">
  18. <h3 class="box-title">邀请码</h3>
  19. </div><!-- /.box-header -->
  20. <div class="table-responsive">
  21. <table class="table table-striped">
  22. <thead>
  23. <tr>
  24. <th>###</th>
  25. <th>邀请码</th>
  26. <th>状态</th>
  27. </tr>
  28. </thead>
  29. <tbody>
  30. <!--{foreach($code as $k=>$v)}-->
  31. <tr>
  32. <td><!--{$k}--></td>
  33. <td><!--{$v['code']}--></td>
  34. <td>可用</td>
  35. </tr>
  36. <!--{/foreach}-->
  37. </tbody>
  38. </table>
  39. </div>
  40. </div>
  41. </div><!-- /.box -->
  42. </div> <!-- /.row -->
  43. </section><!-- /.content -->
  44. </aside><!-- /.right-side -->
  45. <!--{layout:index/user_foot}-->