|
|
|
16년 전
|
조회 1,208
|
|
|
|
16년 전
|
조회 996
|
|
|
|
16년 전
|
조회 969
|
|
|
|
16년 전
|
조회 4,987
|
|
|
|
16년 전
|
조회 1,212
|
|
|
|
16년 전
|
조회 963
|
|
|
|
16년 전
|
조회 845
|
|
|
|
16년 전
|
조회 1,397
|
|
|
|
16년 전
|
조회 1,055
|
|
|
|
16년 전
|
조회 1,014
|
|
|
|
16년 전
|
조회 1,536
|
|
|
|
16년 전
|
조회 1,094
|
|
|
|
16년 전
|
조회 1,737
|
|
|
|
16년 전
|
조회 1,486
|
|
|
|
16년 전
|
조회 956
|
|
|
|
16년 전
|
조회 1,194
|
|
|
|
16년 전
|
조회 1,230
|
|
|
|
16년 전
|
조회 949
|
|
|
|
16년 전
|
조회 972
|
|
|
|
16년 전
|
조회 1,526
|
댓글 2개
<? if ($w == 'u' && $is_admin ) { //수정이고 관리자만?>
<tr>
<td class=write_head>추천초기화</td>
<td><input type='checkbox' name='zero'></td></tr>
<tr><td colspan=2 height=1 bgcolor=#e7e7e7></td></tr>
<? } ?>
2.write_update.skin.php에 추가(없으면 만드시고요).
if ($zero) {
sql_query(" update $write_table set wr_good = '0' where wr_id='$wr_id' "); //해당게시글만
//sql_query(" update $write_table set wr_good = '0' where wr_good <> '0' "); //해당게시판 전체
}
추가내용
sql_query(" delete from $g4[board_good_table] where bo_table = '$write_table' and wr_id = '$wr_id' and bg_flag = '$good'"); //해당게시글만
sql_query(" delete from $g4[board_good_table] where bo_table = '$write_table' and bg_flag = '$good'"); //해당게시판 전체