2009-07-09 12:21:23 +00:00
|
|
|
<?php
|
2010-02-10 17:27:03 +00:00
|
|
|
//Enregistrement pour liste dernière recherche
|
2009-09-15 09:18:59 +00:00
|
|
|
require_once 'recherche/session.php';
|
|
|
|
$parametres = recherche_element(0);
|
|
|
|
if( isset($parametres) && $parametres['info']['page']=='recherche' )
|
2010-03-08 16:42:53 +00:00
|
|
|
{
|
2010-04-12 14:49:55 +00:00
|
|
|
recherche_saveinfo( array('page' => $page) );
|
|
|
|
recherche_saveinfo( array('siret' => $siret) );
|
|
|
|
recherche_saveinfo( array('idEntreprise' => $idEntreprise) );
|
2009-09-15 09:18:59 +00:00
|
|
|
}
|
2009-08-27 07:39:27 +00:00
|
|
|
?>
|
|
|
|
<div id="center">
|
|
|
|
<?php
|
2010-05-05 16:29:33 +00:00
|
|
|
require_once 'identite/datemaj.php';
|
2010-05-03 09:32:21 +00:00
|
|
|
require_once 'identite/content.php';
|
2009-08-27 07:39:27 +00:00
|
|
|
?>
|
2010-02-10 17:27:03 +00:00
|
|
|
<h2>Localisation géographique & Recherche presse</h2>
|
2010-03-18 11:15:43 +00:00
|
|
|
<div class="blockh2 clearfix">
|
2009-08-27 07:39:27 +00:00
|
|
|
<?php
|
2010-03-09 10:36:16 +00:00
|
|
|
// Information géographique
|
2010-03-17 16:46:28 +00:00
|
|
|
require_once 'identite/infogeo.php';
|
2009-08-27 07:39:27 +00:00
|
|
|
?>
|
2010-03-17 16:46:28 +00:00
|
|
|
<br/>
|
2010-03-08 16:42:53 +00:00
|
|
|
<?php
|
2010-03-18 11:15:43 +00:00
|
|
|
require_once 'identite/news.php';
|
2010-04-07 13:23:46 +00:00
|
|
|
require_once 'surveillance/surveillance_identite.php';
|
2009-12-16 11:14:54 +00:00
|
|
|
?>
|
2010-04-13 13:43:59 +00:00
|
|
|
</div>
|
2010-04-13 09:51:43 +00:00
|
|
|
<p class="confidentiel blockh2">
|
|
|
|
<?php
|
|
|
|
require_once 'cgu/cgu.php';
|
|
|
|
echo afficheCgu();
|
|
|
|
?>
|
|
|
|
</p>
|
2009-08-27 07:39:27 +00:00
|
|
|
<?php
|
2009-10-08 13:20:51 +00:00
|
|
|
if (($siret*1)==0 || ($siren*1)<100){ $fileName = 'identite-'.$idEntreprise;
|
|
|
|
}else{ $fileName = 'identite-'.$siret; }
|
|
|
|
|
2010-02-10 17:27:03 +00:00
|
|
|
//Exportation des données sous forme de fichier
|
2009-08-27 07:39:27 +00:00
|
|
|
function htmldecode($value){
|
2010-03-08 16:42:53 +00:00
|
|
|
$value = is_array($value) ? array_map('htmldecode', $value) : html_entity_decode($value, ENT_QUOTES, 'UTF-8');
|
|
|
|
return $value;
|
2009-08-27 07:39:27 +00:00
|
|
|
}
|
|
|
|
$tabTemp = htmldecode($etab);
|
|
|
|
$tabForExport[0] = $tabTemp;
|
|
|
|
|
|
|
|
require_once 'export.php';
|
|
|
|
|
|
|
|
$array2csv = new ExportCSV();
|
|
|
|
$array2csv->records = $tabForExport;
|
|
|
|
$array2csv->writeCSV($fileName);
|
|
|
|
|
|
|
|
$array2xml = new ExportXML();
|
|
|
|
$array2xml->rootName = $page.'s';
|
|
|
|
$array2xml->defaultTagName = $page;
|
|
|
|
$array2xml->records = $tabForExport;
|
|
|
|
$array2xml->writeXML($fileName);
|
|
|
|
?>
|
|
|
|
</div>
|