function PageKas3Licence() { $tpl = new templates(); $yum = new usersMenus(); if ($yum->AsPostfixAdministrator == false) { return $tpl->_ENGINE_parse_body("<h3>{not allowed}</H3>"); } include_once 'ressources/class.kas-filter.inc'; $kas1 = new KasLicence(); $kas = new kas_filter(); $st = $kas->KasStatus(); $html = "<h5>{licence status}</h5>\n\t\t\n\t\t\n\t\t<table style='width:100%'>\n\t\t<tr>\n\t\t<td width='65%' valign='top'>\n\t\t<div style='background-color:white;font-size:11px;padding:3px;border:1px solid #CCCCCC'>\n\t\t{$kas1->fulldata}\n\t\t</div>\n\t\t{$st}</table>\n\t\t</td>\n\t\t<td width='35%' valign='top'>" . AddAnewKey() . "</td>\n\t\t</tr>\n\t\t</table>"; return $tpl->_ENGINE_parse_body($html); }
function RightInfos() { $kas = new kas_filter(); $st = RoundedLightGrey($kas->KasStatus() . "</table>"); $html = applysettings("kas") . "<br>{$st}"; $tpl = new templates(); echo $tpl->_ENGINE_parse_body($html); }
function RightInfos() { $kas = new kas_filter(); $st = RoundedLightGrey($kas->KasStatus() . "</table>"); $perf = Paragraphe('proxy-64.png', '{update_now}', '{update_now}', "javascript:KasUpdates();"); $pref_force = Paragraphe('proxy-delete-64.png', '{clean_update}', '{clean_update}', "javascript:KasforceUpdates();"); $perf = RoundedLightGrey($perf); $pref_force = RoundedLightGrey($pref_force); $html = applysettings("kas") . "{$perf}<br>{$pref_force}<br>{$st}"; $tpl = new templates(); return $tpl->_ENGINE_parse_body($html); }