php-integration #21

Closed
fred.boniface wants to merge 146 commits from php-integration into main
2 changed files with 43 additions and 0 deletions
Showing only changes of commit 9948a25832 - Show all commits

View File

@ -29,6 +29,9 @@
// Call POST function
sendInput($title,$body);
// Redirect to submit-done.php
echo "<script>setTimeout(function()){window.location.href = '/submit-done.php';}, 5000);</script>"
}
?>

40
submit-done.php Normal file
View File

@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<?php include './page-blocks/headers.php';?>
<title>Sent</title>
</head>
<body>
<!-- Popup Menu -->
<?php require "./page-blocks/nav-menu.php";?>
<!-- Main Content Begins -->
<?php require "./page-blocks/title-image.php";?>
<br>
<h1>Report Submitted</h1>
<div class="text-description">
<p>Thanks for your report or suggestion.</p>
<p>You're helping to make Athena better for everyone.</p>
<br>
<br>
<p>You will be redirected to the homepage in five seconds.</p>
</div>
<script>
setTimeout(function()){
window.location.href = '/';
}, 5000);
</script>
<!-- Footer -->
<?php include "./page-blocks/footer.php" ?>
</body>
</html>