McGansWebsite/application/views/include/header.php
dotwingssoftware 98681548c9 20230208
Filter Option
2023-02-08 17:40:25 +05:30

126 lines
3.8 KiB
PHP

<?php
$dateYear=$this->session->userdata('dateYear');
$dataId=$this->session->userdata('dataId');
?>
<!DOCTYPE HTML>
<html lang="en">
<head>
<!--=============== basic ===============-->
<meta charset="UTF-8">
<title>Mcgans</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="robots" content="index, follow"/>
<meta name="keywords" content=""/>
<meta name="description" content=""/>
<!--=============== css ===============-->
<link type="text/css" rel="stylesheet" href="<?=base_url();?>css/reset.css">
<link type="text/css" rel="stylesheet" href="<?=base_url();?>css/plugins.css">
<link type="text/css" rel="stylesheet" href="<?=base_url();?>css/style.css">
<link type="text/css" rel="stylesheet" href="<?=base_url();?>css/yourstyle.css">
<link type="text/css" rel="stylesheet" href="<?=base_url();?>css/shop.css">
<!--=============== favicons ===============-->
<link rel="shortcut icon" href="<?=base_url();?>images/icon.jpg">
</head>
<body data-path="<?=base_url();?>">
<!-- loader -->
<div class="loader">
<div id="movingBallG">
<div class="movingBallLineG"></div>
<div id="movingBallG_1" class="movingBallG"></div>
</div>
</div>
<!-- loader end -->
<!--================= Main ================-->
<div id="main">
<!--================= wrapper ================-->
<!--================= header ================-->
<header class="main-header">
<!-- logo -->
<a class="logo-holder" href="<?=base_url();?>"><img src="<?=base_url();?>images/hlogo.png" alt=""></a>
<!-- logo end -->
<!-- navigation -->
<div class="sb-menu-button-wrap">
<div class="sb-menu-button vis-m"><span></span><span></span><span></span></div>
</div>
<div class="nav-holder">
<input class="hidden" id="hiddenSession" type="hidden" data-session="<?=$dateYear;?>" data-hid="<?=$dataId;?>"/>
<nav>
<ul>
<li>
<?php
if(isset($lastId)&& $lastId->num_rows()>0)
{
$view=$lastId->row();
$id=$view->id;
$dName=$view->name;
$dYear=$view->year;
if($dateYear==""){$new=$dName.' - '.$dYear;}else{$new=$dateYear;}
}
?>
<a class="setValue" data-defaltId="<?=$id;?>" data-defaltName="<?=$dName;?>" data-defaltYear="<?=$dYear;?>"><?=$new;?></a>
<!--second level end-->
<ul>
<?php
if(isset($semester) && $semester->num_rows()>0)
{
foreach($semester->result() as $list)
{
$id=$list->id;
$name=$list->name;
$year=$list->year;
?> <li id="<?=$id;?>"><a class="semesterEvent" data-name="<?=$name;?>" data-year="<?=$year;?>" data-id="<?=$id;?>" href="javascript:"><?=$name." - ".$year?></a></li><?php
}
}
?>
</ul>
<!--second level end-->
</li>
<li id="showDepartment">
<!--<a href="about.html" >Department</a>
<ul>
<?php
if(isset($dep) && $dep->num_rows()>0)
{
foreach($dep->result() as $deparment)
{
?> <li><?=$deparment->code?></li><?php
}
}
?>
</ul>-->
</li>
<li></li>
</ul>
</nav>
</div>
<!-- navigation end -->
<!-- search button end -->
</header>
<!-- header end -->
<div class="sb-overlay"></div>
<div class="sidebar-menu fl-wrap">
<div class="hid-men-wrap">
<a class="sb-logo" href="<?=base_url();?>"><img src="<?=base_url();?>images/hlogo.png" alt=""></a>
<div class="clearfix"></div>
<div id="hid-men2" class="menusb">
<ul class="menu">
<li><a href="<?=base_url();?>about" class="ajax">About</a></li>
<li><a href="<?=base_url();?>contact" class="ajax">Contact</a></li>
</ul>
</div>
<div class="fl-wrap sb-menu-footer">
&#169; Mcgan's <?=$year = date("Y");?>. All rights reserved.
</div>
</div>
</div>