|
|
|
16년 전
|
조회 1,237
|
|
|
|
16년 전
|
조회 1,021
|
|
|
|
16년 전
|
조회 995
|
|
|
|
16년 전
|
조회 5,008
|
|
|
|
16년 전
|
조회 1,236
|
|
|
|
16년 전
|
조회 999
|
|
|
|
16년 전
|
조회 876
|
|
|
|
16년 전
|
조회 1,425
|
|
|
|
16년 전
|
조회 1,080
|
|
|
|
16년 전
|
조회 1,044
|
|
|
|
16년 전
|
조회 1,563
|
|
|
|
16년 전
|
조회 1,127
|
|
|
|
16년 전
|
조회 1,760
|
|
|
|
16년 전
|
조회 1,512
|
|
|
|
16년 전
|
조회 981
|
|
|
|
16년 전
|
조회 1,228
|
|
|
|
16년 전
|
조회 1,259
|
|
|
|
16년 전
|
조회 982
|
|
|
|
16년 전
|
조회 1,003
|
|
|
|
16년 전
|
조회 1,550
|
댓글 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'"); //해당게시판 전체