Sin descripción
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.

new.htm 9.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. <div class="part">
  2. <div class="bar clearfix">
  3. <h1 class="tt">
  4. <a href="{$web_domain}{$web_url}">{$eyou.field.title}</a>
  5. </h1>
  6. <div class="r-intro fr">
  7. <span class="data fr">
  8. <small class="info"><i class="fa fa-clock-o"></i>
  9. {$eyou.field.update_time|MyDate="Y-m-d",###}
  10. </small>
  11. <small class="info"><i class="fa fa-eye"></i>
  12. {$eyou.field.click}
  13. </small>
  14. <script src="https://www.zc10000.com/index.php?m=api&amp;c=Ajax&amp;a=arcclick&amp;type=view&amp;aids={$doc_aid}" type="text/javascript" language="javascript"></script>
  15. <?php
  16. /*
  17. *
  18. * <!-- <small class="info btn-c" id="share_btn" title="{$eyou.field.title}" aid="{$eyou.field.aid}" style="margin-left: 15px;cursor: pointer;">
  19. 点击分享
  20. </small>
  21. <div style="display: none;" id="share-box">
  22. <div class="social-share"></div>
  23. </div>-->
  24. */
  25. ?>
  26. </span>
  27. </div>
  28. </div>
  29. <div class="items">
  30. <div class="art-main">
  31. <div>
  32. {eyou:if condition='($is_mobile === false)'}
  33. {$eyou.field.content_5}
  34. {eyou:else /}
  35. {eyou:empty name='$eyou.field.content_4' /}
  36. {$eyou.field.content_5}
  37. {eyou:else /}
  38. {$eyou.field.content_4}
  39. {/eyou:empty}
  40. {/eyou:if}
  41. </div>
  42. <div class="art-copyright br mb">
  43. <div>本文地址:<a href="" title="{$eyou.field.title}" >{$web_domain}{$web_url}</a></div>
  44. <div><span class="copyright">版权声明:</span>{eyou:global name='web_attr_16' /}</div>
  45. </div>
  46. <?php
  47. $product_tag_id = $eyou['field']['product_tag_id'];
  48. //var_dump($product_tag_id);
  49. ?>
  50. {eyou:if condition='((int)$product_tag_id > 0)'}
  51. {eyou:sql sql="select aid,title from ey_archives where aid=$product_tag_id" cachetime='3600' empty=''}
  52. <?php
  53. $tag_name = $field['title'];
  54. ?>
  55. {/eyou:sql}
  56. {/eyou:if}
  57. <p class="art-tag">所属标签: <a style="background: none;font-size: 15px;" href="https://www.zc10000.com/tag{$tag_number}" target="_blank" >{$tag_name}</a></p>
  58. <p class="art-tag" style="margin-top:10px;">相关政策文件:
  59. <?php
  60. //product_tag_id
  61. //$tid
  62. if((int)$product_tag_id === 0){
  63. $where = " typeid=1232 and is_del=0 and status=1 and province_id=0 and product_tag_id=0 OR typeid=1232 and is_del=0 and status=1 and province_id=0 and product_tag_id > 0"; //and is_recom=1
  64. }else{
  65. $where = " typeid=1232 and is_del=0 and status=1 and province_id=0 OR typeid=1232 and is_del=0 and status=1 and province_id=0 and product_tag_id=$product_tag_id"; //and is_recom=1 //and product_tag_id=0
  66. }
  67. $sql = "select aid from ey_archives where $where order by product_tag_id desc,update_time desc limit 0,5";
  68. //echo $sql;
  69. ?>
  70. {eyou:sql sql='$sql' cachetime='3600' id="listSql"}
  71. {eyou:arcview aid='$listSql.aid'}
  72. <?php
  73. $ar_url = get_tid_url_2($field['arcurl'],$field['typeid'],$field['stypeid'],'0','',0,$field['area_tag_id'],$field['city_id']);
  74. ?>
  75. <span class="padding">
  76. <a class="" href="{$ar_url}" title="{$field.title}" target="_blank">
  77. {$field.title|msubstr=###,0,30,true}
  78. </a>
  79. </span>
  80. {/eyou:arcview}
  81. {/eyou:sql}
  82. <a href="https://www.zc10000.com/zc" target="_blank" style="font-size: 12px;background: none;color:red;">>>> 查看更多政策文件</a>
  83. </p>
  84. </div>
  85. </div>
  86. </div>
  87. <div class="part related" style="padding: 10px 15px;">
  88. <div class="col-xs-12 col-sm-6 col-md-6 b">
  89. <span class="b1">上一篇:</span>
  90. <?php
  91. //var_dump($number);
  92. $sql = "SELECT * FROM ey_seo_number WHERE id = (SELECT id FROM ey_seo_number WHERE number<$number and tid=1231 and is_del=0 and type=2 and area_id=0 ORDER BY number desc LIMIT 1)";
  93. ?>
  94. <span class="bb3">
  95. {eyou:sql sql="$sql" cachetime='3600' empty='无' id='kp'}
  96. {eyou:arcview aid='$kp.aid'}
  97. {eyou:if condition='((int)$field.is_del === 0)'}
  98. <a href="https://www.zc10000.com/zx{$kp.number}" class="b2">{$field.title}</a>
  99. {eyou:else /}
  100. 文档已删除
  101. {/eyou:if}
  102. {/eyou:arcview}
  103. {/eyou:sql}
  104. </span>
  105. </div>
  106. <div class="col-xs-12 col-sm-6 col-md-6 b bb" style="">
  107. <span style="" class="b1">下一篇:</span>
  108. <?php
  109. $sql = "SELECT * FROM ey_seo_number WHERE id = (SELECT id FROM ey_seo_number WHERE number>$number and tid=1231 and is_del=0 and type=2 and area_id=0 ORDER BY number asc LIMIT 1)";
  110. ?>
  111. <span class="bb3">
  112. {eyou:sql sql="$sql" cachetime='3600' empty='无' id='kp'}
  113. {eyou:arcview aid='$kp.aid'}
  114. {eyou:if condition='((int)$field.is_del === 0)'}
  115. <a href="https://www.zc10000.com/zx{$kp.number}" style="" class="b2">{$field.title}</a>
  116. {eyou:else /}
  117. 文档已删除 {$field.title|msubstr=###,0,10,true}
  118. {/eyou:if}
  119. {/eyou:arcview}
  120. {/eyou:sql}
  121. </span>
  122. </div>
  123. <div class="clear"></div>
  124. </div>
  125. <!-- 广告位AD3 -->
  126. {eyou:if condition='((int)$product_tag_id > 0)'}
  127. <div class="part related">
  128. <p class="tt"><span>相关申报材料</span></p>
  129. <div class="items">
  130. <div class="row">
  131. <?php
  132. //product_tag_id
  133. //$tid
  134. if((int)$product_tag_id === 0){
  135. $where = " typeid=1233 and is_del=0 and status=1 and province_id=0 and product_tag_id=0 OR typeid=1233 and is_del=0 and status=1 and province_id=0 and product_tag_id>0"; //and is_recom=1
  136. }else{
  137. $where = " typeid=1233 and is_del=0 and status=1 and province_id=0 OR typeid=1233 and is_del=0 and status=1 and province_id=0 and product_tag_id=$product_tag_id"; //and is_recom=1 //and product_tag_id=0
  138. }
  139. $sql = "select aid from ey_archives where $where order by product_tag_id desc,click desc,update_time desc limit 0,6";
  140. //echo $sql;
  141. ?>
  142. {eyou:sql sql='$sql' cachetime='3600' id="listSql"}
  143. {eyou:arcview aid='$listSql.aid'}
  144. <?php
  145. $ar_url = get_tid_url_2($field['arcurl'],$field['typeid'],$field['stypeid'],'0','',0,$field['province_id'],$field['city_id']);
  146. ?>
  147. <div class="col-xs-6 col-sm-4 col-md-2 font-563-active-{$i}">
  148. <div class="item art-item transition cl-img-box">
  149. <a class="art-a" href="{$ar_url}" title="" >
  150. <img class="img-cover cl-img" src="{$field.litpic}" alt="" title="">
  151. </a>
  152. <h3 class="art-title cl-art-title" style="">
  153. {eyou:if condition='((int)$field.is_recom === 1)'}
  154. <i class="more2_info_self">推荐</i>
  155. {/eyou:if}
  156. <a class="" href="{$ar_url}" title="{$field.title}" >
  157. {$field.title|msubstr=###,0,30,true}
  158. </a>
  159. </h3>
  160. <div class="mod_price">
  161. <i>¥</i>
  162. <span class="more2_info_price_txt">{$field.users_price}.<span class="more2_info_price_txt-decimal">00</span>
  163. </span>
  164. </div>
  165. </div>
  166. </div>
  167. {/eyou:arcview}
  168. {/eyou:sql}
  169. </div>
  170. </div>
  171. </div>
  172. {eyou:else /}
  173. <div class="part related">
  174. <p class="tt"><span>相关申报资讯</span></p>
  175. <div class="items">
  176. <div class="row">
  177. <?php
  178. //$tid
  179. $where = " typeid=".$tid." and is_del=0 and status=1 and province_id=0 "; //and is_recom=1
  180. $sql = "select aid from ey_archives where $where order by RAND() limit 0,4"; //update_time desc
  181. ?>
  182. {eyou:sql sql='$sql' cachetime='3600' id="listSql"}
  183. {eyou:arcview aid='$listSql.aid'}
  184. <?php
  185. $a_url = get_tid_url_2($field['arcurl'],$field['typeid'],$field['stypeid'],'0','',0,$field['province_id'],$field['city_id']);
  186. ?>
  187. <div class="col-xs-6 col-sm-4 col-md-3">
  188. <div class="item art-item transition">
  189. <a class="art-a" href="{$a_url}" title="{$field.title}" >
  190. <img class="img-cover" src="{$field.litpic}" alt="{$field.title}" title="{$field.title}">
  191. </a>
  192. <h3><a class="" href="{$a_url}" title="{$field.title}" >{$field.title|msubstr=###,0,15,true}</a></h3>
  193. <p>{$field.seo_description|msubstr=###,0,35,true}</p>
  194. </div>
  195. </div>
  196. {/eyou:arcview}
  197. {/eyou:sql}
  198. </div>
  199. </div>
  200. </div>
  201. {/eyou:if}