国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
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.

163 lines
3.8KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="{dede:global.cfg_soft_lang/}">
  5. <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
  6. <title>搜索结果页-<?php echo $cfg_webname; ?></title>
  7. <style>
  8. * {
  9. padding: 0;
  10. margin: 0
  11. }
  12. body {
  13. font-family: Arial, Helvetica, sans-serif;
  14. font-size: 14px
  15. }
  16. a {
  17. color: #03F
  18. }
  19. a:hover {
  20. color: #F30;
  21. text-decoration: none
  22. }
  23. li,
  24. dd {
  25. margin: 0;
  26. padding: 0;
  27. list-style: none
  28. }
  29. .cbox {
  30. width: 98%;
  31. margin: 8px auto 0px
  32. }
  33. .searchbox {
  34. margin: 20px 0px 0px 240px
  35. }
  36. input,
  37. select,
  38. textarea {
  39. font-size: 14px;
  40. vertical-align: middle
  41. }
  42. .searchbox .keyword {
  43. margin: -1px 5px 0 2px;
  44. padding: 6px;
  45. width: 223px;
  46. height: 13px;
  47. border: 1px solid #a7a6aa;
  48. font-size: 14px
  49. }
  50. .searchbox .searchbut {
  51. padding: 1px 6px 0px 6px;
  52. height: 23px;
  53. line-height: 12px;
  54. font-size: 14px;
  55. margin-top: -2px
  56. }
  57. .searchbox .adslink {
  58. margin-left: 10px
  59. }
  60. .stitle {
  61. height: 35px;
  62. line-height: 35px;
  63. background-color: #F0F9EE;
  64. text-indent: 20px
  65. }
  66. .lightkeyword {
  67. font-weight: bold;
  68. color: #F00
  69. }
  70. .slist dl {
  71. display: block;
  72. width: 96%;
  73. margin: 12px auto 0px;
  74. padding-bottom: 8px
  75. }
  76. .slist dl dt a {
  77. line-height: 27px;
  78. font-size: 14px;
  79. letter-spacing: 1px
  80. }
  81. .slist dl dd p {
  82. line-height: 19px;
  83. color: #444;
  84. font-size: 14px;
  85. margin-left: 5px
  86. }
  87. .slist dl dd span {
  88. font-size: 12px;
  89. line-height: 23px;
  90. color: #390
  91. }
  92. .slist dl dd a {
  93. color: #777;
  94. text-decoration: none
  95. }
  96. .slist dl dd a:hover {
  97. color: #F30
  98. }
  99. .slist dl dd span {
  100. margin-right: 10px
  101. }
  102. .spage {
  103. margin-top: 10px;
  104. line-height: 25px;
  105. height: 25px;
  106. background: #F7F7F7;
  107. text-align: center
  108. }
  109. .spage * {
  110. text-decoration: none;
  111. vertical-align: middle;
  112. letter-spacing: 1px
  113. }
  114. .otherkey {
  115. margin-top: 10px;
  116. height: 31px;
  117. line-height: 31px;
  118. overflow: hidden;
  119. text-indent: 10px
  120. }
  121. .footer {
  122. text-align: center;
  123. margin-top: 10px;
  124. border-top: 1px solid #DDD;
  125. font-size: 12px;
  126. line-height: 37px
  127. }
  128. .footer span {
  129. color: #060
  130. }
  131. </style>
  132. </head>
  133. <body>
  134. <div class="stitle cbox">搜索结果页</div>
  135. <div class="slist cbox">
  136. {dede:datalist}
  137. <?php
  138. $fields['stime'] = GetDateTimeMk($fields['senddate']);
  139. $fields['arcurl'] = GetArcUrl($fields['aid'],$fields['typeid'],$fields['senddate'],$fields['title'],$fields['ismake'],$fields['arcrank'],$fields['namerule'],$fields['typedir'],$fields['money']);
  140. $fields['typeurl'] = GetTypeUrl($fields['typeid'],MfTypedir($fields['typedir']),$fields['isdefault'],$fields['defaultname'],
  141. $fields['ispart'],$fields['namerule2'],$fields['moresite'],$fields['siteurl'],$fields['sitepath']);
  142. ?>
  143. <dl>
  144. <dt><a href="{dede:field.arcurl/}" target="_blank">{dede:field.title/}</a></dt>
  145. <dd>
  146. <p>{dede:field.description1/}...</p>
  147. </dd>
  148. <dd>
  149. <span><a href="{dede:field.arcurl/}" target="_blank">{dede:field.arcurl/}</a></span>
  150. <span>类别: <a href="{dede:field.typeurl/}" target="_blank">{dede:field.typename/}</a></span>
  151. <span>点击: {dede:field.click/}</span>
  152. <span>日期: {dede:field.stime/}</span>
  153. </dd>
  154. </dl>
  155. {/dede:datalist}
  156. </div>
  157. <div class="spage cbox">{dede:pagelist listsize='6'/}</div>
  158. <div class="footer cbox">
  159. <div class="copyright">{dede:global.cfg_powerby/} {dede:global.cfg_beian/} Powered by <a href="https://www.dedebiz.com" title="DedeBIZ内容管理系统-国内流行的内容管理系统多端全媒体解决方案" target="_blank">DedeBIZ{dede:global.cfg_version/}</a>
  160. </div>
  161. </div>
  162. </body>
  163. </html>