Modification structure HTML

This commit is contained in:
Michael RICOIS 2009-08-31 09:38:00 +00:00
parent 3386d4c56c
commit 9fd88a8983
8 changed files with 80 additions and 84 deletions

View File

@ -27,8 +27,4 @@
#international div.submit p.required-note{margin-top:1em;}
#international div.submit p.required-note span{color:#4B911C;_color:#666;font-size:170%;vertical-align:top;}
#center { background: #ffffff; width:580px; padding:5px; }
#center h1 { margin:5px; padding:5px; background: #606060; color:#ffffff; font: 600 1.4em arial, verdana, sans-serif; }
#center h2 { margin:5px; padding:5px; background: #00008c; color:#ffffff; font: bold 1.2em arial, verdana, sans-serif; }

View File

@ -1,6 +1,8 @@
body {
background-color: #BEBEBE;
font-family: Arial
font-family: Arial;
margin: 0; /* pour éviter les marges */
text-align: center; /* pour corriger le bug de centrage IE */
}
img {
@ -219,13 +221,26 @@ table.table-classic tr.last td.titre {
background-color: #2b2b8b;
}
#center {background: #ffffff; width:570px; padding:5px; }
/* Nouveau style */
#container {
position: relative; /* on positionne le conteneur */
width:800px;
margin:0 auto;
text-align:left;
}
#left {margin:0; padding:0;}
#content {margin:0; padding:0;}
#MainPage {float:left; margin:0; padding:0; }
#center {float:left; width:580px; padding:0; margin:0 0 0 10px; background: #ffffff; }
#center h1 {margin:5px; padding:5px; background:#606060; color:#ffffff; font:600 1.4em Arial, Verdana, Sans-serif; letter-spacing:1px; line-height:1.2em;}
#center h2 {clear:both; margin:5px; padding:5px; background:#00008c; color:#ffffff; font:bold 1.2em Arial, Verdana, Sans-serif; }
#footer { clear:both; width:100%; margin:20px 0; }
#footer p { width:80%; margin:0 auto; font:0.6em Arial, Helvetica, sans-serif; }
.logout h4 {font-size: 16px;}
.logout h5 {font-size: 14px;}
#formR-submit {border:none;}

View File

@ -1,4 +1,4 @@
#floatMenu {font:12px Arial, Sans-serif; position:absolute; top:0px; left:10%; margin-left:50px; width:200px; }
#floatMenu {float:left; font:12px Arial, Sans-serif; width:200px; margin:0;}
#floatMenu #logo img {width:200px; height:65px; }
#floatMenu #icones {text-align:center; margin-top:5px;}
.ui-accordion .ui-accordion-header {position:relative; margin:0; height:25px; font-size:12px; line-height:25px; cursor:pointer; background:#00a0c6 url(/img/menu/title.gif);}

View File

@ -15,18 +15,9 @@ $(document).ready(function(){
});
//Auto Scroll
//var menuYloc = null;
var menuYloc = parseInt($("#floatMenu").css("top").substring(0,$("#floatMenu").css("top").indexOf("px")));
$(window).scroll(function() {
offset = menuYloc+$(document).scrollTop()+"px";
$("#floatMenu").animate({top:offset},{duration:250,queue:false});
});
var reference = parseInt($("#MainPage").css("left").substring(0,$("#MainPage").css("left").indexOf("px")));
$(window).resize(function(){
offset = parseInt($("#MainPage").css("left").substring(0,$("#MainPage").css("left").indexOf("px")))-reference;
offset = parseInt($("#floatMenu").css("left").substring(0,$("#floatMenu").css("left").indexOf("px")))+offset+"px";
$("#floatMenu").animate({left:offset},{duration:250,queue:false});
var offset = $(document).scrollTop();
$("#floatMenu").css('margin-top',offset);
});
});

View File

