Stoppt-den-Spam.info Foren-Übersicht
RegistrierenSuchenFAQMitgliederlisteBenutzergruppenLogin
Hilfe erbeten !
Gehe zu Seite 1, 2  Weiter
 
Neues Thema eröffnen   Neue Antwort erstellen    Stoppt-den-Spam.info Foren-Übersicht -> Rechen Captcha
Vorheriges Thema anzeigen :: Nächstes Thema anzeigen  
Autor Nachricht
zeppesch



Anmeldedatum: 17.08.2008
Beiträge: 18

BeitragVerfasst am: 17.08.2008, 22:04    Titel: Hilfe erbeten ! Antworten mit Zitat

Hallo zusammen, bin nicht der fitteste im programmieren aber ich muss bei der betreffenden seite einen captcha einbinden....bekomms aber einfach nicht hin...vielleicht sitz ich auch schon zu lang dran..bitte schaut doch mal nach..wäre klasse wenn mir geholfen werden kann !!!! DANKE im Voraus ...


wir haben eine seite zum eingeben des comments...

<html>

<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>Guestbook T-Delight.com official Homepage - AMS - 2DNM - Electric-Haze Music - presswerk.de - Siebenpunkt - Midiflash</title>
<link href="../../web-content/tstyle.css" type="text/css" rel="stylesheet" media="all" />
<meta name="keywords" content="T-Delight, T-Delight.com, t-delight.com, t-delight, T-Delight official Website, AMS, 2DNM, elctric-haze music, presswerk.de, siebenpunkt, marysolmusic, midiflash, emsiono, el delincuente, mafia meier, baby v., Mark Thornton, m&uuml;nchen Rap, deutscher HipHop, deutscher rap, chief am mic, choose your destiny, trottel renn, beweg deinen arsch, m&uuml;nchen neuhausen, rap aus bayern, hiphop aus bayern" />
</head>

<body onload="SendDate()" background="../../web-content/gfx/thbglr.jpg" bgcolor="#ffffff" link="white" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
<div align="center">
<table width="923" border="0" cellspacing="2" cellpadding="0" bgcolor="#010000">
<tr height="247">
<td rowspan="2" valign="top" bgcolor="#010000" width="7"><img src="../../web-content/gfx/thborder2.jpg" alt="" height="674" width="7" align="top" border="0"></td>
<td colspan="3" align="center" valign="top" height="247" background="../../web-content/gfx/Thead-Ani.gif">
<div align="center"></div>
</td>
<td rowspan="2" valign="top" width="7"><img src="../../web-content/gfx/thborder2.jpg" alt="" height="674" width="7" align="top" border="0"></td>
</tr>
<tr>
<td valign="top" bgcolor="#010000" width="181">
<table width="181" border="0" cellspacing="2" cellpadding="0">
<tr>
<td bgcolor="#010000"><font color="#010000"><img src="../../web-content/gfx/bgclear.gif" alt="" height="16" width="176" border="0"></font></td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><font color="#010000"><img src="../../web-content/gfx/bgclear.gif" alt="" height="29" width="176" border="0"></font></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Home" href="../../home.html">HOME</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="29" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Biografie" href="../../bio.html">BIOGRAFIE</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="29" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Discografie" href="../../disco.html">DISCOGRAFIE</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="29" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Musik" href="../../musik.html">MUSIK&nbsp;</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="29" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Live" href="../../live.html">LIVE</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="29" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Pictures" href="../../pics.html">PICS</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="29" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Videos" href="../../videos.html">VIDEOS</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="29" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Presse" href="../../presse.html">PRESSE</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="29" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Newsletter" href="../../newsletter.html">NEWSLETTER</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="29" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/bgl.jpg">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Guestbook" href="output.php">G&Auml;STEBUCH</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="29" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Booking" href="../../booking.html">BOOKING</a></strong></font></div>
</td>
</tr>
<tr>
<td background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="29" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Promotion" href="../../promotion.html">PROMOTION</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="29" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Links, Friends &amp;&nbsp;Partner" href="../../links.html">LINKS</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="29" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Kontakt" href="../../kontakt.html">KONTAKT</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="29" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Impressum" href="../../impressum.html">IMPRESSUM</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="29" width="176" border="0"></td>
</tr>
</table>
</td>
<td colspan="2" valign="top" bgcolor="#010000">
<div align="center">
<form name="Entry" method="post" action="output.php">
<br />
<div align="left">
<div style="position:relative;width:711px;height:546px;-adbe-g:p,5,5;">
<div style="position:absolute;top:125px;left:16px;width:290px;height:134px;">
<textarea name="comment" rows="7" cols="33" tabindex="1"></textarea></div>
<div style="position:absolute;top:15px;left:11px;width:320px;height:96px;-adbe-c:c">
<div align="left">
<h2><font color="white" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">T-Delight Guestbook<br>
<img src="../../web-content/gfx/thwgm.jpg" alt="" height="11" width="177" border="0"><br>
</font></h2>
<p><font color="#999999" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">Sign Guest Book :</font></p>
</div>
</div>
<div style="position:absolute;top:16px;left:333px;width:360px;height:529px;">
<img src="../../web-content/pics/tdelight%2010775.JPG" alt="" height="529" width="360" border="0"></div>
<div style="position:absolute;top:515px;left:93px;width:92px;height:26px;">
<input type="submit" name="send" value="submit" tabindex="5" border="0"></div>
<div style="position:absolute;top:465px;left:23px;width:272px;height:35px;-adbe-c:c">
<font size="2" color="#b60000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">Rechaufgabe l&ouml;sen und auf SUBMIT&nbsp;clicken um den Eintrag abzuschicken....</font></div>
<div style="position:absolute;top:0px;left:11px;width:12px;height:12px;">
<input type="hidden" name="new_entry" value="true"></div>
<div style="position:absolute;top:0px;left:89px;width:12px;height:12px;">
<input type="hidden" name="localDate"></div>
<div style="position:absolute;top:340px;left:87px;width:212px;height:26px;">
<input type="text" name="town" value="" size="25" tabindex="3" border="0"></div>
<div style="position:absolute;top:285px;left:87px;width:212px;height:26px;">
<input type="text" name="name" value="" size="25" tabindex="2" border="0"></div>
<div style="position:absolute;top:285px;left:18px;width:57px;height:26px;-adbe-c:c">
<font color="#999999" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">Name :</font></div>
<div style="position:absolute;top:341px;left:18px;width:52px;height:20px;-adbe-c:c">
<font color="#999999" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">Town :</font></div>
<div style="position:absolute;top:386px;left:188px;width:32px;height:32px;">
<img src="rechen-captcha.php"></div>
<div style="position:absolute;top:421px;left:188px;width:52px;height:26px;">
<input type="text" name="sicherheitscode" size="5" tabindex="4"></div>
<div style="position:absolute;top:386px;left:20px;width:152px;height:24px;-adbe-c:c">
<font color="#999999" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">Sicherheitsabfrage :</font></div>
<csnopos>
<cspos xpos="113" xpos="0">
<!--mark_mail-->
</cspos>
</csnopos>
</div>
</div>
</form>
<p><img src="../../web-content/logos/Tt-Delight-logo-black.gif" alt="" height="239" width="680" border="0"></p>
</div>
</td>
</tr>
<tr>
<td valign="top" width="7"></td>
<td valign="top" bgcolor="#010000" width="181"></td>
<td colspan="2" valign="top" bgcolor="#010000">
<div align="center">
<font size="2" color="#999999" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">T-Delight.com </font><font size="2" color="#999999">&copy;</font><font size="2" color="#999999" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"> </font><font size="2" color="#999999">by </font><font size="2" color="#999999" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">Electric-Haze Music 2007-2008</font></div>
</td>
<td valign="top" width="7"></td>
</tr>
</table>
</div>
</body>
</html>



