Location: PHPKode > projects > Web Application Gateway > wagateway/index.php
<?

/*************************************************************************************

    COPYRIGHT NOTICE

    This copyright notice must appear at the top of all scripts which are part of
    the Web Application Gateway package.

    Copyright (C) 2001-2008 Gregory Engel
    
    All rights reserved
    
    8547 E Arapahoe Rd, #J-504
    Greenwood Village, CO  80112 USA
    hide@address.com

    This program is free software; you can redistribute it and/or modify it under
    the terms of the GNU General Public License as published by the Free Software
    Foundation; either version 2 of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful, but WITHOUT
    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
    FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

    The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html
    A copy is included with the WAG package and is found in the text file gpl.txt

    You should have received a copy of the GNU General Public License (gpl.txt, gpl.html)
    along with the WAG distribution package; if not, the GNU General Public License can
    be found at http://www.gnu.org/copyleft/gpl.html, or by writing to:
    
    Free Software Foundation, Inc.
    59 Temple Place - Suite 330
    Boston, MA  02111-1307, USA.

    This script is part of the Web Application Gateway (WAG) Accounting Application 
    Project. The WAG software is free, subject to the terms of the GNU General Public 
    License as published by the Free Software Foundation, either version 2 of the License, 
    or (at your option) any later version.
    
    $Revision: 56 $
    $LastChangedDate: 2008-01-16 09:52:29 -0700 (Wed, 16 Jan 2008) $
    $LastChangedBy: gpeangel $
 
*************************************************************************************/

require("init.php");

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<meta http-equiv="Window-target" content="_top">    
<title><? echo $_SESSION["WAGATEWAY"]["SITE_NAME"]; ?></title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" >
<script type="text/javascript" src="js/ajax.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<link rel="stylesheet" type="text/css" href="common/gateway.css" />
</head>
<body bgcolor="#ffffff" onload="setFocus('usr_logon_id')">

<table border="0" cellpadding="4" cellspacing="0" style="margin-bottom: 10px;" width="100%">
    <tr>
        <td align="left" style="border-bottom: solid black 1px; font-size: 12pt; font-weight: bold; padding-bottom: 5px;"><? echo $_SESSION["WAGATEWAY"]["SITE_NAME"]; ?></td>
        <td align="right" style="border-bottom: solid black 1px;"><? echo date("F j, Y"); ?></td>
    </tr>
</table>

<form action="javascript:requestLogon();" name="form">
<table width="100%" cellpadding=6>
    <tr>
        <td rowspan="2" valign="top">
        
        <table align="center" border="1" cellpadding="4" cellspacing="0" width="400px">
            <tr>
                <td>
                    <table border="0" cellpadding="8" cellspacing="0" width="400px">
                        <tr>
                            <td bgcolor="black" colspan="3" style="color: white;"><b>Site Access</b></td>
                        </tr>
                        <tr bgcolor="#d3d3d3">
                            <td align="right">User ID:</td>
                            <td colspan="2"><input class="formdata" type="text" id="usr_logon_id" name="usr_logon_id" style="width: 250px;" value=""></td>
                        </tr>
                        <tr bgcolor="#d3d3d3">
                            <td align="right">Password:</td>
                            <td colspan="2"><input class="formdata" type="password" id="usr_password" name="usr_password" style="width: 250px;" value=""></td>
                        </tr>
                    </table>
                    <div id="error_message" style="visibility: hidden;">
                    </div>
                    <table border="0" cellpadding="8" cellspacing="0" width="400px">
                        <tr bgcolor="#d3d3d3">
                            <td align="center" valign="center" colspan="3" style="border-top: black solid 1px;"><button type="submit" style="width: 100px;">Verify</button>&nbsp;&nbsp;&nbsp;<input style="width: 100px;" type="reset" value="Clear" /></td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        
        <p align="center" style="font-size: 8pt;">Web Application Gateway<br>Version <? echo $_SESSION["WAGATEWAY"]["WAG_VERSION"]; ?></p>
        
        </td>
    </tr>
</table>
</form>

<table border="0" cellpadding="0" cellspacing="0" style="border-top: solid black 1px; margin-top: 10px;" width="100%">
    <tr>
        <td align="center" style="font-size: 7pt;">
            Web Application Gateway, Copyright &copy; 2001 - <? echo date("Y"); ?>, <a href="http://www.javazen.org" target="_blank">Gregory Engel</a><br />
            Released under terms of the <a href="http://www.gnu.org/licenses/licenses.html" target="_blank">GNU General Public License</a>
        </td>
    </tr>
</table>

</body>
</html>
Return current item: Web Application Gateway