mirror of
https://github.com/Lukas0025/YAGS.git
synced 2025-04-11 18:02:12 +01:00
15 lines
461 B
PHP
15 lines
461 B
PHP
<?php
|
|
$container = new \wsos\structs\container();
|
|
|
|
$templates = $container->get("templateLoader");
|
|
$context = $container->get("context");
|
|
$auth = $container->get("auth");
|
|
|
|
// to show this page user must be logined
|
|
$auth->requireLogin();
|
|
|
|
$context["observations"] = new \wsos\database\core\table(\DAL\observation::class);
|
|
|
|
$templates->load("observations.html");
|
|
$templates->render($context);
|
|
$templates->show(); |