핸드폰을 휴대폰으로 용어 변경
This commit is contained in:
@ -141,7 +141,7 @@ include_once('./admin.head.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="mb_tel">전화번호</label></th>
|
||||
<td><input type="text" name="mb_tel" value="<?php echo $mb['mb_tel'] ?>" id="mb_tel" class="frm_input" size="15" maxlength="20"></td>
|
||||
<th scope="row"><label for="mb_hp">핸드폰번호</label></th>
|
||||
<th scope="row"><label for="mb_hp">휴대폰번호</label></th>
|
||||
<td><input type="text" name="mb_hp" value="<?php echo $mb['mb_hp'] ?>" id="mb_hp" class="frm_input" size="15" maxlength="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -16,7 +16,7 @@ if ($member['mb_password'] != sql_password($_POST['admin_password'])) {
|
||||
|
||||
$mb_id = escape_trim($_POST['mb_id']);
|
||||
|
||||
// 핸드폰번호 체크
|
||||
// 휴대폰번호 체크
|
||||
$mb_hp = $_POST['mb_hp'];
|
||||
if($mb_hp) {
|
||||
$result = exist_mb_hp($mb_hp, $mb_id);
|
||||
|
||||
@ -85,7 +85,7 @@ $colspan = 15;
|
||||
<option value="mb_level"<?php echo get_selected($_GET['sfl'], "mb_level"); ?>>권한</option>
|
||||
<option value="mb_email"<?php echo get_selected($_GET['sfl'], "mb_email"); ?>>E-MAIL</option>
|
||||
<option value="mb_tel"<?php echo get_selected($_GET['sfl'], "mb_tel"); ?>>전화번호</option>
|
||||
<option value="mb_hp"<?php echo get_selected($_GET['sfl'], "mb_hp"); ?>>핸드폰번호</option>
|
||||
<option value="mb_hp"<?php echo get_selected($_GET['sfl'], "mb_hp"); ?>>휴대폰번호</option>
|
||||
<option value="mb_point"<?php echo get_selected($_GET['sfl'], "mb_point"); ?>>포인트</option>
|
||||
<option value="mb_datetime"<?php echo get_selected($_GET['sfl'], "mb_datetime"); ?>>가입일시</option>
|
||||
<option value="mb_ip"<?php echo get_selected($_GET['sfl'], "mb_ip"); ?>>IP</option>
|
||||
|
||||
@ -147,7 +147,7 @@ function valid_mb_hp($reg_mb_hp)
|
||||
{
|
||||
$reg_mb_hp = preg_replace("/[^0-9]/", "", $reg_mb_hp);
|
||||
if(!$reg_mb_hp)
|
||||
return "핸드폰번호를 입력해 주십시오.";
|
||||
return "휴대폰번호를 입력해 주십시오.";
|
||||
else {
|
||||
if(preg_match("/^01[0-9]{8,9}$/", $reg_mb_hp))
|
||||
return "";
|
||||
@ -168,7 +168,7 @@ function exist_mb_hp($reg_mb_hp, $reg_mb_id)
|
||||
$row = sql_fetch($sql);
|
||||
|
||||
if($row['cnt'])
|
||||
return " 이미 사용 중인 핸드폰번호입니다. ".$reg_mb_hp;
|
||||
return " 이미 사용 중인 휴대폰번호입니다. ".$reg_mb_hp;
|
||||
else
|
||||
return "";
|
||||
}
|
||||
|
||||
@ -179,7 +179,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<th scope="row"><label for="reg_mb_sms">SMS 수신여부</label></th>
|
||||
<td>
|
||||
<input type="checkbox" name="mb_sms" value="1" id="reg_mb_sms" <?php echo ($w=='' || $member['mb_sms'])?'checked':''; ?>>
|
||||
핸드폰 문자메세지를 받겠습니다.
|
||||
휴대폰 문자메세지를 받겠습니다.
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 핸드폰번호 체크
|
||||
// 휴대폰번호 체크
|
||||
if ($msg = valid_mb_hp($mb_hp)) alert($msg, "", true, true);
|
||||
if ($msg = exist_mb_hp($mb_hp, $mb_id)) alert($msg, "", true, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user