GetRowInfo($ItemID); $IS_Comment=(strtolower($_GET['mode'])=='comment'); ?> Гостевая книга Add($Pars); } elseif ( isset($_POST['Update']) ){ $Pars['visible'] = 1; if ($IS_Comment) { $Pars['text'] = $Row['text']; $Pars['comment']= $_POST['NewText']; } $Book->Update( $ItemID, $Pars); echo ''; } elseif ( isset($_POST['Delete']) ) $Book->RemoveArray( $_POST['todelete'] ); elseif ( isset($_POST['Approve']) ) { $Book->SetVisibleAll( false ); $Book->SetVisibleArray( $_POST['approved'], true ); } ?>
Разделы (Видимость):
Сообщениe от $_name ( $_mail )Комментарий:
$_text$_comment
Удалить
Разрешить'; $Book->PrintAllTemplate( $Template, true ); ?>

Имя:   
Адрес: value="Удалить отмеченные">
BasePath = '../lsk_engine/fckeditor/'; $oFCKeditor->Value = $IS_Comment?$Row['comment']:$Row['text']; $oFCKeditor->ToolbarSet = 'lskNewsToolbar'; $oFCKeditor->Width = '100%'; $oFCKeditor->Height = '200'; $oFCKeditor->Create(); $SubmitName=isset($_GET['item_id'])?'Update':'Add'; ?>