- // Shall we display the copyright notice?
- if ((empty($frame)) && (basename($_SERVER['PHP_SELF']) != "mailid_top.php") && (WRITE_FOOTER == true)) {
- LOAD_TEMPLATE("copyright");
- }
+// Footer disabled or already sent?
+// 1234 5 54 45 5 5 543 3 321
+if ((((!isset($GLOBALS['footer_sent'])) || (($GLOBALS['footer_sent'] != 1) && ($GLOBALS['footer_sent'] != 2))) && (getOutputMode() != 1))) {
+ // Run the filter, sweet huh?
+ runFilterChain('page_footer');