Je n'arrive a ce que la colonne de droite sois a droite, merci de votre aide, bisous
http://ile.chrispat.free.fr/index1.php
Code : Tout sélectionner
<html>
<head>
<title>Document sans titre</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#CC0000">
<div align="center">
<table width="770" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="150" height="66" bgcolor="#FF6600">
<div align="center"><img src="/design/logo.gif" width="50" height="54"></div></td>
<td width="470" height="66" bgcolor="#FF6600"> </td>
<td width="150" height="66" bgcolor="#FF6600">
<div align="center"><img src="/design/logog.gif" width="50" height="54"></div></td>
</tr>
<tr>
<td width="150" bgcolor="#99FF99"> </td>
<td width="470" bgcolor="#FF9966"> </td>
<td width="150" bgcolor="#99FF66"> </td>
</tr>
<tr>
<td width="150" bgcolor="#FFFF00">
<?php
include('boutons.php'); // Nous appelons notre menu
?>
</td>
<td width="470" valign="top" bgcolor="#6600FF">
<?php
// declaration de variables superglobales (c'est à dire que l'on pourra lire dans d'autres fichier php)
// qui contiennent toutes les informations sur les actions.
$_SESSION['titre_no1'] = "Nocario";
$_SESSION['commentaire_no1'] = '';
$_SESSION['image_no_recto1'] = "nocario/no1.jpg";
$_SESSION['image_no_recto_reduit1'] = "nocario/no01.jpg";
$_SESSION['titre_no2'] = "Nocario";
$_SESSION['commentaire_no2'] = '';
$_SESSION['image_no_recto2'] = "nocario/no2.jpg";
$_SESSION['image_no_recto_reduit2'] = "nocario/no02.jpg";
$_SESSION['titre_no3'] = "Nocario";
$_SESSION['commentaire_no3'] = '';
$_SESSION['image_no_recto3'] = "nocario/no3.jpg";
$_SESSION['image_no_recto_reduit3'] = "nocario/no03.jpg";
// Affichage des éléments de la liste
echo '<table width="100" border="1" cellspacing="5" bordercolor="#FF0000">';
$nbre_images_par_ligne = 3;
$numero_liste=1; //numéro du premier élément de la liste
$vimage_no_reduit = "image_no_recto_reduit".$numero_liste;
// debut boucle
while (isset($_SESSION[$vimage_no_reduit]))
{
echo '<tr>';
for ($image=1; $image<=$nbre_images_par_ligne && isset($_SESSION[$vimage_no_reduit]); $image++)
{
echo '<td align="center"><a href="image_nocario.php?num='.$numero_liste.'" target="_blank"><img src="'.$_SESSION[$vimage_no_reduit].'" border="0"></a></td>';
$numero_liste++; //ajoute 1 à $numero_liste
$vimage_no_reduit = "image_no_recto_reduit".$numero_liste;
} // fin boucle for
echo '</tr>';
if (isset($_SESSION[$vimage_no_reduit]))
{
echo '<tr>';
echo '<td> </td>';
echo '<td> </td>';
echo '<td> </td>';
echo '</tr>';
}
} // fin boucle while
?>
</td>
<td width="150" bgcolor="#FFFF00">
<?php
include('boutons.php'); // Nous appelons notre menu
?>
</td>
</tr>
<tr>
<td width="150"> </td>
<td width="470" bgcolor="#9933FF">bas de page</td>
<td width="150"> </td>
</tr>
</table>
</div>
</body>
</html>
[url][/url]