Beispiel #1
0
    exit;
}
if (isset($_GET["LocalRules"])) {
    echo LocalRules();
    exit;
}
if (isset($_GET["fetchmailbuttons"])) {
    echo RoundedLightGrey(LocalFetchMailRc());
    exit;
}
if (isset($_GET["InstallFetchmail"])) {
    echo InstallFetchmail();
    exit;
}
if (isset($_GET["UserRules"])) {
    LoadUserRules();
    exit;
}
if (isset($_GET["LoadFetchMailRuleFromUser"])) {
    LoadFetchMailRuleFromUser();
    exit;
}
if (isset($_GET["ChangeFetchMailUser"])) {
    ChangeFetchMailUser();
    exit;
}
PAGE();
function PAGE()
{
    $LocalFetchMailRc = LocalFetchMailRc();
    $fetchmail_explain = "<div style='padding:2px;margin:5px'>\n<table>\n<tr>\n<td valign='top'>\n<img src='img/fetchmail_explain.png'>\n</td>\n<td valign='top'><div class=explain>{fetchmail_explain}</div></td>\n</tr>\n</table>";

if(isset($_GET["ssl-fingerprint"])){ssl_fingerprint_js();exit;}
if(isset($_GET["getsslfinger"])){ssl_fingerprint_get();exit;}


if(isset($_GET["poll"])){SavePools();exit();}
if(isset($_GET["AddNewFetchMailRule"])){AddNewFetchMailRule();exit();}
if(isset($_GET["LdapRules"])){LdapRules();exit;}
if(isset($_GET["UserDeleteFetchMailRule"])){UserDeleteFetchMailRule();exit;}
if($user->AsArticaAdministrator==false){header('location:users.index.php');exit;}
if(isset($_GET["import_1"])){echo import_1();exit;}
if(isset($_GET["LocalRules"])){echo LocalRules();exit;}
if(isset($_GET["fetchmailbuttons"])){echo RoundedLightGrey(LocalFetchMailRc());exit;}
if(isset($_GET["InstallFetchmail"])){echo InstallFetchmail();exit;}
if(isset($_GET["UserRules"])){LoadUserRules();exit;}
if(isset($_GET["LoadFetchMailRuleFromUser"])){LoadFetchMailRuleFromUser();exit;}
if(isset($_GET["ChangeFetchMailUser"])){ChangeFetchMailUser();exit;}


PAGE();




function PAGE(){
$LocalFetchMailRc=LocalFetchMailRc();

$fetchmail_explain="<div style='padding:2px;margin:5px'>
<table>
<tr>