-
Notifications
You must be signed in to change notification settings - Fork 1
/
LicenseAlerts.php
128 lines (98 loc) · 3.8 KB
/
LicenseAlerts.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
122
123
124
125
126
127
128
<?php
session_start();
ob_start();
include "configFile.php";
if (! ($_SESSION['logged_in']))
{
echo "<script>
alert('You are not logged in, please connect');
window.location = 'index.php';
</script>";
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Program licence-Alerts</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="includes/style.css">
<script src="includes/jquery-1.11.3.min.js"></script>
<script src="includes/script.js"></script>
<meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<div id="wrapper">
<header>
<a href="home.php" id="logo" alt="logo" title="logo" /></a>
<section id="user">
<span class="glyphicon glyphicon-user" aria-hidden="true"></span>
<p><?php $_SESSION['Mail']; print_r($_SESSION['Mail']);?> |
<a href="index.php" onclick=Logout();>
<?php
echo "<script>
function Logout () {
alert('logged out');
window.location = 'index.php';
}
</script>";
?>
Log Out</a></p>
</section>
<ul class="nav nav-tabs">
<li><a href="home.php">Home</a></li>
<li>
<a href="LicenseSelect.php" data-toggle="dropdown" class="dropdown-toggle">Licences <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="LicenseSelect.php">Search/Update Licence</a></li>
<li><a href="LicenseCreate.php">Create new Licence Contract</a></li>
</ul>
<li class="active"><a href="#">Notifications</a></li>
</ul>
</header>
<main>
<section class="mobileMenu">
<nav role="navigation" class="navbar navbar-default">
<div class="navbar-header">
<button type="button" data-target="#navbarCollapse" data-toggle="collapse" class="navbar-toggle">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div id="navbarCollapse" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="home.php">Home</a></li>
<li class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">Licences<b class="caret"></b></a>
<ul role="menu" class="dropdown-menu">
<li><a href="LicenseSelect.php">Search/Update Licence</a></li>
<li><a href="LicenseCreate.php">Create New Licence</a></li>
</ul>
</li>
<li><a href="LicenseAlerts.php">Notifications</a></li>
</ul>
</div>
</nav>
</section>
<section id="content">
<h1>Notifications</h1>
<a href="expire.php" ><h3>Contract will be expire in 60 days</h3></a>
<a href="ProjectsWithoutLicenses.php"><h3>Projects without licences</h3></a>
</section>
</main>
<div class="clear"></div>
</div>
<footer>
<p><a href="http://ataliahoren.github.io/programslicense/" target="_blank">.Copyright © AMR</p>
<p>Miri Haikin, Atalia Schuster, Rotem Emergi</p>
</footer>
<script>
(function() {
})();
</script>
</body>
</html>