chiro-canto/public/index.php

29 lines
770 B
PHP

<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
session_start();
$root = realpath($_SERVER["DOCUMENT_ROOT"]);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chiro - Canto</title>
<link rel="stylesheet" type="text/css" href="styles/style.css">
</head>
<body>
<?php include("menu.php");?>
<?php include("header.php");?>
<section>
<h2>Last uploaded sound</h2>
<?php include("$root/home/last-uploaded-file.php"); ?>
</section>
<?php include("footer.php");?>
</body>
<script src="scripts/script.js"></script>
</html>