2009-03-11 07:51:18 +00:00
|
|
|
|
<?php
|
2009-02-26 17:56:35 +00:00
|
|
|
|
if (!$_SESSION['connected']) die('Erreur 11000 : Not connected');
|
2009-03-04 16:46:29 +00:00
|
|
|
|
|
2009-03-03 16:09:27 +00:00
|
|
|
|
//Affectation de valeur par d<>faut pour arriver sur la page de recherche
|
2009-02-26 17:56:35 +00:00
|
|
|
|
if (!isset($page2)){
|
2009-07-09 10:19:52 +00:00
|
|
|
|
$title='Recherche';
|
2009-02-26 17:56:35 +00:00
|
|
|
|
$page2='recherche.php';
|
|
|
|
|
$vueRecherche = 'ent';
|
|
|
|
|
}
|
2009-07-09 10:19:52 +00:00
|
|
|
|
require_once 'siren.php';
|
2009-02-26 17:16:11 +00:00
|
|
|
|
?>
|
|
|
|
|
<html>
|
2009-02-19 16:28:12 +00:00
|
|
|
|
<head>
|
|
|
|
|
<title>Extranet Scores & Décisions - <?=$title?></title>
|
2009-07-15 14:27:29 +00:00
|
|
|
|
<?php require_once 'includeheader.php'; ?>
|
2009-07-09 10:19:52 +00:00
|
|
|
|
</head>
|
2009-05-28 07:42:54 +00:00
|
|
|
|
<?php
|
2009-08-31 08:49:29 +00:00
|
|
|
|
if ($sortie!='prt' && $sortie !='pdf') {
|
2009-05-28 07:42:54 +00:00
|
|
|
|
?>
|
2009-07-09 10:19:52 +00:00
|
|
|
|
<body onResize="JSFX_FloatTopDiv()">
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<?php
|
2009-07-09 10:19:52 +00:00
|
|
|
|
} elseif ($sortie=='prt') {
|
2009-03-11 07:51:18 +00:00
|
|
|
|
?>
|
2009-07-09 10:19:52 +00:00
|
|
|
|
<body onLoad="window.print();window.close();">
|
2009-03-03 16:09:27 +00:00
|
|
|
|
<?php
|
2009-02-19 16:28:12 +00:00
|
|
|
|
}
|
2009-03-03 16:09:27 +00:00
|
|
|
|
?>
|
|
|
|
|
<center>
|
|
|
|
|
<table border="0" width="800" height="600">
|
|
|
|
|
<tr>
|
2009-07-09 10:19:52 +00:00
|
|
|
|
<?php
|
2009-08-11 16:55:43 +00:00
|
|
|
|
if ($sortie!='pdf' && $sortie!='prt') {
|
2009-03-03 16:09:27 +00:00
|
|
|
|
?>
|
2009-08-31 08:49:29 +00:00
|
|
|
|
<td width="220" valign="top"> </td>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<td width="580">
|
|
|
|
|
<table id="MainPage" cellSpacing="0" border="0" cellPadding="0" align="left" height="100%">
|
|
|
|
|
<tr>
|
|
|
|
|
<td valign="top">
|
2009-08-31 08:49:29 +00:00
|
|
|
|
<?php
|
|
|
|
|
include($page2);
|
|
|
|
|
?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
2009-07-09 10:19:52 +00:00
|
|
|
|
<?php
|
|
|
|
|
} else {
|
2009-03-03 16:09:27 +00:00
|
|
|
|
?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
<td width="800">
|
|
|
|
|
<table id="MainPage" cellSpacing="0" border="0" cellPadding="0" align="left" height="100%">
|
|
|
|
|
<tr>
|
|
|
|
|
<td valign="top">
|
2009-08-31 08:49:29 +00:00
|
|
|
|
<?php
|
|
|
|
|
include($page2);
|
|
|
|
|
?>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
</td>
|
2009-04-20 12:41:56 +00:00
|
|
|
|
</tr>
|
2009-03-11 07:51:18 +00:00
|
|
|
|
</table>
|
|
|
|
|
</td>
|
2009-03-03 16:09:27 +00:00
|
|
|
|
<?php } ?>
|
2009-02-19 16:28:12 +00:00
|
|
|
|
</tr>
|
|
|
|
|
</table><br/>
|
2009-03-03 16:09:27 +00:00
|
|
|
|
<font size="1" face="Arial, Helvetica, sans-serif">
|
2009-07-09 10:19:52 +00:00
|
|
|
|
© 2006-<?=date('Y')?> Scores & Décisions SAS -
|
2009-04-07 15:08:40 +00:00
|
|
|
|
Tous droits réservés - <a href="<?=SITEINST_URL2?>mentions.php" target="_blank">Mentions légales</a>
|
2009-07-09 10:19:52 +00:00
|
|
|
|
<?
|
2009-03-03 16:09:27 +00:00
|
|
|
|
if ($sortie!='prt') {
|
2009-03-06 17:12:26 +00:00
|
|
|
|
if ($page=='recherche'){
|
|
|
|
|
if ($_REQUEST['vue']=='list' ) $_SERVER['REQUEST_URI'] = str_replace('vue=list', 'vue=list_pre', $_SERVER['REQUEST_URI']);
|
2009-07-09 10:19:52 +00:00
|
|
|
|
}
|
|
|
|
|
|
2009-03-20 14:44:33 +00:00
|
|
|
|
$printUrl = $_SERVER['REQUEST_URI'];
|
|
|
|
|
if ($page=='bilans' && isset($_REQUEST['type']) && $_REQUEST['type']!=''){
|
|
|
|
|
$printUrl.= '&type='.$_REQUEST['type'];
|
|
|
|
|
}
|
2009-07-09 10:19:52 +00:00
|
|
|
|
?>
|
2009-03-20 14:44:33 +00:00
|
|
|
|
- <a href="<?=$printUrl;?>&sortie=prt" target="_blank"><img src="./img/icone_print.png"/></a>
|
2009-07-09 10:19:52 +00:00
|
|
|
|
<?php
|
|
|
|
|
}
|
2009-03-06 16:20:20 +00:00
|
|
|
|
?>
|
2009-02-19 16:28:12 +00:00
|
|
|
|
|
|
|
|
|
</font>
|
|
|
|
|
</center>
|
2009-07-09 10:19:52 +00:00
|
|
|
|
<?php
|
|
|
|
|
if ($sortie!='pdf' && $sortie!='prt') {
|
2009-05-28 07:42:54 +00:00
|
|
|
|
require_once('menu.php');
|
2009-07-09 10:19:52 +00:00
|
|
|
|
}
|
2009-02-27 16:54:04 +00:00
|
|
|
|
?>
|
2009-02-19 16:28:12 +00:00
|
|
|
|
</body>
|
2009-02-17 13:14:53 +00:00
|
|
|
|
</html>
|