Fix html of the test page

This commit is contained in:
Vencislav Atanasov 2016-10-16 20:30:50 +03:00
parent 4eddfb2d5a
commit 159cd14a5e
1 changed files with 55 additions and 49 deletions

View File

@ -1,49 +1,55 @@
<html> <?php
<head> error_reporting(~0);
<title>Test schedule</title> ini_set('display_errors', 1);
<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" /> $lang = 'bg';
</head> ?>
<pre> <html>
<?php <head>
//header('Content-Type: text/plain; charset=utf-8'); <title>Test schedule</title>
error_reporting(~0); <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
ini_set('display_errors', 1); <link rel="stylesheet" type="text/css" href="http://www.openfest.org/2014/wp-content/themes/initfest/style.css" />
</head>
$content = require __DIR__ . DIRECTORY_SEPARATOR . 'parse.php'; <body>
?> <pre>
</pre> <?php
<table border="1" style="text-align: center;"> $content = require __DIR__ . DIRECTORY_SEPARATOR . 'parse.php';
<thead> ?>
<tr> </pre>
<td>&nbsp;</td> <table border="1" style="text-align: center;">
<?php <thead>
foreach ($content['halls'] as $hall_name) { <tr>
?> <td>&nbsp;</td>
<td><?php echo htmlspecialchars($hall_name); ?></td> <?php
<?php foreach ($content['halls'] as $hall_name) {
} ?>
?> <td><?php echo htmlspecialchars($hall_name[$lang]); ?></td>
</tr> <?php
</thead> }
<tbody> ?>
<?php </tr>
foreach ($content['lines'] as $line) { </thead>
echo $line, PHP_EOL; <tbody>
} <?php
?> foreach ($content['lines'] as $line) {
</tbody> echo $line, PHP_EOL;
</table> }
<div class="separator"></div> ?>
<?php </tbody>
foreach ($content['fulltalks'] as $line) { </table>
echo $line, PHP_EOL; <div class="separator"></div>
} <?php
foreach ($content['fulltalks'] as $line) {
foreach ($content['gspk'] as $line) { echo $line, PHP_EOL;
echo $line, PHP_EOL; }
}
foreach ($content['gspk'] as $line) {
foreach ($content['fspk'] as $line) { echo $line, PHP_EOL;
echo $line, PHP_EOL; }
}
foreach ($content['fspk'] as $line) {
echo $line, PHP_EOL;
}
?>
</body>
</html>