<!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">
<script src="tool/ckeditor/ckeditor.js"></script>
<script src="tool/ckeditor/ckfinder/ckfinder.js"></script>
<script src="tool/ckeditor/config.js"></script>
<script type="text/javascript" src="http://http://www.dehome.net/vms/news.js"></script>
<link href="tool/ckeditor/content.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="?action=admin">俏迅投票管理系统</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>
		  
			<?php if ($_SESSION['roleid'] == "1"): ?>	
				<a href="?action=admin"><i class="icon-home icon-white"></i>后台首页</a></li>
			<li <?php if (strtolower ( $_GET['action'] ) == 'adress'): ?>class="active"<?php endif; ?>><a href="?action=vote"><i class="icon-hand-up icon-white"></i> 投票管理</a></li>	
			<li <?php if (strtolower ( $_GET['action'] ) == 'adress'): ?>class="active"<?php endif; ?>><a href="http://www.dehome.net/vms.html" target="_blank"><i class="icon-hand-up icon-white"></i> 技术问答</a></li>
			<li <?php if (strtolower ( $_GET['action'] ) == 'user&do=editpass'): ?>class="active"<?php endif; ?>><a href="?action=user&do=editpass"><i class="icon-wrench icon-white"></i> 密码修改</a></li>
	         
	        <?php else: ?>
		     
		    <?php endif; ?>	
			<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>