*/ if (!defined('__STARGATEINC_HANDLER__')) define('__STARGATEINC_HANDLER__', 1); require_once('whois.parser.php'); class stargateinc_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,true); $r['owner'] = get_contact($r['owner'],false,true); $r['admin'] = get_contact($r['admin'],false,true); $r['tech'] = get_contact($r['tech'],false,true); $r['billing'] = get_contact($r['billing'],false,true); $r = format_dates($r, 'dmy'); return ($r); } } ?>