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