summaryrefslogtreecommitdiffstats
path: root/management-interface/php/functions.php
diff options
context:
space:
mode:
authorNils Schwabe2014-05-09 19:05:13 +0200
committerNils Schwabe2014-05-09 19:05:13 +0200
commit32602049a8e4edc408a83380cebb1c838cdf4d1e (patch)
tree9512e35ccd31fb2220a547dbf38201b6cf5bf682 /management-interface/php/functions.php
parentAdd the management webinterface (diff)
downloadmasterserver-32602049a8e4edc408a83380cebb1c838cdf4d1e.tar.gz
masterserver-32602049a8e4edc408a83380cebb1c838cdf4d1e.tar.xz
masterserver-32602049a8e4edc408a83380cebb1c838cdf4d1e.zip
Did some changes on webinterface
Diffstat (limited to 'management-interface/php/functions.php')
-rw-r--r--management-interface/php/functions.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/management-interface/php/functions.php b/management-interface/php/functions.php
new file mode 100644
index 0000000..f84c097
--- /dev/null
+++ b/management-interface/php/functions.php
@@ -0,0 +1,22 @@
+<?php
+
+# get the menu item
+switch ($_GET["m"]) {
+case "home":
+ $_item = "home";
+ break;
+case "login":
+ $_item = "login";
+ break;
+case "user":
+ $_item = "user";
+ break;
+case "about":
+ $_item = "about";
+ break;
+default:
+ $_item = "home";
+ break;
+}
+
+?>