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; }
";
- heading(true/*title*/);
+ heading();
?>
<ul>
<li><a href="obsah.php">Obsahy v¹ech roèníkù</a></li>
- <li><a href="title.php">V¹echny roèníky</a></li>
+ <li><a href="title.php">V¹echny roèníky</a><ul>
<?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)))
- print("\t<li><a href=\"title.php?year=".$row["year"]."\">Roèník ".$row["year"]."</a></li>\n");
+ print("\t\t<li><a href=\"title.php?year=".$row["year"]."\">Roèník ".$row["year"]."</a></li>\n");
mysql_free_result($result);
?>
- <li><a href="#objednavka">Objednávka</a></li>
- <li><a href="inzerce.php">Ceník inzerce</a></li>
+ </ul></li>
+ <li><a href="#objednavka">Objednávka èasopisu</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>
<p> </p>
+
+<h2>®havý èlánek èísla 7-8/2002</h2>
+<table border="0" width="100%"><tr><td align="center">
+<p style="font-size: larger;"><a href="clanek.php?year=2002&month=7&id=2"
+>Je Èesko vystaveno studené válce formou tunelování energetiky ?</a></p>
+</td></tr></table>
+
<?php
unset($unset_month);
?>
<p> </p>
-<h2><a id="objednavka">Objednávka</a></h2>
-<form action="objednavka.php<?php print($have_js); ?>" method="post">
+<h2><a id="objednavka">Objednávka èasopisu</a></h2>
+<form action="objednavka.php<?php print($have_js); ?>" method="post" <?php print(form_charset()); ?>>
<table border="0" width="100%">
<tr><td align="center"><table border="1" width="90%" cellpadding="5">
<tr><td align="center"><table border="0">
print(""
."<tr class=\"tab-bold\">".tab_left("phys_2002")
."<td>pøedplatné na rok 2002 za cenu ".tab_price("phys_2002")."</td></tr>\n"
- ."<tr class=\"tab-bold\">".tab_left("phys_2001")
- ."<td>pøedplatné na rok 2001 za zvýhodnìnou cenu ".tab_price("phys_2001")."</td></tr>\n"
- ."<tr>" .tab_left("phys_2000")
- ."<td>roèník 2000 za cenu " .tab_price("phys_2000")."</td></tr>\n"
);
foreach (price_a() as $product => $price) {
- if (!(ereg("^cd_([0-9]+)$",$product,$matched)))
+ if ($product=="phys_2002")
+ continue;
+ if (!(ereg("^(cd|phys)_([0-9]+)$",$product,$matched)))
continue;
- $year=$matched[1];
- print("<tr>".tab_left($product)."<td>roèník $year na CD za cenu ".tab_price($product)."</td></tr>\n");
+ $type=$matched[1];
+ $year=$matched[2];
+ print("<tr>".tab_left($product)."<td>roèník $year".($type!="cd" ? "" : " na CD")
+ ." za cenu ".tab_price($product)."</td></tr>\n");
}
print('<tr><td colspan="3" align="right" class="smaller">(ceny jsou uvedeny vè. DPH a distribuèních nákladù)</td></tr>'."\n");
</table></td></tr>
<tr><td align="center"><table border="0">
<tr><td align="center" class="tab-head">Jiné sdìlení redakci</td></tr>
- <tr><td align="center"><textarea name="comments" rows="5" cols="100"></textarea></td></tr>
+ <tr><td align="center"><textarea name="comments" rows="5" cols="60"></textarea></td></tr>
</table></td></tr>
<tr><td align="center"><input type="submit" value="Ode¹li závaznou objednávku" onclick="return(validate(this.form))" /></td></tr>
</table></td></tr>
<tr><td></td ><td class="tab-bold">182 00</td></tr>
<tr><td>IÈO:</td ><td class="tab-bold">26208393</td></tr>
<tr><td>DIÈ:</td ><td class="tab-bold">008-26208393</td></tr>
-<tr><td>Telefon:</td><td class="tab-bold">0603/410662</td></tr>
-<tr><td>Fax:</td ><td class="tab-bold">02/86582674</td></tr>
+<tr><td>Telefon:</td><td class="tab-bold">603 410 662</td></tr>
+<tr><td>Fax:</td ><td class="tab-bold">286 582 674</td></tr>
<tr><td>e-mail:</td ><td class="tab-bold"><a href="mailto:akra.cz@centrum.cz">akra.cz@centrum.cz</a></td></tr>
<tr><td colspan="2">Firma je zapsána do obchodního rejstøíku vedeného Mìstským soudem v Praze, oddíl C, vlo¾ka 79836</td></tr>
</table></blockquote>
<hr />
<table border="0" width="100%"><colgroup width="0*" />
<tr><td class="smaller">Doporuèujeme:</td><td align="center"><?php
- print("<a href=\"http://www.tzb-info.cz/\">".img("img/tzb-info.gif","TZB-info")."</a>");
+ print("<a href=\"http://www.tzb-info.cz/\">".img("img/tzb-info.".(image_supported("video/x-mng") ? "mng" : "gif"),
+ "TZB-info")."</a>");
?></td></tr>
</table>