Heavily rewritten API:
[mailer.git] / inc / footer.php
index c911ac5554168ef6dc078ceab51fe11e8f146037..90f323b5c3c2fb2fb8c3b58ffe63df33f6b9d680 100644 (file)
@@ -73,27 +73,13 @@ if (($footer != "1") && ($footer != "2") && ($CSS != "1")) {
 
        // And the last closing HTML tag
        OUTPUT_HTML("</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("");
 
 //
 ?>