-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.php
58 lines (58 loc) · 2.7 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Sign In</title>
<script src="jquery.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="shortcut icon" href="image.gif">
<script>
function val(v) {
if (v.value == '') {
alert('Email or Password Cannot be EMPTY ..');
return false;
}
else
return true;
}
function value(v) {
if (v.value == '') {
alert('Email or Password Cannot be EMPTY ..');
return false;
}
else
return true;
}
</script>
</head>
<body background="body.jpg">
<div id="signin" align="center">
<div id="signinbox" align="center">
<form id="signin1" action="login.php" method="post" name="wallpostform2" onsubmit="return val(signin1.email);">
<input id="textbox" placeholder="Email" maxlength="30" type="email" size="30" name="email" /></td>
<input id="textbox" maxlength="20" id="inputpassword" type="password" name="password" placeholder="Password" /></td>
<input id="clicksignin" type="submit" name="submit1" value="Sign In" />
</form>
</div>
<div id="signinbox" align="center">
<form id="signup1" action="signup.php" name="wallpostform1" onsubmit="return value(signup1.enteremail);" method="post">
<table id="tables">
<h4 style="float:left;">New to This? Sign Up</h4><br/>
<tr>
<td id="input"><input id="textbox" maxlength="30" id="input" type="text" size="30" name="entername" placeholder="Fullname" /></td>
</tr>
<tr>
<td id="input"><input id="textbox" maxlength="30" type="email" size="30" name="enteremail" placeholder="Email" /></td>
</tr>
<table>
<tr>
<td id="input"><input id="textbox" maxlength="16" id="input" type="password" size="16" name="enterpassword" placeholder="Password" /></td>
<td id="input"><input id="clicksignup" type="submit" name="submit2" value="Sign Up" /></td>
</tr>
</table>
</table>
</form>
</div>
</div>
</body>
</html>