회원관리 선택수정, 선택삭제 스크립트 수정

This commit is contained in:
chicpro
2013-02-18 11:08:27 +09:00
parent 6351d0732d
commit 6ed598e865
2 changed files with 42 additions and 31 deletions

View File

@ -10,7 +10,7 @@ if (!count($_POST['chk'])) {
auth_check($auth[$sub_menu], 'w');
if ($_POST['btn_submit'] == "선택수정") {
if ($_POST['act_button'] == "선택수정") {
for ($i=0; $i<count($_POST['chk']); $i++)
{
@ -34,7 +34,7 @@ if ($_POST['btn_submit'] == "선택수정") {
}
}
} else if ($_POST['btn_submit'] == "선택삭제") {
} else if ($_POST['act_button'] == "선택삭제") {
for ($i=0; $i<count($_POST['chk']); $i++)
{
@ -59,7 +59,8 @@ if ($_POST['btn_submit'] == "선택수정") {
}
if ($msg)
echo '<script> alert("'.$msg.'"); </script>';
//echo '<script> alert("'.$msg.'"); </script>';
alert($msg);
goto_url('./member_list.php?'.$qstr);
?>