61 lines
1.5 KiB
PHP
61 lines
1.5 KiB
PHP
<?php
|
|
if (!$_SESSION['connected']) die('Erreur 11000 : Not connected');
|
|
//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';
|
|
?>
|
|
<html>
|
|
<head>
|
|
<title>Extranet Scores & Décisions - <?=$title?></title>
|
|
<?php require_once 'includeheader.php'; ?>
|
|
</head>
|
|
<body <?php if ($sortie=='prt'){?>onLoad="window.print();window.close();"<?php }?>>
|
|
|
|
<div id="wrapper">
|
|
<div id="container">
|
|
|
|
<div id="header"></div>
|
|
|
|
<div id="left">
|
|
<?php
|
|
if ($sortie!='pdf' && $sortie!='prt') require_once('menu2.php');
|
|
?>
|
|
</div>
|
|
|
|
<div id="content">
|
|
<?php include($page2); ?>
|
|
|
|
|
|
<div id="footer">
|
|
<p>
|
|
© 2006-<?=date('Y')?> Scores & Décisions SAS -
|
|
Tous droits réservés - <a href="<?=SITEINST_URL2?>mentions.php" target="_blank">Mentions légales</a>
|
|
<?
|
|
if ($sortie!='prt') {
|
|
if ($page=='recherche'){
|
|
if ($_REQUEST['vue']=='list' ) $_SERVER['REQUEST_URI'] = str_replace('vue=list', 'vue=list_pre', $_SERVER['REQUEST_URI']);
|
|
}
|
|
|
|
$printUrl = $_SERVER['REQUEST_URI'];
|
|
if ($page=='bilans' && isset($_REQUEST['type']) && $_REQUEST['type']!=''){
|
|
$printUrl.= '&type='.$_REQUEST['type'];
|
|
}
|
|
?>
|
|
- <a href="<?=$printUrl;?>&sortie=prt" target="_blank"><img src="./img/icone_print.png"/></a>
|
|
<?php
|
|
}
|
|
?>
|
|
</p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div> <!-- //container -->
|
|
</div> <!-- //wrapper -->
|
|
</body>
|
|
</html>
|