Login:
Passwort:

ADD NEWS

Title:
Name:
E-Mail:
Date:
Time:
News:
Comment*:
 
BB-Codes: Activate
HTML: Activate
*: My Shit englishn ehm ... If in the Forum a Thread about that News then you copy the Thread Link in the Comment Field. Is im Forum not a Thread about that and you needen't a Thread then you make the Field Empty!
",$news); $news = eregi_replace("\[b\]([^\[]+)\[/b\]","\\1",$news); $news = eregi_replace("\[i\]([^\[]+)\[/i\]","\\1",$news); $news = eregi_replace("\[u\]([^\[]+)\[/u\]","\\1",$news); $news = ereg_replace("\[img\]([^\[]+)\[/img\]","",$news); $news = ereg_replace("\[url=([^\[]+)\]([^\[]+)\[/url\]","\\2",$news); $news = str_replace(":)","",$news); $news = str_replace(":(","",$news); $news = str_replace(";)","",$news); $news = str_replace(":D","",$news); $news = str_replace(":P","",$news); $news = str_replace(":mad:","",$news); $news = str_replace(":))","",$news); $news = str_replace("|)","",$news); $news = str_replace(":)","",$news); $news = str_replace(":rolleyes:","",$news); $news = str_replace(":kotz:","",$news); $news = str_replace(":O","",$news); $news = str_replace(":sick:","",$news); $news = str_replace(":smoke:","",$news); $news = str_replace("8)","",$news); include ("config.php"); if($comments!="") { $fp=fopen("news.dat","r"); $all=fread($fp,filesize("news.dat")); fclose($fp); $fp=fopen("news.dat","w"); fwrite($fp, ""); fclose($fp); $fp=fopen("news.dat","a"); fwrite($fp,"$template"); fwrite($fp,"$all"); fclose($fp); } else { $fp=fopen("news.dat","r"); $all=fread($fp,filesize("news.dat")); fclose($fp); $fp=fopen("news.dat","w"); fwrite($fp, ""); fclose($fp); $fp=fopen("news.dat","a"); fwrite($fp,"$template2"); fwrite($fp,"$all"); fclose($fp); } } ?>