ok

Mini Shell

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

<?php 
session_start();
include 'api/config/config.php';
include_once('api/config/custom-functions.php');;
$fn = new custom_functions();

if(isset($_SESSION['y1_jobs'])){
    $session_id = $_SESSION['y1_jobs'];
    $session_user_type = $_SESSION['y1_jobs_1'];
}
if(isset($_SESSION['y1_organization'])){
    $session_id = $_SESSION['y1_organization']['id'];
}

if(!isset($_SESSION['y1_jobs']) && !isset($_SESSION['y1_organization'])) {
	header('location: index.php');
	exit;
}



// if(!isset($_SESSION['y1_jobs']) || $_SESSION['y1_organization']) {
// 	header('location: index.php');
// 	exit;
// }

$site_name = "Y1 Jobs";
?>


<!doctype html> 
<html lang="en" class="color-sidebar sidebarcolor4">
   <!--bootsrap link open-->
        <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">
        
    <!--bootsrap link close -->
<head>
	<!-- Required meta tags -->
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<!--favicon-->
	<link rel="icon" href="https://y1jobportal.in/images/logo/y1-logo-with-slogan.png" type="image/png" />
	<!--plugins-->
	<link href="assets/plugins/vectormap/jquery-jvectormap-2.0.2.css" rel="stylesheet"/>
	<link href="assets/plugins/simplebar/css/simplebar.css" rel="stylesheet" />
	<link href="assets/plugins/perfect-scrollbar/css/perfect-scrollbar.css" rel="stylesheet" />
	<link href="assets/plugins/bs-stepper/css/bs-stepper.css" rel="stylesheet" />
	<link href="assets/plugins/metismenu/css/metisMenu.min.css" rel="stylesheet"/>
	<link href="assets/plugins/input-tags/css/tagsinput.css" rel="stylesheet" />
		<script src="assets/js/jquery.min.js"></script>
	<link href="assets/plugins/datatable/css/dataTables.bootstrap5.min.css" rel="stylesheet" />
	<link rel="stylesheet" href="assets/plugins/notifications/css/lobibox.min.css" />
	<!-- loader-->
	<link href="assets/css/pace.min.css" rel="stylesheet"/>
	<script src="assets/js/pace.min.js"></script>
	<!-- Bootstrap CSS -->
	<link href="assets/css/bootstrap.min.css" rel="stylesheet">
	<link href="assets/css/bootstrap-extended.css" rel="stylesheet">
	<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&amp;display=swap" rel="stylesheet">
	<link href="assets/css/app.css" rel="stylesheet">
	<link href="assets/css/icons.css" rel="stylesheet">
	<!-- Theme Style CSS -->
	<link rel="stylesheet" href="assets/css/dark-theme.css"/>
	<link rel="stylesheet" href="assets/css/semi-dark.css"/>
	<link rel="stylesheet" href="assets/css/header-colors.css"/>
	
	
	<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
	<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"/>
	
	<title><?=$site_name?></title>
