f2a40c268b
1. Have to test and deploy in server. 2. add faculty detail into employee table and student detail into employee table, 3. Change Teaching Assistant into multiple select 4. User Profile
126 lines
3.8 KiB
PHP
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=""><?=$dateYear.'---'.$dataId;?></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" 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">
|
|
© Mcgan's <?=$year = date("Y");?>. All rights reserved.
|
|
</div>
|
|
</div>
|
|
</div>
|