mirror of
https://github.com/YunoHost-Apps/spip_ynh.git
synced 2024-09-03 20:25:59 +02:00
22 lines
No EOL
522 B
PHP
22 lines
No EOL
522 B
PHP
<!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>
|