<form>s: +accept-charset="iso-8859-2"
[www.energie.vellum.cz.git] / index.php
index 8b044cc..67b7a8a 100644 (file)
--- a/index.php
+++ b/index.php
@@ -45,7 +45,7 @@
 <p>&nbsp;</p>
 
 <h2><a id="objednavka">Objednávka èasopisu</a></h2>
-<form action="objednavka.php<?php print($have_js); ?>" method="post">
+<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">
@@ -159,7 +159,8 @@ print_addr("Adresa pro zas
 <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>