<?php
/**
 * @package linea21.templates
 * @subpackage admin
 * @author linea21 <info@linea21.com>
 * @version $id SVN
 * @access public
 * @license http://opensource.org/licenses/gpl-3.0.html
 */
echo '<?xml version="1.0" encoding="' . CHARSET . '"?>'. END_LINE;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo _t('header','title'); ?></title>
<meta http-equiv="Content-Type"	content="text/html; charset=<?php echo CHARSET;?>" />
<meta http-equiv="content-language" content="<?php echo U_L; ?>" />
<link rel="shortcut icon" href="<?php echo THEME_ADMIN_PATH; ?>images/favicon.ico" />
<link type="text/css" rel="StyleSheet" href="<?php echo THEME_ADMIN_PATH; ?>css/admin_common.css" />
<link type="text/css" rel="StyleSheet" href="<?php echo THEME_ADMIN_PATH; ?>css/admin_login.css" />
<script type="text/javascript" src="../lib/js/jquery.min.js"></script>
<?php IncludePHPDebug(); ?>
<script type="text/javascript">
$(document).ready(function() {
	$("#login").focus();
})
</script>
</head>
<body>
<?php culture::getInstance()->renderSwitcher(); ?>
<div id="content_auth">
<h1 style="display: none;"><?php echo _t('divers','auth'); ?></h1>
<img src="<?php echo THEME_ADMIN_PATH; ?>images/logo.png" id="logo"
	alt="logo" />
<div id="title">
<p><?php echo _t('divers','title_login'); ?></p>
</div>
<div id="auth">
<p class="error_auth"><?php
if(isset($auth_res)) echo $auth_res;
?></p>
<form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post">
<div id="formu">
<div id="login_id"><input type="text" maxlength="20" class="loginfield" value="" name="login" id="login" /></div>
<div id="login_pass"><input type="password" maxlength="20" class="loginfield" name="password" id="password" /></div>
<div class="validation"><input type="submit" value="<?php echo _t('menu_alt','valid_login') ?>" name="valid" id="valid" /></div>
<input type="hidden" name="page" id="page" value="<?php echo $page; ?>" />
</div>
</form>
</div>
<p class="bottom"><?php echo _t('divers','auth_mess1'); ?> <br />
<?php echo _t('divers','auth_mess2'); ?> <a
	href="mailto:<?php echo SITE_MAIL; ?>" class="emphase"><?php echo SITE_MAIL; ?></a>
</p>
</div>
</body>
</html>