Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

100 righe
4.3 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. <script src="{$kx.config.resurl}/template/kxwebno1/js/jquery-3.3.1.js"></script>
  9. <link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
  10. <meta name="author" content="www.ptcms.com">
  11. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  12. <meta name="renderer" content="webkit">
  13. <meta name="viewport" content="width=device-width" />
  14. <meta name="applicable-device" content="pc">
  15. <meta http-equiv="mobile-agent" content="format=html5; url={$kx.config.mobileurl}__SELF__">
  16. <meta http-equiv="Cache-Control" content="no-siteapp" />
  17. <meta http-equiv="Cache-Control" content="no-transform" />
  18. <link rel="canonical" href="{$kx.config.pcurl}__SELF__" />
  19. </head>
  20. <body>
  21. <!-- 头部 -->
  22. {include file="system/header"}
  23. <!-- 内容 -->
  24. <div class="pt-content">
  25. <!-- 面包屑 -->
  26. <div class="pt-crumb">
  27. <img src="{$kx.config.resurl}/template/kxwebno1/images/crumb_icon.png" class="pt-crumb-icon">
  28. <span class="color5"><a title="{$kx.config.sitename}" href="{$kx.config.siteurl}">{$kx.config.sitename}</a> > 新闻中心</span>
  29. </div>
  30. <!-- 一楼 -->
  31. <div class="pt-floor1">
  32. <div class="pt-list">
  33. <!-- 我的 -->
  34. <div class="fr pt-toplist">
  35. <div class="border-b size18 bold color8 pb10 pt-toplist-title">新闻中心</div>
  36. <div class="pt-toplist-item">
  37. {block method="news.category" name=list}
  38. {section loop=$list item=$loop}
  39. <a title="{$loop.name}" href="{link=news.list categoryid=$loop.id}" {if $loop.id == $categoryid}class="color2"{/if}>
  40. <span class="mr10">·</span><span>{$loop.name}</span>
  41. </a>
  42. {/section}
  43. </div>
  44. </div>
  45. </div>
  46. <!-- 推荐 -->
  47. <div class="relative pt-rank">
  48. <div class="news bg-white">
  49. <ul>
  50. {block method="pagination" name="paginate" page=$page limit=$pageSize count=$count maxpage=50 section=3}
  51. {block method="news.list" name=list categoryid=$categoryid num=$paginate.limit page=$paginate.current}
  52. {if empty($list)}
  53. <li class="p15">
  54. <span class="fl color0" style="width: 80%">似乎没有数据</span>&nbsp;
  55. </li>
  56. {else}
  57. {loop}
  58. <li class="p15">
  59. <a href="{link=news.detail newsid=$loop.id}" title="{$loop.title}" target="_blank">
  60. <span class="fl compulsory-row-one color6" style="width: 80%">[{$loop.category.name}] {$loop.title}</span>&nbsp;
  61. <span class="fr colore9">{$loop.create_time|date="Y-m-d H:i:s"}</span>
  62. </a>
  63. </li>
  64. {/loop}
  65. {/if}
  66. </ul>
  67. </div>
  68. {if $paginate.total>1}
  69. <div class="pt-pages">
  70. <div class="pt30 color5">
  71. {if $paginate.prev}
  72. <a href="{link=news.list categoryid=$category.id page=$paginate.prev}"><span><</span></a>
  73. {else}
  74. <span class="disable"><</span>
  75. {/if}
  76. {loop=paginate.items}
  77. <a href="{link=news.list categoryid=$category.id page=$loop.num}">
  78. <span class="{$loop.status|default='','pt-pages-select'}">{$loop.num}</span>
  79. </a>
  80. {/loop}
  81. {if $paginate.next}
  82. <a href="{link=news.list categoryid=$category.id page=$paginate.next}"><span>></span></a>
  83. {else}
  84. <span class="disable">></span>
  85. {/if}
  86. </div>
  87. </div>
  88. {/if}
  89. </div>
  90. </div>
  91. <!-- 广告位 -->
  92. </div>
  93. <!-- 底部版权-->
  94. {include file="/system/footer"}
  95. <!-- js-->
  96. </body>
  97. </html>