select_db($Config['Mangos']['DatabaseRealmd']); if(array_key_exists('ip', $_POST)) { $ipcko = $_POST['ip']; $str = $db->query('select `banreason` from `ip_banned` where `ip` = "'.$ipcko.'"'); $str_end = $str->fetch_assoc(); if($str_end['banreason'] == '') { echo('