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.

cl.htm 7.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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"> <span class="data fr"> <small class="info"><i class="fa fa-clock-o"></i>{$eyou.field.update_time|MyDate="Y-m-d",###}</small> <small class="info"><i class="fa fa-eye"></i>
  7. {$eyou.field.click}
  8. </small>
  9. <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>
  10. <!--
  11. <small class="info btn-c" id="share_btn" title="{$eyou.field.title}" aid="{$eyou.field.aid}" style="margin-left: 15px;cursor: pointer;">
  12. 点击分享
  13. </small>
  14. <div style="display: none;" id="share-box">
  15. <div class="social-share"></div>
  16. </div>
  17. -->
  18. </span> </div>
  19. </div>
  20. <div class="items">
  21. <div class="row post-single">
  22. <div class="col-xs-12 col-sm-12 col-md-10">
  23. <div class="pic fl">
  24. <div class="blur blur-layer" style="background: transparent url({$eyou.field.litpic}) no-repeat center center;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;animation: rotate 20s linear infinite;"> </div>
  25. <img class="img-cover" src="{$eyou.field.litpic}" alt="{$eyou.field.title}" title="{$eyou.field.title}"> </div>
  26. <div class="list list-detail">
  27. <?php
  28. $product_tag_id = $eyou['field']['product_tag_id'];
  29. //var_dump($product_tag_id);
  30. ?>
  31. {eyou:if condition='((int)$product_tag_id > 0)'}
  32. {eyou:sql sql="select aid,title from ey_archives where aid=$product_tag_id" cachetime='3600' empty=''}
  33. <?php
  34. $tag_name = $field['title'];
  35. ?>
  36. {/eyou:sql}
  37. {/eyou:if}
  38. <p><font>文档名称:</font><a href="{$web_domain}{$web_url}">{$eyou.field.title}</a></p>
  39. <p class="cate">
  40. <font>所属标签:</font><a href="https://www.zc10000.com/tag{$tag_number}" target="_blank" class="mcolor">{$tag_name}</a>
  41. &nbsp;&nbsp;&nbsp;<font>页面数量:</font> {$eyou.field.pagenum}
  42. </p>
  43. <?php
  44. /*<p class="site">官方网址:<a href="" title="{$eyou.field.title}" >{$web_domain}{$web_url}</a></p>*/
  45. ?>
  46. <p class="cate"><font>产品价格:</font>
  47. <span class="mod_price" style="margin: 0px 0px;">
  48. <i>¥</i>
  49. <span class="more2_info_price_txt">{$eyou.field.users_price}.<span class="more2_info_price_txt-decimal">00</span>
  50. </span>
  51. </span>
  52. </p>
  53. <p class="site"><font>购买须知:</font> 本产品为电子档文件,属虚拟产品,付款后请联系客服领取,一经售出概不退换!</p>
  54. <p class="seo">
  55. <!--SEO查询: <a class="" href="javascript:;" target="_self"><i class="fa fa-bar-chart"></i></a>
  56. <a class="pczz" href="javascript:;" target="_self"><i class="fa fa-bar-chart"></i></a> <a class="mzz" href="javascript:;" target="_self"><i class="fa fa-bar-chart"></i></a> -->
  57. {eyou:empty name='$eyou.field.zylm' /}
  58. <font>产品简介:</font> {$eyou.field.seo_description|msubstr=###,0,100,true}
  59. {eyou:else /}
  60. <font>产品简介:</font> {$eyou.field.zylm|msubstr=###,0,100,true}
  61. {/eyou:empty}
  62. </p>
  63. <a class="btn transition layui-btn-s" target="_self" data-method="notice" href="javascript:;" >
  64. 购买产品
  65. <i class="fa fa-chevron-circle-right"></i>
  66. </a>
  67. </div>
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. <div class="part">
  73. <p class="tt"><span>产品介绍</span></p>
  74. <div class="items">
  75. <div class="art-main">
  76. {eyou:if condition='($is_mobile === false)'}
  77. {$eyou.field.content_5}
  78. {eyou:else /}
  79. {eyou:empty name='$eyou.field.content_4' /}
  80. {$eyou.field.content_5}
  81. {eyou:else /}
  82. {$eyou.field.content_4}
  83. {/eyou:empty}
  84. {/eyou:if}
  85. </div>
  86. </div>
  87. </div>
  88. <div class="part related" style="padding: 10px 15px;">
  89. <div class="col-xs-12 col-sm-6 col-md-6 b">
  90. <span class="b1">上一篇:</span>
  91. <?php
  92. //var_dump($number);
  93. $sql = "SELECT * FROM ey_seo_number WHERE id = (SELECT id FROM ey_seo_number WHERE number<$number and tid=1233 and is_del=0 and type=2 and area_id=0 ORDER BY number desc LIMIT 1)";
  94. ?>
  95. <span class="bb3">
  96. {eyou:sql sql="$sql" cachetime='3600' empty='无' id='kp'}
  97. {eyou:arcview aid='$kp.aid'}
  98. {eyou:if condition='((int)$field.is_del === 0)'}
  99. <a href="https://www.zc10000.com/zx{$kp.number}" class="b2">{$field.title}</a>
  100. {eyou:else /}
  101. 文档已删除
  102. {/eyou:if}
  103. {/eyou:arcview}
  104. {/eyou:sql}
  105. </span>
  106. </div>
  107. <div class="col-xs-12 col-sm-6 col-md-6 b bb" style="">
  108. <span style="" class="b1">下一篇:</span>
  109. <?php
  110. $sql = "SELECT * FROM ey_seo_number WHERE id = (SELECT id FROM ey_seo_number WHERE number>$number and tid=1233 and is_del=0 and type=2 and area_id=0 ORDER BY number asc LIMIT 1)";
  111. ?>
  112. <span class="bb3">
  113. {eyou:sql sql="$sql" cachetime='3600' empty='无' id='kp'}
  114. {eyou:arcview aid='$kp.aid'}
  115. {eyou:if condition='((int)$field.is_del === 0)'}
  116. <a href="https://www.zc10000.com/zx{$kp.number}" style="" class="b2">{$field.title}</a>
  117. {eyou:else /}
  118. 文档已删除 {$field.title|msubstr=###,0,10,true}
  119. {/eyou:if}
  120. {/eyou:arcview}
  121. {/eyou:sql}
  122. </span>
  123. </div>
  124. <div class="clear"></div>
  125. </div>
  126. <div class="part related">
  127. <p class="tt"><span>相关政策文件</span></p>
  128. <div class="items">
  129. <div class="row">
  130. <?php
  131. //$where = " and area_tag_id=0";
  132. $where = ''; //不限制区域
  133. //product_tag_id
  134. //$tid
  135. if((int)$product_tag_id === 0){
  136. $where = " typeid=1232 and is_del=0 and status=1 and province_id=0 and product_tag_id=0 ".$where." OR typeid=1232 and is_del=0 and status=1 and province_id=0 and product_tag_id>0".$where; //and is_recom=1
  137. }else{
  138. $where = " typeid=1232 and is_del=0 and status=1 and province_id=0 and product_tag_id=0 ".$where." OR typeid=1232 and is_del=0 and status=1 and province_id=0 and product_tag_id=".$product_tag_id.$where; //and is_recom=1
  139. }
  140. $sql = "select aid from ey_archives where $where order by product_tag_id desc,update_time desc limit 0,6";
  141. //echo $sql;
  142. ?>
  143. {eyou:sql sql='$sql' cachetime='3600' id="listSql"}
  144. {eyou:arcview aid='$listSql.aid'}
  145. <?php
  146. $a_url = get_tid_url_2($field['arcurl'],$field['typeid'],$field['stypeid'],'0','',0,$field['area_tag_id'],$field['city_id']);
  147. ?>
  148. {eyou:include file='/template/pc/components/goods/zc.htm' /}
  149. {/eyou:arcview}
  150. {/eyou:sql}
  151. </div>
  152. </div>
  153. </div>