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_contact.tpl", true, true); $tpl->setCurrentBlock("iframe_contact"); $tpl->setVariable("SID", session_name()."=".$_GET["PHPSESSID"]); $tpl->setVariable("LANG", $lang); $tpl->touchBlock("iframe_contact"); $contentHTML = $tpl->get(); $tpl->show(); exit; ?>