diff --git a/page-speakers.php b/page-speakers.php index 8640a90..59cb7ac 100644 --- a/page-speakers.php +++ b/page-speakers.php @@ -3,10 +3,17 @@ get_header(); wp_nav_menu( array( 'theme_location' => 'footer-schedule', 'container_class' => 'content subnav cf' ) ); -require("schedule-config.php"); +$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); + -$content = require __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARATOR . 'parse.php'; -//var_dump($data); ?>
@@ -14,16 +21,11 @@ $content = require __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARA