diff --git a/b.php b/b.php
index 9efa8afa..11d6ad34 100755
--- a/b.php
+++ b/b.php
@@ -1,21 +1,47 @@
diff --git a/banners.php b/banners.php
index 262bdc57..48e312f2 100644
--- a/banners.php
+++ b/banners.php
@@ -4,14 +4,19 @@
";
+function listBannersInDir($dir) {
+ if ($handle = opendir($dir)) {
+ while (false !== ($entry = readdir($handle))) {
+ if ($entry != "." && $entry != "..") {
+ echo "
";
+ }
}
+ closedir($handle);
}
- closedir($handle);
}
+
+listBannersInDir("banners_priority");
+listBannersInDir("banners");
?>