<?php
require "db.php"
?>
<?php if( isset($_SESSION['logger_user'])):?>
<?php header("Location: http://fit-pro.tk/home.php"); ?>
<?php else :?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Начальная страница</title>
</head>
<body style="text-align:center;">
<div style="width:450px;height:220px; background-image: url(https://img2.hochu.ua/images/articles/64071_0.jpg); background-size: 100%;margin:auto;"></div>
<a href="/login.php">Войти</a><br>
<a href="/signup.php">Пройти тестирование</a>
</body>
</html>
<?php endif; ?>
<?php
require "db.php"
if ( isset($_SESSION['logger_user']) )
{
header("Location: http://fit-pro.tk/home.php");
exit();
}
?><!DOCTYPE html>
<html lang="en">