</head>
<style>
    .bx-arrow-back:before {
    content: "\e917";
    color: black;
    font-weight: bolder;
}
</style>
<body>
	<!--wrapper-->
	<div class="wrapper ">
		<!--sidebar wrapper -->
		<div class="sidebar-wrapper" data-simplebar="true" >
			<div class="sidebar-header" style="background: white;">

			    		
				<div>
					<img src="https://y1jobportal.in/images/logo/y1-logo-with-slogan.png" style="width:55px;" alt="logo icon">
				</div>
				<div>
					<h4 class="logo-text"><b style="color:#f99631;font-size: 12px;">Y1</b><b style="color:#f99631;font-size: 12px;">JOBS</b></h4>
				</div>
				<div class="toggle-icon ms-auto"><i class='bx bx-arrow-back'></i>
				</div>
			 </div>
			<!--navigation-->
			
			<?php if (isset($_SESSION['y1_jobs']) && $_SESSION['y1_jobs']['role_json'] != 2) { ?>

			
			<ul class="metismenu" id="menu">
				<li>
					<a href="home.php">
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/icons/home-button.png" width="30" alt="">
						</div>
						<div class="menu-title">Home</div>
					</a>
				</li>
			<!--	<li>
					<a href="dashboard.php">
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/icons/web-analytics.png" width="30" alt="">
						</div>
						<div class="menu-title">Dashboard</div>
					</a>
				</li>-->
				<li>
					<a href="state.php" >
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/icons/client.png" width="30" alt="">
						</div>
						<div class="menu-title">State</div>
					</a>
				</li>
			    <li>
					<a href="district.php" >
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/icons/client.png" width="30" alt="">
						</div>
						<div class="menu-title">District</div>
					</a>
				</li>
				<li>
					<a href="category.php" >
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/icons/client.png" width="30" alt="">
						</div>
						<div class="menu-title">Category</div>
					</a>
				</li>
				<li>
					<a href="sub-category.php" >
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/icons/client.png" width="30" alt="">
						</div>
						<div class="menu-title">Subcategory</div>
					</a>
				</li>
				
				<li>
					<a href="job_recruitment.php" >
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/icons/client.png" width="30" alt="">
						</div>
						<div class="menu-title">Job Recruitment</div>
					</a>
				</li>
				
				<li>
					<a href="job_assign.php" >
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/icons/client.png" width="30" alt="">
						</div>
						<div class="menu-title">Job Assign</div>
					</a>
				</li>
				
				<li>
					<a href="clients.php" >
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/icons/client.png" width="30" alt="">
						</div>
						<div class="menu-title">Clients</div>
					</a>
				</li>
			
				<li>
					<a href="customers.php">
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/header_logo/people.png" width="30" alt="">
						</div>
						<div class="menu-title">Employees</div>
					</a>
				</li>
				<li>
					<a href="executive.php">
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/header_logo/people.png" width="30" alt="">
						</div>
						<div class="menu-title">Executives</div>
					</a>
				</li>
				<li>
					<a href="subscription.php">
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/header_logo/people.png" width="30" alt="">
						</div>
						<div class="menu-title">Subsciption</div>
					</a>
				</li>
				
			    <li>
					<a href="email.php">
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/header_logo/people.png" width="30" alt="">
						</div>
						<div class="menu-title">Website Enquiry</div>
					</a>
				</li>
				
				<li>
					<a href="slider.php">
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/header_logo/people.png" width="30" alt="">
						</div>
						<div class="menu-title">Slider</div>
					</a>
				</li>
				
			    <li>
					<a href="location.php">
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/header_logo/people.png" width="30" alt="">
						</div>
						<div class="menu-title">Locations</div>
					</a>
				</li>
			
				<li>
					<a >
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/icons/settings.png" width="30" alt="">
						</div>
						<div class="menu-title">Settings</div>
					</a>
				</li>
			
				
			</ul>
			
			<?php } ?>
			
			
			<?php if(isset($_SESSION['y1_organization'])){ ?>
			
			<ul class="metismenu" id="menu">
				<li>
					<a href="home.php">
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/icons/home-button.png" width="30" alt="">
						</div>
						<div class="menu-title">Home</div>
					</a>
				</li>
	
				<li>
					<a href="job_recruitment.php" >
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/icons/client.png" width="30" alt="">
						</div>
						<div class="menu-title">Job Recruitment</div>
					</a>
				</li>
				<li>
					<a href="student_list.php" >
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/icons/client.png" width="30" alt="">
						</div>
						<div class="menu-title">Employee Lists</div>
					</a>
				</li>
			

				
			
				
			</ul>
			
			<?php } ?>
			<?php if ( $_SESSION['y1_jobs']['role_json'] == 2) { ?>
			<ul class="metismenu" id="menu" >
			    
				<li>
					<a href="home.php">
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/icons/home-button.png" width="30" alt="">
						</div>
						<div class="menu-title">Home</div>
					</a>
				</li>
								<li>
					<a href="job_recruitment.php" >
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/icons/client.png" width="30" alt="">
						</div>
						<div class="menu-title">Job Recruitment</div>
					</a>
				</li>
				
				<li>
					<a href="job_assign.php" >
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/icons/client.png" width="30" alt="">
						</div>
						<div class="menu-title">Job Assign</div>
					</a>
				</li>
				
				<li>
					<a href="clients.php" >
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/icons/client.png" width="30" alt="">
						</div>
						<div class="menu-title">Clients</div>
					</a>
				</li>
				<li>
					<a href="customers.php">
						<div class="parent-icon"><img class="sidebar-img" src="assets/images/header_logo/people.png" width="30" alt="">
						</div>
						<div class="menu-title">Employees</div>
					</a>
				</li>
			
			
			</ul>
			
			
			<?php  } ?>
			
			
			

			
			
			
			
			<!--end navigation-->
		</div>
		<!--end sidebar wrapper -->
		<!--start header -->
		<header>
			<div class="topbar d-flex align-items-center">
				<nav class="navbar navbar-expand gap-3">

					<div class="mobile-toggle-menu"><i class='bx bx-menu'></i>
					</div>

		
					  <div class="top-menu ms-auto">
						<ul class="navbar-nav align-items-center gap-1">
							<li class="nav-item mobile-search-icon d-flex d-lg-none" data-bs-toggle="modal" data-bs-target="#SearchModal">
								<a class="nav-link" href="avascript:;"><i class='bx bx-search'></i>
								</a>
							</li>
							<!--<li class="nav-item dark-mode d-none d-sm-flex">
								<a class="nav-link dark-mode-icon" href="javascript:;"><i class='bx bx-moon'></i>
								</a>
							</li>-->

							<li class="nav-item dropdown dropdown-app" hidden>
								<a class="nav-link dropdown-toggle dropdown-toggle-nocaret" data-bs-toggle="dropdown" href="javascript:;"><i class='bx bx-grid-alt'></i></a>
								<div class="dropdown-menu dropdown-menu-end p-0">
									<div class="app-container p-1 my-2">
									  <div class="row gx-0 gy-2 row-cols-12 justify-content-center p-2">
										 <div class="col">
										  <a href="orders.php">
											<div class="app-box text-center">
											  <div class="app-icon">
												  <img src="assets/images/icons/shopping-bag.png" width="30" alt="">
											  </div>
											  <div class="app-name">
												  <p class="mb-0 mt-1">Orders</p>
											  </div>
											  </div>
											</a>
										 </div>
										 <div class="col">
										  <a href="javascript:;">
											<div class="app-box text-center">
											  <div class="app-icon">
												  <img src="assets/images/header_logo/calculator.png" width="30" alt="">
											  </div>
											  <div class="app-name">
												  <p class="mb-0 mt-1">Rate Calculator</p>
											  </div>
											  </div>
										  </a>
										 </div>
										 <div class="col">
										  <a href="javascript:;">
											<div class="app-box text-center">
											  <div class="app-icon">
												<img src="assets/images/header_logo/tracking.png" width="30" alt="">
											  </div>
											  <div class="app-name">
												  <p class="mb-0 mt-1">Order Tracking</p>
											  </div>
											  </div>
											</a>
										 </div>
										 <div class="col">
										  <a href="javascript:;">
											<div class="app-box text-center">
											  <div class="app-icon">
												  <img src="assets/images/header_logo/delivery-service.png" width="30" alt="">
											  </div>
											  <div class="app-name">
												  <p class="mb-0 mt-1">Courier</p>
											  </div>
											  </div>
											</a>
										 </div>
										 
				
									  </div><!--end row-->
				
									</div>
								</div>
							</li>


							<li class="nav-item dropdown dropdown-large" hidden>
								<a class="nav-link dropdown-toggle dropdown-toggle-nocaret position-relative" href="#" data-bs-toggle="dropdown">
								    <span class="alert-count">0</span>
									<i class='bx bx-bell'></i>
								</a>
								<div class="dropdown-menu dropdown-menu-end">
									<a href="javascript:;">
										<div class="msg-header">
											<p class="msg-header-title">Notifications</p>
											<p class="msg-header-badge">1 New</p>
										</div>
									</a>
									<div class="header-notifications-list">
										<a class="dropdown-item" href="javascript:;">
											<div class="d-flex align-items-center">
												<div class="user-online">
													<img src="assets/images/avatars/avatar-1.png" class="msg-avatar" alt="user avatar">
												</div>
												<div class="flex-grow-1">
													<h6 class="msg-name">Daisy Anderson<span class="msg-time float-end">5 sec
												ago</span></h6>
													<p class="msg-info">The standard chunk of lorem</p>
												</div>
											</div>
										</a>
										<a class="dropdown-item" href="javascript:;">
											<div class="d-flex align-items-center">
												<div class="notify bg-light-danger text-danger">dc
												</div>
												<div class="flex-grow-1">
													<h6 class="msg-name">New Orders <span class="msg-time float-end">2 min
												ago</span></h6>
													<p class="msg-info">You have recived new orders</p>
												</div>
											</div>
										</a>
									
										
									</div>
									<a href="javascript:;">
										<div class="text-center msg-footer">
											<button class="btn btn-primary w-100">View All Notifications</button>
										</div>
									</a>
								</div>
							</li>
							<li class="nav-item dropdown dropdown-large" hidden>
								<a class="nav-link dropdown-toggle dropdown-toggle-nocaret position-relative" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
								     <span class="alert-count">0</span>
									<i class='bx bx-shopping-bag'></i>
								</a>
								<div class="dropdown-menu dropdown-menu-end">
									<a href="javascript:;">
										<div class="msg-header">
											<p class="msg-header-title">Carrier Log Details</p>
											<p class="msg-header-badge">0</p>
										</div>
									</a>
									<div class="header-message-list">
										
								</div>
							</li>
						</ul>
					</div>
					<div class="user-box dropdown px-3">
						<a class="d-flex align-items-center nav-link dropdown-toggle gap-3 dropdown-toggle-nocaret" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
							<img src="https://y1jobportal.in/images/logo/y1-logo-with-slogan.png" class="user-img" alt="user avatar">
							<div class="user-info">
								<p class="user-name mb-0"><?=$_SESSION['y1_jobs']['firstname'].' '.$_SESSION['y1_jobs']['lastname']?></p>
								<p class="designattion mb-0"></p>
							</div>
						</a>
						<ul class="dropdown-menu dropdown-menu-end">
							<li><a class="dropdown-item d-flex align-items-center" href="javascript:;"><i class="bx bx-user fs-5"></i><span>Profile</span></a>
							</li>
							<li><a class="dropdown-item d-flex align-items-center" href="javascript:;"><i class="bx bx-cog fs-5"></i><span>Settings</span></a>
							</li>
							<li><a class="dropdown-item d-flex align-items-center" href="javascript:;"><i class="bx bx-home-circle fs-5"></i><span>Dashboard</span></a>
							</li>
							<li><a class="dropdown-item d-flex align-items-center" href="javascript:;"><i class="bx bx-dollar-circle fs-5"></i><span>Earnings</span></a>
							</li>
							<li><a class="dropdown-item d-flex align-items-center" href="javascript:;"><i class="bx bx-download fs-5"></i><span>Downloads</span></a>
							</li>
							<li>
								<div class="dropdown-divider mb-0"></div>
							</li>
							<li><a class="dropdown-item d-flex align-items-center" href="logout.php"><i class="bx bx-log-out-circle"></i><span>Logout</span></a>
							</li>
						</ul>
					</div>
				</nav>
			</div>
		</header>
		<!--end header -->
		
<style>
    .app_theme{
        color:#f99631
    }
</style>	





Zerion Mini Shell 1.0