define('FOOTER_FILE', SERVER_ROOT.'/design/privatefooter.php');
$HTTPS = ($_SERVER['SERVER_PORT'] == 443) ? 'ssl_' : '';
?>
=display_str($PageTitle)?>
if (isset(G::$LoggedUser['Notify'])) {
foreach (G::$LoggedUser['Notify'] as $Filter) {
list($FilterID, $FilterName) = $Filter;
?>
}
}
?>
$UseTooltipster = !isset(G::$LoggedUser['Tooltipster']) || G::$LoggedUser['Tooltipster'];
if ($UseTooltipster) { ?>
}
if ($Mobile) { ?>
} else {
if (empty(G::$LoggedUser['StyleURL'])) {
?>
} else { ?>
}
if (!empty(G::$LoggedUser['UseOpenDyslexic'])) {
// load the OpenDyslexic font
?>
}
}
$ExtraCSS = explode(',', $CSSIncludes);
foreach ($ExtraCSS as $CSS) {
if (empty($CSS)) {
continue;
} ?>
}
?>
if ($UseTooltipster) { ?>
} ?>
$Scripts = explode(',', $JSIncludes);
foreach ($Scripts as $Script) {
if (empty($Script)) {
continue;
}
?>
}
if ($Mobile) { ?>
}
// Get notifications early to change menu items if needed
global $NotificationSpans;
$NotificationsManager = new NotificationsManager(G::$LoggedUser['ID']);
$Notifications = $NotificationsManager->get_notifications();
$UseNoty = $NotificationsManager->use_noty();
$NewSubscriptions = false;
$NotificationSpans = array();
foreach ($Notifications as $Type => $Notification) {
if ($Type === NotificationsManager::SUBSCRIPTIONS) {
$NewSubscriptions = true;
}
if ($UseNoty) {
$NotificationSpans[] = "$Notification[message]";
}
}
if ($UseNoty && !empty($NotificationSpans)) {
NotificationsManagerView::load_js();
}
if ($NotificationsManager->is_skipped(NotificationsManager::SUBSCRIPTIONS)) {
$NewSubscriptions = Subscriptions::has_new_subscriptions();
}
?>