[SPIP] +2.1.12
[velocampus/web/www.git] / www / prive / images / index.php
diff --git a/www/prive/images/index.php b/www/prive/images/index.php
new file mode 100644 (file)
index 0000000..366f69b
--- /dev/null
@@ -0,0 +1,22 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+       <title>Index des icones de Spip</title>
+       <link rel="up" href="../">
+</head>
+<body>
+       <center>
+               <h1>Index des icones de <a href='http://www.spip.net'>Spip</a></h1>
+               <table>
+<?php
+       $myDir = opendir('.');
+       while($file = readdir($myDir)) {
+               if (preg_match(",\.(png|gif)$,i", $file))
+                       echo "          <tr><td>$file</td><td><img src='$file' alt='$file' /></td></tr>\n";
+       }
+?>
+
+               </table>
+       </center>
+</body>
+</html>
\ No newline at end of file