model('Teamtable'); $app->view('template/header', ['title' => 'Lagtabell']); $app->view('teamtable/index', ["teams" => $model->getTable()]); $app->view('template/footer');