*/ if (!defined("__STARGATE_HANDLER__")) define("__STARGATE_HANDLER__", 1); require_once('whois.parser.php'); class stargate_handler { function parse($data_str, $query) { $items = array( 'owner' => 'Registrant', 'admin' => 'Administrative', 'tech' => 'Technical', 'billing' => 'Billing', 'domain.name' => 'Domain Name:', 'domain.nserver.' => 'Name Servers', 'domain.created' => 'Creation Date:', 'domain.expires' => 'Expiration Date:', 'domain.status' => 'Status:' ); $r = get_blocks($data_str, $items); $r['owner'] = get_contact($r['owner']); $r['admin'] = get_contact($r['admin']); $r['tech'] = get_contact($r['tech']); $r['billing'] = get_contact($r['billing']); $r = format_dates($r, 'dmy'); return ($r); } } ?>