사용자단 따옴표 작업 bbs/good.php 까지 진행

This commit is contained in:
whitedot
2012-11-29 18:19:25 +09:00
parent cbf7e9c21e
commit 091f9deade
69 changed files with 587 additions and 587 deletions

View File

@ -1,8 +1,8 @@
<?
include_once("./_common.php");
include_once('./_common.php');
$g4[title] = "E-mail 중복확인";
include_once("$g4[path]/head.sub.php");
$g4['title'] = "E-mail 중복확인";
include_once($g4['path'].'/head.sub.php');
$mb_email = trim($mb_email);
@ -14,7 +14,7 @@ $row = sql_fetch($sql);
if ($row[mb_email]) {
echo <<<HEREDOC
<script type="text/javascript">
<script>
alert("'{$mb_email}'은(는) 이미 다른 회원이 사용하는 E-mail이므로 사용하실 수 없습니다.");
//opener.fmbform.mb_email_enabled.value = "0"; // 새창으로 열 경우에...
parent.document.getElementById("mb_email_enabled").value = -1;
@ -24,7 +24,7 @@ HEREDOC;
} else {
if (!preg_match("/([0-9a-zA-Z_-]+)@([0-9a-zA-Z_-]+)\.([0-9a-zA-Z_-]+)/", $mb_email)) {
echo <<<HEREDOC
<script type="text/javascript">
<script>
alert("'{$mb_email}'은(는) E-mail 주소 형식이 아니므로 사용하실 수 없습니다.");
parent.document.getElementById("mb_email_enabled").value = "";
window.close();
@ -32,8 +32,8 @@ HEREDOC;
HEREDOC;
} else {
echo <<<HEREDOC
<script type="text/javascript">
alert("'{$mb_email}'은(는) 중복된 E-mail이 없습니다.\\n\\n사용하셔도 좋습니다.");
<script>
alert("'{$mb_email}'은(는) 중복된 E-mail이 없습니다..PHP_EOL.PHP_EOL.사용하셔도 좋습니다.");
parent.document.getElementById("mb_email_enabled").value = 1;
window.close();
</script>
@ -41,5 +41,5 @@ HEREDOC;
}
}
include_once("$g4[path]/tail.sub.php");
include_once($g4['path'].'/tail.sub.php');
?>