_template = 'pages/game_demos.tpl'; } /* Display the index page. */ public function index() { $demos = GameDemosModel::getAllGroupsAndDemos(); global $Smarty; return $this->renderPage( array( 'title' => $Smarty->getConfigVars('demosTitle'), 'content_title' => $Smarty->getConfigVars('demosContentTitle'), 'demos' => $demos, ), $this->_template ); } } ?>