$name:
$shouttext
\n"; fwrite($Dateiname, $shout); fclose($Dateiname); $post=1; } } ?> Untitled Document
------------------------
",$text); $text=ereg_replace(";)","",$text); $text=ereg_replace(":D","",$text); $text=ereg_replace(":\(","",$text); $text=ereg_replace(":/","",$text); $text=ereg_replace("lol","",$text); $text=ereg_replace(":O","",$text); $text=ereg_replace(":P","",$text); } return $text; } function lockwords($text) { if (!file_exists("database/lockwords.txt")) fclose(fopen("database/lockwords.txt","w+")); $line = file("database/lockwords.txt"); $entry = explode (";", $line[0]); $i=0; while($entry[$i]!=""){ $text=ereg_replace("$entry[$i]","*",$text); $i++; } return $text; } $newspersite=8; if (!file_exists("database/shout.txt")) fclose(fopen("database/shout.txt","w+")); $line = file("database/shout.txt"); $lines = sizeof($line); arsort($line); $seiten = ceil($lines / $newspersite); if (!$page) $page = 1; $y = $page * $newspersite; $x = $y - $newspersite; if ($y> $lines) $y = $lines; $y = $lines - $y -1; $x = $lines - $x -1; if ($lines> 0) { for ($i= $x; $i> $y ; $i--) { $entry = explode ("§", $line[$i]); $hp = $entry[0]; $name = $entry[1]; $shouttext = $entry[2]; $shouttext = smilies($on,$shouttext); if ($wlock=="yes") { $shouttext = lockwords($shouttext); } $newsnr = $i+1; // Der folgende HTML-Code kann bearbeitet werden, um an das Design der eigenen HP angepasst zu werden // <-----------------START-------------------------------> ?>
$name"); ?>
flush(); } } else echo "Es gibt noch keine Einträge"; ?>
">
------------------------


------------------------
Smilies Admin
Shout-History