Modification structure HTML

This commit is contained in:
Michael RICOIS 2009-08-31 16:04:51 +00:00
parent 5e8511a14d
commit 96a084716b
5 changed files with 43 additions and 36 deletions

View File

@ -2,8 +2,7 @@
//Inclusion des js en fonction de la variable page
$tabScripts = array(
'scripts' => array(
'list' => array('jquery.js', 'jquery.bgiframe.js', 'jquery.autocomplete.js', 'dropDownOverlapping.js', 'jquery.dimensions.js', 'jquery.easing.js', 'jquery-ui.js', 'menu2.js', 'scripts2.js'),
//Pour le nouveau menu ajout : 'jquery.dimensions.js', 'jquery.easing.js', 'jquery-ui.js'
'list' => array('jquery.js', 'jquery.bgiframe.js', 'jquery.autocomplete.js', 'dropDownOverlapping.js', 'jquery.dimensions.js', 'jquery.easing.js', 'jquery-ui.js', 'scripts2.js'),
'pages' => array('all'),
),
'scripts_saisie' => array(

19
www/pagefooter.php Normal file
View File

@ -0,0 +1,19 @@
<p>
&copy; 2006-<?=date('Y')?> Scores &amp; D&eacute;cisions SAS -
Tous droits r&eacute;serv&eacute;s - <a href="<?=SITEINST_URL2?>mentions.php" target="_blank">Mentions l&eacute;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>

View File

@ -452,7 +452,7 @@ if (@$etab['GeoInfos']['ZUS']=='OUI' || @$etab['GeoInfos']['ZFU']=='OUI' || @$et
if ($etab['GeoInfos']['ZFU']=='OUI') echo '<a href="http://sig.ville.gouv.fr/Territoire/'.$etab['GeoInfos']['NZFU'].'" target="_blank">ZFU n°'.$etab['GeoInfos']['NZFU'].'</a><br/>';
//elseif ($etab['GeoInfos']['ZFU']=='NSP') echo 'Implantation en ZFU &agrave; v&eacute;rifier<br/>';
if ($etab['GeoInfos']['ZRU']=='OUI') echo '<a href="http://sig.ville.gouv.fr/Territoire/'.$etab['GeoInfos']['NZRU'].'" target="_blank">ZRU n°'.$etab['GeoInfos']['NZRU'].'</a><br/>';
if ($etab['GeoInfos']['ZRR']=='OUI') echo '<a href="http://www.diact.gouv.fr/IMG/Fichiers/Rural%20/ZRR/carte_zrr_20090409.pdf" target="_blank">ZRR n°'.$etab['GeoInfos']['NZRR'].'</a><br/>';
if ($etab['GeoInfos']['AFR']=='OUI') echo '<a href="http://www.diact.gouv.fr/fr_1/amenagement_du_territoire_44/aides_aux_entreprises_626/aides_finalite_regionale_afr_719/zonage_afr_2007_2013_1478.html" target="_blank">AFR n°'.$etab['GeoInfos']['NAFR'].'</a><br/>';
//elseif ($etab['GeoInfos']['ZRU']=='NSP') echo 'Implantation en ZRU &agrave; v&eacute;rifier<br/>';

View File

@ -9,7 +9,9 @@ if (!isset($page2))
}
require_once 'siren.php';
?>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr" dir="ltr">
<head>
<title>Extranet Scores &amp; D&eacute;cisions - <?=$title?></title>
<?php require_once 'includeheader.php'; ?>
@ -28,31 +30,8 @@ if ($sortie!='pdf' && $sortie!='prt') require_once('menu2.php');
</div>
<div id="content">
<?php include($page2); ?>
<div id="footer">
<p>
&copy; 2006-<?=date('Y')?> Scores &amp; D&eacute;cisions SAS -
Tous droits r&eacute;serv&eacute;s - <a href="<?=SITEINST_URL2?>mentions.php" target="_blank">Mentions l&eacute;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 id="page"><?php include($page2); ?></div>
<div id="footer"><?php include('pagefooter.php');?></div>
</div>
</div> <!-- //container -->

View File

@ -1,3 +1,8 @@
<?php
$siret = $_REQUEST['siret'];
$idEntreprise = $_REQUEST['idEntreprise'];
?>
<div id="floatMenu">
<div id="logo"><img src="./img/logo_menu.gif" width="200" height="65"></div>
<div id="Menu">
@ -33,7 +38,9 @@ else
}
if (preg_match('/IPARI/i', $_SESSION['tabInfo']['droits']))
{
if ($siret*1<>0) { ?>
if ($siret*1!=0)
{
?>
<li><a href="<?=IPARI_URL?>?siret=<?=$siret?>" target="_blank">Centrale IparI &copy;</a></li>
<?php
}
@ -50,12 +57,15 @@ if (preg_match('/IPARI/i', $_SESSION['tabInfo']['droits']))
<h3><a href="#">IDENTIT&Eacute;</a></h3>
<div>
<ul>
<?php if ($siret*1==0 && $idEntreprise*1==0) {?>
<?php
if ($siret*1==0 && $idEntreprise*1==0) {?>
<li><a href="#"><font color="Gray">Fiche d'identité</font></a></li>
<?php } else { ?>
<li><a href="/?page=identite&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Fiche d'identité</a></li>
<?php }
if ($siret*1<>0) {?>
if ($siret*1!=0)
{
?>
<li><a href="/?page=etablissements&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Liste des établisssements</a></li>
<li><a href="/?page=liens&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Liens inter-entreprise</a></li>
<?php } else { ?>
@ -116,7 +126,7 @@ if (preg_match('/IPARI/i', $_SESSION['tabInfo']['droits']))
<?php }else{?>
<li><a href="/?page=annonces&idEntreprise=<?=$idEntreprise?>&idan=<?=$sourceId?>&siret=<?=$siret?>&source=<?=$source?>">Annonces Légales</a></li>
<?php }
}else if ($siret*1<>0) { ?>
}else if ($siret*1!=0) { ?>
<li><a href="/?page=annonces&siret=<?=$siret?>&source=<?=$source?>&idEntreprise=<?=$idEntreprise?>">Annonces Légales</a></li>
<li><a href="/?page=infosreg&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Information Réglementée</a></li>
<li><a href="/?page=competences&siret=<?=$siret?>&codcom=<?=$tabEntrep['codeCommune']?>&vue=tous&idEntreprise=<?=$idEntreprise?>">Compétences Territoriales</a></li>
@ -129,7 +139,7 @@ if (preg_match('/IPARI/i', $_SESSION['tabInfo']['droits']))
<?php
}
if (preg_match('/MARQUES/i', $_SESSION['tabInfo']['droits'])) {
if ($siret*1<>0) { ?>
if ($siret*1!=0) { ?>
<li><a href="/?page=marques&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Marques déposées</a></li>
<?php } else { ?>
<li><a href="#"><font color="Gray">Marques déposées</font></a></li>
@ -141,7 +151,7 @@ if (preg_match('/IPARI/i', $_SESSION['tabInfo']['droits']))
<div>
<ul>
<?php
if ($siret*1<>0) {?>
if ($siret*1!=0) {?>
<li><a href="/?page=indiscore&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">IndiScore &copy;</a></li>
<?php if ($_SESSION['tabInfo']['login']=='reunicacsf' || $_SESSION['tabInfo']['login']=='testreunica' || $_SESSION['tabInfo']['login']=='ylenaour' || $_SESSION['tabInfo']['login']=='mheitz' || $_SESSION['tabInfo']['login']=='mricois' || $_SESSION['tabInfo']['login']=='jmartory' ) { ?>
<li><a href="#"><font color="Gray">IndiScore + &copy;</font></a></li>
@ -168,7 +178,7 @@ if (preg_match('/IPARI/i', $_SESSION['tabInfo']['droits']))
<div>
<ul>
<?php
if ($siret*1<>0) {
if ($siret*1!=0) {
if (preg_match('/KBIS/i', $_SESSION['tabInfo']['droits']) || $_SESSION['tabInfo']['login']=='mricois') {?>
<li><a href="/?page=kbis&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">K-Bis</a></li>
<?php }?>