From 8a60fca1c0eb667e2df0ae4249d7d032fb6f3b76 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Mon, 29 Apr 2013 15:15:26 +0900 Subject: [PATCH] =?UTF-8?q?default.css=20=EC=9D=98=20=EB=B0=91=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20=EC=8A=A4=ED=82=A8=EC=9D=98=20stylesheet=20?= =?UTF-8?q?=EB=A5=BC=20=EC=A0=81=EC=9A=A9=ED=95=9C=EB=8B=A4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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