<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>中华游在线</title>
    <link href="/css/webht/bootstrap.min.css" rel="stylesheet">
    <link href="/css/nav/nav.css?v=20200316" rel="stylesheet">
    <link href="/css/webht/jquery-ui-1.10.0.custom.css" rel="stylesheet">
    <script src="http://www.mycht.cn/min?f=/js/jquery.js,/js/bootstrap.min.js,/js/navigation.js,/js/jquery.form.min.js"></script>
    <script src="http://www.mycht.cn/js/jquery-ui.min.js?v=1"></script>
<!--[if lt IE 9]>
<script src="/js/respond.min.js" type="text/javascript"></script>
<![endif]-->

</head>
<body id="userforapp" style="<?php if($this->session->userdata('isapp')) echo 'padding-bottom:30px;'; ?>">
<nav class="navbar navbar-inverses" style="margin-bottom:0;border-bottom:1px solid #ddd;">
  <div class="container-fluid search_container nopadding">
    <div class="navbar-header" style="float:none;">
      <?php if(!$this->session->userdata('isapp')){ ?>

      <a class="navbar-brand text-muted" style="padding-top: 7px;padding-left: 30px;" href="<?php echo site_url('index/index'); ?>">
          <img width="150" style="height:40px;" src="/css/nav/img/6000.png">
      </a>
      <?php } ?>
      <?php if (isset($c_action) && $c_action=='search') { ?>
      <form class="navbar-form navbar-left nopadding new-navbar hidden-xs" method="post" action="<?php echo site_url('index/search'); ?>">
          <div class="input-group" style="width:800px;">
            <input type="text" class="form-control search-input" name="q" value="<?php if(isset($q)) echo $q; ?>" placeholder="联系人、文档、网站">
            <span class="input-group-btn">
              <button class="btn btn-info search-btn" type="submit">搜 索</button>
            </span>
          </div>
      </form>
      <?php } ?>
      <ul class="nav navbar-nav navbar-right pull-right" style="margin:7.5px 0;">
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><?php $userdata=$this->session->userdata('admin_chtcdn'); echo $userdata['OPI_Name']; ?> <span class="caret"></span></a>
          <ul class="dropdown-menu" role="menu">
            <li><a href="<?php echo site_url('login/logout'); ?>">退出</a></li>
          </ul>
        </li>
      </ul>
    </div>
    <div class="collapses navbar-collapses pull-right" id="bs-example-navbar-collapse-1">


    </div>
  </div>
</nav>
