Projekt

Obecné

Profil

Stáhnout (28.9 KB) Statistiky
| Větev: | Tag: | Revize:
1
<?php
2

    
3

    
4
/**
5
 * pro zpetnou konpatibilitu po pridani hebrejstiny
6
 */
7
function insert_keyboard($text_field, $extended = false) {
8
  global $language;
9

    
10
  ?>
11

    
12
<script type="text/javascript">
13

    
14

    
15
function insertAtCaret(obj, text) {
16
		 if(document.selection) { 
17
	        /* First of all, focus the object, we want to work with
18
			   If we do not do so, it is possible, that the selection
19
			   is not, where we expect it to be
20
			*/ 
21
			obj.focus(); 
22
			 
23
			/* Create a TextRange based on the document.selection
24
			   This TextRanged can be used to replace the selected
25
			   Text with the new one
26
			*/ 
27
			var range = document.selection.createRange(); 
28
			 
29
			/* If the range is not part of our Object (remember the
30
			   textarea or input field), stop processing here
31
			*/ 
32
			if(range.parentElement() != obj) { 
33
			    return false; 
34
			} 
35
			 
36
			/* Save the current value. We will need this value later
37
			   to find out, where the text has been changed
38
			*/ 
39
			var orig = obj.value.replace(/rn/g, "n"); 
40
			 
41
			/* Replace the Text */ 
42
			range.text = text; 
43
			 
44
			/* Now get the new content and save it into
45
			   a temporary variable
46
			*/ 
47
			var actual = tmp = obj.value.replace(/rn/g, "n"); 
48
			 
49
			/* Find the first occurance, where the original differs
50
			   from the actual content. This could be the startposition
51
			   of our text selection, but it has not to be. Think of the
52
			   selection "ab" and replacing it with "ac". The first
53
			   difference would be the "c", while the start position
54
			   is the "a"
55
			*/ 
56
			for(var diff = 0; diff < orig.length; diff++) { 
57
			    if(orig.charAt(diff) != actual.charAt(diff)) break; 
58
			} 
59
			 
60
			/* To get the real start position, we iterate through
61
			   the string searching for the whole replacement
62
			   text - "abc", as long as the first difference is not
63
			   reached. If you do not understand that logic - no
64
			   blame to you, just copy & paste it ;)
65
			*/ 
66
			for(var index = 0, start = 0; 
67
			    tmp.match(text) 
68
			        && (tmp = tmp.replace(text, "")) 
69
			        && index <= diff; 
70
			    index = start + text.length 
71
			) { 
72
			    start = actual.indexOf(text, index); 
73
			}  
74
	    } else if(obj.selectionStart || obj.selectionStart == "0") { 
75
	        /* Find the Start and End Position */ 
76
			var start = obj.selectionStart; 
77
			var end   = obj.selectionEnd; 
78
			 
79
			/* Remember obj is a textarea or input field */ 
80
			obj.value = obj.value.substr(0, start) 
81
			    + text 
82
			    + obj.value.substr(end, obj.value.length); 
83
	    } else { 
84
	       	alert('Nepodporovay prohlizec');
85
	    } 
86
	    
87
	    position = start + text.length;
88
	    
89
	    setCaretTo(obj, position);
90
	}
91
	
92
	function setCaretTo(obj, pos) { 
93
    if(obj.createTextRange) { 
94
        /* Create a TextRange, set the internal pointer to
95
           a specified position and show the cursor at this
96
           position
97
        */ 
98
        var range = obj.createTextRange(); 
99
        range.move("character", pos); 
100
        range.select(); 
101
    } else if(obj.selectionStart) { 
102
        /* Gecko is a little bit shorter on that. Simply
103
           focus the element and set the selection to a
104
           specified position
105
        */ 
106
        obj.focus(); 
107
        obj.setSelectionRange(pos, pos); 
108
    } 
109
} 
110

    
111
</script>
112
  
113
<script type="text/javascript">
114
  <!--
115
  var kam = "<?php echo $text_field ?>";
116

    
117
  function aktivujKlavesnici(param){
118
    kam = param;
119
  }
120
    
121
  function add(znak) {
122
  /*
123
    //alert(kam + "   " + znak);
124
    eval("document."+kam+".value = document."+kam+".value + znak");
125
    //document.getElementById(kam).value = document.getElementById(kam).value + znak;
126
    eval("document."+kam+".focus()");
127
    return false;
128
    */  
129
    obj = eval("document."+kam);
130
    
131
   // alert(obj);
132
    
133
    insertAtCaret(obj, znak);
134
    return false;
135
  }
136
  
137
  function putchar(znak) {
138
    add(znak);
139
    return false;
140
  }
141
  -->
142
</script>
143
<?php
144
  if (Empty($text_field)) {
145
    $text_field = "form1.text1";
146
    ?>
147
<form name="form1">
148
  <table align="center" cellpadding="0" cellspacing="0">
149
    <tbody>
150
      <tr>
151
        <td dir="rtl">
152
          <center>
153
          <!--input type="text" SIZE="62" name="text1" value=""-->
154
          <textarea
155
            style="font-size: 11pt; color: rgb(0, 0, 0); font-family: Tahoma; background-color: rgb(222, 227, 231);"
156
            name="text1"
157
            rows="5"
158
            wrap="PHYSICAL"
159
            cols="61">
160
          </textarea>
161
          </center>
162
        </td>
163
      </td>
164
    </tbody>
165
  </table>
166
</form>
167

    
168
<?php
169
  }
170

    
171
  //echo $language;
172
  if ($language == 2)
173
    insert_keyboard_he($text_field, !$extended);
174
  else if ($language == 3)
175
    insert_keyboard_ak($text_field);
176
  else
177
    insert_keyboard_ar($text_field, $extended);
178
}
179

    
180

    
181
/**
182
 * Staticka globalni promenna
183
 * slouzi jako pocitadlo klavesnic - pri vkladani vice klavesnic do
184
 * jednoho souboru.
185
 */
