notifications->take(15); $unreadnotifications = $user->unreadnotifications; $view->with('notifications',$notifications); $view->with('unreadnotifications',$unreadnotifications); } } ?>