egytalk-template/www/public/index.php

26 lines
693 B
PHP
Raw Normal View History

2023-01-17 08:05:24 +00:00
<?php if (session_status() == PHP_SESSION_NONE) session_start(); ?>
<!DOCTYPE html>
<html lang="sv">
<head>
<meta charset="utf-8">
<title>EGY Talk</title>
<link rel="stylesheet" href="/css/style.css">
<link rel="icon" href="/favicon.png">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<?php include $_SERVER['DOCUMENT_ROOT'] . '/../inc/header.php'; ?>
<main>
<?php
if(isset($_SESSION['uid'])){
// Show Flow
}else{
include $_SERVER['DOCUMENT_ROOT'] . '/../inc/signUp.php';
}
?>
</main>
<?php include $_SERVER['DOCUMENT_ROOT'] . '/../inc/footer.php'; ?>
</body>
</html>