123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
-
- <link rel="stylesheet" href="/template/pc/css/header.css" media="all">
-
- <?php if(isset($page) && $page == 'document' || isset($page) && $page == 'down'){ ?>
-
- <!--文档列表页和详情页--->
- {eyou:include file='/template/pc/components/banner/style_4.htm' /}
-
-
- <?php }else{ ?>
-
- {eyou:include file='/template/pc/components/text/style_1.htm' /}
-
- <div class="content-2">
- <div class="box-2">
- <div class="layui-row">
- <div class="layui-col-xs2 qy-2-1">
- <span class="font-3">
- <a target="_blank" href="{eyou:global name='web_basehost' /}" alt="{eyou:global name='web_name' /}LOGO">
- <img src="{eyou:global name='web_logo' /}" />
- </a>
- </span>
- </div>
-
-
- <!--选择地区-->
- <?php
- if($page == 'lunwen-detail' && isset($page) || $page == 'special' && isset($page)){
- //不显示
- }else{
- ?>
- {eyou:include file='/template/pc/components/choose/style_1.htm' /}
- <?php } ?>
-
-
- <!--搜索-->
- <?php
- if($page == 'lunwen-detail' && isset($page) || $page == 'special' && isset($page)){
- //不显示
- $key = '热门职称论文期刊';
- }else if($page === 'provincial'){
- //省级显示
- $key = '深圳职称网';
- }else{
- $key = '工程管理职称';
- }
- ?>
- {eyou:include file='/template/pc/components/search/style_1.htm' /}
-
- <!--400电话-->
- {eyou:include file='/template/pc/components/text/style_2.htm' /}
- </div>
- </div>
- </div>
-
- <?php } ?>
-
-
- <?php
- //判断是什么省份
- $route_domain_header = request()->domain();
- $domain_header = explode('//',$route_domain_header);
- $domain_header = explode('.',$domain_header[1]);
- $site_header = $domain_header[0];
-
- //伪山东
- $site_1 = $route_param['site']?$route_param['site']:'';
- if($site_1 == 'shandong' && $site_header == 'www'){
- $site_header = shandong;
- }
- ?>
-
- <div class="content-3">
- <div class="box-3">
- <!--导航菜单-->
- <div class="layui-col-xs8 qy-6" style="width:850px;">
- {eyou:php}
- $catid = $_GET['tid']?$_GET['tid']:0;
- if((int)$catid === 56){
- $catid = $_GET['catids']?$_GET['catids']:0;
- }
- {/eyou:php}
- {eyou:assign name='rowNum' value='0' /}
- {eyou:navigation position_id='1' currentclass='active'}
-
- <?php
- $class = '';
- //var_dump($page);
- if($rowNum == 3 && $page == 'document' || $rowNum == 3 && $page == 'down'){
- $class = 'active';
- }else if($rowNum == 2 && $page == 'lunwen-detail' || $rowNum == 2 && $page == 'lunwen-list'){
- $class = 'active';
- }else if($rowNum == 1 && $page == 'zccat' || $rowNum == 1 && $page == 'zccat-detail-list'){
- $class = 'active';
- }else if($rowNum == 4 && $page == 'article_list' && (int)$route_param['tid'] === 132 || $rowNum == 4 && $page == 'article-detail' && (int)$route_param['tid'] === 132){
- $class = 'active';
- }else if($rowNum == 0 && $page == 'index'){
- $class = 'active';
- }else if($rowNum == 5 && $page == 'special'){
- $class = 'active';
- }
- ?>
-
- {eyou:if condition='($rowNum == 0)'}
- <li class="qy-6-1">
-
-
- {eyou:if condition='($site_header != "www" && $site_header != "zc")'}
-
- {eyou:if condition='(!empty($city_domain) && $city_domain != "none")'}
- <a target="_blank" class="active" href='https://{$site_header}.zc10000.com/{$city_domain}' {$field.target} {$field.nofollow}>
- 城市主页
- </a>
- {eyou:else /}
- {eyou:if condition='($site_header == "zczl")'}
- <a target="_blank" class="" href='https://www.zc10000.com/' {$field.target} {$field.nofollow}>
- 首页
- </a>
-
- {eyou:elseif condition='($site_header == "shandong" && $domain_header[0] == "www")'}
-
- <a target="_blank" class="active" href='https://www.zc10000.com/{$site_header}' {$field.target} {$field.nofollow}>
- 省站主页
- </a>
-
- {eyou:else /}
-
- <a target="_blank" class="active" href='https://{$site_header}.zc10000.com/' {$field.target} {$field.nofollow}>
- 省站主页
- </a>
- {/eyou:if}
-
-
-
- {/eyou:if}
-
- {eyou:else /}
- <a target="_blank" class="{$class}" href='{$eyou.global.web_basehost}' {$field.target} {$field.nofollow}>
- {$field.en_name}
- </a>
-
- {/eyou:if}
-
- <!--城市主页 还得区分 url和name-->
- </li>
- {eyou:else /}
- <li>
- <a target="_blank" class="{$class}" href='{:get_tid_url_2($field["nav_url"])}' {$field.target} {$field.nofollow}>
- {$field.en_name}
- </a>
- </li>
- {/eyou:if}
-
- {eyou:php}
- $rowNum++;
- {/eyou:php}
- {/eyou:navigation}
- </div>
- <!--用户状态-->
- <div class="layui-col-xs4 tr" style="width:200px;">
- {eyou:user type='userinfo'}
- <div id="{$field.htmlid}">
- <span class="font-11"><a target="_blank" href="https://www.zc10000.com{$field.loginurl}" class="font-10" rel="nofllow">登录</a></span>
- <span class="font-11-1">|</span>
- <span class="font-12"><a target="_blank" href="https://www.zc10000.com{$field.regurl}" class="font-13" rel="nofllow">注册</a></span>
- </div>
- {$field.hidden}
- {/eyou:user}
- </div>
- </div>
- </div>
-
- <!--清除float-->
- <div class="clear"></div>
- <script>
- </script>
|