} } else { if ($limit_php_access) { // ofp - original full path :) $ofp = $_SESSION['arOFP'][$ofp_id]; $ofp = $io->CombinePath("/", $ofp); $abs_ofp = $io->CombinePath($DOC_ROOT, $ofp); $oFile = $io->GetFile($abs_ofp); $fileContentTmp = $oFile->GetContents(); $old_res = CFileman::ParseFileContent($fileContentTmp, true); $old_filesrc = $old_res["CONTENT"]; $filesrc = CMain::ProcessLPA($filesrc, $old_filesrc); } if (!$bFullPHP) { $res = CFileman::ParseFileContent($filesrc_tmp, true); $prolog = CFileman::SetTitle($res["PROLOG"], $title); for ($i = 0; $i <= $maxind; $i++) { if (strlen(Trim($_POST["CODE_" . $i])) > 0) { if ($_POST["CODE_" . $i] != $_POST["H_CODE_" . $i]) { $prolog = CFileman::SetProperty($prolog, Trim($_POST["H_CODE_" . $i]), ""); $prolog = CFileman::SetProperty($prolog, Trim($_POST["CODE_" . $i]), Trim($_POST["VALUE_" . $i])); } else { $prolog = CFileman::SetProperty($prolog, Trim($_POST["CODE_" . $i]), Trim($_POST["VALUE_" . $i])); } } else { $prolog = CFileman::SetProperty($prolog, Trim($_POST["H_CODE_" . $i]), ""); } } $epilog = $res["EPILOG"]; $filesrc_for_save = $prolog . $filesrc . $epilog; } else {