function tng_footer($flags) { global $customfooter, $cms, $tngprint, $map, $text, $dbowner, $tngdomain, $sitename; // === Matomo tracking: always included === echo << HTML; // === Rest of TNG footer logic === $needtherest = true; if ($tngprint) { $printfooter = $sitename; if ($dbowner) { if ($printfooter) $printfooter .= " - "; $suggest_url = getURL("suggest", 1); $printfooter .= $text['maintby'] . " $dbowner"; } echo "
$printfooter
\n$tngdomain