extranet/www/pages/main.php

82 lines
2.6 KiB
PHP
Raw Normal View History

<?
if (!$_SESSION['connected']) die('Erreur 11000 : Not connected');
2009-03-04 16:46:29 +00:00
//Affectation de valeur par d<>faut pour arriver sur la page de recherche
if (!isset($page2)){
$page2='recherche.php';
$vueRecherche = 'ent';
}
2009-03-04 16:46:29 +00:00
require_once(realpath(dirname(__FILE__).'/../../includes/siren.php'));
2009-02-26 17:16:11 +00:00
?>
<html>
<head>
<title>Extranet Scores &amp; D&eacute;cisions - <?=$title?></title>
2009-03-02 14:25:00 +00:00
<link rel="stylesheet" type="text/css" href="./css/main.css" />
<link rel="stylesheet" type="text/css" href="./css/menu.css" />
<link rel="stylesheet" type="text/css" href="./css/infogreffe_base.css" />
<link rel="stylesheet" type="text/css" href="./css/infogreffe.css" />
<link rel="stylesheet" type="text/css" href="./css/jquery.autocomplete.css" />
<?php
if($sortie!='prt'){
?>
2009-02-23 11:08:09 +00:00
<script type="text/javascript" src="./js/jquery.js"></script>
<script type="text/javascript" src="./js/jquery.bgiframe.min.js"></script>
<script type="text/javascript" src="./js/jquery.autocomplete.js"></script>
2009-03-02 14:25:00 +00:00
<script type="text/javascript" src="./js/menu.js"></script>
<script type="text/javascript" src="./js/dropDownOverlapping.js"></script>
<script type="text/javascript" src="./js/scripts.js"></script>
<?php
}
?>
</head>
<?php
if ($sortie!='prt')
{
?>
<body onResize="JSFX_FloatTopDiv()">
<?php
} elseif ($sortie=='prt') {
?>
<body onLoad="window.print();window.close();">
<?php
2009-03-02 14:25:00 +00:00
}
?>
<center>
<table border="0" width="800" height="600">
<tr>
<?php
2009-03-02 14:25:00 +00:00
if ($sortie<>'pdf' && $sortie<>'prt') {
?>
<td width="220" valign="top"><!--<img src="./img/logo_menu.png" width="200" height="65" />-->&nbsp;</td>
<td width="580"><table id="MainPage" cellSpacing="0" border="0" cellPadding="0" align="left" height="100%"><tr><td valign="top"><?include($page2)?></td></tr></table></td>
<?php
2009-03-02 14:25:00 +00:00
} else {
?>
<td width="800"><table id="MainPage" cellSpacing="0" border="0" cellPadding="0" align="left" height="100%"><tr><td valign="top"><?include($page2)?></td></tr></table></td>
<?php } ?>
</tr>
</table><br/>
<font size="1" face="Arial, Helvetica, sans-serif">
&copy; 2006-<?=date('Y')?> Scores &amp; D&eacute;cisions SAS -
Tous droits r&eacute;serv&eacute;s - <a href="<?=SITEINST_URL2?>mentions.htm" target="_blank">Mentions l&eacute;gales</a>
<?
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-03-06 16:20:20 +00:00
}
?>
2009-03-06 16:20:20 +00:00
- <a href="<?=$_SERVER['REQUEST_URI']?>&sortie=prt" target="_blank"><img src="./img/icone_print.png"/></a>
<?php
}
?>
</font>
</center>
<?php
2009-03-06 16:20:20 +00:00
if ($sortie!='pdf' && $sortie!='prt') {
require_once('menu.php');
}
?>
</body>
</html>