username(); $user = new User($username); $name = ''; if ($user->nickname()) { $name = $user->nickname(); } elseif ($user->firstName()) { $name = $user->firstName(); } ?> g('welcome') ?>

  • p('Notifications') ?>

  • db, 0, NOTIFICATIONS_AMOUNT); foreach ($logs as $log) { $phrase = $L->g($log['dictionaryKey']); echo '
  • '; echo $phrase; if (!empty($log['notes'])) { echo ' « ' . $log['notes'] . ' »'; } echo '
    '; echo Date::format($log['date'], DB_DATE_FORMAT, NOTIFICATIONS_DATE_FORMAT); echo ' [ ' . $log['username'] . ' ]'; echo ''; echo '
  • '; } ?>