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 { $count = $_SESSION["getCountOFMailsRTM"]; } $events = "\n \t\t<div class=\"bottom-box1\">\n \t\t<div class=\"bottom-box1-inside\"><span class=\"title-14\">{$count} {events}</span>\n \t\t<div class=\"bottom-box-th\"><img src=\"img/eve-pic.jpg\"></div>\n\t \t\t<div class=bottom-box-tx>{user_events_emails_query_text}</div>\n\t\t \t\t<div class=\"green-link-box\"><a href=\"rtmm.php\" class=\"read-more\">»» {events}</a></div>\n\n\t \t\t</div>\n\t \t</div>"; if ($_SESSION["getSizeOfBackupedMails"] == null) { $count = $func->getSizeOfBackupedMails(); $count = $count / 1024; $count = FormatBytes($count); $_SESSION["getSizeOfBackupedMails"] = $count; } else { $count = $_SESSION["getSizeOfBackupedMails"]; } $backup = "\n\t\n \t\t<div class=\"bottom-box1\">\n \t\t<div class=\"bottom-box1-inside\"><span class=\"title-14\">{$count} {backup}</span>\n \t\t<div class=\"bottom-box-th\"><img src=\"img/eve-pic-1.jpg\"></div>\n\t \t\t<div class=bottom-box-tx>{user_backup_emails_query_text}</div>\n\t\t \t\t<div class=\"green-link-box\"><a href=\"backup.php\" class=\"read-more\">»» {backup}</a></div>\n\n\t \t\t</div>\n\t \t</div>"; if ($_SESSION["getCountOFMailQuar"] == null) { $count = $func->getCountOFMailQuar(); $_SESSION["getCountOFMailQuar"] = $count; } else { $count = $_SESSION["getCountOFMailQuar"]; } $quarantine = "\n\t\n \t\t<div class=\"bottom-box1\">\n \t\t<div class=\"bottom-box1-inside\"><span class=\"title-14\">{$count} {quarantinems}</span>\n \t\t<div class=\"bottom-box-th\"><img src=\"img/eve-pic-2.jpg\"></div>\n\t \t\t<div class=bottom-box-tx>{user_quarantine_emails_query_text}</div>\n\t\t \t\t<div class=\"green-link-box\"><a href=\"backup.php\" class=\"read-more\">»» {backup}</a></div>\n\n\t \t\t</div>\n\t \t</div>"; $UserIdentity = UserIdentity(); return "\n\n\t<div class=\"body-bottom\">{$events}{$backup}{$quarantine}</div>"; }