$allow_view = 0; } } else { $allow_view = 0; } } include $phpbb_root_path . 'portal/includes/functions_meeting.' . $phpEx; // -------------------------- // Delete meeting user fotoabum :-( // Удаление cсылки на фотоальбом // -------------------------- if ($mode == 'delete_album' || $delete_album == 1) { deletealbom_meet($id, $album_id); } if ($mode == 'delete_valbum' || $delete_valbum == 1) { deletevalbom_meet($id, $album_id); } // -------------------------- // Delete meeting user bloglink :-( // Удаление cсылки на Дневник // -------------------------- if ($mode == 'delete_blog' || $delete_blog == 1) { deleteblog_meet($id, $blog_id); } // -------------------------- // Otmena meeting :-( // Отмена Покатушки // -------------------------- $s_hidden_fields_otm = '<input type="hidden" name="id" value="' . $id . '">'; $s_hidden_fields_otm .= '<input type="hidden" name="otmena_meeting" value="1">'; $template->assign_vars(array('MESSAGE_TITLE' => $user->lang['Meeting_otmena'], 'MESSAGE_TEXT' => $user->lang['Confirm_otmena_meeting'], 'MESSAGE_TEXT_REASON' => $user->lang['otmena_reason'], 'L_OTMENIT' => $user->lang['otmenit'], 'S_CONFIRM_ACTION' => append_sid("pokat.{$phpEx}", "mode=otmena"), 'S_HIDDEN_FIELDS_OTM' => $s_hidden_fields_otm));
} // ---------------------------------- // END Get access status for this meeting // ---------------------------------- // -------------------------- // Delete meeting user fotoabum :-( // -------------------------- if ($mode == 'delete_album' || $delete_album == 1) { deletealbom_meet($id, $album_id); } // -------------------------- // Delete meeting user video :-( // -------------------------- if ($mode == 'delete_video' || $delete_video == 1) { //trigger_error($id.' + '. $video_id); deletevalbom_meet($id, $video_id); } // -------------------------- // Delete meeting user bloglink :-( // -------------------------- if ($mode == 'delete_blog' || $delete_blog == 1) { deleteblog_meet($id, $blog_id); } // -------------------------- // Otmena meeting :-( // -------------------------- if ($mode == 'otmena' || $mode == 'otmena_meeting' || $otmena_meeting == 1) { $meeting_reason = utf8_normalize_nfc(request_var('meeting_reason', '', true)); otmena_meet($id, $meeting_reason); include_once $phpbb_root_path . 'informer.' . $phpEx; create_informer($id, 'upd');