From ac85a17055d5548ec4ef2e61764d42520a84b03a Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 18 Jan 2013 10:02:03 +0900 Subject: [PATCH] =?UTF-8?q?alert=20=ED=95=A8=EC=88=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/alert.php | 23 ++++++++++++++++++++--- lib/common.lib.php | 5 +---- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/bbs/alert.php b/bbs/alert.php index 55337201f..4d0f26e30 100644 --- a/bbs/alert.php +++ b/bbs/alert.php @@ -21,27 +21,44 @@ include_once($g4['path'].'/head.sub.php'); // 이미지 파일이 아닙니다..gif .jpg .png 파일만 가능합니다. // 파일만 가능합니다. // 공백이 없어야 합니다. + +$msg2 = str_replace("\\n", "
", $msg); + +if (!$url) $url = $_SERVER['HTTP_REFERER']; + +if($error) { + $header2 = "다음 항목에 오류가 있습니다."; +} else { + $header2 = "다음 내용을 확인해 주세요."; +} ?> + + + ", $msg); - - if (!$url) $url = $_SERVER['HTTP_REFERER']; /* //header("Content-Type: text/html; charset=$g4['charset']");