<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>AuroFx Admin</title>
    <link href="https://fonts.googleapis.com/css?family=Lato:300,400,700" rel="stylesheet">
    <link rel="icon" href="<?php echo base_url();?>newadminassets/img/favicon.ico">
    <link rel="stylesheet" href="<?php echo base_url();?>newadminassets/plugins/css/bootstrap.min.css">
    <link rel="stylesheet" href="<?php echo base_url();?>newadminassets/plugins/css/font-awesome.min.css">
    <link rel="stylesheet" href="<?php echo base_url();?>newadminassets/plugins/css/animate.css">
    <link rel="stylesheet" href="<?php echo base_url();?>newadminassets/css/outlay.css">
    
    <link rel="stylesheet" href="<?php echo base_url();?>newadminassets/css/colors/blue.css">
   <script src="<?php echo base_url();?>newadminassets/plugins/js/jquery-3.1.1.min.js"></script>
    <script src="<?php echo base_url();?>newadminassets/plugins/js/bootstrap.js"></script>
    <style type="text/css">
    .skins {
        position: fixed;
        top: 190px;
        left: -120px;
        transition: .3s ease-in-out;
        z-index: 1000;
    }
    
    .skins:hover {
        left: 0;
    }
    
    .skin-colors {
        list-style: none;
        padding: 20px;
        margin: 0;
        background-color: #fff;
        width: 120px;
        border: 1px solid #e7e7e7;
    }
    
    .skin-colors li {
        position: relative;
        display: inline-block;
        width: 32px;
        height: 32px;
        cursor: pointer;
        margin: -3px;
        line-height: 0;
        transition: .3s ease-in-out;
    }
    
    .skin-colors li:hover {
        opacity: .7;
    }
    
    .skin-colors li.active::before {
        content: "\f00c";
        font-family: FontAwesome;
        font-size: 20px;
        width: 32px;
        line-height: 32px;
        text-align: center;
        position: absolute;
        color: #fff;
    }
    
    .skin-toggler {
        position: absolute;
        display: inline-block;
        width: 50px;
        height: 50px;
        right: -49px;
        top: 0;
        background-color: #fff;
        font-size: 30px;
        text-align: center;
        line-height: 50px;
        color: #888;
        border: 1px solid #e7e7e7;
        border-left: 0;
    }
    

    </style>
</head>

