error_reporting(E_ALL);
setlocale(LC_ALL,"cs_CZ.iso-8859-2");
+ fixampvars();
include("config.php");
$have_style=!isset($mozilla_major) || $mozilla_major!=4;
$have_css=true; // doesn't hurt anybody AFAIK
+function fixampvars()
+{
+ $ars=array("HTTP_GET_VARS","HTTP_POST_VARS");
+ foreach ($ars as $ar) {
+ foreach ($GLOBALS[$ar] as $key=>$val) {
+ if (substr($key,0,4)!="amp;")
+ continue;
+ unset($GLOBALS[$ar][$key]);
+ $GLOBALS[$ar][substr($key,4)]=$val;
+ }
+ }
+}
+
function addpercents($url)
{
$r=$c="";