-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.php
50 lines (44 loc) · 1.21 KB
/
signup.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
<?php
if($_COOKIE["logged"] == 1)
{
header("Location: player.php");
}
session_start();
?>
<!DOCTYPE html>
<html>
<body>
<head>
<link href="stylesheets/signup.css" type="text/CSS" rel="stylesheet" />
<meta name="viewport" content="width=device-width" >
</head>
<div class="logoarea" >
<br>
<img src="images/logo.png" alt="logo" class="logo" >
</div>
<div class="greymask" >
<form class="maincontainer" action="createacc.php" method="post" >
<div class="tagline" >Let Your Emotions Control The Music</div>
<div class="error_pool" >
<?php
if(isset($_SESSION["signup_errors"]))
{
echo $_SESSION["signup_errors"];
}
?>
</div>
<div class="formwindow" >
<input type="text" name="regname" placeholder="Enter username" required>
<input type="password" name="regpass" placeholder="Enter password" required>
<input type="password" name="confpass" placeholder="Confirm password" required>
<input type="text" name="regmail" placeholder="Enter email ID" required>
<input type="number" name="phone" placeholder="Enter phone number" required>
<div class="buttoncontainer" >
<input type="submit" value="Sign Up" >
<a href="index.php" ><div class="button" >Back</div></a>
</div>
</div>
</div>
</form>
</body>
</html>