if ($conf == "removeddns") { infoBox($aInt->lang("global", "changesuccess"), $aInt->lang("domains", "dnsmanagementremoved")); } else { if ($conf == "removedemailforward") { infoBox($aInt->lang("global", "changesuccess"), $aInt->lang("domains", "emailforwardingremoved")); } else { if ($conf == "removedidprotect") { infoBox($aInt->lang("global", "changesuccess"), $aInt->lang("domains", "idprotectionremoved")); } } } } } } } $domainregistraractions = checkPermission("Perform Registrar Operations", true) && $domains->getModule() ? true : false; if ($domainregistraractions) { $domainparts = explode(".", $domain, 2); $params = array(); $params['domainid'] = $id; $params['sld'] = $domainparts[0]; $params['tld'] = $domainparts[1]; $params['regperiod'] = $registrationperiod; $params['registrar'] = $registrar; $params['regtype'] = $regtype; $adminbuttonarray = ""; loadRegistrarModule($registrar); if (function_exists($registrar . "_AdminCustomButtonArray")) { $adminbuttonarray = call_user_func($registrar . "_AdminCustomButtonArray", $params); } if ($oldns1 != $ns1 || $oldns2 != $ns2 || $oldns3 != $ns3 || $oldns4 != $ns4 || $oldns5 != $ns5 || $defaultns) {
} $domain_data = $domains->getDomainsDatabyID($id); $domain = $domains->getData("domain"); $firstpaymentamount = $domains->getData("firstpaymentamount"); $recurringamount = $domains->getData("recurringamount"); $nextduedate = $domains->getData("nextduedate"); $expirydate = $domains->getData("expirydate"); $paymentmethod = $domains->getData("paymentmethod"); $domainstatus = $domains->getData("status"); $registrationperiod = $domains->getData("registrationperiod"); $registrationdate = $domains->getData("registrationdate"); $donotrenew = $domains->getData("donotrenew"); $dnsmanagement = $domains->getData("dnsmanagement"); $emailforwarding = $domains->getData("emailforwarding"); $idprotection = $domains->getData("idprotection"); $registrar = $domains->getModule(); $gatewaysarray = getGatewaysArray(); $paymentmethod = $gatewaysarray[$paymentmethod]; $ca->addToBreadCrumb("clientarea.php?action=domaindetails&id=" . $domain_data['id'], $domain); $registrationdate = fromMySQLDate($registrationdate, 0, 1, "-"); $nextduedate = fromMySQLDate($nextduedate, 0, 1, "-"); $expirydate = fromMySQLDate($expirydate, 0, 1, "-"); $rawstatus = $ca->getRawStatus($domainstatus); $allowrenew = false; if ($domainstatus == "Active" || $domainstatus == "Expired") { $allowrenew = true; } $autorenew = $donotrenew ? false : true; $sld = $domains->getSLD(); $tld = $domains->getTLD(); $ca->assign("domainid", $domains->getData("id"));