-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·70 lines (53 loc) · 1.61 KB
/
index.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
<?php
// Initialize the session.
session_start();
// Unset all of the session variables.
$_SESSION = array();
// If it's desired to kill the session, also delete the session cookie.
// Note: This will destroy the session, and not just the session data!
if (ini_get("session.use_cookies")) {
$params = session_get_cookie_params();
setcookie(session_name(), '', time() - 42000,
$params["path"], $params["domain"],
$params["secure"], $params["httponly"]
);
}
// Finally, destroy the session.
session_destroy();
?>
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="./javascript/jquery-2.0.0.min.js" ></script>
<script type="text/javascript" src="./javascript/index.js" ></script>
<link rel="stylesheet" type="text/css" href="./css/resetcss_2.0.min.css" />
<link rel="stylesheet" type="text/css" href="./css/index.css" />
<title>domoroboto</title>
</head>
<body>
<h1>domoroboto</h1>
<div class="login center" >
<div>
<span class="inputLabel" >
User Name:
</span>
<span class="inputField" >
<input type=text name=uname id="userName" size=20 maxlength=20 />
</span>
</div>
<div>
<span class="inputLabel" >
Password:
</span>
<span class="inputField" >
<input type=password name=passwd id="passWord" size=20 maxlength=20>
</span>
</div>
<input type="button" id="login" value="Login" />
<input type="hidden" id="accountid" name="accountid" value="" />
</div>
<span id="invalidLoginMessage">
Login Failed
</span>
</body>
</html>