-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdashboard.php
More file actions
159 lines (131 loc) · 4.89 KB
/
dashboard.php
File metadata and controls
159 lines (131 loc) · 4.89 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<?php
session_start();
if(!isset($_SESSION["uid"]))
{
header("location:index.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Dashboard</title>
<link href="./css/style-starter.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="components/bootstrap2/css/bootstrap.css">
<link rel="stylesheet" href="components/bootstrap2/css/bootstrap-responsive.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="stylesheet" href="css/calendar.css">
<style>
body
{
background-image: url('pics/b8.jpg');
background-size: cover;
}
</style>
</head>
<body>
<section class="w3l-header-4">
<header id="headers4-block" class="editContent">
<div class="container">
<div class="d-grid nav-mobile-block header-align">
<div class="logo">
<a class="brand-logo editContent" href="index.php" style="outline: none; cursor: inherit;">Home</a>
</div>
<input type="checkbox" id="nav">
<label class="nav" for="nav"></label>
<nav>
<label for="drop" class="toggle"><span class="fa fa-bars" style="outline: none; cursor: inherit;"></span></label>
<input type="checkbox" id="drop">
<ul class="menu">
<li class="propClone"><a href="contacts.php">Contacts</a></li>
<li class="propClone"><a href="fixupmeeting.php">Fix up Meeting</a></li>
<li class="propClone"><a href="meetings.php">Your meetings</a></li>
<li class="propClone"><a href="profile.php">Your profile</a></li>
<li class="propClone"><a href="logout.php">logout</a></li>
</ul>
</nav>
</div>
</div>
</header>
</section>
<div class="container">
<h1 style="float: left; width: 50%;" class="banner-text mt-5 editContent">Welcome!<br /> <br /></h1>
<h4 style="float: right; width: 50%; text-align: right;" class="banner-text mt-5 editContent">
<img src="pics/images.png" class="mt-1 mb-1" width="60" height="60" alt="" id="ppic"><br>
<?php echo $_SESSION["uid"]?> <br /> <br /></h4>
<div class="page-header">
<h3></h3>
<div class="form-inline">
<div class="btn-group">
<button class="btn btn-primary" data-calendar-nav="prev"><< Prev</button>
<button class="btn" data-calendar-nav="today">Today</button>
<button class="btn btn-primary" data-calendar-nav="next">Next >></button>
</div>
<div class="btn-group">
<button class="btn btn-warning" data-calendar-view="year">Year</button>
<button class="btn btn-warning active" data-calendar-view="month">Month</button>
<button class="btn btn-warning" data-calendar-view="week">Week</button>
<button class="btn btn-warning" data-calendar-view="day">Day</button>
</div>
</div>
</div>
<div class="row">
<div class="span8">
<div id="calendar"></div>
</div>
<div class="span3">
<div class="row-fluid">
<label class="checkbox">
<input type="checkbox" value="#events-modal" id="events-in-modal" > Open events in modal window
</label>
<label class="checkbox">
<input type="checkbox" id="format-12-hours"> 12 Hour format
</label>
<label class="checkbox">
<input type="checkbox" id="show_wb" checked> Show week box
</label>
<label class="checkbox">
<input type="checkbox" id="show_wbn" checked> Show week box number
</label>
</div>
<h4>Events</h4>
<ul id="eventlist" class=""></ul>
</div>
</div>
<div class="clearfix"></div>
<br><br>
<br><br>
<div class="modal hide fade" id="events-modal">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>Event</h3>
</div>
<div class="modal-body" style="height: 400px">
</div>
<div class="modal-footer">
<a href="#" data-dismiss="modal" class="btn">Close</a>
</div>
</div>
<script type="text/javascript" src="components/jquery/jquery.min.js"></script>
<script type="text/javascript" src="components/underscore/underscore-min.js"></script>
<script type="text/javascript" src="components/bootstrap2/js/bootstrap.min.js"></script>
<script type="text/javascript" src="components/jstimezonedetect/jstz.min.js"></script>
<script type="text/javascript" src="js/calendar.js"></script>
<script type="text/javascript" src="js/app.js"></script>
<script>
$(document).ready(function(){
dofetch();
//==-=-=-=-=-=-=-=-=-=
function dofetch()
{
// alert(1);
$.getJSON("fetch-event.php",function(aryJson)
{
alert(JSON.stringify(aryJson));
});
}
});
</script>
</div>
</body>
</html>