*/ if (!defined("__CRONON_HANDLER__")) define("__CRONON_HANDLER__", 1); require_once('whois.parser.php'); class cronon_handler { function parse($data_str, $query) { $items = array( "owner" => "Owner Contact:", "admin" => "Admin Contact", "tech" => "Technical Contact, Zone Contact", "domain.name" => "Domain Name:", "domain.nserver." => "Domain servers in listed order:", "domain.expires" => "Record expires on: ", "domain.changed" => "Record last updated on: " ); $r = get_blocks($data_str, $items); $r["owner"] = get_contact($r["owner"]); $r["admin"] = get_contact($r["admin"]); $r["tech"] = get_contact($r["tech"]); format_dates($r, 'ymd'); return ($r); } } ?>