<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><?php echo $webname; ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="Description" content="<?php if(isset($description)){echo $description; } ?>">
<meta name="keywords" content="<?php if(isset($keywords)){echo $keywords; } ?>">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Loading Bootstrap -->
<link href="<?php echo base_url('public/css/bootstrap.css'); ?>" rel="stylesheet">
<link href="<?php echo base_url('public/css/responsive.css'); ?>" rel="stylesheet">

<link href="<?php echo base_url('public/font/css/font-awesome.min.css'); ?>" rel="stylesheet">
<link href="<?php echo base_url('public/msg/css/messenger.css'); ?>" rel="stylesheet">
<link href="<?php echo base_url('public/msg/css/messenger-theme-ice.css'); ?>" rel="stylesheet">


<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="<?php echo base_url('public/css/bootstrap-ie6.css'); ?>">
<![endif]-->
<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" href="<?php echo base_url('public/css/ie.css'); ?>">
<![endif]-->
<link href="<?php echo base_url('public/css/system.css'); ?>" rel="stylesheet">
<!--<link rel="shortcut icon" href="images/favicon.ico">-->
<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
<script src="<?php echo base_url('public/js/html5shiv.js'); ?>"></script>
<![endif]-->
<script src="<?php echo base_url('public/js/jquery-1.7.2.min.js'); ?>"></script>
<script src="<?php echo base_url('public/msg/js/messenger.js'); ?>"></script>
<script src="<?php echo base_url('public/msg/js/messenger-theme-future.js'); ?>"></script>
<script src="<?php echo base_url('public/js/bootstrap.js'); ?>"></script>
<script src="<?php echo base_url('public/js/bootstrap-alert.js'); ?>"></script>
<script src="<?php echo base_url('public/js/bootstrap-collapse.js'); ?>"></script>
<script src="<?php echo base_url('public/js/emailsystem.js'); ?>"></script>
<script>
	$(function(){
		$(".collapse").collapse()
	});
	
</script>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
	<div class="navbar-inner">
		<div class="container">
			<a  style="margin:0;" class="brand" data-placement="bottom" rel="tooltip" href="<?php echo base_url('index.php/emailsystem/loginout'); ?>" data-original-title="Logout">Logout</a>
			<div class="nav-collapse collapse">
				<ul class="nav">
					<li <?php if($css=="email"){echo 'class="active"';} ?>><a data-toggle="collapse" data-target=".nav-collapse" href="<?php echo base_url('index.php/emailsystem/email/'); ?>" ><i class="icon-envelope icon-white"></i> 邮件管理</a></li>
					<!--<li><a data-toggle="collapse" data-target=".nav-collapse" href="javascript:void(0);" ><i class="icon-briefcase icon-white"></i> 邮件归档</a></li>-->
					<li <?php if($css=="group"){echo 'class="active"';} ?>><a data-toggle="collapse" data-target=".nav-collapse" href="<?php echo base_url('index.php/emailsystem/group/'); ?>"><i class="icon-th-large icon-white"></i> 用户分组</a></li>
					<li <?php if($css=="users"){echo 'class="active"';} ?>><a data-toggle="collapse" data-target=".nav-collapse" href="<?php echo base_url('index.php?c=emailsystem&m=users'); ?>"><i class="icon-user icon-white"></i> 管理用户</a></li>
					<li><a data-toggle="collapse" data-target=".nav-collapse" href="./about.html"><i class="icon-cog icon-white"></i> 系统工具</a></li>
					<li <?php if($css=="setting"){echo 'class="active"';} ?>><a data-toggle="collapse" data-target=".nav-collapse" href="<?php echo base_url('index.php/emailsystem/settingGen/'); ?>"><i class="icon-wrench icon-white"></i>系统设置</a></li>
					<li><a data-toggle="collapse" data-target=".nav-collapse" target="_blank" href="documentation/"><span class="label label-info"><i class="icon-question-sign icon-white"></i>帮助</span></a></li>
				</ul>
			</div>
	  </div>
	</div>
</div>





