From 6fe6a71983cb4f1fd1bec6c02188cf1643f8af0b Mon Sep 17 00:00:00 2001 From: Jamie Mahoney Date: Sat, 12 May 2012 17:03:05 +0100 Subject: [PATCH] Admin page works, now writes to json file --- admin.php | 122 +++++++++++++++++++++++++++++++++++++++++++++++++ write_json.php | 29 ++++++++++++ 2 files changed, 151 insertions(+) create mode 100644 admin.php create mode 100644 write_json.php diff --git a/admin.php b/admin.php new file mode 100644 index 0000000..963c4db --- /dev/null +++ b/admin.php @@ -0,0 +1,122 @@ + $value) + { + if($key !== '') + { + if($value === 1) + echo '
'; + else + echo '
'; + + $count++; + } + } + } + } +?> + + + + + + CodeMachine + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +

Admin

+

Edit the options file, below.

+ +
+
+ +
+
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + diff --git a/write_json.php b/write_json.php new file mode 100644 index 0000000..2fe7884 --- /dev/null +++ b/write_json.php @@ -0,0 +1,29 @@ + \ No newline at end of file