"objednavka.txt" replaced for "objednavky.php" (SQL table "energie_objednavka")
authorshort <>
Fri, 17 Aug 2001 16:06:48 +0000 (16:06 +0000)
committershort <>
Fri, 17 Aug 2001 16:06:48 +0000 (16:06 +0000)
.cvsignore
objednavky.php [new file with mode: 0644]

index d78d97a..15bf459 100644 (file)
@@ -1,2 +1 @@
-objednavka.txt
 img
diff --git a/objednavky.php b/objednavky.php
new file mode 100644 (file)
index 0000000..019dfab
--- /dev/null
@@ -0,0 +1,16 @@
+<?php $cvs_id='$Id$';
+
+       include("common.php");
+
+       no_cache();
+       header("Content-type: text/plain; charset=iso-8859-2");
+
+       $result=db_query("select varsym,direct,contents from $tb_objednavka order by varsym");
+       while ($row=mysql_fetch_array($result)) {
+               if ($row["direct"])
+                       print("VarSym:\t".$row["varsym"]."\n");
+               print($row["contents"].str_repeat("-",78)."\n\n");
+               }
+       mysql_free_result($result);
+
+?>