Added Readme, setup script and document information header

This commit is contained in:
2022-01-26 12:55:43 +01:00
parent ab40ebe2ce
commit c960bea83a
6 changed files with 116 additions and 6 deletions

View File

@@ -1,3 +1,10 @@
<?php
/**
* @project: ImgAnnotations
* @author: Bram Prieshof
*/
?>
<style>
a.button {
background-color: Gainsboro;
@@ -13,10 +20,6 @@
<?php
include 'db.php';
//Debug
echo "<br>";echo "ID:"; echo $_POST["TheID"];echo "<br>";
//EndDebugs
//Check if data was send
if (empty($_POST["TheNewData"])) {
echo 'No data has been submitted <br><button onclick="history.back()">Go Back</button>';
@@ -39,6 +42,4 @@ else {
echo 'Data has been saved<br> <a href="Editor.php" class="button">Editor</a><a> </a><a href="Viewer.php" class="button">Viewer</a>';
}
//echo $_POST["TheNewData"]
?>