public function renderMyPosters() { $this->template->activePosters = $this->database->findByUser('poster', $this->user->id)->where('NOW() <= expire')->order('expire DESC'); $this->template->inactivePosters = $this->database->findByUser('poster', $this->user->id)->where('NOW() > expire')->order('expire DESC'); }