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.
 
 
 
 

278 lines
16 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>{$tkd.title|parseTpl}</title>
  6. <meta name="keywords" content="{$tkd.keywords|parseTpl}">
  7. <meta name="description" content="{$tkd.description|parseTpl}">
  8. <link rel="stylesheet" href="{$kx.config.resurl}/template/kxwebno1/css/global.css"/>
  9. <link rel="stylesheet" href="{$kx.config.resurl}/template/kxwebno1/css/style.css"/>
  10. <link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
  11. <meta name="author" content="www.ptcms.com">
  12. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  13. <meta name="renderer" content="webkit">
  14. <meta name="viewport" content="width=device-width" />
  15. <meta name="applicable-device" content="pc">
  16. <meta http-equiv="mobile-agent" content="format=html5; url={$kx.config.mobileurl}__SELF__">
  17. <meta http-equiv="Cache-Control" content="no-siteapp" />
  18. <meta http-equiv="Cache-Control" content="no-transform" />
  19. <link rel="canonical" href="{$kx.config.pcurl}__SELF__" />
  20. </head>
  21. <body>
  22. <!-- 头部 -->
  23. {include file="system/header"}
  24. <!-- 内容 -->
  25. <div class="pt-content mt10">
  26. <!-- 一楼 -->
  27. <div class="pt-floor1 clearfix">
  28. <!-- 分类 -->
  29. <div class="fl pt-index-category mt10">
  30. <div class="pt-index-category-title">作品分类</div>
  31. <ul class="w100 pt-index-category-list">
  32. {block method="category.list" name=list withall=0 pid=1}
  33. {loop=$list}
  34. <li>
  35. <a title="{$loop.name}" href="{link=novel.category.list categoryid=$loop.id key=$loop.key}">
  36. <span class="color5 f_bold">{$loop.name}</span>
  37. <span class="size12 color9">{$loop.num}</span>
  38. </a>
  39. </li>
  40. {/loop}
  41. </ul>
  42. </div>
  43. <!-- 轮播 -->
  44. <div class="fl middle mt10">
  45. <div class="fl pt-slider">
  46. <ul class="pt-slider-main">
  47. {block method="banner" name=list key='pc_index'}
  48. {loop=$list}
  49. <li class="pt-slider-panel">
  50. <a href="{$loop.url}" title="{$loop.intro}">
  51. <img src="{$loop.img}" title="{$loop.intro}" class="pt-slider-thumb" alt="{$loop.intro}">
  52. </a>
  53. </li>
  54. {/loop}
  55. </ul>
  56. <ul class="pt-slider-nav">
  57. {loop=$list}
  58. <li class="pt-slider-item"></li>
  59. {/loop}
  60. </ul>
  61. </div>
  62. <div class="fl pt-news-list">
  63. <div class="title">新闻公告 <a href="{link=news.list}" class="fr size12 mr10 color9">更多 +</a></div>
  64. <ul class="list clearfix">
  65. {block method="news.list" name=list num=6}
  66. {loop}
  67. <li>
  68. <a title="{$loop.category.name}" href="#" target="_blank"> <span class="color3">[{$loop.category.name}]</span></a>
  69. <a href="{link=news.detail newsid=$loop.id}" title="{$loop.title}" target="_blank"><span class="color4 pt-text">{$loop.title}</span></a>
  70. </li>
  71. {/loop}
  72. </ul>
  73. </div>
  74. </div>
  75. <!-- 新书推荐 -->
  76. <div class="fr pt-new-recomment mt10" style="height:370px">
  77. <div class="pt-new-recomment-title">新书推荐</div>
  78. <ul class="pt-new-recomment-list">
  79. {block method="recommend" name=list recommendid=1 num=10}
  80. {loop=$list}
  81. <li>
  82. <a title="{$loop.data.category.name}" class="color3 f_bold" href="{link=novel.category.list categoryid=$loop.data.category.id key=$loop.data.category.key}">[{$loop.data.category.name}]</a>
  83. <a href="{link=novel.novel.index novelid=$loop.data.novel.id pinyin=$loop.data.novel.pinyin}" class="color4 pt-text" title="{$loop.data.novel.name}">{$loop.data.novel.name}</a>
  84. </li>
  85. {/loop}
  86. </ul>
  87. </div>
  88. </div>
  89. <!-- 二楼 -->
  90. <div class="pt-floor2 mt20 clearfix">
  91. <!-- 站长推荐 -->
  92. <div class="pt-featured clearfix">
  93. <div class="pt-featured-title">{$kx.config.sitename}站长推荐</div>
  94. <ul class="pt-featured-list clearfix">
  95. {block method="recommend" name=list recommendid=2 num=6}
  96. {loop=$list}
  97. <li>
  98. <a title="{$loop.data.novel.name}" href="{link=novel.novel.index novelid=$loop.data.novel.id pinyin=$loop.data.novel.pinyin}"><img src="{$loop.data.novel.cover}" alt="{$loop.data.novel.name}" title="{$loop.data.novel.name}"></a>
  99. <div class="pt-featured-list-cont">
  100. <div><a href="{link=novel.novel.index novelid=$loop.data.novel.id pinyin=$loop.data.novel.pinyin}" class="size16 color7 compulsory-row-one f_bold">{$loop.data.novel.name}</a></div>
  101. <div class="size14 color8" style="margin-top:8px"> <strong>作者:</strong><a title="{$loop.data.novel.name}" href="{link=author.space.index authorid=$loop.data.author.id pinyin=$loop.data.author.pinyin name=$loop.data.author.name}">{$loop.data.author.name}</a>
  102. </div>
  103. <div class="pt-featured-list-cont-intro compulsory-row-four size12 color9 mt10">{$loop.data.novel.intro|showIntroLine|truncate=50}</div>
  104. <div class="size12 color7"><a title="点击进入小说" href="{link=novel.novel.index novelid=$loop.data.novel.id pinyin=$loop.data.novel.pinyin}">前往阅读 >></a></div>
  105. </div>
  106. </li>
  107. {/loop}
  108. </ul>
  109. </div>
  110. <!-- 点击榜 -->
  111. <div class="pt-sexselect ">
  112. <div class="size18 color4 w100 border-b" style="padding-bottom:8px;">
  113. {block method="rank.info" name=rankinfo key=weekvisit}
  114. <span class="pt-sexselect-man pt-sexselect-active cursor">{$rankinfo.name}</span>
  115. {block method="rank.info" name=rankinfo key=monthvisit}
  116. <span class="pt-sexselect-woman cursor">{$rankinfo.name}</span>
  117. </div>
  118. <ul class="pt-sexselect-list">
  119. {block method="novel.list" name=list order=weekvisit num=12}
  120. {section loop=$list item=$loop}
  121. <li class="">
  122. <span class="{=$i.index<3?'bg-red':'bg-ccc'} pt-sexselect-square">{=$i.index + 1}</span>
  123. <a class="color5 f_bold" href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a>
  124. <a title="{$loop.author.name}" class="color9 fr " href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}">{$loop.author.name}</a>
  125. </li>
  126. {/section}
  127. </ul>
  128. <ul class="pt-sexselect-list none">
  129. {block method="novel.list" name=list order=monthvisit num=12}
  130. {section loop=$list item=$loop}
  131. <li>
  132. <span class="{=$i.index<3?'bg-red':'bg-ccc'} pt-sexselect-square">{=$i.index + 1}</span>
  133. <a class="color5 f_bold" href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a>
  134. <a title="{$loop.author.name}" class="color9 fr " href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}">{$loop.author.name}</a>
  135. </li>
  136. {/section}
  137. </ul>
  138. </div>
  139. </div>
  140. <!-- 三楼 -->
  141. <div class="pt-floor3 clearfix">
  142. <!-- 分类 -->
  143. <div class="pt-sort mt10">
  144. {block method="category.list" name=list withall=0 pid=1 num=9}
  145. {loop}
  146. <div class="pt-sort-cont clearfix" style="width: 290px;min-height: 281px;">
  147. <div class="pt-sort-cont-title">
  148. <span class="fl pt-sort-cont-title-icon"></span>
  149. <a title="{$loop.name}" href="{link=novel.category.list categoryid=$loop.id key=$loop.key}" class="size18 color3 f_bold">{$loop.name}</a>
  150. </div>
  151. {block method="novel.list" name=novellist num=5 category=$loop.id}
  152. {section loop=$novellist item=$nlist}
  153. {if $i.first}
  154. <div class="pt-sort-top">
  155. <a href="{link=novel.novel.index novelid=$nlist.novel.id pinyin=$nlist.novel.pinyin}" title="{$nlist.novel.name}"><img src="{$nlist.novel.cover}" alt="{$loop.data.novel.name}"></a>
  156. <div class="pt-sort-top-r">
  157. <div class="size16 color7">
  158. <a href="{link=novel.novel.index novelid=$nlist.novel.id pinyin=$nlist.novel.pinyin}" title="{$nlist.novel.name}" class="size16 color7 fl compulsory-row-one">{$nlist.novel.name}</a>
  159. </div>
  160. <div class="compulsory-row-three size12 color4 pt-sort-r-intro">{$nlist.novel.intro|showIntroLine|truncate="50"}</div>
  161. <div class="size14 color4">
  162. <a title="{$nlist.author.name}" href="{link=author.space.index authorid=$nlist.author.id pinyin=$nlist.author.pinyin name=$nlist.author.name}" class="size14 color4 ">{$nlist.author.name}</a>著
  163. </div>
  164. </div>
  165. </div>
  166. {else}
  167. <!-- 分类列表 -->
  168. <div class="pt-sort-list clearfix">
  169. <a style="width:200px;" href="{link=novel.novel.index novelid=$nlist.novel.id pinyin=$nlist.novel.pinyin}" title="{$nlist.novel.name}" class="inline-block fl compulsory-row-one color5">{$nlist.novel.name}</a>
  170. <a style="width:80px;" title="{$nlist.author.name}" href="{link=author.space.index authorid=$nlist.author.id pinyin=$nlist.author.pinyin name=$nlist.author.name}" class="inline-block compulsory-row-one fr color4">{$nlist.author.name}</a>
  171. </div>
  172. {/if}
  173. {/section}
  174. </div>
  175. {/loop}
  176. </div>
  177. <!-- 推荐榜 -->
  178. <div class="pt-sexselect mt10">
  179. {block method="rank.info" name=rankinfo key=vote}
  180. <div class="pt-sexselect-title border-b"><span class="fl pt-sexselect-title-icon"></span>{$rankinfo.name}</div>
  181. <ul class="pt-sexselect-list">
  182. {block method="novel.list" name=list order=$rankinfo.key num=15}
  183. {section loop=$list item=$loop}
  184. <li class="">
  185. <span class="{=$i.index<3?'bg-red':'bg-ccc'} pt-sexselect-square">{=$i.index + 1}</span>
  186. <a class="color5 f_bold" href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a>
  187. <a title="{$loop.author.name}" class="color9 fr" href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}">{$loop.author.name}</a>
  188. </li>
  189. {/section}
  190. </ul>
  191. </div>
  192. <!-- 收藏榜 -->
  193. <div class="pt-sexselect mt20">
  194. {block method="rank.info" name=rankinfo key=mark}
  195. <div class="pt-sexselect-title border-b"><span class="fl pt-sexselect-title-icon"></span>{$rankinfo.name}</div>
  196. <ul class="pt-sexselect-list">
  197. {block method="novel.list" name=list order=$rankinfo.key num=10}
  198. {section loop=$list item=$loop}
  199. <li class="">
  200. <span class="{=$i.index<3?'bg-red':'bg-ccc'} pt-sexselect-square">{=$i.index + 1}</span>
  201. <a class="color5 f_bold" href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a>
  202. <a title="{$loop.author.name}" class="color9 fr" href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}">{$loop.author.name}</a>
  203. </li>
  204. {/section}
  205. </ul>
  206. </div>
  207. </div>
  208. <!-- 四楼楼 -->
  209. <div class="pt-floor4 clearfix">
  210. <!-- 章节更新 -->
  211. <div class="pt-update">
  212. <div class="pt-update-title">{$kx.config.sitename}最新更新</div>
  213. <ul class="pt-update-list">
  214. {block method="novel.list" name=list order=lastupdate num=25 cachetime=180}
  215. {loop}
  216. <li class="clear {if $key%2}bg-f9{/if}">
  217. <a title="{$loop.category.name}" href="{link=novel.category.list categoryid=$loop.category.id key=$loop.category.key}" class="category"> [{$loop.category.name}] </a>
  218. <a title="{$loop.novel.name}" href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" class="novelname size16 ">{$loop.novel.name}</a>
  219. <a title="{$loop.last.name}" href="{link=novel.chapter.read novelid=$loop.novel.id pinyin=$loop.novel.pinyin chapterid=$loop.last.id}" class="chaptername">{$loop.last.name}</a>
  220. <a title="{$loop.author.name}" href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}" class="color7 author">{$loop.author.name}</a>
  221. <span class="time">{$loop.last.time|date="m-d H:i"}</span>
  222. </li>
  223. {/loop}
  224. </ul>
  225. </div>
  226. <!-- 新书榜 -->
  227. <div class="pt-sexselect mt10">
  228. {block method="rank.info" name=rankinfo key=postdate}
  229. <div class="pt-sexselect-title border-b"><span class="fl pt-sexselect-title-icon"></span>{$rankinfo.name}</div>
  230. <ul class="pt-sexselect-list">
  231. {block method="novel.list" name=list order=$rankinfo.key num=15}
  232. {section loop=$list item=$loop}
  233. <li class="">
  234. <span class="{=$i.index<3?'bg-red':'bg-ccc'} pt-sexselect-square ">{=$i.index + 1}</span>
  235. <a class="color5 f_bold" href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a>
  236. <a title="{$loop.author.name}" class="color9 fr" href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}">{$loop.author.name}</a>
  237. </li>
  238. {/section}
  239. </ul>
  240. </div>
  241. <!-- 下载榜 -->
  242. <div class="pt-sexselect mt10">
  243. {block method="rank.info" name=rankinfo key=down}
  244. <div class="pt-sexselect-title border-b"><span class="fl pt-sexselect-title-icon"></span>{$rankinfo.name}</div>
  245. <ul class="pt-sexselect-list">
  246. {block method="novel.list" name=list order=$rankinfo.key num=15}
  247. {section loop=$list item=$loop}
  248. <li class="">
  249. <span class="{=$i.index<3?'bg-red':'bg-ccc'} pt-sexselect-square">{=$i.index + 1}</span>
  250. <a class="color5 f_bold" href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a>
  251. <a title="{$loop.author.name}" class="color9 fr" href="{link=author.space.index authorid=$loop.author.id pinyin=$loop.author.pinyin name=$loop.author.name}">{$loop.author.name}</a>
  252. </li>
  253. {/section}
  254. </ul>
  255. </div>
  256. </div>
  257. <!-- 友情链接 -->
  258. <div class="pt-blogroll">
  259. <div class="pt-blogroll-title">
  260. <span>友情链接</span>
  261. </div>
  262. <div class="pt-blogroll-list">
  263. {block method="friendlink.list" name=list}
  264. {loop=$list}
  265. <a href="{$loop.url}" target="_blank" class="color4" {if !empty($loop.color)} style="color: {$loop.color};" {/if} title="{$loop.name}{$loop.intro}">
  266. {$loop.is_bold|default='','<strong>'}{$loop.name}{$loop.is_bold|default='','</strong>'}
  267. </a>
  268. {/loop}
  269. </div>
  270. </div>
  271. </div>
  272. <!-- 底部版权-->
  273. {include file="/system/footer"}
  274. <!-- js-->
  275. <script src="{$kx.config.resurl}/template/kxwebno1/js/index.js"></script>
  276. </body>
  277. </html>