사용자단 따옴표 작업 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,15 +1,15 @@
<?
include_once("./_common.php");
include_once('./_common.php');
$g4[title] = "회원아이디 중복확인";
include_once("$g4[path]/head.sub.php");
$g4['title'] = "회원아이디 중복확인";
include_once($g4['path'].'/head.sub.php');
$mb_id = trim($mb_id);
$mb = get_member($mb_id);
if ($mb[mb_id])
{
echo "<script type=\"text/javascript\">";
echo "<script>";
echo "alert(\"'{$mb_id}'은(는) 이미 가입된 회원아이디 이므로 사용하실 수 없습니다.\");";
echo "parent.document.getElementById(\"mb_id_enabled\").value = -1;";
echo "window.close();";
@ -19,7 +19,7 @@ else
{
if (preg_match("/[\,]?{$mb_id}/i", $config[cf_prohibit_id]))
{
echo "<script type=\"text/javascript\">";
echo "<script>";
echo "alert(\"'{$mb_id}'은(는) 예약어로 사용하실 수 없는 회원아이디입니다.\");";
echo "parent.document.getElementById(\"mb_id_enabled\").value = -2;";
echo "window.close();";
@ -27,13 +27,13 @@ else
}
else
{
echo "<script type=\"text/javascript\">";
echo "alert(\"'{$mb_id}'은(는) 중복된 회원아이디가 없습니다.\\n\\n사용하셔도 좋습니다.\");";
echo "<script>";
echo "alert(\"'{$mb_id}'은(는) 중복된 회원아이디가 없습니다..PHP_EOL.PHP_EOL.사용하셔도 좋습니다.\");";
echo "parent.document.getElementById(\"mb_id_enabled\").value = 1;";
echo "window.close();";
echo "</script>";
}
}
include_once("$g4[path]/tail.sub.php");
include_once($g4['path'].'/tail.sub.php');
?>