require_once "../../maincore.php"; require_once THEMES."templates/header.php"; // Check if locale file is available matching the current site locale setting. if (file_exists(INFUSIONS."news_map/locale/".$settings['locale'].".php")) { // Load the locale file matching the current site locale setting. include INFUSIONS."news_map/locale/".$settings['locale'].".php"; } else { // Load the infusion's default locale file. include INFUSIONS."news_map/locale/English.php"; } { opentable($locale['SM100'].": ".$settings['sitename']); } //news $result = dbquery("SELECT * FROM ".DB_NEWS." ORDER BY news_datestamp DESC"); $rows = dbrows($result); if ($rows!=0) { echo "
"; echo "".$locale['SM120'].""; echo "
";
while ($data = dbarray($result)) {
echo " ".$data['news_subject']."
";
}
echo "