diff --git a/page-schedule.php b/page-schedule.php index d2be054..7fd5c57 100644 --- a/page-schedule.php +++ b/page-schedule.php @@ -4,8 +4,11 @@ get_header(); $content = require __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARATOR . 'parse.php'; //var_dump($data); ?> -
+
+

Програма

+ + @@ -32,21 +35,17 @@ $content = require __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARA foreach ($content['fulltalks'] as $line) { echo $line, PHP_EOL; } - +/* foreach ($content['gspk'] as $line) { echo $line, PHP_EOL; } foreach ($content['fspk'] as $line) { echo $line, PHP_EOL; - } + }*/ ?> -
-
- -
-
+ diff --git a/schedule/parse.php b/schedule/parse.php index 4ef5deb..1724e80 100644 --- a/schedule/parse.php +++ b/schedule/parse.php @@ -92,7 +92,7 @@ foreach ($data['slots'] as $slot_id => $slot) { $fulltalk_spkr = strlen($speakers)>1 ? ' (' . $speakers . ')' : ''; $fulltalks[$eid] .= '

' . $event['title'] . ' ' . $fulltalk_spkr . ''; $fulltalks[$eid] .= '

' . $event['abstract'] . '

'; - $fulltalks[$eid] .= '
'; + $fulltalks[$eid] .= '
'; if ($slot['event_id'] === $prev_event_id) { array_pop($lines); @@ -135,7 +135,7 @@ foreach ($data['speakers'] as $speaker) { $fspk[] = '
'; foreach ($types as $type => $parm) { if (!empty($speaker[$type])) { - $fspk[] = ''; + $fspk[] = '
'; } } $fspk[] = '

' . $speaker['biography'] . '

';