if ($mw_basic['cf_read_level'] && $wr_read_level > 1) { return; } if ($mw_basic['cf_read_level'] && $write['wr_read_level'] > 1) { return; } // 비밀글 제외 if ($secret) { return; } if (strstr($write['wr_option'], $secret)) { return; } // 컨텐츠샵 내용보기 결제 제외 if ($mw_basic['cf_contents_shop'] == '2' and $wr_contents_price) { return; } if ($mw_basic['cf_contents_shop'] == '2' and $write['wr_contents_price']) { return; } include $mw_syndi_path . '/_config.php'; include_once $mw_syndi_path . '/_lib.php'; if (!$wr_content) { $wr_content = $write['wr_content']; } if ($mw_syndi['comment'] && $comment_id) { mw_syndi_set_feed($bo_table, $comment_id, $wr_content, $w); } else { mw_syndi_set_feed($bo_table, $wr_id, $wr_content, $w); } // 원글
$all_board_sql = "select * from {$g4['board_table']} "; $all_board_qry = sql_query($all_board_sql); while ($all_board_row = sql_fetch_array($all_board_qry)) { if ($is_ip) { $all_write_sql = "select * from {$g4['write_prefix']}{$all_board_row['bo_table']} where mb_id = '' and wr_ip = '{$mb_id}' order by wr_num"; } else { $all_write_sql = "select * from {$g4['write_prefix']}{$all_board_row['bo_table']} where mb_id = '{$mb_id}' order by wr_num"; } $all_write_qry = sql_query($all_write_sql); while ($all_write_row = sql_fetch_array($all_write_qry)) { if ($is_all_delete or $all_write_row[wr_is_comment]) { mw_delete_row($all_board_row, $all_write_row, "no"); } elseif ($is_all_move) { if ($all_board_row['bo_table'] == $move_table) { continue; } mw_move($all_board_row, $all_write_row[wr_id], $move_table, 'move'); } if ($intercept_ip and !strstr($config[cf_intercept_ip], $all_write_row[wr_ip])) { $config[cf_intercept_ip] = trim($config[cf_intercept_ip]) . "\n{$all_write_row['wr_ip']}"; sql_query("update {$g4['config_table']} set cf_intercept_ip = '{$config['cf_intercept_ip']}'"); } if (function_exists('mw_syndi_set_feed')) { mw_syndi_set_feed($all_board_row['bo_table'], $all_write_row['wr_id'], '', 'd'); } } // write row } // board row } alert_close("{$name} 회원을 접근차단하였습니다.");