<?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 LANGUAGE; ?>" />
<link rel="icon" type="image/gif" href="<?php echo THEME_ADMIN_PATH; ?>images/favicon.gif" />
<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" />
</head>
<body>
<div id="content_auth">
	<h1 style="display:none;"><?php echo _t('divers','auth'); ?></h1>
	<img src="<?php echo THEME_ADMIN_PATH; ?>images/auth_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">
			<label for="login"><?php echo _t('divers','login'); ?> : </label>
			<input type="text" maxlength="20" class="loginfield" name="login" id="login" /><br /><br />
			<label for="password"><?php echo _t('divers','password'); ?> : </label>
			<input type="password" maxlength="20" class="loginfield" name="password" id="password" />
			<div class="validation">
			<input type="submit" value="<?php echo _t('btn','valid') ?>" size="15" name="valid" id="valid" class="button" />
			</div>
		</div>
	</form>
	</div>
	<p class="bottom">
	<?php echo _t('divers','auth_mess1'); ?>
	</p>
	<p class="bottom">
	<?php echo _t('divers','auth_mess2'); ?>
	<a href="mailto:<?php echo SITE_CITY_MAIL; ?>" class="emphase"><?php echo SITE_CITY_MAIL; ?></a>
	</p>
</div>
</body>
</html>