186
$pocet_klavesnic = 0;
187

    
188

    
189
function insert_keyboard_he($text_field, $notExtended) {
190
  //echo "hebrejska klavesnice";
191

    
192
  $cesta_k_obrazkum = "pict/";
193
  global $pocet_klavesnic;
194

    
195

    
196
?>
197

    
198
      <map name="keybd<?php echo $pocet_klavesnic; ?>" id="keybd<?php echo $pocet_klavesnic; ?>">
199

    
200

    
201
        <area shape="rect" coords="86,3,107,31" onclick="return add('&#1511;');" alt="&#1511;" />
202
        <area shape="rect" coords="114,3,139,31" onclick="return add('&#1512;');" alt="&#1512;" />
203
        <area shape="rect" coords="145,3,167,31" onclick="return add('&#1488;');" alt="&#1488;" />
204
        <area shape="rect" coords="174,3,196,31" onclick="return add('&#1496;');" alt="&#1496;" />
205
        <area shape="rect" coords="202,3,226,31" onclick="return add('&#1493;');" alt="&#1493;" />
206
        <area shape="rect" coords="232,3,256,31" onclick="return add('&#1503;');" alt="&#1503;" />
207
        <area shape="rect" coords="261,3,285,31" onclick="add('&#1501;');" alt="&#1501;" />
208
        <area shape="rect" coords="290,3,312,31" onclick="add('&#1508;');" alt="&#1508;" />
209
        <area shape="rect" coords="34,37,56,61" onclick="add('&#1513;');" alt="&#1513;" />
210
        <area shape="rect" coords="61,37,85,61" onclick="add('&#1491;');" alt="&#1491;" />
211
        <area shape="rect" coords="92,37,114,61" onclick="add('&#1490;');" alt="&#1490;" />
212
        <area shape="rect" coords="121,37,144,61" onclick="add('&#x05DB;');" alt="&#x05DB;" />
213
        <area shape="rect" coords="151,37,173,61" onclick="add('&#1506;');" alt="&#1506;" />
214
        <area shape="rect" coords="181,37,204,61" onclick="add('&#1497;');" alt="&#1497;" />
215
        <area shape="rect" coords="209,37,232,61" onclick="add('&#1495;');" alt="&#1495;" />
216
        <area shape="rect" coords="239,37,261,61" onclick="add('&#1500;');" alt="&#1500;" />
217
        <area shape="rect" coords="268,37,291,61" onclick="add('&#1498;');" alt="&#1498;" />
218
        <area shape="rect" coords="296,37,319,61" onclick="add('&#1507;');" alt="&#1507;" />
219
        <area shape="rect" coords="51,66,71,90" onclick="add('&#1494;');" alt="&#1494;" />
220
        <area shape="rect" coords="79,66,100,90" onclick="add('&#1505;');" alt="&#1505;" />
221
        <area shape="rect" coords="107,66,129,90" onclick="add('&#1489;');" alt="&#1489;" />
222
        <area shape="rect" coords="136,66,157,90" onclick="add('&#1492;');" alt="&#1492;" />
223
        <area shape="rect" coords="165,66,187,89" onclick="add('&#1504;');" alt="&#1504;" />
224
        <area shape="rect" coords="194,66,218,90" onclick="add('&#1502;');" alt="&#1502;" />
225
        <area shape="rect" coords="225,66,247,90" onclick="add('&#1510;');" alt="&#1510;" />
226
        <area shape="rect" coords="254,66,276,90" onclick="add('&#1514;');" alt="&#1514;" />
227
        <area shape="rect" coords="282,66,305,90" onclick="add('&#1509;');" alt="&#1509;" />
228

    
229
        
230
        <area shape="rect" coords="334,10,350,32" onclick="add('&#1463;');" alt="patah פתח" />
231
		<area shape="rect" coords="334,38,350,60" onclick="add('&#1471;');" alt="rafe רפה" />
232
		<area shape="rect" coords="332,66,350,90" onclick="add('&#1464;');" alt="qamaz קמץ" />
233
		<area shape="rect" coords="360,10,378,32" onclick="add('&#1465;');" alt="holam חולם" />
234
		<area shape="rect" coords="362,38,378,60" onclick="add('&#1468;');" alt="dagesh דגש" />
235
		<area shape="rect" coords="360,68,378,88" onclick="add('&#1460;');" alt="hiriq חיריק" />
236
		<area shape="rect" coords="390,10,406,32" onclick="add('&#1467;');" alt="qubuz קובוץ" />
237
		<area shape="rect" coords="388,38,406,60" onclick="add('&#1456;');" alt="shva שוא" />
238
		<area shape="rect" coords="388,66,406,88" onclick="add('&#1457;');" alt="hataf-segol חטף-סגול" />
239
		<area shape="rect" coords="416,10,434,32" onclick="add('&#1458;');" alt="hataf-patah חטף-פתח" />
240
		<area shape="rect" coords="416,38,434,60" onclick="add('&#1459;');" alt="hataf-qamaz חטף-קמץ" />
241
		<area shape="rect" coords="416,68,434,88" onclick="add('&#1461;');" alt="tsere צירה" />
242
		<area shape="rect" coords="444,8,462,32" onclick="add('&#1462;');" alt="segol סגול" />
243
		<area shape="rect" coords="444,38,462,60" onclick="add('„');" alt="open hebrew quote&#13;פתח מרכאות" />
244
		<area shape="rect" coords="444,66,464,88" onclick="add('”');" alt="close hebrew quote&#13;סגור מרכאות" />
245
		<area shape="rect" coords="472,8,490,32" onclick="add('&#1470;');" alt="maqaf מקףקו מפריד" />
246
		<area shape="rect" coords="472,38,490,60" onclick="add('&#1474;');" alt="sin ש שמאלית" />
247
		<area shape="rect" coords="472,66,490,90" onclick="add('&#1473;');" alt="shin ש ימנית" />
248
        
249
      </map>
250

    
251
      <img src="<?php echo $cesta_k_obrazkum?>our-hebrew-keyb.gif"
252
           usemap="#keybd<?php echo $pocet_klavesnic;?>"
253
           class="sokrajem"
254
           alt="hebrejská klávesnice" />
255
      
256
<?php
257
  if (!$notExtended) {
258
  	insert_keyboard_ak($text_field);
259
  }
260

    
261
  $GLOBALS["pocet_klavesnic"] += 1;
262
}
263

    
264

    
265
/**
266
 *  Funkce vlozi do stranky js/klavesnici pro psani tech klikihacku:)
267
 *
268
 *  @param $text_field "adresa" ciloveho vstupniho policka v libovolnem
269
 *                      formulari (vcetne toho formulare Pr: 'form1.text1' )
270
 */
