This repository has been archived by the owner on Dec 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
calendar.php
36 lines (35 loc) · 1.46 KB
/
calendar.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
session_start();
if(!isset($_SESSION['user_id']) || !isset($_SESSION['user_name'])){
header("Location: login");
exit;
}
include_once(dirname(__FILE__).'/Controller/UserController.php');
$userController = UserController::getInstance();
if ($userController->getDutyStatus($_SESSION['user_id']) == 0) {
header("Location: tracking");
exit;
}
?>
<html>
<head>
<title>NUSSU commIT</title>
<link href="includes/css/bootstrap.min.css" rel="stylesheet">
<link href="includes/css/bootstrap-theme.min.css" rel="stylesheet">
<link href="includes/css/style.css" rel="stylesheet">
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="includes/js/bootstrap.min.js"></script>
</head>
<body>
<?php $page = "report"; ?>
<?php include(dirname(__FILE__).'/includes/header.php');?>
<div class="container">
<div class="row">
<div class="col-sm-12">
<iframe src="https://www.google.com/calendar/embed?height=600&wkst=1&bgcolor=%23FFFFFF&src=nussu.commit%40gmail.com&color=%2328754E&ctz=Asia%2FSingapore" style=" border-width:0 " width="100%" height="500" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
<?php include(dirname(__FILE__).'/includes/footer.php');?>
</body>
</html>