static public function getvar($name, $isint = false) 
    {
        if(!empty($_GET[$name]) && is_array($_GET[$name])) {
            return (array)$_GET[$name];
        }
        $response = (isset($_GET[$name]) ? filter_var($_GET[$name], FILTER_SANITIZE_STRING) : "");

        return ((boolean)$isint ? (int)$response : (string)$response);
    }