Slight changes to formatting
This commit is contained in:
parent
4a880b93dd
commit
133bb19911
@ -2,19 +2,19 @@
|
|||||||
<?php
|
<?php
|
||||||
// Is the user is logged in we'll show them a navigation bar with some fancier options
|
// Is the user is logged in we'll show them a navigation bar with some fancier options
|
||||||
if (isset($_SESSION["userID"])) {
|
if (isset($_SESSION["userID"])) {
|
||||||
echo "<a href=\"/user/" . $_SESSION["username"] . " \" class=\"subNavLink\">ACCOUNT</a>";
|
echo "<a href=\"/user/" . $_SESSION["username"] . "\" class=\"subNavLink\">ACCOUNT</a>";
|
||||||
echo "<a href=\"/ \" class=\"subNavLink\">HOME</a>";
|
echo "<a href=\"/\" class=\"subNavLink\">HOME</a>";
|
||||||
echo "<a href=\"/user/logout.php \" class=\"subNavLink\">LOGOUT</a>";
|
echo "<a href=\"/user/logout.php\" class=\"subNavLink\">LOGOUT</a>";
|
||||||
echo "<a href=\"/admin/data_management/game_form.php \" target=\"dataFrame\" class=\"subNavLink disabled\">ADD GAME DETAILS</a>";
|
echo "<a href=\"/admin/data_management/game_form.php\" target=\"dataFrame\" class=\"subNavLink disabled\">ADD GAME DETAILS</a>";
|
||||||
// Anything we need to show to logged in admins will be below
|
// Anything we need to show to logged in admins will be below
|
||||||
if (isset($_SESSION["privileges"]) && $_SESSION["privileges"] == 1) {
|
if (isset($_SESSION["privileges"]) && $_SESSION["privileges"] == 1) {
|
||||||
echo "<a href=\"/admin/data_management/tourney_form.php \" target=\"dataFrame\" class=\"subNavLink\">ADD A TOURNEY</a>";
|
echo "<a href=\"/admin/data_management/tourney_form.php\" target=\"dataFrame\" class=\"subNavLink\">ADD A TOURNEY</a>";
|
||||||
echo "<a href=\"/admin \" class=\"subNavLink\">ADMIN PANEL</a>";
|
echo "<a href=\"/admin\" class=\"subNavLink\">ADMIN PANEL</a>";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
echo "<a href=\"/user/login_page.php \" target=\"dataFrame\" class=\"subNavLink\">SIGN IN</a>";
|
echo "<a href=\"/user/login_page.php\" target=\"dataFrame\" class=\"subNavLink\">SIGN IN</a>";
|
||||||
echo "<a href=\"/user/create_account.php \" target=\"dataFrame\" class=\"subNavLink\">CREATE AN ACCOUNT</a>";
|
echo "<a href=\"/user/create_account.php\" target=\"dataFrame\" class=\"subNavLink\">CREATE AN ACCOUNT</a>";
|
||||||
echo "<a href=\"/ \" class=\"subNavLink\">HOME</a>";
|
echo "<a href=\"/\" class=\"subNavLink\">HOME</a>";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
@ -25,8 +25,6 @@ session_start();
|
|||||||
<h1>Trojan's Trophy Room</h1>
|
<h1>Trojan's Trophy Room</h1>
|
||||||
<h4 style="font-size:150%;margin:auto;"><a href="/giveaway" id="giveawayLink">Giveaway Disclaimer</a></h4>
|
<h4 style="font-size:150%;margin:auto;"><a href="/giveaway" id="giveawayLink">Giveaway Disclaimer</a></h4>
|
||||||
<iframe src="/display/general_results.php" name="dataFrame" class="dataFrame" id="dataFrame" onload="resizeIframe(this);"></iframe>
|
<iframe src="/display/general_results.php" name="dataFrame" class="dataFrame" id="dataFrame" onload="resizeIframe(this);"></iframe>
|
||||||
<p class="newLine"></p>
|
|
||||||
<p class="newLine"></p>
|
|
||||||
<?php include_once('./display/subnav.php'); ?>
|
<?php include_once('./display/subnav.php'); ?>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user