From fea3f414b1e68983ae33c5811e0d8e9056c5a4db Mon Sep 17 00:00:00 2001 From: Vasil Kolev Date: Mon, 19 Oct 2015 12:04:20 +0300 Subject: [PATCH] update the look to last year's --- page-schedule.php | 15 +++++++-------- schedule/parse.php | 4 ++-- 2 files changed, 9 insertions(+), 10 deletions(-) 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'] . '

';