Esempio n. 1
0
     if ($dnsmanagement) {
         echo " + " . $aInt->lang("domains", "dnsmanagement") . "<br>";
     }
     if ($emailforwarding) {
         echo " + " . $aInt->lang("domains", "emailforwarding") . "<br>";
     }
     if ($idprotection) {
         echo " + " . $aInt->lang("domains", "idprotection") . "<br>";
     }
     if ($transfersecret[$domain]) {
         echo $aInt->lang("domains", "eppcode") . ": " . htmlspecialchars($transfersecret[$domain]);
     }
     $regperiods = 1 < $registrationperiod ? "s" : "";
     echo "</td><td>" . $registrationperiod . " " . $aInt->lang("domains", "year" . $regperiods) . ("</td><td>" . $domainamount . "</td><td>") . $aInt->lang("status", strtolower(str_replace(" ", "", $status))) . ("</td><td><b>" . $paymentstatus . "</td></tr>");
     if ($showpending && $status == "Pending") {
         echo "<tr><td style=\"background-color:#EFF2F9;text-align:center;\" colspan=\"6\">" . $aInt->lang("fields", "registrar") . ": " . getRegistrarsDropdownMenu("", "vars[domains][" . $domainid . "][registrar]") . (" <label><input type=\"checkbox\" name=\"vars[domains][" . $domainid . "]" . "[sendregistrar]\" checked> ") . $aInt->lang("orders", "sendtoregistrar") . ("</label> <label><input type=\"checkbox\" name=\"vars[domains][" . $domainid . "]" . "[sendemail]\" checked> ") . $aInt->lang("orders", "sendconfirmation") . "</label></td></tr>";
     }
 }
 if ($renewals) {
     $renewals = explode(",", $renewals);
     foreach ($renewals as $renewal) {
         $renewal = explode("=", $renewal);
         $domainid = $renewal[0];
         $registrationperiod = $renewal[1];
         $result = select_query("tbldomains", "", array("id" => $domainid));
         $data = mysql_fetch_array($result);
         $domainid = $data['id'];
         $type = $data['type'];
         $domain = $data['domain'];
         $registrar = $data['registrar'];
         $status = $data['status'];
Esempio n. 2
0
echo "\" class=\"datepick\"></td></tr>\n<tr><td class=\"fieldlabel\">";
echo $aInt->lang("fields", "domain");
echo "</td><td class=\"fieldarea\"><input type=\"text\" name=\"domain\" size=\"30\" value=\"";
echo $domain;
echo "\"> <a href=\"http://www.";
echo $domain;
echo "\" target=\"_blank\" style=\"color:#cc0000\">www</a> <a href=\"#\" onclick=\"\$('#frmWhois').submit();return false\">";
echo $aInt->lang("domains", "whois");
echo "</a></td><td class=\"fieldlabel\">";
echo $aInt->lang("fields", "expirydate");
echo "</td><td class=\"fieldarea\"><input type=\"text\" name=\"expirydate\" value=\"";
echo $expirydate;
echo "\" class=\"datepick\"></td></tr>\n<tr><td class=\"fieldlabel\">";
echo $aInt->lang("fields", "registrar");
echo "</td><td class=\"fieldarea\">";
echo getRegistrarsDropdownMenu($registrar);
echo "</td><td class=\"fieldlabel\">";
echo $aInt->lang("fields", "nextduedate");
echo "</td><td class=\"fieldarea\"><input type=\"hidden\" name=\"oldnextduedate\" value=\"";
echo $nextduedate;
echo "\"><input type=\"text\" name=\"nextduedate\" value=\"";
echo $nextduedate;
echo "\" class=\"datepick\"></td></tr>\n<tr><td class=\"fieldlabel\">";
echo $aInt->lang("fields", "firstpaymentamount");
echo "</td><td class=\"fieldarea\"><input type=\"text\" name=\"firstpaymentamount\" size=10 value=\"";
echo $firstpaymentamount;
echo "\"></td><td class=\"fieldlabel\">";
echo $aInt->lang("fields", "paymentmethod");
echo "</td><td class=\"fieldarea\">";
echo paymentMethodsSelection();
echo " <a href=\"clientsinvoices.php?userid=";
    require ROOTDIR . '/includes/registrarfunctions.php';
}
$whmcs = App::self();
$reportdata["title"] = $aInt->lang('reports', 'domainRenewalEmailsTitle');
$userID = $whmcs->get_req_var('client');
$domain = $whmcs->get_req_var('domain');
$dateFrom = $whmcs->get_req_var('dateFrom') ? toMySQLDate($whmcs->get_req_var('dateFrom')) : '';
$dateTo = $whmcs->get_req_var('dateTo') ? toMySQLDate($whmcs->get_req_var('dateTo')) : '';
$formDateFrom = $dateFrom ? fromMySQLDate($dateFrom) : '';
$formDateTo = $dateTo ? fromMySQLDate($dateTo) : '';
$registrar = $whmcs->get_req_var('registrar');
$print = $whmcs->get_req_var('print');
/**
 * Replace the "None" string with the "Any" string
 */
$registrarList = str_replace($aInt->lang('global', 'none'), $aInt->lang('global', 'any'), getRegistrarsDropdownMenu($registrar));
$reportdata["description"] = $aInt->lang('reports', 'domainRenewalEmailsDescription');
$reportHeader = '';
if (!$print) {
    $reportHeader = <<<REPORT_HEADER
<form method="post" action="reports.php?report=domain_renewal_emails">
{$aInt->lang('fields', 'clientid')}: {$aInt->clientsDropDown($userID, '', 'client', true)}
{$aInt->lang('fields', 'domain')}: <input type="text" name="domain" value="{$domain}" size="30" />
{$aInt->lang('fields', 'registrar')}: {$registrarList}
{$aInt->lang('fields', 'daterange')}:
<input type="text" name="dateFrom" value="{$formDateFrom}" class="datepick" />
&nbsp;&nbsp;-> <input type="text" name="dateTo" value="{$formDateTo}" class="datepick" />
&nbsp;&nbsp;({$aInt->lang('reports', 'leaveBlankAll')})&nbsp;
<input type="submit" value="{$aInt->lang('global', 'filter')}" />
</form>
REPORT_HEADER;
Esempio n. 4
0
    echo "></td>\n<td><input type=\"checkbox\" name=\"eppcode[";
    echo $id;
    echo "]\"";
    if ($eppcode) {
        echo " checked";
    }
    echo "></td>\n<td>";
    echo getRegistrarsDropdownMenu($autoreg, "autoreg[" . $id . "]");
    echo "</td>\n<td class=\"sortcol\">&nbsp;</td>\n<td><a href=\"#\" onClick=\"doDelete('";
    echo $id;
    echo "');return false\"><img src=\"images/icons/delete.png\" width=\"16\" height=\"16\" border=\"0\" alt=\"";
    echo $aInt->lang("global", "delete");
    echo "\"></a></td>\n</tr>\n";
}
echo "<tr class=\"addtld\">\n<td><input type=\"text\" name=\"newtld\" size=\"6\"></td>\n<td></td>\n<td><input type=\"checkbox\" name=\"newdns\"></td>\n<td><input type=\"checkbox\" name=\"newemail\"></td>\n<td><input type=\"checkbox\" name=\"newidprot\"></td>\n<td><input type=\"checkbox\" name=\"neweppcode\"></td>\n<td>";
echo getRegistrarsDropdownMenu($autoreg, "newautoreg");
echo "</td>\n<td></td>\n<td></td>\n</tr>\n</table>\n</div>\n\n";
echo "<s";
echo "cript src=\"../includes/jscript/jqueryro.js\"></script>\n";
echo "<s";
echo "tyle>\ntd.sortcol {\n    background-image: url(\"images/updown.gif\");\n    background-repeat: no-repeat;\n    background-position: center center;\n    cursor: move;\n}\ntable.datatable .tDnD_whileDrag td,table.datatable .addtld td {\n    background-color: #eeeeee;\n}\n</style>\n\n<p align=\"center\"><input type=\"submit\" value=\"";
echo $aInt->lang("global", "savechanges");
echo "\" class=\"btn btn-primary\" /> <input type=\"button\" id=\"showduplicatetld\" value=\"";
echo $aInt->lang("domains", "duplicatetld");
echo "\" class=\"btn\" /></p>\n\n</form>\n\n";
echo $aInt->jqueryDialog("duplicatetld", $aInt->lang("domains", "duplicatetld"), $aInt->lang("global", "loading"), array($aInt->lang("global", "ok") => "\$(\"#duplicatetldform\").submit()"));
$jquerycode .= "\$(\"#showduplicatetld\").click(\n    function() {\n        \$(\"#duplicatetld\").dialog(\"open\");\n        \$(\"#duplicatetld\").load(\"configdomains.php?action=showduplicatetld\");\n        return false;\n    }\n);";
echo "\n<h2>";
echo $aInt->lang("domains", "domainaddons");
echo "</h2>\n\n<form method=\"post\" action=\"";
echo $_SERVER['PHP_SELF'];