function main_wl_ip_del() { $users = new usersMenus(); if ($_GET["hostname"] == null) { $hostname = $users->hostname; $_GET["hostname"] = $hostname; } else { $hostname = $_GET["hostname"]; } $sql = new sqlgrey($hostname); $sql->Del_whitelist_ip($_GET["DelIPWL"]); }