diff --git a/web/pages/tournaments/controller.php b/web/pages/tournaments/controller.php index 9492488..0639414 100644 --- a/web/pages/tournaments/controller.php +++ b/web/pages/tournaments/controller.php @@ -31,7 +31,7 @@ class Tournaments extends Page { } function index() { - + $this->set('template', 'tournaments.html'); } function manage() @@ -189,7 +189,7 @@ class Tournaments extends Page { return; } - //var_dump($_SESSION['user']->data['dogs']); + //var_dump($_SESSION['user']->data['tournaments']); if(!is_array($_SESSION['user']->data['tournaments']) || !in_array($tid, $_SESSION['user']->data['tournaments'])) // new t! { diff --git a/web/pages/tournaments/tournaments.html b/web/pages/tournaments/tournaments.html index 0ca4598..8ad7825 100644 --- a/web/pages/tournaments/tournaments.html +++ b/web/pages/tournaments/tournaments.html @@ -1,35 +1,17 @@ - -
- -
Hier kannst du alle Veranstaltungen einsehen.
+= escape($tournament['date']); ?>
+ + +