switch ($f_action) { case 'blogs_delete': $f_blogs = Input::Get('f_blogs', 'array'); foreach ($f_blogs as $blog_id) { $Blog = new Blog($blog_id); $Blog->delete(); } break; case 'entries_delete': $f_entries = Input::Get('f_entries', 'array'); foreach ($f_entries as $entry_id) { $BlogEntry = new BlogEntry($entry_id); $BlogEntry->delete(); } break; case 'comments_delete': $f_comments = Input::Get('f_comments', 'array'); foreach ($f_comments as $comment_id) { $BlogComment = new BlogComment($comment_id); $BlogComment->delete(); } break; case 'blogs_set_online':