暫無描述
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.htm 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. {eyou:assign name='page' value='zccat' /}
  2. {eyou:php}
  3. $route_param = request()->route();
  4. //var_dump($param);
  5. $areaid = $route_param['areaid']?(int)$route_param['areaid']:0;
  6. $number = $areaid;
  7. //var_dump($areaid);
  8. {/eyou:php}
  9. {eyou:if condition='((int)$areaid === 0)'}
  10. {eyou:php}
  11. $areaid = 0;
  12. {/eyou:php}
  13. {eyou:elseif condition='((int)$areaid === 32)' /}
  14. {eyou:php}
  15. $areaid = 10000;
  16. {/eyou:php}
  17. {eyou:else /}
  18. {eyou:php}
  19. $sql = "SELECT aid FROM ey_seo_number WHERE number = $areaid and type=3";
  20. {/eyou:php}
  21. {eyou:sql sql='$sql' cachetime='3600' id='seo'}
  22. {eyou:php}
  23. $areaid = $seo['aid'];
  24. {/eyou:php}
  25. {/eyou:sql}
  26. {/eyou:if}
  27. {eyou:php}
  28. $sql = "SELECT aid,seo_title,seo_keywords,seo_description FROM ey_archives WHERE typeid=51674 and province_id=$areaid and is_del=0 and status=1 and arcrank=0";
  29. {/eyou:php}
  30. {eyou:sql sql='$sql' cachetime='3600' id='seo_cat'}
  31. {eyou:notempty name='$seo_cat' /}
  32. {eyou:php}
  33. $seo_title = $seo_cat['seo_title'];
  34. $seo_keywords = $seo_cat['seo_keywords'];
  35. $seo_description = $seo_cat['seo_description'];
  36. {/eyou:php}
  37. {/eyou:notempty}
  38. {/eyou:sql}
  39. {eyou:php}
  40. $area_name = '';
  41. $sql = "SELECT id,name FROM ey_citysite WHERE id = $areaid";
  42. {/eyou:php}
  43. {eyou:sql sql='$sql' cachetime='3600' id='area'}
  44. {eyou:php}
  45. $area_name = ''.$area['name'].'';
  46. {/eyou:php}
  47. {/eyou:sql}
  48. <?php
  49. //调试
  50. //var_dump($eyou['field']['seo_keywords']);
  51. ?>
  52. <!DOCTYPE html>
  53. <html>
  54. <head>
  55. <meta charset="utf-8">
  56. <meta name="viewport"
  57. content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  58. <?php
  59. if(isset($seo_title) && !empty($seo_title)){ ?>
  60. <title>{$seo_title}</title>
  61. <meta name="keywords" content="{$seo_keywords}">
  62. <meta name="description" content="{$seo_description}">
  63. <?php }else{ ?>
  64. <title>{$area_name}工程师系列职称有哪些_{$area_name}职称专业分类对照表【职称网】</title>
  65. <meta name="keywords" content="{$area_name}工程师系列职称有哪些">
  66. <meta name="description" content="{$area_name}工程师系列职称有哪些,{$area_name}职称专业分类对照表,上【职称网】最受欢迎的职称评审网站,专注工程师职称评审认准【www.zc10000.com】">
  67. <?php } ?>
  68. <link rel="stylesheet" href="https://oss.zc10000.com/static/plug/layui/css/layui.css?v=<?php echo rand(1,100000); ?>" media="all">
  69. <link rel="stylesheet" href="/template/mobile/css/common.css?v=<?php echo rand(1,100000); ?>" media="all">
  70. <!--后续修改样式 在extend.css?v=<?php echo rand(1,100000); ?> 补充叠加 不修改原来的样式文件-->
  71. <link rel="stylesheet" href="/template/mobile/css/extend.css?v=<?php echo rand(1,100000); ?>" media="all">
  72. <script src="https://oss.zc10000.com/static/plug/layui/layui.js"></script>
  73. <script>
  74. layui.config({
  75. version: '1632428048355' //为了更新 js 缓存,可忽略
  76. });
  77. </script>
  78. </head>
  79. <body>
  80. {eyou:include file='/template/mobile/common/background.htm' /}
  81. <div id="header">
  82. {eyou:include file='/template/mobile/common/header.htm' /}
  83. </div>
  84. <!--复制 copy/cat.htm 页面名称: 职称类目页-->
  85. <div id="cat-index">
  86. <link rel="stylesheet" href="/template/mobile/css/cat.css?v=<?php echo rand(1,100000); ?>" media="all">
  87. <!--不同页面 banner不一样 通过page判断-->
  88. {eyou:include file='/template/mobile/components/banner/style_1.htm' /}
  89. {eyou:include file='/template/mobile/components/nav/style_1.htm' /}
  90. <?php
  91. $title = '省份选择';
  92. ?>
  93. {eyou:include file='/template/mobile/components/tag/style_1.htm' /}
  94. <div class="content">
  95. <div class="box">
  96. {eyou:include file='/template/mobile/components/list/style_1.htm' /}
  97. <!--工具包-->
  98. {eyou:include file='/template/mobile/components/list/style_2.htm' /}
  99. <!--常见问题解答-->
  100. {eyou:include file='/template/mobile/components/list/style_3.htm' /}
  101. </div>
  102. </div>
  103. <!---职称评审流程-->
  104. {eyou:include file='/template/mobile/components/flow/style_1.htm' /}
  105. </div>
  106. <div id="footer">
  107. {eyou:include file='/template/mobile/common/footer.htm' /}
  108. </div>
  109. {eyou:include file='/template/mobile/common/common_bot.htm' /}