@ -1,8 +1,8 @@
<?php
if (!$_SESSION['connected']) die('Erreur 11000 : Not connected');
//Affectation de valeur par défaut pour arriver sur la page de recherche
if (!isset($page2)){
if (!isset($page2))
{
$title='Recherche';
$page2='recherche.php';
$vueRecherche = 'ent';
@ -14,49 +14,25 @@ require_once 'siren.php';
<title>Extranet Scores &amp; D&eacute;cisions - <?=$title?></title>
<?php require_once 'includeheader.php'; ?>
</head>
<body <?php if ($sortie=='prt'){?>onLoad="window.print();window.close();"<?php }?>>
<div id="wrapper">
<div id="container">
<div id="header"></div>
<div id="left">
<?php
if ($sortie!='prt' || $sortie !='pdf') {
if ($sortie!='pdf' && $sortie!='prt') require_once('menu2.php');
?>
<body onResize="JSFX_FloatTopDiv()">
<?php
} elseif ($sortie=='prt') {
?>
<body onLoad="window.print();window.close();">
<?php
}
?>
<center>
<table border="0" width="800" height="600">
<tr>
<?php
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
} 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">
</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>
<?
@ -74,13 +50,12 @@ if ($sortie!='prt') {
<?php
}
?>
</p>
</div>
</font>
</center>
<?php
if ($sortie!='pdf' && $sortie!='prt') {
require_once('menu2.php');
}
?>
</div>
</div> <!-- //container -->
</div> <!-- //wrapper -->
</body>
</html>

View File

@ -7,22 +7,44 @@
<li><a href="/?page=recherche&vue=ent">Rechercher une entreprise</a></li>
<li><a href="/?page=recherche&vue=dir">Rechercher par dirigeant</a></li>
<?php
if ($_SESSION['tabInfo']['login']=='mricois' || $_SESSION['tabInfo']['login']=='mheitz' || $_SESSION['tabInfo']['login']=='jmartory' || $_SESSION['tabInfo']['login']=='ylenaour' || $_SESSION['tabInfo']['login']=='fzicaro' || $_SESSION['tabInfo']['login']=='mcochet' || $_SESSION['tabInfo']['login']=='olecce' ){
if ($_SESSION['tabInfo']['login']=='mricois'
|| $_SESSION['tabInfo']['login']=='mheitz'
|| $_SESSION['tabInfo']['login']=='jmartory'
|| $_SESSION['tabInfo']['login']=='ylenaour'
|| $_SESSION['tabInfo']['login']=='fzicaro'
|| $_SESSION['tabInfo']['login']=='mcochet'
|| $_SESSION['tabInfo']['login']=='olecce' )
{
?>
<li><a href="/?page=international_recherche">Recherche internationale</a></li>
<?php }
if (isset($_SESSION['list_pre']) || $_SESSION['list_pre']!=''){ ?>
<?php
}
if (isset($_SESSION['list_pre']) || $_SESSION['list_pre']!='')
{
?>
<li><a href="/?page=recherche&vue=list_pre">Derni&egrave;re recherche</a></li>
<?php }else{ ?>
<?php
}
else
{
?>
<li><a href="#"><font color="gray">Derni&egrave;re recherche</font></a></li>
<?php }
if (preg_match('/IPARI/i', $_SESSION['tabInfo']['droits'])) {
<?php
}
if (preg_match('/IPARI/i', $_SESSION['tabInfo']['droits']))
{
if ($siret*1<>0) { ?>
<li><a href="<?=IPARI_URL?>?siret=<?=$siret?>" target="_blank">Centrale IparI &copy;</a></li>
<?php }else{ ?>
<?php
}
else
{
?>
<li><a href="<?=IPARI_URL?>" target="_blank">Centrale IparI &copy;</a></li>
<?php }
} ?>
<?php
}
}
?>
</ul>
</div>
<h3><a href="#">IDENTIT&Eacute;</a></h3>

View File

@ -62,9 +62,6 @@ require_once 'surveillance/surveillance_tri.php';
$listTrier = $fonctionTri($listSurveillance);
?>
<style>
#center {background: #ffffff; width:580px; padding:5px; }
#center h1 {margin:5px; padding:5px; background:#606060; color:#ffffff; font:600 1.4em Arial, Verdana, Sans-serif; letter-spacing:1px; line-height:1.2em;}
#center h2 {margin:5px; padding:5px; background:#00008c; color:#ffffff; font:bold 1.2em Arial, Verdana, Sans-serif; }
#surveillance {margin:5px; border-collapse:collapse; border:1px solid; font:normal 1em Arial, Verdana, Sans-serif; letter-spacing:1px; line-height: 1em;}
#surveillance tr {border:1px solid;}
#surveillance th {border:1px solid; padding:5px 15px 5px 2px;}