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>"; $return = RoundedLightGreen("<table style='width:100%'>\n\t<tr><td width=1%>" . imgtootltip('restore-on.png', '{go_back}', "MyHref('artica.wizard.php')") . "</td>\n\t<td><H5>{return_to} {artica_wizard}</H5></td>\n\t</tr></table>"); $html = "\n<table style='width:100%'>\n<tr>\n<td width=50% valign='top'>\n\t<span id='fetchmailbuttons'>{$LocalFetchMailRc}</span>\n\t<br>\n\t<div id='left'></div>\n\t</td>\n<td width=50% valign='top'>{$return}<br>" . applysettings("fetch") . "{$fetchmail_explain}<br>" . RightMenu() . "</td>\n</tr>\n</table>\n"; $CFG["JS"][] = 'js/wizard.fetchmail.js'; $tpl = new template_users('{get_mails_isp}', $html, 0, 0, 0, 0, $CFG);
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> <td valign='top'>