Ergebnis 1 bis 11 von 11

Thema: Code funktioniert nicht richtig...

Baum-Darstellung

Vorheriger Beitrag Vorheriger Beitrag   Nächster Beitrag Nächster Beitrag
  1. #8
    PHP-Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

    <html>
    <head>
        <title>War of Ceneta</title>
        <style type="text/css">
        A {text-decoration: none; color: #c0c0c0;}
        A:visited{text-decoration: none; color: #c0c0c0;}
        A:active{text-decoration: none; color: #c0c0c0;}
        A:hover{text-decoration: underline; color: #c0c0c0;}
        
        .menu{
        background:#07448d;
        padding:3px;
        border:2px solid #C2C2C2;
        width:150px;
        margin-left:5px;
        position:absolute; left:20px;top:90px;}
        
        .home{
        background:#07448d;
        padding:3px;
        border:2px solid #C2C2C2;
        width:68%;
        height:90%;
        margin-left:5px;
        position:absolute; left:200px;top:10px;}

        </style>

    </head>
    <body background="http://www.nassovia.de/erstsemester/HINTERGRUENDE/COOL_BLAU.GIF" >

    <?php
    echo '
    <div class="menu"  style="font-size:12px;font-family:Verdana,TimesNewRoman;color:#c0c0c0;" >
    <a href="' 
    $PHP_SELF '?file=" >Home</a>
    <br/><br/>
    <a href="' 
    $PHP_SELF '?file=1" >Registrieren</a>
    <br/><br/>
    <a href="' 
    $PHP_SELF '?file=2" ><i>The War of Ceneta</i></a>
    <br/><br/>
    <a href="' 
    $PHP_SELF '?file=3" >Partnerseiten</a>
    <br/><br/>
    <a href="' 
    $PHP_SELF '?file=4" >Gästebuch</a>
    <br/><br/>
    <a href="' 
    $PHP_SELF '?file=5" >Userbereich</a>
    </div>
    <div class="home" >' 
    ;


    switch (
    $file)
    {
    case 
    "1":
    include (
    "regist.html");
    break;

    case 
    "2":
    include (
    "ceneta.html");
    break;

    case 
    "3":
    include (
    "partner.html");
    break;


    case 
    "4":

    echo 
    '<iframe name="home" frameborder="0" align="center" scrolling="yes" marginheight="0" marginwidth="0" vspace="0" hspace="0"  src="http://www.1a-flashgaestebuch.de/cgi-bin/gb.pl?id=a24653" width="100%" height="100%"></iframe>' ;


    break;


    case 
    "5":
    include (
    "passwort.html");
    break;

    default:
    include (
    "hauptfenster.html");

    }

    ?>
    </div>


    </body>
    </html>
    Ja ... bin jetzt mal davon ausgegangen, dass diese Datei da im selben Ordner wie diese ganzen Dateien liegen ... sollte dann aber stimmen.

    Geändert von Tomarus (19.02.2005 um 14:10 Uhr)

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •