123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 |
- {eyou:assign name='page' value='article_list' /}
- {eyou:php}
- $route_param = request()->route();
- //var_dump($route_param);
- $tid = $route_param['tid']?(int)$route_param['tid']:0;
- $tagid = $route_param['tagid']?(int)$route_param['tagid']:0;
-
- //处理域名获取当前域名名称
- $route_domain = request()->domain();
- $domain = explode('//',$route_domain);
- $domain = explode('.',$domain[1]);
- $site = $domain[0];
- //var_dump($site);
- if(!empty($site) && $site != 'zc' && $site != 'www'){
- //判定为二级域名
- }else{
- $site = 'www';
- }
- {/eyou:php}
-
-
- {eyou:if condition='($tid === 117 && empty($eyou["field"]["seo_title"]))'}
- {eyou:php}
- //评审攻略 没有规则
-
- {/eyou:php}
- {eyou:else /}
-
- {/eyou:if}
-
- {eyou:php}
- if(!empty($site) && $site != 'zc' && $site != 'www'){
- //判定为二级域名
- $area_name = '';
- $sql2 = "SELECT id,name FROM ey_citysite WHERE domain = '".$site."'";
- }else{
- $site = 'www';
- }
- {/eyou:php}
-
- {eyou:if condition='(!empty($sql2))'}
- {eyou:sql sql='$sql2' cachetime='3600' id='area'}
- {eyou:php}
- //var_dump($sql2);
- $area_name = ''.$area['name'].'';
- $area_id = ''.$area['id'].'';
- {/eyou:php}
- {/eyou:sql}
- {/eyou:if}
- {eyou:assign name='provid' value="$area_id" /}
- {eyou:assign name='provid_name' value="$area_name" /}
-
- {eyou:php}
- //处理城市参数
- if(!empty($route_param['site'])){
- $city_domain = $route_param['site'];
- }else{
- $city_domain = 'none';
- }
-
-
- {/eyou:php}
-
- {eyou:sql sql="select * from ey_citysite where domain='$city_domain'" cachetime='3600' empty='' id='res'}
- {eyou:assign name='cityid' value="$res.id" /}
- {eyou:assign name='cityid_name' value="$res.name" /}
- {/eyou:sql}
-
- <?php
- //var_dump($cityid);
- ?>
-
- <!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>{$area_name}{$eyou.field.seo_title}</title>
- <meta name="keywords" content="{$area_name}{$eyou.field.seo_keywords}">
- <meta name="description" content="{$area_name}{$eyou.field.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>
-
- <div id="bg_1"></div>
- <div id="bg_2"></div>
- <div id="bg_3"></div>
-
- {eyou:if condition='($page == "index")'}
- <div id="bg_4"></div>
- <div id="bg_5"></div>
- {/eyou:if}
-
- {eyou:if condition='($page == "lunwen-list")'}
- <div id="bg_4" style="top: 2660.87px;"></div>
- <div id="bg_5" style="top: 2673px;"></div>
- {/eyou:if}
-
-
-
- <div id="header">
- {eyou:include file='/template/mobile/common/header.htm' /}
- </div>
-
- <!--复制 copy/article.htm 页面名称: 文章列表页 -->
- <div id="article-index">
- <link rel="stylesheet" href="/template/mobile/css/article.css?v=<?php echo rand(1,100000); ?>" media="all">
- {eyou:include file='/template/mobile/components/nav/style_1.htm' /}
- {eyou:include file='/template/mobile/components/flow/style_1.htm' /}
-
- <div class="content">
- <div class="box">
- <div class="box-left">
- <?php
- $title="建筑工程管理职称评审工作能力";
- ?>
- {eyou:include file='/template/mobile/components/list/style_12.htm' /}
- </div>
- <div class="box-right">
-
- <?php
- /*$title = "职称政策资讯";
- $cat_id = '115';
- $son_id = '115,124';
- $con = 1;*/
- /*
- <!--调用标签-->
- eyou:include file='/template/mobile/components/list/style_4.htm'
- */
- $title = "热门标签";
- ?>
-
- {eyou:sql sql='select * from ey_arctype where article_id=$tid limit 0,1' cachetime='3600' empty='' id="tag_list"}
- {eyou:php}
- $cat_id_tag = $tag_list['id'];
- {/eyou:php}
- {/eyou:sql}
-
- <?php
- if(empty($cat_id_tag)){
- $cat_id_tag = 371;
- }
- ?>
- {eyou:include file='/template/mobile/components/tag/style_2.htm' /}
-
-
- <?php
- $title = "职称评审攻略";
- $cat_id = '117';
- $son_id = '117';
- $con = 2;
- ?>
- {eyou:include file='/template/mobile/components/list/style_4.htm' /}
-
- <?php
- $title = '快速评审客服';
- $kefu_id = '15';
- $con = 1;
- ?>
- {eyou:include file='/template/mobile/components/text/style_4.htm' /}
-
- <?php
- $title = '职称论文发表客服';
- $kefu_id = '23';
- $con = 2;
- ?>
- {eyou:include file='/template/mobile/components/text/style_4.htm' /}
-
- <?php
- $title = '职称专利申请客服';
- $kefu_id = '24';
- $con = 3;
- ?>
- {eyou:include file='/template/mobile/components/text/style_4.htm' /}
- </div>
- </div>
- </div>
-
- <!--职称评审工具包-->
- {eyou:include file='/template/mobile/components/list/style_6.htm' /}
-
- </div>
-
- <div id="footer">
- {eyou:include file='/template/mobile/common/footer.htm' /}
- </div>
-
- {eyou:include file='/template/mobile/common/common_bot.htm' /}
|