36 lines
1.0 KiB
PHP
Executable File
36 lines
1.0 KiB
PHP
Executable File
<?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>
|
|
<?php
|
|
include("$root/analytics/owa.php");
|
|
include("$root/analytics/matomo.php");
|
|
?>
|
|
<body>
|
|
<?php include("menu.php");?>
|
|
<?php include("header.php");?>
|
|
<img class="banner" src="/media/pictures/spectro_eptser.png" alt="Eptesicus serotinus spectrogram (Audacity)">
|
|
<section>
|
|
<h2>Last uploaded sound</h2>
|
|
<?php include("$root/home/last-uploaded-file.php"); ?>
|
|
<h2>Stats</h2>
|
|
<?php include("$root/home/status.php"); ?>
|
|
</section>
|
|
<?php include("footer.php");?>
|
|
</body>
|
|
<script src="scripts/script.js"></script>
|
|
</html>
|