Exemple #1
0
function mail_mails()
{
    $r = mails_list();
    if ($r) {
        foreach ($r as $k => $v) {
            $vb = embed_detect($v, '<', '>', '');
            $ret[$vb ? $vb : $v] = 1;
        }
    }
    if ($ret) {
        ksort($ret);
    }
    return $ret;
}
    exit;
}
if (isset($_GET["month-pie"])) {
    week_pie(true);
    exit;
}
if (isset($_GET["category-tabs"])) {
    category_tabs();
    exit;
}
if (isset($_GET["categories-show"])) {
    category_show();
    exit;
}
if (isset($_GET["mails-list"])) {
    mails_list();
    exit;
}
if (isset($_GET["mails-list-query"])) {
    mails_list_query();
    exit;
}
tabs();
function tabs()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $array["day-pie"] = 'anti-spam {today}';
    $array["week-pie"] = 'anti-spam 7 {days}';
    $array["month-pie"] = 'anti-spam 30 {days}';
    //$array["filters"]=$filters_settings;