X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=0.2.1%2Finc%2Fheader.php;h=008032e4b5c371d0332b199c1078499844f07d8c;hp=d108192971383477dda5d9a32fd383057b1af01d;hb=7bc25dd08431c94ce9edca131d56c1a36b13c28a;hpb=157ee010917df5ca07e6d31b42f67417b2516d74 diff --git a/0.2.1/inc/header.php b/0.2.1/inc/header.php index d108192971..008032e4b5 100644 --- a/0.2.1/inc/header.php +++ b/0.2.1/inc/header.php @@ -1,130 +1,130 @@ -\n"); - $header = 1; - } - - // Set unsetted variables - if (empty($_GET['frame'])) $_GET['frame'] = ""; - - // Load body or not - if (((!frameset_active) && ($GLOBALS['module'] != "frametester")) || (($header == "1") && ($GLOBALS['module'] == "frametester") && (!empty($_GET['frame']))) && ($CSS != "1")) { - // Is the header sent and the script is not the mail confirmation script and not a CSS? - if (($header == "1") && (basename($_SERVER['PHP_SELF']) != "mailid.php") && ($CSS != "1")) { - // Add BODY tag - LOAD_TEMPLATE("page_body"); - $header = 2; - } - } -} else { - // Something is missing - die ("Fatal error: You have to define frameset_active!"); -} -// -?> +\n"); + $header = 1; + } + + // Set unsetted variables + if (empty($_GET['frame'])) $_GET['frame'] = ""; + + // Load body or not + if (((!frameset_active) && ($GLOBALS['module'] != "frametester")) || (($header == "1") && ($GLOBALS['module'] == "frametester") && (!empty($_GET['frame']))) && ($CSS != "1")) { + // Is the header sent and the script is not the mail confirmation script and not a CSS? + if (($header == "1") && (basename($_SERVER['PHP_SELF']) != "mailid.php") && ($CSS != "1")) { + // Add BODY tag + LOAD_TEMPLATE("page_body"); + $header = 2; + } + } +} else { + // Something is missing + die ("Fatal error: You have to define frameset_active!"); +} +// +?>