Browse code

Inital commit with Data from ESF-2

Richard Cornwell (K9RCP) authored on 01/27/2022 10:55:50
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,10 @@
1
+<?php
2
+$files = glob('data/*.{txt}', GLOB_BRACE);
3
+echo "<h2>Please select your Spotrep map:</h2>";
4
+	echo '<a href="map/?d='.str_replace("=", "", base64_encode("ALL")).'">ALL Data</a><br />';
5
+
6
+foreach($files as $file) {
7
+	echo '<a href="map/?d='.str_replace("=", "", base64_encode(str_replace(array("data/spotrep-", ".txt"), "", $file))).'">'.str_replace(array("data/spotrep-", ".txt"), "", $file).'</a><br />';
8
+}
9
+
10
+?>