56 lines
1.6 KiB
PHP
56 lines
1.6 KiB
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>Upload | Chiro - Canto</title>
|
|
<link rel="stylesheet" type="text/css" href="/styles/style.css">
|
|
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css"
|
|
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
|
|
crossorigin=""/>
|
|
</head>
|
|
<body>
|
|
<?php include("$root/menu.php");?>
|
|
<?php include("$root/header.php");?>
|
|
<section>
|
|
<h2>Upload Your Recording</h2>
|
|
<?php
|
|
echo $_SESSION['error_msg'];
|
|
if (isset($_SESSION['error_msg']))
|
|
{
|
|
?>
|
|
<div class="error">
|
|
<?=$_SESSION['error_msg']?>
|
|
</div>
|
|
<?php
|
|
}
|
|
if (isset($_GET['step']))
|
|
{
|
|
if ($_GET['step'] == 'location') {
|
|
include("location.php");
|
|
} else if ($_GET['step'] == 'metadata') {
|
|
include("metadata.php");
|
|
} else if ($_GET['step'] == 'verify') {
|
|
include("verify.php");
|
|
}
|
|
else {
|
|
include("location.php");
|
|
}
|
|
} else {
|
|
include("location.php");
|
|
}
|
|
?>
|
|
</section>
|
|
<?php include("$root/footer.php");?>
|
|
</body>
|
|
<script type='text/javascript' src='/scripts/script.js'></script>
|
|
</html>
|