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.
 
 
 
 

86 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.vote.index}">我的推荐</a>
  19. </span>
  20. </div>
  21. <!-- 一楼 -->
  22. <div class="pt-floor1">
  23. {include file="/system/userleft"}
  24. <!-- 推荐 -->
  25. <div class="relative pt-rank">
  26. <div class="pt-rank-head">
  27. <a href="{link=user.vote.index}" class="color5 mr10">我推荐的书籍</a>
  28. <span class="mr10">|</span>
  29. <a href="{link=user.vote.booklist}" class="color7 bold">我推荐的书单</a>
  30. </div>
  31. <div class="pt-user-table">
  32. {block method="pagination" name="paginate" page=$page limit=$pageSize count=$count maxpage=50 section=3}
  33. {block method="user.voteList" name=voteList type='booklist' userid=$userinfo.id page=$page}
  34. <table>
  35. <thead>
  36. <tr>
  37. <th>书单</th>
  38. <th>时间</th>
  39. </tr>
  40. </thead>
  41. <tbody>
  42. {if empty($voteList)}
  43. <tr>
  44. <td colspan="5">您似乎来到了没有数据存在的荒原~~~</td>
  45. </tr>
  46. {else}
  47. {section loop=$voteList item=$loop}
  48. <tr>
  49. <td><a href="{link=booklist.booklist.detail id=$loop.booklist.id}">{$loop.booklist.title}</a></td>
  50. <td>{$loop.create_time|date="Y-m-d H:i:s"}</td>
  51. </tr>
  52. {/section}
  53. {/if}
  54. </tbody>
  55. </table>
  56. </div>
  57. <!-- 分页 -->
  58. {if !empty($voteList) && $paginate.total>1}
  59. <div class="pt-pages">
  60. <div class="pt30 color5">
  61. {if $paginate.prev}
  62. <a href="{link=user.vote.booklist page=$paginate.prev}"><span><</span></a>
  63. {else}
  64. <span class="disable"><</span>
  65. {/if}
  66. {loop=paginate.items}
  67. <a href="{link=user.vote.booklist page=$loop.num}">
  68. <span class="{$loop.status|default='','pt-pages-select'}">{$loop.num}</span>
  69. </a>
  70. {/loop}
  71. {if $paginate.next}
  72. <a href="{link=user.vote.booklist page=$paginate.next}"><span>></span></a>
  73. {else}
  74. <span class="disable">></span>
  75. {/if}
  76. </div>
  77. </div>
  78. {/if}
  79. </div>
  80. </div>
  81. </div>
  82. {include file="/system/footer"}
  83. </body>
  84. </html>