include("common.php");
$head_css="
-.tab-bold { font-weight: bold; }
-.tab-head { font-weight: bold; color: yellow; background-color: transparent; }
.post-type { font-family: monospace; }
.smaller { font-size: smaller }
.img-align { vertical-align:middle; }
<li><a href="title.php">V¹echny roèníky</a></li>
<?php
- $getdate=getdate();
- $year=$getdate["year"];
+ // Current year may be different (higher) but when no such content exists
+ // 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");
while (($row=mysql_fetch_array($result)))
?>
<li><a href="#objednavka">Objednávka</a></li>
- <li><a href="inzerce.php">Ceník inzerce</a></li>
+ <li><a href="inzerat.php<?php print($have_js); ?>">Øádková inzerce</a></li>
+ <li><a href="inzerce.php">Ceník plo¹né inzerce</a></li>
<li><a href="#kontakt">Kontakt</a></li>
</ul>