@@ -33,6 +24,7 @@ session_start();
// Is the user is logged in we'll show them a navigation bar with some fancier options
if (isset($_SESSION["userID"])){
echo "ACCOUNT";
+ echo "HOME";
echo "LOGOUT";
echo "ADD GAME DETAILS";
// Anything we need to show to logged in admins will be below
diff --git a/intermediate.html b/intermediate.html
deleted file mode 100644
index ccc8ca1..0000000
--- a/intermediate.html
+++ /dev/null
@@ -1,65 +0,0 @@
-
-
-
-
-
-
-
-
- INTERMEDIATE DIVISION DATA
-
-
-
-
-
INTERMEDIATE DIVISION
-
Max rank: Champ 3
-
-
-
TrojanDestinyRL
-
3
-
-
-
-
Endeavor
-
2
-
-
-
-
KingKuna
-
2
-
-
-
-
vixify
-
2
-
-
-
-
Aura
-
1
-
-
-
-
imKryss
-
1
-
-
-
-
Priickles
-
1
-
-
-
-
toxic_deadpool_x
-
1
-
-
-
-
Vix
-
1
-
-
-
-
-
-
\ No newline at end of file
diff --git a/main.html b/main.html
deleted file mode 100644
index ee8bb5c..0000000
--- a/main.html
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
- MAIN DIVISION DATA
-
-
-
-
-
MAIN DIVISION
-
Max rank: SSL
-
-
-
RU33ER DUCK7
-
3
-
-
-
-
Aura
-
1
-
-
-
-
Seqsons
-
1
-
-
-
-
Stewy
-
1
-
-
-
-
Trash
-
1
-
-
-
-
-
-
\ No newline at end of file
diff --git a/open.html b/open.html
deleted file mode 100644
index 5b59cf3..0000000
--- a/open.html
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
-
-
- OPEN DIVISION DATA
-
-
-
-
-
OPEN DIVISION
-
Max rank: Plat 3
-
-
-
No Data
-
No Data
-
-
-
No Data
-
No Data
-
-
-
No Data
-
No Data
-
-
-
-
-
\ No newline at end of file
diff --git a/scripts/tools.js b/scripts/tools.js
index ffdeba8..fa8c30c 100644
--- a/scripts/tools.js
+++ b/scripts/tools.js
@@ -6,8 +6,21 @@ function resizeIframe(obj) {
}
function getURL(path) {
+ // Gets the URL so we can re-direct the user back to where they came from
if (path == undefined) {
path = "";
}
return window.location.href + path;
+}
+
+function verifyPageInFrame() {
+ // Verify that the page was loaded in an iFrame
+ // Otherwise back to the homepage they go!
+ var mainURL = window.location.origin;
+ console.log(mainURL);
+
+ if (window.self !== window.top) {
+ } else {
+ window.location = mainURL;
+ }
}
\ No newline at end of file
diff --git a/styles/data_display.css b/styles/data_display.css
new file mode 100644
index 0000000..2724c39
--- /dev/null
+++ b/styles/data_display.css
@@ -0,0 +1,7 @@
+#resultsDisplayBody {
+ width:800px;
+}
+
+#generalResultsDisplayPanel {
+ width: 400px;
+}
\ No newline at end of file