extranet/www/pages/menu.php

47 lines
1.8 KiB
PHP
Raw Normal View History

<script> if (!document.layers){ document.write('<div id="divStayTopLeft" style="position:absolute">'); }</script>
<layer id="divStayTopLeft">
<div style="float:left" id="my_menu" class="sdmenu">
<img src="./img/logo_menu.gif" width="200" height="65">
2009-07-01 09:02:54 +00:00
<?php
2009-10-02 09:24:43 +00:00
require_once 'menu/menu.php';
print menu();
2009-03-06 16:26:26 +00:00
//Ajout des param<61>tres optionnelles pour la page recherche (lors de la premi<6D>re recherche)
2009-03-06 17:12:26 +00:00
if ($page=='recherche'){
if ($_REQUEST['vue']=='list' ) $_SERVER['QUERY_STRING'] = str_replace('vue=list', 'vue=list_pre', $_SERVER['QUERY_STRING']);
2009-03-06 16:26:26 +00:00
}
?>
2009-03-09 14:23:25 +00:00
<span>&nbsp;</span>
<center>
2009-07-01 09:02:54 +00:00
<?php
$printUrl = $_SERVER['QUERY_STRING'];
if ($page=='bilans' && isset($_REQUEST['type']) && $_REQUEST['type']!=''){
$printUrl.= '&type='.$_REQUEST['type'];
}
?>
<a href="/?<?=$printUrl;?>&sortie=prt" title="Impression" target="_blank">
2009-03-09 17:57:38 +00:00
<img src="./img/exporticones/printer.png"" alt="Impression"/></a>&nbsp;
2009-03-06 16:26:26 +00:00
<?php
2009-10-02 09:24:43 +00:00
if($page!='recherche' && $page!='main' && $page!='' )
{
2009-10-02 09:24:43 +00:00
$firephp->log($page, 'page');
2009-03-06 16:26:26 +00:00
?>
<a href="./?<?=$_SERVER['QUERY_STRING'];?>&sortie=pdf" target="_blank" title="PDF"><img src="./img/exporticones/pdf.png" alt="PDF"></a>&nbsp;
2009-07-01 09:02:54 +00:00
<?php
2009-05-28 17:10:09 +00:00
}
if ($page=='identite' || $page=='etablissements' || $page=='liens' || $page=='evenements' || $page=='dirigeants'){
?>
<a href="./exportcsv.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" title="CSV"><img src="./img/exporticones/csv.png" alt="CSV"></a>&nbsp;
2009-07-01 09:02:54 +00:00
<?php
2009-05-28 17:10:09 +00:00
}
if ($page=='identite' || $page=='etablissements' || $page=='liens' || $page=='evenements' || $page=='dirigeants' || $page=='annonces'){
2009-05-28 17:10:09 +00:00
?>
<a href="./exportxml.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" title="XML"><img src="./img/exporticones/xml.png" alt="XML"></a>&nbsp;
</center>
2009-07-01 09:02:54 +00:00
<?php
2009-03-06 17:12:26 +00:00
}
2009-03-06 16:26:26 +00:00
?>
</div>
</layer>
<script type="text/javascript" src="./js/menubottom.js"></script>