die 2. seite mit der verarbeitung und anzeige der comments :

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="Adobe GoLive">
<title>Guestbook T-Delight.com official Homepage - AMS - 2DNM - Electric-Haze Music - Siebenpunkt - Midiflash</title>
<link href="../../web-content/tstyle.css" type="text/css" rel="stylesheet" media="all" />
<meta name="keywords" content="T-Delight, T-Delight.com, t-delight.com, t-delight, T-Delight official Website, AMS, 2DNM, elctric-haze music, presswerk.de, siebenpunkt, marysolmusic, midiflash, emsiono, el delincuente, mafia meier, baby v., Mark Thornton, m&uuml;nchen Rap, deutscher HipHop, deutscher rap, chief am mic, choose your destiny, trottel renn, beweg deinen arsch, m&uuml;nchen neuhausen, rap aus bayern, hiphop aus bayern" />
</head>

<body background="../../web-content/gfx/thbglr.jpg" bgcolor="#ffffff" link="white" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
<div align="center">
<table width="923" border="0" cellspacing="2" cellpadding="0" bgcolor="#010000">
<tr height="255">
<td rowspan="2" valign="top" bgcolor="#010000"><img src="../../web-content/gfx/thborder2.jpg" alt="" height="674" width="7" align="top" border="0"></td>
<td colspan="3" align="center" height="255" background="../../web-content/gfx/Thead-Ani.gif">
<div align="center"></div>
</td>
<td rowspan="2" valign="top"><img src="../../web-content/gfx/thborder2.jpg" alt="" height="674" width="7" align="top" border="0"></td>
</tr>
<tr>
<td valign="top" bgcolor="#010000" width="181">
<table width="181" border="0" cellspacing="2" cellpadding="0">
<tr>
<td bgcolor="#010000">
<div align="center">
<font color="#010000"><img src="../../web-content/gfx/bgclear.gif" alt="" height="16" width="17" border="0"><noedit><div style="width:112px;"><a href="http://www.mzee.com/linkprojekt/site/in/6186/rap-musik-offizielle-rap-crew-sites-shop.html" target="_top" title="MZEE.com LinkProjekt: Rap-Musik - (offizielle) Rap-Crew-Sites / Shop"><img src="http://www.mzee.com/linkprojekt/site/img/6186/format/klein/rap-musik-offizielle-rap-crew-sites-shop.jpg" border="0" width="112" height="55" title="MZEE.com LinkProjekt: Rap-Musik - (offizielle) Rap-Crew-Sites / Shop" alt="Rap-Musik - (offizielle) Rap-Crew-Sites / Shop" /><div style="text-align:center;font-size:9px;">Vote bei MZEE.com</div></a></div></noedit><br>
</font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><font color="#010000"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></font></td>
</tr>
<tr>
<td>
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Home" href="../../home.html">HOME</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Biografie" href="../../bio.html">BIOGRAFIE</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Discografie" href="../../disco.html">DISCOGRAFIE</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Musik" href="../../musik.html">MUSIK&nbsp;</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Live" href="../../live.html">LIVE</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Pictures" href="../../pics.html">PICS</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Videos" href="../../videos.html">VIDEOS</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Presse" href="../../presse.html">PRESSE</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Newsletter" href="../../newsletter.html">NEWSLETTER</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/bgl.jpg">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Guestbook" href="output.php">G&Auml;STEBUCH</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Booking" href="../../booking.html">BOOKING</a></strong></font></div>
</td>
</tr>
<tr>
<td background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Promotion" href="../../promotion.html">PROMOTION</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Links, Friends &amp;&nbsp;Partner" href="../../links.html">LINKS</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Kontakt" href="../../kontakt.html">KONTAKT</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Impressum" href="../../impressum.html">IMPRESSUM</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
</table>
</td>
<td colspan="2" align="center" valign="top" bgcolor="#010000"><?php
//Get vars
//The setting 'track_vars' must be "ON" (standard).
$new_comment_array=$HTTP_POST_VARS;
$user_data=file("data.txt", "r");

