2015-10-19 02:04:49 +03:00
|
|
|
<?php
|
|
|
|
/* Template Name: Schedule */
|
|
|
|
get_header();
|
2015-10-22 13:22:45 +03:00
|
|
|
wp_nav_menu( array( 'theme_location' => 'footer-schedule', 'container_class' => 'content subnav cf' ) );
|
2015-10-19 21:14:48 +03:00
|
|
|
|
2016-10-24 16:22:25 +03:00
|
|
|
require("schedule-config.php");
|
2016-10-24 01:07:26 +03:00
|
|
|
|
2015-10-19 02:04:49 +03:00
|
|
|
?>
|
2015-10-19 12:04:20 +03:00
|
|
|
<section class="content grid">
|
2018-10-16 13:07:52 +03:00
|
|
|
<?php
|
|
|
|
// full schedule is not limited in only one column
|
|
|
|
if (!preg_match('/^full/', $pagename)) {
|
|
|
|
echo '<div class="col-left">';
|
|
|
|
}
|
|
|
|
?>
|
2015-10-20 19:22:05 +03:00
|
|
|
<h1><?php pll_e('Програма') ?></h1>
|
2015-10-19 12:04:20 +03:00
|
|
|
|
2019-10-31 22:33:41 +02:00
|
|
|
|
2016-07-05 14:47:12 +03:00
|
|
|
<?php
|
2016-10-24 01:07:26 +03:00
|
|
|
if (!empty($content)) {
|
2020-10-29 18:30:34 +02:00
|
|
|
echo '<p> <a href="https://cfp.openfest.org/api/conferences/'.$sched_config['conferenceId'].'/events.ics?locale='.$lang.'">iCalendar</a> or <a href="https://calendar.google.com/calendar?cid=b2s3bW9sOWpyczNjODVjbjRrZ3JpYmY5ODRAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ">Google calendar</a></p>';
|
2016-10-24 01:07:26 +03:00
|
|
|
echo $content['schedule'];
|
2015-10-19 02:04:49 +03:00
|
|
|
?>
|
2016-10-24 01:07:26 +03:00
|
|
|
|
|
|
|
|
|
|
|
<div class="separator"></div>
|
|
|
|
<table cellpadding="0" cellspacing="0" style="text-align: center;" class="schedule">
|
|
|
|
<tbody>
|
2015-10-19 02:04:49 +03:00
|
|
|
<?php
|
2016-10-24 01:07:26 +03:00
|
|
|
echo $content['legend'], PHP_EOL;
|
2015-10-19 02:04:49 +03:00
|
|
|
?>
|
2016-10-24 01:07:26 +03:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<div class="separator"></div>
|
2015-10-20 01:14:42 +03:00
|
|
|
<?php
|
2016-10-24 01:07:26 +03:00
|
|
|
echo $content['fulltalks'];
|
|
|
|
echo $content['gspk'];
|
|
|
|
echo $content['fspk'];
|
2018-09-11 17:08:39 +03:00
|
|
|
} else {
|
|
|
|
echo "TBA";
|
2016-10-24 01:07:26 +03:00
|
|
|
}
|
|
|
|
|
2015-10-20 01:14:42 +03:00
|
|
|
?>
|
2015-10-19 02:04:49 +03:00
|
|
|
<?php
|
2018-10-16 13:07:52 +03:00
|
|
|
if (!preg_match('/^full/', $pagename)) {
|
|
|
|
echo "</div>";
|
2016-10-24 01:07:26 +03:00
|
|
|
get_sidebar();
|
2018-10-16 13:07:52 +03:00
|
|
|
};
|
2015-10-19 02:04:49 +03:00
|
|
|
?>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<?php echo do_shortcode( '[transport]' ); ?>
|
|
|
|
|
|
|
|
<?php get_footer(); ?>
|