X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=index.php;h=4465add69f6d77c25eea2c315daf7782ab503545;hb=88cc154b7931f010c1efbb886bc62195457e73ec;hp=c5d61bba3a51f7a4cfa158c0d1eee76520fc9d76;hpb=02bf4401ce72588bd375f5c6f85918ae8e9df457;p=www.energie.vellum.cz.git diff --git a/index.php b/index.php index c5d61bb..4465add 100644 --- a/index.php +++ b/index.php @@ -22,7 +22,7 @@ // yet, it is better to at least provide the last year. $year=db_item("select max(year) from $tb_obsah"); - $result=db_query("select distinct year from $tb_obsah order by year"); + $result=db_query("select distinct year from $tb_obsah order by year desc"); while (($row=mysql_fetch_array($result))) print("\t\t
  • Roèník ".$row["year"]."
  • \n"); mysql_free_result($result); @@ -65,11 +65,11 @@ function tab_price($product) $price_a=price_a(); print("" - ."".tab_left("phys_2002") - ."pøedplatné na rok 2002 za cenu ".tab_price("phys_2002")."\n" + ."".tab_left("phys_2007") + ."pøedplatné na rok 2007 za cenu ".tab_price("phys_2007")."\n" ); foreach (price_a() as $product => $price) { - if ($product=="phys_2002") + if ($product=="phys_2007") continue; if (!(ereg("^(cd|phys)_([0-9]+)$",$product,$matched))) continue; @@ -106,7 +106,7 @@ function print_addr($title,$pfx,$ico) - IÈO:" size="20" /> + IÈ:" size="20" /> DIÈ: " size="20" /> Adresa:K Ovèínu 44 Praha 8 - Kobylisy 182 00 -IÈO:26208393 -DIÈ:008-26208393 +IÈ:26208393 +DIÈ:CZ26208393 Telefon:603 410 662 Fax:286 582 674 e-mail:akra.cz@centrum.cz