<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><?php echo $this->_var['cfg']['webtitle']; ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link href="<?php echo $this->_var['cfg']['website']; ?>/css/bootstrap.css" rel="stylesheet">
<link href="<?php echo $this->_var['cfg']['website']; ?>/css/bootstrap-responsive.css" rel="stylesheet">
<link href="<?php echo $this->_var['cfg']['website']; ?>/css/datepicker.css" rel="stylesheet">
<link href="<?php echo $this->_var['cfg']['website']; ?>/css/common.css" rel="stylesheet">
<style type="text/css">
.sidebar-nav {padding: 9px 0;}
</style>

<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>

<body>


<div class="navbar navbar-inverse navbar-fixed-top">
  <div class="navbar-inner">
	<div class="container-fluid">
	  <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
		<span class="icon-bar"></span>
		<span class="icon-bar"></span>
		<span class="icon-bar"></span>
	  </a>
	  <a class="brand" href="<?php echo $this->_var['cfg']['website']; ?>">企业通讯录管理系统2.0</a>
	  <div class="nav-collapse collapse">
		<p class="navbar-text pull-right">
		  <a href="index.php?action=user&do=editpass" ><i class="icon-user icon-white" ></i> <?php echo $_SESSION['username']; ?></a>
		</p>
		<ul class="nav">
		  <li><a href="<?php echo $this->_var['cfg']['website']; ?>"><i class="icon-home icon-white"></i> HOME</a></li>
		  
		  
		  <li <?php if (strtolower ( $_GET['action'] ) == 'adress'): ?>class="active"<?php endif; ?>><a href="?action=address"><i class="icon-book icon-white"></i> 通讯录管理</a></li>
			
			
			<?php if ($_SESSION['roleid'] == "1"): ?>	
		
			<li <?php if (strtolower ( $_GET['action'] ) == 'adress'): ?>class="active"<?php endif; ?>><a href="?action=user"><i class="icon-user icon-white"></i> 用户管理</a></li>
			
	        <?php else: ?>
		     
		    <?php endif; ?>	
			
			
			<li <?php if (strtolower ( $_GET['action'] ) == 'adress'): ?>class="active"<?php endif; ?>><a href="?action=user&do=editpass"><i class="icon-wrench icon-white"></i> 密码修改</a></li>
		  
		  <li><a href="?action=user&do=logout"><i class="icon-off icon-white"></i> 退出</a></li>
		  
		  
		</ul>
	  </div>
	</div>
  </div>
</div>



<div class="container-fluid">
  <div class="row-fluid">
  <div class="span12 hidden-phone" style="padding-top:40px;"></div>