Projekt

Obecné

Profil

Stáhnout (1.53 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='Verdana' 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
  $pod1 = "(item='$chain')";
20
  if (@$result = @Pg_Exec (
21
                "SELECT item, text1, text2, autor, datum FROM abdict WHERE ($pod1)"))
22
	{
23
  if (($pocethesel = @Pg_NumRows ($result)) > 0)
24
	{
25
  echo "<FONT FACE='Arial Unicode MS' SIZE=3>$pocethesel item(s) found.\n<BR>";
26
  echo "<table border=0 bgcolor=\"#ecece6\" cellspacing=0 cellpadding=3>";
27
  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></tr>";
28
			for ($i = 0; $i < $pocethesel; $i++)
29
				{
30
					List ($item, $text1, $text2, $autor, $datum) = Pg_Fetch_Row ($result, $i);
31
          echo "<tr><td>$item<td>$text1</td><td>$autor</td><td>$datum</td></tr>";
32
				}
33
				echo "</table>";
34
			}
35
			else
36
				echo ("it looks like there is nothing!<br>");
37
		}
38
		else
39
			echo ("Wow, sorry, too many queries, maybe try again later<br>");
40
  Pg_Close($connection);
41
}
42
?>
43
<BR>
44
</FONT>
45
</body>
46
</html>
(87-87/135)