ok sorry i forgot here:
First dokument:
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="/shoutbox/cool_art.css"/>
</head>
<body onload="window.scrollTo(0,99999)" id="msgBody" style="background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);>
{.$files.}
<form name="shout" action="/shoutbox/process_posts/" method="post" id="msgForm">
<center>
{.if|%user%|
<input type="text" name="user" size="17" maxlength="30" value="%user%" id="msgInput" readonly/>
|
<input type="text" name="user" size="17" maxlength="12" value="{.!Name.}" id="msgInput" onclick="if(this.value=='{.!Name.}')this.value=''"/>
.}
<br/>
<input type="text" name="msg" size="17" maxlength="150" value="{.!Nachricht.}" id="msgInput" title="{.!Smilis-Codes.}: :) :D ;D ;) :S :$ :P :o :'( :( (h)" onclick="if(this.value=='{.!Nachricht.}')this.value=''"
/><br/>
<input type="submit" value="{.!Absenden.}" id="msgSubmit"/>
</center>
</form>
</body>
</html>
[files]
{.if not|%number%|<center id="Senden fehlgeschlagen">{.!Keine Nachrichten vorhanden.}</center>|%list%.}
[file.txt]
<div class="msgOuter">
{.load|/shoutbox/display_posts/%item-name%.}
</div>
Second:
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="Refresh" content="1; URL=/shoutbox/display_posts/?sort=t&rev=1">
<link rel="stylesheet" type="text/css" href="/shoutbox/cool_art.css"/>
</head>
<body id="msgBody" style="background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">
<br/><center><i>{.!Senden....}</i></center>
</body>
</html>
[special:begin]
{.if not|{.match|{.postvar|msg.}|{.!NO CONTENT.}.}|
{:{.append|/shoutbox/display_posts/%ip% {.replace|/|-|:|.|%timestamp%.}.txt|
<div class="msgHeader">
[<span class="msgUser"><b>{.replace|<|<|{.if not|%user%|Gast-||.}{.postvar|user.}.}</b></span>]<br/>%timestamp%
</div>
<div class="msgInner">
{.replace
|<|<|ä|ä|ü|ü
|ö|ö|ß|ß
|:)|<img src="/chat/smileys/smiley.gif" alt=""/>
|:D|<img src="/chat/smileys/cheesy.gif" alt=""/>
|:P|<img src="/chat/smileys/tongue.gif" alt=""/>
|;D|<img src="/chat/smileys/grin.gif" alt=""/>
|:(|<img src="/chat/smileys/sad.gif" alt=""/>
|:$|<img src="/chat/smileys/embarrassed.gif" alt=""/>
|:'(|<img src="/chat/smileys/cry.gif" alt=""/>
|:o|<img src="/chat/smileys/shocked.gif" alt=""/>
|(h)|<img src="/chat/smileys/cool.gif" alt=""/>
|:S|<img src="/chat/smileys/undecided.gif" alt=""/>
|;)|<img src="/chat/smileys/wink.gif" alt=""/>
|[b]|<b>
|[/b]|</b>
|[u]|<u>
|[/u]|</u>
|[i]|<i>
|[/i]|</i>
|[url]|<a target="_blank" href="
|[/url]|">LINK</a>
|{.postvar|msg.}
.}
</div>
.}:}
.}
Thats my shoutbox... now i would make a "script" that replace FU'CK (without ' ) to **** ok thats simple:
|[url]|<a target="_blank" href="
|[/url]|">LINK</a>
|FUCK|*****
|{.postvar|msg.}
But i want, that when there is this word, after the hole message there would be a message from the admin like: "Don't use this word" or somethings like that...
but how can i realise this...
can you help me rejetto?