_template = 'pages/credits.tpl'; } /* Display the index page. */ public function index() { $credits = CreditsModel::getAllCredits(); global $Smarty; return $this->renderPage( array( 'title' => $Smarty->getConfigVars('creditsTitle'), 'content_title' => $Smarty->getConfigVars('creditsContentTitle'), 'credits' => $credits, ), $this->_template ); } } ?>