<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Admin | Channellimo</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Bootstrap 3.3.5 -->
    <link rel="stylesheet" href="<?php echo base_url("assets/css/bootstrap.css");?>">
    <!-- Font Awesome -->
     <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
    <!--<link rel="stylesheet" href="<?php //echo base_url("assets/css/font-awesome.min.css");?>">-->
    <!-- Ionicons -->

    <!-- Theme style -->
    <link rel="stylesheet" href="<?php echo base_url("assets/css/AdminLTE.min.css");?>">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="<?php echo base_url("assets/css/_all-skins.min.css");?>">
    <link rel="stylesheet" href="<?php echo base_url("assets/plugins/datatables/dataTables.bootstrap.css");?>">
    <link rel="stylesheet" type="text/css" href="<?php echo base_url("assets/plugins/fancybox/jquery.fancybox.css");?>" />
	<link rel="stylesheet" href="<?php echo base_url("assets/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css");?>">
    <style>
     .error
	 {
		color:red;			  
	 }
    </style>
    <script src="<?php echo base_url("assets/js/jquery-1.11.0.min.js");?>"></script>
    
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
 <body class="hold-transition skin-blue sidebar-mini">
    <div class="wrapper">

      <header class="main-header">
        <!-- Logo -->
        <a href="<?php echo site_url("admin/home");?>" class="logo">
          <!-- mini logo for sidebar mini 50x50 pixels -->
          <span class="logo-mini"><b>A</b>LT</span>
          <!-- logo for regular state and mobile devices -->
          <span class="logo-lg"><b>Admin</b> Page</span>
        </a>
        <!-- Header Navbar: style can be found in header.less -->
        <nav class="navbar navbar-static-top" role="navigation">
          <!-- Sidebar toggle button-->
          <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
          <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
              <!-- User Account: style can be found in dropdown.less -->
              <li class="dropdown user user-menu">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                  <img src="<?php echo base_url("assets/img/avatar5.png");?>" class="user-image" alt="User Image">
                  <span class="hidden-xs"><?php echo $this->session->userdata('userName');?></span>
                </a>
                <ul class="dropdown-menu">
                  <!-- User image -->
                  <li class="user-header">
                    <img src="<?php echo base_url("assets/img/avatar5.png");?>" class="img-circle" alt="User Image">

                    <p>
                    <?php echo $this->session->userdata('userName');?>
                    </p>
                  </li>
                  <!-- Menu Body -->
                  <!-- Menu Footer-->
                  <li class="user-footer">
                    <div class="pull-left">
                      <a href="<?php echo site_url("admin/user/profile");?>" class="btn btn-default btn-flat">Profile</a>
                    </div>
                    <div class="pull-right">
                      <a href="<?php echo site_url("authentication/logout");?>" class="btn btn-default btn-flat">Sign out</a>
                    </div>
                  </li>
                </ul>
              </li>
            </ul>
          </div>
        </nav>
      </header>
      <!-- Left side column. contains the logo and sidebar -->
      <aside class="main-sidebar">
        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">
          <!-- Sidebar user panel -->
          <div class="user-panel">
            <div class="pull-left image">
              <img src="<?php echo base_url("assets/img/avatar5.png");?>" class="img-circle" alt="User Image">
            </div>
            <div class="pull-left info">
              <p>Administrator</p>
              <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
            </div>
          </div>
          <!-- search form -->
          <form action="#" method="get" class="sidebar-form">
            <div class="input-group">
              <input type="text" name="q" class="form-control" placeholder="Search...">
              <span class="input-group-btn">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i></button>
              </span>
            </div>
          </form>
          <!-- /.search form -->
          <!-- sidebar menu: : style can be found in sidebar.less -->
          <ul class="sidebar-menu">
            <li class="header">MAIN NAVIGATION</li>
            <li class="<?php echo ($activeTab=="home")?"active":""; ?>">
              <a href="<?php echo site_url("admin/home");?>">
                <i class="fa fa-dashboard"></i> <span>Dashboard</span> 
              </a>  
            </li>

            <li class="<?php echo ($activeTab=="services")?"active":""; ?>">
              <a href="<?php echo site_url("admin/services");?>">
                <i class="fa fa-magic"></i> <span>Services</span> 
              </a> 
            </li>
            
            <li class="<?php echo ($activeTab=="location")?"active":""; ?>">
              <a href="<?php echo site_url("admin/location");?>">
                <i class="fa fa-location-arrow"></i> <span>Location</span> 
              </a> 
            </li>
            
            <li class="<?php echo ($activeTab=="routes")?"active":""; ?>">
              <a href="<?php echo site_url("admin/routes");?>">
                <i class="fa fa-map"></i> <span>Routes</span> 
              </a> 
            </li>
            
            <li class="<?php echo ($activeTab=="price")?"active":""; ?>">
              <a href="<?php echo site_url("admin/price");?>">
                <i class="fa fa-money"></i> <span>Price</span> 
              </a> 
            </li>
            
            <li class="<?php echo ($activeTab=="peaktime")?"active":""; ?>">
              <a href="<?php echo site_url("admin/peaktime");?>">
                <i class="fa fa-hourglass-o"></i> <span>Over Time</span> 
              </a> 
            </li>
            
            <li class="treeview">
            	<a href="#">
                    <i class="fa fa-car"></i>
                    <span>Car Management</span>
                    <i class="fa fa-angle-left pull-right"></i>
                </a>
              	<ul class="treeview-menu">
                	 <li class="<?php echo ($activeTab=="type")?"active":""; ?>">
                      <a href="<?php echo site_url("admin/type");?>">
                        <i class="fa fa-tags"></i> <span>Type</span> 
                      </a> 
                    </li>
                    
                     <li class="<?php echo ($activeTab=="brand")?"active":""; ?>">
                      <a href="<?php echo site_url("admin/brand");?>">
                        <i class="fa fa-folder-o"></i> <span>Brand</span> 
                      </a> 
                    </li>
                    
                    <li class="<?php echo ($activeTab=="car")?"active":""; ?>">
                      <a href="<?php echo site_url("admin/car");?>">
                        <i class="fa fa-car"></i> <span>Car</span> 
                      </a> 
                    </li>
                    
                    <li class="<?php echo ($activeTab=="images")?"active":""; ?>">
                      <a href="<?php echo site_url("admin/images");?>">
                        <i class="fa fa-image"></i> <span>Images</span> 
                      </a> 
                    </li>
                    
                    <li class="<?php echo ($activeTab=="component")?"active":""; ?>">
                      <a href="<?php echo site_url("admin/component");?>">
                        <i class="fa fa-edit"></i> <span>Component</span> 
                      </a> 
                    </li>
                    
                </ul>
             </li>

             <li class="treeview">
             	<a href="#">
                    <i class="fa fa-files-o"></i>
                    <span>Distination</span>
                    <i class="fa fa-angle-left pull-right"></i>
                </a>
              	<ul class="treeview-menu">
                 	 <li class="<?php echo ($activeTab=="category")?"active":""; ?>">
                      <a href="<?php echo site_url("admin/category");?>">
                        <i class="fa fa-archive"></i> <span>Category</span> 
                      </a> 
                     </li>
                     
                     <li class="<?php echo ($activeTab=="post")?"active":""; ?>">
                      <a href="<?php echo site_url("admin/post");?>">
                        <i class="fa fa-anchor"></i> <span>Post</span> 
                      </a> 
                     </li>
                </ul>
             </li>
             
             <li class="treeview">
             	<a href="#">
                    <i class="fa fa-user"></i>
                    <span>Management</span>
                    <i class="fa fa-angle-left pull-right"></i>
                </a>
                <ul class="treeview-menu">
                  <li class="<?php echo ($activeTab=="management")?"active":""; ?>">
                    <a href="<?php echo site_url("admin/management");?>">
                       <i class="fa fa-user-plus"></i> <span>User</span> 
                    </a>  
                  </li>
                </ul>
             </li>
             
             <li class="<?php echo ($activeTab=="chat")?"active":""; ?>">
              <a href="<?php echo site_url("admin/chat/html");?>">
                <i class="fa fa-users"></i> <span>Chat</span> 
              </a> 
             </li>
             
            <li class="<?php echo ($activeTab=="booking")?"active":""; ?>">
              <a href="<?php echo site_url("admin/booking_list");?>">
                <i class="fa fa-envelope-o"></i> <span>Booking List</span> 
              </a> 
            </li>

          </ul>
        </section>
        <!-- /.sidebar -->
      </aside>