-
Notifications
You must be signed in to change notification settings - Fork 27
/
login.php
executable file
·63 lines (58 loc) · 1.66 KB
/
login.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
<html>
<head>
<title>Login Page</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<?php
include "index6.php";
?>
<script language="javascript" type="text/javascript">
function fun_val()
{
var l=document.loginsell.username.value;
if(l=="")
{
alert("Please Enter User name");
document.loginsell.username.focus;
return false;
}
var p=document.loginsell.password.value;
if(p=="")
{
alert("Please Enter Password");
document.loginsell.password.focus;
return false;
}
}
</script>
<body>
<p align="center" id="loginpage"><br><TR></tr>
<form name="loginform" action="loginsession.php" method="post"><TR></tr>
<table font-family = "Georgia" class = "table" width="400" height="178" align="center" cellpadding="1"cellspacing="1" border="3">
<tr>
<td height="41" colspan="2" align="center"><h2><b>Login Form</b></h2></td>
</tr>
<tr>
<td width="170" height="40" align="center"><b>User Name</b></td>
<td width="213">
<input type="text" name="username" style="background" />
</font></td>
</tr>
<tr>
<td height="38" align="center"><b>Password</b></td>
<td>
<input type="password" name="password" maxlength="8">
</font></td>
</tr>
<br />
<tr>
<td height="48" colspan="2" align="center">
<input type="submit" value="Submit" name="ok" onClick="return fun_val();"/>
<a href="userinfo.php">
<br/><br />New User?</a></font></td>
</tr>
</table>
<p> </p>
</form>
</body>
</html>