<div class="tabber"> <div class="tabbertab"> <h2><?php EchoTranslation("General"); ?> </h2> <table border="0" width="100%" cellpadding="5"> <tr> <td width="30%"><?php EchoTranslation("Address"); ?> </td> <td width="70%"> <input type="text" name="recipientaddress" value="<?php echo PreprocessOutput($recipientaddress); ?> " size="30" checkallownull="false" checktype="email" checkmessage="<?php EchoTranslation("Address"); ?> "> </td> </tr> </table> </div> </div> <?php PrintSaveButton(); ?>
</td> </tr> <?php $bgcolor = "#EEEEEE"; $Count = $obWhiteListAddresses->Count(); $str_delete = $obLanguage->String("Remove"); for ($i = 0; $i < $Count; $i++) { $obAddress = $obWhiteListAddresses->Item($i); $ID = $obAddress->ID; $LowerIPAddress = $obAddress->LowerIPAddress; $UpperIPAddress = $obAddress->UpperIPAddress; $EmailAddress = $obAddress->EmailAddress; $Description = $obAddress->Description; $EmailAddress = PreprocessOutput($EmailAddress); $Description = PreprocessOutput($Description); echo "<tr bgcolor=\"{$bgcolor}\">"; echo "<td><a href=\"?page=whitelistaddress&action=edit&ID={$ID}\">{$Description}</a></td>"; echo "<td><a href=\"?page=whitelistaddress&action=edit&ID={$ID}\">{$LowerIPAddress}</a></td>"; echo "<td><a href=\"?page=whitelistaddress&action=edit&ID={$ID}\">{$UpperIPAddress}</a></td>"; echo "<td><a href=\"?page=whitelistaddress&action=edit&ID={$ID}\">{$EmailAddress}</a></td>"; echo "<td><a href=\"?page=background_whitelistaddress_save&action=delete&ID={$ID}\">{$str_delete}</a></td>"; echo "</tr>"; if ($bgcolor == "#EEEEEE") { $bgcolor = "#DDDDDD"; } else { $bgcolor = "#EEEEEE"; } } ?> <tr>
$str_delete = $obLanguage->String("Remove"); $currentaccountid = hmailGetAccountID(); $str_accountaddress = $obLanguage->String("Address"); $str_maxsizemb = $obLanguage->String("Maximum size (MB)"); echo "<tr bgcolor=\"#CCCCCC\">"; echo "<td width=\"60%\">{$str_accountaddress}</td>"; echo "<td width=\"20%\">{$str_maxsizemb}</td>"; echo "<td width=\"20%\"></td>"; echo "</tr>"; $obAccounts = $obDomain->Accounts; for ($i = 0; $i < $Count; $i++) { $obAccount = $obAccounts->Item($i); $accountaddress = $obAccount->Address; $accountid = $obAccount->ID; $accountmaxsize = $obAccount->MaxSize(); $accountaddress = PreprocessOutput($accountaddress); $accountaddress_escaped = GetStringForJavaScript($accountaddress); echo "<tr bgcolor=\"{$bgcolor}\">"; echo "<td width=\"60%\"><a href=\"?page=account&action=edit&domainid={$domainid}&accountid={$accountid}\">{$accountaddress}</a></td>"; echo "<td width=\"20%\">{$accountmaxsize}</td>"; echo "<td width=\"20%\">"; if ($currentaccountid != $accountid) { echo "<a href=\"javascript:ConfirmDelete('{$accountaddress_escaped}', '?page=background_account_save&action=delete&domainid={$domainid}&accountid={$accountid}')\">{$str_delete}</a>"; } else { "</td>"; } echo "</tr>"; if ($bgcolor == "#EEEEEE") { $bgcolor = "#DDDDDD"; } else { $bgcolor = "#EEEEEE";
</td> <td width="50%"><input type="text" name="smtpdeliverybindtoip" value="<?php echo PreprocessOutput($smtpdeliverybindtoip); ?> " size="20" checkallownull="true" checktype="ipaddress" checkmessage="<?php EchoTranslation("Bind to local IP address"); ?> "></td> </tr> <tr> <td><?php EchoTranslation("Maximum number of recipients in batch"); ?> </td> <td><input type="text" name="maxsmtprecipientsinbatch" value="<?php echo PreprocessOutput($maxsmtprecipientsinbatch); ?> " size="4" checkallownull="false" checktype="number" checkmessage="<?php EchoTranslation("Maximum number of recipients in batch"); ?> "></td> </tr> <tr> <td><?php EchoTranslation("Rule Loop Limit"); ?> </td> <td><input type="text" name="smtprulelooplimit" value="<?php echo $smtprulelooplimit; ?> " size="3" checkallownull="false" checktype="number" checkmessage="<?php
function GetStringForDomain($obDomain, $parentid) { global $dtree, $dtitem, $domain_root; $current_domainid = hmailGetVar("domainid", 0); $current_accountid = hmailGetVar("accountid", 0); $domainname = $obDomain->Name; $domainname = PreprocessOutput($domainname); $domainname = str_replace("'", "\\'", $domainname); $dtree .= "d.add({$domain_root},{$parentid},'" . $domainname . "','index.php?page=domain&action=edit&domainid=" . $obDomain->ID . "','','','" . "images/server.png','" . "images/server.png');\r\n"; if ($current_domainid != $obDomain->ID && hmailGetAdminLevel() == ADMIN_SERVER) { // If the user is logged on as a system administrator, only show accounts // for the currently selected domain. return; } $obAccounts = $obDomain->Accounts(); $AccountsCount = $obAccounts->Count(); $accounts_root = $dtitem++; $dtree .= "d.add({$accounts_root},{$domain_root},'" . GetStringForJavaScript("Accounts") . " ({$AccountsCount})','index.php?page=accounts&domainid=" . $obDomain->ID . "','','','" . "images/folder.png','" . "images/folder.png');\r\n"; for ($j = 0; $j < $AccountsCount; $j++) { $obAccount = $obAccounts->Item($j); $accountaddress = $obAccount->Address; $accountaddress = PreprocessOutput($accountaddress); $accountaddress = str_replace("'", "\\'", $accountaddress); $accountid = $obAccount->ID; $di = $dtitem++; $url = htmlentities("index.php?page=account&action=edit&accountid=" . $accountid . "&domainid=" . $obDomain->ID); $dtree .= "d.add({$di},{$accounts_root},'" . $accountaddress . "','{$url}','','','" . "images/user.png','" . "images/user.png');\r\n"; // Only show sub-nodes for the currently selected account. if ($current_accountid == $accountid) { $dtree .= "d.add(" . $dtitem++ . ",{$di},'" . GetStringForJavaScript("External accounts") . "','index.php?page=account_externalaccounts&accountid=" . $accountid . "&domainid=" . $obDomain->ID . "');\r\n"; } } $obAliases = $obDomain->Aliases(); $AliasesCount = $obAliases->Count(); $aliases_root = $dtitem++; $dtree .= "d.add({$aliases_root},{$domain_root},'" . GetStringForJavaScript("Aliases") . " ({$AliasesCount})','index.php?page=aliases&domainid=" . $obDomain->ID . "','','','" . "images/folder.png','" . "images/folder.png');\r\n"; for ($j = 0; $j < $AliasesCount; $j++) { $obAlias = $obAliases->Item($j); $aliasname = $obAlias->Name; $aliasname = PreprocessOutput($aliasname); $aliasname = str_replace("'", "\\'", $aliasname); $di = $dtitem++; $dtree .= "d.add({$di},{$aliases_root},'" . $aliasname . "','index.php?page=alias&action=edit&aliasid=" . $obAlias->ID . "&domainid=" . $obDomain->ID . "','','','" . "images/arrow_switch.png','" . "images/arrow_switch.png');\r\n"; } $obDistributionLists = $obDomain->DistributionLists(); $DListCount = $obDistributionLists->Count(); $dlist_root = $dtitem++; $dtree .= "d.add({$dlist_root},{$domain_root},'" . GetStringForJavaScript("Distribution lists") . " ({$DListCount})','index.php?page=distributionlists&domainid=" . $obDomain->ID . "','','','" . "images/folder.png','" . "images/folder.png');\r\n"; for ($j = 0; $j < $DListCount; $j++) { $obDistributionList = $obDistributionLists->Item($j); $di = $dtitem++; $address = PreprocessOutput($obDistributionList->Address); $address = str_replace("'", "\\'", $address); $dtree .= "d.add({$di},{$dlist_root},'" . $address . "','index.php?page=distributionlist&action=edit&distributionlistid=" . $obDistributionList->ID . "&domainid=" . $obDomain->ID . "','','','" . "images/arrow_out.png','" . "images/arrow_out.png');\r\n"; $dtree .= "d.add(" . $dtitem++ . ",{$di},'" . GetStringForJavaScript("Members") . " (" . $obDistributionList->Recipients->Count() . ")','index.php?page=distributionlist_recipients&distributionlistid=" . $obDistributionList->ID . "&domainid=" . $obDomain->ID . "');\r\n"; } }
$count = 0; if (strlen($undeliveredMessages) > 0) { $list = explode("\r\n", $undeliveredMessages); $count = count($list); $as_soon_as_possible = $obLanguage->String("As soon as possible"); foreach ($list as $line) { $columns = explode("\t", $line); if (count($columns) > 4) { if ($columns[4] == "1901-01-01 00:00:00") { $columns[4] = $as_soon_as_possible; } echo "<tr>"; echo "<td>" . $columns[0] . "</td>"; echo "<td>" . $columns[1] . "</td>"; echo "<td>" . PreprocessOutput($columns[2]) . "</td>"; echo "<td>" . PreprocessOutput($columns[3]) . "</td>"; echo "<td>" . $columns[4] . "</td>"; echo "<td>" . $columns[6] . "</td>"; echo "</tr>"; } } } ?> </table> <br/> <?php echo $count . " " . $obLanguage->String("messages in queue"); ?> </div>
<td> <input type="text" name="UpperIPAddress" value="<?php echo PreprocessOutput($UpperIPAddress); ?> " size="20"> </td> </tr> <tr> <td><?php EchoTranslation("E-mail address"); ?> </td> <td> <input type="text" name="EmailAddress" value="<?php echo PreprocessOutput($EmailAddress); ?> " size="50"> </td> </tr> </table> </div> </div> <?php PrintSaveButton(); ?> </form>
?> <table width="900" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td> <font face="verdana" size="2"> <h1>Operation failed</h1> The operation failed. Please make sure that you have logged on with the appropriate permissions to perform this task. <br/> <br/> The following description exists:<br/><br/> <?php echo PreprocessOutput($errstr); ?> </br><br/> Error location: <?php echo PreprocessOutput($errfile); ?> <br/> </font> <br/><br/> <input type="submit" onClick="history.back();" value="Go back"> <input type="submit" onClick="document.location.href='logout.php';" value="Log out"> </tr> </table>
<table border="0" width="100%" cellpadding="5"> <tr> <td width="10%"><?php EchoTranslation("Name"); ?> </td> <td width="70%"> <?php echo PreprocessOutput($messagename); ?> </td> </tr> <tr> <td><?php EchoTranslation("Text"); ?> </td> <td><textarea name="messagetext" rows="20" cols="100"><?php echo PreprocessOutput($messagetext); ?> </textarea> </tr> </table> </div> </div> <?php PrintSaveButton(); ?> </form>
for ($i = 0; $i < $blockedAttachments->Count; $i++) { $blockedAttachment = $blockedAttachments->Item($i); $id = $blockedAttachment->ID; $wildcard = $blockedAttachment->Wildcard; $description = $blockedAttachment->Description; ?> <tr> <td><a href="?page=blocked_attachment&action=edit&id=<?php echo $id; ?> "><?php echo PreprocessOutput($wildcard); ?> </a></td> <td><?php echo PreprocessOutput($description); ?> </td> <td> <?php echo "<a href=\"?page=background_blocked_attachment_save&action=delete&id={$id}\">{$str_delete}</a>"; ?> </td> </tr> <?php } ?> </table> <a href="?page=blocked_attachment&action=add"><i><?php EchoTranslation("Add");
EchoTranslation("Distribution lists"); ?> </h1> <table border="0" width="100%" cellpadding="5"> <?php $bgcolor = "#EEEEEE"; $obDomain = $obBaseApp->Domains->ItemByDBID($domainid); $obLists = $obDomain->DistributionLists(); $Count = $obLists->Count(); $str_delete = $obLanguage->String("Remove"); $obDistributionLists = $obDomain->DistributionLists; for ($i = 0; $i < $Count; $i++) { $obList = $obDistributionLists->Item($i); $listaddress = $obList->Address; $listid = $obList->ID; $listaddress = PreprocessOutput($listaddress); $listaddress_escaped = GetStringForJavaScript($listaddress); echo "<tr bgcolor=\"{$bgcolor}\">"; echo "<td><a href=\"?page=distributionlist&action=edit&domainid={$domainid}&distributionlistid={$listid}&\">{$listaddress}</a></td>"; echo "<td width=\"20%\"><a href=\"javascript:ConfirmDelete('{$listaddress_escaped}', '?page=background_distributionlist_save&action=delete&domainid={$domainid}&distributionlistid={$listid}')\">{$str_delete}</a></td>"; echo "</tr>"; if ($bgcolor == "#EEEEEE") { $bgcolor = "#DDDDDD"; } else { $bgcolor = "#EEEEEE"; } } ?> <tr> <td>
</td> <td size="70%"><input type="text" name="tcpipthreads" value="<?php echo PreprocessOutput($tcpipthreads); ?> " checkallownull="false" checktype="number" checkmessage="<?php EchoTranslation("Max number of command threads"); ?> "></td> </tr> <tr> <td valign="top"><?php EchoTranslation("Delivery threads"); ?> </td> <td><input type="text" name="maxdeliverythreads" value="<?php echo PreprocessOutput($maxdeliverythreads); ?> " checkallownull="false" checktype="number" checkmessage="<?php EchoTranslation("Delivery threads"); ?> "></td> </tr> <?php PrintPropertyEditRow("MaxAsynchronousThreads", "Max number of asynchronous task threads", $MaxAsynchronousThreads, 4, "number"); ?> <tr> <td valign="top"><?php EchoTranslation("Worker thread priority"); ?> </td> <td>
<div class="tabber"> <div class="tabbertab"> <h2><?php EchoTranslation("General"); ?> </h2> <table border="0" width="100%" cellpadding="5"> <tr> <td width="30%"><?php EchoTranslation("Address"); ?> </td> <td width="70%"> <input type="text" name="routeaddress" value="<?php echo PreprocessOutput($routeaddress); ?> " size="35" checkallownull="false" checktype="email" checkmessage="<?php EchoTranslation("Address"); ?> "> </td> </tr> </table> </div> </div> <?php PrintSaveButton(); ?> </form>
<h1><?php EchoTranslation("Incoming relays"); ?> </h1> <table border="0" width="100%" cellpadding="5"> <?php $bgcolor = "#EEEEEE"; $obSettings = $obBaseApp->Settings(); $obIncomingRelays = $obSettings->IncomingRelays(); $Count = $obIncomingRelays->Count(); $str_delete = $obLanguage->String("Remove"); for ($i = 0; $i < $Count; $i++) { $obIncomingRelay = $obIncomingRelays->Item($i); $relayname = $obIncomingRelay->Name; $relayid = $obIncomingRelay->ID; $relayname = PreprocessOutput($relayname); echo "<tr bgcolor=\"{$bgcolor}\">"; echo "<td width=\"80%\"><a href=\"?page=incomingrelay&action=edit&relayid={$relayid}&\">{$relayname}</a></td>"; echo "<td width=\"20%\"><a href=\"?page=background_incomingrelay_save&action=delete&relayid={$relayid}\">{$str_delete}</a></td>"; echo "</tr>"; if ($bgcolor == "#EEEEEE") { $bgcolor = "#DDDDDD"; } else { $bgcolor = "#EEEEEE"; } } ?> <tr> <td> <br> <a href="?page=incomingrelay&action=add"><i><?php
<?php EchoTranslation("Route"); ?> <br/> <select name="RouteID"> <?php if (hmailGetAdminLevel() == ADMIN_SERVER) { $obSettings = $obBaseApp->Settings; $obRoutes = $obSettings->Routes(); $Count = $obRoutes->Count(); for ($i = 0; $i < $Count; $i++) { $obRoute = $obRoutes->Item($i); $routename = $obRoute->DomainName; $routeid = $obRoute->ID; $routename = PreprocessOutput($routename); echo "<option value=\"{$routeid}\">{$routename}</option>"; } } ?> </select> </div> </td> </tr> </table> </div> </div> <?php
?> " checkallownull="false" checkmessage="<?php EchoTranslation("Redirect from"); ?> ">@<?php echo $domainname; ?> </td> </tr> <tr> <td><?php EchoTranslation("To"); ?> </td> <td><input type="text" name="aliasvalue" value="<?php echo PreprocessOutput($aliasvalue); ?> " checkallownull="false" checkmessage="<?php EchoTranslation("To"); ?> "></td> </tr> <tr> <td><?php EchoTranslation("Enabled"); ?> </td> <td><input type="checkbox" name="aliasactive" value="1" <?php echo $aliasactivechecked; ?>
<form action="index.php" method="post" onSubmit="return formCheck(this);"> <?php PrintHidden("page", "backup"); PrintHidden("action", "save"); ?> <table border="0" width="100%" cellpadding="5"> <tr> <td width="20%"><?php EchoTranslation("Destination"); ?> </td> <td width="80%"><input type="text" name="backupdestination" value="<?php echo PreprocessOutput($backupdestination); ?> " size="50"></td> </tr> <tr> <td colspan="2"> <hr noshade style="height: 1px; border: 1px solid #eeeeee;"> <br/> <b><?php EchoTranslation("Backup"); ?> </b> </td> </tr> <tr> <td><?php
?> </a> </select> </td> </tr> <?php PrintPropertyEditRow("Address", "TCP/IP address", $Address, 15); ?> <tr> <td><?php EchoTranslation("TCP/IP port"); ?> </td> <td> <input type="text" name="portnumber" value="<?php echo PreprocessOutput($portnumber); ?> " checkallownull="false" checktype="number" checkmessage="<?php EchoTranslation("TCP/IP port"); ?> "> </td> </tr> <tr> <td><?php EchoTranslation("Connection security"); ?> </td> <td><select name="ConnectionSecurity">
$fieldName = $criteria->HeaderField; } $matchType = GetMatchTypeString($criteria->MatchType); $matchValue = $criteria->MatchValue; ?> <tr> <td width="25%"><?php echo "<a href=\"?page=rule_criteria&action=edit&domainid={$domainid}&accountid={$accountid}&ruleid={$ruleid}&criteriaid={$criteriaid}\">{$fieldName}</a>"; ?> </td> <td width="25%"><?php echo PreprocessOutput($matchType); ?> </td> <td width="25%"><?php echo PreprocessOutput($matchValue); ?> </td> <td width="25%"><?php echo "<a href=\"?page=background_rule_save&savetype=criteria&action=delete&domainid={$domainid}&accountid={$accountid}&&ruleid={$ruleid}&criteriaid={$criteriaid}\">{$str_delete}</a>"; ?> </td> </tr> <?php } ?> </table>
?> </td> <td><input type="text" name="relaylowerip" value="<?php echo PreprocessOutput($relaylowerip); ?> " size="25" checkallownull="false" checktype="ipaddress" checkmessage="<?php EchoTranslation("Lower IP"); ?> "></td> </tr> <tr> <td><?php EchoTranslation("Upper IP"); ?> </td> <td><input type="text" name="relayupperip" value="<?php echo PreprocessOutput($relayupperip); ?> " size="25" checkallownull="false" checktype="ipaddress" checkmessage="<?php EchoTranslation("Upper IP"); ?> "></td> </tr> </table> </div> </div> <?php PrintSaveButton(); ?> </form>
EchoTranslation("Aliases"); ?> </h1> <table border="0" width="100%" cellpadding="5"> <?php $bgcolor = "#EEEEEE"; $obDomain = $obBaseApp->Domains->ItemByDBID($domainid); $obAliases = $obDomain->Aliases(); $Count = $obAliases->Count(); $str_delete = $obLanguage->String("Remove"); $obAliases = $obDomain->Aliases; for ($i = 0; $i < $Count; $i++) { $obAlias = $obAliases->Item($i); $aliasname = $obAlias->Name; $aliasid = $obAlias->ID; $aliasname = PreprocessOutput($aliasname); $aliasname_escaped = GetStringForJavaScript($aliasname); echo "<tr bgcolor=\"{$bgcolor}\">"; echo "<td width=\"80%\"><a href=\"?page=alias&action=edit&domainid={$domainid}&aliasid={$aliasid}\">{$aliasname}</a></td>"; echo "<td><a href=\"javascript:ConfirmDelete('{$aliasname_escaped}', '?page=background_alias_save&action=delete&domainid={$domainid}&aliasid={$aliasid}')\">{$str_delete}</a></td>"; echo "</tr>"; if ($bgcolor == "#EEEEEE") { $bgcolor = "#DDDDDD"; } else { $bgcolor = "#EEEEEE"; } } ?> <tr> <td> <br>
</td> </tr> <tr> <td><?php EchoTranslation("Max number of distribution lists"); ?> </td> <td> <?php if ($admin_rights) { echo "<input type=\"checkbox\" name=\"MaxNumberOfDistributionListsEnabled\" value=\"1\" {$MaxNumberOfDistributionListsEnabledChecked}>"; } else { echo "<input type=\"checkbox\" name=\"MaxNumberOfDistributionListsEnabled\" value=\"1\" readonly disabled {$MaxNumberOfDistributionListsEnabledChecked}>"; } $str_warning = $obLanguage->String("Max number of distribution lists"); $MaxNumberOfDistributionLists = PreprocessOutput($MaxNumberOfDistributionLists); if ($admin_rights) { echo "<input type=\"text\" name=\"MaxNumberOfDistributionLists\" value=\"{$MaxNumberOfDistributionLists}\" size=\"8\" checkallownull=\"false\" checkmessage=\"{$str_warning}\">"; } else { echo $MaxNumberOfDistributionLists; } ?> </td> </tr> </table> </div> <div class="tabbertab"> <h2><?php EchoTranslation("DKIM Signing");
</td> <td><input type="text" name="securityrangeupperip" value="<?php echo PreprocessOutput($securityrangeupperip); ?> " size="25" checkallownull="false" checktype="ipaddress" checkmessage="<?php EchoTranslation("Upper IP"); ?> "></td> </tr> <?php PrintCheckboxRow("Expires", "Expires", $Expires); ?> <tr> <td> </td> <td><input type="text" name="ExpiresTime" value="<?php echo PreprocessOutput($ExpiresTime); ?> " size="25"> (YYYY-MM-DD HH:MM:SS)</td> </tr> </table> </div> <div class="tabbertab"> <h2><?php EchoTranslation("Allow connections"); ?> </h2> <table border="0" width="100%" cellpadding="5"> <tr> <th width="30%"></th> <th width="70%"></th> </tr>
?> ></td> </tr> <tr> <td> <?php EchoTranslation("Add to message subject"); ?> <br/> </td> <td> <input type="checkbox" name="PrependSubject" value="1" <?php echo $PrependSubjectChecked; ?> > <input type="text" name="PrependSubjectText" value="<?php echo PreprocessOutput($PrependSubjectText); ?> "> </td> </tr> <?php PrintPropertyEditRow("SpamDeleteThreshold", "Spam delete threshold", $SpamDeleteThreshold); PrintPropertyEditRow("MaximumMessageSize", "Maximum message size to scan (KB)", $MaximumMessageSize, 6, "number"); ?> </table> </div>
$bgcolor = "#EEEEEE"; $DomainCount = $obBaseApp->Domains->Count(); $str_delete = $obLanguage->String("Remove"); $str_name = $obLanguage->String("Domain name"); $str_maxsizemb = $obLanguage->String("Maximum size (MB)"); echo "<tr bgcolor=\"#CCCCCC\">"; echo "<td width=\"60%\">{$str_name}</td>"; echo "<td width=\"20%\">{$str_maxsizemb}</td>"; echo "<td width=\"20%\"></td>"; echo "</tr>"; for ($i = 1; $i <= $DomainCount; $i++) { $obDomain = $obBaseApp->Domains->Item($i - 1); $domainname = $obDomain->Name; $domainid = $obDomain->ID; $domainmaxsize = $obDomain->MaxSize; $domainname = PreprocessOutput($domainname); $domainname_escaped = GetStringForJavaScript($domainname); echo "<tr bgcolor=\"{$bgcolor}\">"; echo "<td width=\"60%\"><a href=\"?page=domain&action=edit&domainid={$domainid}\">{$domainname}</a></td>"; echo "<td width=\"20%\">{$domainmaxsize}</td>"; echo "<td width=\"20%\"><a href=\"javascript:ConfirmDelete('{$domainname_escaped}', '?page=background_domain_save&action=delete&domainid={$domainid}')\">{$str_delete}</a></td>"; echo "</tr>"; if ($bgcolor == "#EEEEEE") { $bgcolor = "#DDDDDD"; } else { $bgcolor = "#EEEEEE"; } } ?> <tr> <td>
<td> </td> </tr> <?php $bgcolor = "#EEEEEE"; $rules = $obBaseApp->Rules(); $Count = $rules->Count(); $str_delete = $obLanguage->String("Remove"); $str_yes = $obLanguage->String("Yes"); $str_no = $obLanguage->String("No"); for ($i = 0; $i < $Count; $i++) { $rule = $rules->Item($i); $rulename = $rule->Name; $ruleid = $rule->ID; $enabled = $rule->Active ? $str_yes : $str_no; $rulename = PreprocessOutput($rulename); echo "<tr bgcolor=\"{$bgcolor}\">"; echo "<td><a href=\"?page=rule&action=edit&domainid=0&accountid=0&ruleid={$ruleid}&\">{$rulename}</a></td>"; echo "<td><a href=\"?page=rule&action=edit&domainid=0&accountid=0&ruleid={$ruleid}&\">{$enabled}</a></td>"; echo "<td><a href=\"?page=background_rule_save&savetype=rule&action=delete&domainid=0&accountid=0&action=delete&ruleid={$ruleid}\">{$str_delete}</a></td>"; echo "</tr>"; if ($bgcolor == "#EEEEEE") { $bgcolor = "#DDDDDD"; } else { $bgcolor = "#EEEEEE"; } } ?> <tr> <td> <br>
?> </i></td> <td> </td> </tr> <?php $bgcolor = "#EEEEEE"; $obSettings = $obBaseApp->Settings(); $dnsBlacklists = $obSettings->AntiSpam->DNSBlackLists; $Count = $dnsBlacklists->Count(); $str_delete = $obLanguage->String("Remove"); for ($i = 0; $i < $Count; $i++) { $dnsBlackList = $dnsBlacklists->Item($i); $id = $dnsBlackList->ID; $name = $dnsBlackList->DNSHost; $enabled = $dnsBlackList->Active ? $obLanguage->String("Yes") : $obLanguage->String("No"); $name = PreprocessOutput($name); echo "<tr bgcolor=\"{$bgcolor}\">"; echo "<td width=\"60%\"><a href=\"?page=dnsblacklist&action=edit&id={$id}&\">{$name}</a></td>"; echo "<td width=\"20%\">{$enabled}</td>"; echo "<td width=\"20%\"><a href=\"?page=background_dnsblacklist_save&action=delete&id={$id}\">{$str_delete}</a></td>"; echo "</tr>"; if ($bgcolor == "#EEEEEE") { $bgcolor = "#DDDDDD"; } else { $bgcolor = "#EEEEEE"; } } ?> <tr> <td> <br>
function PrintHidden($name, $value) { $name = PreprocessOutput($name); $value = PreprocessOutput($value); echo "<input type=\"hidden\" name=\"{$name}\" value=\"{$value}\">"; }
?> " size="4" checkallownull="false" checktype="number" checkmessage="<?php EchoTranslation("Minutes between every retry"); ?> "></td> </tr> <?php PrintCheckboxRow("routerequiresauth", "Server requires authentication", $routerequiresauth); ?> <tr> <td><?php EchoTranslation("User name"); ?> </td> <td><input type="text" name="routeauthusername" value="<?php echo PreprocessOutput($routeauthusername); ?> " size="30"></td> </tr> <tr> <td><?php EchoTranslation("Password"); ?> </td> <td><input type="password" name="routeauthpassword" value="" size="20"></td> </tr> <tr> <td><?php EchoTranslation("Connection security"); ?> </td>
hmailHackingAttemp(); } // Users are not allowed to show this page. ?> <h1><?php EchoTranslation("Server messages"); ?> </h1> <table border="0" width="100%" cellpadding="5"> <?php $bgcolor = "#EEEEEE"; $obSettings = $obBaseApp->Settings(); $obServerMessages = $obSettings->ServerMessages(); $Count = $obServerMessages->Count(); for ($i = 0; $i < $Count; $i++) { $obServerMessage = $obServerMessages->Item($i); $messagename = $obServerMessage->Name; $messageid = $obServerMessage->ID; $messagename = PreprocessOutput($messagename); echo "<tr bgcolor=\"{$bgcolor}\">"; echo "<td width=\"80%\"><a href=\"?page=servermessage&messageid={$messageid}&\">{$messagename}</a></td>"; echo "</tr>"; if ($bgcolor == "#EEEEEE") { $bgcolor = "#DDDDDD"; } else { $bgcolor = "#EEEEEE"; } } ?> </table>