-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenteesignup.php
60 lines (51 loc) · 1.8 KB
/
menteesignup.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
<?php
$logedin = null;
if(isset($_SESSION['username'])){
$logedin = true;
}
if($logedin){
header('location:home.php');
exit();
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php include 'header.php'; ?>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MENTEE SIGNUP</title>
</head>
<body>
<div id='login'>
<div class='main'>
<div class='loginbox'>
<form action="backend/signup.backend.php" method="post">
<h1 style='color:white; text-align:center; margin-bottom:10px; text-decoration:underline;'>MENTEE SIGNUP</h1>
<a href="signup.php" style='text-decoration:none;color:orange; float:right; margin-botton:10px;'>SIGNUP AS MENTOR</a>
<div class="textbox">
<input type="text" style="margin-top:10px;width:100%;" placeholder='FIRSTNAME' name="name">
</div>
<div class="textbox">
<input type="text" style="margin-top:10px;width:100%;" placeholder='LASTNAME' name="name2">
</div>
<div class="textbox">
<input type="text" style="margin-top:10px;width:100%;" placeholder='USERNAME' name="username">
</div>
<div class="textbox">
<input type="password" style="width:100%;" placeholder="PASSWORD" name="password">
</div>
<div class="textbox">
<input type="password" style="width:100%;" placeholder="REPEAT PASSWORD" name="password2">
</div>
<div class="textbox">
<input name='check' value='make' checked type="checkbox"> <span style='color:white'>GENERATE AVATAR</span>
</div>
<br>
<button type="submit" value='mentee' style=" align:center" name='signup' class='sumt'>SIGNUP</button>
<a href="menteelogin.php" style="float:right;color:white; margin-top:10px;">LOGIN</a>
</form>
</div></div>
</div>
</body>
</html>