<?php $current= $this->uri->segment(2);?>
<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

	<title>Administration</title>
    <meta name="keywords" content="" >
    <meta name="description" content="" >
    <meta name="copyright" content="Open Classifieds 1.8" >
	<meta name="author" content="Open Classifieds">
	<meta name="viewport" content="width=device-width,initial-scale=1">

    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
    <!--[if lt IE 9]>
      <script type="text/javascript" src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>    <![endif]-->

    <link id="css_color" type="text/css" 
    	href="<?php echo base_url();?>assets/css/bootstrap.min.css" 
    	rel="stylesheet" media="screen" />
    	
    <style type="text/css">
      body {
        padding-top: 60px;
        padding-bottom: 40px;
      }
      .sidebar-nav {
        padding: 9px 0;
      }
       .settingsTitle{
      	cursor:pointer;
      }
      .settingsTable{
      	display: none;
      }
    </style>	
	 <script>var base_url="<?php echo base_url();?>";</script>
<script src="<?php echo base_url();?>assets/js/jquery/jquery.js"></script>
	<script type="text/javascript" src="<?php echo base_url();?>assets/js/common.js"></script>

	
	<script type="text/javascript" >
		function setCookie(c_name,value,expiredays){
			var exdate=new Date();
			exdate.setDate(exdate.getDate()+expiredays);
			document.cookie=c_name+ "=" +escape(value)+
			((expiredays==null) ? "" : ";expires="+exdate.toGMTString()+";path=/");
		}
	</script>	
		
  </head>

  <body>
  
	<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container"><a class="brand"
	href="<?php echo base_url();?>admin/">Administration</a>
<div class="nav-collapse">
<ul class="nav">
	<li><a href="<?php echo base_url();?>"><i class="icon-home icon-white"></i> Home</a></li>
		<li>
		<a href="<?php echo base_url();?>admin/listing" title="Listings" ><i class="icon-th-list icon-white"></i> Listings</a>
	</li>
	<li >
		<a href="<?php echo base_url();?>admin/categories" title="Categories" ><i class="icon-tags icon-white"></i> Categories</a>
	</li>
	<!--		<li >
		<a href="<?php echo base_url();?>admin/statistics" title="Site Statistics" ><i class="icon-align-left icon-white"></i></a>
	</li>-->
<li >
		<a href="<?php echo base_url();?>admin/users" title="Settings" ><i class="icon-user icon-white"></i>Users</a>
	</li>
	<li >
		<a href="<?php echo base_url();?>admin/settings" title="Settings" ><i class="icon-cog icon-white"></i>Settings</a>
	</li>

</ul>

<div class="btn-group pull-right">
	<a class="btn btn-success" href="<?php echo base_url();?>admin/logout">
		<i class="icon-off icon-white"></i> Logout	</a>
</div>

</div>
<!--/.nav-collapse --></div>
</div>
</div>    <div class="container">
	    <div class="row">
	    
	    		<!--<div class="span3">
	<div class="well sidebar-nav">
		<ul class="nav nav-list">
			<li class="nav-header">Administration</li>
			<li  <?php echo $current=='listing'? 'class="active"' : '';?> >
				<a href="<?php echo base_url();?>admin/listing" title="Listings" >Listings</a>
			</li>
			<li  <?php echo $current=='categories'? 'class="active"' : '';?>>
				<a href="<?php echo base_url();?>admin/categories" title="Categories" >Categories</a>
			</li>
			<li  <?php echo $current=='locations'? 'class="active"' : '';?>>
				<a href="<?php echo base_url();?>admin/locations" title="Locations" >Locations</a>
			</li>
			<li  <?php echo $current=='users'? 'class="active"' : '';?>>
				<a href="<?php echo base_url();?>admin/users" title="Users" >Users</a>
			</li>
			
			<li class="nav-header">Settings</li>
			<li  <?php echo $current=='settings'? 'class="active"' : '';?>>
				<a href="<?php echo base_url();?>admin/settings" title="Settings" >Settings</a>
			</li>
			<!--<li  <?php echo $current=='statistics'? 'class="active"' : '';?>>
				<a href="<?php echo base_url();?>admin/statistics" title="Site Statistics" >Site Statistics</a>
			</li>
			<li   <?php echo $current=='optimize'? 'class="active"' : '';?>>
				<a href="<?php echo base_url();?>admin/optimize" >Tools to Optimize</a>
			</li>
            <li <?php echo $current=='backup'? 'class="active"' : '';?> >
            	<a href="<?php echo base_url();?>admin/backup">Backup</a>
            </li>
            <li <?php echo $current=='sitemap'? 'class="active"' : '';?>>
				<a href="<?php echo base_url();?>admin/sitemap">Sitemap</a>
			</li>
			
						
					</ul>
				
			</div>
	<!--/.well >
</div -->
