-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.php
86 lines (86 loc) · 4.6 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
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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>eMeal-Sign Up</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Signika" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" media="screen" href="css/style.css" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js" integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5ab88174f9a49214"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="js/main.js"></script>
<script type="text/javascript">
function checkForm(frm){ if($("#email").val()==""||$("#nickname").val()==""||$("#password").val()==""){
alert("Empty inputs!");
return false;
}
}
</script>
</head>
<body>
<div id="navigation">
<div id="title">
<div class="addthis_inline_share_toolbox_20fu"></div>
<p>e<span>MEAL</span></p>
<div id="sign">
<ul>
<li><a href="login.html">Sign in</a></li>
</ul>
</div>
</div>
<div id="get_nav"></div>
<div id="shoppingcart">
<a href="shoppingcart.php">
<img src="img/713b83a7ab70e1a79d66d49efc33aff6.png">
<p>Shopping cart</p>
</a>
</div>
</div>
<div id="sign-page">
<section class="background">
<div id="log_bg"></div>
<div class="signup-card">
<form action ="includes/signup.php" method="POST" onsubmit="return checkForm();" id="frm">
<div class="container">
<div class="row">
<div class="col">
<p class="second-heading">Sign up</p>
</div>
</div>
<div class="row">
<p class="third-heading">Email</p>
</div>
<div class="row">
<input id="email" class="login-input" type="text" name="email" placeholder="Email" onfocus="this.placeholder=''" onblur="this.placeholder='Please enter your email address'">
</div>
<div class="row">
<p class="third-heading">Nickname</p>
</div>
<div class="row">
<input id="nickname" class="login-input" type="text" name="nickname" placeholder="Nickname" onfocus="this.placeholder=''" onblur="this.placeholder='Please enter your nickname'">
</div>
<div class="row">
<p class="third-heading">Password</p>
</div>
<div class="row">
<input id="password" class="login-input" type="password" name="pwd" placeholder="Password" onfocus="this.placeholder=''" onblur="this.placeholder='Please enter your password'">
</div>
<div class="row">
<button class="signup-submit" type="submit" name="submit">Sign up</button>
</div>
</div>
</form>
</div>
</section>
</div>
<div id="footer">
<p>©2018 eMeal Company. All Rights Reserved</p>
</div>
</body>
</html>