function content_55f968bc317472_17692017($_smarty_tpl)
    {
        if (!is_callable('smarty_function_url')) {
            include 'D:\\wamp\\www\\qyhr\\app\\include\\libs\\plugins\\function.url.php';
        }
        if (!is_callable('smarty_function_readloginhead')) {
            include 'D:\\wamp\\www\\qyhr\\app\\include\\libs\\plugins\\function.readloginhead.php';
        }
        ?>
<!--header-->
<div class="top">
  <div class="top_cot">
    <div class="top_cot_content">
      <div class="top_left fl">
        <div class="yun_welcome fl">»¶Ó­À´µ½<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['sy_webname'];
        ?>
£¡</div>
        <span class="fl"><a href="<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];
        ?>
/wap" class="wap_icon">ÊÖ»ú°æ</a> | <a href="<?php 
        echo smarty_function_url(array('m' => 'subscribe'), $_smarty_tpl);
        ?>
">¶©ÔÄ</a></span> </div>
      <div class="top_right_re fr">
        <div class="top_right">
          <div class="yun_topNav fr"> 
		  <a class="yun_navMore" href="javascript:;">ÍøÕ¾µ¼º½</a>
            <div class="yun_webMoredown" style="display:none">
              <div class="yun_top_nav_box"> 
			  <?php 
        $_smarty_tpl->tpl_vars['navmap'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['navmap']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        global $db, $db_config, $config;
        eval('$paramer=array("key"=>"\'key\'","item"=>"\'navmap\'","nocache"=>"")
;');
        include PLUS_PATH . "/navmap.cache.php";
        $Navlist = array();
        if (is_array($navmap)) {
            $ParamerArr = GetSmarty($paramer, $_GET, $_smarty_tpl);
            $paramer = $ParamerArr[arr];
            $Purl = $ParamerArr[purl];
        }
        $Navlist = $navmap[0];
        if (is_array($navmap)) {
            foreach ($navmap as $k => $v) {
                foreach ($Navlist as $key => $val) {
                    if ($k == $val[id]) {
                        foreach ($v as $kk => $value) {
                            if ($value[type] == '1') {
                                if ($config[sy_seo_rewrite] == "1" && $value[furl] != '') {
                                    $v[$kk][url] = $config[sy_weburl] . "/" . $value[furl];
                                } else {
                                    $v[$kk][url] = $config[sy_weburl] . "/" . $value[url];
                                }
                            }
                        }
                        $Navlist[$key]['list'] = $v;
                    }
                }
            }
            foreach ($Navlist as $key => $value) {
                if ($value[type] == '1') {
                    if ($config[sy_seo_rewrite] == "1" && $value[furl] != '') {
                        $Navlist[$key][url] = $config[sy_weburl] . "/" . $value[furl];
                    } else {
                        $Navlist[$key][url] = $config[sy_weburl] . "/" . $value[url];
                    }
                }
            }
        }
        $Navlist = $Navlist;
        if (!is_array($Navlist) && !is_object($Navlist)) {
            settype($Navlist, 'array');
        }
        foreach ($Navlist as $_smarty_tpl->tpl_vars['navmap']->key => $_smarty_tpl->tpl_vars['navmap']->value) {
            $_smarty_tpl->tpl_vars['navmap']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['navmap']->key;
            ?>
                <div class="yun_top_nav_h1"><a href="<?php 
            echo $_smarty_tpl->tpl_vars['navmap']->value['url'];
            ?>
" <?php 
            if ($_smarty_tpl->tpl_vars['navmap']->value['eject']) {
                ?>
 target="_blank"<?php 
            }
            ?>
><?php 
            echo $_smarty_tpl->tpl_vars['navmap']->value['name'];
            ?>
</a></div>
                <ul>
                  <?php 
            $_smarty_tpl->tpl_vars['maplist'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['maplist']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['navmap']->value['list'];
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['maplist']->key => $_smarty_tpl->tpl_vars['maplist']->value) {
                $_smarty_tpl->tpl_vars['maplist']->_loop = true;
                ?>
                  <li><a href="<?php 
                echo $_smarty_tpl->tpl_vars['maplist']->value['url'];
                ?>
" <?php 
                if ($_smarty_tpl->tpl_vars['maplist']->value['eject']) {
                    ?>
 target="_blank"<?php 
                }
                ?>
><?php 
                echo $_smarty_tpl->tpl_vars['maplist']->value['name'];
                ?>
</a></li>
                  <?php 
            }
            ?>
                </ul>
                <?php 
        }
        ?>
 </div>
            </div>
          </div>
            <?php 
        if ($_smarty_tpl->tpl_vars['ishtml']->value) {
            ?>
            <?php 
            echo '<script';
            ?>
 language='JavaScript' src='<?php 
            echo smarty_function_url(array('m' => 'ajax', 'c' => 'RedLoginHead'), $_smarty_tpl);
            ?>
'><?php 
            echo '</script';
            ?>
>
            <?php 
        } else {
            ?>
            <?php 
            echo smarty_function_readloginhead(array(), $_smarty_tpl);
            ?>

            <?php 
        }
        ?>
        </div>
      </div>
    </div>
  </div>
</div>
<div class="header_zt"><?php 
        $_smarty_tpl->tpl_vars['adlist_51'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['adlist_51']->_loop = false;
        $AdArr = array();
        $paramer = array();
        include PLUS_PATH . '/pimg_cache.php';
        $add_arr = $ad_label[51];
        if (is_array($add_arr) && !empty($add_arr)) {
            $i = 0;
            $limit = 5;
            $length = 0;
            foreach ($add_arr as $key => $value) {
                if (($value['did'] == $config['did'] || $value['did'] == '0') && $value['start'] < time() && $value['end'] > time()) {
                    if ($i > 0 && $limit == $i) {
                        break;
                    }
                    if ($length > 0) {
                        $value['name'] = mb_substr($value['name'], 0, $length);
                    }
                    if ($paramer['type'] != "") {
                        if ($paramer['type'] == $value['type']) {
                            $AdArr[] = $value;
                        }
                    } else {
                        $AdArr[] = $value;
                    }
                    $i++;
                }
            }
        }
        $AdArr = $AdArr;
        if (!is_array($AdArr) && !is_object($AdArr)) {
            settype($AdArr, 'array');
        }
        foreach ($AdArr as $_smarty_tpl->tpl_vars['adlist_51']->key => $_smarty_tpl->tpl_vars['adlist_51']->value) {
            $_smarty_tpl->tpl_vars['adlist_51']->_loop = true;
            echo $_smarty_tpl->tpl_vars['adlist_51']->value['html'];
        }
        ?>
</div>
<div class="header">
  <div class="w980">
    <div class="header_cont">
      <div class="logo fl"><a href="<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];
        ?>
/<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['sy_logo'];
        ?>
" class="png"></a></div>
      <nav>
        <ul class="header_nav">
          <?php 
        $_smarty_tpl->tpl_vars['nlist'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['nlist']->_loop = false;
        global $db, $db_config, $config;
        include PLUS_PATH . "/menu.cache.php";
        $Navlist = array();
        if (is_array($menu_name)) {
            eval('$paramer=array("item"=>"\'nlist\'","hovclass"=>"\'header_nav_cur\'","nid"=>"1","nocache"=>"")
;');
            $ParamerArr = GetSmarty($paramer, $_GET, $_smarty_tpl);
            $paramer = $ParamerArr[arr];
            $Purl = $ParamerArr[purl];
            foreach ($menu_name[12] as $key => $val) {
                if ($val['type'] == '2') {
                    if ($config['sy_seo_rewrite'] == "1" && $val[furl] != '') {
                        $menu_name[12][$key][url] = $val[furl];
                    } else {
                        $menu_name[12][$key][url] = $val[url];
                    }
                    $menu_name[12][$key][navclass] = navcalss($val, $paramer[hovclass]);
                }
            }
            foreach ($menu_name[1] as $key => $value) {
                if ($value['type'] == '1') {
                    if ($config['sy_seo_rewrite'] == "1" && $value[furl] != '') {
                        $menu_name[1][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                    } else {
                        $menu_name[1][$key][url] = $config[sy_weburl] . "/" . $value[url];
                    }
                    $menu_name[1][$key][navclass] = navcalss($value, $paramer[hovclass]);
                }
            }
            foreach ($menu_name[2] as $key => $value) {
                if ($value['type'] == '1') {
                    if ($config['sy_seo_rewrite'] == "1" && $value[furl] != '') {
                        $menu_name[2][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                    } else {
                        $menu_name[2][$key][url] = $config[sy_weburl] . "/" . $value[url];
                    }
                    $menu_name[2][$key][navclass] = navcalss($value, $paramer[hovclass]);
                }
            }
            $isCurrentFind = false;
            foreach ($menu_name[4] as $key => $value) {
                if ($value['type'] == '1' && $value[furl] != '') {
                    if ($config['sy_seo_rewrite'] == "1") {
                        $menu_name[4][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                    } else {
                        $menu_name[4][$key][url] = $config[sy_weburl] . "/" . $value[url];
                    }
                }
                if ($isCurrentFind == false) {
                    $menu_name[4][$key][navclass] = navcalss($value, $paramer[hovclass]);
                }
                if ($menu_name[4][$key][navclass]) {
                    $isCurrentFind = true;
                }
            }
            foreach ($menu_name[5] as $key => $value) {
                if ($value['type'] == '1') {
                    if ($config['sy_seo_rewrite'] == "1" && $value[furl] != '') {
                        $menu_name[5][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                    } else {
                        $menu_name[5][$key][url] = $config[sy_weburl] . "/" . $value[url];
                    }
                    $menu_name[5][$key][navclass] = navcalss($value, $paramer[hovclass]);
                }
            }
        }
        if ($paramer[nid]) {
            $Navlist = $menu_name[$paramer[nid]];
        } else {
            $Navlist = $menu_name[1];
        }
        $Navlist = $Navlist;
        if (!is_array($Navlist) && !is_object($Navlist)) {
            settype($Navlist, 'array');
        }
        foreach ($Navlist as $_smarty_tpl->tpl_vars['nlist']->key => $_smarty_tpl->tpl_vars['nlist']->value) {
            $_smarty_tpl->tpl_vars['nlist']->_loop = true;
            ?>
          <li class="<?php 
            echo $_smarty_tpl->tpl_vars['nlist']->value['navclass'];
            ?>
"><a href="<?php 
            echo $_smarty_tpl->tpl_vars['nlist']->value['url'];
            ?>
" <?php 
            if ($_smarty_tpl->tpl_vars['nlist']->value['eject']) {
                ?>
 target="_blank"<?php 
            }
            ?>
><?php 
            echo $_smarty_tpl->tpl_vars['nlist']->value['name'];
            ?>
</a></li>
          <?php 
        }
        ?>
          <?php 
        $_smarty_tpl->tpl_vars['nalist'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['nalist']->_loop = false;
        global $db, $db_config, $config;
        include PLUS_PATH . "/menu.cache.php";
        $Navlist = array();
        if (is_array($menu_name)) {
            eval('$paramer=array("item"=>"\'nalist\'","hovclass"=>"\'header_fixed_list_cur\'","nid"=>"5","nocache"=>"")
;');
            $ParamerArr = GetSmarty($paramer, $_GET, $_smarty_tpl);
            $paramer = $ParamerArr[arr];
            $Purl = $ParamerArr[purl];
            foreach ($menu_name[12] as $key => $val) {
                if ($val['type'] == '2') {
                    if ($config['sy_seo_rewrite'] == "1" && $val[furl] != '') {
                        $menu_name[12][$key][url] = $val[furl];
                    } else {
                        $menu_name[12][$key][url] = $val[url];
                    }
                    $menu_name[12][$key][navclass] = navcalss($val, $paramer[hovclass]);
                }
            }
            foreach ($menu_name[1] as $key => $value) {
                if ($value['type'] == '1') {
                    if ($config['sy_seo_rewrite'] == "1" && $value[furl] != '') {
                        $menu_name[1][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                    } else {
                        $menu_name[1][$key][url] = $config[sy_weburl] . "/" . $value[url];
                    }
                    $menu_name[1][$key][navclass] = navcalss($value, $paramer[hovclass]);
                }
            }
            foreach ($menu_name[2] as $key => $value) {
                if ($value['type'] == '1') {
                    if ($config['sy_seo_rewrite'] == "1" && $value[furl] != '') {
                        $menu_name[2][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                    } else {
                        $menu_name[2][$key][url] = $config[sy_weburl] . "/" . $value[url];
                    }
                    $menu_name[2][$key][navclass] = navcalss($value, $paramer[hovclass]);
                }
            }
            $isCurrentFind = false;
            foreach ($menu_name[4] as $key => $value) {
                if ($value['type'] == '1' && $value[furl] != '') {
                    if ($config['sy_seo_rewrite'] == "1") {
                        $menu_name[4][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                    } else {
                        $menu_name[4][$key][url] = $config[sy_weburl] . "/" . $value[url];
                    }
                }
                if ($isCurrentFind == false) {
                    $menu_name[4][$key][navclass] = navcalss($value, $paramer[hovclass]);
                }
                if ($menu_name[4][$key][navclass]) {
                    $isCurrentFind = true;
                }
            }
            foreach ($menu_name[5] as $key => $value) {
                if ($value['type'] == '1') {
                    if ($config['sy_seo_rewrite'] == "1" && $value[furl] != '') {
                        $menu_name[5][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                    } else {
                        $menu_name[5][$key][url] = $config[sy_weburl] . "/" . $value[url];
                    }
                    $menu_name[5][$key][navclass] = navcalss($value, $paramer[hovclass]);
                }
            }
        }
        if ($paramer[nid]) {
            $Navlist = $menu_name[$paramer[nid]];
        } else {
            $Navlist = $menu_name[1];
        }
        $Navlist = $Navlist;
        if (!is_array($Navlist) && !is_object($Navlist)) {
            settype($Navlist, 'array');
        }
        foreach ($Navlist as $_smarty_tpl->tpl_vars['nalist']->key => $_smarty_tpl->tpl_vars['nalist']->value) {
            $_smarty_tpl->tpl_vars['nalist']->_loop = true;
            ?>
          <li class="<?php 
            echo $_smarty_tpl->tpl_vars['nalist']->value['navclass'];
            ?>
"><a href="<?php 
            echo $_smarty_tpl->tpl_vars['nalist']->value['url'];
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['nalist']->value['name'];
            ?>
</a></li>
          <?php 
        }
        ?>
        </ul>
      </nav>

        
        
        
        
        
        
    </div>
  </div>
</div><?php 
    }
    function content_55f968d62dcbb7_26688024($_smarty_tpl)
    {
        if (!is_callable('smarty_function_url')) {
            include 'D:\\wamp\\www\\qyhr\\app\\include\\libs\\plugins\\function.url.php';
        }
        if (!is_callable('smarty_function_readloginhead')) {
            include 'D:\\wamp\\www\\qyhr\\app\\include\\libs\\plugins\\function.readloginhead.php';
        }
        if (!is_callable('smarty_function_includesite')) {
            include 'D:\\wamp\\www\\qyhr\\app\\include\\libs\\plugins\\function.includesite.php';
        }
        ?>
<div class="top">
  <div class="top_cot">
    <div class="top_cot_content">
      <div class="top_left fl">
        <div class="yun_welcome fl">欢迎来到<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['sy_webname'];
        ?>
!</div>
        <span class="fl"><a href="<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];
        ?>
/wap" class="wap_icon">手机版</a> | <a href="<?php 
        echo smarty_function_url(array('m' => 'subscribe'), $_smarty_tpl);
        ?>
">订阅</a></span> </div>
      <div class="top_right_re fr">
        <div class="top_right">
          <div class="yun_topNav fr"> 
		  <a class="yun_navMore" href="javascript:;">网站导航</a>
            <div class="yun_webMoredown" style="display:none">
              <div class="yun_top_nav_box"> 
			  <?php 
        $_smarty_tpl->tpl_vars['navmap'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['navmap']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        global $db, $db_config, $config;
        eval('$paramer=array("key"=>"\'key\'","item"=>"\'navmap\'","nocache"=>"")
;');
        include PLUS_PATH . "/navmap.cache.php";
        $Navlist = array();
        if (is_array($navmap)) {
            $ParamerArr = GetSmarty($paramer, $_GET, $_smarty_tpl);
            $paramer = $ParamerArr[arr];
            $Purl = $ParamerArr[purl];
        }
        $Navlist = $navmap[0];
        if (is_array($navmap)) {
            foreach ($navmap as $k => $v) {
                foreach ($Navlist as $key => $val) {
                    if ($k == $val[id]) {
                        foreach ($v as $kk => $value) {
                            if ($value[type] == '1') {
                                if ($config[sy_seo_rewrite] == "1" && $value[furl] != '') {
                                    $v[$kk][url] = $config[sy_weburl] . "/" . $value[furl];
                                } else {
                                    $v[$kk][url] = $config[sy_weburl] . "/" . $value[url];
                                }
                            }
                        }
                        $Navlist[$key]['list'] = $v;
                    }
                }
            }
            foreach ($Navlist as $key => $value) {
                if ($value[type] == '1') {
                    if ($config[sy_seo_rewrite] == "1" && $value[furl] != '') {
                        $Navlist[$key][url] = $config[sy_weburl] . "/" . $value[furl];
                    } else {
                        $Navlist[$key][url] = $config[sy_weburl] . "/" . $value[url];
                    }
                }
            }
        }
        $Navlist = $Navlist;
        if (!is_array($Navlist) && !is_object($Navlist)) {
            settype($Navlist, 'array');
        }
        foreach ($Navlist as $_smarty_tpl->tpl_vars['navmap']->key => $_smarty_tpl->tpl_vars['navmap']->value) {
            $_smarty_tpl->tpl_vars['navmap']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['navmap']->key;
            ?>
                <div class="yun_top_nav_h1"><a href="<?php 
            echo $_smarty_tpl->tpl_vars['navmap']->value['url'];
            ?>
" <?php 
            if ($_smarty_tpl->tpl_vars['navmap']->value['eject']) {
                ?>
 target="_blank"<?php 
            }
            ?>
><?php 
            echo $_smarty_tpl->tpl_vars['navmap']->value['name'];
            ?>
</a></div>
                <ul>
                  <?php 
            $_smarty_tpl->tpl_vars['maplist'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['maplist']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['navmap']->value['list'];
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['maplist']->key => $_smarty_tpl->tpl_vars['maplist']->value) {
                $_smarty_tpl->tpl_vars['maplist']->_loop = true;
                ?>
                  <li><a href="<?php 
                echo $_smarty_tpl->tpl_vars['maplist']->value['url'];
                ?>
" <?php 
                if ($_smarty_tpl->tpl_vars['maplist']->value['eject']) {
                    ?>
 target="_blank"<?php 
                }
                ?>
><?php 
                echo $_smarty_tpl->tpl_vars['maplist']->value['name'];
                ?>
</a></li>
                  <?php 
            }
            ?>
                </ul>
                <?php 
        }
        ?>
 </div>
            </div>
          </div>
            <?php 
        if ($_smarty_tpl->tpl_vars['ishtml']->value) {
            ?>
            <?php 
            echo '<script';
            ?>
 language='JavaScript' src='<?php 
            echo smarty_function_url(array('m' => 'ajax', 'c' => 'RedLoginHead'), $_smarty_tpl);
            ?>
'><?php 
            echo '</script';
            ?>
>
            <?php 
        } else {
            ?>
            <?php 
            echo smarty_function_readloginhead(array(), $_smarty_tpl);
            ?>

            <?php 
        }
        ?>
        </div>
      </div>
    </div>
  </div>
</div>
<div class="header_zt"><?php 
        $_smarty_tpl->tpl_vars['adlist_51'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['adlist_51']->_loop = false;
        $AdArr = array();
        $paramer = array();
        include PLUS_PATH . '/pimg_cache.php';
        $add_arr = $ad_label[51];
        if (is_array($add_arr) && !empty($add_arr)) {
            $i = 0;
            $limit = 5;
            $length = 0;
            foreach ($add_arr as $key => $value) {
                if (($value['did'] == $config['did'] || $value['did'] == '0') && $value['start'] < time() && $value['end'] > time()) {
                    if ($i > 0 && $limit == $i) {
                        break;
                    }
                    if ($length > 0) {
                        $value['name'] = mb_substr($value['name'], 0, $length);
                    }
                    if ($paramer['type'] != "") {
                        if ($paramer['type'] == $value['type']) {
                            $AdArr[] = $value;
                        }
                    } else {
                        $AdArr[] = $value;
                    }
                    $i++;
                }
            }
        }
        $AdArr = $AdArr;
        if (!is_array($AdArr) && !is_object($AdArr)) {
            settype($AdArr, 'array');
        }
        foreach ($AdArr as $_smarty_tpl->tpl_vars['adlist_51']->key => $_smarty_tpl->tpl_vars['adlist_51']->value) {
            $_smarty_tpl->tpl_vars['adlist_51']->_loop = true;
            echo $_smarty_tpl->tpl_vars['adlist_51']->value['html'];
        }
        ?>
</div>
<div class="header_box">
<div class="header">
<div class="header_content">
  <div class="logo fl"><a href="<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];
        ?>
/<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['sy_logo'];
        ?>
" class="png"  /></a></div>
  <div class="header_city fl">
      <?php 
        if ($_smarty_tpl->tpl_vars['ishtml']->value) {
            ?>
      <?php 
            echo '<script';
            ?>
 language='JavaScript' src='<?php 
            echo smarty_function_url(array('m' => 'ajax', 'c' => 'Site'), $_smarty_tpl);
            ?>
'><?php 
            echo '</script';
            ?>
>
      <?php 
        } else {
            ?>
      <?php 
            echo smarty_function_includesite(array(), $_smarty_tpl);
            ?>

      <?php 
        }
        ?>
  </div>
  <div class="fr"><?php 
        $_smarty_tpl->tpl_vars['adlist_52'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['adlist_52']->_loop = false;
        $AdArr = array();
        $paramer = array();
        include PLUS_PATH . '/pimg_cache.php';
        $add_arr = $ad_label[52];
        if (is_array($add_arr) && !empty($add_arr)) {
            $i = 0;
            $limit = 1;
            $length = 0;
            foreach ($add_arr as $key => $value) {
                if (($value['did'] == $config['did'] || $value['did'] == '0') && $value['start'] < time() && $value['end'] > time()) {
                    if ($i > 0 && $limit == $i) {
                        break;
                    }
                    if ($length > 0) {
                        $value['name'] = mb_substr($value['name'], 0, $length);
                    }
                    if ($paramer['type'] != "") {
                        if ($paramer['type'] == $value['type']) {
                            $AdArr[] = $value;
                        }
                    } else {
                        $AdArr[] = $value;
                    }
                    $i++;
                }
            }
        }
        $AdArr = $AdArr;
        if (!is_array($AdArr) && !is_object($AdArr)) {
            settype($AdArr, 'array');
        }
        foreach ($AdArr as $_smarty_tpl->tpl_vars['adlist_52']->key => $_smarty_tpl->tpl_vars['adlist_52']->value) {
            $_smarty_tpl->tpl_vars['adlist_52']->_loop = true;
            echo $_smarty_tpl->tpl_vars['adlist_52']->value['html'];
        }
        ?>
</div>
</div>
</div>
<div class="clear"></div>
<div class="nav">
  <div class="nav_bg2">
    <div class="nav_cont_content">
      <div class="nav_cont">
        <ul class="nav_list">
          <?php 
        $_smarty_tpl->tpl_vars['navlist'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['navlist']->_loop = false;
        global $db, $db_config, $config;
        include PLUS_PATH . "/menu.cache.php";
        $Navlist = array();
        if (is_array($menu_name)) {
            eval('$paramer=array("item"=>"\'navlist\'","hovclass"=>"\'nav_list_hover\'","nid"=>"1","nocache"=>"")
;');
            $ParamerArr = GetSmarty($paramer, $_GET, $_smarty_tpl);
            $paramer = $ParamerArr[arr];
            $Purl = $ParamerArr[purl];
            foreach ($menu_name[12] as $key => $val) {
                if ($val['type'] == '2') {
                    if ($config['sy_seo_rewrite'] == "1" && $val[furl] != '') {
                        $menu_name[12][$key][url] = $val[furl];
                    } else {
                        $menu_name[12][$key][url] = $val[url];
                    }
                    $menu_name[12][$key][navclass] = navcalss($val, $paramer[hovclass]);
                }
            }
            foreach ($menu_name[1] as $key => $value) {
                if ($value['type'] == '1') {
                    if ($config['sy_seo_rewrite'] == "1" && $value[furl] != '') {
                        $menu_name[1][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                    } else {
                        $menu_name[1][$key][url] = $config[sy_weburl] . "/" . $value[url];
                    }
                    $menu_name[1][$key][navclass] = navcalss($value, $paramer[hovclass]);
                }
            }
            foreach ($menu_name[2] as $key => $value) {
                if ($value['type'] == '1') {
                    if ($config['sy_seo_rewrite'] == "1" && $value[furl] != '') {
                        $menu_name[2][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                    } else {
                        $menu_name[2][$key][url] = $config[sy_weburl] . "/" . $value[url];
                    }
                    $menu_name[2][$key][navclass] = navcalss($value, $paramer[hovclass]);
                }
            }
            $isCurrentFind = false;
            foreach ($menu_name[4] as $key => $value) {
                if ($value['type'] == '1' && $value[furl] != '') {
                    if ($config['sy_seo_rewrite'] == "1") {
                        $menu_name[4][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                    } else {
                        $menu_name[4][$key][url] = $config[sy_weburl] . "/" . $value[url];
                    }
                }
                if ($isCurrentFind == false) {
                    $menu_name[4][$key][navclass] = navcalss($value, $paramer[hovclass]);
                }
                if ($menu_name[4][$key][navclass]) {
                    $isCurrentFind = true;
                }
            }
            foreach ($menu_name[5] as $key => $value) {
                if ($value['type'] == '1') {
                    if ($config['sy_seo_rewrite'] == "1" && $value[furl] != '') {
                        $menu_name[5][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                    } else {
                        $menu_name[5][$key][url] = $config[sy_weburl] . "/" . $value[url];
                    }
                    $menu_name[5][$key][navclass] = navcalss($value, $paramer[hovclass]);
                }
            }
        }
        if ($paramer[nid]) {
            $Navlist = $menu_name[$paramer[nid]];
        } else {
            $Navlist = $menu_name[1];
        }
        $Navlist = $Navlist;
        if (!is_array($Navlist) && !is_object($Navlist)) {
            settype($Navlist, 'array');
        }
        foreach ($Navlist as $_smarty_tpl->tpl_vars['navlist']->key => $_smarty_tpl->tpl_vars['navlist']->value) {
            $_smarty_tpl->tpl_vars['navlist']->_loop = true;
            ?>
          <li class="<?php 
            echo $_smarty_tpl->tpl_vars['navlist']->value['navclass'];
            ?>
"> <a href="<?php 
            echo $_smarty_tpl->tpl_vars['navlist']->value['url'];
            ?>
" <?php 
            if ($_smarty_tpl->tpl_vars['navlist']->value['eject']) {
                ?>
 target="_blank"<?php 
            }
            ?>
 class="png"> <?php 
            echo $_smarty_tpl->tpl_vars['navlist']->value['name'];
            ?>
 </a>
            <div class="nav_icon"> <?php 
            if ($_smarty_tpl->tpl_vars['navlist']->value['model'] == "new") {
                ?>
 <img src="<?php 
                echo $_smarty_tpl->tpl_vars['style']->value;
                ?>
/images/new.gif"> <?php 
            } elseif ($_smarty_tpl->tpl_vars['navlist']->value['model'] == "hot") {
                ?>
 <img src="<?php 
                echo $_smarty_tpl->tpl_vars['style']->value;
                ?>
/images/hotn.gif"> <?php 
            }
            ?>
</div>
          </li>
          <?php 
        }
        ?>
        </ul>
      </div>
      
      <div class="nav_right_content">
          <div class="nav_right_a"> <?php 
        $_smarty_tpl->tpl_vars['nav'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['nav']->_loop = false;
        $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable();
        global $db, $db_config, $config;
        include PLUS_PATH . "/menu.cache.php";
        $Navlist = array();
        if (is_array($menu_name)) {
            eval('$paramer=array("item"=>"\'nav\'","key"=>"\'key\'","nid"=>"5","nocache"=>"")
;');
            $ParamerArr = GetSmarty($paramer, $_GET, $_smarty_tpl);
            $paramer = $ParamerArr[arr];
            $Purl = $ParamerArr[purl];
            foreach ($menu_name[12] as $key => $val) {
                if ($val['type'] == '2') {
                    if ($config['sy_seo_rewrite'] == "1" && $val[furl] != '') {
                        $menu_name[12][$key][url] = $val[furl];
                    } else {
                        $menu_name[12][$key][url] = $val[url];
                    }
                    $menu_name[12][$key][navclass] = navcalss($val, $paramer[hovclass]);
                }
            }
            foreach ($menu_name[1] as $key => $value) {
                if ($value['type'] == '1') {
                    if ($config['sy_seo_rewrite'] == "1" && $value[furl] != '') {
                        $menu_name[1][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                    } else {
                        $menu_name[1][$key][url] = $config[sy_weburl] . "/" . $value[url];
                    }
                    $menu_name[1][$key][navclass] = navcalss($value, $paramer[hovclass]);
                }
            }
            foreach ($menu_name[2] as $key => $value) {
                if ($value['type'] == '1') {
                    if ($config['sy_seo_rewrite'] == "1" && $value[furl] != '') {
                        $menu_name[2][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                    } else {
                        $menu_name[2][$key][url] = $config[sy_weburl] . "/" . $value[url];
                    }
                    $menu_name[2][$key][navclass] = navcalss($value, $paramer[hovclass]);
                }
            }
            $isCurrentFind = false;
            foreach ($menu_name[4] as $key => $value) {
                if ($value['type'] == '1' && $value[furl] != '') {
                    if ($config['sy_seo_rewrite'] == "1") {
                        $menu_name[4][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                    } else {
                        $menu_name[4][$key][url] = $config[sy_weburl] . "/" . $value[url];
                    }
                }
                if ($isCurrentFind == false) {
                    $menu_name[4][$key][navclass] = navcalss($value, $paramer[hovclass]);
                }
                if ($menu_name[4][$key][navclass]) {
                    $isCurrentFind = true;
                }
            }
            foreach ($menu_name[5] as $key => $value) {
                if ($value['type'] == '1') {
                    if ($config['sy_seo_rewrite'] == "1" && $value[furl] != '') {
                        $menu_name[5][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                    } else {
                        $menu_name[5][$key][url] = $config[sy_weburl] . "/" . $value[url];
                    }
                    $menu_name[5][$key][navclass] = navcalss($value, $paramer[hovclass]);
                }
            }
        }
        if ($paramer[nid]) {
            $Navlist = $menu_name[$paramer[nid]];
        } else {
            $Navlist = $menu_name[1];
        }
        $Navlist = $Navlist;
        if (!is_array($Navlist) && !is_object($Navlist)) {
            settype($Navlist, 'array');
        }
        foreach ($Navlist as $_smarty_tpl->tpl_vars['nav']->key => $_smarty_tpl->tpl_vars['nav']->value) {
            $_smarty_tpl->tpl_vars['nav']->_loop = true;
            $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['nav']->key;
            ?>
 <?php 
            if ($_smarty_tpl->tpl_vars['key']->value != 0) {
                ?>
<span class="nav_right_span">|</span><?php 
            }
            ?>
 <a href="<?php 
            echo $_smarty_tpl->tpl_vars['nav']->value['url'];
            ?>
" style=" position:relative;<?php 
            if ($_smarty_tpl->tpl_vars['nav']->value['color']) {
                ?>
color:<?php 
                echo $_smarty_tpl->tpl_vars['nav']->value['color'];
                ?>
;<?php 
            }
            if ($_smarty_tpl->tpl_vars['nav']->value['bold'] == 1) {
                ?>
font-weight:bolder;<?php 
            }
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['nav']->value['name'];
            ?>

            <div class="nav_icon"> <?php 
            if ($_smarty_tpl->tpl_vars['nav']->value['model'] == "new") {
                ?>
 <img src="<?php 
                echo $_smarty_tpl->tpl_vars['style']->value;
                ?>
/images/new.gif"> <?php 
            } elseif ($_smarty_tpl->tpl_vars['nav']->value['model'] == "hot") {
                ?>
 <img src="<?php 
                echo $_smarty_tpl->tpl_vars['style']->value;
                ?>
/images/hotn.gif"> <?php 
            }
            ?>
</div> 
            </a> <?php 
        }
        ?>
 </div>
        </div>
      </div>
    </div>
  </div>

</div>

<?php 
        if ($_smarty_tpl->tpl_vars['config']->value['sy_header_fix'] == '1') {
            ?>
<!--滚动展示内容-->
<div class="header_fixed" id="header_fix" style="display:none">
  <div class="header_fixed_cont">
    <ul class="header_fixed_list">
      <?php 
            $_smarty_tpl->tpl_vars['nlist'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['nlist']->_loop = false;
            global $db, $db_config, $config;
            include PLUS_PATH . "/menu.cache.php";
            $Navlist = array();
            if (is_array($menu_name)) {
                eval('$paramer=array("item"=>"\'nlist\'","hovclass"=>"\'header_fixed_list_cur\'","nid"=>"1","nocache"=>"")
;');
                $ParamerArr = GetSmarty($paramer, $_GET, $_smarty_tpl);
                $paramer = $ParamerArr[arr];
                $Purl = $ParamerArr[purl];
                foreach ($menu_name[12] as $key => $val) {
                    if ($val['type'] == '2') {
                        if ($config['sy_seo_rewrite'] == "1" && $val[furl] != '') {
                            $menu_name[12][$key][url] = $val[furl];
                        } else {
                            $menu_name[12][$key][url] = $val[url];
                        }
                        $menu_name[12][$key][navclass] = navcalss($val, $paramer[hovclass]);
                    }
                }
                foreach ($menu_name[1] as $key => $value) {
                    if ($value['type'] == '1') {
                        if ($config['sy_seo_rewrite'] == "1" && $value[furl] != '') {
                            $menu_name[1][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                        } else {
                            $menu_name[1][$key][url] = $config[sy_weburl] . "/" . $value[url];
                        }
                        $menu_name[1][$key][navclass] = navcalss($value, $paramer[hovclass]);
                    }
                }
                foreach ($menu_name[2] as $key => $value) {
                    if ($value['type'] == '1') {
                        if ($config['sy_seo_rewrite'] == "1" && $value[furl] != '') {
                            $menu_name[2][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                        } else {
                            $menu_name[2][$key][url] = $config[sy_weburl] . "/" . $value[url];
                        }
                        $menu_name[2][$key][navclass] = navcalss($value, $paramer[hovclass]);
                    }
                }
                $isCurrentFind = false;
                foreach ($menu_name[4] as $key => $value) {
                    if ($value['type'] == '1' && $value[furl] != '') {
                        if ($config['sy_seo_rewrite'] == "1") {
                            $menu_name[4][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                        } else {
                            $menu_name[4][$key][url] = $config[sy_weburl] . "/" . $value[url];
                        }
                    }
                    if ($isCurrentFind == false) {
                        $menu_name[4][$key][navclass] = navcalss($value, $paramer[hovclass]);
                    }
                    if ($menu_name[4][$key][navclass]) {
                        $isCurrentFind = true;
                    }
                }
                foreach ($menu_name[5] as $key => $value) {
                    if ($value['type'] == '1') {
                        if ($config['sy_seo_rewrite'] == "1" && $value[furl] != '') {
                            $menu_name[5][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                        } else {
                            $menu_name[5][$key][url] = $config[sy_weburl] . "/" . $value[url];
                        }
                        $menu_name[5][$key][navclass] = navcalss($value, $paramer[hovclass]);
                    }
                }
            }
            if ($paramer[nid]) {
                $Navlist = $menu_name[$paramer[nid]];
            } else {
                $Navlist = $menu_name[1];
            }
            $Navlist = $Navlist;
            if (!is_array($Navlist) && !is_object($Navlist)) {
                settype($Navlist, 'array');
            }
            foreach ($Navlist as $_smarty_tpl->tpl_vars['nlist']->key => $_smarty_tpl->tpl_vars['nlist']->value) {
                $_smarty_tpl->tpl_vars['nlist']->_loop = true;
                ?>
      <li class="<?php 
                echo $_smarty_tpl->tpl_vars['nlist']->value['navclass'];
                ?>
"><a href="<?php 
                echo $_smarty_tpl->tpl_vars['nlist']->value['url'];
                ?>
" <?php 
                if ($_smarty_tpl->tpl_vars['nlist']->value['eject']) {
                    ?>
 target="_blank"<?php 
                }
                ?>
><?php 
                echo $_smarty_tpl->tpl_vars['nlist']->value['name'];
                ?>
</a></li>
      <?php 
            }
            ?>
      <?php 
            $_smarty_tpl->tpl_vars['nalist'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['nalist']->_loop = false;
            global $db, $db_config, $config;
            include PLUS_PATH . "/menu.cache.php";
            $Navlist = array();
            if (is_array($menu_name)) {
                eval('$paramer=array("item"=>"\'nalist\'","hovclass"=>"\'header_fixed_list_cur\'","nid"=>"5","nocache"=>"")
;');
                $ParamerArr = GetSmarty($paramer, $_GET, $_smarty_tpl);
                $paramer = $ParamerArr[arr];
                $Purl = $ParamerArr[purl];
                foreach ($menu_name[12] as $key => $val) {
                    if ($val['type'] == '2') {
                        if ($config['sy_seo_rewrite'] == "1" && $val[furl] != '') {
                            $menu_name[12][$key][url] = $val[furl];
                        } else {
                            $menu_name[12][$key][url] = $val[url];
                        }
                        $menu_name[12][$key][navclass] = navcalss($val, $paramer[hovclass]);
                    }
                }
                foreach ($menu_name[1] as $key => $value) {
                    if ($value['type'] == '1') {
                        if ($config['sy_seo_rewrite'] == "1" && $value[furl] != '') {
                            $menu_name[1][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                        } else {
                            $menu_name[1][$key][url] = $config[sy_weburl] . "/" . $value[url];
                        }
                        $menu_name[1][$key][navclass] = navcalss($value, $paramer[hovclass]);
                    }
                }
                foreach ($menu_name[2] as $key => $value) {
                    if ($value['type'] == '1') {
                        if ($config['sy_seo_rewrite'] == "1" && $value[furl] != '') {
                            $menu_name[2][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                        } else {
                            $menu_name[2][$key][url] = $config[sy_weburl] . "/" . $value[url];
                        }
                        $menu_name[2][$key][navclass] = navcalss($value, $paramer[hovclass]);
                    }
                }
                $isCurrentFind = false;
                foreach ($menu_name[4] as $key => $value) {
                    if ($value['type'] == '1' && $value[furl] != '') {
                        if ($config['sy_seo_rewrite'] == "1") {
                            $menu_name[4][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                        } else {
                            $menu_name[4][$key][url] = $config[sy_weburl] . "/" . $value[url];
                        }
                    }
                    if ($isCurrentFind == false) {
                        $menu_name[4][$key][navclass] = navcalss($value, $paramer[hovclass]);
                    }
                    if ($menu_name[4][$key][navclass]) {
                        $isCurrentFind = true;
                    }
                }
                foreach ($menu_name[5] as $key => $value) {
                    if ($value['type'] == '1') {
                        if ($config['sy_seo_rewrite'] == "1" && $value[furl] != '') {
                            $menu_name[5][$key][url] = $config[sy_weburl] . "/" . $value[furl];
                        } else {
                            $menu_name[5][$key][url] = $config[sy_weburl] . "/" . $value[url];
                        }
                        $menu_name[5][$key][navclass] = navcalss($value, $paramer[hovclass]);
                    }
                }
            }
            if ($paramer[nid]) {
                $Navlist = $menu_name[$paramer[nid]];
            } else {
                $Navlist = $menu_name[1];
            }
            $Navlist = $Navlist;
            if (!is_array($Navlist) && !is_object($Navlist)) {
                settype($Navlist, 'array');
            }
            foreach ($Navlist as $_smarty_tpl->tpl_vars['nalist']->key => $_smarty_tpl->tpl_vars['nalist']->value) {
                $_smarty_tpl->tpl_vars['nalist']->_loop = true;
                ?>
      <li class="<?php 
                echo $_smarty_tpl->tpl_vars['nalist']->value['navclass'];
                ?>
"><a href="<?php 
                echo $_smarty_tpl->tpl_vars['nalist']->value['url'];
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['nalist']->value['name'];
                ?>
</a></li>
      <?php 
            }
            ?>
    </ul>
    <div class="header_fixed_login"> <?php 
            if (!$_smarty_tpl->tpl_vars['cookie']->value['username']) {
                ?>
 
      <div class="header_fixed_login_l" style="display:block"> <a href="<?php 
                echo smarty_function_url(array('m' => 'login'), $_smarty_tpl);
                ?>
" style="color:#fff"><span class="header_fixed_login_dl"  did="login" style="background:none;"> 登录
        </span></a>|<span class="header_fixed_login_dl" did="register"> 注册
        <div class="header_fixed_reg_box" id="register_t" style="display:none"> <a href="<?php 
                echo smarty_function_url(array('m' => 'register', 'usertype' => 1), $_smarty_tpl);
                ?>
" class="header_fixed_login_a">个人注册</a> <a href="<?php 
                echo smarty_function_url(array('m' => 'register', 'usertype' => 2), $_smarty_tpl);
                ?>
" class="header_fixed_login_a">企业注册</a> </div>
        </span> </div>
      <?php 
            } else {
                ?>
      <div class="header_fixed_login_after">
        <div class="header_fixed_login_after_cont"> <span class="header_fixed_login_after_name"><?php 
                echo $_smarty_tpl->tpl_vars['cookie']->value['username'];
                ?>
</span>
          <div class="header_fixed_reg_box header_fixed_reg_box_ye"  style="display:none"> <a href="<?php 
                echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];
                ?>
/member/index.php" class="header_fixed_login_a">进入会员中心</a> <a href="javascript:void(0)" onclick="logout('<?php 
                echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];
                ?>
/index.php?c=logout')" class="header_fixed_login_a">退出登录</a> </div>
        </div>
      </div>
      <?php 
            }
            ?>
 </div>
       <div class="header_fixed_close"><a href="javascript:;" onclick="$('#header_fix').remove();">关闭</a></div>
  </div>
 
</div>
<?php 
            echo '<script';
            ?>
 language="javascript">
$(function() {
	var offset = 150;
    $(window).scroll(function(){
	( $(this).scrollTop() > offset ) ? $("#header_fix").show() : $("#header_fix").hide();
    });
	
	$(".header_fixed_login_dl").hover(function(){
	    var t=$(this).attr("did");
		$("#"+t+"_t").show();
	},function(){
	    var t=$(this).attr("did");
	   $("#"+t+"_t").hide();    
	});
});
<?php 
            echo '</script';
            ?>
> 
<!--滚动展示内容 end--> 
<?php 
        }
    }