diff --git a/lib/common.lib.php b/lib/common.lib.php index 3c1cdb67b..71c9c08c9 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -1967,7 +1967,12 @@ function html_end() $stylesheet .= $link; $buffer = preg_replace('#'.$link.'#', '', $buffer); } - return preg_replace('#()#', "$1$stylesheet", $buffer); + /* + + + 밑으로 스킨의 스타일시트가 위치하도록 하게 한다. + */ + return preg_replace('#([^<]*]+>)#', "$1$stylesheet", $buffer); } @@ -1977,4 +1982,11 @@ function hyphen_hp_number($hp) $hp = preg_replace("/[^0-9]/", "", $hp); return preg_replace("/([0-9]{3})([0-9]{3,4})([0-9]{4})$/", "\\1-\\2-\\3", $hp); } + + +// 휴대폰 본인확인을 받은 회원인지를 가린다. +function hp_certify($member) +{ + return substr($member['mb_hp_certify'],0,1) == '0' ? 'N' : 'Y'; +} ?> \ No newline at end of file