-
Notifications
You must be signed in to change notification settings - Fork 0
/
reminder.php
121 lines (106 loc) · 3.78 KB
/
reminder.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
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
<?php
include'/accessctrl.php';
if(isset($_POST['SignOut']) == "SignOut"){
//$_SESSION['login_status'] = '';
unset($_SESSION['login_status']);
unset($_SESSION['uEmail']);
unset($_SESSION['uPassword']);
header("Location:byepage.php");
exit;
}
//retreiving some of the user's data
$usersOtherNames = explode(" ", mysqli_result($result, 0,'user_other_names'));
$firstName = $usersOtherNames[0];
$CUEmail = mysqli_result($result, 0,'user_Email');
if($_SESSION['login_status'] != ''){
?>
<!DOCTYPE html>
<html>
<head>
<title>Reminders</title>
<link rel = "stylesheet" type ="text/css" href = "css/bootstrap.min.css">
<link rel = "stylesheet" type = "text/css" href = "css/codedoc.css">
<link rel = "stylesheet" type ="text/css" href = "css/bootstrap-fileupload.min.css">
</head>
<body>
<script src="js/jquery-1.8.1.js"></script>
<script src="js/bootstrap.min.js"></script>
<!--HEADER SECTION-->
<div class="headr">
<div class="container">
<div class="span12">
<div class="row-fluid">
<!--SITE LOGO-->
<div class="span4"><img src = "img/pyrusclogo v4.gif"></div>
<!--LOGIN FORM ON HEADER-->
<div class="span8">
<form class="form-inline" method="post" action="yourdocstream.php">
<div id ="headr-logout">
<button type="submit" class="btn" name ="SignOut" value = "SignOut">Sign out</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<!--MENU SECTION-->
<div class="menu">
<div class="container">
<div class ="span12">
<div class = "menuLinks">
<div class="menulist">
<a href ="yourdocstream.php"><i class = ' icon-list-alt'></i> <?php echo $firstName;?>'s Document Stream</a>
<a href ="profilepage.php?uemail=<?php echo $CUEmail;?>"><i class = 'icon-user'></i> <?php echo $firstName;?>'s Profile</a>
<a href ="notifier.php"><i class = ' icon-bell'></i> Notifications</a>
<a href ="msgstream.php"><i class = ' icon-envelope'></i> Messages</a>
</div>
</div>
</div>
</div>
</div>
<!--CONTENT SECTION-->
<div class = "container">
<div class = "row-fluid">
<div class = "span12">
<h2 style = "margin-left:1.3em;">Reminders for <?php echo $firstName;?></h2><hr>
</div>
</div>
<div class = "row-fluid">
<!--User's document list section.-->
<div class = "span12">
<?php
echo "<br><br><br><br><br><div class = 'alert' style ='font-size:17px;'><br>You <b>don't have any reminder</b> at the moment, but sit tight,
our engineers are preparing something special for you.<br><br></div><br><br><br><br><br><br><br>
<br><br>";
?>
</div>
</div>
</div>
<!--FOOTER-->
<div class="footr" style = "margin-top:1.2em;">
<div class="container">
<div class ="span12">
<div class = "footrLinks">
<div class="copyright">© <?php echo date("Y");?>
<a href ="">Kaelahi Technologies</a>
<a href ="">About Us</a>
<a href ="">Contact</a>
<a href ="">Career</a>
<a href ="">FAQ</a>
<a href ="">Privacy Statement</a>
<a href ="">Terms and Conditions</a>
<a href ="">Blog</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<?php
}else{
header("Location:signin.php");
exit;
}
?>