Example #1
0
}
$websites = Websites();
$user = new user($_SESSION["uid"]);
$GLOBALS["CLASS_USER"] = $user;
$title = "{welcomeb} {$user->DisplayName}";
$UserIdentity = UserIdentity();
$mailman_sites = mailman_sites();
$html = "\n<div style='margin:10px'>\n<H1>{$title}</H1>\n\n\t<table style='width:100%;'>\n\t<tr>\n\t<td valign='top'>{$websites}\n\t</td>\n\t<td valign='top' align='right'>\n\t<div id='UserIdentity'>\n\t\t{$UserIdentity}\n\t</div>\n\t{$mailman_sites}\n\t</td>\n\t</tr>\n\t</table>\n\t\t\n</div>\n\n\n\n\t\t\t\n\n";
$html = $html . $bottom;
if (isset($_GET["ajax"])) {
    $tpl = new templates();
    echo $tpl->_ENGINE_parse_body($html);
    exit;
}
$tpl = new templates("&nbsp;", $user->DisplayName);
echo $tpl->buildPage();
function Building_bottom_section_mail()
{
    if (is_object($GLOBALS["CLASS_USER"])) {
        $user = $GLOBALS["CLASS_USER"];
    } else {
        $user = new user($_SESSION["uid"]);
    }
    if (!isset($_SESSION["ALL_MAILS"])) {
        $_SESSION["ALL_MAILS"] = $user->HASH_ALL_MAILS;
    }
    $func = new funct();
    if ($_SESSION["getCountOFMailsRTM"] == null) {
        $count = $func->getCountOFMailsRTM();
        $_SESSION["getCountOFMailsRTM"] = $count;
    } else {