<?php 
require_once "functions.php";
require_once "../classes/Confirm.class.php";
require_once "../classes/InterestManager.class.php";
if (!isset($_SESSION['logged_in_user_id'])) {
    header("Location: login.php");
}
if (isset($_GET["logout"])) {
    //kustutame sessiooni muutujad
    session_destroy();
    header("Location: login.php");
}
$InterestManager = new InterestManager($mysqli, $_GET["id"]);
$Confirm = new Confirm($mysqli);
$contest_array = $Confirm->getAllData();
?>

<?php 
// lehe nimi
$page_title = "Kasutaja info";
?>

<?php 
require_once "../header.php";
?>
	
<br><br>

<div class="container">
	<div class="row">