Exemplo n.º 1
0
<?php
session_start();
include_once('ressources/class.templates.inc');
include_once('ressources/class.users.menus.inc');
include_once('ressources/class.main_cf.inc');
include_once('ressources/class.user.inc');

if(isset($_GET["givenName"])){save_datas();exit;}
if(isset($_GET["pool"])){Save_Fetchmail();exit;}
if(isset($_GET["FetchDelete"])){FetchDelete();exit;}
if(isset($_GET["js"])){account_js();exit;}

users_page();

function FetchPage(){
$mny=new usersMenus();
if($mny->AllowFetchMails==false){users_page();exit;}	
$option[""]="{default}";
$option["pop3"]="POP3";
$option["pop2"]="POP2";
$option["imap"]="IMAP";
$option["imap-k4"]="IMAP-K4";
$option["imap-gss"]="IMAP-GSS";
$option["apop"]="APOP";
$option["kpop"]="KPOP";

$auth[""]="Default";
$auth["password"]="******";
$auth["kerberos_v5"]="KERBEROS_V5";
$auth["kerberos_v4"]="KERBEROS_V4";
$auth["gssapi"]="GSSAPI";
Exemplo n.º 2
0
session_start();
include_once 'ressources/class.templates.inc';
include_once 'ressources/class.users.menus.inc';
include_once 'ressources/class.main_cf.inc';
include_once 'ressources/class.user.inc';
if (isset($_GET["givenName"])) {
    save_datas();
    exit;
}
if (isset($_GET["pool"])) {
    Save_Fetchmail();
    exit;
}
if (isset($_GET["FetchDelete"])) {
    FetchDelete();
    exit;
}
if (isset($_GET["js"])) {
    account_js();
    exit;
}
users_page();
function FetchPage()
{
    $mny = new usersMenus();
    if ($mny->AllowFetchMails == false) {
        users_page();
        exit;
    }
    $option[""] = "{default}";