// RSS link in html-page: // <link rel="alternate" type="application/rss+xml" href="birthday_rss.php" title="RSS feed birthdays" > // Update by: Huub Mons. // Added multiple languages. session_start(); define("CMS_ROOTPATH", ""); include_once CMS_ROOTPATH . "include/db_login.php"; include_once CMS_ROOTPATH . "include/settings_global.php"; include_once CMS_ROOTPATH . "include/person_cls.php"; include_once CMS_ROOTPATH . "include/safe.php"; include_once CMS_ROOTPATH . "include/settings_user.php"; include_once CMS_ROOTPATH . "include/db_functions_cls.php"; $db_functions = new db_functions(); // *** Set timezone *** include_once CMS_ROOTPATH . "include/timezone.php"; timezone(); $today = date("d M Y"); $month_name = date("F"); $today_day = date("d"); $month_number = date("M"); $year = date("Y"); $newline = "\n"; /* header ("Content-Type: application/rss+xml; charset=UTF-8"); echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"; echo "<rss version=\"2.0\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:content=\"http://purl.org/rss/1.0/modules/content/\" xmlns:sy=\"http://purl.org/rss/1.0/modules/syndication/\">\n"; */ $language_rss = "en";
function used_timezone() { return timezone(); }