글,댓글 쓰기시 캐시파일 삭제

This commit is contained in:
gnuboard
2013-02-19 13:03:56 +09:00
parent 57f617b2bd
commit 06f2c72d84
6 changed files with 28 additions and 15 deletions

View File

@ -4,18 +4,18 @@ include_once('./_common.php');
$count = count($_POST['chk_wr_id']);
if(!$count) {
alert($_POST['btn_submit']." 하실 항목을 하나 이상 선택하세요.");
alert($_POST['btn_submit'].' 하실 항목을 하나 이상 선택하세요.');
}
if($_POST['btn_submit'] == "선택삭제") {
include "./delete_all.php";
} else if($_POST['btn_submit'] == "선택복사") {
$sw = "copy";
include "./move.php";
} else if($_POST['btn_submit'] == "선택이동") {
$sw = "move";
include "./move.php";
if($_POST['btn_submit'] == '선택삭제') {
include './delete_all.php';
} else if($_POST['btn_submit'] == '선택복사') {
$sw = 'copy';
include './move.php';
} else if($_POST['btn_submit'] == '선택이동') {
$sw = 'move';
include './move.php';
} else {
alert("올바른 방법으로 이용해 주세요.");
alert('올바른 방법으로 이용해 주세요.');
}
?>