Ga naar pagina|";
for($i=0; $i". ($i+1) ." |";
}
print " $topic->title | login}\">$loginnaam $clanrank avaurl}\" width=\"120\" height=\"80\">
$online2 Geplaatst op: | | $topic->text | \n";
print " $topic->datum1 | |
| \n";
if($data->clanlevel >= 8) {
print " id}\">Delete topic. | \n";
}
$query2 = mysql_query("SELECT * FROM `[foum_replys]` WHERE `topicid`={$_GET['topic']} AND `del`=0 ORDER BY `date` ASC LIMIT $begin,10");
mysql_query("UPDATE `[users]` SET `forumposts`=`forumposts`-'1' WHERE `login`='$user->forumposts'");
mysql_query("UPDATE `[forum_sub]` SET `topics`=`topics`-'1' WHERE `area`='{$_GET['area']}'");
while($forum = mysql_fetch_object($query2)) {
$user_query = mysql_query("SELECT UNIX_TIMESTAMP(`online`) AS `online`,`level`,`clanlevel`,`forumstatus`,`login`,`forumposts`,`avaurl` FROM `[users]` WHERE `login`='{$forum->login}'");
$user = mysql_fetch_object($user_query);
$forum->text = htmlspecialchars($forum->text);
$forum->text = nl2br($forum->text);
$forum->text = str_replace("[b]", "",$forum->text);
$forum->text = str_replace("[/b]", "",$forum->text);
$forum->text = str_replace("[i]", "",$forum->text);
$forum->text = str_replace("[/i]", "",$forum->text);
$forum->text = str_replace("[u]", "",$forum->text);
$forum->text = str_replace("[/u]", "",$forum->text);
$topic->text = preg_replace('/BULLETSTAR/',"***",$topic->text);
$forum->text = eregi_replace("\\[color=([^\\[]*)\\]([^\\[]*)\\[/color\\]","\\2",$forum->text);
$forum->text = eregi_replace("\\[email=([^\\[]*)\\]([^\\[]*)\\[/email\\]", "\\2",$forum->text);
$forum->text = eregi_replace("\\[url=([^\\[]*)\\]([^\\[]*)\\[/url\\]","\\2",$forum->text);
$forum->text = eregi_replace("\\[img]([^\\[]*)\\[/img\\]","",$forum->text);
$forum->text = eregi_replace("\\[quote=([^\\[]*)\\]([^\\[]*)\\[/quote\\]","",$forum->text);
$forum->text = eregi_replace("\\[quote]([^\\[]*)\\[/quote\\]","",$forum->text);
$forum->text = str_replace(':D', '', $forum->text);
$forum->text = preg_replace('/:P/',"",$forum->text);
$forum->text = str_replace(":ban", "", $forum->text);
$forum->text = str_replace("(h)", "",$forum->text);
$forum->text = str_replace("(H)", "",$forum->text);
$forum->text = str_replace(":$", "",$forum->text);
$forum->text = str_replace(":(", "",$forum->text);
$forum->text = str_replace("(a)", "",$forum->text);
$forum->text = str_replace("(A)", "",$forum->text);
$forum->text = str_replace("(k)", "",$forum->text);
$forum->text = str_replace("(K)", "",$forum->text);
$forum->text = str_replace(":D", "",$forum->text);
$forum->text = str_replace(":d", "",$forum->text);
$forum->text = str_replace("(m)", "",$forum->text);
$forum->text = str_replace("(M)", "",$forum->text);
$forum->text = str_replace(":#", "",$forum->text);
$forum->text = str_replace(":)", "",$forum->text);
$forum->text = str_replace(":0", "",$forum->text);
$forum->text = str_replace(":o", "",$forum->text);
$forum->text = str_replace(":O", "",$forum->text);
$forum->text = str_replace(":p", "",$forum->text);
$forum->text = str_replace(":P", "",$forum->text);
$forum->text = str_replace(";)", "",$forum->text);
$forum->text = str_replace(":@", "",$forum->text);
$forum->text = eregi_replace("kut", "", $forum->text );
$forum->text = eregi_replace("kloten", "", $forum->text );
$forum->text = eregi_replace("pik", "", $forum->text );
$forum->text = eregi_replace("penis", "", $forum->text );
$forum->text = eregi_replace("vagina", "", $forum->text );
$forum->text = eregi_replace("lul", "", $forum->text );
$forum->text = eregi_replace("kanker", "", $forum->text );
$forum->text = eregi_replace("cancer", "", $forum->text );
$forum->text = eregi_replace("leier", "", $forum->text );
$forum->text = eregi_replace("fuck", "", $forum->text );
$forum->text = eregi_replace("f[b][/b]uck", "", $forum->text );
$forum->text = eregi_replace("fu[b][/b]ck", "", $forum->text );
$forum->text = eregi_replace("fuc[b][/b]k", "", $forum->text );
$forum->text = eregi_replace("neuk", "", $forum->text );
$forum->text = eregi_replace("anaal", "", $forum->text );
if($user->forumstatus == "default" && $user->forumposts <= 50) {
$status = "Forum beginner";
}
elseif($user->forumstatus == "default" && $user->forumposts <= 150) {
$status = "Forum member";
}
elseif($user->forumstatus == "default" && $user->forumposts > 150) {
$status = "Forum god";
}
elseif($user->forumstatus == "gwsp1") {
$status = "Super Moderator";
}
elseif($user->level == "255") {
$status = "Admin";
}
elseif($user->level == "50") {
$status = "Hulp Admin";
}
elseif($user->level == "22") {
$status = "GTC Extreem Member";
}
elseif($user->level == "23") {
$status = "GTC Extreem Member";
}
elseif($user->level == "21") {
$status = "GTC Extreem Member";
}
if ($user->clanlevel == 1){
$clanrank = "Member";
}
elseif ($user->clanlevel == 2){
$clanrank = "Recruiter";
}
elseif ($user->clanlevel == 3){
$clanrank = "Member";
}
elseif ($user->clanlevel == 4){
$clanrank = "Member";
}
elseif ($user->clanlevel == 5){
$clanrank = "Member";
}
elseif ($user->clanlevel == 6){
$clanrank = "Manager";
}
elseif ($user->clanlevel == 7){
$clanrank = "Generaal";
}
elseif ($user->clanlevel == 8){
$clanrank = "Leader";
}
elseif ($user->clanlevel == 9){
$clanrank = "Owner";
}
else {
$status = "Member";
}
if(time() - $user->online < 300) {
$online = " Online ";
}
else {
$online = " Offline ";
}
$loginnaam = $user->login;
$loginnaam = ($user->level & 0x80) ? "$loginnaam" : $loginnaam;
$loginnaam = ($user->level == 21) ? "$loginnaam " : $loginnaam;
$loginnaam = ($user->level == 22) ? "$loginnaam " : $loginnaam;
$loginnaam = ($user->level == 20) ? "$loginnaam" : $loginnaam;
$loginnaam = ($user->level == 10) ? "$loginnaam " : $loginnaam;
$loginnaam = ($user->level == 50) ? "$loginnaam" : $loginnaam;
print << $forum->title $topic->title |
$loginnaam $clanrank
$online Geplaatst op: | |
$forum->text |
$forum->datum | |
|
ENDHTML;
if($data->clanlevel >= 8) {
print " id}\">Delete deze bericht. | \n";
}
}
$dbres = mysql_query("SELECT * FROM `[foum_replys]` WHERE `topicid`={$_GET['topic']} AND `del`=0");
mysql_query("UPDATE `[users]` SET `forumposts`=`forumposts`-'1' WHERE `login`='$user->forumposts'");
mysql_query("UPDATE `[forum_sub]` SET `replys`=`replys`-'1' WHERE `area`='{$_GET['area']}'");
print "Ga naar pagina|";
for($i=0; $i". ($i+1) ." |";
}
if($data->forum == 1 || $data->forumc == 1) {
print " | |
Je mag niks op de forum zetten. |
|
| |