added more framework bits,
[gwvp.git] / gwvplib / gwvpsetup.php
diff --git a/gwvplib/gwvpsetup.php b/gwvplib/gwvpsetup.php
new file mode 100644 (file)
index 0000000..b83e415
--- /dev/null
@@ -0,0 +1,38 @@
+<?php
+$CALL_ME_FUNCTIONS["setup"] = "gwvp_SetupCall";
+
+
+function gwvp_SetupCall()
+{
+       if(isset($_REQUEST["q"])) {
+               $query = $_REQUEST["q"];
+               if($query == "postsetup") return "gwvp_PostSetup";
+               else return false;
+       }
+       
+       return false;
+       
+}
+
+function gwvp_PostSetup()
+{
+       gwvp_goMainPage("gwvp_PostSetupPageBody");
+}
+
+function gwvp_PostSetupPageBody()
+{
+       echo "GWVP Is now setup, login at the top of the page and you should in control!";
+}
+
+// TODO: need to do this bit
+function gwvp_issetup()
+{
+       return true;
+}
+
+
+function gwvp_goSetup()
+{
+       
+}
+?>
\ No newline at end of file