123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- {eyou:assign name='page' value='zccat' /}
- {eyou:php}
- $route_param = request()->route();
- //var_dump($param);
- $areaid = $route_param['areaid']?(int)$route_param['areaid']:0;
- //var_dump($areaid);
- {/eyou:php}
-
-
- {eyou:php}
- $sql = "SELECT aid FROM ey_seo_number WHERE number = $areaid and type=3";
- {/eyou:php}
- {eyou:sql sql='$sql' cachetime='3600' id='seo'}
- {eyou:php}
- $areaid = $seo['aid'];
- {/eyou:php}
- {/eyou:sql}
-
-
- {eyou:php}
- $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";
- {/eyou:php}
- {eyou:sql sql='$sql' cachetime='3600' id='seo_cat'}
- {eyou:notempty name='$seo_cat' /}
- {eyou:php}
- $seo_title = $seo_cat['seo_title'];
- $seo_keywords = $seo_cat['seo_keywords'];
- $seo_description = $seo_cat['seo_description'];
- {/eyou:php}
- {/eyou:notempty}
- {/eyou:sql}
-
- {eyou:php}
- $area_name = '';
- $sql = "SELECT id,name FROM ey_citysite WHERE id = $areaid";
- {/eyou:php}
- {eyou:sql sql='$sql' cachetime='3600' id='area'}
- {eyou:php}
- $area_name = ''.$area['name'].'';
- {/eyou:php}
- {/eyou:sql}
-
-
- <?php
- //调试
- //var_dump($eyou['field']['seo_keywords']);
- ?>
- <!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">
-
-
- <?php
- if(isset($seo_title) && !empty($seo_title)){ ?>
-
- <title>{$seo_title}</title>
- <meta name="keywords" content="{$seo_keywords}">
- <meta name="description" content="{$seo_description}">
-
- <?php }else{ ?>
-
- <title>{$area_name}工程师系列职称有哪些_{$area_name}职称专业分类对照表【职称网】</title>
- <meta name="keywords" content="{$area_name}工程师系列职称有哪些">
- <meta name="description" content="{$area_name}工程师系列职称有哪些,{$area_name}职称专业分类对照表,上【职称网】最受欢迎的职称评审网站,专注工程师职称评审认准【www.zc10000.com】">
- <?php } ?>
-
- <link rel="stylesheet" href="https://oss.zc10000.com/static/plug/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="/template/pc/css/common.css" media="all">
- <!--后续修改样式 在extend.css 补充叠加 不修改原来的样式文件-->
- <link rel="stylesheet" href="/template/pc/css/extend.css" 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/pc/common/background.htm' /}
-
- <div id="header">
- {eyou:include file='/template/pc/common/header.htm' /}
- </div>
-
- <!--复制 copy/cat.htm 页面名称: 职称类目页-->
- <div id="cat-index">
- <link rel="stylesheet" href="/template/pc/css/cat.css" media="all">
-
- <!--不同页面 banner不一样 通过page判断-->
- {eyou:include file='/template/pc/components/banner/style_1.htm' /}
- {eyou:include file='/template/pc/components/nav/style_1.htm' /}
-
- <?php
- $title = '省份选择';
- ?>
- {eyou:include file='/template/pc/components/tag/style_1.htm' /}
-
- <div class="content">
- <div class="box">
- {eyou:include file='/template/pc/components/list/style_1.htm' /}
-
- <!--工具包-->
- {eyou:include file='/template/pc/components/list/style_2.htm' /}
- <!--常见问题解答-->
- {eyou:include file='/template/pc/components/list/style_3.htm' /}
- </div>
- </div>
-
- <!---职称评审流程-->
- {eyou:include file='/template/pc/components/flow/style_1.htm' /}
- </div>
-
- <div id="footer">
- {eyou:include file='/template/pc/common/footer.htm' /}
- </div>
-
- {eyou:include file='/template/pc/common/common_bot.htm' /}
|