- if ((empty($frame)) && (!isset($_GET['frame'])) && (basename($_SERVER['PHP_SELF']) != "mailid_top.php") && (isBooleanConstantAndTrue('WRITE_FOOTER'))) {
- 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