array ("request", "string", ""), "sub" => array ("request", "string", ""), "type" => array ("request", "integer", $dom->type_local), "sub_local" => array ("request", "string", "/"), "sub_url" => array ("request", "string", "http://"), "sub_ip" => array ("request", "string", ""), "sub_ipv6" => array ("request", "string", ""), "sub_cname" => array ("request", "string", ""), "sub_txt" => array ("request", "string", ""), "action" => array ("request", "string", "add"), ); getFields($fields); $dom->lock(); if (!$noread) { if (!$r=$dom->get_sub_domain_all($domain,$sub,$type)) { $error=$err->errstr(); ?>

http://

$error

"; include_once("foot.php"); exit(); } $sub=$r["name"]; $type=$r["type"]; switch ($type) { case $dom->type_local: $sub_local=$r["dest"]; break; case $dom->type_url: $sub_url=$r["dest"]; break; case $dom->type_cname: $sub_cname=$r["dest"]; break; case $dom->type_txt: $sub_txt=$r["dest"]; break; case $dom->type_ipv6: $sub_ipv6=$r["dest"]; break; case $dom->type_ip: $sub_ip=$r["dest"]; break; case $dom->type_webmail: break; } } $dom->unlock(); ?>

http://

$error

"; } ?>

type_local); ?> onclick="document.main.sub_local.focus();" />
type_url); ?> onclick="document.main.sub_url.focus();" />
type_ip); ?> onclick="document.main.sub_ip.focus();" />
type_webmail); ?> />  
Advanced options
type_ipv6); ?> onclick="document.main.sub_ipv6.focus();" />
type_cname); ?> onclick="document.main.sub_cname.focus();" />
type_txt); ?> onclick="document.main.sub_txt.focus();" />
" /> " onclick="document.location='dom_edit.php?domain='" />