public function expires() { $this->data['packages'] = Memberpackage::whereRaw("UNIX_TIMESTAMP(expiration) <= " . strtotime('NOW'))->orderBy('id', 'desc')->paginate(50); return $this->layout->content = View::make('packages_expires', $this->data); }