67 lines
1.4 KiB
PHP
67 lines
1.4 KiB
PHP
<?php
|
|
error_reporting(~0);
|
|
ini_set('display_errors', 1);
|
|
|
|
$requirePath = __DIR__ . DIRECTORY_SEPARATOR;
|
|
require $requirePath . 'class.SmartCurl.php';
|
|
require $requirePath . 'config.php';
|
|
require $requirePath . 'load.php';
|
|
require $requirePath . 'parse.php';
|
|
$sched_config = getSchedConfig();
|
|
$data = loadData($sched_config);
|
|
$content = parseData($sched_config, $data);
|
|
?>
|
|
<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
|
|
foreach ($data['halls'] as $hall_name) {
|
|
?>
|
|
<td><?php echo htmlspecialchars($hall_name[$sched_config['lang']]); ?></td>
|
|
<?php
|
|
}
|
|
?>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php
|
|
foreach ($content['lines'] as $line) {
|
|
echo $line, PHP_EOL;
|
|
}
|
|
?>
|
|
</tbody>
|
|
</table>
|
|
<div class="separator"></div>
|
|
<table border="1">
|
|
<tbody>
|
|
<?php
|
|
foreach ($content['legend'] as $line) {
|
|
echo $line, PHP_EOL;
|
|
}
|
|
?>
|
|
</tbody>
|
|
</table>
|
|
<?php
|
|
foreach ($content['fulltalks'] as $line) {
|
|
echo $line, PHP_EOL;
|
|
}
|
|
|
|
foreach ($content['gspk'] as $line) {
|
|
echo $line, PHP_EOL;
|
|
}
|
|
|
|
foreach ($content['fspk'] as $line) {
|
|
echo $line, PHP_EOL;
|
|
}
|
|
?>
|
|
</body>
|
|
</html>
|