-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogout.php
More file actions
executable file
·60 lines (59 loc) · 1.95 KB
/
Copy pathlogout.php
File metadata and controls
executable file
·60 lines (59 loc) · 1.95 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
<!DOCTYPE html>
<html>
<head>
<title>logout user</title>
<link rel="stylesheet" type="text/css" href="asset/css/bootstrap.css"/>
<link rel="stylesheet" type="text/css" href="asset/css/bootstrap.min.css"/>
<script type="text/javascript" src="asset/js/bootstrap.js"></script>
</head>
<body>
<form action="validat_login.php" method="post" enctype="multipart/form-data">
<div class="container">
<div class="row" style="padding-top:100px; background-color:#">
<div class="col-md-6 col-md-offset-3">
<hr>
<?php
session_start();
if(isset($_SESSION['username']))
unset($_SESSION['username']);
?>
<div class="panel panel-login">
<div class="panel-body">
<div class="row">
<div class="col-lg-12">
<div class="form-group">
<input type="text" name="username" id="username" tabindex="1" class="form-control" placeholder="Username" value='' required>
</div>
<div class="form-group">
<input type="password" name="password" id="password" tabindex="2" class="form-control" placeholder="Password" required>
</div>
<div class="form-group text-center">
<input type="checkbox" tabindex="3" class="" name="remember" id="remember">
<label for="remember"> Remember Me</label>
</div>
<div class="form-group">
<div class="row">
<div class="col-lg-12">
<div class="text-center">
<a href="http://phpoll.com/recover" tabindex="5" class="forgot-password">Forgot Password?</a>
</div>
</div>
</div>
</div>
<div class="panel-heading">
<div class="row">
<div class="col-xs-6">
<button class="btn btn-success btn-block btn-lg" type="submit" name="login" >Sign In</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
</body>
</html>