summaryrefslogtreecommitdiff
path: root/main.php
diff options
context:
space:
mode:
Diffstat (limited to 'main.php')
-rw-r--r--main.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/main.php b/main.php
new file mode 100644
index 0000000..b7e1fe0
--- /dev/null
+++ b/main.php
@@ -0,0 +1,19 @@
+<?php
+$dh = opendir('.');
+echo "<ul>";
+$files = glob('*');
+sort($files, SORT_NUMERIC);
+foreach ($files as $file) {
+ if (is_dir($file) && (substr($file,0,1)!='.')) {
+ echo "<li><a href='$file'>";
+ if (is_numeric($file)) {
+ echo "Issue $file";
+ } else {
+ echo "$file issue";
+ }
+ echo "</a></li>";
+ }
+}
+closedir($dh);
+echo "</ul>";
+