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", ""), "action" => array ("request", "string", "add"), ); getFields($fields); $dom->lock(); if (!$noread) { if (!$r=$dom->get_sub_domain_all($domain,$sub)) { $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_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); ?> />  
" /> " onclick="document.location='dom_edit.php?domain='" />