|
|
|
15년 전
|
조회 1,999
|
|
|
|
15년 전
|
조회 2,430
|
|
|
|
15년 전
|
조회 2,557
|
|
|
|
15년 전
|
조회 2,488
|
|
|
|
15년 전
|
조회 2,499
|
|
|
|
15년 전
|
조회 1,980
|
|
|
|
15년 전
|
조회 2,033
|
|
|
|
15년 전
|
조회 1,800
|
|
|
관리자
|
15년 전
|
조회 2,620
|
|
|
|
15년 전
|
조회 1,719
|
|
|
|
15년 전
|
조회 2,141
|
|
|
|
15년 전
|
조회 2,041
|
|
|
|
15년 전
|
조회 1,953
|
|
|
|
15년 전
|
조회 1,723
|
|
|
|
15년 전
|
조회 2,002
|
|
|
|
15년 전
|
조회 1,803
|
|
|
|
15년 전
|
조회 1,980
|
|
|
|
15년 전
|
조회 5,773
|
|
|
|
15년 전
|
조회 1,670
|
|
|
|
15년 전
|
조회 1,992
|
|
|
|
15년 전
|
조회 1,989
|
|
|
|
15년 전
|
조회 1,990
|
|
|
|
15년 전
|
조회 2,045
|
|
|
|
15년 전
|
조회 2,238
|
|
|
|
15년 전
|
조회 1,820
|
|
|
|
15년 전
|
조회 1,760
|
|
|
|
15년 전
|
조회 2,036
|
|
|
|
15년 전
|
조회 2,798
|
|
|
|
15년 전
|
조회 1,865
|
|
|
|
15년 전
|
조회 2,408
|
댓글 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);
?>
탑님이 먼저 수를 두셨는데 곤란하게 되버렸네요
유아원님이 먼저 답을 주셨으니 보내드릴께요 받으실 주소 날려주세요
유선은 탑스쿨님에게
무선은 유아원님에게.....
자를수도 없고 ..... ㅜㅜ