summaryrefslogtreecommitdiffstats
path: root/ajax/scores.ajax.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-01-27 03:24:08 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-01-27 03:24:08 -0800
commitfefa99bd448312e13e840f47ef8ce4dfd1645211 (patch)
tree467686e0efef08eb14b3887737ab4ab540f74711 /ajax/scores.ajax.php
parentea802fc11d95370fdb029b426b84aa32ac5da20e (diff)
downloadpathery-fefa99bd448312e13e840f47ef8ce4dfd1645211.tar.xz
The start of a new scoreboard or "Scores" page.
- I have the feeling some adjustments made here might propigate to the Home page eventually.
Diffstat (limited to 'ajax/scores.ajax.php')
-rw-r--r--ajax/scores.ajax.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/ajax/scores.ajax.php b/ajax/scores.ajax.php
new file mode 100644
index 0000000..2b27ca2
--- /dev/null
+++ b/ajax/scores.ajax.php
@@ -0,0 +1,21 @@
+<?
+session_start();
+session_write_close();
+//Just doing this as evidence that $_SESSION as read-only is still available.
+$userID = $_SESSION['userID'];
+
+require('../includes/maps.php');
+require('../includes/mapclass.php');
+require('../includes/datas.php');
+
+
+
+$mapID = $_GET['mapID'];
+
+$code = getMapCode($mapID);
+$map = GenerateMapByCode($code);
+echo displaymap($map, $mapID);
+
+
+
+?> \ No newline at end of file