summaryrefslogtreecommitdiffstats
path: root/management-interface/php/functions.php
diff options
context:
space:
mode:
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;
+}
+
+?>