123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- {eyou:assign name='page' value='down' /}
- {eyou:php}
- $route_param = request()->route();
- $pa = $route_param['pa']?(int)$route_param['pa']:1;
-
- //var_dump($route_param);
- $number = $route_param['aid'];
-
- //处理域名获取当前域名名称
- $route_domain = request()->domain();
- $domain = explode('//',$route_domain);
- $domain = explode('.',$domain[1]);
- $site = $domain[0];
- //var_dump($site);die;
- if(!empty($site) || $site != 'zc' || $site != 'www'){
- //判定为二级域名
- }else{
- $site = 'www';
- }
- {/eyou:php}
-
- {eyou:if condition='($site == "www")'}
- {eyou:assign name='provid' value="0" /}
- {eyou:assign name='provid_name' value="山东" /}
- {eyou:else /}
- {eyou:sql sql="select * from ey_citysite where domain='$site'" cachetime='3600' empty='没有数据' id='res'}
- <!--获取到省份ID-->
- {eyou:assign name='provid' value="$res.id" /}
- {eyou:assign name='provid_name' value="$res.name" /}
- {/eyou:sql}
- {/eyou:if}
-
-
- <?php
- //seo规则
- /*
- *
- * T:抓取标题
- K:抓取标题
- D:工程师职称评定材料首选【职称网】最受欢迎的职称评审网站,专注工程师职称评审,提供职称材料撰写、职称申报、职称论文专利等一站式服务,职称评审绿色便捷通道。
- */
- if(empty($eyou['field']['seo_title'])){
- $seo_title = $eyou['field']['title'];
- $seo_keywords = $eyou['field']['title'];
- $seo_description = "工程师职称评定材料首选【职称网】最受欢迎的职称评审网站,专注工程师职称评审,提供职称材料撰写、职称申报、职称论文专利等一站式服务,职称评审绿色便捷通道。";
- }else{
- $seo_title = $eyou['field']['seo_title'];
- $seo_keywords = $eyou['field']['seo_keywords'];
- $seo_description = $eyou['field']['seo_description'];
- }
- ?>
-
- <?php
- //dump($eyou['field']['down']);
- ?>
-
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
-
- <title>{$seo_title}</title>
- <meta name="keywords" content="{$seo_keywords}">
- <meta name="description" content="{$seo_description}">
-
- <link rel="stylesheet" href="https://oss.zc10000.com/static/plug/layui/css/layui.css?v=<?php echo rand(1,100000); ?>" media="all">
- <link rel="stylesheet" href="/template/mobile/css/common.css?v=<?php echo rand(1,100000); ?>" media="all">
- <!--后续修改样式 在extend.css?v=<?php echo rand(1,100000); ?> 补充叠加 不修改原来的样式文件-->
- <link rel="stylesheet" href="/template/mobile/css/extend.css?v=<?php echo rand(1,100000); ?>" media="all">
- <script src="https://oss.zc10000.com/static/plug/layui/layui.js"></script>
- <script>
- layui.config({
- version: '1632428048355' //为了更新 js 缓存,可忽略
- });
- </script>
- </head>
- <body>
-
- {eyou:include file='/template/mobile/common/background.htm' /}
-
-
-
- <div id="header">
- {eyou:include file='/template/mobile/common/header.htm' /}
- </div>
-
- <!--复制 copy/down.htm 页面名称: 文档内页 -->
- <div id="down-index">
- <link rel="stylesheet" href="/template/mobile/css/down.css?v=<?php echo rand(1,100000); ?>" media="all">
-
- <div class="content">
- <div class="box">
- <div class="box-left">
-
- <?php
-
- //去掉
- /*{eyou:include file='/template/mobile/components/detail/style_5.htm' /}*/
- ?>
-
-
- <?php
- $title = '相关文档推荐';
- $con = 1;
- /**{eyou:include file='/template/mobile/components/list/style_3.htm' /}*/
- ?>
-
-
- <?php
- $title = '职称评审常见问题';
- $con = 2;
- ?>
- {eyou:include file='/template/mobile/components/list/style_3.htm' /}
-
- <!--期刊推荐-->
- <?php
- $title = '职称论文发表热门期刊';
- ?>
- {eyou:include file='/template/mobile/components/list/style_5.htm' /}
-
- <!--工具包-->
- <?php
- ?>
- {eyou:include file='/template/mobile/components/list/style_2.htm' /}
-
- </div>
- <div class="box-right">
- <?php
- $title = "";
- ?>
- {eyou:include file='/template/mobile/components/detail/style_3.htm' /}
- </div>
- </div>
- </div>
- </div>
-
- <div id="footer">
- {eyou:include file='/template/mobile/common/footer.htm' /}
- </div>
- {eyou:include file='/template/mobile/common/common_bot.htm' /}
- {eyou:include file='/template/mobile/common/button.htm' /}
|