login}'"); /* ------------------------- */ ?> level < 10 && $_GET['m'] > 3 OR $_GET['m'] <= 0) { echo "Ongeldig forum Identificatie! "; exit; } if($_GET['m'] <= 0 OR $_GET['m'] > 3 && $_GET['m'] != 278) { echo "Ongeldig forum Identificatie! "; exit; } ?>
level >= 50) $title = preg_replace('/\login','$forum',NOW(),'1')"); mysql_query("UPDATE `[users]` SET `posts`=`posts`+'1' WHERE `login`='{$data->login}'"); mysql_query("UPDATE `[users]` SET `postdate`=NOW() WHERE `login`='{$data->login}'"); echo ""; } else echo "Type een titel"; } print << ENDHTML; if($data->level < 10) echo ""; else echo ""; print << ENDHTML; } elseif ($_GET['x'] == "reply"){ $dbres = mysql_query("SELECT `id` FROM `playermess` WHERE `id`='{$_GET['id']}' AND `forum`='{$_GET['m']}' AND `locked`='1'"); $lock = mysql_num_rows($dbres); if($lock <= 0 OR $data->level >= 50) { print <<

Tekens over
Nieuw onderwerp
Titel:
Bericht:

Tekens over
Voeg antwoord toe:
ENDHTML; if (isset($_POST['message'])){ if (trim($_POST['message'])){ $_POST['message'] = htmlspecialchars($_POST['message']); $message = preg_replace('/\login','$forum')"); mysql_query("UPDATE `[users]` SET `posts`=`posts`+'1' WHERE `login`='{$data->login}'"); mysql_query("UPDATE `[users]` SET `postdate`=NOW() WHERE `login`='{$data->login}'"); mysql_query("UPDATE `playermess` SET `last`=NOW() WHERE `id`='{$messid}'"); print "

Bericht toegevoegd"; } else echo "Type een bericht"; } } else echo "Dit onderwerp is gesloten"; } ?>