<body class="hold-transition sidebar-mini">
    <!-- Preloader
    <div id="preloader">
        <div class="spinner"></div>
    </div> -->
    <div class="wrapper">
        <!-- Main Header -->
        <header class="main-header">
            <!-- Logo -->
            <a href="<?php echo base_url();?>admin" class="logo">
                <!-- mini logo for sidebar mini 50x50 pixels -->
                <span class="logo-mini"><b>AURO</b></span>
                <!-- logo for regular state and mobile devices -->
                <span class="logo-lg"><b>AUROFX MARKET </b></span>
            </a>
            <!-- Header Navbar -->
            <nav class="navbar navbar-fixed-top">
                <!-- Sidebar toggle button-->
                <a href="#" class="sidebar-toggle waves-effect" data-toggle="offcanvas" role="button">
                    <span class="sr-only">Toggle navigation</span>
                </a>
                <!-- Navbar Right Menu -->
                <div class="navbar-custom-menu">
                    <ul class="nav navbar-nav" data-dropdown-in="flipInY" data-dropdown-out="fadeOut">
                        
                        <li>
                            <a class="nav-link toggle-fullscreen" href="#">
                                <i class="fa fa-arrows-alt"></i>
                            </a>
                        </li>
                        <!-- Notifications Menu -->
                        
                        <!-- User Account Menu -->
                        <li class="dropdown user user-menu">
                            <!-- Menu Toggle Button -->
                            <a href="#" class="dropdown-toggle waves-effect" data-toggle="dropdown">
                                <!-- hidden-xs hides the username on small devices so only the image appears. -->
                                <span class="hidden-xs">
								<?php echo "Admin";?></span>
                                <!-- The user image in the navbar-->
                                <img src="<?php echo base_url();?>newadminassets/img/avatars/avatar7.png" class="user-image" alt="User Image">
                            </a>
                            <ul class="dropdown-menu">
                              
                                <li>
                                    <a href="<?php echo base_url();?>admin/logout"><i class="fa fa-fw fa-power-off"></i> Log Out</a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
                <div class="collapse navbar-search-overlap" id="site_navbar_search">
                    <form role="search">
                        <div class="form-group">
                            <div class="input-search">
                                <div class="input-group">
                                    <input type="text" id="overlay_search" name="overlay-search" class="form-control" placeholder="Search">
                                    <span class="input-group-addon">
                                    <a  href="javascript:void(0)" class="close-input-overlay waves-effect" data-target="#site_navbar_search" data-toggle="collapse" aria-label="Close" aria-expanded="true"><i class="fa fa-times"></i></a>
                                    </span>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </nav>
        </header>
        <!-- Left side column. contains the logo and sidebar -->
        <aside class="main-sidebar sidebar-light">
            <!-- sidebar -->
            <div class="sidebar">
                <!-- Sidebar user panel (optional) -->
                <div class="user-panel">
                    <div class="image waves-effect">
           <img src="<?php echo base_url();?>newadminassets/img/avatars/avatar7.png" class="img-circle img-responsive " alt="User Image">
                    </div>
                    <div class="text-center info">
                        <strong>Admin</strong>
                       
                    </div>
                </div>
                <!-- Sidebar Menu -->
                <ul class="sidebar-menu">
                    <li class="header">Navigation</li>
            <li class="active">
                <a href="<?php echo base_url();?>admin" class="waves-effect"><i class="fa fa-bar-chart"></i> <span>Dashboard</span></a>
            </li>
            <li>
                <a href="<?php echo base_url().'admin/users';?>" class="waves-effect"><i class="fa fa-users"></i> <span>Users</span></a>
            </li>
            <?php if($this->session->userdata("type")=="admin"){?>
            <!--<li>
                <a href="<?php // echo base_url();?>admin/subadmins" class="waves-effect"><i class="fa fa-users"></i> <span>Subadmins</span></a>
            </li>-->
            <?php }?>
            <!--<li class="">
                <a href="<?php echo base_url();?>admin/exit_positions" class="waves-effect"><i class="fa fa-list"></i> <span>Exit Positions</span></a>
            </li>-->
            <li class="treeview">
         <a href="#"><i class="fa fa-stack-exchange"></i> <span>Manage Deposites</span> <i class="fa fa-angle-right pull-right"></i></a>
                <ul class="treeview-menu menu-open" style="display:block;">
                    <li><a href='<?php echo base_url();?>admin/deposites/Pending'>New/Pending Deposites</a></li>
                    <li><a href='<?php echo base_url();?>admin/deposites/Reject'>Rejected</a></li>
                    <li><a href='<?php echo base_url();?>admin/deposites/Approved'>Approved</a></li>
                    <li><a href="<?php echo base_url();?>admin/loans">Loans</a></li>

                </ul>
            </li>
            <li class="treeview">
         <a href="#"><i class="fa fa-stack-exchange"></i> <span>Manage WithDrawls</span> <i class="fa fa-angle-right pull-right"></i></a>
                <ul class="treeview-menu menu-open" style="display:block;">
                    <li><a href='<?php echo base_url();?>admin/withdrawls/Pending'>New/Pending WithDrawls</a></li>
                    <li><a href='<?php echo base_url();?>admin/withdrawls/Reject'>Rejected</a></li>
                    <li><a href='<?php echo base_url();?>admin/withdrawls/Approved'>Approved</a></li>
                </ul>
            </li>
            <li>
                <a href="<?php echo base_url();?>admin/ContactEnquiries" class="waves-effect"><i class="fa fa-envelope"></i> <span>Enquiries</span></a>
            </li>
            <li>
                <a href="<?php echo base_url();?>admin/notifications" class="waves-effect"><i class="fa fa-bell"></i> <span>Notifications</span></a>
            </li>
           <!--  <li>
                <a href="<?php //echo base_url();?>admin/bonus" class="waves-effect"><i class="fa fa-usd"></i> <span>Bonus</span></a>
            </li>
          
                    <li class="treeview">
                        <a href="#"><i class="fa fa-suitcase"></i> <span>Expenses/Credits</span> <i class="fa fa-angle-right pull-right"></i></a>
                        <ul class="treeview-menu"> <?php //if($this->session->userdata("user")=="admin"){?>
                            <li><a href='<?php //echo base_url();?>admin/manage_expense_fields'>Manage Fields</a></li><?php //}?>
                    <li><a href='<?php //echo base_url();?>admin/manage_expenses/<?php //echo date("Y-m-d");?>'>Add New Expense/Credit</a></li>
    <!-- <li><a href='<?php //echo base_url();?>admin/manage_expenses/<?php //echo date("Y-m-d");?>'>All Expenses/Credits</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="<?php //echo base_url();?>admin/DailyExpense"><i class="fa fa-calendar-o"></i> <span>EveryDay Total</span> <span class="label label-success pull-right">14</span></a>
                    </li>-->
                   
                </ul>
                <!-- /.sidebar-menu -->
            </div>
            <!-- /.sidebar -->
        </aside>