This repository has been archived on 2023-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
web/public/teamtable/index.php
2022-03-07 07:13:17 +01:00

10 lines
252 B
PHP

<?php
$app = require '../../app/inc.php';
$model = $app->model('Teamtable');
$teams = $model->getAll();
$app->view('template/header', ['title' => 'Lagtabell']);
$app->view('pages/teamtable/index', ["teams" => $teams]);
$app->view('template/footer');