<?php
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Script: Maian Gallery v2.0
Written by: David Ian Bennett
E-Mail: hide@address.com
Website: http://www.maianscriptworld.co.uk
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
This File: login.php
Description: Admin Login
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
// Make sure that this file is being called from parent file
if (!defined('INCLUDE_FILES')) {
accessDenied($msg_script18,$msg_script19);
exit;
}
?>
<div align="center">
<table border="0" cellpadding="1" width="100%" cellspacing="1" style="border: 2px solid #083253">
<tr>
<td align="left" class="msgBox"><?php echo $msg_adminlogin8; ?></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%" class="menutable">
<tr>
<td align="left" class="leftPad">» <b><?php echo strtoupper($msg_adminlogin); ?></b></td>
</tr>
</table>
<form method="post" name="form" action="index.php?cmd=login">
<input type="hidden" name="process" value="1">
<table width="100%" border="0" cellpadding="0" cellspacing="1" style="border: 2px solid #083253">
<tr>
<td align="left" valign="top" class="msgBox">
<table width="100%" border="0" cellpadding="0" cellspacing="2">
<tr>
<td width="30%" align="left" class="tdHeight" valign="top"><b><?php echo $msg_adminlogin2; ?>:</b></td>
<td width="70%" align="left" class="tdHeight"><input class="formbox" type="text" name="user" size="30" value="<?php echo (isset($_POST['user']) ? cleanData($_POST['user']) : ''); ?>"><?php echo (isset($u_error) ? '<br><span style="font-size:11px">'.$msg_adminlogin6.'</span>' : ''); ?></td>
</tr>
<tr>
<td align="left" class="tdHeight" valign="top"><b><?php echo $msg_adminlogin3; ?>:</b></td>
<td align="left" class="tdHeight"><input class="formbox" type="password" name="pass" size="30"><?php echo (isset($p_error) ? '<br><span style="font-size:11px">'.$msg_adminlogin7.'</span>' : ''); ?></td>
</tr>
<tr>
<td align="left" class="tdHeight"><b><?php echo $msg_adminlogin4; ?>:</b></td>
<td align="left" class="tdHeight"><input type="checkbox" name="cookie" value="1"<?php echo (isset($_POST['cookie']) ? ' checked="checked"' : ''); ?>> <?php echo toolTip($msg_javascript2,$msg_javascript12); ?></td>
</tr>
<tr>
<td class="tdHeight"> </td>
<td align="left" class="tdHeight"><input type="submit" class="formbutton" value="<?php echo $msg_adminlogin5; ?>" title="<?php echo $msg_adminlogin5; ?>"></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</div>