setLanguageFile('frontend', 'language.global'); $error_message = null; $notice_message = null; $_lang = langTypes(); $_t = isset($_GET["t"]) ? $class_filter->clr_str($_GET["t"]) : false; if ($_t and is_array($_lang[$_t])) { $s = (isset($_GET["b"]) and (int) $_GET["b"] == 1) ? 'be_lang' : 'fe_lang'; $f = (isset($_GET["b"]) and (int) $_GET["b"] == 1) ? 'be_flag' : 'fe_flag'; $_SESSION[$s] = $_t; $_SESSION[$f] = $_lang[$_t]['lang_flag']; echo VGenerate::declareJS('$(document).ready(function(){window.location.reload();});'); }