No Description
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.

view_zczygz_document_detail.htm 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. {eyou:assign name='page' value='down' /}
  2. {eyou:php}
  3. $route_param = request()->route();
  4. $pa = $route_param['pa']?(int)$route_param['pa']:1;
  5. //var_dump($route_param);
  6. $number = $route_param['aid'];
  7. //处理域名获取当前域名名称
  8. $route_domain = request()->domain();
  9. $domain = explode('//',$route_domain);
  10. $domain = explode('.',$domain[1]);
  11. $site = $domain[0];
  12. //var_dump($site);die;
  13. if(!empty($site) || $site != 'zc' || $site != 'www'){
  14. //判定为二级域名
  15. }else{
  16. $site = 'www';
  17. }
  18. {/eyou:php}
  19. {eyou:if condition='($site == "www")'}
  20. {eyou:assign name='provid' value="0" /}
  21. {eyou:assign name='provid_name' value="山东" /}
  22. {eyou:else /}
  23. {eyou:sql sql="select * from ey_citysite where domain='$site'" cachetime='3600' empty='没有数据' id='res'}
  24. <!--获取到省份ID-->
  25. {eyou:assign name='provid' value="$res.id" /}
  26. {eyou:assign name='provid_name' value="$res.name" /}
  27. {/eyou:sql}
  28. {/eyou:if}
  29. <?php
  30. //seo规则
  31. /*
  32. *
  33. * T:抓取标题
  34. K:抓取标题
  35. D:工程师职称评定材料首选【职称网】最受欢迎的职称评审网站,专注工程师职称评审,提供职称材料撰写、职称申报、职称论文专利等一站式服务,职称评审绿色便捷通道。
  36. */
  37. if(empty($eyou['field']['seo_title'])){
  38. $seo_title = $eyou['field']['title'];
  39. $seo_keywords = $eyou['field']['title'];
  40. $seo_description = "工程师职称评定材料首选【职称网】最受欢迎的职称评审网站,专注工程师职称评审,提供职称材料撰写、职称申报、职称论文专利等一站式服务,职称评审绿色便捷通道。";
  41. }else{
  42. $seo_title = $eyou['field']['seo_title'];
  43. $seo_keywords = $eyou['field']['seo_keywords'];
  44. $seo_description = $eyou['field']['seo_description'];
  45. }
  46. ?>
  47. <?php
  48. //dump($eyou['field']['down']);
  49. ?>
  50. <!DOCTYPE html>
  51. <html>
  52. <head>
  53. <meta charset="utf-8">
  54. <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  55. <title>{$seo_title}</title>
  56. <meta name="keywords" content="{$seo_keywords}">
  57. <meta name="description" content="{$seo_description}">
  58. <link rel="stylesheet" href="https://oss.zc10000.com/static/plug/layui/css/layui.css?v=<?php echo rand(1,100000); ?>" media="all">
  59. <link rel="stylesheet" href="/template/mobile/css/common.css?v=<?php echo rand(1,100000); ?>" media="all">
  60. <!--后续修改样式 在extend.css?v=<?php echo rand(1,100000); ?> 补充叠加 不修改原来的样式文件-->
  61. <link rel="stylesheet" href="/template/mobile/css/extend.css?v=<?php echo rand(1,100000); ?>" media="all">
  62. <script src="https://oss.zc10000.com/static/plug/layui/layui.js"></script>
  63. <script>
  64. layui.config({
  65. version: '1632428048355' //为了更新 js 缓存,可忽略
  66. });
  67. </script>
  68. </head>
  69. <body>
  70. {eyou:include file='/template/mobile/common/background.htm' /}
  71. <div id="header">
  72. {eyou:include file='/template/mobile/common/header.htm' /}
  73. </div>
  74. <!--复制 copy/down.htm 页面名称: 文档内页 -->
  75. <div id="down-index">
  76. <link rel="stylesheet" href="/template/mobile/css/down.css?v=<?php echo rand(1,100000); ?>" media="all">
  77. <div class="content">
  78. <div class="box">
  79. <div class="box-left">
  80. <?php
  81. //去掉
  82. /*{eyou:include file='/template/mobile/components/detail/style_5.htm' /}*/
  83. ?>
  84. <?php
  85. $title = '相关文档推荐';
  86. $con = 1;
  87. /**{eyou:include file='/template/mobile/components/list/style_3.htm' /}*/
  88. ?>
  89. <?php
  90. $title = '职称评审常见问题';
  91. $con = 2;
  92. ?>
  93. {eyou:include file='/template/mobile/components/list/style_3.htm' /}
  94. <!--期刊推荐-->
  95. <?php
  96. $title = '职称论文发表热门期刊';
  97. ?>
  98. {eyou:include file='/template/mobile/components/list/style_5.htm' /}
  99. <!--工具包-->
  100. <?php
  101. ?>
  102. {eyou:include file='/template/mobile/components/list/style_2.htm' /}
  103. </div>
  104. <div class="box-right">
  105. <?php
  106. $title = "";
  107. ?>
  108. {eyou:include file='/template/mobile/components/detail/style_3.htm' /}
  109. </div>
  110. </div>
  111. </div>
  112. </div>
  113. <div id="footer">
  114. {eyou:include file='/template/mobile/common/footer.htm' /}
  115. </div>
  116. {eyou:include file='/template/mobile/common/common_bot.htm' /}
  117. {eyou:include file='/template/mobile/common/button.htm' /}