} //notifications $show_notification = 1; $message = notifications(1); } if (isset($_GET['delid'])) { $id = mysql_real_escape_string($_GET['delid']); manage_flagged_comments($id, 'delete', $comments); //notifications $show_notification = 1; $message = notifications(1); } //Reset Flags if (isset($_POST['reset_flags']) && isset($_POST['list'])) { foreach ($_POST['list'] as $id) { manage_flagged_comments($id, 'reset_flags', $comments); } //notifications $show_notification = 1; $message = notifications(1); } //Display Results >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> //pagination first ///////////////// if ($show_t == 1) { //videocomments $pagination = pagination("SELECT * FROM videocomments WHERE flag_counter > 0 {$sort}", $limit); } if ($show_t == 2) { //audiocomments $pagination = pagination("SELECT * FROM audiocomments WHERE flag_counter > 0 {$sort}", $limit);
break; */ //group comments case 18: $usercheck = new LoadPermissions('', $contentid, 'group_comments'); $usercheck->CheckPermissions(); $usercheck->ActionsCheck('delete'); manage_flagged_comments($contentid, 'delete', 'group_comments'); break; //Video comments //Video comments case 19: $usercheck = new LoadPermissions('', $contentid, 'video_comments'); $usercheck->CheckPermissions(); $usercheck->ActionsCheck('delete'); manage_flagged_comments($contentid, 'delete', 'videocomments'); break; } //display notification if (@mysql_error()) { $show_notification = 1; $message = $config["error_26"]; //error } else { $show_notification = 1; $message = $config["error_25"]; //success } } //////////////////////////////// //display form with error message