Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

120 řádky
5.4 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>我的邀请 - 用户中心 - {$kx.config.sitename}</title>
  6. <link rel="stylesheet" href="{$kx.config.resurl}/template/kxwebno1/css/global.css"/>
  7. <link rel="stylesheet" href="{$kx.config.resurl}/template/kxwebno1/css/style.css"/>
  8. </head>
  9. <body>
  10. <!-- 头部 -->
  11. {include file="/system/header"}
  12. <!-- 内容 -->
  13. <div class="pt-content">
  14. <!-- 面包屑 -->
  15. <div class="pt-crumb">
  16. <img src="{$kx.config.resurl}/template/kxwebno1/images/crumb_icon.png" class="pt-crumb-icon">
  17. <span class="color5">
  18. <a href="{$kx.config.siteurl}">{$kx.config.sitename}</a> > <a href="{link=user.index.index}" class="color5">用户中心</a> > <a href="{link=user.invite.index}">我的邀请</a>
  19. </span>
  20. </div>
  21. <!-- 一楼 -->
  22. <div class="pt-floor1">
  23. {include file="/system/userleft"}
  24. <div class="bg-white plr20 ptb20 mb10 fr" style="width: 950px;border-top: 4px solid #f55">
  25. <div class="size18 color32 bold">累计邀请(人)</div>
  26. <div class="color2 bold" style="font-size: 35px;">{$userinfo.data.invite_reg_num}</div>
  27. </div>
  28. <div class="relative pt-rank">
  29. <div class="relative pt-rank">
  30. <div class="pt-rank-head">
  31. <span class="size18 color2 mr10">邀请记录</span>
  32. <span class="size16 fr btn-invite cursor">邀请链接</span>
  33. </div>
  34. <div class="pt-user-table" style="padding-top:20px">
  35. {block method="pagination" name="paginate" page=$page limit=$pagesize count=$count maxpage=50 section=3}
  36. {block method="user.inviteList" name=invitelist userid=$userinfo.id page=$page}
  37. <table>
  38. <thead>
  39. <tr>
  40. <th>序号</th>
  41. <th>用户/IP</th>
  42. <th>类型</th>
  43. <th>{$kx.config.user.exp_caption}奖励</th>
  44. <th>{$kx.config.user.point_caption}奖励</th>
  45. <th>签到时间</th>
  46. </tr>
  47. </thead>
  48. <tbody>
  49. {if empty($invitelist)}
  50. <tr>
  51. <td colspan="6">您似乎来到了没有数据存在的荒原~~~</td>
  52. </tr>
  53. {else}
  54. {section loop=$invitelist item=$loop}
  55. <tr>
  56. <td>{$i.order}</td>
  57. <td class="color2">{$loop.ext}</td>
  58. <td>>{$loop.type|default="注册","访问"}</td>
  59. <td>{$loop.exp}</td>
  60. <td>{$loop.point}</td>
  61. <td>{$loop.datetime|date="Y-m-d H:i:s"}</td>
  62. </tr>
  63. {/section}
  64. {/if}
  65. </tbody>
  66. </table>
  67. </div>
  68. <!-- 分页 -->
  69. <div class="pt-pages">
  70. {if !empty($invitelist) && $paginate.total>1}
  71. <div class="pt30 color5">
  72. {if $paginate.prev}
  73. <a href="{link=user.invite.index page=$paginate.prev}"><span><</span></a>
  74. {else}
  75. <span class="disable"><</span>
  76. {/if}
  77. {loop=paginate.items}
  78. <a href="{link=user.invite.index page=$loop.num}">
  79. <span class="{$loop.status|default='','pt-pages-select'}">{$loop.num}</span>
  80. </a>
  81. {/loop}
  82. {if $paginate.next}
  83. <a href="{link=user.invite.index page=$paginate.next}"><span>></span></a>
  84. {else}
  85. <span class="disable">></span>
  86. {/if}
  87. </div>
  88. {/if}
  89. </div>
  90. </div>
  91. </div>
  92. </div>
  93. <!-- 底部版权-->
  94. {include file="/system/footer"}
  95. <script>
  96. $('.btn-invite').click(function () {
  97. layer.alert(
  98. '您的专用地址:<span class="copy"><input type="text" value="{$kx.config.siteurl}/?fr={$userinfo.id}" style="width: 350px;" readonly></span><br>' +
  99. '您还可以拼装链接分享任何页面,只要按照以下规则:<br>' +
  100. '1、如果页面链接中包含"?"问号,那么在最后拼接上 &fr={$userinfo.id}<br>' +
  101. '2、如果页面链接中不包含"?"问号,那么在最后拼接上 ?fr={$userinfo.id}',
  102. {
  103. title: '邀请链接说明',
  104. area: '500px',
  105. btn:['复制','关闭'],
  106. btn1: function (index,layno) {
  107. layno.find('input')[0].select();
  108. document.execCommand("Copy");
  109. layer.msg('复制成功');
  110. }
  111. }
  112. );
  113. });
  114. </script>
  115. <!-- js-->
  116. <script src="{$kx.config.resurl}/template/kxwebno1/js/rankdetail.js"></script>
  117. </body>
  118. </html>