This repository has been archived on 2023-08-24. You can view files and clone it, but cannot push or open issues or pull requests.
athena.fb-infra.uk/issue.php

68 lines
1.8 KiB
PHP
Raw Normal View History

2022-09-16 20:31:29 +01:00
<!DOCTYPE html>
<html>
<head>
2022-09-20 21:42:30 +01:00
<?php
include './page-blocks/headers.php';
include_once './php/version.php';
?>
2022-09-20 19:28:22 +01:00
<title>Athena - Report Issue</title>
2022-09-16 20:31:29 +01:00
</head>
<body>
2022-09-16 21:14:24 +01:00
<?php
2022-09-20 20:36:00 +01:00
// Imports the functions needed to validate and submit data
require './php/submitIssue.php';
// Set initial values
2022-09-20 20:40:29 +01:00
$title = $detail = "";
2022-09-16 21:14:24 +01:00
$ua_str = $_SERVER["HTTP_USER_AGENT"];
2022-09-20 20:36:00 +01:00
// If the page has been POSTed to then run this:
2022-09-16 21:14:24 +01:00
if ($_SERVER["REQUEST_METHOD"] == "POST" ) {
2022-09-20 20:36:00 +01:00
$title = cleanInput($_POST["subject"]);
$detail = cleanInput($_POST["detail"]);
2022-09-17 20:57:03 +01:00
// Prepare $detail to POST
2022-09-20 21:43:45 +01:00
$body = "Athena Version: " . $athenaVersion . "\n\n" . "User Agent: " . $ua_str . "\n\n Server PHP Version: " . PHP_VERSION . "\n\nUser Comments:\n" . $detail;
2022-09-16 21:14:24 +01:00
2022-09-20 20:36:00 +01:00
// Call POST function
sendInput($title,$body);
// Redirect to submit-done.php
echo "<script>setTimeout(function(){window.location.href = '/submit-done.php';}, 10);</script>";
2022-09-21 10:18:57 +01:00
};
2022-09-16 21:14:24 +01:00
?>
2022-09-20 19:42:51 +01:00
<!-- Popup Menu -->
<?php require "./page-blocks/nav-menu.php";?>
2022-09-16 20:31:29 +01:00
<!-- Main Content Begins -->
2022-09-20 21:34:15 +01:00
<?php require "./page-blocks/title-image.php";?>
2022-09-16 20:31:29 +01:00
2023-01-30 16:19:27 +00:00
<h1>Athena is retiring</h1>
2022-09-16 20:31:29 +01:00
2023-03-06 21:16:11 +00:00
<p>It has been replaced with <a href="https://owlboard.info">OwlBoard</a>.</p>
<p>
2023-03-19 20:08:58 +00:00
Currently, OwlBoard does not offer staff versions of departure boards.
2023-03-05 23:43:53 +00:00
Because of this, Athena will not have any further issues fixed but will remain
2023-03-19 20:08:58 +00:00
available until OwlBoard offers this feature.
</p>
<br>
<br>
<span class="form-info">
Your user agent is:
</span>
<br>
2022-09-20 21:20:13 +01:00
<?php echo $ua_str; ?>
</div>
2022-09-16 20:31:29 +01:00
</form>
2022-09-17 20:57:03 +01:00
2022-09-16 20:31:29 +01:00
<!-- Footer -->
2022-09-19 20:28:38 +01:00
<?php include "./page-blocks/footer.php" ?>
2022-09-16 20:31:29 +01:00
</body>
</html>