본문
/adm/board_list.php 에서 다음 내용추가
echo "<table width=100% cellpadding=3 cellspacing=1>";
echo "<tr><td width=70%>";
echo "<input type=button class='btn1' value='선택수정' onclick=\"btn_check(this.form, 'update')\"> ";
if ($is_admin == "super") {
echo "<input type=button class='btn1' value='선택삭제' onclick=\"btn_check(this.form, 'delete')\">";
}
echo " <select name=new_bo_skin><option value=''>-- 선택일괄스킨변경 --</option>$skin_options</select> ";
echo "</td>";
echo "<td width=30% align=right>$pagelist</td></tr></table>\n";
board_list_update.php 에서 update 줄 변경
//스킨일괄변경 기능 추가 2009-09-25 김성대
if ($_POST[new_bo_skin]) $_POST['bo_skin'][$k]=$_POST[new_bo_skin];
$sql = " update $g4[board_table]
set gr_id = '{$_POST['gr_id'][$k]}',
bo_subject = '{$_POST['bo_subject'][$k]}',
bo_skin = '{$_POST['bo_skin'][$k]}',
bo_read_point = '{$_POST['bo_read_point'][$k]}',
bo_write_point = '{$_POST['bo_write_point'][$k]}',
bo_comment_point = '{$_POST['bo_comment_point'][$k]}',
bo_use_search = '{$_POST['bo_use_search'][$k]}',
bo_order_search = '{$_POST['bo_order_search'][$k]}'
where bo_table = '{$_POST['board_table'][$k]}' ";
sql_query($sql);
댓글목록
등록된 댓글이 없습니다.