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>Slovník katedry blízkovýchoních studií</title>
|
7 |
|
|
<link rel="stylesheet" type="text/css" href="css/ksa.css">
|
8 |
|
|
</head>
|
9 |
|
|
<body bgcolor=#B5B5B5 style="scrollbar-face-color:#3D4E5E;scrollbar-shadow-color:#3D4E5E;scrollbar-highlight-color:#FFFF99;scrollbar-3dlight-color:#3D4E5E;scrollbar-darkshadow-color:#FFFF99;scrollbar-track-color:#9A9A9A;scrollbar-arrow-color:#FFFF99">
|
10 |
|
|
<center>
|
11 |
|
|
<table>
|
12 |
|
|
<thead align="center">Skript přelož z </thead>
|
13 |
|
|
<tbody>
|
14 |
|
|
<tr>
|
15 |
|
|
<td class="akt">
|
16 |
|
|
<a href="?language=cz">»češtiny «</a>
|
17 |
|
|
<a href="?language=en">»angličtiny «</a>
|
18 |
|
|
<a href="?language=ar">»arabštiny «</a> </td>
|
19 |
|
|
</tr>
|
20 |
|
|
</tbody>
|
21 |
|
|
</table>
|
22 |
|
|
</center>
|
23 |
|
|
<?php
|
24 |
|
|
|
25 |
|
|
if (!Empty($action) && $action == "translate") {
|
26 |
|
|
require_once("./functions/dictionary.php");
|
27 |
|
|
print_translation($text1, $language);
|
28 |
|
|
}
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
switch ($language) {
|
33 |
|
|
case("en"):
|
34 |
|
|
$jazyk_slovne = "angličtině";
|
35 |
|
|
$klavesnice = false;
|
36 |
|
|
break;
|
37 |
|
|
case("ar"):
|
38 |
|
|
$jazyk_slovne = "arabštině";
|
39 |
|
|
$klavesnice = true;
|
40 |
|
|
break;
|
41 |
|
|
case("cz"):
|
42 |
|
|
default:
|
43 |
|
|
$language = "cz";
|
44 |
|
|
$jazyk_slovne = "češtině";
|
45 |
|
|
$klavesnice = false;
|
46 |
|
|
}
|
47 |
|
|
|
48 |
|
|
?>
|
49 |
|
|
<form name="translate_form" action="" method="POST">
|
50 |
|
|
<center>
|
51 |
|
|
<table>
|
52 |
|
|
<tbody>
|
53 |
|
|
<tr>
|
54 |
|
|
<td class="akt">
|
55 |
|
|
Zadej slovo v <?php echo $jazyk_slovne?>:
|
56 |
|
|
</td>
|
57 |
|
|
<td<?php if($klavesnice) echo' dir="rtl"';?>>
|
58 |
|
|
<input type="text" name="text1" size="50" />
|
59 |
|
|
</td>
|
60 |
|
|
<td>
|
61 |
|
|
<input type="submit" value="Přelož">
|
62 |
|
|
<input type="hidden" name="language" value="<?php echo $language?>">
|
63 |
|
|
<input type="hidden" name="action" value="translate">
|
64 |
|
|
</td>
|
65 |
|
|
</tr>
|
66 |
|
|
</tbody>
|
67 |
|
|
</table>
|
68 |
|
|
</center>
|
69 |
|
|
</form>
|
70 |
|
|
<?php
|
71 |
|
|
if($klavesnice) {
|
72 |
|
|
require("./functions/keyboard.php");
|
73 |
|
|
insert_keyboard("translate_form.text1");
|
74 |
|
|
}
|
75 |
|
|
?>
|
76 |
|
|
|
77 |
|
|
</body>
|
78 |
|
|
</html>
|