|
|
|
15년 전
|
조회 2,023
|
|
|
|
15년 전
|
조회 2,464
|
|
|
|
15년 전
|
조회 2,588
|
|
|
|
15년 전
|
조회 2,520
|
|
|
|
15년 전
|
조회 2,526
|
|
|
|
15년 전
|
조회 2,009
|
|
|
|
15년 전
|
조회 2,064
|
|
|
|
15년 전
|
조회 1,831
|
|
|
관리자
|
15년 전
|
조회 2,654
|
|
|
|
15년 전
|
조회 1,755
|
|
|
|
15년 전
|
조회 2,174
|
|
|
|
15년 전
|
조회 2,087
|
|
|
|
15년 전
|
조회 1,988
|
|
|
|
15년 전
|
조회 1,756
|
|
|
|
15년 전
|
조회 2,057
|
|
|
|
15년 전
|
조회 1,835
|
|
|
|
15년 전
|
조회 2,017
|
|
|
|
15년 전
|
조회 5,816
|
|
|
|
15년 전
|
조회 1,703
|
|
|
|
15년 전
|
조회 2,033
|
|
|
|
15년 전
|
조회 2,024
|
|
|
|
15년 전
|
조회 2,027
|
|
|
|
15년 전
|
조회 2,080
|
|
|
|
15년 전
|
조회 2,279
|
|
|
|
15년 전
|
조회 1,864
|
|
|
|
15년 전
|
조회 1,807
|
|
|
|
15년 전
|
조회 2,083
|
|
|
|
15년 전
|
조회 2,842
|
|
|
|
15년 전
|
조회 1,911
|
|
|
|
15년 전
|
조회 2,441
|
댓글 8개
중요한 것은 체크한 네임폼이 값이 없으면 틀어진다는 것 입니다.
그누보드 버그 중 하나에요.
list.skin.php
for~
<input type="text" name="wr_name[]" value="<?=$list[$i]['wr_name']?>" />
~
<a href="javascript:select_name();">선택 수정</a>
하단에 버튼과 함께 스크립트 추가
// 선택한 게시물 수정
function select_name() {
var f = document.fboardlist;
str = "수정";
if (!check_confirm(str))
return;
if (!confirm("선택한 게시물을 정말 "+str+" 하시겠습니까?"))
return;
f.action = "./name_update_all.php";
f.submit();
}
/bbs/name_update_all.php 파일 추가
<?
include_once("./_common.php");
if (!$is_admin) {
alert("관리자만 접근 가능합니다.");
}
$tmp_array = array();
// 건별
if ($wr_id) {
$tmp_array[0] = $wr_id;
} else {
// 일괄
$tmp_array = $_POST['chk_wr_id'];
}
// 배열에 따라 늘어나야 한다.
for ($i=0; $i<count($tmp_array); $i++) {
if ($tmp_array[$i] && $wr_name[$i]) {
$sql = " update $write_table set wr_name = '".$wr_name[$i]."' where wr_id = '".$tmp_array[$i]."' ";
sql_query($sql);
}
}
goto_url("./board.php?bo_table=$bo_table&page=$page" . $qstr);
?>
탑님이 먼저 수를 두셨는데 곤란하게 되버렸네요
유아원님이 먼저 답을 주셨으니 보내드릴께요 받으실 주소 날려주세요
유선은 탑스쿨님에게
무선은 유아원님에게.....
자를수도 없고 ..... ㅜㅜ