Projekt

Obecné

Profil

Stáhnout (1.57 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 = "(documenttype='$type' OR ancientplace='$type2')";
20
  if (@$result = @Pg_Exec (
21
                "SELECT item1, refer1 FROM dictrefer"))
22
//WHERE ($pod1)"))
23
	{
24
  if (($pocethesel = @Pg_NumRows ($result)) > 0)
25
	{
26
  echo "<FONT FACE='Arial Unicode MS' SIZE=3>$pocethesel item(s) found.\n<BR>";
27
  echo "<table border=0 bgcolor=\"#ecece6\" cellspacing=0 cellpadding=3>";
28
  echo "<tr><td><FONT color=#8080ff face=Verdana size=3><small>item1</small></FONT></td><td><FONT color=#8080ff face=Verdana size=4><small>refer1</small></FONT></td></tr>";
29
			for ($i = 0; $i < $pocethesel; $i++)
30
				{
31
					List ($item1, $refer1) = Pg_Fetch_Row ($result, $i);
32
          echo "<tr><td><FONT FACE='Arial Unicode MS' SIZE=3>$item1</FONT></td><td><FONT FACE='Arial Unicode MS' SIZE=3>$refer1</FONT></td></tr>";
33
				}
34
				echo "</table>";
35
			}
36
			else
37
				echo ("pocet zaznamu je roven 0<br>");
38
		}
39
		else
40
			echo ("pri query nastala chyba<br>");
41
  Pg_Close($connection);
42
}
43
?>
44
<BR>
45
</FONT>
46
</body>
47
</html>
(13-13/135)