<!DOCTYPE html>
<html lang="en">


<meta http-equiv="content-type" content="text/html;charset=UTF-8" />

<head>
	<!-- Title -->
	<title><?= (isset($title)) ? $title : '' ?></title>
	<!-- Meta -->
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="author" content="AlphaSoftz">

	<meta property="og:image" content="../social-image.png">
	<!-- Mobile Specific -->
	<meta name="viewport" content="width=device-width, initial-scale=1">

	<!-- Favicon icon -->

	<link rel="icon" type="image/png" sizes="16x16" href="<?= base_url('') ?>/assets/images/favicon.png">


	<link href="<?= base_url('') ?>/assets/vendor/wow-master/css/libs/animate.css" rel="stylesheet" type="text/css" />

	<link href="<?= base_url('') ?>/assets/vendor/bootstrap-select-country/css/bootstrap-select-country.min.css" rel="stylesheet" type="text/css" />

	<link href="<?= base_url('') ?>/assets/vendor/jquery-nice-select/css/nice-select.css" rel="stylesheet" type="text/css" />

	<link href="<?= base_url('') ?>/assets/vendor/datepicker/css/bootstrap-datepicker.min.css" rel="stylesheet" type="text/css" />

	<link href="<?= base_url('') ?>/assets/vendor/datatables/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css" />

	<link href="<?= base_url('') ?>/assets/vendor/swiper/css/swiper-bundle.min.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">

	<link href="<?= base_url('') ?>/assets/vendor/bootstrap-select/dist/css/bootstrap-select.min.css" rel="stylesheet" type="text/css" />

	<link href="<?= base_url('') ?>/assets/css/style.css" rel="stylesheet" type="text/css" />
	<link href="<?= base_url('') ?>assets/vendor/jquery-smartwizard/dist/css/smart_wizard.min.css" rel="stylesheet" type="text/css"/>	
    <link href="https://cdn.jsdelivr.net/npm/select2@4.0.13/dist/css/select2.min.css" rel="stylesheet" />

	<!-- script -->
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>


</head>

<body data-layout="horizontal">

	<?php
	$query = $this->db->select('*')
		->from('accadamic_year')
		->where('status', 1)
		->get();

	foreach ($query->result() as $res) {
		$year = $res->year;
	}
	?>

	<div id="main-wrapper" class="wallet-open active">


		<div class="nav-header">
			<a href="index.html" class="brand-logo  mt-2">
				<img src="<?php echo base_url(); ?>assets/images/logo1.png" height="80" class="img-radius" alt="User-Profile-Image">
			</a>

		</div>

		<div class="header">
			<div class="header-content">
				<nav class="navbar navbar-expand">
					<div class="collapse navbar-collapse justify-content-between">
						<div class="header-center">
							<div class="dashboard_bar">

							</div>
						</div>

						<h2 class="d-flex mt-3 text-dark"> <?= isset($year) ? 'Academic Year  ' . $year : '' ?></h2>
						<ul class="navbar-nav header-right">


							<li class="nav-item">
								<div class="dropdown header-profile2">
									<a class="nav-link ms-0" href="javascript:void(0);" role="button" data-bs-toggle="dropdown" aria-expanded="false">
										<div class="header-info2 d-flex align-items-center">
											<div class="d-flex align-items-center sidebar-info">

											</div>
											<i class="material-symbols-outlined">Logout</i>
										</div>
									</a>
									<div class="dropdown-menu dropdown-menu-end pb-0" style="">
										<div class="card mb-0">
											<div class="card-header p-3">
												<ul class="d-flex align-items-center">

													<li class="ms-2">
														<h4 class="mb-0">Name</h4>

													</li>
												</ul>

											</div>

											<div class="card-footer text-center p-3">
												<a href="<?php echo base_url('logout'); ?>" class="dropdown-item ai-icon btn btn-primary light">
													<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="var(--primary)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
														<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path>
														<polyline points="16 17 21 12 16 7"></polyline>
														<line x1="21" y1="12" x2="9" y2="12"></line>
													</svg>
													<span class="ms-2 text-primary">Logout </span>
												</a>



											</div>
										</div>
									</div>
								</div>
							</li>
						</ul>
					</div>
				</nav>
			</div>
		</div>

		<script>
			  $( document ).ready(function() {
    // $('select').select2({
    //     width: '100%'
    // });
});
		</script>


		<?php include('menu.php'); ?>