query("SELECT count(*) FROM ".C_REG_TBL." WHERE username='".$Cmd[1]."' LIMIT 1"); list($count) = $DbLink->next_record(); $DbLink->clean_results(); if ($count == 0) { $Error = sprintf(L_NONREG_USER, stripslashes($Cmd[1])); if ($power != "weak") { $DbLink->query("SELECT ip FROM ".C_USR_TBL." WHERE username='".$Cmd[1]."' LIMIT 1"); $Nb = $DbLink->num_rows(); if ($Nb != "0") { list($IP) = $DbLink->next_record(); if (substr($IP, 0, 1) == "p") $IP = substr($IP, 1)." (proxy)"; $Error .= "\\n".sprintf(L_NONREG_USER_IP, $IP); }; $DbLink->clean_results(); }; } else { $IsPopup = true; $win_name = "whois_popup_".md5(uniqid("")); // Define a table that contains JavaScript instructions to be ran $jsTbl = array( "" ); }; } ?>