-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanagement_user_update_input.php
More file actions
109 lines (109 loc) · 4.57 KB
/
Copy pathmanagement_user_update_input.php
File metadata and controls
109 lines (109 loc) · 4.57 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Update Form</title>
</head>
<body>
<?php
session_start();
if (isset($_POST['userid'])) {
$_SESSION['userid'] = $_POST['userid'];
}
?>
<div class="container">
<form name="form" method="post" action="management_user_update_process.php" onsubmit="return validatePassword()">
<div class="form-group-full">
<label for="name">Account Name:</label>
<input type="text" name="name" required />
</div>
<div class="form-group">
<label for="pw">Password:</label>
<input type="password" name="pw" required />
</div>
<div class="form-group">
<label for="pw2">Enter password again:</label>
<input type="password" name="pw2" required />
</div>
<div class="form-group-full">
<label for="email">Email:</label>
<input type="text" name="email" required />
</div>
<div class="form-group">
<label for="birthday">Birthday:</label>
<input type="date" name="birthday" required />
</div>
<div class="form-group">
<label for="gender">Gender:</label>
<select name="gender">
<option value="Gentleman">Gentleman</option>
<option value="Lady">Lady</option>
</select>
</div>
<div class="form-group-full">
<label for="phone">Phone:</label>
<input type="text" name="phone" required />
</div>
<div class="form-group">
<label for="address(city)">Address(city):</label>
<input type="text" name="address(city)" required />
</div>
<div class="form-group">
<label for="address(district)">Address(district):</label>
<input type="text" name="address(district)" required />
</div>
<div class="form-group">
<label for="address">Address:</label>
<input type="text" name="address" required />
</div>
<div class="form-group">
<label for="postal_code">Postal code:</label>
<input type="text" name="postal_code" required />
</div>
<div class="form-group">
<label for="invoice_address(city)">Invoice Address(city):</label>
<input type="text" name="invoice_address(city)" required />
</div>
<div class="form-group">
<label for="invoice_address(district)">Invoice Address(district):</label>
<input type="text" name="invoice_address(district)" required />
</div>
<div class="form-group">
<label for="invoice_address">Invoice Address:</label>
<input type="text" name="invoice_address" required />
</div>
<div class="form-group">
<label for="invoice_postal_code">Invoice postal code:</label>
<input type="text" name="invoice_postal_code" required />
</div>
<div class="form-group-triple">
<label for="emergency_person">Emergency person:</label>
<input type="text" name="emergency_person" required />
</div>
<div class="form-group-triple">
<label for="relation">Relation:</label>
<input type="text" name="relation" required />
</div>
<div class="form-group-triple">
<label for="emergency_phone">Emergency phone:</label>
<input type="text" name="emergency_phone" required />
</div>
<div class="form-group-full checkbox-group">
<input type="checkbox" name="ad" checked/>
<label for="ad">Allow AD</label>
</div>
<div class="form-group-full checkbox-group">
<input type="checkbox" name="message" checked/>
<label for="message">Allow Message</label>
</div>
<div class="button-group form-group-full">
<input type="submit" name="button" value="confirm" />
</div>
</form>
<div class="logout-container">
<a href="management_user_update.php"><button class="logout-button">Back</button></a>
</div>
</div>
</body>
</html>