array ("request", "integer", ""), ); getFields($fields); $dom->lock(); $r=true; if (!isset($noread) || !$noread) { if (!$r=$dom->get_sub_domain_all($sub_domain_id)) { echo $msg->msg_html_all(); include_once('foot.php'); die(); } } // Just in case if (!$r) { include_once('foot.php'); die(); } $dt=$dom->domains_type_lst(); if (!$isinvited && $dt[strtolower($r['type'])]["enable"] != "ALL" ) { $msg->raise("ERROR", "dom", _("This page is restricted to authorized staff")); include("dom_edit.php"); exit(); } $domroot=$dom->get_domain_all($r['domain']); $dom->unlock(); if ($msg->has_msgs("Error")) { include_once("dom_edit.php"); exit(); } echo "