ok

Mini Shell

Direktori : /home2/selectio/public_html/salemgovtitialumni.in/dashboard/admin/
Upload File :
Current File : /home2/selectio/public_html/salemgovtitialumni.in/dashboard/admin/header.php

<?php
ob_start();
session_start();
include("inc/config.php");
include("inc/functions.php");
include("inc/CSRF_Protect.php");
$csrf = new CSRF_Protect();
$error_message = '';
$success_message = '';
$error_message1 = '';
$success_message1 = '';

// Check if the user is logged in or not
if(!isset($_SESSION['user'])) {
	header('location: login.php');
	exit;
}

$session_id = $_SESSION['user']['id'];
?>

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>Admin Panel</title>

	<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">

	<link rel="stylesheet" href="css/bootstrap.min.css">
	<link rel="stylesheet" href="css/font-awesome.min.css">
	<link rel="stylesheet" href="css/ionicons.min.css">
	<link rel="stylesheet" href="css/datepicker3.css">
	<link rel="stylesheet" href="css/all.css">
	<link rel="stylesheet" href="css/select2.min.css">
	<link rel="stylesheet" href="css/dataTables.bootstrap.css">
	<link rel="stylesheet" href="css/jquery.fancybox.css">
	<link rel="stylesheet" href="css/AdminLTE.min.css">
	<link rel="stylesheet" href="css/_all-skins.min.css">
	<link rel="stylesheet" href="css/on-off-switch.css"/>
	<link rel="stylesheet" href="css/summernote.css">
	<link rel="stylesheet" href="style.css">

</head>

