auth = true; parent::__construct(); $this->context = Context::getContext(); } /** * @see FrontController::initContent() */ public function initContent() { parent::initContent(); $reviews = AdvSiteReview::getReviews(); if (!$reviews) { return false; } $this->context->smarty->assign('reviews', $reviews); $this->setTemplate('advsitereviewspage.tpl'); } }