Beispiel #1
0
            alert($alert_msg, './item.php?it_id=' . $it_id . '&ca_id=' . $ca_id . '#itemuse');
        } else {
            if ($move == "3") {
                //내용으로
                alert($alert_msg, './itemuseview.php?is_id=' . $is_id . '&ca_id=' . $ca_id . '&page=' . $page);
            } else {
                //목록으로
                alert($alert_msg, './itemuselist.php?page=' . $page);
            }
        }
    } else {
        if ($move == "1") {
            //아이템으로
            goto_url('./item.php?it_id=' . $it_id . '&ca_id=' . $ca_id . '#itemqa');
        } else {
            if ($move == "3") {
                //내용으로
                goto_url('./itemuseview.php?is_id=' . $is_id . '&ca_id=' . $ca_id . '&page=' . $page);
            } else {
                //목록으로
                goto_url('./itemuselist.php?page=' . $page);
            }
        }
    }
} else {
    if ($w == 'd') {
        apms_alert($alert_msg);
    } else {
        apms_opener('itemuse', $alert_msg, './itemuse.php?it_id=' . $it_id . '&ca_id=' . $ca_id . '&irows=' . $irows . '&page=' . $page);
    }
}
Beispiel #2
0
                $destfile = G5_PATH . $data_path;
                if (is_file($destfile)) {
                    @unlink($destfile);
                }
            }
            $sql = " delete from {$g5['g5_shop_item_qa_table']} where iq_id = '{$iq_id}' and md5(concat(iq_id,iq_time,iq_ip)) = '{$hash}' ";
            sql_query($sql);
            //$alert_msg = '0|삭제 하셨습니다.';
        }
    }
}
if ($move) {
    if ($move == "1") {
        //아이템으로
        goto_url('./item.php?it_id=' . $it_id . '&ca_id=' . $ca_id . '#itemqa');
    } else {
        if ($move == "3") {
            //내용으로
            goto_url('./itemqaview.php?iq_id=' . $iq_id . '&ca_id=' . $ca_id . '&page=' . $page);
        } else {
            //목록으로
            goto_url('./itemqalist.php?page=' . $page);
        }
    }
} else {
    if ($w == 'd') {
        apms_alert($alert_msg);
    } else {
        apms_opener('itemqa', $alert_msg, './itemqa.php?it_id=' . $it_id . '&ca_id=' . $ca_id . '&qrows=' . $qrows . '&page=' . $page);
    }
}