<?php
/**
  @licence GPL 2005-2010  The osCSS developers - osCSS Open Source E-commerce
  @portion code Copyright (c) 2002 osCommerce
  @package osCSS-2 <www http://www.oscss.org>
  @version 2.1.0
  @date  14/01/11, 15:38
  @author oscim <mail aurelien@oscim.fr> <www http://www.oscim.fr>
  @encode UTF-8
*/
?>
<!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" <?php echo HTML_PARAMS; ?> >
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" />
    <title><?php echo TITLE; ?></title>
    <link rel="stylesheet" type="text/css" href="<?php echo DIR_WS_TEMPLATE; ?>login.css" media="all"/>
</head>
<body>
<div id="page">

    <h1>osCSS Admin</h1>

    <div id="content">
        <h3><?php echo HEADING_RETURNING_ADMIN_LG_CHOOSE; ?></h3>
        <?php echo tep_draw_form('languages', basename($PHP_SELF), '', 'get');  ?><?php echo tep_draw_pull_down_menu('language', $languages_array, $languages_selected, 'onchange="this.form.submit();"'); ?></form>
	</form>
        <h2><?php echo HEADING_RETURNING_ADMIN; ?></h2>
        <?php echo tep_draw_form('login',tep_href_link(FILENAME_LOGIN, 'action=process') ); ?>

        <?php
        if (isset($_GET['login']) && $_GET['login'] == 'fail') {
            $info_message = TEXT_LOGIN_ERROR;
        }

        if (isset($info_message)) {
        ?>
        <div class="alert"><?php echo $info_message; ?></div>
        <?php  } ?>


    <?php echo login_ident::draw_form(); ?>


    <div id="bouton">
            <input type="submit" class="button" value="<?php echo IMAGE_BUTTON_LOGIN ; ?>" />

            <span style="float:right;position:relative;margin-top:15px;right:0"><a class="button" href="<?php echo FILENAME_PASSWORD_FORGOTTEN ; ?>"><?php echo TEXT_PASSWORD_FORGOTTEN; ?></a></span>

        <br style="clear:both"/>
    </div>
    </form>
    </div>
<!--     <div id="password_perdu"><</div> -->
  </div>
</body>
</html>