//New Comment?
if($new_comment_array["new_entry"]=="true")
{
//Prove "Is 'text' filled"
if($new_comment_array["comment"]=="")
{
die("You have to fill the textfield!");
}
//Prove "Is 'name' filled?"
/*mark_prove_name..
if($new_comment_array["name"]=="")
{
die("You have to fill the namefield!");
}
..mark_prove_name_b*/

//Prove "Is 'town' filled?"
/*mark_prove_town..
if($new_comment_array["town"]=="")
{
die("You have to enter a town!");
}
..mark_prove_town_b*/

//Prove"Is 'mail' filled?"
/*mark_prove_mail..
if($new_comment_array["mail"]=="")
{
die("Please fill the mailadressfield!");
}

if (eregi("^[_a-z0-9]+(\.[_a-z0-9-]+)*@([a-z0-9-]+\.)+([a-z0-9]{2,4})$",
$new_comment_array["mail"]))

{$go_on="true";}

if(!$go_on)
{
die("The mailaddress is not correct!");
}
..mark_prove_mail_b*/


//Saving new comment
if($new_comment_array!="")
{
//Date
/*mark_time*/ $date=$new_comment_array["localDate"];

//Send mail with the new comment
$address=trim($user_data[0]);
if($address!="")
{
$message= $date."\n".$new_comment_array["name"]."\n".$new_comment_array["mail"]."\n".
$new_comment_array["town"]."\n".$new_comment_array["comment"];
$send=mail($address,"New comment",$message);
}

//Comment to string
$new_string=$date."/*/".$new_comment_array["name"]."//".$new_comment_array["town"]."//"
.$new_comment_array["mail"]."/*/".$new_comment_array["comment"];

//Get old comments
$filename="comments.txt";
$fr=@fopen($filename,"r");

if($fr)
{
$old_strings=fread($fr, filesize($filename));
fclose($fr);
}
else die("Can not find file $filename!");

//Merge and save.
$strings=$new_string."//**//".$old_strings;

$fw=@fopen($filename,"w");

if ($fw)
{
fputs($fw, $strings);
fclose($fw);
}
else die("Can not find file $filename!");
}
unset($new_comment_array["new_entry"]);
echo "Your post has been added to the guestbook! Thank you for using the guestbook.<br>";
echo '<a href="output.php">Return to Guestbook log.</a>';
die;
//End 'Getting new comment'. Script can be included.
}
?><?php

//Show the commments
if($new_comment_array["new_entry"]!="true")
{
$filename="comments.txt";
$fr=fopen($filename,"r");
if($fr)
{
$strings=fread($fr, filesize($filename));
fclose($fr);
}
else die("Can not find file $filename");}

//Create filters
$trim=trim($user_data[2]);
$trimmed1=str_replace(" ", "", $trim);
if($trimmed1 !="")
{
$filter1=explode(",", $trimmed1);
}