<body class="hold-transition fixed skin-blue sidebar-mini">

	<div class="wrapper">

		<header class="main-header">

			<a href="index.php" class="logo">
				<span class="logo-lg">SGIAA</span>
			</a>

			<nav class="navbar navbar-static-top">
				
				<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
					<span class="sr-only">Toggle navigation</span>
				</a>

				<span style="float:left;line-height:50px;color:#fff;padding-left:15px;font-size:18px;">Admin Panel</span>

				<div class="navbar-custom-menu">
					<ul class="nav navbar-nav">
						<li class="dropdown user user-menu">
							<a href="#" class="dropdown-toggle" data-toggle="dropdown">
								<img src="../assets/uploads/<?php echo $_SESSION['user']['photo']; ?>" class="user-image" alt="User Image">
								<span class="hidden-xs"><?php echo $_SESSION['user']['full_name']; ?></span>
							</a>
							<ul class="dropdown-menu">
								<li class="user-footer">
									<div>
										<a href="profile-edit.php" class="btn btn-default btn-flat">Edit Profile</a>
									</div>
									<div>
										<a href="logout.php" class="btn btn-default btn-flat">Log out</a>
									</div>
								</li>
							</ul>
						</li>
					</ul>
				</div>

			</nav>
		</header>

  		<?php $cur_page = substr($_SERVER["SCRIPT_NAME"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1); ?>

  		<aside class="main-sidebar">
    		<section class="sidebar">
      
      			<ul class="sidebar-menu">




			        <li class="treeview <?php if($cur_page == 'index.php') {echo 'active';} ?>">
			          <a href="index.php">
			            <i class="fa fa-hand-o-right"></i> <span>Dashboard</span>
			          </a>
			        </li>

					
			        

			        <li class="treeview <?php if( ($cur_page == 'slider.php') ) {echo 'active';} ?>">
			          <a href="slider.php">
			            <i class="fa fa-hand-o-right"></i> <span>Slider</span>
			          </a>
			        </li>

			        
			        
			        <li class="treeview <?php if( ($cur_page == 'event.php') ) {echo 'active';} ?>">
			          <a href="event.php">
			            <i class="fa fa-hand-o-right"></i> <span>Sponsors & Donars</span>
			          </a>
			        </li>
			        
			        <li class="treeview <?php if( ($cur_page == 'donation.php') ) {echo 'active';} ?>">
			          <a href="donation.php">
			            <i class="fa fa-hand-o-right"></i> <span>Donation </span>
			          </a>
			        </li>
			        
			        
			        
			        <!-- Reports Starts Here -->
			        <li class="treeview <?php if($cur_page == 'trainee-add.php' || $cur_page == 'alumini-reports-lists.php' ) {echo 'active';} ?>">
						<a href="#">
							<i class="fa fa-hand-o-right"></i>
							<span> Alumni Reports</span>
							<span class="pull-right-container">
								<i class="fa fa-angle-left pull-right"></i>
							</span>
						</a>
						<ul class="treeview-menu">
							<li><a href="alumini-reports-lists.php?code=1"><i class="fa fa-circle-o"></i> Achievements</a></li>
							<li><a href="alumini-reports-lists.php?code=2"><i class="fa fa-circle-o"></i> Annual Statements</a></li>
							<li><a href="alumini-reports-lists.php?code=3"><i class="fa fa-circle-o"></i> Trainee corner</a></li>
							<li><a href="alumini-reports-lists.php?code=4"><i class="fa fa-circle-o"></i> Work Details</a></li>
							<li><a href="alumini-reports-lists.php?code=5"><i class="fa fa-circle-o"></i> Auditor Report</a></li>
						</ul>
					</li>
			        <!-- Reports Endsss Here -->
			        
			        
			        
			         
			        <li class="treeview <?php if( ($cur_page == 'amount-list.php') ) {echo 'active';} ?>">
			          <a href="amount-list.php">
			            <i class="fa fa-hand-o-right"></i> <span>Membership Amount</span>
			          </a>
			        </li>

			        <li class="treeview <?php if( ($cur_page == 'member.php') ) {echo 'active';} ?>">
			          <a href="member.php">
			            <i class="fa fa-hand-o-right"></i> <span> Alumni Members</span>
			          </a>
			        </li>
			        
			        
			        <li class="treeview <?php if( ($cur_page == 'paid_member.php') ) {echo 'active';} ?>">
			          <a href="paid_member.php">
			            <i class="fa fa-hand-o-right"></i> <span> Paid Members</span>
			          </a>
			        </li>
			        <li class="treeview <?php if( ($cur_page == 'important-links.php') ) {echo 'active';} ?>">
			          <a href="important-links.php">
			            <i class="fa fa-hand-o-right"></i> <span>Important Links</span>
			          </a>
			        </li>
			        <li class="treeview <?php if( ($cur_page == 'photo.php') || ($cur_page == 'video.php') ) {echo 'active';} ?>">
						<a href="#">
							<i class="fa fa-hand-o-right"></i>
							<span>Gallery</span>
							<span class="pull-right-container">
								<i class="fa fa-angle-left pull-right"></i>
							</span>
						</a>
						<ul class="treeview-menu">
							<li><a href="photo.php"><i class="fa fa-circle-o"></i> Photo Gallery</a></li>
						
						</ul>
					</li>
					<li class="treeview <?php if($cur_page == 'history-list.php'){echo 'active';} ?>">
						<a href="#">
							<i class="fa fa-hand-o-right"></i>
							<span>Content</span>
							<span class="pull-right-container">
								<i class="fa fa-angle-left pull-right"></i>
							</span>
						</a>
						<ul class="treeview-menu">
							<li><a href="history-list.php?id=1"><i class="fa fa-circle-o"></i> ITI History </a></li>
							<li><a href="history-list.php?id=2"><i class="fa fa-circle-o"></i>  Vision </a></li>
							<li><a href="history-list.php?id=3"><i class="fa fa-circle-o"></i>  Mission </a></li>
							<li><a href="history-list.php?id=4"><i class="fa fa-circle-o"></i> Alumini History </a></li>
							<li><a href="history-list.php?id=5"><i class="fa fa-circle-o"></i>  About </a></li>
						</ul>
					</li>
      			</ul>
    		</section>
  		</aside>

  		<div class="content-wrapper">

Zerion Mini Shell 1.0