chiro-canto/public/index.php

32 lines
959 B
PHP
Raw Normal View History

2021-03-28 20:40:17 +02:00
<?php
2021-03-30 10:52:22 +02:00
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
2021-03-30 07:31:22 +02:00
session_start();
2021-03-30 10:52:22 +02:00
$root = realpath($_SERVER["DOCUMENT_ROOT"]);
2021-03-28 20:40:17 +02:00
?>
<!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");?>
<img class="banner" src="/media/pictures/spectro_eptser.png" alt="Eptesicus serotinus spectrogram (Audacity)">
2021-03-28 20:40:17 +02:00
<section>
<h2>Last uploaded sound</h2>
2021-03-30 10:52:22 +02:00
<?php include("$root/home/last-uploaded-file.php"); ?>
<h2>Stats</h2>
<?php include("$root/home/status.php"); ?>
2021-03-28 20:40:17 +02:00
</section>
<?php include("footer.php");?>
</body>
<script src="scripts/script.js"></script>
</html>