Projekt

Obecné

Profil

Stáhnout (1.3 KB) Statistiky
| Větev: | Tag: | Revize:
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

    
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> volume
24
      </strong></center></td>
25
    <td><center><strong> page
26
      </strong></center></td>
27
    <td><center><strong> dictionary text
28
      </strong></center></td>
29
  </tr>
30
</FONT>
31
<?  
32
	$polozky="volume, page, dicttext";
33
  $vysledek = Pg_Exec ($spojeni, "SELECT $polozky FROM cad ORDER BY page;");
34
  $pocet = Pg_NumRows ($vysledek);
35

    
36
  for ($i=0; $i < $pocet; $i++)
37
  {
38
    list ($volume, $page, $dicttext) = Pg_Fetch_Array ($vysledek, $i);
39
    echo ("<tr><center><td>&nbsp; <FONT FACE=\"Arial Unicode MS\" SIZE=3>$volume </FONT></td>".
40
          "<td>&nbsp; $page </td>".
41
          "<td>&nbsp; <FONT FACE=\"Arial Unicode MS\" SIZE=3>$dicttext </FONT></td>".
42
"</tr>\n");
43
  }
44
  Pg_FreeResult ($vysledek);
45
  Pg_Close ($spojeni);
46
?>
47

    
48
</table>
49
<br>
50
</BODY>
51
</HTML>
(4-4/31)