//Start search for filter-functions
function filter($data,$filter,$exchange)
{
for ($n=0;$n<count($filter);$n++) {
if (strstr($exchange,"###")) $change=str_replace("###", $filter[$n], $exchange);
else $change=$exchange;
$data=preg_replace("/(?i)$filter[$n](?=(,|\s|\?|\!|\")|$)/", $change, $data);
}
return $data;
}
?>
<table width="98%">
<tr>
<td colspan="2" align="left" valign="top">
<h1><br>
<font size="4" color="white" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">T-Delight Guestbook<br>
</font><font size="4" color="#999999" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><img src="../../web-content/gfx/thwgm.jpg" alt="" height="11" width="177" border="0">
</font></h1>
</td>
<td rowspan="2">
<div align="right">
<br>
<img src="../../web-content/pics/tdelight%2010106%20wb.jpg" alt="" height="302" width="445" border="0"><br>
<br>
</div>
</td>
</tr>
<tr>
<td colspan="2" align="left" valign="top"><font size="2" color="#999999" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">Number of entries: <?
$table=explode("//**//", $strings);
if($table[0]=="")
{
echo"None";
}
else
{
$count=count($table);
$coun=--$count;
echo $coun;
}
?><br>
</font><font color="#999999"><br>
<br>
<br>
</font><a href="input.htm" target="_self"><font size="2" color="white" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">To post your own comment <br>
click here</font></a></td>
</tr>
<tr>
<td bgcolor="#4b4b4b"><b><font size="2" color="#999999" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">Date</font></b></td>
<td bgcolor="#4b4b4b"><b><font size="2" color="#9b9b9b" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">Name</font></b></td>
<td bgcolor="#4b4b4b"><b><font size="2" color="#999999" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">Comment</font></b></td>
</tr>
<?
//start comment-table
for ($i=0;$i<$coun; $i++) {
$cell=explode("/*/", $table[$i]);
$user=explode("//", $cell[1]);
?>
<tr valign="top">
<td bgcolor="#878787"><font size="2" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><?
//mark_i.. $j=1+$i;
//mark_i.. echo $j.".<br>";
echo $cell[0];
?></font></td>
<td bgcolor="#878787"><font size="2" color="white" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><?
echo "<b>".strtoupper($user[0])."</b><br>".$user[1]."<br>
<a href=\"mailto:".$user[2]."\">".strtolower($user[2])."</a>";
?></font></td>
<td bgcolor="#878787"><font size="2" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><?
$text=nl2br(strip_tags(stripslashes($cell[2])));
$text=filter($text,$filter1,"<b>*CENSORED*</b>");

$text=strip_tags(stripslashes($text));
//Cut long entries
if(strlen($text)>$user_data[1])
{
$cut_text=wordwrap($text,$user_data[1],"%@%");
if ($cut_text!="")
{
$pos=strpos($cut_text,"%@%");
$new_cut_text=substr($cut_text,0,$pos);
echo $new_cut_text."(...)<br><form method=\"post\" action=\"ShowAll.php\">
<input type=\"hidden\" name=\"Date\" value=\"".$cell[0]."\">
<input type=\"hidden\" name=\"User\" value=\"".$user[0]."\">
<input type=\"hidden\" name=\"Text\" value=\"".$text."\">
";
}
if ($cut_text=="")
{
$new_cut_text=substr($text,0 ,$user_data[1]);
echo $new_cut_text."(...)<br><form method=\"post\" action=\"ShowAll.php\">
<input type=\"hidden\" name=\"Date\" value=\"".$cell[0]."\">
<input type=\"hidden\" name=\"User\" value=\"".$user[0]."\">
<input type=\"hidden\" name=\"Text\" value=\"".$text."\">
";
}
?><b onclick="submit(document.forms[0].elements);"><u><font color="#00008b">see the whole comment</font></u></b>
</form><?
}
//show short comments
elseif (strlen($text)<$user_data[1])
{
echo $text;
}
?></font></td>
</tr>
<?
//Stop comment-table
}
?>
<tr>
<td bgcolor="#4b4b4b" colspan="3" align="right"><a href="input.htm" target="_self"><font size="2" color="white" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">To post your own comment click here</font></a></td>
</tr>
<tr>
<td colspan="3"><br>
<br>
</td>
</tr>
<tr>
<td colspan="3">
<div align="center">
<img src="../../web-content/logos/Tt-Delight-logo-black.gif" alt="" height="239" width="680" border="0"></div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top"></td>
<td valign="top" bgcolor="#010000" width="181"></td>
<td colspan="2" valign="top" bgcolor="#010000">
<div align="center">
<font size="2" color="#999999" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">T-Delight.com &copy; by Electric-Haze Music 2007-2008</font></div>
</td>
<td valign="top"></td>
</tr>
</table>
</div>
</body>
</html>


die website ist www.t-delight.com

Hoffe auf EUre Hilfe

Smile
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
Rob [Admin]
Site Admin


Anmeldedatum: 23.12.2006
Beiträge: 132

BeitragVerfasst am: 18.08.2008, 10:05    Titel: Antworten mit Zitat

was geht denn nicht? Fehlermeldungen?
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden
zeppesch



Anmeldedatum: 17.08.2008
Beiträge: 18

BeitragVerfasst am: 18.08.2008, 14:15    Titel: Antworten mit Zitat

angezeigt wird das rechencaptcha....aber es wird nicht geprüft..
ich habe erst das img tag eingebunden. dann das feld fürs resultat...
aber ich weiss nicht wohin mit dem code der ins script gehört...muss ja wohl
in die 2. Seite oder?
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
zeppesch



