ADD: audiodb, image descs, mild css

This commit is contained in:
TheShinyMelon 2023-11-19 19:26:21 +01:00
parent c14777fc05
commit 5e57ef36f1
2 changed files with 5 additions and 10 deletions

View File

@ -1,7 +0,0 @@
<h1>Ab hier sind jetzt Bilder</h1>
<?php
include_once('../app/db_connector.php');
get_images($pdo);
?>

View File

@ -16,7 +16,7 @@
</a>
<ul class='menu_bar'>
<li><a href='./index.php?el=images'>images</a></li>
<li><a href='./index.php?el=image'>image</a></li>
<li><a href='./index.php?el=audio'>audio</a></li>
<li><a href='./index.php?el=video'>video</a></li>
<li><a href='./index.php?el=text'>text</a></li>
@ -26,11 +26,12 @@
</body>
<?php
require_once('../app/config.php');
$el = isset($_GET['el']) ? $_GET['el'] : '';
switch($el) {
case 'images':
include('images.php');
case 'image':
include('image.php');
break;
case 'audio':
@ -50,6 +51,7 @@
break;
default:
include('404.php');
break;
}
?>