2014-10-05 03:48:16 +03:00
|
|
|
<?php
|
2015-10-19 13:09:20 +03:00
|
|
|
/* Template Name: Speakers */
|
|
|
|
get_header();
|
2015-10-22 13:22:45 +03:00
|
|
|
wp_nav_menu( array( 'theme_location' => 'footer-schedule', 'container_class' => 'content subnav cf' ) );
|
|
|
|
|
2016-10-24 16:04:13 +03:00
|
|
|
$requirePath = __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARATOR;
|
|
|
|
require $requirePath . 'class.SmartCurl.php';
|
|
|
|
require $requirePath . 'config.php';
|
|
|
|
require $requirePath . 'load.php';
|
|
|
|
require $requirePath . 'parse.php';
|
|
|
|
$sched_config = getSchedConfig(date('Y'));
|
|
|
|
$data = loadData($sched_config);
|
|
|
|
|
|
|
|
$content = parseData($sched_config, $data);
|
|
|
|
|
2015-10-22 14:06:18 +03:00
|
|
|
|
2014-10-15 17:31:41 +03:00
|
|
|
?>
|
2014-10-05 03:48:16 +03:00
|
|
|
<section class="content grid">
|
2015-10-19 13:09:20 +03:00
|
|
|
<div class="col-left">
|
2015-10-20 19:22:05 +03:00
|
|
|
<h1><?php pll_e('Лектори') ?></h1>
|
2014-10-15 18:41:11 +03:00
|
|
|
|
2015-10-19 13:09:20 +03:00
|
|
|
<?php
|
2016-07-05 14:47:12 +03:00
|
|
|
if (!empty($content)) {
|
2016-10-24 16:04:13 +03:00
|
|
|
echo $content['gspk'];
|
2014-10-15 18:41:11 +03:00
|
|
|
?>
|
2015-10-19 13:09:20 +03:00
|
|
|
<div class="separator"></div>
|
2014-10-15 18:41:11 +03:00
|
|
|
<?php
|
2016-10-24 16:04:13 +03:00
|
|
|
echo $content['fspk'];
|
2016-07-05 14:47:12 +03:00
|
|
|
} else {
|
|
|
|
pll_e('TBA');
|
|
|
|
}
|
2015-10-19 13:09:20 +03:00
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
<?php get_sidebar(); ?>
|
2014-10-05 03:48:16 +03:00
|
|
|
</section>
|
|
|
|
|
2015-10-19 13:09:20 +03:00
|
|
|
<?php echo do_shortcode( '[transport]' ); ?>
|
|
|
|
|
2014-10-05 03:48:16 +03:00
|
|
|
<?php get_footer(); ?>
|