<!doctype html>

<html class="fixed">

	<head>

		<!-- Basic -->

		<meta charset="UTF-8">

		<title>Subhoj Admin</title>

		<meta name="keywords" content="HTML5 Admin Template" />

		<meta name="description" content="Porto Admin - Responsive HTML5 Template">

		<meta name="author" content="okler.net">

		<!-- Mobile Metas -->

		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />

		<!-- Web Fonts  -->

		<link href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800|Shadows+Into+Light" rel="stylesheet" type="text/css">



		<!-- Vendor CSS -->

		<link rel="stylesheet" href="<?php echo base_url();?>admin_assets/vendor/bootstrap/css/bootstrap.css" />



		<link rel="stylesheet" href="<?php echo base_url();?>admin_assets/vendor/font-awesome/css/font-awesome.css" />

		<link rel="stylesheet" href="<?php echo base_url();?>admin_assets/vendor/magnific-popup/magnific-popup.css" />

		<link rel="stylesheet" href="<?php echo base_url();?>admin_assets/vendor/bootstrap-datepicker/css/datepicker3.css" />



		<!-- Specific Page Vendor CSS -->

		<link rel="stylesheet" href="<?php echo base_url();?>admin_assets/vendor/select2/select2.css" />

		<link rel="stylesheet" href="<?php echo base_url();?>admin_assets/vendor/jquery-datatables-bs3/assets/css/datatables.css" />



		<!-- Theme CSS -->

		<link rel="stylesheet" href="<?php echo base_url();?>admin_assets/stylesheets/theme.css" />



		<!-- Skin CSS -->

		<link rel="stylesheet" href="<?php echo base_url();?>admin_assets/stylesheets/skins/default.css" />



		<!-- Theme Custom CSS -->

		<link rel="stylesheet" href="<?php echo base_url();?>admin_assets/stylesheets/theme-custom.css">



		<!-- Head Libs -->

		<script src="<?php echo base_url();?>admin_assets/vendor/modernizr/modernizr.js"></script>

        <script src="<?php echo base_url();?>admin_assets/vendor/jquery/jquery.js"></script>

	</head>

<script>

$(document).ready(function(){

	$(".wrapper").show();

	$(".loaderdiv").hide();

});

</script>

</script>

	<body>

     <div class="container loaderdiv">

	<style>

	.container {

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;

  -webkit-box-align: center;

      -ms-flex-align: center;

          align-items: center;

  -webkit-box-pack: center;

      -ms-flex-pack: center;

          justify-content: center;

  min-height: 100vh;

  background-color: #ededed;

}



.loader {

  max-width: 15rem;

  width: 100%;

  height: auto;

  stroke-linecap: round;

}



circle {

  fill: none;

  stroke-width: 3.5;

  -webkit-animation-name: preloader;

          animation-name: preloader;

  -webkit-animation-duration: 3s;

          animation-duration: 3s;

  -webkit-animation-iteration-count: infinite;

          animation-iteration-count: infinite;

  -webkit-animation-timing-function: ease-in-out;

          animation-timing-function: ease-in-out;

  -webkit-transform-origin: 170px 170px;

          transform-origin: 170px 170px;

  will-change: transform;

}

circle:nth-of-type(1) {

  stroke-dasharray: 550;

}

circle:nth-of-type(2) {

  stroke-dasharray: 500;

}

circle:nth-of-type(3) {

  stroke-dasharray: 450;

}

circle:nth-of-type(4) {

  stroke-dasharray: 300;

}

circle:nth-of-type(1) {

  -webkit-animation-delay: -0.15s;

          animation-delay: -0.15s;

}

circle:nth-of-type(2) {

  -webkit-animation-delay: -0.3s;

          animation-delay: -0.3s;

}

circle:nth-of-type(3) {

  -webkit-animation-delay: -0.45s;

  -moz-animation-delay:  -0.45s;

          animation-delay: -0.45s;

}

circle:nth-of-type(4) {

  -webkit-animation-delay: -0.6s;

  -moz-animation-delay: -0.6s;

          animation-delay: -0.6s;

}



@-webkit-keyframes preloader {

  50% {

    -webkit-transform: rotate(360deg);

            transform: rotate(360deg);

  }

}



