-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathregistration.php
134 lines (134 loc) · 6.05 KB
/
registration.php
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE html>
<html lang="en">
<?php
if(isset($_GET['reg'])){
if($_GET['reg'] == '0'){
echo '<script language="javascript">';
echo 'alert("Username Found! Choose another username.")';
echo '</script>';
}
}
?>
<head>
<meta charset="UTF-8">
<title>Edit Profile | Instaclone</title>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<link href="css/style.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
</head>
<body>
<nav class="navigation">
<a href="index.php">
<img
src="images/navLogo.png"
alt="logo"
title="logo"
class="navigation__logo"
/>
</a>
</nav>
<main class="edit-profile">
<section class="profile-form">
<header class="profile-form__header">
<img
src="images/navLogo.png"
alt="logo"
title="logo"
class="navigation__logo"
/>
</header>
<form action="create_account.php" class="edit-profile__form" method="post" enctype="multipart/form-data">
<div class="edit-profile__form-row">
<label for="username" class="edit-profile__label">
Username
</label>
<input
type="text"
id="username"
name = "username"
class="edit-profile__input"
required
/>
</div>
<div class="edit-profile__form-row">
<label for="profilename" class="edit-profile__label">
Profile Name
</label>
<input
type="text"
name="profilename"
class="edit-profile__input"
id="phone-number"
required
/>
</div>
<div class="edit-profile__form-row">
<label for="password" class="edit-profile__label">
Password
</label>
<input
type="password"
id="password"
name = "password"
class="edit-profile__input"
required
title="Must contain at least one number and one uppercase and lowercase letter, and at least 8 or more characters"
/>
</div>
<div class="edit-profile__form-row">
<label for="bio" class="edit-profile__label">
Bio
</label>
<textarea id="bio" name ="bio" class="edit-profile__textarea"></textarea>
</div>
<div class="edit-profile__form-row">
<label for="email" class="edit-profile__label">
Email
</label>
<input
type="email"
class="edit-profile__input"
id="email"
name ="email"
required
/>
</div>
<div class="edit-profile__form-row">
<label for="image" class="edit-profile__label">
Profile Image
</label>
<input type="file" name="image" id="image" />
</div>
<div class="edit-profile__form-row">
<label class="edit-profile__label"></label>
<input type="submit" id="register" name="register" value="Register">
</div>
</form>
</section>
</main>
<footer class="footer">
<nav class="footer__nav">
<ul class="footer__list">
<li class="footer__list-item"><a href="#" class="footer__link">about us</a></li>
<li class="footer__list-item"><a href="#" class="footer__link">support</a></li>
<li class="footer__list-item"><a href="#" class="footer__link">blog</a></li>
<li class="footer__list-item"><a href="#" class="footer__link">press</a></li>
<li class="footer__list-item"><a href="#" class="footer__link">api</a></li>
<li class="footer__list-item"><a href="#" class="footer__link">jobs</a></li>
<li class="footer__list-item"><a href="#" class="footer__link">privacy</a></li>
<li class="footer__list-item"><a href="#" class="footer__link">terms</a></li>
<li class="footer__list-item"><a href="#" class="footer__link">directory</a></li>
<li class="footer__list-item"><a href="#" class="footer__link">language</a></li>
</ul>
</nav>
<span class="footer__copyright">© 2017 instagram</span>
</footer>
<script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
<script src="js/app.js"></script>
<script src="js/loadpic.js"></script>
</body>
</html>