2023-02-07 13:11:26 +00:00
|
|
|
<?php
|
|
|
|
$dateYear=$this->session->userdata('dateYear');
|
|
|
|
$dataId=$this->session->userdata('dataId');
|
|
|
|
?>
|
2023-01-10 09:41:20 +00:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html lang="en">
|
2023-01-24 10:05:16 +00:00
|
|
|
<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 -->
|
2023-02-07 13:11:26 +00:00
|
|
|
<a class="logo-holder" href="<?=base_url();?>"><img src="<?=base_url();?>images/hlogo.png" alt=""><?=$dateYear.'---'.$dataId;?></a>
|
2023-01-24 10:05:16 +00:00
|
|
|
<!-- 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">
|
2023-02-07 13:11:26 +00:00
|
|
|
<input class="hidden" type="hidden" data-session="<?=$dateYear;?>" data-hid="<?=$dataId;?>"/>
|
2023-01-24 10:05:16 +00:00
|
|
|
<nav>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<?php
|
|
|
|
if(isset($lastId)&& $lastId->num_rows()>0)
|
|
|
|
{
|
|
|
|
$view=$lastId->row();
|
|
|
|
|
|
|
|
$id=$view->id;
|
2023-02-07 13:11:26 +00:00
|
|
|
$dName=$view->name;
|
|
|
|
$dYear=$view->year;
|
|
|
|
if($dateYear==""){$new=$dName.' - '.$dYear;}else{$new=$dateYear;}
|
2023-01-24 10:05:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
2023-02-07 13:11:26 +00:00
|
|
|
<a class="setValue" data-defaltId="<?=$id;?>" data-defaltName="<?=$dName;?>" data-defaltYear="<?=$dYear;?>"><?=$new;?></a>
|
|
|
|
|
2023-01-24 10:05:16 +00:00
|
|
|
<!--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;
|
|
|
|
|
2023-02-07 13:11:26 +00:00
|
|
|
?> <li id="<?=$id;?>"><a class="semesterEvent" data-name="<?=$name;?>" data-year="<?=$year;?>" data-id="<?=$id;?>" href="javascript:"><?=$name." - ".$year?></a></li><?php
|
2023-01-24 10:05:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</ul>
|
|
|
|
<!--second level end-->
|
|
|
|
</li>
|
|
|
|
<li id="showDepartment">
|
2023-01-25 12:47:55 +00:00
|
|
|
<!--<a href="about.html" >Department</a>
|
2023-01-24 10:05:16 +00:00
|
|
|
<ul>
|
|
|
|
<?php
|
|
|
|
if(isset($dep) && $dep->num_rows()>0)
|
|
|
|
{
|
|
|
|
foreach($dep->result() as $deparment)
|
|
|
|
{
|
2023-01-25 12:47:55 +00:00
|
|
|
?> <li><?=$deparment->code?></li><?php
|
2023-01-24 10:05:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
2023-01-25 12:47:55 +00:00
|
|
|
</ul>-->
|
|
|
|
|
2023-01-24 10:05:16 +00:00
|
|
|
</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">
|
2023-02-07 13:11:26 +00:00
|
|
|
<a class="sb-logo" href="<?=base_url();?>"><img src="<?=base_url();?>images/hlogo.png" alt=""></a>
|
2023-01-24 10:05:16 +00:00
|
|
|
<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>
|
2023-01-10 09:41:20 +00:00
|
|
|
|
2023-01-24 10:05:16 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="fl-wrap sb-menu-footer">
|
|
|
|
© Mcgan's <?=$year = date("Y");?>. All rights reserved.
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|