Fix html of the test page
This commit is contained in:
parent
4eddfb2d5a
commit
159cd14a5e
|
@ -1,49 +1,55 @@
|
|||
<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>
|
||||
<pre>
|
||||
<?php
|
||||
//header('Content-Type: text/plain; charset=utf-8');
|
||||
error_reporting(~0);
|
||||
ini_set('display_errors', 1);
|
||||
|
||||
$content = require __DIR__ . DIRECTORY_SEPARATOR . 'parse.php';
|
||||
?>
|
||||
</pre>
|
||||
<table border="1" style="text-align: center;">
|
||||
<thead>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<?php
|
||||
foreach ($content['halls'] as $hall_name) {
|
||||
?>
|
||||
<td><?php echo htmlspecialchars($hall_name); ?></td>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
foreach ($content['lines'] as $line) {
|
||||
echo $line, PHP_EOL;
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="separator"></div>
|
||||
<?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;
|
||||
}
|
||||
<?php
|
||||
error_reporting(~0);
|
||||
ini_set('display_errors', 1);
|
||||
|
||||
$lang = 'bg';
|
||||
?>
|
||||
<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>
|
||||
<pre>
|
||||
<?php
|
||||
$content = require __DIR__ . DIRECTORY_SEPARATOR . 'parse.php';
|
||||
?>
|
||||
</pre>
|
||||
<table border="1" style="text-align: center;">
|
||||
<thead>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<?php
|
||||
foreach ($content['halls'] as $hall_name) {
|
||||
?>
|
||||
<td><?php echo htmlspecialchars($hall_name[$lang]); ?></td>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
foreach ($content['lines'] as $line) {
|
||||
echo $line, PHP_EOL;
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="separator"></div>
|
||||
<?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>
|
||||
|
|
Loading…
Reference in New Issue