123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
-
- <header class="header">
- <div class="h-fix">
- <div class="container">
- <h1 class="logo"> <a href="https://www.zc10000.com" title="">
- <img id="light-logo" src="{eyou:global name='web_attr_31' /}" alt="职称E家LOGO" title="职称E家LOGO">
- <img id="dark-logo" src="{eyou:global name='web_attr_32' /}" alt="职称E家LOGO" title="职称E家LOGO">
- </a> </h1>
- <div id="m-btn" class="m-btn"><i class="fa fa-bars"></i></div>
- <div class="search"> <i class="s-btn off fa fa-search"></i>
- <div class="s-form"> <i class="arrow fa fa-caret-up"></i>
-
-
-
- <div class="layui-tab">
- <ul class="layui-tab-title">
- <li class="layui-this">政策</li>
- <li>材料</li>
- </ul>
- <div class="layui-tab-content">
- <div class="layui-tab-item layui-show">
-
- {eyou:searchform type='sonself' typeid='1232' modelid='103'}
- <form name="formsearch" method="get" action="{$field.action}" class="sform">
- <input class="sinput" name="keywords" type="text" placeholder="请输入政策相关搜索词" style="padding: 0px 0 0 10px;">
- <button><i class="fa fa-search"></i></button>
- <!-- <input type="submit" value='点击搜索' />--->
- {$field.hidden}
- </form>
- {/eyou:searchform}
- </div>
- <div class="layui-tab-item">
-
-
- {eyou:searchform type='sonself' typeid='1233' modelid='103'}
- <form name="formsearch" method="get" action="{$field.action}" class="sform">
- <input class="sinput" name="keywords" type="text" placeholder="请输入材料相关搜索词" style="padding: 0px 0 0 10px;">
- <button><i class="fa fa-search"></i></button>
- <!-- <input type="submit" value='点击搜索' />--->
- {$field.hidden}
- </form>
- {/eyou:searchform}
-
- </div>
- </div>
- </div>
-
-
-
-
- </div>
- </div>
- <div class="darkmode"> <a href="javascript:switchNightMode()" target="_self" class=""><i class="fa fa-moon-o"></i></a> </div>
- <nav class="nav-bar" id="nav-box" data-type="index" data-infoid="">
- <ul class="nav">
-
-
-
- {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=''}
-
- <?php
- //$class = 'active';
- //$page
- //$rowNum
-
- //var_dump($rowNum);
- //var_dump($catid);
- $class = '';
- if((int)$catid === 1231 && (int)$rowNum === 1){
- $class = 'active';
- }else if((int)$catid === 1232 && (int)$rowNum === 2){
- $class = 'active';
- }else if((int)$catid === 1233 && (int)$rowNum === 3){
- $class = 'active';
- }else if((int)$catid === 1234 && (int)$rowNum === 4){
- $class = 'active';
- }else{
- if((int)$rowNum === 0 && (int)$catid === 0){
- $class = 'active';
- }else{
- $class = '';
- }
- }
- //var_dump($class);
- ?>
-
- {eyou:if condition='((int)$rowNum === 0)'}
- <!--nvabar-item-index-->
- <li id="" class="{$class}"><a href="https://www.zc10000.com">首页</a></li>
-
- {eyou:else /}
- {eyou:notempty name='$field1.children'}
- <li id="navbar-category-3" class="li-cate-3 {$class}">
- <a href="">{$field.nav_name}</a>
- <ul class="sub-menu">
- {eyou:navigation name='$field1.children' id='field2'}
- <li id="navbar-category-8" class="li-cate-8">
- <a href='{:get_tid_url_2($field2["nav_url"])}'>{$field2.nav_name}</a>
- </li>
- {/eyou:navigation} // 第二级菜单循环结束
- </ul>
- </li>
- {eyou:else /}
- <li id="navbar-category-3" class="li-cate-3 {$class}">
- <a href="{:get_tid_url_2($field["nav_url"])}">
- {$field.en_name}
- </a>
- </li>
- {/eyou:notempty}
- {/eyou:if}
-
-
- {eyou:php}
- $rowNum++;
- {/eyou:php}
- {/eyou:navigation}
-
-
- </ul>
- </nav>
-
- <div style="float: right;">
- {eyou:if condition='($is_mobile === false)'}
- {eyou:user type='userinfo'}
- <div id="{$field.htmlid}" style="float: left;">
- <div class="submit fr">
- <a target="_blank" href="https://www.zc10000.com{$field.loginurl}" class="a transition" rel="nofollow">
- <i class="fa fa-heart"></i>登录
- </a>
- </div>
- <div class="submit fr">
- <a target="_blank" href="https://www.zc10000.com{$field.regurl}" class="a transition" rel="nofollow">
- <i class="fa fa-heart"></i>注册
- </a>
- </div>
- </div>
-
- {$field.hidden}
- {/eyou:user}
- {/eyou:if}
-
- </div>
- </div>
-
-
-
-
- </div>
- </header>
-
|