php_flag magic_quotes_gpc off
php_flag magic_quotes_runtime off
AddType text/javascript .js
+AddType video/x-mng .mng
<FilesMatch "^(objednavky|inzeraty)\.php$">
AuthType Basic
AuthName energie.objednavky
function gsm_banking()
{
- return(img("img/sluzby_bankovni_pggsm.gif","Paegas GSM banking","class=\"img-align\""));
+ return(img("img/sluzby_bankovni_pggsm.".(image_supported("video/x-mng") ? "mng" : "gif"),
+ "Paegas GSM banking","class=\"img-align\""));
}
function price_a()
<li>
<table border="0">
-<tr><td><?php print("<a href=\"$base.pdf\">".img("img/adobe-pdficon-alpha.gif","Adobe PDF")."</a>"); ?></td>
+<tr><td><?php print("<a href=\"$base.pdf\">".img("img/adobe-pdficon-alpha.".(image_supported("image/png") ? "png" : "gif"),
+ "Adobe PDF")."</a>"); ?></td>
<td><?php print(data_href("$base.pdf","Dokument PDF")); ?></td>
</tr>
</table>
<blockquote>
<table border="0">
<tr><td><a href="http://www.adobe.com/products/acrobat/readstep.html"><?php
- print(img("img/adobe-getacro.gif","Get Adobe Acrobat Reader"));
+ print(img("img/adobe-getacro.".(image_supported("image/png") ? "png" : "gif"),"Get Adobe Acrobat Reader"));
?></a></td>
<td class="smaller">Soubor je ve formátu <span class="italic">Adobe Acrobat</span>,
pro jeho pøeètení si prosím nainstalujte
<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>