<?php
ob_start();
session_start();
error_reporting(0);
require_once('../include/dbconnect.php');

if(!isset($_SESSION['admin']))
{
header("Location: login/login.php");
}else{
    $log=$_SESSION['id'];
    $admin=$_SESSION['admin'];		
    $nm=$_SESSION['nm'];		
}
?>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <meta name="description" content="" />
    <meta name="author" content="" />
<link href="../iportal/images/favicon.png" rel="icon" />
    
    <!--[if IE]>
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <![endif]-->
    <title>Admin</title>
    <!-- BOOTSTRAP CORE STYLE  -->
    <link href="assets/css/bootstrap.css" rel="stylesheet" />
    <!-- FONT AWESOME ICONS  -->
    <link href="assets/css/font-awesome.css" rel="stylesheet" />
    <!-- CUSTOM STYLE  -->
    <link href="assets/css/style.css" rel="stylesheet" />
<link rel="stylesheet" href="assets/css/w3.css">
</head>
<body style="background-image:url(assets/img/bg.jpg)">
    <header style="background-color:#001833">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <strong> Newage Union Bank | Admin &nbsp;</strong> |
                    &nbsp;&nbsp;
                    <strong>WELCOME </strong><span style="text-transform: uppercase;"><?php echo $nm; ?></span>
                </div>

            </div>
        </div>
    </header>
    <!-- HEADER END-->
	
    <div class="navbar navbar-inverse set-radius-zero" style="background-color:#fff;">
        <div class="container" >
            <div class="navbar-header" style="height: 120px;">
                <a class="navbar-brand" href="index.html">

                    <img src="https://newageunb.com/images/newage.png" style="width: 250px;"/>
                </a>

            </div>

        </div>
    </div>
	<div style="width:100%;height:132px;top:50px;position:absolute;background-color:rgba(19,37,59,0.1)">
    </div>
		    <section class="menu-section" style="background-color:#001833">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <div class="navbar-collapse  ">
		
                        <ul id="menu-top" class="nav navbar-nav navbar-right">
                            <li><a class="menu-top" href="index.php" id="h" style="background-color:">Dashboard</a></li>
                            <li><a href="client_records.php" id="h">View Client Records</a></li>
                            <li><a href="admins.php" id="h">Manage Admin's</a></li>
                            <li><a href="login/login.php?log=1" id="h">Log Out</a></li>

                        </ul>
                    </div>
                </div>

            </div>
        </div>
    </section>
    <!-- LOGO HEADER END-->