und zwar möchte ich für meine Homepage ein Chat basteln, doch ich bekommte nur fehler.
Was hab ich gemacht
Ich habe mir per Javascript eine function gebaut die überprüfen soll ob der User schon Im Chat ist, dafür möchte ich mir zu test zwecken den eingegeben namen zurück geben lassen, doch es kommt nur ein komischer html text.
Hier meine Function
function chat_initial() { var user = document.getElementById('chat_user').value; $.post('?ws_chat',{stage:"initial",user:user}, function(data) { alert(data); }); }
und hier was mir ausgegeben wird
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <!-- Maretz.eu - Free Ilch Clan und Community Templates --> <head> <title>Whitesharks :: Ws Chat</title> <link rel="stylesheet" type="text/css" href="include/designs/mar_BlackSolution_modBO2/modBO2.css"/> <!--Waitbox begin--> <div id="waitDiv" class="waitbox" style="width: 128px;height: 15px;margin-left: -64px;left: 50%; visibility: hidden; position: absolute; top: 428px" align="center"> <table cellpadding="6" summary="Splash-Screen Wait"> <tbody> <tr> <td><div align="center"><b></b><br><img src="include/designs/mar_BlackSolution_modBO2/bilder/wait.gif" border="0" align="top"><br clear="all"></div></td> </tr> </tbody> </table> </div> <script type="text/javascript"> var DHTML = (document.getElementById || document.all || document.layers); function ap_getObj(name) { if (document.getElementById) { return document.getElementById(name).style; } else if (document.all) { return document.all[name].style; } else if (document.layers) { return document.layers[name]; } } function ap_showWaitMessage(div,flag) { if (!DHTML) return; var x = ap_getObj(div); x.visibility = (flag) ? 'visible':'hidden' if(! document.getElementById) if(document.layers) x.left=280/2; return true; } ap_showWaitMessage('waitDiv', 1); </script> <!--Waitbox end--> <style type="text/css"> #dropmenudiv{ border-left:0px none; border-right:0px none; border-top:0px none; border-bottom:0px none; position:absolute; line-height:18px; z-index:100; font-style:normal; font-variant:normal; font-weight:normal; font-size:11px; font-family:Verdana; } #dropmenudiv a{ width: 100%; display: block; text-align: center; border-bottom: 0px solid black; padding: 1px 0; color: #a5a5a5; text-decoration: none; font-weight: bold; background-image:url('include/designs/mar_BlackSolution_modBO2/bilder/menu_stand.png'); } #dropmenudiv a:hover{ /*hover background color*/ color: #cc7a00; background-image:url('include/designs/mar_BlackSolution_modBO2/bilder/menu_over.png') ; } </style> <script type="text/javascript"> var box = 4; var chosbox = 1; function togglebox (tshow) { tshow = isNaN(tshow) ? 1 : tshow; if (tshow < 1 || tshow > box) { tshow = (chosbox < box) ? chosbox + 1 : 1; } document.getElementById('boxx_'+chosbox).style.display = 'none'; document.getElementById('boxx_'+tshow).style.display = ''; chosbox = tshow; } </script> <script type="text/javascript"> /*********************************************** * AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit http://www.dynamicdrive.com/ for full source code ***********************************************/ //Contents for menu 1 var menu1=new Array() menu1[0]='<a href="?news">News</a>' menu1[1]='<a href="?gbook">GBooK</a>' menu1[2]='<a href="?gallery">Gallery</a>' menu1[3]='<a href="?kalender">Kalender</a>' //Contents for menu 2, and so on var menu2=new Array() menu2[0]='<a href="?showteams">Team Übersucht</a>' menu2[1]='<a href="?addteam">Team erstellen</a>' menu2[2]='<a href="?rules">Regeln</a>' menu2[3]='<a href="?history">Geschichte</a>' //Contents for menu 3, and so on var menu3=new Array() menu3[0]='<a href="?forum">Forum</a>' menu3[1]='<a href="?user">Mitglieder</a>' menu3[2]='<a href="?links">Links</a>' menu3[3]='<a href="?downloads">Downloads</a>' menu3[4]='<a href="?awaycal">Away</a>' //Contents for menu 4, and so on var menu4=new Array() menu4[0]='<a href="?contact">Kontakt</a>' menu4[1]='<a href="?impressum">Imprint</a>' menu4[2]='<a href="?rules">Regelwerk</a>' menu4[3]='<a href="?awards">Auszeichnungen</a>' var menuwidth='123px' //default menu width var menubgcolor='write' //menu bgcolor var disappeardelay=250 //menu disappear speed onMouseout (in miliseconds) var hidemenu_onclick="yes" //hide menu when user clicks within menu? /////No further editting needed var ie4=document.all var ns6=document.getElementById&&!document.all if (ie4||ns6) document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>') function getposOffset(what, offsettype){ var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop; var parentEl=what.offsetParent; while (parentEl!=null){ totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop; parentEl=parentEl.offsetParent; } return totaloffset; } function showhide(obj, e, visible, hidden, menuwidth){ if (ie4||ns6) dropmenuobj.style.left=dropmenuobj.style.top="-500px" if (menuwidth!=""){ dropmenuobj.widthobj=dropmenuobj.style dropmenuobj.widthobj.width=menuwidth } if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover") obj.visibility=visible else if (e.type=="click") obj.visibility=hidden } function iecompattest(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body } function clearbrowseredge(obj, whichedge){ var edgeoffset=0 if (whichedge=="rightedge"){ var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15 dropmenuobj.contentmeasure=dropmenuobj.offsetWidth if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure) edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth } else{ var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18 dropmenuobj.contentmeasure=dropmenuobj.offsetHeight if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up? edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either? edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge } } return edgeoffset } function populatemenu(what){ if (ie4||ns6) dropmenuobj.innerHTML=what.join("") } function dropdownmenu(obj, e, menucontents, menuwidth){ if (window.event) event.cancelBubble=true else if (e.stopPropagation) e.stopPropagation() clearhidemenu() dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv populatemenu(menucontents) if (ie4||ns6){ showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth) dropmenuobj.x=getposOffset(obj, "left") dropmenuobj.y=getposOffset(obj, "top") dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px" dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px" } return clickreturnvalue() } function clickreturnvalue(){ if (ie4||ns6) return false else return true } function contains_ns6(a, b) { while (b.parentNode) if ((b = b.parentNode) == a) return true; return false; } function dynamichide(e){ if (ie4&&!dropmenuobj.contains(e.toElement)) delayhidemenu() else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget)) delayhidemenu() } function hidemenu(e){ if (typeof dropmenuobj!="undefined"){ if (ie4||ns6) dropmenuobj.style.visibility="hidden" } } function delayhidemenu(){ if (ie4||ns6) delayhide=setTimeout("hidemenu()",disappeardelay) } function clearhidemenu(){ if (typeof delayhide!="undefined") clearTimeout(delayhide) } if (hidemenu_onclick=="yes") document.onclick=hidemenu </script> <script src="include/designs/mar_BlackSolution_modBO2/slider/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#slider img").hide(); $("#slider img").first().show(); var currentItem = $("#slider img").first().next().index(); var lastItem = $("#slider img").last().index(); setInterval(function(){ $("#slider img").hide(); $("#slider img").eq(currentItem).show(); if(currentItem == lastItem){ currentItem = 0; }else{ currentItem = $("#slider img").eq(currentItem).next().index(); } }, 5000); }); </script> </head> <body> <div align="center"><div id="all"> <!-- BREAK //--> <div id="img01" align="left" style="margin-top: 37px"> </div> <td><table width="517" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="include/designs/mar_BlackSolution_modBO2/bilder/links_leer.png" name="image23" width="22" height="29" border="0"></a></td> <td><a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu1, '105px')" onMouseout="delayhidemenu()"><img src="include/designs/mar_BlackSolution_modBO2/bilder/infotainment.png" name="image1" width="105" height="29" border="0"></a></td> <td><a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu2, '121px')" onMouseout="delayhidemenu()"><img src="include/designs/mar_BlackSolution_modBO2/bilder/clansection.png" name="image2" width="121" height="29" border="0"></a></td> <td><a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu3, '129px')" onMouseout="delayhidemenu()"><img src="include/designs/mar_BlackSolution_modBO2/bilder/communityarea.png" name="image3" width="129" height="29" border="0"></a></td> <td><a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu4, '123px')" onMouseout="delayhidemenu()"><img src="include/designs/mar_BlackSolution_modBO2/bilder/miscation.png" name="image4" width="123" height="29" border="0"></a></td> <td><img src="include/designs/mar_BlackSolution_modBO2/bilder/rechts_leer.png" name="image29" width="17" height="29" border="0"></a></td> </tr> </table> <div id="img02" align="left" valign="top" > </div> <div id="bsstatistik" align="left" valign="top" style="margin-top: 46px"> <div id="bsstatistik-inhalt"><span class="lang_font">Gesamt: </span><span class="stat_font">63</span> <span class="lang_font">Heute: </span><span class="stat_font">5</span> <span class="lang_font">Gestern: </span><span class="stat_font">5</span> <span class="lang_font">Online: </span><span class="stat_font">1</span> <a class="lang_font" href="index.php?statistik" title="Statistik Übersicht">... mehr</a></div> </div></div> <div id="img03" align="left" valign="top"> <div id="img03-login"><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td> <div class="boxes_na" align="center">User: <b>Blackfire</b> </div> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><div class="boxes_lo" align="center"><span class="floatlogin"><a href="?search-aeit"><img src="include/designs/mar_BlackSolution_modBO2/login/beitrag.png" border="0" /></a><br /> Eigene Beträge</span></div></td> <td><div class="boxes_lo" align="center"><span class="floatlogin"><a href="?forum-privmsg"><img src="include/designs/mar_BlackSolution_modBO2/login/nachrichten.png" border="0" /></a><br /> <a class="box" href="index.php?forum-privmsg">Nachrichten</a> (0)<br></span></div></td> </tr> <tr> <td><div class="boxes_lo" align="center"><span class="floatlogin"><a href="?user-8"><img src="include/designs/mar_BlackSolution_modBO2/login/profil.png" border="0" /></a><br /> Dein Profil</span></div></td> <td><div class="boxes_lo" align="center"><span class="floatlogin"><a href="?user-3"><img src="include/designs/mar_BlackSolution_modBO2/login/logout.png" border="0" /></a><br /> Raus hier! </span></div></td> </tr> </table> <div class="boxes_admin" align="center"><table width="200" border="0" cellspacing="0" cellpadding="0"><tr><a href="admin.php?admin"><span style="color:#cc7a00; font-weight:normal;font-size: 11px;">Page-Verwaltung</span></td></tr></table></div> </td> </tr> </table> </div> <div id="img03-infopanel" align="left" ><div align="center"> <a href="javascript:void(0);" onclick="togglebox(1);"><img src="include/images/icons/boxen/lastBO2.png" border="0" alt="News"></a> <a href="javascript:void(0);" onclick="togglebox(2);"><img src="include/images/icons/boxen/nextBO2.png" border="0" alt="Forum"></a> <a href="javascript:void(0);" onclick="togglebox(3);"><img src="include/images/icons/boxen/trainBO2.png" border="0" alt="Allianz"></a> </div> <div id="boxx_1"><div><div style="display:inline-block;width:325px;height:30px;color:#ffffff;font-size: 11px;padding-left:3px;"><b> » </b><a class="box" href="index.php?news-3" title="Wir suchen Member">Wir suchen Member<br /><span class="smalfont"> Kategorie: Allgemein | 12.03.2013</span></a></a></div></div></div> <div id="boxx_2" style="display:none"><div></div></div> <div id="boxx_3" style="display:none"><marquee align="center" direction="down" width="329" height="94" scrollAmount="1" scrolldelay="2" onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=1" style="border:none;"><div align="center"><a class="box" href="http://www.ilch.de" target="_blank"><img src="http://www.ilch.de/images/banner/copy_by_ilch.gif" alt="www.ilch.de" border="0"><br /> </a><br /></div></marquee></div></div> <div id="slider"> <img src="include/designs/mar_BlackSolution_modBO2/slider/images/header1.jpg" alt="" /> <img src="include/designs/mar_BlackSolution_modBO2/slider/images/header2.jpg" alt="" /> <img src="include/designs/mar_BlackSolution_modBO2/slider/images/header3.jpg" alt="" /> <img src="include/designs/mar_BlackSolution_modBO2/slider/images/header4.jpg" alt="" /> <img src="include/designs/mar_BlackSolution_modBO2/slider/images/header5.jpg" alt="" /> </div></div> <div id="img04" align="left" valign="top" > <div id="ticker">{_boxes_ticker}</div> </div> <div id="contentbs"> <div id="left_col"> <table width="210" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="width: 200px; height: 40px; background: url(include/designs/mar_BlackSolution_modBO2/bilder/boxmenu_links.png) no-repeat bottom left;" align="center"><b class="btitle">Menü</b></td> </tr><tr> <td align="center" valign="middle" style="min-height:20px; padding: 4px;"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="left" valign="middle"><a target="_self" class="menu" href="index.php?news">News</a> <a target="_self" class="menu" href="index.php?forum">Forum</a> <a target="_self" class="menu" href="index.php?user">Mitglieder</a> <a target="_self" class="menu" href="index.php?gbook">Gbook</a> <a target="_self" class="menu" href="index.php?ws_chat">Chat</a> <a target="_self" class="menu" href="index.php?links">Links</a> <a target="_self" class="menu" href="index.php?downloads">Downloads</a> <a target="_self" class="menu" href="index.php?gallery">Gallery</a> <a target="_self" class="menu" href="index.php?kalender">Kalender</a> <a target="_self" class="menu" href="index.php?contact">Kontakt</a> <a target="_self" class="menu" href="index.php?impressum">Impressum</a> </td> </tr> </table> </td> </tr> </table> <br /> <table width="210" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="width: 200px; height: 40px; background: url(include/designs/mar_BlackSolution_modBO2/bilder/boxmenu_links.png) no-repeat bottom left;" align="center"><b class="btitle">Clan Menü</b></td> </tr><tr> <td align="center" valign="middle" style="min-height:20px; padding: 4px;"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="left" valign="middle"><a target="_self" class="menu" href="index.php?showteams">Team Übersicht</a> <a target="_self" class="menu" href="index.php?addteam">Team erstellen</a> <a target="_self" class="menu" href="index.php?rules">Regeln</a> <a target="_self" class="menu" href="index.php?history">History</a> </td> </tr> </table> </td> </tr> </table> <br /> <table width="210" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="width: 200px; height: 40px; background: url(include/designs/mar_BlackSolution_modBO2/bilder/boxmenu_links.png) no-repeat bottom left;" align="center"><b class="btitle">Login</b></td> </tr><tr> <td align="center" valign="middle" style="min-height:20px; padding: 4px;"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="left" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="10"> <tr> <td> Hallo <b>Blackfire</b> <br /> <br /> <a class="box" href="index.php?forum-privmsg">Nachrichten</a> (0)<br> <a class="box" href="index.php?user-3">Logout</a> | <a class="box" href="index.php?user-8">Profil</a> <br> <a class="box" href="admin.php?admin">Admin Bereich</a> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> <br /> <table width="210" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="width: 200px; height: 40px; background: url(include/designs/mar_BlackSolution_modBO2/bilder/boxmenu_links.png) no-repeat bottom left;" align="center"><b class="btitle">Shoutbox</b></td> </tr><tr> <td align="center" valign="middle" style="min-height:20px; padding: 4px;"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="left" valign="middle"><form action="index.php?ws_chat" method="POST"><input type="text" size="15" name="shoutbox_nickname" value="Blackfire" onFocus="if (value == 'Blackfire') {value = ''}" onBlur="if (value == '') {value = 'Blackfire'}" maxlength="15"><br /><textarea style="width: 80%" cols="15" rows="2" name="shoutbox_textarea"></textarea><br /><input type="submit" value="Absenden" name="shoutbox_submit"></form><table width="90%" class="border" cellpadding="2" cellspacing="1" border="0"></table><a class="box" href="index.php?shoutbox">Archiv</a></td> </tr> </table> </td> </tr> </table> <br /> </div> <div id="topmenu" align="left" valign="top" ><font><b> ∇ </b>Ws Chat</font></div> <div id="main_col">hi</div> <div id="right_col1"> <table width="300" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="width: 300px; height: 40px; background: url(include/designs/mar_BlackSolution_modBO2/bilder/boxmenu_rechts.png) no-repeat bottom left;" align="center"><b class="btitle">Umfrage</b></td> </tr><tr> <td align="left" valign="middle" style="min-height:20px; padding: 3px;text-align:center;"> <table width="70%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="left" valign="middle"><b>Was haltet ihr von dem neuen Design?</b><table width="100%" cellpadding="0"><tr><td>Ist ganz gut</td><td align="right">5</td></tr><tr><td>Nicht so mein fall</td><td align="right">0</td></tr><tr><td colspan="2" align="right">Gesamt: 5</td></tr></table></td> </tr> </table></td> </tr> </table> <br /> <table width="300" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="width: 300px; height: 40px; background: url(include/designs/mar_BlackSolution_modBO2/bilder/boxmenu_rechts.png) no-repeat bottom left;" align="center"><b class="btitle">Allianz</b></td> </tr><tr> <td align="left" valign="middle" style="min-height:20px; padding: 3px;text-align:center;"> <table width="70%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="left" valign="middle"><div align="center"> <a class="box" href="http://www.ilch.de" target="_blank"> <img src="http://www.ilch.de/images/banner/copy_by_ilch.gif" alt="www.ilch.de" border="0"></a><br /> </div> </td> </tr> </table></td> </tr> </table> <br /> <table width="300" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="width: 300px; height: 40px; background: url(include/designs/mar_BlackSolution_modBO2/bilder/boxmenu_rechts.png) no-repeat bottom left;" align="center"><b class="btitle">Statistik</b></td> </tr><tr> <td align="left" valign="middle" style="min-height:20px; padding: 3px;text-align:center;"> <table width="70%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="left" valign="middle">Gesamt: 63<br />Heute: 5<br />Gestern: 5<br />Online: 1<br /><a class="box" href="index.php?statistik"><b>... mehr</b></a></td> </tr> </table></td> </tr> </table> <br /> <table width="300" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="width: 300px; height: 40px; background: url(include/designs/mar_BlackSolution_modBO2/bilder/boxmenu_rechts.png) no-repeat bottom left;" align="center"><b class="btitle">Online</b></td> </tr><tr> <td align="left" valign="middle" style="min-height:20px; padding: 3px;text-align:center;"> <table width="70%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="left" valign="middle"><table align="center" border="0" cellpadding="0" cellspacing="0" > <tr><td><img src="include/images/icons/online.gif" border="0" alt="online"></td><td><a href="index.php?user-details-1">Blackfire</a></td></tr> <tr><td colspan="2"><hr style="height: 0px; border: dashed #9AB1C8 0px; border-top-width: 1px;"></td></tr> <tr><td><img src="include/images/icons/offline.gif" border="0" alt="offline"></td><td><a href="index.php?user-details-3" title="Letzte Mal online: 20:40 08.03.13">wali01</a></td></tr> <tr><td><img src="include/images/icons/offline.gif" border="0" alt="offline"></td><td><a href="index.php?user-details-2" title="Letzte Mal online: 16:21 08.03.13">Lemonfreak58</a></td></tr> <tr><td colspan="2"><hr style="height: 0px; border: dashed #9AB1C8 0px; border-top-width: 1px";></td></tr> <tr><td><img src="include/images/icons/offline.gif" border="0" alt="offline"></td><td><font size="-1" color="#003366">0 Gäste</td></tr> </table> </td> </tr> </table></td> </tr> </table> <br /> <table width="300" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="width: 300px; height: 40px; background: url(include/designs/mar_BlackSolution_modBO2/bilder/boxmenu_rechts.png) no-repeat bottom left;" align="center"><b class="btitle">Last Forum</b></td> </tr><tr> <td align="left" valign="middle" style="min-height:20px; padding: 3px;text-align:center;"> <table width="70%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="left" valign="middle"><table></table></td> </tr> </table></td> </tr> </table> <br /> <table width="300" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="width: 300px; height: 40px; background: url(include/designs/mar_BlackSolution_modBO2/bilder/boxmenu_rechts.png) no-repeat bottom left;" align="center"><b class="btitle">Teams</b></td> </tr><tr> <td align="left" valign="middle" style="min-height:20px; padding: 3px;text-align:center;"> <table width="70%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="left" valign="middle"><table width="100%" border="0" cellpadding="4" cellspacing="2" align="center"> <tr class="Chead"> <td style="border-radius:10px; border:1px solid silver;" align="center" valign="middle"><a href="?showteams&id=1">Whitesharks</a></td> </tr> </table></td> </tr> </table></td> </tr> </table> <br /> </div> <br style="clear: both;" /> </div> <div id="bsfoot" align="left" valign="top" > <div id="marfoot"><div align="center">All rights reserved by <a href="index.php?impressum" title="Imprint"><u>Whitesharks</u></a> © Design by <a href="http://www.maretz.eu" title="Maretz.eu - Digital Art | GFX-Support"><u>Maretz.eu - Digital Art</u></a> CMS by <a href="http://www.ilch.de" title="Ilch.de"><u>ilch.de</u></a></div> </div></div> </body> </html> <!-- {DDDmenupoint} //--> <!--Waitbox-finish begin--> <script type="text/javascript"> <!-- setTimeout("ap_showWaitMessage('waitDiv', 0);",800) //--> </script> <!--Waitbox-finish end-->
Hier die Php datei
<?php defined ('main') or die ( 'no direct access' ); $title = $allgAr['title'].' :: Ws Chat'; $hmenu = 'Ws Chat'; $design = new design ( $title , $hmenu ); $design->header(); if("initial" == $_POST['stage']) { $username = $_POST['user']; echo $username; } else { $tpl = new tpl('ws_chat'); $tpl->out(0); } $design->footer(0); ?>
ich verstehe nur nicht wieso, deswegen bitte ich um eure hilfe
betroffene Homepage: whitesharks.eu.ki