설명 없음
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.

lists_zczygz_document_list.htm 9.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. {eyou:assign name='page' value='document' /}
  2. {eyou:php}
  3. $route_param = request()->route();
  4. //var_dump($param);
  5. //var_dump($route_param);
  6. $type = $route_param['type']?(int)$route_param['type']:1;
  7. //var_dump($type);
  8. $tagid = $route_param['tagid']?(int)$route_param['tagid']:0;
  9. $wareaname = $route_param['areaname']?$route_param['areaname']:'';
  10. //处理域名获取当前域名名称
  11. $route_domain = request()->domain();
  12. $domain = explode('//',$route_domain);
  13. $domain = explode('.',$domain[1]);
  14. $site = $domain[0];
  15. //var_dump($site);
  16. if(!empty($site) && $site != 'zc' && $site != 'www'){
  17. //判定为二级域名
  18. }else{
  19. $site = 'www';
  20. }
  21. //处理城市参数
  22. if(!empty($route_param['site'])){
  23. $city_domain = $route_param['site'];
  24. }else{
  25. $city_domain = 'none';
  26. }
  27. //计算筛选链接
  28. $root_url = '/zlwd';
  29. if(!empty($route_param['catid'])){
  30. $url = $root_url.'-c'.$route_param['catid'];
  31. }else{
  32. $route_param['catid'] = 0;
  33. $url = $root_url.'-c0';
  34. }
  35. if(!empty($route_param['provid'])){
  36. $url = $url.'-p'.$route_param['provid'];
  37. }else{
  38. $route_param['provid'] = 0;
  39. $url = $url.'-p0';
  40. }
  41. if(!empty($route_param['cityid'])){
  42. $url = $url.'-y'.$route_param['cityid'];
  43. }else{
  44. $route_param['cityid'] = 0;
  45. $url = $url.'-y0';
  46. }
  47. //var_dump($route_param['catid']);
  48. {/eyou:php}
  49. <?php
  50. //处理一下seo
  51. //先判断是主站还是二级域名
  52. ?>
  53. {eyou:php}
  54. if($type === 1){
  55. $typeid = 126;
  56. $typeid_tdk = 303;
  57. $typeid_name = 'zlwd';
  58. }else if($type === 2){
  59. $typeid = 825;
  60. $typeid_tdk = 304;
  61. $typeid_name = 'zcwj';
  62. }else if($type === 3){
  63. $typeid = 826;
  64. $typeid_tdk = 305;
  65. $typeid_name = 'ckwj';
  66. }else if($type === 5){
  67. //职称材料 读取通用文件 数据
  68. $typeid = 126;
  69. $typeid_tdk = 303;
  70. $typeid_name = 'zccl';
  71. }
  72. $sql = '';
  73. $sql2 = '';
  74. if(!empty($site) && $site != 'zc' && $site != 'www'){
  75. //判定为二级域名
  76. $area_name = '';
  77. $sql2 = "SELECT id,name FROM ey_citysite WHERE domain = '".$site."'";
  78. }else{
  79. $site = 'www';
  80. }
  81. if(!empty($wareaname) && $wareaname == 'shandong'){
  82. $area_name = "山东";
  83. }
  84. //读取seo
  85. if($type === 5){
  86. $sql = "select id,seo_title,seo_keywords,seo_description from ey_arctype where id=125 ";
  87. }else{
  88. $sql = "select id,seo_title,seo_keywords,seo_description from ey_arctype where id=".$typeid." ";
  89. }
  90. //var_dump($sql);
  91. {/eyou:php}
  92. {eyou:if condition='($sql !== "")'}
  93. {eyou:sql sql='$sql' cachetime='3600' id='seo_cat'}
  94. {eyou:notempty name='$seo_cat' /}
  95. {eyou:php}
  96. $seo_title = $seo_cat['seo_title'];
  97. $seo_keywords = $seo_cat['seo_keywords'];
  98. $seo_description = $seo_cat['seo_description'];
  99. //var_dump($seo_title);
  100. {/eyou:php}
  101. {/eyou:notempty}
  102. {/eyou:sql}
  103. {/eyou:if}
  104. {eyou:if condition='($sql2 !== "")'}
  105. <?php
  106. //var_dump($sql2);die;
  107. ?>
  108. {eyou:sql sql='$sql2' cachetime='3600' id='area'}
  109. {eyou:php}
  110. $area_name = ''.$area['name'].'';
  111. $area_id = ''.$area['id'].'';
  112. {/eyou:php}
  113. {/eyou:sql}
  114. {eyou:php}
  115. $sql3 = "SELECT aid,seo_title,seo_keywords,seo_description FROM ey_archives WHERE typeid=$typeid_tdk and province_id=$area_id and is_del=0 and status=1 and arcrank=0";
  116. {/eyou:php}
  117. {eyou:sql sql='$sql3' cachetime='3600' id='seo_cat2'}
  118. {eyou:notempty name='$seo_cat2' /}
  119. {eyou:php}
  120. $seo_title2 = $seo_cat2['seo_title'];
  121. $seo_keywords2 = $seo_cat2['seo_keywords'];
  122. $seo_description2 = $seo_cat2['seo_description'];
  123. {/eyou:php}
  124. {/eyou:notempty}
  125. {/eyou:sql}
  126. {/eyou:if}
  127. <?php
  128. //存在标签页
  129. //统一按规则 后台无可自定义
  130. //水利职称材料参考_水利职称业绩模板【职称网】
  131. //$tagid
  132. ?>
  133. {eyou:if condition='((int)$tagid > 0)'}
  134. {eyou:sql sql='select aid,title from ey_archives where aid=$tagid' cachetime='3600' empty='' id="tag"}
  135. {eyou:assign name='tag_name' value='$tag["title"]' /}
  136. <?php
  137. $seo_title2 = '';
  138. $seo_title = $tag_name.'材料参考_'.$tag_name.'业绩模板【职称网】';
  139. $seo_keywords = $tag_name."材料参考,".$tag_name."业绩模板";
  140. $seo_description = $tag_name."材料参考首选【职称网】最受欢迎的职称评审网站,专注工程师职称评审,提供".$tag_name."业绩模板参考、职称申报、职称论文专利等一站式服务,职称评审绿色便捷通道。";
  141. ?>
  142. {/eyou:sql}
  143. {eyou:else /}
  144. {/eyou:if}
  145. <!DOCTYPE html>
  146. <html>
  147. <head>
  148. <meta charset="utf-8">
  149. <meta name="viewport"
  150. content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  151. <?php
  152. if(isset($seo_title2) && !empty($seo_title2)){ ?>
  153. <title>{$seo_title2}</title>
  154. <meta name="keywords" content="{$seo_keywords2}">
  155. <meta name="description" content="{$seo_description2}">
  156. <?php }else{ ?>
  157. <title>{$area_name}{$seo_title}</title>
  158. <meta name="keywords" content="{$area_name}{$seo_keywords}">
  159. <meta name="description" content="{$area_name}{$seo_description}">
  160. <?php } ?>
  161. <link rel="stylesheet" href="https://oss.zc10000.com/static/plug/layui/css/layui.css?v=<?php echo rand(1,100000); ?>" media="all">
  162. <link rel="stylesheet" href="/template/mobile/css/common.css?v=<?php echo rand(1,100000); ?>" media="all">
  163. <!--后续修改样式 在extend.css?v=<?php echo rand(1,100000); ?> 补充叠加 不修改原来的样式文件-->
  164. <link rel="stylesheet" href="/template/mobile/css/extend.css?v=<?php echo rand(1,100000); ?>" media="all">
  165. <script src="https://oss.zc10000.com/static/plug/layui/layui.js"></script>
  166. <script>
  167. layui.config({
  168. version: '1632428048355' //为了更新 js 缓存,可忽略
  169. });
  170. </script>
  171. </head>
  172. <body>
  173. {eyou:include file='/template/mobile/common/background.htm' /}
  174. <div id="header">
  175. {eyou:include file='/template/mobile/common/header.htm' /}
  176. </div>
  177. <!--复制 copy/document.htm 页面名称: 文档主页 -->
  178. <div id="document-index">
  179. <link rel="stylesheet" href="/template/mobile/css/document.css?v=<?php echo rand(1,100000); ?>" media="all">
  180. <?php
  181. $title = '选择省市区';
  182. $con = 2;
  183. ?>
  184. {eyou:include file='/template/mobile/components/tag/style_1.htm' /}
  185. <div style="display: none;">
  186. {eyou:if condition='($site != "zc" && $site != "www" && !in_array($route_param.provid,["4004","4023","4813","6303","7687","7709","7720"]))'}
  187. <?php
  188. $title = '选择市区';
  189. $con = 3;
  190. /*eyou:include file='/template/mobile/components/tag/style_1.htm' /*/
  191. ?>
  192. <?php
  193. $title = '职称工种';
  194. $con = 1;
  195. /*eyou:include file='/template/mobile/components/tag/style_1.htm' /*/
  196. ?>
  197. {/eyou:if}
  198. </div>
  199. <div class="content">
  200. <div class="box">
  201. <div class="box-left">
  202. <!--调用标签-->
  203. <?php
  204. $title = "热门标签";
  205. $cat_id_tag = 58;
  206. ?>
  207. {eyou:include file='/template/mobile/components/tag/style_2.htm' /}
  208. <?php
  209. ?>
  210. {eyou:include file='/template/mobile/components/list/style_2.htm' /}
  211. <?php
  212. $title = '深圳职称快速申报入口';
  213. $kefu_id = '20';
  214. $is_kefu = 1;
  215. ?>
  216. {eyou:include file='/template/mobile/components/text/style_4.htm' /}
  217. <?php
  218. $title='热门职称推荐';
  219. ?>
  220. <!--热门职称-->
  221. {eyou:include file='/template/mobile/components/list/style_5.htm' /}
  222. </div>
  223. <div class="box-right">
  224. <?php
  225. if(empty($provid_name)){
  226. $provid_name = '省级';
  227. }
  228. //职称评审相关职称材料文档
  229. $types = ['','通用文件','政策指引','参考文件'];
  230. //$title= $provid_name."职称评审".$types[$type];
  231. //$title= "职称评审相关".$types[$type]."文档";
  232. $title = "职称评审相关职称材料文档";
  233. $con = 1;
  234. ?>
  235. {eyou:include file='/template/mobile/components/list/style_9.htm' /}
  236. <?php
  237. $title= $provid_name.$cat_name."相关政策文件";
  238. $con = 2;
  239. /*eyou:include file='/template/mobile/components/list/style_9.htm' /*/
  240. ?>
  241. <?php
  242. if(empty($cityid_name)){
  243. $cityid_name = '市级';
  244. }
  245. $title= $cityid_name.$cat_name."相关政策文件";
  246. $con = 3;
  247. /*eyou:include file='/template/mobile/components/list/style_9.htm' /**/
  248. ?>
  249. <?php
  250. $title= $cat_name."相关参考文件";
  251. $con = 4;
  252. /**eyou:include file='/template/mobile/components/list/style_9.htm' /*/
  253. ?>
  254. </div>
  255. </div>
  256. </div>
  257. <?php
  258. $title = "职称评审流程";
  259. ?>
  260. {eyou:include file='/template/mobile/components/flow/style_1.htm' /}
  261. </div>
  262. <div id="footer">
  263. {eyou:include file='/template/mobile/common/footer.htm' /}
  264. </div>
  265. {eyou:include file='/template/mobile/common/common_bot.htm' /}