$title = $FLTR->DirectProcessString($title); if (isset($editor) && $editor == "html") { $text = $FLTR->DirectProcessHTML($text); $PGR->SetPageText($pgrec, $text); $data = array(); $data["title"] = $title; } else { $text = $FLTR->DirectProcessText($text, $nb, $kt); $PGR->SetPageText($pgrec, $text); $data = array(); $data["title"] = $title; } $PGR->SetPageData($pgrec, $data); OUT("вроде сохранили"); } else { $data = $PGR->GetPageData($pgrec); ?> <form action="<?php OUT("?p={$p}&act={$act}&id={$id}&editor={$editor}&a={$a}&pgrec={$pgrec}"); ?> &mod=save" method=post id="EditForm" enctype="multipart/form-data"> Заголовок:<br> <input type=text name=title style="width:100%" value="<?php OUT($data["title"]); ?> "><br><br> <?php if (isset($editor) && $editor == "html") { ?> <table width=100% height="500px"><tr><td>