summaryrefslogtreecommitdiff
path: root/main.php
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-05-04 09:48:27 -0700
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-05-04 09:48:27 -0700
commit247f5d615539784c46b5c7c5b35b6ee348e04151 (patch)
tree6744bd1584ad1239417e4c8e148f98d1d27909eb /main.php
initial commitHEADmaster
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>";
+