connect(DB_NAME, DB_HOST, DB_USER, DB_PASS); ////////////////////////// /* if(!validateSid($_GET["PHPSESSID"]) ) { //session is not ok exit; //HEADER("Location: /index.php?lang=".$lang); }*/ $tpl->loadTemplatefile("iframe_home.tpl", true, true); $tpl->setCurrentBlock("iframe_home"); $tpl->setVariable("SID", session_name()."=".$_GET["PHPSESSID"]); $tpl->setVariable("LANG", $lang); $tpl->parseCurrentBlock("iframe_home"); $contentHTML = $tpl->get(); $tpl->show(); exit; ?>