/
login_page.php
51 lines (49 loc) · 1.42 KB
/
login_page.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="shortcut icon" href="images/favicon.ico">
<title>Login</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css">
</head>
<body>
<?php include('header.php'); ?>
<?php include('sidebar1.php'); ?>
<td>
<div class="content">
<form ACTION="login_script.php" name="login" method="POST" style="padding-top:25px; padding-left:15px; width:310px" >
<p>
<table>
<tr>
<td>
Username:
</td>
<td>
<input id="username" name="username" type="text" value="<?php if(isset($_POST['username'])) echo $_POST['username']; ?>">
</td>
</tr>
<tr>
<td>
Password:
</td>
<td>
<input name="password" type="password">
</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" name="submit" id="submit" value="Submit" tabindex="3" style="float:right">
</td>
</tr>
</table>
</p>
</form>
</div>
</td>
<?php include('sidebar2.php'); ?>
<?php include('footer.php'); ?>
</body>
</html>
<?php
mysql_free_result($login_test);
?>