lock(); if (!$r=$dom->get_domain_all($domain)) { $error=$err->errstr(); } /* if (! empty($sub)) { if (!$sd=$dom->get_sub_domain_all($domain,$sub,$type,$value)) { $error=$err->errstr(); } } */ $sd=$dom->get_sub_domain_all($sub_domain_id); $type=$sd['type']; $sub=$sd['name']; $dom->unlock(); ?>