11 lines
328 B
PHP
11 lines
328 B
PHP
<?php $app = require '../../../../app/inc.php';
|
|
|
|
use App\Teamtable\TeamMapper;
|
|
|
|
$teamMapper = new TeamMapper($app->database->conn);
|
|
|
|
$teams = $teamMapper->getAll();
|
|
|
|
$app->view('template/header', ['title' => 'Endre lagtabell']);
|
|
$app->view('pages/race/configure/teams/index', ["teams" => $teams]);
|
|
$app->view('template/footer'); |