par
msi79 » 04 mars 2012, 15:23
voici le code de logo.php
<?php
session_start();
if (!isset($_SESSION['login'])) {
header ('Location: index.php');
exit();
}
?>
Bienvenue----<?php echo htmlentities(trim($_SESSION['login'])); ?>!<br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Document sans titre</title>
<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body onload="MM_preloadImages('images/logo2.jpg')">
<a href="deconnexion.php">Déconnexion</a>
<p><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('logo1','','images/logo2.jpg',1)"></a>
</p>
<p> </p>
<p> </p>
<table width="1206" height="146" border="0" align="center">
<tr>
<td colspan="8"> </td>
</tr>
<tr>
<td width="124"><img src="images/images (3).jpg" alt="41" width="124" height="125" /></td>
<td width="130"><img src="images/images (2).jpg" alt="4" width="130" height="131" /></td>
<td width="148"><img src="images/images.jpg" alt="11" width="148" height="147" /></td>
<td width="164"><img src="images/images (8).jpg" alt="1" width="164" height="146" /></td>
<td width="158"><img src="images/images (5).jpg" alt="4" width="144" height="161" /></td>
<td width="150"><img src="images/pc-portable.jpg" alt="401" width="150" height="150" /></td>
<td width="150"><img src="images/LD0000901222_1.jpg" alt="11" width="150" height="150" /></td>
<td width="150"><img src="images/moniteurlcd.jpg" alt="11" width="150" height="150" /></td>
</tr>
<tr>
<td colspan="8"><table width="1198" border="0">
<tr>
<td bgcolor="#0A5B79"> </td>
</tr>
</table></td>
</tr>
</table>
<p> </p>
<table width="200" border="0" align="center" bordercolor="#0F5A7A">
<tr>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('logo1','','images/logo2.jpg',1)"><img src="images/logo1.jpg" alt="edfghjk" name="logo1" width="905" height="215" border="0" id="logo1" /></a></td>
</tr>
</table>
<table width="115" border="0" align="center">
<tr>
<td width="109"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="105" height="21" title="ENTRER">
<param name="movie" value="button104.swf" />
<param name="quality" value="high" />
<embed src="button104.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="105" height="21" ></embed>
</object></td>
</tr>
</table>
<p> </p>
</body>
</html>
voici le code de logo.php
[php]<?php
session_start();
if (!isset($_SESSION['login'])) {
header ('Location: index.php');
exit();
}
?>
Bienvenue----<?php echo htmlentities(trim($_SESSION['login'])); ?>!<br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Document sans titre</title>
<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body onload="MM_preloadImages('images/logo2.jpg')">
<a href="deconnexion.php">Déconnexion</a>
<p><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('logo1','','images/logo2.jpg',1)"></a>
</p>
<p> </p>
<p> </p>
<table width="1206" height="146" border="0" align="center">
<tr>
<td colspan="8"> </td>
</tr>
<tr>
<td width="124"><img src="images/images (3).jpg" alt="41" width="124" height="125" /></td>
<td width="130"><img src="images/images (2).jpg" alt="4" width="130" height="131" /></td>
<td width="148"><img src="images/images.jpg" alt="11" width="148" height="147" /></td>
<td width="164"><img src="images/images (8).jpg" alt="1" width="164" height="146" /></td>
<td width="158"><img src="images/images (5).jpg" alt="4" width="144" height="161" /></td>
<td width="150"><img src="images/pc-portable.jpg" alt="401" width="150" height="150" /></td>
<td width="150"><img src="images/LD0000901222_1.jpg" alt="11" width="150" height="150" /></td>
<td width="150"><img src="images/moniteurlcd.jpg" alt="11" width="150" height="150" /></td>
</tr>
<tr>
<td colspan="8"><table width="1198" border="0">
<tr>
<td bgcolor="#0A5B79"> </td>
</tr>
</table></td>
</tr>
</table>
<p> </p>
<table width="200" border="0" align="center" bordercolor="#0F5A7A">
<tr>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('logo1','','images/logo2.jpg',1)"><img src="images/logo1.jpg" alt="edfghjk" name="logo1" width="905" height="215" border="0" id="logo1" /></a></td>
</tr>
</table>
<table width="115" border="0" align="center">
<tr>
<td width="109"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="105" height="21" title="ENTRER">
<param name="movie" value="button104.swf" />
<param name="quality" value="high" />
<embed src="button104.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="105" height="21" ></embed>
</object></td>
</tr>
</table>
<p> </p>
</body>
</html>
[/php]