function kboard_list() { if ($_GET['board_id']) { kboard_setting(); } else { $board = new KBoard(); $action = $_POST['action']; $action2 = $_POST['action2']; if (($action == 'remove' || $action2 == 'remove') && $_POST['board_id']) { foreach ($_POST['board_id'] as $key => $value) { $board->remove($value); } } $board->getList(); $meta = new KBoardMeta(); include_once 'pages/kboard_list.php'; } }