<?php

/*---------------------------------------------
  MAIAN EVENTS v2.0
  Written by David Ian Bennett
  E-Mail: support@maianscriptworld.co.uk
  Website: www.maianscriptworld.co.uk
  This File: Admin Login
----------------------------------------------*/

if(!defined('INCLUDE_FILES')) {
	include('index.html');
	exit;
}

?>
<tr>
    <td>
    <table border="0" cellpadding="0" cellspacing="0" width="100%" class="tableBorder">
    <tr>
        <td class="displayTable">&raquo; <b><?php echo strtoupper($login); ?></b><br /><br /><?php echo $login8; ?></td>
    </tr>
    </table>
    <form method="post" action="index.php?cmd=login">
    <p><input type="hidden" name="process" value="1" /></p>
    <table cellpadding="0" cellspacing="0" width="100%" class="tableBorder">
    <tr>
        <td class="displayTable">
        <table cellpadding="0" cellspacing="1" width="100%" >
        <tr>
          <td style="width:30%<?php echo (isset($N_ERROR) ? ';vertical-align:top' : ''); ?>"><b><?php echo $login2; ?></b>:</td>
          <td style="width:70%"><input class="formbox" type="text" name="username" size="30" value="<?php echo (isset($_POST['username']) ? cleanData($_POST['username']) : ''); ?>" /><?php echo (isset($N_ERROR) ? '<span class="loginError">'.$N_ERROR.'</span>' : ''); ?></td>
        </tr>
        <tr>
          <td<?php echo (isset($P_ERROR) ? ' style="vertical-align:top"' : ''); ?>><b><?php echo $login3; ?></b>:</td>
          <td ><input class="formbox" type="password" name="password" size="30" /><?php echo (isset($P_ERROR) ? '<span class="loginError">'.$P_ERROR.'</span>' : ''); ?></td>
        </tr>
        <tr>
          <td><b><?php echo $login5; ?></b>:</td>
          <td><input type="checkbox" name="cookie" size="30" value="1"<?php echo (isset($_POST['cookie']) ? ' checked="checked"' : ''); ?> /> <?php echo toolTip($msg_javascript2,$msg_javascript17); ?></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td ><br /><input class="formbutton" type="submit" value="<?php echo $login4; ?>" title="<?php echo $login4; ?>"></td>
        </tr>
        </table>
        </td>
    </tr>
    </table>    
    </form>
    </td>
</tr>

