Exemplo n.º 1
0
function rulesdatas()
{
    //$main=new main_header_check();
    //$fields=Field_array_Hash($main->array_headers_values,'fields_headers',$rule["fields_headers"]);
    $html = "\n\t<input type='hidden' id='blockip_msg' value='{blockip_msg}'>\n\t<hr><H6>{blockips}</H6>\n\t<p class=caption>{blockip_text}</p>\n\t\t<div id='blockips'>" . postfix_check_client_access() . "</div>\n<hr><H6>{postfix_regex}</H6>\n\t<p class=caption>{postfix_regex_text}</p>\t\n\t\t<div id='postfix_regex'>" . postfix_regex() . "</div>\n\t";
    $tpl = new templates();
    return $tpl->_ENGINE_parse_body($html);
}
Exemplo n.º 2
0
function rules_reject()
{
    $page = CurrentPageName();
    $hostname = $_GET["hostname"];
    $ou = $_GET["ou"];
    $tpl = new templates();
    $new_banserv = Paragraphe('64-bann-server.png', '{ADD_BAN_SERVER}', '{ADD_BAN_SERVER_TEXT}', "javascript:check_client_access_multi_add()");
    $html = "\n\t<input type='hidden' id='blockip_msg' value='{blockip_msg}'>\n\t<table style='width:100%'>\n\t<tr>\n\t<td valign='top'>\n\t\t<div class=explain>{blockip_text}</div>\n\t\t<div id='blockips'>" . postfix_check_client_access() . "</div>\n\t</td>\n\t<td valign='top' width=1%>{$new_banserv}</td>\n\t</tr>\n\t</table>\n\n";
    echo $tpl->_ENGINE_parse_body($html);
}