update the look to last year's
This commit is contained in:
parent
6dc7e7f5ba
commit
fea3f414b1
|
@ -4,8 +4,11 @@ get_header();
|
||||||
$content = require __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARATOR . 'parse.php';
|
$content = require __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARATOR . 'parse.php';
|
||||||
//var_dump($data);
|
//var_dump($data);
|
||||||
?>
|
?>
|
||||||
<section class="content">
|
<section class="content grid">
|
||||||
|
<div class="col-left">
|
||||||
<h1>Програма</h1>
|
<h1>Програма</h1>
|
||||||
|
|
||||||
|
|
||||||
<table cellpadding="0" cellspacing="0" style="text-align: center;" class="schedule">
|
<table cellpadding="0" cellspacing="0" style="text-align: center;" class="schedule">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -32,21 +35,17 @@ $content = require __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARA
|
||||||
foreach ($content['fulltalks'] as $line) {
|
foreach ($content['fulltalks'] as $line) {
|
||||||
echo $line, PHP_EOL;
|
echo $line, PHP_EOL;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
foreach ($content['gspk'] as $line) {
|
foreach ($content['gspk'] as $line) {
|
||||||
echo $line, PHP_EOL;
|
echo $line, PHP_EOL;
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($content['fspk'] as $line) {
|
foreach ($content['fspk'] as $line) {
|
||||||
echo $line, PHP_EOL;
|
echo $line, PHP_EOL;
|
||||||
}
|
}*/
|
||||||
?>
|
?>
|
||||||
<div class="separator"></div>
|
|
||||||
<div class="col-right sponsors sponsors-frontpage">
|
|
||||||
<?php echo do_shortcode( '[sponsors]' ); ?>
|
|
||||||
<?php echo do_shortcode( '[partners]' ); ?>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="separator"></div>
|
<?php get_sidebar(); ?>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<?php echo do_shortcode( '[transport]' ); ?>
|
<?php echo do_shortcode( '[transport]' ); ?>
|
||||||
|
|
|
@ -92,7 +92,7 @@ foreach ($data['slots'] as $slot_id => $slot) {
|
||||||
$fulltalk_spkr = strlen($speakers)>1 ? ' (' . $speakers . ')' : '';
|
$fulltalk_spkr = strlen($speakers)>1 ? ' (' . $speakers . ')' : '';
|
||||||
$fulltalks[$eid] .= '<p><strong>' . $event['title'] . ' ' . $fulltalk_spkr . '</strong>';
|
$fulltalks[$eid] .= '<p><strong>' . $event['title'] . ' ' . $fulltalk_spkr . '</strong>';
|
||||||
$fulltalks[$eid] .= '<p>' . $event['abstract'] . '</p>';
|
$fulltalks[$eid] .= '<p>' . $event['abstract'] . '</p>';
|
||||||
$fulltalks[$eid] .= '<div class="separator"></div>';
|
$fulltalks[$eid] .= '<div class="separator"></div></section>';
|
||||||
|
|
||||||
if ($slot['event_id'] === $prev_event_id) {
|
if ($slot['event_id'] === $prev_event_id) {
|
||||||
array_pop($lines);
|
array_pop($lines);
|
||||||
|
@ -135,7 +135,7 @@ foreach ($data['speakers'] as $speaker) {
|
||||||
$fspk[] = '<div class="icons">';
|
$fspk[] = '<div class="icons">';
|
||||||
foreach ($types as $type => $parm) {
|
foreach ($types as $type => $parm) {
|
||||||
if (!empty($speaker[$type])) {
|
if (!empty($speaker[$type])) {
|
||||||
$fspk[] = '<a href="'. $parm['url'] . $speaker[$type] . '"><i class="' . $parm['class'] . '"></i></a>';
|
$fspk[] = '<a href="'. $parm['url'] . $speaker[$type] . '"><i class="' . $parm['class'] . '"></i></a></div>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$fspk[] = '<p>' . $speaker['biography'] . '</p>';
|
$fspk[] = '<p>' . $speaker['biography'] . '</p>';
|
||||||
|
|
Loading…
Reference in New Issue