- if ((empty($frame)) && (basename($_SERVER['PHP_SELF']) != "mailid_top.php") && (WRITE_FOOTER == true))
- {
- LOAD_TEMPLATE("copyright");
- }
+ if ((!REQUEST_ISSET_GET(('frame'))) && (basename($_SERVER['PHP_SELF']) != "mailid_top.php") && (isBooleanConstantAndTrue('WRITE_FOOTER')) && ($GLOBALS['header_sent'] == "2")) {
+ // Backlink enabled?
+ if (isBooleanConstantAndTrue('ENABLE_BACKLINK')) {
+ // Copyright with backlink, thanks! :-)
+ LOAD_TEMPLATE("copyright_backlink");
+ } else {
+ // No backlink in Copyright note
+ LOAD_TEMPLATE("copyright");
+ }
+ } // END - if
+
+ // Shall we display the parsing time and number of queries?
+ if ((getConfig('show_timings') == "Y") && (!REQUEST_ISSET_GET(('frame'))) && ($GLOBALS['header_sent'] == "2")) {
+ // Then display it here
+ DISPLAY_PARSING_TIME_FOOTER();
+ } // END - if