Skip to content
Extraits de code Groupes Projets
Valider 9cd56ca5 rédigé par tetue's avatar tetue
Parcourir les fichiers

Ce Spip en minuscules commencait a m'enerver...

parent 643ba620
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head>
<title>Index des vignettes de Spip</title> <title>Index des vignettes de SPIP</title>
<link rel="up" href="../"> <link rel="up" href="../">
</head> </head>
<body> <body style="background: #fff; text-align: center;">
<center> <h1>Index des vignettes de SPIP</h1>
<h1>Index des vignettes de <a href='http://www.spip.net'>Spip</a></h1> <table>
<table><tr><th colspan='10'>Format png &amp; gif</th> <tr><th colspan='10'>Format png &amp; gif</th>
<?php <?php
$myDir = opendir('.'); $myDir = opendir('.');
$i= 0; $i= 0;
while($file = readdir($myDir)) { while($file = readdir($myDir)) {
if (ereg("\.(png|gif)$", $file)) {
if (ereg("\.(png|gif)$", $file)) { $r = "\n\t<td style='text-align:center; padding:10px'>$file<br /><img src='$file' alt='$file' /></td>";
$r = "\n\t<td style='text-align:center; padding:10px'>$file<br /><img src='$file' alt='$file' /></td>"; if ($i%10) echo $r; else echo "</tr>\n<tr>", $r;
if ($i%10) echo $r; else echo "</tr>\n<tr>", $r; $i++;
$i++; }
} }
} ?>
?> </tr>
</table>
</tr></table>
</center>
</body> </body>
</html> </html>
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter