1 |
6daefa8c
|
Petr Lukašík
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
2 |
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs">
|
3 |
|
|
<head>
|
4 |
|
|
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
|
5 |
|
|
<meta http-equiv="Content-Language" content="cs" />
|
6 |
|
|
<title></title>
|
7 |
|
|
</head>
|
8 |
|
|
<body>
|
9 |
|
|
<?php
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
echo"<table border=\"1\">
|
13 |
|
|
";
|
14 |
|
|
$radky = file('slovnik.utx');
|
15 |
|
|
for($i=0;$i<Count($radky);$i++) {
|
16 |
|
|
echo("<tr>\n
|
17 |
|
|
");
|
18 |
|
|
$radek = explode(';', $radky[$i]);
|
19 |
|
|
|
20 |
|
|
for($j=0;$j<Count($radek);$j++) {
|
21 |
|
|
echo"<td>";
|
22 |
|
|
echo"$radek[$j]";
|
23 |
|
|
echo"</td>\n";
|
24 |
|
|
}
|
25 |
|
|
|
26 |
|
|
echo("</tr> \n
|
27 |
|
|
");
|
28 |
|
|
}
|
29 |
|
|
|
30 |
|
|
echo('</table>
|
31 |
|
|
');
|
32 |
|
|
|
33 |
|
|
?>
|
34 |
|
|
</body>
|
35 |
|
|
</html>
|