function rules()
{
    $tpl = new templates();
    $page = CurrentPageName();
    $q = new mysql_squid_builder();
    $users = new usersMenus();
    $sock = new sockets();
    if (!$users->APP_UFDBGUARD_INSTALLED) {
        rules_ufdb_not_installed();
        return;
    }
    $WEBFILTERING_TOP_MENU = WEBFILTERING_TOP_MENU();
    $html = "\n\t<div style='font-size:30px;margin-bottom:20px'>{$WEBFILTERING_TOP_MENU}</div>\t\t\n\t<div id='rules-table'></div>\n\t<script>\n\t\tLoadAjax('rules-table','{$page}?rules-table=yes');\n\t</script>\n\t";
    echo $tpl->_ENGINE_parse_body($html);
}
function rules()
{
    $tpl = new templates();
    $page = CurrentPageName();
    $q = new mysql_squid_builder();
    $users = new usersMenus();
    $sock = new sockets();
    if (!$users->APP_UFDBGUARD_INSTALLED) {
        rules_ufdb_not_installed();
        return;
    }
    $html = "<div id='rules-table'></div>\n\t<script>\n\t\tLoadAjax('rules-table','{$page}?rules-table=yes');\n\t</script>\n\t";
    echo $tpl->_ENGINE_parse_body($html);
}