array ("post", "string", ""), "dns" => array ("post", "string", ""), "newisslave" => array ("post", "integer" ,0), "slavedom" => array ("post", "string" ,0), ); getFields($fields); $dom->lock(); if (!$dom->add_domain($newdomain,$dns,0,0,$newisslave,$slavedom)) { include("dom_add.php"); exit(); } else $msg->raise("INFO", "dom", _("Your new domain %s has been successfully installed"),$newdomain); $dom->unlock(); ?>

msg_html_all(); ?>
show_help("add_domain"); ?>
dns)) { echo "
"._("Whois result on the domain")." :

";
		reset($dom->dns);
		while (list($key,$val)=each($dom->dns)) {
			echo "nameserver: $val\n";
		}
		echo "
"; } ?>