AvocadoAmber/AvocadoEdition_Light/skin/board/mmb/write_update.skin.php

25 lines
588 B
PHP
Raw Normal View History

2022-09-17 20:50:50 +09:00
<?php
2024-09-23 11:41:22 +09:00
if (!defined("_GNUBOARD_"))
exit; // 개별 페이지 접근 불가
2022-09-17 20:50:50 +09:00
$customer_sql = "";
$temp_wr_id = $wr_id;
2024-09-23 11:41:22 +09:00
if (!$wr_num)
$wr_num = $write['wr_num'];
2022-09-17 20:50:50 +09:00
2024-09-23 11:41:22 +09:00
if ($w == 'u') {
include_once $board_skin_path . "/write_update.inc.php";
2024-09-23 11:41:22 +09:00
$sql = " update {$write_table}
2022-09-17 20:50:50 +09:00
set wr_id = '{$wr_id}'
{$customer_sql}
2024-09-23 11:41:22 +09:00
where wr_id = '{$wr_id}' ";
sql_query($sql);
2022-09-17 20:50:50 +09:00
}
if ($file_upload_msg) {
2024-09-23 11:41:22 +09:00
alert($file_upload_msg, G5_HTTP_BBS_URL . '/board.php?bo_table=' . $bo_table);
2022-09-17 20:50:50 +09:00
} else {
2024-09-23 11:41:22 +09:00
goto_url(G5_HTTP_BBS_URL . '/board.php?bo_table=' . $bo_table . $qstr . "#log_" . $wr_id);
2022-09-17 20:50:50 +09:00
}