* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ if (!defined("_GNUBOARD_")) { exit; } // 개별 페이지 접근 불가 mw_bomb(); mw_basic_move_cate($bo_table, $wr_id); $mb = get_member($view[mb_id], 'mb_level'); // is_notice 그누보드 버그 보완 if (!is_g5()) { $view[is_notice] = preg_match("/(^|[\r\n]){$wr_id}(\$|[\r\n])/", $board[bo_notice]); } // 별점평가 $rate = mw_rate($bo_table, $wr_id); $rate_count = $rate['cnt']; $write['wr_rate'] = $rate['rate']; $move_flag = false; // 자동이동 if (!$view[is_notice] and !$write[wr_auto_move] and $mw_basic[cf_auto_move]['use'] and $mw_basic[cf_auto_move]['bo_table'] and (!$mw_basic[cf_auto_move]['day'] or $mw_basic[cf_auto_move]['day'] > ($g4[server_time] - strtotime($write[wr_datetime])) / (60 * 60 * 24))) { /* if (($mw_basic[cf_auto_move]['hit'] and $mw_basic[cf_auto_move]['hit'] <= $write[wr_hit]) or ($mw_basic[cf_auto_move]['good'] and $mw_basic[cf_auto_move]['good'] <= $write[wr_good] && !$mw_basic[cf_auto_move]['sub'])
<?php $line_number = 0; for ($i = 0, $list_size = count($list); $i < $list_size; ++$i) { $list[$i] = mw_list_icon($list[$i]); $html = 0; if (strstr($list[$i]['wr_option'], "html1")) { $html = 1; } else { if (strstr($list[$i]['wr_option'], "html2")) { $html = 2; } } if ($mw_basic[cf_include_list_main] && is_mw_file($mw_basic[cf_include_list_main])) { include $mw_basic[cf_include_list_main]; } mw_basic_move_cate($bo_table, $list[$i][wr_id]); $list_run_time = mw_time_log($list_run_time, "[list] mw_basic_move_cate()"); $reply = $list[$i]['wr_reply']; $list[$i]['reply'] = ""; if (strlen($reply) > 0) { for ($k = 0; $k < strlen($reply); $k++) { $list[$i]['reply'] .= ' '; } } $ca_color = ''; if ($sca && $mw_category) { $ca_color = $mw_category['ca_color']; } else { if (!$mw_category_list[$list[$i]['ca_name']]) { $mw_category_list[$list[$i]['ca_name']] = mw_category_info($list[$i]['ca_name']); }