10 lines
252 B
PHP
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'); |