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