Enforced all pages that load in frames, to only load in frames, preventing pages from being loaded indivudually that aren't supposed to be
This commit is contained in:
parent
69ef9fa67c
commit
8af964bdc9
@ -7,6 +7,8 @@
|
|||||||
<link rel="stylesheet" href="/styles/primary.css" />
|
<link rel="stylesheet" href="/styles/primary.css" />
|
||||||
<link rel="stylesheet" href="/styles/admin.css" />
|
<link rel="stylesheet" href="/styles/admin.css" />
|
||||||
<link rel="stylesheet" href="/styles/admin_nav.css" />
|
<link rel="stylesheet" href="/styles/admin_nav.css" />
|
||||||
|
<script src="/scripts/tools.js"></script>
|
||||||
|
<script>verifyPageInFrame()</script>
|
||||||
<title>TROJAN'S GENERAL DATA SHIT</title>
|
<title>TROJAN'S GENERAL DATA SHIT</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||||
<link rel="stylesheet" href="/styles/db_management.css" />
|
<link rel="stylesheet" href="/styles/db_management.css" />
|
||||||
|
<script src="/scripts/tools.js"></script>
|
||||||
|
<script>verifyPageInFrame()</script>
|
||||||
<title>no title</title>
|
<title>no title</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||||
<link rel="stylesheet" href="/styles/db_management.css" />
|
<link rel="stylesheet" href="/styles/db_management.css" />
|
||||||
|
<script src="/scripts/tools.js"></script>
|
||||||
|
<script>verifyPageInFrame()</script>
|
||||||
<title>no title</title>
|
<title>no title</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -69,6 +69,7 @@ try { // Try opening the SQL database connection
|
|||||||
<script src="https://code.jquery.com/ui/1.14.1/jquery-ui.js"></script>
|
<script src="https://code.jquery.com/ui/1.14.1/jquery-ui.js"></script>
|
||||||
<script src="/scripts/game_management.js"></script>
|
<script src="/scripts/game_management.js"></script>
|
||||||
<script src="/scripts/tools.js"></script>
|
<script src="/scripts/tools.js"></script>
|
||||||
|
<script>verifyPageInFrame()</script>
|
||||||
<title>GAME ADDING FORM</title>
|
<title>GAME ADDING FORM</title>
|
||||||
<script>
|
<script>
|
||||||
$( function() {
|
$( function() {
|
||||||
|
@ -63,6 +63,7 @@ try { // Try opening the SQL database connection
|
|||||||
<link rel="stylesheet" href="https://code.jquery.com/ui/1.14.1/themes/base/jquery-ui.css">
|
<link rel="stylesheet" href="https://code.jquery.com/ui/1.14.1/themes/base/jquery-ui.css">
|
||||||
<script src="/scripts/tourney_management.js"></script>
|
<script src="/scripts/tourney_management.js"></script>
|
||||||
<script src="/scripts/tools.js"></script>
|
<script src="/scripts/tools.js"></script>
|
||||||
|
<script>verifyPageInFrame()</script>
|
||||||
<script src="https://code.jquery.com/jquery-3.7.1.js"></script>
|
<script src="https://code.jquery.com/jquery-3.7.1.js"></script>
|
||||||
<script src="https://code.jquery.com/ui/1.14.1/jquery-ui.js"></script>
|
<script src="https://code.jquery.com/ui/1.14.1/jquery-ui.js"></script>
|
||||||
<title>TOURNAMENT ADDING FORM</title>
|
<title>TOURNAMENT ADDING FORM</title>
|
||||||
|
@ -6,7 +6,8 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||||
<link rel="stylesheet" href="/styles/db_management.css" />
|
<link rel="stylesheet" href="/styles/db_management.css" />
|
||||||
<!-- <script src="trojan.js"></script>-->
|
<script src="/scripts/tools.js"></script>
|
||||||
|
<script>verifyPageInFrame()</script>
|
||||||
<title>TROJAN'S GENERAL DATA SHIT</title>
|
<title>TROJAN'S GENERAL DATA SHIT</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -6,7 +6,8 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||||
<link rel="stylesheet" href="/styles/db_management.css" />
|
<link rel="stylesheet" href="/styles/db_management.css" />
|
||||||
<!-- <script src="trojan.js"></script>-->
|
<script src="/scripts/tools.js"></script>
|
||||||
|
<script>verifyPageInFrame()</script>
|
||||||
<title>no title</title>
|
<title>no title</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -7,7 +7,8 @@
|
|||||||
<link rel="stylesheet" href="/styles/admin.css" />
|
<link rel="stylesheet" href="/styles/admin.css" />
|
||||||
<link rel="stylesheet" href="/styles/admin_nav.css" />
|
<link rel="stylesheet" href="/styles/admin_nav.css" />
|
||||||
<link rel="stylesheet" href="/styles/db_management.css" />
|
<link rel="stylesheet" href="/styles/db_management.css" />
|
||||||
<!-- <script src="trojan.js"></script>-->
|
<script src="/scripts/tools.js"></script>
|
||||||
|
<script>verifyPageInFrame()</script>
|
||||||
<title>TROJAN'S GENERAL DATA SHIT</title>
|
<title>TROJAN'S GENERAL DATA SHIT</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -11,7 +11,8 @@ session_start();
|
|||||||
<link rel="stylesheet" href="../styles/primary.css" />
|
<link rel="stylesheet" href="../styles/primary.css" />
|
||||||
<link rel="stylesheet" href="../styles/admin.css" />
|
<link rel="stylesheet" href="../styles/admin.css" />
|
||||||
<link rel="stylesheet" href="../styles/admin_nav.css" />
|
<link rel="stylesheet" href="../styles/admin_nav.css" />
|
||||||
<script src="../scripts/trojan.js"></script>
|
<script src="/scripts/tools.js"></script>
|
||||||
|
<script>verifyPageInFrame()</script>
|
||||||
<title>NOT ALLOWED</title>
|
<title>NOT ALLOWED</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||||
<link rel="stylesheet" href="/styles/primary.css" />
|
<link rel="stylesheet" href="/styles/primary.css" />
|
||||||
<link rel="stylesheet" href="/styles/db_management.css" />
|
<link rel="stylesheet" href="/styles/db_management.css" />
|
||||||
|
<script src="/scripts/tools.js"></script>
|
||||||
|
<script>verifyPageInFrame()</script>
|
||||||
<title>no title</title>
|
<title>no title</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||||
<link rel="stylesheet" href="/styles/primary.css" />
|
<link rel="stylesheet" href="/styles/primary.css" />
|
||||||
<link rel="stylesheet" href="/styles/db_management.css" />
|
<link rel="stylesheet" href="/styles/db_management.css" />
|
||||||
|
<script src="/scripts/tools.js"></script>
|
||||||
|
<script>verifyPageInFrame()</script>
|
||||||
<title>no title</title>
|
<title>no title</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
<link rel="stylesheet" href="/styles/admin.css" />
|
<link rel="stylesheet" href="/styles/admin.css" />
|
||||||
<link rel="stylesheet" href="/styles/admin_nav.css" />
|
<link rel="stylesheet" href="/styles/admin_nav.css" />
|
||||||
<link rel="stylesheet" href="/styles/user_management.css" />
|
<link rel="stylesheet" href="/styles/user_management.css" />
|
||||||
|
<script src="/scripts/tools.js"></script>
|
||||||
|
<script>verifyPageInFrame()</script>
|
||||||
<script src="/scripts/user_management.js"></script>
|
<script src="/scripts/user_management.js"></script>
|
||||||
<title>ADMIN CREATION FORM</title>
|
<title>ADMIN CREATION FORM</title>
|
||||||
</head>
|
</head>
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||||
<link rel="stylesheet" href="/styles/primary.css" />
|
<link rel="stylesheet" href="/styles/primary.css" />
|
||||||
<link rel="stylesheet" href="/styles/db_management.css" />
|
<link rel="stylesheet" href="/styles/db_management.css" />
|
||||||
|
<script src="/scripts/tools.js"></script>
|
||||||
|
<script>verifyPageInFrame()</script>
|
||||||
<title>no title</title>
|
<title>no title</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
<link rel="stylesheet" href="/styles/admin_nav.css" />
|
<link rel="stylesheet" href="/styles/admin_nav.css" />
|
||||||
<link rel="stylesheet" href="/styles/user_management.css" />
|
<link rel="stylesheet" href="/styles/user_management.css" />
|
||||||
<script src="/scripts/user_management.js"></script>
|
<script src="/scripts/user_management.js"></script>
|
||||||
|
<script src="/scripts/tools.js"></script>
|
||||||
|
<script>verifyPageInFrame()</script>
|
||||||
<title>USER CREATION FORM</title>
|
<title>USER CREATION FORM</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -40,6 +40,8 @@ try { // Try opening the SQL database connection
|
|||||||
<link rel="stylesheet" href="/styles/admin.css" />
|
<link rel="stylesheet" href="/styles/admin.css" />
|
||||||
<link rel="stylesheet" href="/styles/admin_nav.css" />
|
<link rel="stylesheet" href="/styles/admin_nav.css" />
|
||||||
<link rel="stylesheet" href="/styles/user_management.css" />
|
<link rel="stylesheet" href="/styles/user_management.css" />
|
||||||
|
<script src="/scripts/tools.js"></script>
|
||||||
|
<script>verifyPageInFrame()</script>
|
||||||
<?php include ("admin/db_config.php");?> <!-- Our password-length variable is stored here -->
|
<?php include ("admin/db_config.php");?> <!-- Our password-length variable is stored here -->
|
||||||
<script src="/scripts/user_management.js"></script>
|
<script src="/scripts/user_management.js"></script>
|
||||||
<title>USER CREATION FORM</title>
|
<title>USER CREATION FORM</title>
|
||||||
|
@ -87,8 +87,8 @@ try { // Try opening the SQL database connection
|
|||||||
<link rel="stylesheet" href="/styles/primary.css" />
|
<link rel="stylesheet" href="/styles/primary.css" />
|
||||||
<link rel="stylesheet" href="/styles/data.css" />
|
<link rel="stylesheet" href="/styles/data.css" />
|
||||||
<link rel="stylesheet" href="/styles/data_display.css" />
|
<link rel="stylesheet" href="/styles/data_display.css" />
|
||||||
<script src="/scripts/tools.js"></script>
|
|
||||||
<script src="/scripts/results.js"></script>
|
<script src="/scripts/results.js"></script>
|
||||||
|
<script src="/scripts/tools.js"></script>
|
||||||
<script>verifyPageInFrame()</script>
|
<script>verifyPageInFrame()</script>
|
||||||
<title>GENERAL DATA</title>
|
<title>GENERAL DATA</title>
|
||||||
</head>
|
</head>
|
||||||
|
64
general.php
64
general.php
@ -1,64 +0,0 @@
|
|||||||
<?php
|
|
||||||
session_start();
|
|
||||||
?>
|
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
|
||||||
<link rel="stylesheet" href="/styles/primary.css" />
|
|
||||||
<link rel="stylesheet" href="/styles/data.css" />
|
|
||||||
<!-- <script src="trojan.js"></script>-->
|
|
||||||
<title>TROJAN'S GENERAL DATA SHIT</title>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body id="generalBody">
|
|
||||||
<div id="informationContentPanel">
|
|
||||||
<h4>GENERAL INFORMATION</h4>
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<table id="divisionsTable">
|
|
||||||
<thead>
|
|
||||||
<th>Division</th>
|
|
||||||
<th>Max Rank</th>
|
|
||||||
</thead>
|
|
||||||
<tr>
|
|
||||||
<td class="divTableLeftColumn">Open</td>
|
|
||||||
<td class="divTableRightColumn"><img src="/assets/plat3.webp" title="Plat 3" alt="plat 3" width="40px"></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="divTableLeftColumn">Intermediate</td>
|
|
||||||
<td class="divTableRightColumn"><img src="/assets/champ3.webp" title="Champ 3" alt="champ 3" width="40px"></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="divTableLeftColumn">Main</td>
|
|
||||||
<td class="divTableRightColumn"><img src="/assets/SSL.webp" title="SSL" alt="Supersonic Legend" width="40px"></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table id="informationTable">
|
|
||||||
<tr>
|
|
||||||
<td class="infoTableLeftColumn">Total # players:</td>
|
|
||||||
<td class="infoTableRightColumn">Coming soon!</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="infoTableLeftColumn">Total # Trophies won:</td>
|
|
||||||
<td class="infoTableRightColumn">Coming soon!</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="infoTableLeftColumn">Most Trophies - Open:</td>
|
|
||||||
<td class="infoTableRightColumn">Coming soon!</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="infoTableLeftColumn">Most Trophies - Intermediate:</td>
|
|
||||||
<td class="infoTableRightColumn">Coming soon!</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="infoTableLeftColumn">Most Trophies - Main:</td>
|
|
||||||
<td class="infoTableRightColumn">Coming soon!</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -11,6 +11,8 @@ session_start();
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||||
<link rel="stylesheet" href="/styles/db_management.css" />
|
<link rel="stylesheet" href="/styles/db_management.css" />
|
||||||
<link rel="stylesheet" href="/styles/login.css" />
|
<link rel="stylesheet" href="/styles/login.css" />
|
||||||
|
<script src="/scripts/tools.js"></script>
|
||||||
|
<script>verifyPageInFrame()</script>
|
||||||
<title>no title</title>
|
<title>no title</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -10,6 +10,8 @@ $redirect = $_GET["redirect"];
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||||
<link rel="stylesheet" href="/styles/primary.css" />
|
<link rel="stylesheet" href="/styles/primary.css" />
|
||||||
<link rel="stylesheet" href="/styles/login.css" />
|
<link rel="stylesheet" href="/styles/login.css" />
|
||||||
|
<script src="/scripts/tools.js"></script>
|
||||||
|
<script>verifyPageInFrame()</script>
|
||||||
<script src="/scripts/user_management.js"></script>
|
<script src="/scripts/user_management.js"></script>
|
||||||
<title>ADMIN PANEL - Trojan's Trophy Room</title>
|
<title>ADMIN PANEL - Trojan's Trophy Room</title>
|
||||||
</head>
|
</head>
|
||||||
|
@ -62,6 +62,7 @@ try { // Try opening the SQL database connection
|
|||||||
<link rel="stylesheet" href="/styles/user_management.css" />
|
<link rel="stylesheet" href="/styles/user_management.css" />
|
||||||
<link rel="stylesheet" href="/styles/db_management.css" />
|
<link rel="stylesheet" href="/styles/db_management.css" />
|
||||||
<script src="/scripts/tools.js"></script>
|
<script src="/scripts/tools.js"></script>
|
||||||
|
<script>verifyPageInFrame()</script>
|
||||||
<title>User Account Management</title>
|
<title>User Account Management</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user