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>Whitelist for klinopis.cz</TITLE>
|
6
|
</HEAD>
|
7
|
<BODY>
|
8
|
|
9
|
<h2><center><strong><u> ukaz objednavky</u></strong></center></h2>
|
10
|
<br>
|
11
|
<?
|
12
|
@$spojeni = Pg_Connect("user=vviewer password=nothing dbname=vseved2");
|
13
|
if (! $spojeni)
|
14
|
{
|
15
|
echo ("<br>Nepodarilo se pripojit k datab?zi.<BR>\n");
|
16
|
exit;
|
17
|
}
|
18
|
?>
|
19
|
|
20
|
<table border=1>
|
21
|
<tr>
|
22
|
<td><center><strong> C.
|
23
|
</font></strong></center></td>
|
24
|
<td><center><strong> Item
|
25
|
</font></strong></center></td>
|
26
|
<td colspan="9"><center><strong> Obory
|
27
|
</font></strong></center></td>
|
28
|
<td><center><strong> Date
|
29
|
</font></strong></center></td>
|
30
|
<td><center><strong> Wap
|
31
|
</font></strong></center></td>
|
32
|
<td><center><strong> Web
|
33
|
</font></strong></center></td>
|
34
|
<td><center><strong> Tasks </font></strong></center></td>
|
35
|
</tr>
|
36
|
|
37
|
<?
|
38
|
$polozky="prijmeni, jmeno";
|
39
|
$vysledek = Pg_Exec ($spojeni, "SELECT $polozky FROM palmord ORDER BY prijmeni");
|
40
|
$pocet = Pg_NumRows ($vysledek);
|
41
|
|
42
|
for ($i=0; $i < $pocet; $i++)
|
43
|
{
|
44
|
list ($prijmeni, $jmeno) = Pg_Fetch_Array ($vysledek, $i);
|
45
|
}
|
46
|
Pg_FreeResult ($vysledek);
|
47
|
Pg_Close ($spojeni);
|
48
|
?>
|
49
|
|
50
|
</table>
|
51
|
|
52
|
<br>
|
53
|
|
54
|
|
55
|
</font>
|
56
|
</BODY>
|
57
|
</HTML>
|
58
|
|
59
|
|
60
|
|
61
|
|
62
|
|