Subversion Repositories computer_asset_manager_v1

Rev

Rev 1 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 rodolico 1
<?php
2
   include_once("header.php");
3
   $_SESSION['file system root'] = dirname($_SERVER['SCRIPT_FILENAME']);
4
   $_SESSION['html root'] =    dirname(parse_url($_SERVER['PHP_SELF'], PHP_URL_PATH));
5
   verifyLogin ($_POST['login'], $_POST['pass'] );
6
?>
7
 
8
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
9
<html>
10
 
11
<head>
12
  <title>Computer Asset Manager - Login</title>
13
  <meta name="GENERATOR" content="Quanta Plus">
14
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
15
  <script language="javascript" type="text/javascript">
16
  // <!--
17
 
18
  // -->
19
  </script>
20
</head>
21
<body>
22
       <h1 align='center'>Computer Asset Manager</h1>
23
       <h4 align='center'>version <?php echo VERSION . '<BR>' . BUILD_DATE; ?></h4>
67 rodolico 24
       <h4 align='center'>SVN Revision <?php print SVN_REV; ?></h4>
1 rodolico 25
       <h3 align="center">Daily Data, Inc.</h2>
26
       <h2 align='center'>Log In</h2>
27
       <?php if ($_GET['message']) print '<h3  style="color : red; text-align : center;">' . $_GET['message'] . '</h3>'; ?>
28
<h3 align='center'>Enter your username and password below</h3>
29
<FORM action="login.html" method="POST" enctype="multipart/form-data">
30
  <table border="1" cellpadding="2" align="center">
31
  <tbody>
32
    <tr>
33
      <td>User Name</td>
34
      <td><input type='text' name='login' size='10'></td>
35
    </tr>
36
    <tr>
37
      <td>Password</td>
38
      <td><input type='password' name='pass' size='10'></td>
39
    </tr>
40
    <tr><TD colspan="2" align="center"><INPUT type="submit" name="Login" value="Log In"></TD></tr>
41
  </tbody>
42
</table>
43
</FORM>
44
</body>
45
</html>