"; $lvl = $player -> GetGmLvl(); echo "
"; if (isset($_POST["add"]) AND $lvl > 0) { $db -> select_db($Config['Database']['Database']); $result = $db -> query("INSERT INTO `articles` ( `id` , `title` , `autor` , `date` , `category` , `text`) VALUES (NULL, '".$_POST["nadpis"]."', '".$_POST["autor"]."', NULL , '".$_POST["kategorie"]."' , '".$_POST["text"]."');"); echo "Přidáno !"; } echo ""; ?>