ADD: audiodb, image descs, mild css
This commit is contained in:
parent
c14777fc05
commit
5e57ef36f1
@ -1,7 +0,0 @@
|
||||
<h1>Ab hier sind jetzt Bilder</h1>
|
||||
|
||||
<?php
|
||||
include_once('../app/db_connector.php');
|
||||
get_images($pdo);
|
||||
?>
|
||||
|
@ -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;
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user