-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathith.php
More file actions
49 lines (43 loc) · 1.82 KB
/
Copy pathith.php
File metadata and controls
49 lines (43 loc) · 1.82 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
<?php
session_start();
?>
<!doctype html>
<html lang="en">
<head>
<title>SQL Injection Attacks</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!-- Page Content -->
<div id="content" class="p-4 p-md-5">
<div id="login">
<div class="container">
<div id="login-row" class="row justify-content-center align-items-center">
<div id="login-column" class="col-md-6">
<div id="login-box" class="col-md-12">
<form id="login-form" class="form" action="index.php" method="post">
<div class="form-group">
<label for="username" class="text-info">Username:<?php echo $_SESSION['username']; ?></label><br>
</div>
<div class="form-group">
<label for="password" class="text-info">Password:<?php echo $_SESSION['pass']; ?></label><br>
</div>
<button type="submit" name="logout" class="btn btn-primary">logout</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/popper.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>