1 |
6daefa8c
|
Petr Lukašík
|
<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 |
|
|
|
9 |
|
|
<h2><center><strong><u> List of OB cuneiform signs with readings</u></strong></center></h2>
|
10 |
|
|
<br>
|
11 |
|
|
<?
|
12 |
|
|
@$spojeni = Pg_Connect("user=dbowner dbname=klinopis");
|
13 |
|
|
if (! $spojeni)
|
14 |
|
|
{
|
15 |
|
|
echo ("<br>Nepodarilo se pripojit k datab?zi.<BR>\n");
|
16 |
|
|
exit;
|
17 |
|
|
}
|
18 |
|
|
?>
|
19 |
|
|
|
20 |
|
|
<FONT FACE='Arial Unicode MS' SIZE=3><BR>
|
21 |
|
|
<table border=1>
|
22 |
|
|
<tr>
|
23 |
|
|
<td><center><strong> sign name
|
24 |
|
|
</strong></center></td>
|
25 |
|
|
<td><center><strong> Borger's no.
|
26 |
|
|
</strong></center></td>
|
27 |
|
|
<td><center><strong> syllabic value
|
28 |
|
|
</strong></center></td>
|
29 |
|
|
<td><center><strong> logographic value
|
30 |
|
|
</strong></center></td>
|
31 |
|
|
</tr>
|
32 |
|
|
</FONT>
|
33 |
|
|
<?
|
34 |
|
|
$polozky="gnazev, bcislo01, scteni, lcteni, OID";
|
35 |
|
|
$vysledek = Pg_Exec ($spojeni, "SELECT $polozky FROM graf01 ORDER BY OID;");
|
36 |
|
|
$pocet = Pg_NumRows ($vysledek);
|
37 |
|
|
|
38 |
|
|
for ($i=0; $i < $pocet; $i++)
|
39 |
|
|
{
|
40 |
|
|
list ($gnazev, $bcislo01, $scteni, $lcteni, $OID) = Pg_Fetch_Array ($vysledek, $i);
|
41 |
|
|
echo ("<tr><center><td> <FONT FACE=\"Arial Unicode MS\" SIZE=3>$gnazev </FONT></td>".
|
42 |
|
|
"<td> $bcislo01 </td>".
|
43 |
|
|
"<td> <FONT FACE=\"Arial Unicode MS\" SIZE=3>$scteni </FONT></td>".
|
44 |
|
|
"<td> <FONT FACE=\"Arial Unicode MS\" SIZE=3>$lcteni </FONT></td>".
|
45 |
|
|
"</tr>\n");
|
46 |
|
|
}
|
47 |
|
|
Pg_FreeResult ($vysledek);
|
48 |
|
|
Pg_Close ($spojeni);
|
49 |
|
|
?>
|
50 |
|
|
|
51 |
|
|
</table>
|
52 |
|
|
<br>
|
53 |
|
|
</BODY>
|
54 |
|
|
</HTML>
|