1
|
<HTML>
|
2
|
<HEAD>
|
3
|
<META content=text/html;charset=utf-8 http-equiv=Content-Type>
|
4
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
|
5
|
<TITLE>List of OB signs in the scope of OB Graphemic Analyses Project</TITLE>
|
6
|
</HEAD>
|
7
|
<BODY>
|
8
|
<h2><center><strong><u> test</u></strong></center></h2>
|
9
|
<br>
|
10
|
<?
|
11
|
@$spojeni = Pg_Connect("user=dbowner dbname=klinopis");
|
12
|
if (! $spojeni)
|
13
|
{
|
14
|
echo ("<br>Nepodarilo se pripojit k datab?zi.<BR>\n");
|
15
|
exit;
|
16
|
}
|
17
|
?>
|
18
|
<FONT FACE='Arial Unicode' SIZE=3><BR>
|
19
|
<table border=1>
|
20
|
<tr>
|
21
|
<td><center><strong> bcislo
|
22
|
</font></strong></center></td>
|
23
|
<td><center><strong> images
|
24
|
</font></strong></center></td>
|
25
|
</tr>
|
26
|
</FONT>
|
27
|
<?
|
28
|
$polozky="bcislo, images";
|
29
|
$vysledek = Pg_Exec ($spojeni, "SELECT $polozky FROM images ORDER BY bcislo");
|
30
|
$pocet = Pg_NumRows ($vysledek);
|
31
|
|
32
|
for ($i=0; $i < $pocet; $i++)
|
33
|
{
|
34
|
list ($bcislo, $images) = Pg_Fetch_Array ($vysledek, $i);
|
35
|
echo ("<tr><center><td> $bcislo </td>"."<td><img src=\"../png/$images\" WIDTH=45 HEIGHT=45 BORDER=0></td>"."</tr>\n");
|
36
|
}
|
37
|
Pg_FreeResult ($vysledek);
|
38
|
Pg_Close ($spojeni);
|
39
|
?>
|
40
|
|
41
|
</table>
|
42
|
<br>
|
43
|
</FONT>
|
44
|
</BODY>
|
45
|
</HTML>
|