X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffooter.php;h=5e248a609b532bdbb83a79ea761e366808e12362;hb=27f65d023a3388a8bd85be8ee5991f776f541847;hp=c911ac5554168ef6dc078ceab51fe11e8f146037;hpb=f9cc6f432459393d1c3a220e5270705d341a350e;p=mailer.git diff --git a/inc/footer.php b/inc/footer.php index c911ac5554..5e248a609b 100644 --- a/inc/footer.php +++ b/inc/footer.php @@ -63,7 +63,7 @@ if (($footer != "1") && ($footer != "2") && ($CSS != "1")) { } // END - if // Shall we display the parsing time and number of queries? - if ((isset($_CONFIG['show_timings'])) && ($_CONFIG['show_timings'] == "Y") && (empty($_GET['frame'])) && ($header == "2")) { + if ((getConfig('show_timings') == "Y") && (empty($_GET['frame'])) && ($header == "2")) { // Then display it here DISPLAY_PARSING_TIME_FOOTER(); } // END - if @@ -73,27 +73,13 @@ if (($footer != "1") && ($footer != "2") && ($CSS != "1")) { // And the last closing HTML tag OUTPUT_HTML(""); +} // END - if - // Footer has been reached - $footer = 1; - - // Output HTML code - OUTPUT_HTML(""); - - if (is_resource($link)) { - // Close link - SQL_CLOSE($link, __FILE__, __LINE__); - } else { - // No database link - ADD_FATAL(NO_DB_LINK); - } -} elseif ($CSS == "1") { - // Footer has been reached - $footer = 1; +// Footer has been reached +$footer = 1; - // Output CSS content - OUTPUT_HTML(""); -} +// Output HTML code +OUTPUT_HTML(""); // ?>