경로 및 파일명 수정
This commit is contained in:
@ -1,5 +0,0 @@
|
||||
<?
|
||||
$g4_path = "../../.."; // common.php 의 상대 경로
|
||||
include_once("$g4_path/common.php");
|
||||
header("Content-Type: text/html; charset=$g4[charset]");
|
||||
?>
|
||||
@ -1,12 +0,0 @@
|
||||
<?
|
||||
include_once("_common.php");
|
||||
include_once(G4_LIB_PATH.'/register.lib.php');
|
||||
|
||||
$mb_email = escape_trim($_POST['reg_mb_email']);
|
||||
$mb_id = escape_trim($_POST['reg_mb_id']);
|
||||
|
||||
if ($msg = empty_mb_email($mb_email)) die($msg);
|
||||
if ($msg = valid_mb_email($mb_email)) die($msg);
|
||||
if ($msg = prohibit_mb_email($mb_email)) die($msg);
|
||||
if ($msg = exist_mb_email($mb_email, $mb_id)) die($msg);
|
||||
?>
|
||||
@ -1,12 +0,0 @@
|
||||
<?
|
||||
include_once("_common.php");
|
||||
include_once(G4_LIB_PATH.'/register.lib.php');
|
||||
|
||||
$mb_id = escape_trim($_POST['reg_mb_id']);
|
||||
|
||||
if ($msg = empty_mb_id($mb_id)) die($msg);
|
||||
if ($msg = valid_mb_id($mb_id)) die($msg);
|
||||
if ($msg = count_mb_id($mb_id)) die($msg);
|
||||
if ($msg = exist_mb_id($mb_id)) die($msg);
|
||||
if ($msg = reserve_mb_id($mb_id)) die($msg);
|
||||
?>
|
||||
@ -1,12 +0,0 @@
|
||||
<?
|
||||
include_once("_common.php");
|
||||
include_once(G4_LIB_PATH.'/register.lib.php');
|
||||
|
||||
$mb_nick = escape_trim($_POST['reg_mb_nick']);
|
||||
$mb_id = escape_trim($_POST['reg_mb_id']);
|
||||
|
||||
if ($msg = empty_mb_nick($mb_nick)) die($msg);
|
||||
if ($msg = valid_mb_nick($mb_nick)) die($msg);
|
||||
if ($msg = count_mb_nick($mb_nick)) die($msg);
|
||||
if ($msg = exist_mb_nick($mb_nick, $mb_id)) die($msg);
|
||||
?>
|
||||
@ -1,54 +0,0 @@
|
||||
var reg_mb_id_check = function() {
|
||||
var result = "";
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: member_skin_url+"/ajax_mb_id_check.php",
|
||||
data: {
|
||||
"reg_mb_id": encodeURIComponent($("#reg_mb_id").val())
|
||||
},
|
||||
cache: false,
|
||||
async: false,
|
||||
success: function(data) {
|
||||
result = data;
|
||||
}
|
||||
});
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
var reg_mb_nick_check = function() {
|
||||
var result = "";
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: member_skin_url+"/ajax_mb_nick_check.php",
|
||||
data: {
|
||||
"reg_mb_nick": ($("#reg_mb_nick").val()),
|
||||
'reg_mb_id': encodeURIComponent($('#reg_mb_id').val())
|
||||
},
|
||||
cache: false,
|
||||
async: false,
|
||||
success: function(data) {
|
||||
result = data;
|
||||
}
|
||||
});
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
var reg_mb_email_check = function() {
|
||||
var result = "";
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: member_skin_url+'/ajax_mb_email_check.php',
|
||||
data: {
|
||||
'reg_mb_email': $('#reg_mb_email').val(),
|
||||
'reg_mb_id': encodeURIComponent($('#reg_mb_id').val())
|
||||
},
|
||||
cache: false,
|
||||
async: false,
|
||||
success: function(data) {
|
||||
result = data;
|
||||
}
|
||||
});
|
||||
return result;
|
||||
}
|
||||
@ -1,113 +0,0 @@
|
||||
/*
|
||||
** 2010.03.12 : jQuery 로 대체하여 앞으로 사용하지 않습니다.
|
||||
*/
|
||||
|
||||
// 회원아이디 검사
|
||||
function reg_mb_id_check() {
|
||||
var url = member_skin_path + "/ajax_mb_id_check.php";
|
||||
var para = "reg_mb_id="+encodeURIComponent($F('reg_mb_id'));
|
||||
var myAjax = new Ajax.Request(
|
||||
url,
|
||||
{
|
||||
method: 'post',
|
||||
// 주소창 보안 방지 javascript:void(document.fregisterform.mb_id_enabled.value='000');
|
||||
// 동기식 (폼전송시 입력값이 바른지 검사한 후 mb_id_enabled 를 체크하기 때문)
|
||||
asynchronous: false,
|
||||
parameters: para,
|
||||
onComplete: return_reg_mb_id_check
|
||||
});
|
||||
}
|
||||
|
||||
function return_reg_mb_id_check(req) {
|
||||
var msg = $('msg_mb_id');
|
||||
var result = req.responseText;
|
||||
switch(result) {
|
||||
case '110' : msg.update('영문자, 숫자, _ 만 입력하세요.').setStyle({ color: 'red' }); break;
|
||||
case '120' : msg.update('최소 3자이상 입력하세요.').setStyle({ color: 'red' }); break;
|
||||
case '130' : msg.update('이미 사용중인 아이디 입니다.').setStyle({ color: 'red' }); break;
|
||||
case '140' : msg.update('예약어로 사용할 수 없는 아이디 입니다.').setStyle({ color: 'red' }); break;
|
||||
case '000' : msg.update('사용하셔도 좋은 아이디 입니다.').setStyle({ color: 'blue' }); break;
|
||||
default : alert( '잘못된 접근입니다.\n\n' + result ); break;
|
||||
}
|
||||
$('mb_id_enabled').value = result;
|
||||
}
|
||||
|
||||
// 별명 검사
|
||||
function reg_mb_nick_check() {
|
||||
var url = member_skin_path + "/ajax_mb_nick_check.php";
|
||||
var para = "reg_mb_nick="+encodeURIComponent($F('reg_mb_nick'));
|
||||
var myAjax = new Ajax.Request(
|
||||
url,
|
||||
{
|
||||
method: 'post',
|
||||
// 주소창 보안 방지 javascript:void(document.fregisterform.mb_id_enabled.value='000');
|
||||
// 동기식 (폼전송시 입력값이 바른지 검사한 후 mb_id_enabled 를 체크하기 때문)
|
||||
asynchronous: false,
|
||||
parameters: para,
|
||||
onComplete: return_reg_mb_nick_check
|
||||
});
|
||||
}
|
||||
|
||||
function return_reg_mb_nick_check(req) {
|
||||
var msg = $('msg_mb_nick');
|
||||
var result = req.responseText;
|
||||
switch(result) {
|
||||
case '110' : msg.update('별명은 공백없이 한글, 영문, 숫자만 입력 가능합니다.').setStyle({ color: 'red' }); break;
|
||||
case '120' : msg.update('한글 2글자, 영문 4글자 이상 입력 가능합니다.').setStyle({ color: 'red' }); break;
|
||||
case '130' : msg.update('이미 존재하는 별명입니다.').setStyle({ color: 'red' }); break;
|
||||
case '000' : msg.update('사용하셔도 좋은 별명 입니다.').setStyle({ color: 'blue' }); break;
|
||||
default : alert( '잘못된 접근입니다.\n\n' + result ); break;
|
||||
}
|
||||
$('mb_nick_enabled').value = result;
|
||||
}
|
||||
|
||||
|
||||
// E-mail 주소 검사
|
||||
function reg_mb_email_check() {
|
||||
var url = member_skin_path + "/ajax_mb_email_check.php";
|
||||
var para = "reg_mb_id="+encodeURIComponent($F('reg_mb_id'));
|
||||
para += "®_mb_email="+encodeURIComponent($F('reg_mb_email'));
|
||||
var myAjax = new Ajax.Request(
|
||||
url,
|
||||
{
|
||||
method: 'post',
|
||||
// 주소창 보안 방지 javascript:void(document.fregisterform.mb_email_enabled.value='000');
|
||||
// 동기식 (폼전송시 입력값이 바른지 검사한 후 mb_email_enabled 를 체크하기 때문)
|
||||
asynchronous: false,
|
||||
parameters: para,
|
||||
onComplete: return_reg_mb_email_check
|
||||
});
|
||||
}
|
||||
|
||||
function return_reg_mb_email_check(req) {
|
||||
var msg = $('msg_mb_email');
|
||||
var result = req.responseText;
|
||||
switch(result) {
|
||||
case '110' : msg.update('E-mail 주소를 입력하십시오.').setStyle({ color: 'red' }); break;
|
||||
case '120' : msg.update('E-mail 주소가 형식에 맞지 않습니다.').setStyle({ color: 'red' }); break;
|
||||
case '130' : msg.update('이미 존재하는 E-mail 주소입니다.').setStyle({ color: 'red' }); break;
|
||||
case '000' : msg.update('사용하셔도 좋은 E-mail 주소입니다.').setStyle({ color: 'blue' }); break;
|
||||
default : alert( '잘못된 접근입니다.\n\n' + result ); break;
|
||||
}
|
||||
$('mb_email_enabled').value = result;
|
||||
}
|
||||
|
||||
// 세션에 저장된 토큰을 얻는다.
|
||||
function get_token() {
|
||||
var url = member_skin_path + "/ajax_get_token.php";
|
||||
var para = "reg_mb_id="+encodeURIComponent($F('reg_mb_id'));
|
||||
para += "®_mb_email="+encodeURIComponent($F('reg_mb_email'));
|
||||
var myAjax = new Ajax.Request(
|
||||
url,
|
||||
{
|
||||
method: 'post',
|
||||
asynchronous: false,
|
||||
parameters: para,
|
||||
onComplete: return_get_token
|
||||
});
|
||||
}
|
||||
|
||||
function return_get_token(req) {
|
||||
var result = req.responseText;
|
||||
$('mb_token').value = result;
|
||||
}
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div id="formmail" class="new_win">
|
||||
@ -65,8 +65,6 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script src="<?="$g4[path]/js/md5.js"?>"></script>
|
||||
<script src="<?="$g4[path]/js/jquery.kcaptcha.js"?>"></script>
|
||||
<script>
|
||||
with (document.fformmail) {
|
||||
if (typeof fname != "undefined")
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div id="mb_login">
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 자신만의 코드를 넣어주세요.
|
||||
?>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div id="mb_confirm">
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div id="memo_list" class="new_win">
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div id="memo_write" class="new_win">
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
$nick = get_sideview($mb['mb_id'], $mb['mb_nick'], $mb['mb_email'], $mb['mb_homepage']);
|
||||
if($kind == "recv") {
|
||||
$kind_str = "보낸";
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div id="pw_confirm">
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div id="find_info" class="new_win">
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div id="profile" class="new_win">
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<form id="fregister" name="fregister" method="POST" action="<?=$register_action_url?>" onsubmit="return fregister_submit(this);" autocomplete="off">
|
||||
|
||||
@ -1,11 +1,8 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<script>
|
||||
var member_skin_url = "<?=$member_skin_url?>";
|
||||
</script>
|
||||
<script src="<?=$member_skin_url?>/ajax_register_form.jquery.js"></script>
|
||||
<script src="<?=G4_JS_URL?>/jquery.register_form.js"></script>
|
||||
|
||||
<form id="fregisterform" name="fregisterform" method="post" action="<?=$register_action_url?>" onsubmit="return fregisterform_submit(this);" enctype="multipart/form-data" autocomplete="off">
|
||||
<input type="hidden" name="w" value="<?=$w?>">
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div id="reg_result">
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 자신만의 코드를 넣어주세요.
|
||||
?>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div id="scrap" class="new_win">
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div id="scrap_do" class="new_win">
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div id="post_code" class="new_win">
|
||||
|
||||
Reference in New Issue
Block a user