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' ) );
|
|
|
|
|
2015-10-22 17:19:51 +03:00
|
|
|
require("schedule-config.php");
|
2015-10-22 14:06:18 +03:00
|
|
|
|
2015-10-19 13:09:20 +03:00
|
|
|
$content = require __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARATOR . 'parse.php';
|
|
|
|
//var_dump($data);
|
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)) {
|
2015-10-19 13:09:20 +03:00
|
|
|
foreach ($content['gspk'] as $line) {
|
|
|
|
echo $line, PHP_EOL;
|
|
|
|
}
|
2014-10-05 03:48:16 +03:00
|
|
|
|
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
|
2015-10-19 13:09:20 +03:00
|
|
|
foreach ($content['fspk'] as $line) {
|
|
|
|
echo $line, PHP_EOL;
|
|
|
|
}
|
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(); ?>
|