-
Notifications
You must be signed in to change notification settings - Fork 0
/
logout.php
85 lines (74 loc) · 2.56 KB
/
logout.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
<?php
//Start session
session_start();
require_once('include/Class_DB.php');
//Unset the variables stored in session
unset($_SESSION['SESS_MEMBER_ID']);
unset($_SESSION['SESS_FIRST_NAME']);
unset($_SESSION['SESS_LAST_NAME']);
require_once('include/debug.php');
?>
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" type="text/css" href="include/style.css" media="screen"/>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="apple-touch-icon" href="img/apple.png" />
<title>Login - ecDB</title>
<?php include_once("include/analytics.php") ?>
</head>
<body>
<div id="wrapper">
<!-- Header -->
<div id="header">
<div class="logoWrapper">
<a href ="."><span class="logoImage"></span></a>
</div>
</div>
<!-- END -->
<!-- Main menu -->
<?php
include './include/menu_public.php';
?>
<!-- END -->
<!-- Main content -->
<div id="content">
<div class="message green center">
You have successfully signed out of your account.
</div>
<div class="loginWrapper">
<div class="left">
<div class="aboutECDB">
You want to build something and need some components for your project.
You don't know if you have those components, or where they are.
This is a problem many of us recognise.
We want to change that for you by making a online inventory system for your electronic components that is easy to use.
Add your components. Search to find it, and then use it!
</div>
<form class="globalForms" name="loginForm" method="post" action="login-exec.php">
<div class="textInput">
<label class="keyWord">Username</label>
<div class="input"><input name="login" class="medium" type="text" id="login"/></div>
</div>
<div class="textInput">
<label class="keyWord">Password</label>
<div class="input"><input name="password" class="medium" type="password" id="password"/></div>
</div>
<div class="buttons">
<div class="input">
<button class="button green" name="Submit" type="submit"><span class="icon medium key"></span> Login</button>
</div>
</div>
</form>
</div>
<div class="right"></div>
</div>
</div>
<!-- END -->
<!-- Text outside the main content -->
<?php include 'include/footer.php'; ?>
<!-- END -->
</div>
</body>
</html>