Modification pour gestion logo, compte test sita

This commit is contained in:
Michael RICOIS 2011-01-24 08:29:15 +00:00
parent c10564c0dd
commit a91b6a02fc
3 changed files with 12 additions and 7 deletions

View File

@ -4,11 +4,6 @@
margin:0;
}
#floatMenu #logo img {
width:200px;
height:65px;
}
#floatMenu #icones {
text-align:center;
margin-top:5px;

BIN
www/img/logo_sita.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

View File

@ -1,11 +1,21 @@
<div id="floatMenu">
<?php
$logo = './img/logo_menu.gif';
if($_SESSION['tabInfo']['login']=='blabla'){
$logo_width = 200;
$logo_height = 65;
if ( $_SESSION['tabInfo']['login']=='blabla' ){
$logo = './img/logo_sg.gif';
$logo_width = 200;
$logo_height = 65;
} elseif ($_SESSION['tabInfo']['login']=='testsd30') {
$logo = './img/logo_sita.gif';
$logo_width = 200;
$logo_height = 128;
}
?>
<div id="logo"><img src="<?=$logo?>" width="200" height="65"/></div>
<div id="logo">
<img src="<?=$logo?>" width="<?php echo $logo_width?>" height="<?php echo $logo_height?>"/>
</div>
<div id="Menu">
<?php