File: //proc/thread-self/cwd/counselor/header.php
<html>
<head>
<!-- Title -->
<title>Selfanalyse | 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/x-icon" href="<?php echo '/wp-content/themes/academy/images/IconSP.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
include_once('../wp-config.php');
session_start();
date_default_timezone_set('Asia/Calcutta');
$curDateTime = date('Y-m-d H:i:s');
$siteUrl = get_site_url().'/counselor/';
global $wpdb;
$PSY_COUNSELORS = $wpdb->prefix . PSY_COUNSELORS;
if(isset($_SESSION['COUN-ID'])){
$checkUser = $wpdb->get_row("select counselor_id, username, counselor_name from $PSY_COUNSELORS where counselor_id='".$_SESSION['COUN-ID']."' and counselor_admin='1'");
if($checkUser->counselor_id!=''){
$uname = $checkUser->counselor_name;
} else {
wp_redirect($siteUrl);
exit();
}
} else {
wp_redirect($siteUrl);
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'); ?>