Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

370 linhas
33 KiB

  1. <?php defined('KX_ROOT') || exit('Permission denied');?><!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title><?php include \Kuxin\View::parseTpl($tkd['title']);?></title>
  6. <meta name="keywords" content="<?php include \Kuxin\View::parseTpl($tkd['keywords']);?>">
  7. <meta name="description" content="<?php include \Kuxin\View::parseTpl($tkd['description']);?>">
  8. <link rel="stylesheet" href="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxwebno1/css/global.css"/>
  9. <link rel="stylesheet" href="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_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=<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "mobileurl");?><?php echo $_SERVER['REQUEST_URI'];?>">
  17. <meta http-equiv="Cache-Control" content="no-siteapp" />
  18. <meta http-equiv="Cache-Control" content="no-transform" />
  19. <link rel="canonical" href="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "pcurl");?><?php echo $_SERVER['REQUEST_URI'];?>" />
  20. </head>
  21. <body>
  22. <!-- 头部 -->
  23. <div class="pt-top-nav">
  24. <ul class="content">
  25. <li class="fl">
  26. 欢迎访问<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "sitename");?>小说网
  27. </li>
  28. <li class="fr m">
  29. <img src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxwebno1/images/shortcut_icon.png" class="pt-shortcut-icon">
  30. <span class="cursor color4 lh100" onclick="toDesktop('<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "siteurl");?>','<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "sitename");?>')">桌面快捷</span>
  31. </li>
  32. <li class="fr mr20">
  33. <img src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxwebno1/images/star_icon.png" class="pt-index-icon">
  34. <span class="cursor color4 lh100" onclick="addFavorite(document.title,window.location);">加入收藏</span>
  35. </li>
  36. <li class="fr mr20">
  37. <img src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxwebno1/images/index_icon.png" class="pt-index-icon">
  38. <span class="cursor color4 lh100" onclick="setHome(this);">设为首页</span>
  39. </li>
  40. </ul>
  41. </div>
  42. <div class="w100 pt-head-bg">
  43. <div class="pt-head">
  44. <img src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/static/image/logo.png" class="pt-logo" title="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "sitename");?>">
  45. <div class="pt-search-box">
  46. <form action="<?php echo \Kuxin\Helper\Url::build("novel.search.result",[],"");?>">
  47. <div class="pt-serachbg">
  48. <input type="text" name="searchkey" placeholder="请输入您要搜索的书名" class="pt-serarch-input" value="<?php echo $_GET['searchkey'];?>">
  49. </div>
  50. <button type="submit" class="pt-search-btn">
  51. <img src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxwebno1/images/search.png" class="pt-search-icon">
  52. </button>
  53. </form>
  54. </div>
  55. <ul class="inline-block size14 color4 fr pt-head-list">
  56. <li>
  57. <img src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxwebno1/images/person_icon.png" class="pt-person-icon">
  58. <?php if(($islogin)):?>
  59. <span class="color2 lh100">
  60. <a href="<?php echo \Kuxin\Helper\Url::build("user.index.index",[],"");?>" class="color2"><?php echo $userinfo['nickname']?:$userinfo['name'];?></a>
  61. <span>|</span>
  62. <a href="<?php echo \Kuxin\Helper\Url::build("user.pay.recharge",[],"");?>" class="color2">充值</a>
  63. </span>
  64. <?php else:?>
  65. <span class="color2 lh100"><a title="登录" href="<?php echo \Kuxin\Helper\Url::build("user.auth.login",[],"");?>" class="color2">登录</a> | <a title="注册" href="<?php echo \Kuxin\Helper\Url::build("user.auth.register",[],"");?>" class="color2">注册</a></span>
  66. <?php endif;?>
  67. </li>
  68. <li>
  69. <img src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxwebno1/images/book_icon.png" class="pt-book-icon">
  70. <a rel="nofollow" href="<?php echo \Kuxin\Helper\Url::build("user.mark.index",[],"");?>" class="color4 lh100">我的书架</a>
  71. </li>
  72. <li class="inline-block">
  73. <img src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxwebno1/images/history_icon.png" class="pt-history-icon">
  74. <a rel="nofollow" href="<?php echo \Kuxin\Helper\Url::build("user.history.index",[],"");?>" class="color4 lh100">阅读历史</a>
  75. </li>
  76. </ul>
  77. </div>
  78. </div>
  79. <!-- 导航栏 -->
  80. <div class="pt-navbg">
  81. <div class="pt-nav">
  82. <a title="首页" href="<?php echo \Kuxin\Helper\Url::build("index.index",[],"");?>"<?php if($pagesign=='index'):?> class="pt-active"<?php endif;?>>首页</a>
  83. <a title="排行" href="<?php echo \Kuxin\Helper\Url::build("novel.rank.index",[],"");?>"<?php if($pagesign=='rank'):?> class="pt-active"<?php endif;?>>排行</a>
  84. <a title="分类" href="<?php echo \Kuxin\Helper\Url::build("novel.category.index",[],"");?>"<?php if($pagesign=='category'):?> class="pt-active"<?php endif;?>>分类</a>
  85. <a title="完本" href="<?php echo \Kuxin\Helper\Url::build("novel.over.index",[],"");?>"<?php if($pagesign=='over'):?> class="pt-active"<?php endif;?>>完本</a>
  86. <a title="书单" href="<?php echo \Kuxin\Helper\Url::build("booklist.booklist.index",[],"");?>"<?php if($pagesign=='booklist'):?> class="pt-active"<?php endif;?>>书单</a>
  87. <a title="专题" href="<?php echo \Kuxin\Helper\Url::build("special.index",[],"");?>"<?php if($pagesign=='special'):?> class="pt-active"<?php endif;?>>专题</a>
  88. <a title="用户中心" href="<?php echo \Kuxin\Helper\Url::build("user.index.index",[],"");?>" class="fr<?php if($pagesign=='user'):?> pt-active<?php endif;?>">用户中心</a>
  89. <a title="原创专区" href="<?php echo \Kuxin\Helper\Url::build("author.author.index",[],"");?>" class="fr" target="_blank">原创专区</a>
  90. </div>
  91. </div>
  92. <!-- 内容 -->
  93. <div class="pt-content mt10">
  94. <!-- 一楼 -->
  95. <div class="pt-floor1 clearfix">
  96. <!-- 分类 -->
  97. <div class="fl pt-index-category mt10">
  98. <div class="pt-index-category-title">作品分类</div>
  99. <ul class="w100 pt-index-category-list">
  100. <?php $list=\Kuxin\Block::show('category.list', ['withall'=>0,'pid'=>1]);?>
  101. <?php if(is_array($list)): foreach($list as $key =>$loop):?>
  102. <li>
  103. <a title="<?php echo $loop['name'];?>" href="<?php echo \Kuxin\Helper\Url::build("novel.category.list",['categoryid'=>$loop['id'],'key'=>$loop['key']],"");?>">
  104. <span class="color5 f_bold"><?php echo $loop['name'];?></span>
  105. <span class="size12 color9"><?php echo $loop['num'];?></span>
  106. </a>
  107. </li>
  108. <?php endforeach; endif;?>
  109. </ul>
  110. </div>
  111. <!-- 轮播 -->
  112. <div class="fl middle mt10">
  113. <div class="fl pt-slider">
  114. <ul class="pt-slider-main">
  115. <?php $list=\Kuxin\Block::show('banner', ['key'=>'pc_index']);?>
  116. <?php if(is_array($list)): foreach($list as $key =>$loop):?>
  117. <li class="pt-slider-panel">
  118. <a href="<?php echo $loop['url'];?>" title="<?php echo $loop['intro'];?>">
  119. <img src="<?php echo $loop['img'];?>" title="<?php echo $loop['intro'];?>" class="pt-slider-thumb" alt="<?php echo $loop['intro'];?>">
  120. </a>
  121. </li>
  122. <?php endforeach; endif;?>
  123. </ul>
  124. <ul class="pt-slider-nav">
  125. <?php if(is_array($list)): foreach($list as $key =>$loop):?>
  126. <li class="pt-slider-item"></li>
  127. <?php endforeach; endif;?>
  128. </ul>
  129. </div>
  130. <div class="fl pt-news-list">
  131. <div class="title">新闻公告 <a href="<?php echo \Kuxin\Helper\Url::build("news.list",[],"");?>" class="fr size12 mr10 color9">更多 +</a></div>
  132. <ul class="list clearfix">
  133. <?php $list=\Kuxin\Block::show('news.list', ['num'=>6]);?>
  134. <?php if(is_array($list)): foreach($list as $key =>$loop):?>
  135. <li>
  136. <a title="<?php echo $loop['category']['name'];?>" href="#" target="_blank"> <span class="color3">[<?php echo $loop['category']['name'];?>]</span></a>
  137. <a href="<?php echo \Kuxin\Helper\Url::build("news.detail",['newsid'=>$loop['id']],"");?>" title="<?php echo $loop['title'];?>" target="_blank"><span class="color4 pt-text"><?php echo $loop['title'];?></span></a>
  138. </li>
  139. <?php endforeach; endif;?>
  140. </ul>
  141. </div>
  142. </div>
  143. <!-- 新书推荐 -->
  144. <div class="fr pt-new-recomment mt10" style="height:370px">
  145. <div class="pt-new-recomment-title">新书推荐</div>
  146. <ul class="pt-new-recomment-list">
  147. <?php $list=\Kuxin\Block::show('recommend', ['recommendid'=>1,'num'=>10]);?>
  148. <?php if(is_array($list)): foreach($list as $key =>$loop):?>
  149. <li>
  150. <a title="<?php echo $loop['data']['category']['name'];?>" class="color3 f_bold" href="<?php echo \Kuxin\Helper\Url::build("novel.category.list",['categoryid'=>$loop['data']['category']['id'],'key'=>$loop['data']['category']['key']],"");?>">[<?php echo $loop['data']['category']['name'];?>]</a>
  151. <a href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['data']['novel']['id'],'pinyin'=>$loop['data']['novel']['pinyin']],"");?>" class="color4 pt-text" title="<?php echo $loop['data']['novel']['name'];?>"><?php echo $loop['data']['novel']['name'];?></a>
  152. </li>
  153. <?php endforeach; endif;?>
  154. </ul>
  155. </div>
  156. </div>
  157. <!-- 二楼 -->
  158. <div class="pt-floor2 mt20 clearfix">
  159. <!-- 站长推荐 -->
  160. <div class="pt-featured clearfix">
  161. <div class="pt-featured-title"><?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "sitename");?>站长推荐</div>
  162. <ul class="pt-featured-list clearfix">
  163. <?php $list=\Kuxin\Block::show('recommend', ['recommendid'=>2,'num'=>6]);?>
  164. <?php if(is_array($list)): foreach($list as $key =>$loop):?>
  165. <li>
  166. <a title="<?php echo $loop['data']['novel']['name'];?>" href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['data']['novel']['id'],'pinyin'=>$loop['data']['novel']['pinyin']],"");?>"><img src="<?php echo $loop['data']['novel']['cover'];?>" alt="<?php echo $loop['data']['novel']['name'];?>" title="<?php echo $loop['data']['novel']['name'];?>"></a>
  167. <div class="pt-featured-list-cont">
  168. <div><a href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['data']['novel']['id'],'pinyin'=>$loop['data']['novel']['pinyin']],"");?>" class="size16 color7 compulsory-row-one f_bold"><?php echo $loop['data']['novel']['name'];?></a></div>
  169. <div class="size14 color8" style="margin-top:8px"> <strong>作者:</strong><a title="<?php echo $loop['data']['novel']['name'];?>" href="<?php echo \Kuxin\Helper\Url::build("author.space.index",['authorid'=>$loop['data']['author']['id'],'pinyin'=>$loop['data']['author']['pinyin'],'name'=>$loop['data']['author']['name']],"");?>"><?php echo $loop['data']['author']['name'];?></a>
  170. </div>
  171. <div class="pt-featured-list-cont-intro compulsory-row-four size12 color9 mt10"><?php echo \Kuxin\Helper\Str::truncate(showIntroLine($loop['data']['novel']['intro']),50);?></div>
  172. <div class="size12 color7"><a title="点击进入小说" href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['data']['novel']['id'],'pinyin'=>$loop['data']['novel']['pinyin']],"");?>">前往阅读 >></a></div>
  173. </div>
  174. </li>
  175. <?php endforeach; endif;?>
  176. </ul>
  177. </div>
  178. <!-- 点击榜 -->
  179. <div class="pt-sexselect ">
  180. <div class="size18 color4 w100 border-b" style="padding-bottom:8px;">
  181. <?php $rankinfo=\Kuxin\Block::show('rank.info', ['key'=>'weekvisit']);?>
  182. <span class="pt-sexselect-man pt-sexselect-active cursor"><?php echo $rankinfo['name'];?></span>
  183. <?php $rankinfo=\Kuxin\Block::show('rank.info', ['key'=>'monthvisit']);?>
  184. <span class="pt-sexselect-woman cursor"><?php echo $rankinfo['name'];?></span>
  185. </div>
  186. <ul class="pt-sexselect-list">
  187. <?php $list=\Kuxin\Block::show('novel.list', ['order'=>'weekvisit','num'=>12]);?>
  188. <?php if(is_array($list) && (array()!=$list)): $i=array(); $i['loop']=array_slice($list,0,null,true); $i['total']=count($list); $i['count']=count($i['loop']); $i['cols']=1; $i['add']=$i['count']%1?1-$i['count']%1:0; $i['order']=0; $i['row']=1;$i['col']=0;foreach(array_pad($i['loop'],$i['add'],array()) as $i['index']=>$i['list']): $loop=$i['list']; $i['order']++; $i['col']++; if($i['col']==1): $i['col']=0; $i['row']++; endif; $i['first']=$i['order']==1; $i['last']=$i['order']==$i['count']; $i['extra']=$i['order']>$i['count'];?>
  189. <li class="">
  190. <span class="<?php echo $i['index']<3?'bg-red':'bg-ccc';?> pt-sexselect-square"><?php echo $i['index'] + 1;?></span>
  191. <a class="color5 f_bold" href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['novel']['id'],'pinyin'=>$loop['novel']['pinyin']],"");?>" title="<?php echo $loop['novel']['name'];?>"><?php echo $loop['novel']['name'];?></a>
  192. <a title="<?php echo $loop['author']['name'];?>" class="color9 fr " href="<?php echo \Kuxin\Helper\Url::build("author.space.index",['authorid'=>$loop['author']['id'],'pinyin'=>$loop['author']['pinyin'],'name'=>$loop['author']['name']],"");?>"><?php echo $loop['author']['name'];?></a>
  193. </li>
  194. <?php endforeach; endif;?>
  195. </ul>
  196. <ul class="pt-sexselect-list none">
  197. <?php $list=\Kuxin\Block::show('novel.list', ['order'=>'monthvisit','num'=>12]);?>
  198. <?php if(is_array($list) && (array()!=$list)): $i=array(); $i['loop']=array_slice($list,0,null,true); $i['total']=count($list); $i['count']=count($i['loop']); $i['cols']=1; $i['add']=$i['count']%1?1-$i['count']%1:0; $i['order']=0; $i['row']=1;$i['col']=0;foreach(array_pad($i['loop'],$i['add'],array()) as $i['index']=>$i['list']): $loop=$i['list']; $i['order']++; $i['col']++; if($i['col']==1): $i['col']=0; $i['row']++; endif; $i['first']=$i['order']==1; $i['last']=$i['order']==$i['count']; $i['extra']=$i['order']>$i['count'];?>
  199. <li>
  200. <span class="<?php echo $i['index']<3?'bg-red':'bg-ccc';?> pt-sexselect-square"><?php echo $i['index'] + 1;?></span>
  201. <a class="color5 f_bold" href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['novel']['id'],'pinyin'=>$loop['novel']['pinyin']],"");?>" title="<?php echo $loop['novel']['name'];?>"><?php echo $loop['novel']['name'];?></a>
  202. <a title="<?php echo $loop['author']['name'];?>" class="color9 fr " href="<?php echo \Kuxin\Helper\Url::build("author.space.index",['authorid'=>$loop['author']['id'],'pinyin'=>$loop['author']['pinyin'],'name'=>$loop['author']['name']],"");?>"><?php echo $loop['author']['name'];?></a>
  203. </li>
  204. <?php endforeach; endif;?>
  205. </ul>
  206. </div>
  207. </div>
  208. <!-- 三楼 -->
  209. <div class="pt-floor3 clearfix">
  210. <!-- 分类 -->
  211. <div class="pt-sort mt10">
  212. <?php $list=\Kuxin\Block::show('category.list', ['withall'=>0,'pid'=>1,'num'=>9]);?>
  213. <?php if(is_array($list)): foreach($list as $key =>$loop):?>
  214. <div class="pt-sort-cont clearfix" style="width: 290px;min-height: 281px;">
  215. <div class="pt-sort-cont-title">
  216. <span class="fl pt-sort-cont-title-icon"></span>
  217. <a title="<?php echo $loop['name'];?>" href="<?php echo \Kuxin\Helper\Url::build("novel.category.list",['categoryid'=>$loop['id'],'key'=>$loop['key']],"");?>" class="size18 color3 f_bold"><?php echo $loop['name'];?></a>
  218. </div>
  219. <?php $novellist=\Kuxin\Block::show('novel.list', ['num'=>5,'category'=>$loop['id']]);?>
  220. <?php if(is_array($novellist) && (array()!=$novellist)): $i=array(); $i['loop']=array_slice($novellist,0,null,true); $i['total']=count($novellist); $i['count']=count($i['loop']); $i['cols']=1; $i['add']=$i['count']%1?1-$i['count']%1:0; $i['order']=0; $i['row']=1;$i['col']=0;foreach(array_pad($i['loop'],$i['add'],array()) as $i['index']=>$i['list']): $nlist=$i['list']; $i['order']++; $i['col']++; if($i['col']==1): $i['col']=0; $i['row']++; endif; $i['first']=$i['order']==1; $i['last']=$i['order']==$i['count']; $i['extra']=$i['order']>$i['count'];?>
  221. <?php if($i['first']):?>
  222. <div class="pt-sort-top">
  223. <a href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$nlist['novel']['id'],'pinyin'=>$nlist['novel']['pinyin']],"");?>" title="<?php echo $nlist['novel']['name'];?>"><img src="<?php echo $nlist['novel']['cover'];?>" alt="<?php echo $loop['data']['novel']['name'];?>"></a>
  224. <div class="pt-sort-top-r">
  225. <div class="size16 color7">
  226. <a href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$nlist['novel']['id'],'pinyin'=>$nlist['novel']['pinyin']],"");?>" title="<?php echo $nlist['novel']['name'];?>" class="size16 color7 fl compulsory-row-one"><?php echo $nlist['novel']['name'];?></a>
  227. </div>
  228. <div class="compulsory-row-three size12 color4 pt-sort-r-intro"><?php echo \Kuxin\Helper\Str::truncate(showIntroLine($nlist['novel']['intro']),"50");?></div>
  229. <div class="size14 color4">
  230. <a title="<?php echo $nlist['author']['name'];?>" href="<?php echo \Kuxin\Helper\Url::build("author.space.index",['authorid'=>$nlist['author']['id'],'pinyin'=>$nlist['author']['pinyin'],'name'=>$nlist['author']['name']],"");?>" class="size14 color4 "><?php echo $nlist['author']['name'];?></a>著
  231. </div>
  232. </div>
  233. </div>
  234. <?php else:?>
  235. <!-- 分类列表 -->
  236. <div class="pt-sort-list clearfix">
  237. <a style="width:200px;" href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$nlist['novel']['id'],'pinyin'=>$nlist['novel']['pinyin']],"");?>" title="<?php echo $nlist['novel']['name'];?>" class="inline-block fl compulsory-row-one color5"><?php echo $nlist['novel']['name'];?></a>
  238. <a style="width:80px;" title="<?php echo $nlist['author']['name'];?>" href="<?php echo \Kuxin\Helper\Url::build("author.space.index",['authorid'=>$nlist['author']['id'],'pinyin'=>$nlist['author']['pinyin'],'name'=>$nlist['author']['name']],"");?>" class="inline-block compulsory-row-one fr color4"><?php echo $nlist['author']['name'];?></a>
  239. </div>
  240. <?php endif;?>
  241. <?php endforeach; endif;?>
  242. </div>
  243. <?php endforeach; endif;?>
  244. </div>
  245. <!-- 推荐榜 -->
  246. <div class="pt-sexselect mt10">
  247. <?php $rankinfo=\Kuxin\Block::show('rank.info', ['key'=>'vote']);?>
  248. <div class="pt-sexselect-title border-b"><span class="fl pt-sexselect-title-icon"></span><?php echo $rankinfo['name'];?></div>
  249. <ul class="pt-sexselect-list">
  250. <?php $list=\Kuxin\Block::show('novel.list', ['order'=>$rankinfo['key'],'num'=>15]);?>
  251. <?php if(is_array($list) && (array()!=$list)): $i=array(); $i['loop']=array_slice($list,0,null,true); $i['total']=count($list); $i['count']=count($i['loop']); $i['cols']=1; $i['add']=$i['count']%1?1-$i['count']%1:0; $i['order']=0; $i['row']=1;$i['col']=0;foreach(array_pad($i['loop'],$i['add'],array()) as $i['index']=>$i['list']): $loop=$i['list']; $i['order']++; $i['col']++; if($i['col']==1): $i['col']=0; $i['row']++; endif; $i['first']=$i['order']==1; $i['last']=$i['order']==$i['count']; $i['extra']=$i['order']>$i['count'];?>
  252. <li class="">
  253. <span class="<?php echo $i['index']<3?'bg-red':'bg-ccc';?> pt-sexselect-square"><?php echo $i['index'] + 1;?></span>
  254. <a class="color5 f_bold" href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['novel']['id'],'pinyin'=>$loop['novel']['pinyin']],"");?>" title="<?php echo $loop['novel']['name'];?>"><?php echo $loop['novel']['name'];?></a>
  255. <a title="<?php echo $loop['author']['name'];?>" class="color9 fr" href="<?php echo \Kuxin\Helper\Url::build("author.space.index",['authorid'=>$loop['author']['id'],'pinyin'=>$loop['author']['pinyin'],'name'=>$loop['author']['name']],"");?>"><?php echo $loop['author']['name'];?></a>
  256. </li>
  257. <?php endforeach; endif;?>
  258. </ul>
  259. </div>
  260. <!-- 收藏榜 -->
  261. <div class="pt-sexselect mt20">
  262. <?php $rankinfo=\Kuxin\Block::show('rank.info', ['key'=>'mark']);?>
  263. <div class="pt-sexselect-title border-b"><span class="fl pt-sexselect-title-icon"></span><?php echo $rankinfo['name'];?></div>
  264. <ul class="pt-sexselect-list">
  265. <?php $list=\Kuxin\Block::show('novel.list', ['order'=>$rankinfo['key'],'num'=>10]);?>
  266. <?php if(is_array($list) && (array()!=$list)): $i=array(); $i['loop']=array_slice($list,0,null,true); $i['total']=count($list); $i['count']=count($i['loop']); $i['cols']=1; $i['add']=$i['count']%1?1-$i['count']%1:0; $i['order']=0; $i['row']=1;$i['col']=0;foreach(array_pad($i['loop'],$i['add'],array()) as $i['index']=>$i['list']): $loop=$i['list']; $i['order']++; $i['col']++; if($i['col']==1): $i['col']=0; $i['row']++; endif; $i['first']=$i['order']==1; $i['last']=$i['order']==$i['count']; $i['extra']=$i['order']>$i['count'];?>
  267. <li class="">
  268. <span class="<?php echo $i['index']<3?'bg-red':'bg-ccc';?> pt-sexselect-square"><?php echo $i['index'] + 1;?></span>
  269. <a class="color5 f_bold" href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['novel']['id'],'pinyin'=>$loop['novel']['pinyin']],"");?>" title="<?php echo $loop['novel']['name'];?>"><?php echo $loop['novel']['name'];?></a>
  270. <a title="<?php echo $loop['author']['name'];?>" class="color9 fr" href="<?php echo \Kuxin\Helper\Url::build("author.space.index",['authorid'=>$loop['author']['id'],'pinyin'=>$loop['author']['pinyin'],'name'=>$loop['author']['name']],"");?>"><?php echo $loop['author']['name'];?></a>
  271. </li>
  272. <?php endforeach; endif;?>
  273. </ul>
  274. </div>
  275. </div>
  276. <!-- 四楼楼 -->
  277. <div class="pt-floor4 clearfix">
  278. <!-- 章节更新 -->
  279. <div class="pt-update">
  280. <div class="pt-update-title"><?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "sitename");?>最新更新</div>
  281. <ul class="pt-update-list">
  282. <?php $list=\Kuxin\Block::show('novel.list', ['order'=>'lastupdate','num'=>25,'cachetime'=>180]);?>
  283. <?php if(is_array($list)): foreach($list as $key =>$loop):?>
  284. <li class="clear <?php if($key%2):?>bg-f9<?php endif;?>">
  285. <a title="<?php echo $loop['category']['name'];?>" href="<?php echo \Kuxin\Helper\Url::build("novel.category.list",['categoryid'=>$loop['category']['id'],'key'=>$loop['category']['key']],"");?>" class="category"> [<?php echo $loop['category']['name'];?>] </a>
  286. <a title="<?php echo $loop['novel']['name'];?>" href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['novel']['id'],'pinyin'=>$loop['novel']['pinyin']],"");?>" class="novelname size16 "><?php echo $loop['novel']['name'];?></a>
  287. <a title="<?php echo $loop['last']['name'];?>" href="<?php echo \Kuxin\Helper\Url::build("novel.chapter.read",['novelid'=>$loop['novel']['id'],'pinyin'=>$loop['novel']['pinyin'],'chapterid'=>$loop['last']['id']],"");?>" class="chaptername"><?php echo $loop['last']['name'];?></a>
  288. <a title="<?php echo $loop['author']['name'];?>" href="<?php echo \Kuxin\Helper\Url::build("author.space.index",['authorid'=>$loop['author']['id'],'pinyin'=>$loop['author']['pinyin'],'name'=>$loop['author']['name']],"");?>" class="color7 author"><?php echo $loop['author']['name'];?></a>
  289. <span class="time"><?php echo \Kuxin\View::date($loop['last']['time'],"m-d H:i");?></span>
  290. </li>
  291. <?php endforeach; endif;?>
  292. </ul>
  293. </div>
  294. <!-- 新书榜 -->
  295. <div class="pt-sexselect mt10">
  296. <?php $rankinfo=\Kuxin\Block::show('rank.info', ['key'=>'postdate']);?>
  297. <div class="pt-sexselect-title border-b"><span class="fl pt-sexselect-title-icon"></span><?php echo $rankinfo['name'];?></div>
  298. <ul class="pt-sexselect-list">
  299. <?php $list=\Kuxin\Block::show('novel.list', ['order'=>$rankinfo['key'],'num'=>15]);?>
  300. <?php if(is_array($list) && (array()!=$list)): $i=array(); $i['loop']=array_slice($list,0,null,true); $i['total']=count($list); $i['count']=count($i['loop']); $i['cols']=1; $i['add']=$i['count']%1?1-$i['count']%1:0; $i['order']=0; $i['row']=1;$i['col']=0;foreach(array_pad($i['loop'],$i['add'],array()) as $i['index']=>$i['list']): $loop=$i['list']; $i['order']++; $i['col']++; if($i['col']==1): $i['col']=0; $i['row']++; endif; $i['first']=$i['order']==1; $i['last']=$i['order']==$i['count']; $i['extra']=$i['order']>$i['count'];?>
  301. <li class="">
  302. <span class="<?php echo $i['index']<3?'bg-red':'bg-ccc';?> pt-sexselect-square "><?php echo $i['index'] + 1;?></span>
  303. <a class="color5 f_bold" href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['novel']['id'],'pinyin'=>$loop['novel']['pinyin']],"");?>" title="<?php echo $loop['novel']['name'];?>"><?php echo $loop['novel']['name'];?></a>
  304. <a title="<?php echo $loop['author']['name'];?>" class="color9 fr" href="<?php echo \Kuxin\Helper\Url::build("author.space.index",['authorid'=>$loop['author']['id'],'pinyin'=>$loop['author']['pinyin'],'name'=>$loop['author']['name']],"");?>"><?php echo $loop['author']['name'];?></a>
  305. </li>
  306. <?php endforeach; endif;?>
  307. </ul>
  308. </div>
  309. <!-- 下载榜 -->
  310. <div class="pt-sexselect mt10">
  311. <?php $rankinfo=\Kuxin\Block::show('rank.info', ['key'=>'down']);?>
  312. <div class="pt-sexselect-title border-b"><span class="fl pt-sexselect-title-icon"></span><?php echo $rankinfo['name'];?></div>
  313. <ul class="pt-sexselect-list">
  314. <?php $list=\Kuxin\Block::show('novel.list', ['order'=>$rankinfo['key'],'num'=>15]);?>
  315. <?php if(is_array($list) && (array()!=$list)): $i=array(); $i['loop']=array_slice($list,0,null,true); $i['total']=count($list); $i['count']=count($i['loop']); $i['cols']=1; $i['add']=$i['count']%1?1-$i['count']%1:0; $i['order']=0; $i['row']=1;$i['col']=0;foreach(array_pad($i['loop'],$i['add'],array()) as $i['index']=>$i['list']): $loop=$i['list']; $i['order']++; $i['col']++; if($i['col']==1): $i['col']=0; $i['row']++; endif; $i['first']=$i['order']==1; $i['last']=$i['order']==$i['count']; $i['extra']=$i['order']>$i['count'];?>
  316. <li class="">
  317. <span class="<?php echo $i['index']<3?'bg-red':'bg-ccc';?> pt-sexselect-square"><?php echo $i['index'] + 1;?></span>
  318. <a class="color5 f_bold" href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['novel']['id'],'pinyin'=>$loop['novel']['pinyin']],"");?>" title="<?php echo $loop['novel']['name'];?>"><?php echo $loop['novel']['name'];?></a>
  319. <a title="<?php echo $loop['author']['name'];?>" class="color9 fr" href="<?php echo \Kuxin\Helper\Url::build("author.space.index",['authorid'=>$loop['author']['id'],'pinyin'=>$loop['author']['pinyin'],'name'=>$loop['author']['name']],"");?>"><?php echo $loop['author']['name'];?></a>
  320. </li>
  321. <?php endforeach; endif;?>
  322. </ul>
  323. </div>
  324. </div>
  325. <!-- 友情链接 -->
  326. <div class="pt-blogroll">
  327. <div class="pt-blogroll-title">
  328. <span>友情链接</span>
  329. </div>
  330. <div class="pt-blogroll-list">
  331. <?php $list=\Kuxin\Block::show('friendlink.list', []);?>
  332. <?php if(is_array($list)): foreach($list as $key =>$loop):?>
  333. <a href="<?php echo $loop['url'];?>" target="_blank" class="color4" <?php if(!empty($loop['color'])):?> style="color: <?php echo $loop['color'];?>;" <?php endif;?> title="<?php echo $loop['name'];?><?php echo $loop['intro'];?>">
  334. <?php echo \Kuxin\View::default($loop['is_bold'],'','<strong>');?><?php echo $loop['name'];?><?php echo \Kuxin\View::default($loop['is_bold'],'','</strong>');?>
  335. </a>
  336. <?php endforeach; endif;?>
  337. </div>
  338. </div>
  339. </div>
  340. <!-- 底部版权-->
  341. <div class="pt-copyright">
  342. <div class="pt-copyright-line"></div>
  343. <div class="color2 aboutlink">
  344. <?php $list=\Kuxin\Block::show('page.list', []);?>
  345. <?php if(is_array($list)): foreach($list as $key =>$loop):?>
  346. <a href="<?php echo \Kuxin\Helper\Url::build("page.detail",['pageid'=>$loop['id'],'key'=>$loop['key']],"");?>" title="<?php echo $loop['name'];?>"><?php echo $loop['name'];?></a>
  347. <?php endforeach; endif;?>
  348. </div>
  349. <div class="color4 footer-info" style="margin-top:28px;">Copyright © 2009 - 2019 <a href="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "siteurl");?>" target="_blank"><?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "sitename");?></a>. All Rights Reserved . 版权所有<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "sitename");?></div>
  350. <div class="color4 footer-info">本站内容系<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "sitename");?>根据您的指令搜索各大小说站得到的链接列表,不代表<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "sitename");?>赞成被搜索网站的内容或立场</div>
  351. <div class="color4 footer-info">如果版权人认为在本站放置您的作品有损您的利益,请发邮件至“<?php if(\Kuxin\Helper\Arr::getValue($_kxcms_config, "email")):?><?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "email");?><?php else:?><?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "qq");?>@qq.com<?php endif;?>”,本站确认后将会立即删除。</div>
  352. <div class="color4 footer-info">Power by <a href="http://www.ptcms.com" target="_blank">PT聚合小说搜索聚合程序 <?php echo PRO_VERSION;?> Build<?php echo PRO_TIME;?></a>,模版设计:<a href="http://www.pakey.net" target="_blank">Pakey</a>,<a href="http://www.miitbeian.gov.cn/" target="_blank" rel="nofollow"><?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "beian");?></a></div>
  353. <div class="color4 footer-info"><?php echo \Kuxin\Response::runinfo();?></div>
  354. </div>
  355. <script src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxwebno1/js/jquery-3.3.1.js"></script>
  356. <script src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxwebno1/js/layer/layer.js"></script>
  357. <div class="none">
  358. <?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "tongji.pc");?>
  359. <?php if(\Kuxin\Helper\Arr::getValue($_kxcms_config, "app.use_cdn")):?>
  360. <script src="/api/stat/novel/info.js"></script>
  361. <script src="/api/stat/novel/read.js"></script>
  362. <?php endif;?>
  363. </div>
  364. <!-- js-->
  365. <script src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxwebno1/js/index.js"></script>
  366. </body>
  367. </html>