<?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  24/10/10, 20:43
  @author oscim <mail aurelien@oscim.fr> <www http://www.oscim.fr>
  @encode UTF-8
*/
  $_GET['page_admin']='logoff';
  require('includes/application_top.php');
  // activation Whos_online
  if(tep_cst_define('WHOS_ONLINE_ACTIVE') =='auto') tep_db_query("update " . TABLE_CONFIGURATION . " set last_modified = now(), configuration_value = 'false' where configuration_key = 'WHOS_ONLINE_FLAG' ");
  tep_session_destroy();
?>
<!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 LOGOFF_TITLE; ?></title>
<style type="text/css">
body {
   width: 100%;
   margin: 0; padding: 0;
   text-align: center;
   font: 0.8em Georgia,Tahoma,sans-serif; color: #000;
   background: #fff url(images/fond.jpg) repeat-y center;
}
a { font: 0.9em Georgia,Tahoma,sans-serif; color: #000; }
h1 { width:210px; height:105px; background: transparent no-repeat; text-indent:-9999px; }
h3 { width:450px; height:250px; background: transparent url(images/oscss_big.jpg) no-repeat; text-indent:-9999px; }
h2 { font-size: 1em }

#page{position: relative; width : 210px; margin: 0 auto 0 auto;  text-align: left;}

#content { border:1px solid #000; padding:2em 1em 2em 1em;}
.button{font-family:Arial; font-size:13px;white-space:nowrap;}
a.button{background:#e3e5f0; border:1px solid #003c74; padding:2px 5px; margin:1px 2px ;color:black;text-decoration:none;}
a.button:hover{background:#797979; border:1px solid #003c74; padding:2px 5px ; margin:1px 2px ; color:white;text-decoration:none;}
</style>
</head>
<body>
<div id="page">
  <h1>osCSS Admin</h1>
        <div id="content">
  <h2><?php echo LOGOFF_HEADING_TITLE; ?></h2>
        <?php echo LOGOFF_TEXT_MAIN; ?><?php echo '<a class="button" href="' . tep_href_link(FILENAME_LOGIN, '', 'SSL') . '">' .  IMAGE_BACK . '</a>'; ?>
  </div>
  <h3>osCSS Admin</h3>
</div>
</body>
</html>
