<?php  
// header('location:../users');
 require_once '../php/admin.php';
//  require_once '../php/c.php';
//require_once '../../php/checker2.php'; require_once '../php/c.php';




?>


<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
				<script src="../../assets/plugins/jquery/jquery.min.js"></script>
    <script src="assets/js/jquery-1.10.2.js"></script>
 
      <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Upgrade Code</title>
	<!-- BOOTSTRAP STYLES-->
    <link href="assets/css/bootstrap.css" rel="stylesheet" />
     <!-- FONTAWESOME STYLES-->
    <link href="assets/css/font-awesome.css" rel="stylesheet" />
     <!-- MORRIS CHART STYLES-->
   
        <!-- CUSTOM STYLES-->
    <link href="assets/css/custom.css" rel="stylesheet" />
     <!-- GOOGLE FONTS-->
   <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
     <!-- TABLE STYLES-->
    <link href="assets/js/dataTables/dataTables.bootstrap.css" rel="stylesheet" />
	
	<script> <?php echo $maro; ?> </script>
</head>
<body>
    <div id="wrapper">
        <nav class="navbar navbar-default navbar-cls-top " role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="index.html">Binary admin</a> 
            </div>
  <div style="color: white;
padding: 15px 50px 5px 50px;
float: right;
font-size: 16px;"> Date : <?php echo date('d M Y',time()); ?> &nbsp; <a href="../logout/" class="btn btn-danger square-btn-adjust">Logout</a> </div>
        </nav>   
           <!-- /. NAV TOP  -->
                <nav class="navbar-default navbar-side" role="navigation">
            <div class="sidebar-collapse">
                <ul class="nav" id="main-menu">
				<li class="text-center">
                    <img src="assets/img/find_user.png" class="user-image img-responsive"/>
					</li>
				
					
                    <li >
							<a  class=""   href="../users/index.php"><i class="fa fa-user"></i> Users</a>
						</li>
						<li class="">
							<a href="../withdraw/index.php"><i class=" icon-wallet"></i> Withdraws</a>
						</li>
						<li class=" ">
							<a href="../deposit/index.php"><i class=" icon-wallet"></i> Deposits</a>
						</li>
						<li class=" ">
							<a  class="" href="../notice/index.php"><i class=" icon-wallet"></i>Notifications</a>
						</li>
						<li  class="active-menu active ">
							<a href="../upcode/index.php"><i class="fa fa-cog"></i> Code</a>
						</li>
						<li  class="">
							<a class=" "  href="../balan/index.php"><i class="fa fa-cog"></i> Set Balance</a>
						</li>
						
						
						<li class=" ">
							<a href="../settings/index.php"><i class="fa fa-cog"></i> Settings</a>
						</li>
                        </ul>
                      </li>  
                  
                </ul>
               
            </div>
            
        </nav>  
        <!-- /. NAV SIDE  -->
        <div id="page-wrapper" >
            <div id="page-inner">
                <div class="row">
                    <div class="col-md-12">
                     <h2>Codes</h2>   
                        <h5>Welcome , Love to see you back. </h5>
                       
                    </div>
                </div>
                 <!-- /. ROW  -->
                 <hr />
			
	<?php if($_SESSION['success']){ ?>			<div class="alert alert-success">
  <strong>Success!</strong> <?php echo ucfirst($_SESSION['success']); ?>.
</div>

<?php unset($_SESSION['success']); } ?>				 


            <div class="row">
                <div class="col-md-12">
                    <!-- Advanced Tables -->
                    <div class="panel panel-default">
                        <div class="panel-heading">
                             Codes
                        </div>
                        <div class="panel-body">
                            <div class="table-responsive">
                                <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                    <thead>
                                        <tr>
                                            <th>id</th>
                                            <th>Firstname</th>
                                            <th>Lastname</th>
                                            <th>Email</th>
                                            <th>VAT</th>
                                            <th>COT</th>
                                            <th>IMF</th>
                                           	<th  style="text-align:center;"  >Actions</th>
											
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php 
										codes4();
										?>
                                        
                                        
                                    </tbody>
                                </table>
                            </div>
                            
                        </div>
                    </div>
                    <!--End Advanced Tables -->
                </div>
            </div>
                <br>

                <br>
				
             <!-- /. PAGE INNER  -->
            </div>
			
			
			
         <!-- /. PAGE WRAPPER  -->
     <!-- /. WRAPPER  -->
    <!-- SCRIPTS -AT THE BOTOM TO REDUCE THE LOAD TIME-->
    <!-- JQUERY SCRIPTS -->
	<script src="../../assets/plugins/jquery/jquery.min.js"></script>
    <script src="assets/js/jquery-1.10.2.js"></script>
      <!-- BOOTSTRAP SCRIPTS -->
    <script src="assets/js/bootstrap.min.js"></script>
    <!-- METISMENU SCRIPTS -->
    <script src="assets/js/jquery.metisMenu.js"></script>
     <!-- DATA TABLE SCRIPTS -->
    <script src="assets/js/dataTables/jquery.dataTables.js"></script>
    <script src="assets/js/dataTables/dataTables.bootstrap.js"></script>
        <script>
            $(document).ready(function () {
                $('#dataTables-example').dataTable();
            });
			 
			
    </script>
	<?php   if(isset($maro)){echo $maro;}  ?>
         <!-- CUSTOM SCRIPTS -->
    <script src="assets/js/custom.js"></script>
    
   
</body>
</html>
