_template = 'game_demos.tpl'; } /* Display the index page. */ public function index() { $demos = GameDemosModel::getAllGroupsAndDemos(); global $Smarty; $this->addCSSFiles('chart.css'); return $this->renderPage( array( 'title' => $Smarty->_config[0]['vars']['demosTitle'], 'content_title' => $Smarty->_config[0]['vars']['demosContentTitle'], 'demos' => $demos, ), $this->_template ); } } ?>