<?php
if (!$_SESSION['connected']){
	$message = 'Erreur 11000 : Not connected';
	$page2 = 'themes/default/error-connect.tpl.php';
}
//Affectation de valeur par défaut pour arriver sur la page de recherche
if (!isset($page2))
{
	$title='Recherche';
	$page2='recherche.php';
	$vueRecherche = 'ent';
}
require_once 'siren.php';
?>
<!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="fr" lang="fr" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?=CHARSET?>" />
<title>Extranet Scores &amp; D&eacute;cisions - <?=$title?></title>
<?php require_once 'includeheader.php'; ?>
</head>
<body>
<div id="container">
	<div id="left">
	<?php if ($sortie!='pdf' && $sortie!='prt') require_once 'menu.php'; ?>
	</div>
	<div id="content">
		<div id="page">
			<?php include($page2); ?>
			<div id="footer">
			<?php include('pagefooter.php');?>
			</div>
		</div> <!-- //page -->
	</div> <!-- //content -->
</div> <!-- //container -->
</body>
</html>