Anmeldedatum: 17.08.2008
Beiträge: 18

BeitragVerfasst am: 22.08.2008, 09:09    Titel: Antworten mit Zitat

ich bekomme das script nicht eingebaut - habs jetzt nochmal versucht aber es klappt nicht...wo muss es denn genau hin ?????? ich seh den wald vor lauter bäumen nicht mehr Sad hilfe! bin auch bereit was zu spenden für die gute sache Very Happy
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
Rob [Admin]
Site Admin


Anmeldedatum: 23.12.2006
Beiträge: 132

BeitragVerfasst am: 22.08.2008, 09:36    Titel: Antworten mit Zitat

Hier ist deine Stelle:

if($new_comment_array!="")
{

Hier anbauen und die Abfrage erweitern:

if($new_comment_array!="" AND isset($_SESSION['captcha_spam']) AND $_POST["sicherheitscode"] == $_SESSION['captcha_spam']){
unset($_SESSION['captcha_spam']);

session_start(); ganz am Anfang des Script, ganz zuerst. Das Formular sollte ja kein Problem sein, nach belieben passend einbinden: http://stoppt-den-spam.info/webmaster/captcha-tutorial/zahlen-cpatcha/einbau-formular.html
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden
zeppesch



Anmeldedatum: 17.08.2008
Beiträge: 18

BeitragVerfasst am: 22.08.2008, 10:49    Titel: Antworten mit Zitat

danke für die schnelle antwort - auf der 2. seite nehme ich an oder ?
ich werd mal schauen und mich nachher nocmal melden . vielen dank schon jetzt Smile
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
zeppesch



Anmeldedatum: 17.08.2008
Beiträge: 18

BeitragVerfasst am: 22.08.2008, 11:16    Titel: Antworten mit Zitat

hab es eingefügt auf der 2. seite der output php - hoffe es sind die richtigen stellen gewesen & es fehlt nix...bitte schau doch nochmal drüber ....vielen dank & sonnige grüsse

session_start()
//Get vars
//The setting 'track_vars' must be "ON" (standard).
$new_comment_array=$HTTP_POST_VARS;
$user_data=file("data.txt", "r");

//New Comment?
if($new_comment_array["new_entry"]=="true")
{
//Prove "Is 'text' filled"
if($new_comment_array["comment"]=="")
{
die("You have to fill the textfield!");
}
//Prove "Is 'name' filled?"
/*mark_prove_name..
if($new_comment_array["name"]=="")
{
die("You have to fill the namefield!");
}
..mark_prove_name_b*/

//Prove "Is 'town' filled?"
/*mark_prove_town..
if($new_comment_array["town"]=="")
{
die("You have to enter a town!");
}
..mark_prove_town_b*/

//Prove"Is 'mail' filled?"
/*mark_prove_mail..
if($new_comment_array["mail"]=="")
{
die("Please fill the mailadressfield!");
}

if (eregi("^[_a-z0-9]+(\.[_a-z0-9-]+)*@([a-z0-9-]+\.)+([a-z0-9]{2,4})$",
$new_comment_array["mail"]))

{$go_on="true";}

if(!$go_on)
{
die("The mailaddress is not correct!");
}
..mark_prove_mail_b*/

//Saving new comment
if($new_comment_array!="")
{
if($new_comment_array!="" AND isset($_SESSION['captcha_spam']) AND $_POST["sicherheitscode"] == $_SESSION['captcha_spam']){
unset($_SESSION['captcha_spam']);

//Date
/*mark_time*/ $date=$new_comment_array["localDate"];

//Send mail with the new comment
$address=trim($user_data[0]);
if($address!="")
{
$message= $date."\n".$new_comment_array["name"]."\n".$new_comment_array["mail"]."\n".
$new_comment_array["town"]."\n".$new_comment_array["comment"];
$send=mail($address,"New comment",$message);
}

//Comment to string
$new_string=$date."/*/".$new_comment_array["name"]."//".$new_comment_array["town"]."//"
.$new_comment_array["mail"]."/*/".$new_comment_array["comment"];

//Get old comments
$filename="comments.txt";
$fr=@fopen($filename,"r");

if($fr)
{
$old_strings=fread($fr, filesize($filename));
fclose($fr);
}
else die("Can not find file $filename!");

//Merge and save.
$strings=$new_string."//**//".$old_strings;

$fw=@fopen($filename,"w");

if ($fw)
{
fputs($fw, $strings);
fclose($fw);
}
else die("Can not find file $filename!");
}
unset($new_comment_array["new_entry"]);
echo "Your post has been added to the guestbook! Thank you for using the guestbook.<br>";
echo '<a href="output.php">Return to Guestbook log.</a>';
die;
//End 'Getting new comment'. Script can be included.
}
?><?php

//Show the commments
if($new_comment_array["new_entry"]!="true")
{
$filename="comments.txt";
$fr=fopen($filename,"r");
if($fr)
{
$strings=fread($fr, filesize($filename));
fclose($fr);
}
else die("Can not find file $filename");}

//Create filters
$trim=trim($user_data[2]);
$trimmed1=str_replace(" ", "", $trim);
if($trimmed1 !="")
{
$filter1=explode(",", $trimmed1);
}

//Start search for filter-functions
function filter($data,$filter,$exchange)
{
for ($n=0;$n<count($filter);$n++) {
if (strstr($exchange,"###")) $change=str_replace("###", $filter[$n], $exchange);
else $change=$exchange;
$data=preg_replace("/(?i)$filter[$n](?=(,|\s|\?|\!|\")|$)/", $change, $data);
}
return $data;
}
?>
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
Rob [Admin]
Site Admin


Anmeldedatum: 23.12.2006
Beiträge: 132

BeitragVerfasst am: 22.08.2008, 11:27    Titel: Antworten mit Zitat

Ja funktionierts denn? Wink
Einfach selbst mal testen

Edit:
Parse error: parse error in /mnt/web6/42/26/5367826/htdocs/t-delight/tgb/web-content/output.php on line 177

Hier ist was falsch:

//Saving new comment
if($new_comment_array!="")
{
if($new_comment_array!="" AND isset($_SESSION['captcha_spam']) AND $_POST["sicherheitscode"] == $_SESSION['captcha_spam']){
unset($_SESSION['captcha_spam']);
//Date
/*mark_time*/ $date=$new_comment_array["localDate"];


ändere dies in:

//Saving new comment
if($new_comment_array!="" AND isset($_SESSION['captcha_spam']) AND $_POST["sicherheitscode"] == $_SESSION['captcha_spam']){
unset($_SESSION['captcha_spam']);
//Date
/*mark_time*/ $date=$new_comment_array["localDate"];
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden
zeppesch



Anmeldedatum: 17.08.2008
Beiträge: 18

BeitragVerfasst am: 22.08.2008, 11:36    Titel: Antworten mit Zitat

jetzt kommt das :

Parse error: parse error in /mnt/web6/42/26/5367826/htdocs/t-delight/tgb/web-content/output.php on line 177

??
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
Rob [Admin]
Site Admin


Anmeldedatum: 23.12.2006
Beiträge: 132

BeitragVerfasst am: 22.08.2008, 11:42    Titel: Antworten mit Zitat

Du hast vorher nicht das ganze Script gepostet, gell?

session_start(); muss an den Anfang der Datei und mit ;
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden
zeppesch



Anmeldedatum: 17.08.2008
Beiträge: 18

BeitragVerfasst am: 22.08.2008, 12:06    Titel: Antworten mit Zitat

hätte mir wenigstens auch auffallen können das da was doppelt ist Sad so jetzt mal der ganze quellcode der site output php mit alles änderungen..... ich hoffe ich hab alles richtig gemacht : bitte schau doch mal drüber... wo kommt denn er code hin für den Ausgabetext "sicherheitsabfrage falsch" ?

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="Adobe GoLive">
<title>Guestbook T-Delight.com official Homepage - AMS - 2DNM - Electric-Haze Music - Siebenpunkt - Midiflash</title>
<link href="../../web-content/tstyle.css" type="text/css" rel="stylesheet" media="all" />
<meta name="keywords" content="T-Delight, T-Delight.com, t-delight.com, t-delight, T-Delight official Website, AMS, 2DNM, elctric-haze music, presswerk.de, siebenpunkt, marysolmusic, midiflash, emsiono, el delincuente, mafia meier, baby v., Mark Thornton, m&uuml;nchen Rap, deutscher HipHop, deutscher rap, chief am mic, choose your destiny, trottel renn, beweg deinen arsch, m&uuml;nchen neuhausen, rap aus bayern, hiphop aus bayern" />
</head>
session_start();
<body background="../../web-content/gfx/thbglr.jpg" bgcolor="#ffffff" link="white" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
<div align="center">
<table width="923" border="0" cellspacing="2" cellpadding="0" bgcolor="#010000">
<tr height="255">
<td rowspan="2" valign="top" bgcolor="#010000"><img src="../../web-content/gfx/thborder2.jpg" alt="" height="674" width="7" align="top" border="0"></td>
<td colspan="3" align="center" height="255" background="../../web-content/gfx/Thead-Ani.gif">
<div align="center"></div>
</td>
<td rowspan="2" valign="top"><img src="../../web-content/gfx/thborder2.jpg" alt="" height="674" width="7" align="top" border="0"></td>
</tr>
<tr>
<td valign="top" bgcolor="#010000" width="181">
<table width="181" border="0" cellspacing="2" cellpadding="0">
<tr>
<td bgcolor="#010000">
<div align="center">
<font color="#010000"><img src="../../web-content/gfx/bgclear.gif" alt="" height="16" width="17" border="0"><noedit><div style="width:112px;"><a href="http://www.mzee.com/linkprojekt/site/in/6186/rap-musik-offizielle-rap-crew-sites-shop.html" target="_top" title="MZEE.com LinkProjekt: Rap-Musik - (offizielle) Rap-Crew-Sites / Shop"><img src="http://www.mzee.com/linkprojekt/site/img/6186/format/klein/rap-musik-offizielle-rap-crew-sites-shop.jpg" border="0" width="112" height="55" title="MZEE.com LinkProjekt: Rap-Musik - (offizielle) Rap-Crew-Sites / Shop" alt="Rap-Musik - (offizielle) Rap-Crew-Sites / Shop" /><div style="text-align:center;font-size:9px;">Vote bei MZEE.com</div></a></div></noedit><br>
</font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><font color="#010000"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></font></td>
</tr>
<tr>
<td>
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Home" href="../../home.html">HOME</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Biografie" href="../../bio.html">BIOGRAFIE</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Discografie" href="../../disco.html">DISCOGRAFIE</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Musik" href="../../musik.html">MUSIK&nbsp;</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Live" href="../../live.html">LIVE</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Pictures" href="../../pics.html">PICS</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Videos" href="../../videos.html">VIDEOS</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Presse" href="../../presse.html">PRESSE</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Newsletter" href="../../newsletter.html">NEWSLETTER</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/bgl.jpg">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Guestbook" href="output.php">G&Auml;STEBUCH</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Booking" href="../../booking.html">BOOKING</a></strong></font></div>
</td>
</tr>
<tr>
<td background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Promotion" href="../../promotion.html">PROMOTION</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Links, Friends &amp;&nbsp;Partner" href="../../links.html">LINKS</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Kontakt" href="../../kontakt.html">KONTAKT</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
<tr>
<td bgcolor="#010000">
<div align="center">
<font size="2" color="#010000" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><strong><a title="T-Delight Impressum" href="../../impressum.html">IMPRESSUM</a></strong></font></div>
</td>
</tr>
<tr>
<td bgcolor="#010000" background="../../web-content/gfx/thwgm.jpg"><img src="../../web-content/gfx/bgclear.gif" alt="" height="22" width="176" border="0"></td>
</tr>
</table>
</td>
<td colspan="2" align="center" valign="top" bgcolor="#010000"><?php
//Get vars
//The setting 'track_vars' must be "ON" (standard).
$new_comment_array=$HTTP_POST_VARS;
$user_data=file("data.txt", "r");

//New Comment?
if($new_comment_array["new_entry"]=="true")
{
//Prove "Is 'text' filled"
if($new_comment_array["comment"]=="")
{
die("You have to fill the textfield!");
}
//Prove "Is 'name' filled?"
/*mark_prove_name..
if($new_comment_array["name"]=="")
{
die("You have to fill the namefield!");
}
..mark_prove_name_b*/

//Prove "Is 'town' filled?"
/*mark_prove_town..
if($new_comment_array["town"]=="")
{
die("You have to enter a town!");
}
..mark_prove_town_b*/

//Prove"Is 'mail' filled?"
/*mark_prove_mail..
if($new_comment_array["mail"]=="")
{
die("Please fill the mailadressfield!");
}

if (eregi("^[_a-z0-9]+(\.[_a-z0-9-]+)*@([a-z0-9-]+\.)+([a-z0-9]{2,4})$",
$new_comment_array["mail"]))

{$go_on="true";}

if(!$go_on)
{
die("The mailaddress is not correct!");
}
..mark_prove_mail_b*/

//Saving new comment
if($new_comment_array!="" AND isset($_SESSION['captcha_spam']) AND $_POST["sicherheitscode"] == $_SESSION['captcha_spam']){
unset($_SESSION['captcha_spam']);
//Date
/*mark_time*/ $date=$new_comment_array["localDate"];

//Send mail with the new comment
$address=trim($user_data[0]);
if($address!="")
{
$message= $date."\n".$new_comment_array["name"]."\n".$new_comment_array["mail"]."\n".
$new_comment_array["town"]."\n".$new_comment_array["comment"];
$send=mail($address,"New comment",$message);
}

//Comment to string
$new_string=$date."/*/".$new_comment_array["name"]."//".$new_comment_array["town"]."//"
.$new_comment_array["mail"]."/*/".$new_comment_array["comment"];

//Get old comments
$filename="comments.txt";
$fr=@fopen($filename,"r");

if($fr)
{
$old_strings=fread($fr, filesize($filename));
fclose($fr);
}
else die("Can not find file $filename!");

//Merge and save.
$strings=$new_string."//**//".$old_strings;

$fw=@fopen($filename,"w");

if ($fw)
{
fputs($fw, $strings);
fclose($fw);
}
else die("Can not find file $filename!");
}
unset($new_comment_array["new_entry"]);
echo "Your post has been added to the guestbook! Thank you for using the guestbook.<br>";
echo '<a href="output.php">Return to Guestbook log.</a>';
die;
//End 'Getting new comment'. Script can be included.
}
?><?php

//Show the commments
if($new_comment_array["new_entry"]!="true")
{
$filename="comments.txt";
$fr=fopen($filename,"r");
if($fr)
{
$strings=fread($fr, filesize($filename));
fclose($fr);
}
else die("Can not find file $filename");}

//Create filters
$trim=trim($user_data[2]);
$trimmed1=str_replace(" ", "", $trim);
if($trimmed1 !="")
{
$filter1=explode(",", $trimmed1);
}

//Start search for filter-functions
function filter($data,$filter,$exchange)
{
for ($n=0;$n<count($filter);$n++) {
if (strstr($exchange,"###")) $change=str_replace("###", $filter[$n], $exchange);
else $change=$exchange;
$data=preg_replace("/(?i)$filter[$n](?=(,|\s|\?|\!|\")|$)/", $change, $data);
}
return $data;
}
?>
<table width="98%">
<tr>
<td colspan="2" align="left" valign="top">
<h1><br>
<font size="4" color="white" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">T-Delight Guestbook<br>
</font><font size="4" color="#999999" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><img src="../../web-content/gfx/thwgm.jpg" alt="" height="11" width="177" border="0">
</font></h1>
</td>
<td rowspan="2">
<div align="right">
<br>
<img src="../../web-content/pics/tdelight%2010106%20wb.jpg" alt="" height="302" width="445" border="0"><br>
<br>
</div>
</td>
</tr>
<tr>
<td colspan="2" align="left" valign="top"><font size="2" color="#999999" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">Number of entries: <?
$table=explode("//**//", $strings);
if($table[0]=="")
{
echo"None";
}
else
{
$count=count($table);
$coun=--$count;
echo $coun;
}
?><br>
</font><font color="#999999"><br>
<br>
<br>
</font><a href="input.htm" target="_self"><font size="2" color="white" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">To post your own comment <br>
click here</font></a></td>
</tr>
<tr>
<td bgcolor="#4b4b4b"><b><font size="2" color="#999999" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">Date</font></b></td>
<td bgcolor="#4b4b4b"><b><font size="2" color="#9b9b9b" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">Name</font></b></td>
<td bgcolor="#4b4b4b"><b><font size="2" color="#999999" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">Comment</font></b></td>
</tr>
<?
//start comment-table
for ($i=0;$i<$coun; $i++) {
$cell=explode("/*/", $table[$i]);
$user=explode("//", $cell[1]);
?>
<tr valign="top">
<td bgcolor="#878787"><font size="2" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><?
//mark_i.. $j=1+$i;
//mark_i.. echo $j.".<br>";
echo $cell[0];
?></font></td>
<td bgcolor="#878787"><font size="2" color="white" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><?
echo "<b>".strtoupper($user[0])."</b><br>".$user[1]."<br>
<a href=\"mailto:".$user[2]."\">".strtolower($user[2])."</a>";
?></font></td>
<td bgcolor="#878787"><font size="2" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif"><?
$text=nl2br(strip_tags(stripslashes($cell[2])));
$text=filter($text,$filter1,"<b>*CENSORED*</b>");

$text=strip_tags(stripslashes($text));
//Cut long entries
if(strlen($text)>$user_data[1])
{
$cut_text=wordwrap($text,$user_data[1],"%@%");
if ($cut_text!="")
{
$pos=strpos($cut_text,"%@%");
$new_cut_text=substr($cut_text,0,$pos);
echo $new_cut_text."(...)<br><form method=\"post\" action=\"ShowAll.php\">
<input type=\"hidden\" name=\"Date\" value=\"".$cell[0]."\">
<input type=\"hidden\" name=\"User\" value=\"".$user[0]."\">
<input type=\"hidden\" name=\"Text\" value=\"".$text."\">
";
}
if ($cut_text=="")
{
$new_cut_text=substr($text,0 ,$user_data[1]);
echo $new_cut_text."(...)<br><form method=\"post\" action=\"ShowAll.php\">
<input type=\"hidden\" name=\"Date\" value=\"".$cell[0]."\">
<input type=\"hidden\" name=\"User\" value=\"".$user[0]."\">
<input type=\"hidden\" name=\"Text\" value=\"".$text."\">
";
}
?><b onclick="submit(document.forms[0].elements);"><u><font color="#00008b">see the whole comment</font></u></b>
</form><?
}
//show short comments
elseif (strlen($text)<$user_data[1])
{
echo $text;
}
?></font></td>
</tr>
<?
//Stop comment-table
}
?>
<tr>
<td bgcolor="#4b4b4b" colspan="3" align="right"><a href="input.htm" target="_self"><font size="2" color="white" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">To post your own comment click here</font></a></td>
</tr>
<tr>
<td colspan="3"><br>
<br>
</td>
</tr>
<tr>
<td colspan="3">
<div align="center">
<img src="../../web-content/logos/Tt-Delight-logo-black.gif" alt="" height="239" width="680" border="0"></div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top"></td>
<td valign="top" bgcolor="#010000" width="181"></td>
<td colspan="2" valign="top" bgcolor="#010000">
<div align="center">
<font size="2" color="#999999" face="Helvetica, Geneva, Arial, SunSans-Regular, sans-serif">T-Delight.com &copy; by Electric-Haze Music 2007-2008</font></div>
</td>
<td valign="top"></td>
</tr>
</table>
</div>
</body>
</html>
Nach oben