Projekt

Obecné

Profil

Stáhnout (1.82 KB) Statistiky
| Větev: | Tag: | Revize:
1
<html>
2
<head>
3
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
4
  <LINK REL=StyleSheet HREF="/utf/obtc1.css" TYPE="text/css" MEDIA="screen, print">
5
  <title>Selected items from used texts in the Old Babylonian Graphemic Analyses</title>
6
</head>
7
<body>
8
<FONT FACE='Verdana' Color="#9bbad6">
9
<h2><center>Selected text group in the Old Babylonian Graphemic Analyses</center></FONT></h2>
10
<h3><FONT color=#8080ff face=Verdana size=4>List of items according to previous selection</FONT></h3>
11
<?
12
$status = true;
13
  @$connection = Pg_Connect ("user=dbowner dbname=klinopis");
14
  if (!$connection)
15
	{
16
    echo "There are probably too many querries, please try again later!";
17
	}
18
  else
19
	{
20
  $pod1 = "(item like '$chain%')";
21
  if (@$result = @Pg_Exec (
22
                "SELECT oid, item, text1, text2, autor, datum FROM obdict 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 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 author</SMALL></FONT></TD></tr>";
29
			for ($i = 0; $i < $pocethesel; $i++)
30
				{
31
					List ($oid, $item, $text1, $text2, $autor, $datum) = Pg_Fetch_Row ($result, $i);
32
          echo "<tr><td>$item&nbsp;&nbsp;&nbsp;<td>$text1</td><td><small>$autor</small></td><td><small>$datum</small></td>
33
		      <td> <a href=\"/autor/obdict/obdictedit1.php?co=$oid\">edit</a></td></tr>";
34
				}
35
				echo "</table>";
36
			}
37
			else
38
				echo ("it looks like there is nothing!<br>");
39
		}
40
		else
41
			echo ("Wow, sorry, too many queries, maybe try again later<br>");
42
  Pg_Close($connection);
43
}
44
?>
45
<BR>
46
</FONT>
47
</body>
48
</html>
(62-62/135)