Grrrr

Dans ce cas là je joue plus avec les foreach !!!
Na
Maintenant on passe aux While :-p
<html>
<head>
<title></title>
<style>
<!--
BODY {
SCROLLBAR-FACE-COLOR: #000000;
SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; SCROLLBAR-3DLIGHT-COLOR: #000000;
SCROLLBAR-ARROW-COLOR: #ffffff; SCROLLBAR-TRACK-COLOR: #000000
}
-->
.fond {
background-attachment: fixed;
background-color: #000000;
background-image: url(copy.gif);
background-repeat: no-repeat;
background-position: left bottom;
}
</style>
<script type="text/javascript">
function ChangePhoto(nom_photo,photo){
if (parent.frames[0].document.getElementById){
parent.frames[0].document.getElementById(photo).innerHTML=nom_photo;
}
}
function des(txt) {
window.status = txt;
return true;
}
function eff() {
window.status="";
}
</script>
</head>
<body class="fond" bgcolor="#000000" leftmargin="0" topmargin="0" bottommargin="0">
<table bgcolor="#000000" cellpadding="10" cellspacing="15" align="center" border="0"><tr>
<td><img src="made.gif"></td>
<?php
$tab=str_replace(array('img/','.jpg'),'',glob('./img/*.jpg'));
while(list($num, $photo_nom) = each($tab)){
?>
<td align="center"><a onMouseOver="des('Cliquez pour
agrandir'); return true;" onMouseOut="eff();"
href="javascript:ChangePhoto('<font size=<?php echo 2; ?>
color=<?php echo 'white'; ?>><em><b><?php echo
$photo_nom;
?></b></em></font><br><br><img
src=<?php echo $photo;
?>><br><br><br><br><a
style="color:white; font-size:10; font-weight:normal;" href="index.php"
target="_blank">Retour accueil</a>','image')"><img
border="0" src="<? echo $photo; ?>.min">
</a></td>
<?php
}
?>
</tr></table>
<br>
</body>
</html>
@+
Immortal-PC,
téléchargements,astuces ,entre-aide informatique , conseils pour vos problèmes d'ordi.
Grâce à Immortal-PC votre ordinateur passera les âges.