You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

91 lines
3.7 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.sign.index}">我的签到</a>
  19. </span>
  20. </div>
  21. <!-- 一楼 -->
  22. <div class="pt-floor1">
  23. {include file="/system/userleft"}
  24. <div class="relative pt-rank">
  25. <div class="pt-rank-head">
  26. <span class="size18 color2 mr10">签到记录</span>
  27. </div>
  28. <div class="pt-user-table" style="padding-top:20px">
  29. {block method="pagination" name="paginate" page=$page limit=$pagesize count=$count maxpage=50 section=3}
  30. {block method="sign" name=signlist userid=$userinfo.id page=$page}
  31. <table>
  32. <thead>
  33. <tr>
  34. <th>签到时间</th>
  35. <th>连签次数</th>
  36. <th>{$kx.config.user.exp_caption}奖励</th>
  37. <th>{$kx.config.user.point_caption}奖励</th>
  38. </tr>
  39. </thead>
  40. <tbody>
  41. {if empty($signlist)}
  42. <tr>
  43. <td colspan="5">您似乎来到了没有数据存在的荒原~~~</td>
  44. </tr>
  45. {else}
  46. {section loop=$signlist item=$loop}
  47. <tr>
  48. <td>{$loop.datetime|date="Y-m-d H:i:s"}</td>
  49. <td>{$loop.num}</td>
  50. <td>{$loop.exp}</td>
  51. <td>{$loop.point}</td>
  52. </tr>
  53. {/section}
  54. {/if}
  55. </tbody>
  56. </table>
  57. </div>
  58. <!-- 分页 -->
  59. <div class="pt-pages">
  60. {if !empty($signlist) && $paginate.total>1}
  61. <div class="pt30 color5">
  62. {if $paginate.prev}
  63. <a href="{link=user.sign.index page=$paginate.prev}"><span><</span></a>
  64. {else}
  65. <span class="disable"><</span>
  66. {/if}
  67. {loop=paginate.items}
  68. <a href="{link=user.sign.index page=$loop.num}">
  69. <span class="{$loop.status|default='','pt-pages-select'}">{$loop.num}</span>
  70. </a>
  71. {/loop}
  72. {if $paginate.next}
  73. <a href="{link=user.sign.index page=$paginate.next}"><span>></span></a>
  74. {else}
  75. <span class="disable">></span>
  76. {/if}
  77. </div>
  78. {/if}
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. <!-- 底部版权-->
  84. {include file="/system/footer"}
  85. <!-- js-->
  86. <script src="{$kx.config.resurl}/template/kxwebno1/js/rankdetail.js"></script>
  87. </body>
  88. </html>