271
function insert_keyboard_ar($text_field, $extended) {
272

    
273
  $cesta_k_obrazkum = "pict/";
274
  global $pocet_klavesnic;
275

    
276

    
277
?>
278

    
279
<table border="0" cellpadding="10" cellspacing="0" width="530">
280
  <tbody>
281
  <tr>
282
    <td class="bodyline">
283
      <p align="center">
284
      <img src="<?php echo $cesta_k_obrazkum?>key1.gif"
285
           usemap="#key_<?php echo $pocet_klavesnic;?>"
286
           border="0"
287
           height="156"
288
           width="450"
289
           alt="arabská klávesnice" /><br />
290
      <img src="<?php echo $cesta_k_obrazkum?>key2.gif"
291
           usemap="#key2_<?php echo $pocet_klavesnic;?>"
292
           border="0"
293
           height="43"
294
           width="354"
295
           alt="arabská klávesnice" /><br />
296
      <img src="<?php echo $cesta_k_obrazkum?>key3.gif"
297
           usemap="#key3_<?php echo $pocet_klavesnic;?>"
298
           border="0"
299
           height="43"
300
           width="354"
301
           alt="arabská klávesnice" />
302
      <img src="<?php echo $cesta_k_obrazkum?>key4.gif"
303
           usemap="#key4_<?php echo $pocet_klavesnic;?>"
304
           border="0"
305
           height="43"
306
           width="354"
307
           alt="arabská klávesnice" />
308
      </p>
309

    
310
      <map name="key_<?php echo $pocet_klavesnic;?>">
311
        <area onclick="add(' ');" shape="RECT" coords="119,123,292,146" alt=" " />
312
        <area onclick="add('&#x003E;');" shape="RECT" coords="7,5,32,29" alt="&#x003E;" />
313
        <area onclick="add('&#x0661;');" shape="RECT" coords="37,4,60,26" alt="1" />
314
        <area onclick="add('&#x0662;');" shape="RECT" coords="65,4,89,28" alt="2" />
315
        <area onclick="add('&#x0663;');" shape="RECT" coords="96,3,117,28" alt="3" />
316
        <area onclick="add('&#x0664;');" shape="RECT" coords="125,5,147,27" alt="4" />
317
        <area onclick="add('&#x0665;');" shape="RECT" coords="155,5,176,28" alt="5" />
318
        <area onclick="add('&#x0666;');" shape="RECT" coords="183,4,205,27" alt="6" />
319
        <area onclick="add('&#x0667;');" shape="RECT" coords="212,5,235,27" alt="7" />
320
        <area onclick="add('&#x0668;');" shape="RECT" coords="241,6,263,28" alt="8" />
321
        <area onclick="add('&#x0669;');" shape="RECT" coords="271,6,292,30" alt="9" />
322
        <area onclick="add('&#x0660;');" shape="RECT" coords="298,4,324,30" alt="0" />
323
        <area onclick="add('&#1592;');" shape="RECT" coords="334,92,361,118" alt="&#1592;" />
324
        <area onclick="add('&#1586;');" shape="RECT" coords="306,92,331,114" alt="&#1586;" />
325
        <area onclick="add('&#1608;');" shape="RECT" coords="276,93,300,115" alt="&#1608;" />
326
        <area onclick="add('&#1577;');" shape="RECT" coords="246,93,271,115" alt="&#1577;" />
327
        <area onclick="add('&#1609;');" shape="RECT" coords="219,91,245,115" alt="&#1609;" />
328
        <!--area onclick="add('&#1604;&#1575;');" shape="RECT" coords="190,91,214,115" alt="&#1604;&#1575;" /-->
329
        <area onclick="add('&#65276;');" shape="RECT" coords="190,91,214,115" alt="&#65276;" />
330
        <area onclick="add('&#1585;');" shape="RECT" coords="159,93,186,115" alt="&#1585;" />
331
        <area onclick="add('&#1572;');" shape="RECT" coords="130,95,153,118" alt="&#1572;" />
332
        <area onclick="add('&#1569;');" shape="RECT" coords="101,90,127,117" alt="&#1569;" />
333
        <area onclick="add('&#1574;');" shape="RECT" coords="74,92,96,115"  alt="&#1574;" />
334
        <area onclick="add('&#1591;');" shape="RECT" coords="351,61,376,88" alt="&#1591;" />
335
        <area onclick="add('&#1603;');" shape="RECT" coords="321,63,348,86" alt="&#1603;" />
336
        <area onclick="add('&#1605;');" shape="RECT" coords="293,64,315,87" alt="&#1605;" />
337
        <area onclick="add('&#1606;');" shape="RECT" coords="263,63,286,87" alt="&#1606;" />
338
        <area onclick="add('&#1578;');" shape="RECT" coords="234,62,258,85" alt="&#1578;" />
339
        <area onclick="add('&#1575;');" shape="RECT" coords="206,64,229,87" alt="&#1575;" />
340
        <area onclick="add('&#1604;');" shape="RECT" coords="178,64,200,87" alt="&#1604;" />
341
        <area onclick="add('&#1576;');" shape="RECT" coords="148,63,170,86" alt="&#1576;" />
342
        <area onclick="add('&#1610;');" shape="RECT" coords="118,64,142,89" alt="&#1610;" />
343
        <area onclick="add('&#1587;');" shape="RECT" coords="90,64,112,87"  alt="&#1587;" />
344
        <area onclick="add('&#1588;');" shape="RECT" coords="60,64,84,86"   alt="&#1588;" />
345
        <area onclick="add('&#1583;');" shape="RECT" coords="371,34,397,58" alt="&#1583;" />
346
        <area onclick="add('&#1580;');" shape="RECT" coords="343,35,368,59" alt="&#1580;" />
347
        <area onclick="add('&#1581;');" shape="RECT" coords="315,33,339,58" alt="&#1581;" />
348
        <area onclick="add('&#1582;');" shape="RECT" coords="285,35,310,60" alt="&#1582;" />
349
        <area onclick="add('&#1607;');" shape="RECT" coords="255,34,280,57" alt="&#1607;" />
350
        <area onclick="add('&#1593;');" shape="RECT" coords="229,34,251,57" alt="&#1593;" />
351
        <area onclick="add('&#1594;');" shape="RECT" coords="198,35,222,58" alt="&#1594;" />
352
        <area onclick="add('&#1601;');" shape="RECT" coords="169,34,193,57" alt="&#1601;" />
353
        <area onclick="add('&#1602;');" shape="RECT" coords="140,33,165,58" alt="&#1602;" />
354
        <area onclick="add('&#1579;');" shape="RECT" coords="110,35,134,57" alt="&#1579;" />
355
        <area onclick="add('&#1589;');" shape="RECT" coords="82,36,103,57"  alt="&#1589;" />
356
        <area onclick="add('&#1590;');" shape="RECT" coords="51,35,71,55"   alt="&#1590;" />
357
      </map>
358

    
359
      <map name="key2_<?php echo $pocet_klavesnic;?>">
360
        <area onclick="add('&#1563;');"        shape="RECT" coords="318,3,344,31" alt="&#1563;" />
361
        <area onclick="add('/');"              shape="RECT" coords="282,4,308,32" alt="/" />
362
        <area onclick="add('&#1548;');"        shape="RECT" coords="255,6,277,31" alt="&#1548;" />
363
        <area onclick="add('&#1600;');"        shape="RECT" coords="225,3,248,30" alt="&#1600;" />
364
        <area onclick="add('&#1571;');"        shape="RECT" coords="195,4,222,32" alt="&#1571;" />
365
        <area onclick="add('&#1604;&#1571;');" shape="RECT" coords="168,6,192,32" alt="&#1604;&#1571;" />
366
        <area onclick="add('&#1567;');"        shape="RECT" coords="129,5,158,34" alt="&#1567;" />
367
        <area onclick="add('.');"              shape="RECT" coords="102,6,127,32" alt="." />
368
        <area onclick="add(',');"              shape="RECT" coords="71,6,96,32"   alt="," />
369
        <area onclick="add('&#1570;');"        shape="RECT" coords="37,6,62,32"   alt="&#1570;" />
370
        <area onclick="add('&#1604;&#1570;');" shape="RECT" coords="8,6,31,30"    alt="&#1604;&#1570;" />
371
      </map>
372

    
373
      <map name="key3_<?php echo $pocet_klavesnic;?>">
374
        <area onclick="add('&#1612;');"  shape="RECT" coords="318,3,344,31" alt="&#1612;" />
375
        <area onclick="add('&#x064D;');" shape="RECT" coords="282,4,308,32" alt="&#x064D;" />
376
        <area onclick="add('&#x064B;');" shape="RECT" coords="255,6,277,31" alt="&#x064B;" />
377
        <area onclick="add('&#x0651;');" shape="RECT" coords="225,3,248,30" alt="&#x0651;" />
378
        <area onclick="add('&#1574;');"  shape="RECT" coords="195,4,222,32" alt="&#1574;" />
379
        <area onclick="add('&#1572;');"  shape="RECT" coords="168,6,192,32" alt="&#1572;" />
380
        <area onclick="add('&#1618;');"  shape="RECT" coords="129,5,158,34" alt="&#1618;" />
381
        <area onclick="add('&#1615;');"  shape="RECT" coords="102,6,127,32" alt="&#1615;" />
382
        <area onclick="add('&#1616;');"  shape="RECT" coords="71,6,96,32"   alt="&#1616;" />
383
        <area onclick="add('&#1614;');"  shape="RECT" coords="37,6,62,32"   alt="&#1614;" />
384
        <area onclick="add('&#1588;');"  shape="RECT" coords="8,6,31,30"    alt="&#1588;" />
385
      </map>
386

    
387
      <map name="key4_<?php echo $pocet_klavesnic;?>">
388
        <!--area onclick="add('&#1612;');" shape="RECT" coords="318,3,344,31" alt="" />
389
        <area onclick="add('&#x064D;');" shape="RECT" coords="282,4,308,32" alt="" />
390
        <area onclick="add('&#x064B;');" shape="RECT" coords="255,6,277,31" alt="" />
391
        <area onclick="add('&#x0651;');" shape="RECT" coords="225,3,248,30" alt="" />
392
        <area onclick="add('&#1574;');" shape="RECT" coords="195,4,222,32" alt="" /-->
393
        <area onclick="add('&#x060C;');" shape="RECT" coords="168,6,192,32" alt="&#x060C;" />
394
        <area onclick="add('&#xFEF7;');" shape="RECT" coords="129,5,158,34" alt="&#xFEF7;" />
395
        <area onclick="add('&#xFEF9;');" shape="RECT" coords="102,6,127,32" alt="&#xFEF9;" />
396
        <area onclick="add('&#xFEFB;');" shape="RECT" coords="71,6,96,32"   alt="&#xFEFB;" />
397
        <area onclick="add('&#x0671;');" shape="RECT" coords="37,6,62,32"   alt="&#x0671;" />
398
        <area onclick="add('&#x0625;');" shape="RECT" coords="8,6,31,30"    alt="&#x0625;" />
399
      </map>
400

    
401
    </td>
402
  </tr>
403
  </tbody>
404
</table>
405
<?php
406
  if ($extended) insert_keyboard_ak($text_field);
407
  $GLOBALS["pocet_klavesnic"] += 1;
408
}
409

    
410
function insert_keyboard_ak($text_field) {
411
  //echo "hebrejska klavesnice";
412

    
413
  $cesta_k_obrazkum = "pict/";
414
  global $pocet_klavesnic;
415

    
416

    
417
?>
418

    
419
<table  border="0" cellpadding="10" cellspacing="0">
420
  <tbody>
421
  <tr>
422
    <td class="bodyline">
423
      <p align="center">
424
      <table>
425
  <tr>
426
    <td>
427
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00E1;" onclick="add('&#x00E1;')" /></td>
428
    <td>
429
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00E9;" onclick="add('&#x00E9;')" /></td>
430
    <td>
431
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00ED;" onclick="add('&#x00ED;')" /></td>
432
    <td>
433
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00FA;" onclick="add('&#x00FA;')" /></td>
434
    <td>
435
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x1E25;" onclick="add('&#x1E25;')" /></td>
436
    <td>
437
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x015B;" onclick="add('&#x015B;')" /></td>
438
    <td>
439
      <input class="tlacitko1" style="height:25;width:25" type="button" value='&#x00C1;' onclick="add('&#x00C1;')" /></td>
440
    <td>
441
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00C9;" onclick="add('&#x00C9;')" /></td>
442
    <td>
443
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00CD;" onclick="add('&#x00CD;')" /></td>
444
    <td>
445
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00DA;" onclick="add('&#x00DA;')" /></td>
446
    <td>
447
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x1E24;" onclick="add('&#x1E24;')" />
448
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x015A;" onclick="add('&#x015A;')" /></td>
449
  </tr>
450
  <tr>
451
    <td>
452
      <input class="tlacitko1" style="height:25;width:25" type="button" value='&#x00E0;' onclick="add('&#x00E0;')" /></td>
453
    <td>
454
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00E8;" onclick="add('&#x00E8;')" /></td>
455
    <td>
456
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00EC;" onclick="add('&#x00EC;')" /></td>
457
    <td>
458
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00F9;" onclick="add('&#x00F9;')" /></td>
459
    <td>
460
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00F2;" onclick="add('&#x00F2;')" /></td>
461
    <td>
462
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x1E6F;" onclick="add('&#x1E6F;')" /></td>
463
    <td>
464
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00C0;" onclick="add('&#x00C0;')" /></td>
465
    <td>
466
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00C8;" onclick="add('&#x00C8;')" /></td>
467
    <td>
468
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00CC;" onclick="add('&#x00CC;')" /></td>
469
    <td>
470
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00D9;" onclick="add('&#x00D9;')" /></td>
471
    <td>
472
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00D2;" onclick="add('&#x00D2;')" /></td>
473
  </tr>
474
  <tr>
475
    <td>
476
      <input class="tlacitko1" style="height:25;width:25" type="button" value='&#x00E2;' onclick="add('&#x00E2;')" /></td>
477
    <td>
478
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00EA;" onclick="add('&#x00EA;')" /></td>
479
    <td>
480
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00EE;" onclick="add('&#x00EE;')" /></td>
481
    <td>
482
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00FB;" onclick="add('&#x00FB;')" /></td>
483
    <td>
484
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00F4;" onclick="add('&#x00F4;')" /></td>
485
    <td>
486
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x1E0F;" onclick="add('&#x1E0F;')" /></td>
487
    <td>
488
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00C2;" onclick="add('&#x00C2;')" /></td>
489
    <td>
490
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00CA;" onclick="add('&#x00CA;')" /></td>
491
    <td>
492
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00DB;" onclick="add('&#x00DB;')" /></td>
493
    <td>
494
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x00D4;" onclick="add('&#x00D4;')" /></td>
495
    <td>
496
      <input class="tlacitko2" style="height:25;width:15" type="button" value="&#x2308;" onclick="add('&#x2308;')" />
497
      <input class="tlacitko2" style="height:25;width:15" type="button" value="&#x2309;" onclick="add('&#x2309;')" /></td>
498
</tr>
499
<tr>
500
    <td>
501
      <input class="tlacitko1" style="height:25;width:25" type="button" value='&#x0101;' onclick="add('&#x0101;')" /></td>
502
    <td>
503
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x0113;" onclick="add('&#x0113;')" /></td>
504
    <td>
505
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x012B;" onclick="add('&#x012B;')" /></td>
506
    <td>
507
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x016B;" onclick="add('&#x016B;')" /></td>
508
    <td>
509
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x014D;" onclick="add('&#x014D;')" /></td>
510
    <td>
511
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x1E0D;" onclick="add('&#x1E0D;')" /></td>
512
    <td>
513
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x0100;" onclick="add('&#x0100;')" /></td>
514
    <td>
515
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x0112;" onclick="add('&#x0112;')" /></td>
516
    <td>
517
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x012A;" onclick="add('&#x012A;')" /></td>
518
    <td>
519
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x016A;" onclick="add('&#x016A;')" /></td>
520
    <td>
521
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x014C;" onclick="add('&#x014C;')" /></td>
522
  </tr>
523
  <tr>
524
    <td>
525
      <input class="tlacitko2" style="height:25;width:25" type="button" value="&#x02BE;" onclick="add('&#x02BE;')" /></td>
526
    <td>
527
      <input class="tlacitko2" style="height:25;width:25" type="button" value="&#x02BF;" onclick="add('&#x02BF;')" /></td>
528
    <td>
529
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x1E63;" onclick="add('&#x1E63;')" /></td>
530
    <td>
531
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x0161;" onclick="add('&#x0161;')" /></td>
532
    <td>
533
      <input class="tlacitko1" style="height:25;width:25" type="button" value="&#x1E6D;" onclick="add('&#x1E6D;')" /></td>
534
    <td>
535
      <input class="tlacitko2" style="height:30;width:25" type="button" value="&#x1E2B;" onclick="add('&#x1E2B;')" /></td>
536
    <td>
537
      <input class="tlacitko2" style="height:30;width:25" type="button" value="&#x1E62;" onclick="add('&#x1E62;')" /></td>
538
    <td>
539
      <input class="tlacitko2" style="height:30;width:25" type="button" value="&#x0160;" onclick="add('&#x0160;')" /></td>
540
    <td>
541
      <input class="tlacitko2" style="height:30;width:25" type="button" value="&#x1E6C;" onclick="add('&#x1E6C;')" /></td>
542
    <td>
543
      <input class="tlacitko2" style="height:30;width:25" type="button" value="&#x1E2A;" onclick="add('&#x1E2A;')" /></td>
544
    <td>
545
      <input class="tlacitko2" style="height:25;width:15" type="button" value="[" onclick="add('[')" />
546
      <input class="tlacitko2" style="height:25;width:15" type="button" value="]" onclick="add(']')" /></td>
547
  </tr>
548
  <tr>
549
    <td>
550
      <input class=tlacitko2 style="height:25;width:32" type="button" value="1" onclick="add('1')" /></td>
551
    <td>
552
      <input class=tlacitko2 style="height:25;width:32" type="button" value="2" onclick="add('2')" /></td>
553
    <td>
554
      <input class=tlacitko2 style="height:25;width:32" type="button" value="3" onclick="add('3')" /></td>
555
    <td>
556
      <input class=tlacitko2 style="height:25;width:32" type="button" value="4" onclick="add('4')" /></td>
557
    <td>
558
      <input class=tlacitko2 style="height:25;width:32" type="button" value="5" onclick="add('5')" /></td>
559
    <td>
560
      <input class=tlacitko2 style="height:25;width:32" type="button" value="6" onclick="add('6')" /></td>
561
    <td>
562
      <input class=tlacitko2 style="height:25;width:32" type="button" value="7" onclick="add('7')" /></td>
563
    <td>
564
      <input class=tlacitko2 style="height:25;width:32" type="button" value="8" onclick="add('8')" /></td>
565
    <td>
566
      <input class=tlacitko2 style="height:25;width:32" type="button" value="9" onclick="add('9')" /></td>
567
    <td>
568
      <input class=tlacitko2 style="height:25;width:32" type="button" value="0" onclick="add('0')" /></td>
569
    <td>
570
      <input class=tlacitko2 style="height:25;width:32" type="button" value="x" onclick="add('x')" /></td>
571
  </tr>
572
  
573
    <tr>
574
    <td>
575
      <input class=tlacitko2 style="height:25;width:32" type="button" value="ğ" onclick="add('ğ')" /></td>
576
    <td>
577
      <input class=tlacitko2 style="height:25;width:32" type="button" value="ẓ" onclick="add('ẓ')" /></td>
578
    <td>
579
      <input class=tlacitko2 style="height:25;width:32" type="button" value="ġ" onclick="add('ġ')" /></td>
580
    <td>
581
      <input class=tlacitko2 style="height:25;width:32" type="button" value="ֽ" onclick="add('ֽ')" title="meteq" /></td>
582
    <td>
583
      <input class=tlacitko2 style="height:25;width:32" type="button" value=" " onclick="add('')" /></td>
584
    <td>
585
      <input class=tlacitko2 style="height:25;width:32" type="button" value=" " onclick="add('')" /></td>
586
    <td>
587
      <input class=tlacitko2 style="height:25;width:32" type="button" value=" " onclick="add('')" /></td>
588
    <td>
589
      <input class=tlacitko2 style="height:25;width:32" type="button" value=" " onclick="add('')" /></td>
590
    <td>
591
      <input class=tlacitko2 style="height:25;width:32" type="button" value=" " onclick="add('')" /></td>
592
    <td>
593
      <input class=tlacitko2 style="height:25;width:32" type="button" value=" " onclick="add('')" /></td>
594
    <td>
595
      <input class=tlacitko2 style="height:25;width:32" type="button" value=" " onclick="add('')" /></td>
596
  </tr>
597
</table>
598
      </p>
599
    </td>
600
  </tr>
601
  </tbody>
602
</table>
603
<?php
604
  $GLOBALS["pocet_klavesnic"] += 1;
605
}
606
?>
(2-2/4)