Projekt

Obecné

Profil

Stáhnout (1.65 KB) Statistiky
| Větev: | Tag: | Revize:
1
<html>
2
<head>
3
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
4
  <title>Selected items from used texts in the Old Babylonian Graphemic Analyses</title>
5
</head>
6
<body>
7
<FONT FACE='Arial Unicode MS' Color="#9bbad6">
8
<h2><center>Selected text group in the Old Babylonian Graphemic Analyses</center></FONT></h2>
9
<h3><FONT color=#8080ff face=Verdana size=4>List of items according to previous selection</FONT></h3>
10
<?
11
$status = true;
12
  @$connection = Pg_Connect ("user=dbowner dbname=klinopis");
13
  if (!$connection)
14
	{
15
    echo "There are probably too many querries, please try again later!";
16
	}
17
  else
18
	{
19
  if (@$result = @Pg_Exec (
20
                "SELECT item, text1, text2, autor, datum FROM abdict"))
21
	{
22
  if (($pocethesel = @Pg_NumRows ($result)) > 0)
23
	{
24
  echo "<FONT FACE='Arial Unicode MS' SIZE=3>$pocethesel item(s) found.\n<BR>";
25
  echo "<table border=0 bgcolor=\"#ecece6\" cellspacing=0 cellpadding=3>";
26
  echo "<tr><td><FONT color=#8080ff size=3><small>item</small></td><td><FONT color=#8080ff size=4><small>provisional dictionary definition</small></FONT></td><td><FONT color=#8080ff size=4><small>last autor</SMALL></FONT></TD></tr>";
27
			for ($i = 0; $i < $pocethesel; $i++)
28
				{
29
					List ($item, $text1, $text2, $autor, $datum) = Pg_Fetch_Row ($result, $i);
30
          echo "<tr><td><FONT FACE='Arial Unicode MS' SIZE=3>$item</FONT>&nbsp;&nbsp;&nbsp;<td>$text1</td><td><small>$autor</small></td><td><small>$datum</small></td></tr>";
31
				}
32
				echo "</table>";
33
			}
34
			else
35
				echo ("it looks like there is nothing!<br>");
36
		}
37
		else
38
			echo ("Wow, sorry, too many queries, maybe try again later<br>");
39
  Pg_Close($connection);
40
}
41
?>
42
<BR>
43
</FONT>
44
</body>
45
</html>
(91-91/135)