@keyframes preloader {

  50% {

    -webkit-transform: rotate(360deg);

            transform: rotate(360deg);

  }

}



	</style>

	<svg class="loader" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 340 340">

		 <circle cx="170" cy="170" r="160" stroke="#E2007C"/>

		 <circle cx="170" cy="170" r="135" stroke="#404041"/>

		 <circle cx="170" cy="170" r="110" stroke="#E2007C"/>

		 <circle cx="170" cy="170" r="85" stroke="#404041"/>

	</svg>

	

</div>

		<section class="body wrapper" style="display:none;">

			<!-- start: header -->

			<header class="header">

				<div class="logo-container">

					<a href="#" class="logo">

						<img src="<?php echo base_url();?>assets/images/logo.png" height="35" alt="Porto Admin" />

					</a>

					<div class="visible-xs toggle-sidebar-left" data-toggle-class="sidebar-left-opened" data-target="html" data-fire-event="sidebar-left-opened">

						<i class="fa fa-bars" aria-label="Toggle sidebar"></i>

					</div>

				</div>

			

				<!-- start: search & user box -->

				<div class="header-right">

					<span class="separator"></span>

					<div id="userbox" class="userbox">

						<a href="#" data-toggle="dropdown">

							<figure class="profile-picture">

								<img src="<?php echo base_url();?>admin_assets/images/!logged-user.jpg" alt="Joseph Doe" class="img-circle" data-lock-picture="<?php echo base_url();?>admin_assets/images/!logged-user.jpg" />

							</figure>

							<div class="profile-info" data-lock-name="John Doe" data-lock-email="johndoe@okler.com">

								<span class="name"><?php echo $this->session->userdata("loggeduser");?></span>

							</div>

			

							<i class="fa custom-caret"></i>

						</a>

			

						<div class="dropdown-menu">

							<ul class="list-unstyled">

								<li class="divider"></li>

                <li>

                    <a role="menuitem" tabindex="-1" href="#"><i class="fa fa-user"></i> My Profile</a>

                </li>

                <li>

                    <a role="menuitem" tabindex="-1" href="<?php echo base_url();?>admin/logout"><i class="fa fa-power-off"></i> Logout</a>

                </li>

							</ul>

						</div>

					</div>

				</div>

				<!-- end: search & user box -->

			</header>

			<!-- end: header -->



			<div class="inner-wrapper">

				<!-- start: sidebar -->

				<aside id="sidebar-left" class="sidebar-left">

				

					<div class="sidebar-header">

						<div class="sidebar-title">

							Navigation

						</div>

						<div class="sidebar-toggle hidden-xs" data-toggle-class="sidebar-left-collapsed" data-target="html" data-fire-event="sidebar-left-toggle">

							<i class="fa fa-bars" aria-label="Toggle sidebar"></i>

						</div>

					</div>

				

					<div class="nano">

						<div class="nano-content">

							<nav id="menu" class="nav-main" role="navigation">

								<ul class="nav nav-main">

									<li class="nav-active">

										<a href="<?php echo base_url();?>admin">

											<i class="fa fa-home" aria-hidden="true"></i>

											<span>Dashboard</span>

										</a>

									</li>

                                    <!--<li class="nav-active">

										<a href="<?php //echo base_url();?>admin/my_store">

											<i class="fa fa-map-marker" aria-hidden="true"></i>

											<span>My Store</span>

										</a>

									</li>

                                    <li class="nav-active">

										<a href="<?php //echo base_url();?>admin/events">

											<i class="fa fa-calendar-o" aria-hidden="true"></i>

											<span>My Events</span>

										</a>

									</li>-->

                                    <?php if($this->session->userdata("type")=="admin"){?>

									<li>

										<a href="<?php echo base_url();?>admin/brands">

											<i class="fa fa-circle" aria-hidden="true"></i>

											<span>Brands</span>

										</a>

									</li>

                                    <!--<li>

										<a href="<?php //echo base_url();?>admin/vendors">

											<i class="fa fa-users" aria-hidden="true"></i>

											<span>Vendors</span>

										</a>

									</li>

                                    <li>

										<a href="<?php //echo base_url();?>admin/plans">

											<i class="fa fa-list" aria-hidden="true"></i>

											<span>Vendors Plans</span>

										</a>

									</li>-->

									<li class="nav-parent">

										<a>

											<i class="fa fa-align-left" aria-hidden="true"></i>

											<span>Manage Categories</span>

										</a>

										<ul class="nav nav-children">

											<li>

                                                <a href="<?php echo base_url();?>admin/mcategory">

                                                    <span class="menu-text">MainCategory</span>  

                                                </a>

                                            </li> 

                                            <li>

                                                <a href="<?php echo base_url();?>admin/category">

                                                    <span class="menu-text">Category</span>  

                                                </a>

                                            </li>                

                                            <li>

                                                <a href="<?php echo base_url();?>admin/subcategory">

                                                    <span class="menu-text">Subcategory</span>  

                                                </a>

                                            </li>    

										</ul>

									</li>   

                                    <?php }?> 

                                           

                                   <?php if($this->session->userdata("type")=="admin"){?> 

                                   <li class="nav-parent">

										<a>

											<i class="fa fa-shopping-cart" aria-hidden="true"></i>

											<span>Manage Products</span>

										</a>

										<ul class="nav nav-children">

											<li>

                                                <a href="<?php echo base_url();?>admin/add_product">

                                                    <span class="menu-text">Add New Product</span>  

                                                </a>

                                            </li>                

                                            <li>

                                                <a href="<?php echo base_url();?>admin/products">

                                                    <span class="menu-text">List Products</span>  

                                                </a>

                                            </li>    

										</ul>

									</li>   

                                   <li>

										<a href="<?php echo base_url();?>admin/manage_coupons">

											<i class="fa fa-tags" aria-hidden="true"></i>

											<span>Manage Coupons</span>

										</a>

									</li>

                                    <li class="nav-parent">

										<a>

											<i class="fa fa-shopping-cart" aria-hidden="true"></i>

											<span>Users & Orders</span>

										</a>

										<ul class="nav nav-children">

											<li>

                                                <a href="<?php echo base_url();?>admin/Users">

                                                    <span class="menu-text">Users</span>  

                                                </a>

                                            </li>           

                                            <li>

                                                <a href="<?php echo base_url();?>admin/orders">

                                                    <span class="menu-text">Confirm Orders</span>  

                                                </a>

                                            </li>

                                            <li>

                                                <a href="<?php echo base_url();?>admin/other_orders">

                                                    <span class="menu-text">Pending/Cancelled Orders</span>  

                                                </a>

                                            </li>

										</ul>

									</li>

                                    <?php }

									 if($this->session->userdata("type")=="vendor"){?>

                                     <li class="nav-parent">

										<a>

											<i class="fa fa-shopping-cart" aria-hidden="true"></i>

											<span>Manage Products</span>

										</a>

										<ul class="nav nav-children">

											<li>

                                                <a href="<?php echo base_url();?>admin/all_products">

                                                    <span class="menu-text">Add New Product</span>  

                                                </a>

                                            </li>                

                                            <li>

                                                <a href="<?php echo base_url();?>admin/store_products">

                                                    <span class="menu-text">My Store Products</span>  

                                                </a>

                                            </li>    

										</ul>

									</li>   

                                     <li>

										<a href="<?php echo base_url();?>admin/plan_history">

											<i class="fa fa-circle" aria-hidden="true"></i>

											<span>Plan History</span>

										</a>

									</li> 

                                     <li class="nav-parent">

										<a>

											<i class="fa fa-shopping-cart" aria-hidden="true"></i>

											<span>Orders</span>

										</a>

										<ul class="nav nav-children">

                                            <li>

                                                <a href="<?php echo base_url();?>admin/orders">

                                                    <span class="menu-text">Confirm Orders</span>  

                                                </a>

                                            </li>

                                            <li>

                                                <a href="<?php echo base_url();?>admin/other_orders">

                                                    <span class="menu-text">Pending/Cancelled Orders</span>  

                                                </a>

                                            </li>

										</ul>

									</li>

                                     <?php }?>

								</ul>

							</nav>

						</div>

				

					</div>

				

				</aside>

				<!-- end: sidebar -->