-
Notifications
You must be signed in to change notification settings - Fork 1
/
signin.php
71 lines (66 loc) · 1.53 KB
/
signin.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
<!doctype html>
<html>
<head>
<title>
sign in
</title>
<link rel="stylesheet" type="text/css" href="css/signup.css">
<script>
function validateForm() {
var x = document.forms["myForm"]["username"].value;
if (x == "")
{
alert("Username is required");
return false;
}
var y = document.forms["myForm"]["password"].value;
if (y == "")
{
alert("Password is required");
return false;
}
}
</script>
<style>
.signin {
border: 1px solid #c6c7cc;
border-radius: 5px;
font: 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
overflow: hidden;
width: 440px;
margin-left: 34%;
margin-right:24%;
}
</style>
</head>
<body>
<?php
include 'nvgbar.php';
?>
<br><br>
<div class="formstyle">
<h1>Sign In!<span>Sign In and start posting!!</span></h1>
</div>
<div style="background-image:url('images/team.jpg'); background-repeat:repeat-x; border-radius:6px; width:100%; height:100%;">
<form method="post" action="signinpost.php" class="signin" name="myForm" onsubmit="return validateForm();">
<fieldset class="account-info">
<label>
Username
<input type="text" name="username">
</label>
<label>
Password
<input type="password" name="password">
</label>
</fieldset>
<fieldset class="account-action">
<input class="btn" type="submit" name="submit" value="SignIn">
</fieldset>
</form>
</div>
<br><br>
<?php
include 'footer.php';
?>
</body>
</html>