index.php 440 B

123456789101112131415161718
  1. <?php
  2. if (cfr('SIGREQ')) {
  3. if (wf_CheckGet(array('ip'))) {
  4. $ip = vf($_GET['ip']);
  5. $whois = new UbillingWhois($ip);
  6. if (wf_CheckGet(array('ajax'))) {
  7. die($whois->renderData());
  8. } else {
  9. show_window(__('Whois'), $whois->renderData());
  10. }
  11. } else {
  12. show_error(__('Something went wrong') . ': EX_GET_NO_IP');
  13. }
  14. } else {
  15. show_error(__('Access denied'));
  16. }
  17. ?>