$message .= ' .<br />You are now PIC of this MIMS. '; } $messagebox->add($message, 'green'); } } } $reloadlist = true; } elseif ($_POST['me_action'] == 'UPDATERELEVANCYSTARS') { $relevancy_stars = tep_db_prepare_input($_POST['rstars']); $improvement->updateRelevancyStars($relevancy_stars); echo utf8_encode($relevancy_stars); exit; } elseif ($_POST['me_action'] == 'SETSENSITIVE') { $is_sensitive = tep_db_prepare_input($_POST['isSensitive']); $sensitive_flag = $is_sensitive == 'true' ? 1 : 0; $improvement->updateSensitiveFlag($sensitive_flag); echo utf8_encode($sensitive_flag); exit; } if (isset($improvement)) { $improvement->comments->processPostAction($improvement->owner_id, $improvement->followers); $improvement->followers->processPostAction(); $improvement->attachments_kickoff->processPostAction(); $improvement->attachments->processPostAction(); $improvement->likes->processPostAction(); } } //initial data $title_add = ''; if ($is_createnew) { $id = 'New';