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