From aaa8b17c8a8fb1c91b3209aa53087dc1dff31e59 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Thu, 25 Jun 2020 20:47:16 +0200 Subject: [PATCH] init --- .gitignore | 0 README.md | 1 + website/dbcon.php | 9 ++++ website/index.php | 116 +++++++++++++++++++++++++++++++++++++++++++ website/style.css | 37 ++++++++++++++ website/uploadOK.php | 21 ++++++++ 6 files changed, 184 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 website/dbcon.php create mode 100644 website/index.php create mode 100644 website/style.css create mode 100644 website/uploadOK.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md new file mode 100644 index 0000000..b1a264c --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# JensMemes \ No newline at end of file diff --git a/website/dbcon.php b/website/dbcon.php new file mode 100644 index 0000000..3c9518f --- /dev/null +++ b/website/dbcon.php @@ -0,0 +1,9 @@ + diff --git a/website/index.php b/website/index.php new file mode 100644 index 0000000..f73b895 --- /dev/null +++ b/website/index.php @@ -0,0 +1,116 @@ + + + + + JensMemes v2 + + + + + + + + +
+ + +
+
Eine zentrale Seite für alle Jens Memes!

+
+
+ + '; + } else{ + echo 'Authentifiziert.'; + } + ?> + +
+
+
+
+ +"; + echo " + \n + "; + echo "
"; + } elseif ($ext == "mp4") { + + // echo basename($image); + + echo "
"; + echo ''; + echo "
"; + } + else { + continue; + } +} +?> +
+ + + + + diff --git a/website/style.css b/website/style.css new file mode 100644 index 0000000..5ad7390 --- /dev/null +++ b/website/style.css @@ -0,0 +1,37 @@ +.Bilder_ { + padding: 10px; + max-width: 300px; + max-height:150px; + vertical-align: bottom; + display: block; + margin-top:auto; + margin-bottom:auto; + margin-left:auto; + margin-right:auto; + +} + +.Videos_ { + padding: 10px; + max-width: 300px; + max-height:150px; + margin-top:auto; + margin-bottom:auto; + margin-left:auto; + margin-right:auto; + display: block; +} + + +.kasten{ +background: #555555; +margin-left: 10px; +margin-bottom: 10px; +border: 5px solid grey; +float:left; +width: 300px; +height: 250px; + } +body{ +background: #676767; +} diff --git a/website/uploadOK.php b/website/uploadOK.php new file mode 100644 index 0000000..7828acf --- /dev/null +++ b/website/uploadOK.php @@ -0,0 +1,21 @@ +Authenticated."; +}else{ + $uploadOK = false; + echo "unauthenticated."; +} + ?>