<?php
/**
 * @package linea21.core
 * @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 . '"  xml:lang="' .LANGUAGE. '" ?>' . 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" xml:lang="<?php echo LANGUAGE; ?>">
<head>
<title><?php echo $GLOBALS['lang']['header']['title'];?></title>
<meta http-equiv="content-language" content="<?php echo LANGUAGE;?>" />
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET;?>" />
<link rel="icon" type="image/gif" href="../gfx/<?php echo THEME_ADMIN; ?>/images/admin/favicon.gif" />
<link type="text/css" rel="StyleSheet" href="../gfx/<?php echo THEME_ADMIN; ?>/css/admin_common.css" />
<style type="text/css" media="all">
<?php
if (basename($_SERVER['SCRIPT_NAME']) != 'search.php') {
    echo '@import url(../gfx/' .THEME_ADMIN. '/css/admin_' . $rub . '.css);';
} else {
	echo '@import url(../gfx/' .THEME_ADMIN. '/css/admin_search.css);';
} 

?>
</style>
<script type="text/javascript">
var SITE_ROOT_URL="<?php echo SITE_ROOT_URL; ?>";
var lang ="<?php echo LANGUAGE; ?>";
</script>
<script type="text/javascript" src="../lib/js/jquery-1.2.6.min.js"></script>
<?php IncludedatePickerJs(); ?>
<?php IncludeLightboxJs(); ?>
<?php IncludeRichTextEditor(); ?>
<?php IncludeTextResizerJs(); ?>
<script type="text/javascript" src="../lib/js/functions_admin.js"></script>
</head>
<body>
<div id="container" style="background-image: url(../gfx/<?php echo THEME_ADMIN; ?>/images/admin/<?php echo LANGUAGE;?>/bgcontainer.png);">
<!-- barre haute -->
<div id="deconnexion">
	<a href="logout.php" style="margin: 1.3em"><?php echo $GLOBALS['lang']['header']['deconnexion'];
?></a>
</div>
<div id="bienvenue"><?php echo $GLOBALS['lang']['header']['welcome'];
?> <span><?php echo GetSessionElement('login');
?></span></div>
<!--end barre haute -->