2016-10-16 20:30:50 +03:00
|
|
|
<?php
|
|
|
|
error_reporting(~0);
|
|
|
|
ini_set('display_errors', 1);
|
|
|
|
|
2016-10-16 21:50:09 +03:00
|
|
|
$requirePath = __DIR__ . DIRECTORY_SEPARATOR;
|
|
|
|
require $requirePath . 'class.SmartCurl.php';
|
|
|
|
require $requirePath . 'config.php';
|
|
|
|
require $requirePath . 'load.php';
|
|
|
|
require $requirePath . 'parse.php';
|
2016-10-22 03:23:29 +03:00
|
|
|
$sched_config = getSchedConfig(date('Y'));
|
2016-10-16 21:50:09 +03:00
|
|
|
$data = loadData($sched_config);
|
2016-10-22 03:23:29 +03:00
|
|
|
//$sched_config['filterEventType'] = 'workshop';
|
2016-10-16 21:50:09 +03:00
|
|
|
$content = parseData($sched_config, $data);
|
2016-10-16 20:30:50 +03:00
|
|
|
?>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Test schedule</title>
|
|
|
|
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
|
|
|
|
<link rel="stylesheet" type="text/css" href="http://www.openfest.org/2014/wp-content/themes/initfest/style.css" />
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<table border="1" style="text-align: center;">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<td> </td>
|
|
|
|
<?php
|
2016-10-16 21:50:09 +03:00
|
|
|
foreach ($data['halls'] as $hall_name) {
|
2016-10-16 20:30:50 +03:00
|
|
|
?>
|
2016-10-16 21:50:09 +03:00
|
|
|
<td><?php echo htmlspecialchars($hall_name[$sched_config['lang']]); ?></td>
|
2016-10-16 20:30:50 +03:00
|
|
|
<?php
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<?php
|
|
|
|
foreach ($content['lines'] as $line) {
|
|
|
|
echo $line, PHP_EOL;
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<div class="separator"></div>
|
2016-10-16 21:01:19 +03:00
|
|
|
<table border="1">
|
|
|
|
<tbody>
|
|
|
|
<?php
|
2016-10-19 21:49:50 +03:00
|
|
|
echo $content['legend'], PHP_EOL;
|
2016-10-16 21:01:19 +03:00
|
|
|
?>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2016-10-16 20:30:50 +03:00
|
|
|
<?php
|
2016-10-19 21:49:50 +03:00
|
|
|
echo $content['fulltalks'];
|
|
|
|
echo $content['gspk'];
|
|
|
|
echo $content['fspk'];
|
2016-10-16 20:30:50 +03:00
|
|
|
?>
|
|
|
|
</body>
|
|
|
|
</html>
|