summaryrefslogtreecommitdiff
path: root/platform/www/lib/images/fileicons/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'platform/www/lib/images/fileicons/index.php')
-rw-r--r--platform/www/lib/images/fileicons/index.php59
1 files changed, 59 insertions, 0 deletions
diff --git a/platform/www/lib/images/fileicons/index.php b/platform/www/lib/images/fileicons/index.php
new file mode 100644
index 0000000..d1f233e
--- /dev/null
+++ b/platform/www/lib/images/fileicons/index.php
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<html lang="en" dir="ltr">
+<head>
+ <title>Filetype icons</title>
+
+ <style>
+ body {
+ background-color: #ccc;
+ font-family: Arial;
+ }
+
+ .box {
+ width: 200px;
+ float: left;
+ padding: 0.5em;
+ margin: 0;
+ }
+
+ .white {
+ background-color: #fff;
+ }
+
+ .black {
+ background-color: #000;
+ }
+ </style>
+
+</head>
+<body>
+
+<?php
+$fi_list = ''; $fi_list32 = '';
+foreach (glob('*.png') as $img) {
+ $fi_list .= '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
+}
+foreach (glob('32x32/*.png') as $img) {
+ $fi_list32 .= '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
+}
+echo '<div class="white box">
+'.$fi_list.'
+</div>
+
+<div class="black box">
+'.$fi_list.'
+</div>
+
+<br style="clear: left" />
+
+<div class="white box">
+'.$fi_list32.'
+</div>
+
+<div class="black box">
+'.$fi_list32;
+?>
+</div>
+
+</body>
+</html>