<!DOCTYPE html>
<html lang="zh-cn">
<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>HT在线平台</title>
 <!-- <link href="/css/webht/bootstrap.min.css" rel="stylesheet">
  <link href="/css/webht/webht.css?v=1" rel="stylesheet">-->
  <link href="/min?f=/css/webht/bootstrap.min.css,/css/webht/webht.css" rel="stylesheet">
 
  
  
  <!--[if lt IE 9]>
    <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
  <![endif]-->
  <!--
  <script src="/js/jquery.min.js"></script>
  <script src="/js/bootstrap.min.js"></script>
  <script src="/js/webht.js?v=1"></script>
  -->
  <script src="/min?f=/js/jquery.min.js,/js/bootstrap.min.js,/js/webht.js,/js/jquery.suggest.js"></script>
  
  
  <link rel="shortcut icon" href="/css/images/webht.jpg">
</head>
<body>

  <nav class="navbar navbar-inverse navbar-red">
      <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="<?php echo site_url('');?>"><span class="icon-home"></span> 中华游在线</a>
          <a class="navbar-brand visible-xs-block"><?php if(isset($navtitle)) echo $navtitle;?></a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
          <ul class="nav navbar-nav">
            <li><a href="<?php echo site_url('apps/outlook/index/index');?>">Value发送</a></li>
            <li><a href="<?php echo site_url('apps/outlook/index/rank_value');?>">Value排行榜</a></li>
            <li><a href="<?php echo site_url('apps/outlook/index/rank_person');?>">个人排行榜</a></li>
            <li><a href="<?php echo site_url('apps/workflow/index/index');?>">值班记录</a></li>
          </ul>
          <ul class="nav navbar-nav navbar-right">
            <li class="visible-xs-block"><a href="<?php echo site_url('apps/public/login/logout');?>">退出登陆</a></li>
            <li class="dropdown hidden-xs new_dropdown">
              <?php
               $userdata=$this->session->userdata('admin_chtcdn');
               if(!empty($userdata)){ ?>
              <a href="<?php $c_usermail=explode('@', $userdata['whu_email']); echo site_url('apps/outlook/index/space/'.$c_usermail[0]);?>" class="dropdown-toggle"><?php echo $userdata['OPI_Name']; ?> <span class="caret"></span></a>
              <?php }else{ ?>
              <a href="javascript:void(0);" class="dropdown-toggle">账号 <span class="caret"></span></a>
              <?php } ?>
              <ul class="dropdown-menu" role="menu">
                <?php if(isset($c_usermail[0]) && $c_usermail[0]=='CHT67') { ?>
                <li><a href="<?php echo site_url('apps/outlook/index/example_table');?>" id="person-set">榜样录</a></li>
                <?php } ?>
                <?php if (isset($verify_tpl)){ ?>
                <li><a href="javascript:void(0);" id="person-set">设置</a></li>
                <li class="divider"></li>
                <?php } ?>
                <li><a href="<?php echo site_url('login/logout');?>">退出</a></li>
              </ul>
            </li>
          </ul>
        </div><!-- /.navbar-collapse -->
      </div><!-- /.container-fluid -->
    </nav>
        
