Beiträge von Maurice.

    Hi,


    I have a problem -.- undzwar habe ich das design in html (css) gemacht nur wenn ich mich halt einlogge dann sind die texte wie name: sss über den header hier einmal bild:



    hier mal der code von profile.php

    Letztes Problem für Heute :3 nun zeigt er garnix an... public TextDrawStats(playerid)
    {
    new str1[35],str2[50],str3[50];
    format(str1,sizeof(str1),"Name: %s",PlayerName(playerid));
    NameDraw[playerid] = CreatePlayerTextDraw(playerid, 539.375000, 330.166625,str1);
    PlayerTextDrawLetterSize(playerid, NameDraw[playerid], 0.259999, 1.588333);
    PlayerTextDrawAlignment(playerid, NameDraw[playerid], 1);
    PlayerTextDrawColor(playerid, NameDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, NameDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, NameDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, NameDraw[playerid], 51);
    PlayerTextDrawFont(playerid, NameDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, NameDraw[playerid], 1);


    format(str2,sizeof(str2),"Level: %i",GetPlayerScore(playerid));
    LevelDraw[playerid] = CreatePlayerTextDraw(playerid, 538.750000, 341.833282,str2);
    PlayerTextDrawLetterSize(playerid, LevelDraw[playerid], 0.229999, 1.576666);
    PlayerTextDrawAlignment(playerid, LevelDraw[playerid], 1);
    PlayerTextDrawColor(playerid, LevelDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, LevelDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, LevelDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, LevelDraw[playerid], 51);
    PlayerTextDrawFont(playerid, LevelDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, LevelDraw[playerid], 1);


    format(str3,sizeof(str3),"Geld: %d",GetPlayerMoney(playerid));
    GeldDraw[playerid] = CreatePlayerTextDraw(playerid, 536.875000, 352.333160,str3);
    PlayerTextDrawLetterSize(playerid, GeldDraw[playerid], 0.286249, 1.494999);
    PlayerTextDrawAlignment(playerid, GeldDraw[playerid], 1);
    PlayerTextDrawColor(playerid, GeldDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, GeldDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, GeldDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, GeldDraw[playerid], 51);
    PlayerTextDrawFont(playerid, GeldDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, GeldDraw[playerid], 1);
    return 1;
    }


    und hier der timer public OnPlayerConnect(playerid)
    {


    SetTimer("TextDrawStats",4000,1);


    PlayerTextDrawShow(playerid,NameDraw[playerid]);
    PlayerTextDrawShow(playerid,LevelDraw[playerid]);
    PlayerTextDrawShow(playerid,GeldDraw[playerid]);
    return 1;
    }

    Okay hab mal alles gelöscht und neu gemacht soweit gut nur bei Geld und Score wird 0 angezeigt obwohl alles richtig ist.... format(str2,sizeof(str2),"Level: %i",GetPlayerScore(playerid));
    LevelDraw[playerid] = CreatePlayerTextDraw(playerid, 538.750000, 341.833282,str2);
    PlayerTextDrawLetterSize(playerid, LevelDraw[playerid], 0.229999, 1.576666);
    PlayerTextDrawAlignment(playerid, LevelDraw[playerid], 1);
    PlayerTextDrawColor(playerid, LevelDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, LevelDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, LevelDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, LevelDraw[playerid], 51);
    PlayerTextDrawFont(playerid, LevelDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, LevelDraw[playerid], 1);


    format(str3,sizeof(str3),"Geld: %d",GetPlayerMoney(playerid));
    GeldDraw[playerid] = CreatePlayerTextDraw(playerid, 536.875000, 352.333160,str3);
    PlayerTextDrawLetterSize(playerid, GeldDraw[playerid], 0.286249, 1.494999);
    PlayerTextDrawAlignment(playerid, GeldDraw[playerid], 1);
    PlayerTextDrawColor(playerid, GeldDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, GeldDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, GeldDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, GeldDraw[playerid], 51);
    PlayerTextDrawFont(playerid, GeldDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, GeldDraw[playerid], 1);

    Okay nur jetzt ist es immer noch verbuggt aber ich sehe kein fefhler..



    public OnPlayerConnect(playerid)
    {
    new str1[35],str2[50],str3[50];
    TextDrawShowForAll(Text:MauriceDRAW);
    TextDrawShowForAll(Text:RoleplayDRAW);
    TextDrawShowForAll(Text:Box1);
    TextDrawShowForAll(Text:Box2);
    TextDrawShowForAll(Text:Website);
    TextDrawShowForAll(Text:Uhrzeit);
    TextDrawShowForAll(Text:Since2013);

    format(str1,sizeof(str1),"Name: %s",PlayerName(playerid));
    PlayerTextDrawSetString(playerid,NameDraw[playerid],str1);
    NameDraw[playerid] = CreatePlayerTextDraw(playerid, 539.375000, 330.166625,"Name");
    PlayerTextDrawLetterSize(playerid, NameDraw[playerid], 0.259999, 1.588333);
    PlayerTextDrawAlignment(playerid, NameDraw[playerid], 1);
    PlayerTextDrawColor(playerid, NameDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, NameDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, NameDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, NameDraw[playerid], 51);
    PlayerTextDrawFont(playerid, NameDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, NameDraw[playerid], 1);
    PlayerTextDrawShow(playerid,NameDraw[playerid]);

    format(str2,sizeof(str2),"Level: %i",GetPlayerScore(playerid));
    PlayerTextDrawSetString(playerid,LevelDraw[playerid],str2);
    LevelDraw[playerid] = CreatePlayerTextDraw(playerid, 538.750000, 341.833282,"Level");
    PlayerTextDrawLetterSize(playerid, LevelDraw[playerid], 0.229999, 1.576666);
    PlayerTextDrawAlignment(playerid, LevelDraw[playerid], 1);
    PlayerTextDrawColor(playerid, LevelDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, LevelDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, LevelDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, LevelDraw[playerid], 51);
    PlayerTextDrawFont(playerid, LevelDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, LevelDraw[playerid], 1);
    PlayerTextDrawShow(playerid,LevelDraw[playerid]);

    format(str3,sizeof str3,"Geld: %d",GetPlayerMoney(playerid));
    PlayerTextDrawSetString(playerid,GeldDraw[playerid],str3);
    GeldDraw[playerid] = CreatePlayerTextDraw(playerid, 536.875000, 352.333160,"Geld");
    PlayerTextDrawLetterSize(playerid, GeldDraw[playerid], 0.286249, 1.494999);
    PlayerTextDrawAlignment(playerid, GeldDraw[playerid], 1);
    PlayerTextDrawColor(playerid, GeldDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, GeldDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, GeldDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, GeldDraw[playerid], 51);
    PlayerTextDrawFont(playerid, GeldDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, GeldDraw[playerid], 1);
    PlayerTextDrawShow(playerid,GeldDraw[playerid]);
    return 1;
    }

    public OnPlayerConnect(playerid)
    {
    new str1[35],str2[50],str3[50];
    SetPlayerVirtualWorld(playerid,0);
    TextDrawShowForAll(Text:MauriceDRAW);
    TextDrawShowForAll(Text:RoleplayDRAW);
    TextDrawShowForAll(Text:Box1);
    TextDrawShowForAll(Text:Box2);
    TextDrawShowForAll(Text:Website);
    TextDrawShowForAll(Text:Uhrzeit);
    TextDrawShowForAll(Text:Since2013);

    format(str1,sizeof(str1),"Name: %s",PlayerName(playerid));
    PlayerTextDrawSetString(playerid,NameDraw[playerid],str1);
    PlayerTextDrawShow(playerid,NameDraw[playerid]);
    NameDraw[playerid] = CreatePlayerTextDraw(playerid, 539.375000, 330.166625,"Name");
    PlayerTextDrawLetterSize(playerid, NameDraw[playerid], 0.259999, 1.588333);
    PlayerTextDrawAlignment(playerid, NameDraw[playerid], 1);
    PlayerTextDrawColor(playerid, NameDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, NameDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, NameDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, NameDraw[playerid], 51);
    PlayerTextDrawFont(playerid, NameDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, NameDraw[playerid], 1);

    format(str2,sizeof(str2),"Level: %i",GetPlayerScore(playerid));
    PlayerTextDrawSetString(playerid,LevelDraw[playerid],str2);
    PlayerTextDrawShow(playerid,LevelDraw[playerid]);
    LevelDraw[playerid] = CreatePlayerTextDraw(playerid, 538.750000, 341.833282,"Level");
    PlayerTextDrawLetterSize(playerid, LevelDraw[playerid], 0.229999, 1.576666);
    PlayerTextDrawAlignment(playerid, LevelDraw[playerid], 1);
    PlayerTextDrawColor(playerid, LevelDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, LevelDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, LevelDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, LevelDraw[playerid], 51);
    PlayerTextDrawFont(playerid, LevelDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, LevelDraw[playerid], 1);


    format(str3,sizeof str3,"Geld: %d",GetPlayerMoney(playerid));
    PlayerTextDrawSetString(playerid,GeldDraw[playerid],str3);
    PlayerTextDrawShow(playerid,GeldDraw[playerid]);
    GeldDraw[playerid] = CreatePlayerTextDraw(playerid, 536.875000, 352.333160,"Geld");
    PlayerTextDrawLetterSize(playerid, GeldDraw[playerid], 0.286249, 1.494999);
    PlayerTextDrawAlignment(playerid, GeldDraw[playerid], 1);
    PlayerTextDrawColor(playerid, GeldDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, GeldDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, GeldDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, GeldDraw[playerid], 51);
    PlayerTextDrawFont(playerid, GeldDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, GeldDraw[playerid], 1);


    return 1;
    }

    Nun siehts so aus ;(




    code:
    format(str1,sizeof(str1),"Name: %s",PlayerName(playerid));
    PlayerTextDrawSetString(playerid,NameDraw[playerid],str1);
    PlayerTextDrawShow(playerid,NameDraw[playerid]);
    NameDraw[playerid] = CreatePlayerTextDraw(playerid, 539.375000, 330.166625,"Name");
    PlayerTextDrawLetterSize(playerid, NameDraw[playerid], 0.259999, 1.588333);
    PlayerTextDrawAlignment(playerid, NameDraw[playerid], 1);
    PlayerTextDrawColor(playerid, NameDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, NameDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, NameDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, NameDraw[playerid], 51);
    PlayerTextDrawFont(playerid, NameDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, NameDraw[playerid], 1);

    format(str2,sizeof(str2),"Level: %i",GetPlayerScore(playerid));
    PlayerTextDrawSetString(playerid,LevelDraw[playerid],str2);
    PlayerTextDrawShow(playerid,LevelDraw[playerid]);
    LevelDraw[playerid] = CreatePlayerTextDraw(playerid, 538.750000, 341.833282,"Level");
    PlayerTextDrawLetterSize(playerid, LevelDraw[playerid], 0.229999, 1.576666);
    PlayerTextDrawAlignment(playerid, LevelDraw[playerid], 1);
    PlayerTextDrawColor(playerid, LevelDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, LevelDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, LevelDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, LevelDraw[playerid], 51);
    PlayerTextDrawFont(playerid, LevelDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, LevelDraw[playerid], 1);


    format(str3,sizeof str3,"Geld: %d",GetPlayerMoney(playerid));
    PlayerTextDrawSetString(playerid,GeldDraw[playerid],str3);
    PlayerTextDrawShow(playerid,GeldDraw[playerid]);
    GeldDraw[playerid] = CreatePlayerTextDraw(playerid, 536.875000, 352.333160,"Geld");
    PlayerTextDrawLetterSize(playerid, GeldDraw[playerid], 0.286249, 1.494999);
    PlayerTextDrawAlignment(playerid, GeldDraw[playerid], 1);
    PlayerTextDrawColor(playerid, GeldDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, GeldDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, GeldDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, GeldDraw[playerid], 51);
    PlayerTextDrawFont(playerid, GeldDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, GeldDraw[playerid], 1);

    Hi,


    Bei meinen Textdraws Geld und Level steht ingame nur Geld: 0 und Level:= obwohl mir oben bei der geldanzeige mehr angezeigt wird .(


    format(SD,sizeof(SD),"Level: %i",sInfo[playerid][level]);
    LevelDraw[playerid] = CreatePlayerTextDraw(playerid, 538.750000, 341.833282,SD);
    PlayerTextDrawLetterSize(playerid, LevelDraw[playerid], 0.229999, 1.576666);
    PlayerTextDrawAlignment(playerid, LevelDraw[playerid], 1);
    PlayerTextDrawColor(playerid, LevelDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, LevelDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, LevelDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, LevelDraw[playerid], 51);
    PlayerTextDrawFont(playerid, LevelDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, LevelDraw[playerid], 1);


    format(GD,sizeof(GD),"Geld: %i",GetPlayerMoney(playerid));
    GeldDraw[playerid] = CreatePlayerTextDraw(playerid, 536.875000, 352.333160,GD);
    PlayerTextDrawLetterSize(playerid, GeldDraw[playerid], 0.286249, 1.494999);
    PlayerTextDrawAlignment(playerid, GeldDraw[playerid], 1);
    PlayerTextDrawColor(playerid, GeldDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, GeldDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, GeldDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, GeldDraw[playerid], 51);
    PlayerTextDrawFont(playerid, GeldDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, GeldDraw[playerid], 1);


    //////////////////////////////////////
    Hi, bei SetObjetMaterialText wie mache ich die schrift an objekte die schon ingame sind also nix gemapptes z.B an standart Stadhalle

    Hi,


    mal ne frage sind diese sache schlimm ? Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    Header size: 4268 bytes
    Code size: 56968 bytes
    Data size: 56420 bytes
    Stack/heap size: 16384 bytes; estimated max. usage=8199 cells (32796 bytes)
    Total requirements: 134040 bytes


    Also das habe ich erst zeit heute

    Hier einmal code: public OnPlayerSpawn(playerid)
    {
    NameDraw[playerid] = CreatePlayerTextDraw(playerid, 539.375000, 330.166625, "Name:");
    PlayerTextDrawLetterSize(playerid, NameDraw[playerid], 0.259999, 1.588333);
    PlayerTextDrawAlignment(playerid, NameDraw[playerid], 1);
    PlayerTextDrawColor(playerid, NameDraw[playerid], -1);
    PlayerTextDrawSetShadow(playerid, NameDraw[playerid], 0);
    PlayerTextDrawSetOutline(playerid, NameDraw[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, NameDraw[playerid], 51);
    PlayerTextDrawFont(playerid, NameDraw[playerid], 2);
    PlayerTextDrawSetProportional(playerid, NameDraw[playerid], 1);
    return 1;
    }


    Errors C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\script.pwn(366) : error 028: invalid subscript (not an array or too many subscripts): "NameDraw"
    C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\script.pwn(366) : warning 215: expression has no effect
    C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\script.pwn(366) : error 001: expected token: ";", but found "]"
    C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\script.pwn(366) : error 029: invalid expression, assumed zero
    C:\Dokumente und Einstellungen\Maurice\Desktop\Maurice RolePlay\gamemodes\script.pwn(366) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.

    Hi,


    ich habe ein Problem.... In der Mysql Spalte "Fraktion" habe ich stats int text gemacht hiewr mal der pwn code savePlayer(playerid)
    {
    if(sInfo[playerid][eingeloggt]==0)return 1;
    new query[600];
    if(sInfo[playerid][Fraktion] == 0) { FraktionString = "Zivilist"; }
    format(query,sizeof(query),"UPDATE user SET level='%i',money='%i',alevel='%i',Fraktion='%s',SkinID='%i',Rang='%i',Wanted='%i' WHERE id='%i'",sInfo[playerid][level],GetPlayerMoney(playerid),sInfo[playerid][alevel],FraktionString,sInfo[playerid][SkinID],sInfo[playerid][Rang],sInfo[playerid][Wanted],sInfo[playerid][id]);
    mysql_function_query(dbhandle,query,false,"","");

    return 1;
    }

    muss ich dann hier:

    PHP
    echo "<br><br>Name: ".$name."<br> Level: ".$score."<br>Admin: ".$alevel."<br> Geld: ".$money."<br> Kills: ".$kills."<br> Tode: ".$deaths;

    etwas ändern habe statt ranks alevel genommen

    Mal sone frage wie mache ich einen string also das anstat bei Admin: 5 steht Admin: Gamemaster ? Code:

    So ? <?php
    include('config.php');
    session_start();
    $mysql = "SELECT * FROM `user`";
    $mysql_query = mysql_query($mysql);
    while($RowIN = mysql_fetch_object($mysql_query))
    {
    while($RowIN = mysql_fetch_array($ResultIN))
    {

    if($RowIN['wartung'] == 1)
    {
    include("templates/wartung.tpl");
    }
    else
    {
    if(isset($_SESSION['name']))
    {
    header('location: profile.php');
    }
    else
    {
    ?>
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <link rel="stylesheet" type="text/css" href="./stylesheet.css">
    <title>Basic UCP</title>
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function () {
    $('#wrapper #navigation li').hover(
    function () {
    $('ul', this).slideDown(200);

    },
    function () {
    $('ul', this).slideUp(200);
    }
    );
    });
    </script>
    </head>


    <body>
    <div id="global">
    <div id="wrapper">
    <div id="header"></div>

    <div id="content">
    <?php include('menu.php') ?>
    <div id="text">
    <div class="info">
    Wenn es mit unserem User Control Panel Probleme geben sollte, solltest du dich sofort bei uns Melden!<br>
    <hr>Das geht derzeit leider nur in unserem Forum. (<a href="http://streets-of-life.de">HIER</a>)
    </div><br>
    <?php
    $query = "SELECT * FROM ucp_news ORDER BY ID DESC LIMIT 3";
    $ResultIN = mysql_query($query);
    while($RowIN = mysql_fetch_array($ResultIN))
    {
    echo '<div class="headline"><h3>'.$RowIN['title'].' <div style="float: right"> '.$RowIN['time'].'</div></div><hr></h3><br><center>'.$RowIN['text'].'</center><br><hr>';
    }
    ?>
    </div>
    </div>

    <div id="userbox" class="box_small">
    <div id="head">
    Benutzer
    </div>

    <div id="text">
    <form action="login.php" method="POST">
    <table>
    <tr>
    <td><input type="text" name="name" class="textbox"></td>
    </tr>
    <tr>
    <td><input type="password" name="password" class="textbox"></td>
    </tr>
    </table>

    <div id="userbuttons">
    <input type="submit" name="submit" value="Login" class="button">
    </div>
    </form>
    </div>
    </div>

    <div id="serverbox" class="box_large">
    <div id="head">
    Server Status
    </div>

    <div id="text">
    <?php


    if($eeee->isOnline())
    {
    $aInformation = $eeee->getInfo();
    $aServerRules = $eeee->getRules();


    ?>
    <span class="param">Name</span> <?= htmlentities($aInformation['hostname']) ?>
    <span class="param">Spieler</span> <?= $aInformation['players'] ?> / <?= $aInformation['maxplayers'] ?>
    <span class="param">Gamemode</span> <?= htmlentities($aInformation['gamemode']) ?>
    <span class="param">IP-Adresse</span> <?= $ip?>:<?= $port; ?>

    <div id="serverbutton">
    <?php echo '<form action="samp://'.$ip.':'.$port.'">'; ?>
    <input type="submit" value="Join" class="button">
    </form>
    </div>

    <?php
    }
    ?>
    </div>
    </div>
    </div>

    <br class="clear">

    <div id="footer">
    <?php echo $footer; ?>
    <!-- <a href="policy.html">Impressum</a>&nbsp;&nbsp;<a href="contact.html">Kontakt</a> -->
    </div>
    </div>
    </body>
    </html>
    <?php
    }
    }
    }
    ?>

    HIer mal der mir angezeigt wird : Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/www/cwcity/hosting/m/a/maurice2013/htdocs/index.php on line 4 hier mal index.php