No Description

new.htm 8.7KB

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