26 require_once(
"../class/config.php");
27 include_once(
"head.php");
30 "newdomain" => array (
"post",
"string",
""),
31 "dns" => array (
"post",
"string",
""),
32 "newisslave" => array (
"post",
"integer" ,0),
33 "slavedom" => array (
"post",
"string" ,0),
39 if (!
$dom->add_domain($newdomain,$dns,0,0,$newisslave,$slavedom)) {
40 include(
"dom_add.php");
43 $msg->raise(
"INFO",
"dom", _(
"Your new domain %s has been successfully installed"),$newdomain);
48 <h3><?php
__(
"Add a domain"); ?></h3>
51 echo
$msg->msg_html_all();
53 <span
class=
"inb"><a href=
"dom_edit.php?domain=<?php echo urlencode($newdomain);?>" ><?php
__(
"Click here to continue"); ?></a></span><br />
54 <?php
$mem->show_help(
"add_domain"); ?>
58 echo
"<br />"._(
"Whois result on the domain").
" : <pre>";
61 echo
"nameserver: $val\n";
67 <?php include_once(
"foot.php"); ?>
$fields
Add a new domain name to an AlternC's account.
getFields($fields, $requestOnly=false)
Get the Fields of the posted form from $_REQUEST or POST or GET and check their type.
if(empty($_POST['key'])||empty($_POST['val'])) $key