Moinsen^^
ICh veralte meine hp über if-Abfragen
PHP
<?php
$content = $_GET['content'];
if($content=='') { include('startseite.html'); }
if($content=='startseite') { include('startseite.html'); }
if($content=='service') { include('service.html'); }
if($content=='angebote') { include('angebote.html'); }
if($content=='designs') { include('designs.html'); }
if($content=='referenzen') { include('referenzen.html'); }
if($content=='wallpaper') { include('wallpaper.html'); }
if($content=='linkus') { include('linkus.html'); }
if($content=='kontakt') { include('kontakt.php'); }
if($content=='kontakt-auswerten') { include('kontakt-auswerten.php'); }
if($content=='impressum') { include('impressum.html'); }
if($content=='sonstiges') { include('sonstiges.html'); }
if($content=='postkarten') { include('postkarten.html'); }
if($content=='signaturen') { include('signaturen.html'); }
if($content=='logos') { include('logos.html'); }
if($content=='banner') { include('banner.html'); }
if($content=='avatare') { include('avatare.html'); }
echo'<img src="images/content.jpg" alt="">';
?>
Alles anzeigen
Da muss man den text, der in den html docs schriebt ja mit der ganzen formatirung, sprich <br> und so .
kann man irgentwie machen, dass man da die formatierung weglassen kann?