-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathregistration.php
More file actions
61 lines (57 loc) · 2.07 KB
/
Copy pathregistration.php
File metadata and controls
61 lines (57 loc) · 2.07 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
<?php include 'includes/config.php'; ?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Hostel Tracker</title>
<meta charset="utf-8">
<?php include 'includes/links.php'; ?>
</head>
<body>
<?php
include "includes/header.php";
?>
<div id="carea">
<h1>Hostel Owner Registration!</h1>
<div id="fields">
<div class="sep"></div>
<br>
<form action="registration-action.php" method="post" enctype="multipart/form-data">
<div>
<input type="text" name="username" placeholder="user name" required>
</div>
<div>
<input type="text" name="email" placeholder="email" required>
</div>
<div>
<input type="text" name="ph" placeholder="Phone Number" required>
</div>
<div>
<input type="text" name="city" placeholder="City" required>
</div>
<div>
<textarea name="address" cols="30" rows="10" placeholder="enter your address.." required></textarea>
</div>
<div>
<select name="role" >
<option value="user">Public User</option>
<option value="houser">Hostel Owner</option>
</select>
</div>
<div>
<label >Select Profile Picture</label><br>
<input type="file" class="left-30" name="profile">
</div>
<div>
<input type="password" name="pass" placeholder="****" required>
</div>
<div>
<button type="submit" name="registration_action">Register</button>
</div>
</form>
</div>
</div>
<?php
include "includes/footer.php";
?>
</body>
</html>