$fullLangCode = strtolower($_GET["lang"]);
if (strlen($fullLangCode)>10) {
$fullLangCode = "en-us";
}
$language = substr($fullLangCode, 0, 2);
$country = strtolower($_GET["country"]);
if (strlen($fullLangCode)>3) {
$country = "US";
}
?>
if ($language == "ru") {
$file_content = file_get_contents('./privacy_files/PRIVACY_Squishies_'.strtoupper($language).'.txt', true);
} else if ($language == "it") {
$file_content = file_get_contents('./privacy_files/PRIVACY_Squishies_'.strtoupper($language).'.txt', true);
} else if ($language == "fr") {
$file_content = file_get_contents('./privacy_files/PRIVACY_Squishies_'.strtoupper($language).'.txt', true);
} else if ($language == "pt") {
$file_content = file_get_contents('./privacy_files/PRIVACY_Squishies_'.strtoupper($language).'.txt', true);
} else if ($language == "es") {
$file_content = file_get_contents('./privacy_files/PRIVACY_Squishies_'.strtoupper($language).'.txt', true);
} else if ($language == "de") {
$file_content = file_get_contents('./privacy_files/PRIVACY_Squishies_'.strtoupper($language).'.txt', true);
} else {
$file_content = file_get_contents('./privacy_files/PRIVACY_Squishies_EN.txt', true);
}
echo nl2br($file_content);
?>