array ("post", "integer", ""), ); getFields($fields); $dom->lock(); $r=true; if (!isset($noread) || !$noread) { if (!$r=$dom->get_sub_domain_all($sub_domain_id)) { $error=$err->errstr(); echo "

$error

"; 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" ) { __("This page is restricted to authorized staff"); exit(); } $domroot=$dom->get_domain_all($r['domain']); echo "

"; __("Editing subdomain"); echo " http://"; ecif($r['name'],$r['name']."."); echo $r['domain']."

"; if (isset($error) && $error) { echo "

$error

"; include_once("foot.php"); exit(); } $dom->unlock(); ?>