diff --git a/homepage/participo/event.php b/homepage/participo/event.php new file mode 100644 index 0000000..c3bc23a --- /dev/null +++ b/homepage/participo/event.php @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + <?php echo($meta['title']); ?> + + + + + + + + +
+ + +
+ +
+ html(); ?> +
+ + + \ No newline at end of file diff --git a/homepage/participo/events.inc.php b/homepage/participo/events.inc.php index be40f9e..bdc09fe 100644 --- a/homepage/participo/events.inc.php +++ b/homepage/participo/events.inc.php @@ -1,33 +1,32 @@ "Event Planer", - 'description' => "Planung von (Nicht-)Teilnahmen an Wettkämpfen und anderen Veranstaltungen" - ); -?> \ No newline at end of file +$meta = [ + 'title' => 'Event Planer', + 'description' => 'Planung von (Nicht-)Teilnahmen an Wettkämpfen und anderen Veranstaltungen' +]; diff --git a/homepage/participo/events.sidenav.inc.php b/homepage/participo/events.sidenav.inc.php index d5a5fa7..0bfb8f9 100644 --- a/homepage/participo/events.sidenav.inc.php +++ b/homepage/participo/events.sidenav.inc.php @@ -2,16 +2,14 @@
'; } + public function getHtmlEventDetails() + { + $html .= '
'; + $html .= '
Datum
' . $this->event()->htmlDate() . '
'; + $html .= '
Deadline zum Einschreiben:
' . $this->event()->htmlDeadline() . '
'; + $html .= '
'; + $html .= $this->event()->shiai()->getHtml(); + $html .= $this->event()->getHtmlStarterStatistic(); + $html .= $this->event()->getHtmlStarterList(); + } + public function htmlTableRow() { $shiai = $this->shiai(); return '' . - '' . $this->date->format('Y-m-d') . '' . + '' . $this->htmlDate() . '' . '
' . $shiai->getHtmlName() . '' . '' . $shiai->getHtmlDescriptiveAgeClasses() . '' . 'zoom_in' . @@ -146,10 +189,13 @@ class Event '