Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
95 lines (73 sloc) 1.92 KB
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
include 'includes/database.php';
if($_SERVER["REQUEST_METHOD"] == "POST")
{
if(isset($_POST["home_btn"]))
{
header("Location: index.php");
}
if(isset($_POST["teams_btn"]))
{
header("Location: teams.php");
}
if(isset($_POST["register_btn"]))
{
header("Location: register.php");
}
if(isset($_POST["brackets_btn"]))
{
header("Location: brackets.php");
}
if(isset($_POST["discord_btn"]))
{
header("Location: #");
}
if(isset($_POST["admin_btn"]))
{
header("Location: admin.php");
}
}
?>
<!DOCTYPE html>
<html>
<head>
<title> <?php echo $panel_name; ?> </title>
<link rel="stylesheet" type="text/css" href="css/style.css"/>
</head>
<body>
<center>
<div style = "margin-top: <?php echo $height_from_top; ?>;" class = "container-top">
<h1> <?php echo $panel_name; ?> </h1>
<form method = "post">
<button class ="noborder" name="home_btn" > home </button>
<button class ="noborder" name="teams_btn" > teams </button>
<button class ="noborder" name="register_btn" > register </button>
<button class ="noborder" name="brackets_btn" > brackets </button>
<button class ="noborder" name="discord_btn" > discord </button>
<button class ="noborder" name="admin_btn" > admin </button>
</form>
</div>
<div class = "container-bottom">
<?php echo $welcome_msg; ?>
</div>
<div class = "container-top">
Countdown: <?php echo getCountdownTime(); ?>
</div>
<div class = "container-top">
Brackets
</div>
<div class = "container-bottom">
The brackets are published 24 hours before the tournament starts.
</div>
<div class = "container-top">
credits
</div>
<div class = "container-bottom">
&copy; <a href = "https://ranteis.com/"> Ranteis.com </a>
</div>
</center>
</body>
</html>