-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmodify.php
More file actions
50 lines (32 loc) · 1.05 KB
/
Copy pathmodify.php
File metadata and controls
50 lines (32 loc) · 1.05 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
<?php
require_once 'db.php';
if ( $_SESSION['logged_in'] != 1 ) {
$_SESSION['message'] = "You must log in";
header("location: error.php");
exit(0);
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Modify user</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="form">
<div id="modify">
<h1>Modify User!</h1>
<form action="change_info.php" method="post" autocomplete="off">
<div class="field-wrap">
<input type="email" autocomplete="off" name="email" placeholder="Enter the email address" required >
</div>
<button class="button button-block" name="modify_user">Modify</button>
</form>
</div>
<hr>
<a href="adminpage.php"><button class="button button-block" name="back">Back</button></a>
</div>
</body>
</html>