<span style="font-size: 1.5em;">Hey there, <b><?php echo $_SESSION['username']; ?> </b></span> <table class="userhome"> <tbody> <tr> <td style="width: 50%"> <div class="tile"> <h2>Recent Activity</h2> <?php $notifications = NotificationManager::getFromBLID($userObject->getBLID(), 0, 10); // TODO NotifcationManager::getFromUser(9789, 10); if ($notifications !== false) { foreach ($notifications as $noteId) { $noteObject = NotificationManager::getFromId($noteId); echo '<div style="background-color: #eee; border-radius: 15px; padding: 15px; margin: 5px;">'; echo $noteObject->toHTML(); echo '<br /><span style="font-size: 0.8em;">' . date("M jS Y, g:i A", strtotime($noteObject->getDate())) . '</span>'; echo '</div>'; } } ?> </div> </td> <td> <div class="tile"> <h2>My Content</h2> <div class="useraddon shadow-1" style="text-align:center; background-color: #ccffcc"> <img style="width: 1.2em;" src="http://blocklandglass.com/img/icons32/inbox_upload.png" alt="New"/> <a href="/addons/upload/upload.php">Upload New Add-On</a>