Prevent indexing of pages with multiple months of the content, any
[www.energie.vellum.cz.git] / objednavky.php
index 019dfab..46a3591 100644 (file)
@@ -3,9 +3,9 @@
        include("common.php");
 
        no_cache();
-       header("Content-type: text/plain; charset=iso-8859-2");
+       header("Content-type: text/plain");
 
-       $result=db_query("select varsym,direct,contents from $tb_objednavka order by varsym");
+       $result=db_query("select varsym,direct,contents from $tb_objednavka where contents is not null order by varsym");
        while ($row=mysql_fetch_array($result)) {
                if ($row["direct"])
                        print("VarSym:\t".$row["varsym"]."\n");