File: /var/www/santabrigade/santab-admin/header.php
<html>
<head>
<!-- Title -->
<title>Santa Brigade | Admin Dashboard</title>
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<meta charset="UTF-8">
<meta name="description" content="Admin Dashboard" />
<meta name="keywords" content="admin,dashboard" />
<meta name="author" content="Steelcoders" />
<link rel="icon" type="image/png" sizes="32x32" href="/wp-content/themes/santabrigade/images/favicon-32x32.png">
<!-- Styles -->
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,600' rel='stylesheet' type='text/css'>
<link href="assets/plugins/pace-master/themes/blue/pace-theme-flash.css" rel="stylesheet"/>
<link href="assets/plugins/uniform/css/uniform.default.min.css" rel="stylesheet"/>
<link href="assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="assets/plugins/fontawesome/css/font-awesome.css" rel="stylesheet" type="text/css"/>
<link href="assets/plugins/line-icons/simple-line-icons.css" rel="stylesheet" type="text/css"/>
<link href="assets/plugins/offcanvasmenueffects/css/menu_cornerbox.css" rel="stylesheet" type="text/css"/>
<link href="assets/plugins/waves/waves.min.css" rel="stylesheet" type="text/css"/>
<link href="assets/plugins/switchery/switchery.min.css" rel="stylesheet" type="text/css"/>
<link href="assets/plugins/3d-bold-navigation/css/style.css" rel="stylesheet" type="text/css"/>
<link href="assets/plugins/slidepushmenus/css/component.css" rel="stylesheet" type="text/css"/>
<link href="assets/plugins/nestable/nestable.css" rel="stylesheet" type="text/css" />
<link href="assets/plugins/weather-icons-master/css/weather-icons.min.css" rel="stylesheet" type="text/css"/>
<link href="assets/plugins/metrojs/MetroJs.min.css" rel="stylesheet" type="text/css"/>
<link href="assets/plugins/toastr/toastr.min.css" rel="stylesheet" type="text/css"/>
<!-- Theme Styles -->
<link href="assets/css/modern.css" rel="stylesheet" type="text/css"/>
<link href="assets/css/themes/white.css" class="theme-color" rel="stylesheet" type="text/css"/>
<link href="assets/css/custom.css" rel="stylesheet" type="text/css"/>
<script src="assets/plugins/3d-bold-navigation/js/modernizr.js"></script>
<script src="assets/plugins/offcanvasmenueffects/js/snap.svg-min.js"></script>
<!-- HTML5 shim and Respond.js for 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.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script src="assets/plugins/jquery/jquery-2.1.3.min.js"></script>
</head>
<?php
error_reporting(E_ALL);
ini_set('display_errors', 'ON');
include_once('../wp-config.php');
session_start();
date_default_timezone_set('Asia/Calcutta');
$curDateTime = date('Y-m-d H:i:s');
global $wpdb;
$adminId = $_SESSION['ADMN-ID'];
if($adminId==''){
$errorMsg="not able to login";
$_SESSION["errMsg"]= $errorMsg;
header("location:/santab-admin/");
exit();
} else {
$getUData = $wpdb->get_row("select admin_id, name, username, status from `wp_sb_admin_users` where status='1' and admin_id='$adminId'");
if($getUData->admin_id!=''){
$uname = $getUData->name;
} else {
$errorMsg="You are not authorised user";
$_SESSION["errMsg"]= $errorMsg;
header("location:/santab-admin/");
exit();
}
}
?>
<style>
#toast-container{
display:none;
}
</style>
<body class="page-header-fixed">
<div class="overlay"></div>
<nav class="cbp-spmenu cbp-spmenu-vertical cbp-spmenu-right" id="cbp-spmenu-s1">
<h3><span class="pull-left">Enquiry</span><a href="javascript:void(0);" class="pull-right" id="closeRight"><i class="fa fa-times"></i></a></h3>
<div class="slimscroll">
jhfkjf
</div>
</nav>
<nav class="cbp-spmenu cbp-spmenu-vertical cbp-spmenu-right" id="cbp-spmenu-s2">
<h3><span class="pull-left">Sandra Smith</span> <a href="javascript:void(0);" class="pull-right" id="closeRight2"><i class="fa fa-angle-right"></i></a></h3>
<div class="chat-write">
<form class="form-horizontal" action="javascript:void(0);">
<input type="text" class="form-control" placeholder="Say something">
</form>
</div>
</nav>
<main class="page-content content-wrap">
<?php include_once('topheader.php'); ?>
<?php include_once('sidebar.php'); ?>