Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 제주도눈썰매
- 자연산 개복숭아
- 휘닉스파크
- 충주골프장
- 잠실수영장
- 경기북부골프장
- 포천온천
- 돌복숭아
- 포천가볼만한곳
- 파주골프장
- 포천투어
- 자연산개복숭아
- 한라산
- 태안수영장펜션
- 개복숭아 판매
- 서원힐스
- 야생개복숭아
- 괌자유여행
- 야생개복숭아 판매
- 괌
- 개복숭아
- 제주도설경
- 덕소골프샵
- 제주도
- wp-900
- 제주도눈
- 개복숭아판매
- 포천수영장
- LGG6
- 조경철천문대
Archives
- Today
- Total
Live Brilliant
div 레이어 테이블 본문
<style type="text/css">
<!--
.m_title { BACKGROUND-COLOR: #F7F7F7; PADDING-LEFT: 9px; PADDING-top: 5px; PADDING-BOTTOM: 5px; border-bottom:1px solid #CCCCCC; font-weight:bold; color:#666666; }
.m_padding { PADDING-LEFT: 15px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px; border-bottom:1px solid #CCCCCC; font color:#999999; }
.m_padding2 { PADDING-LEFT: 0px; PADDING-top: 5px; PADDING-BOTTOM: 0px; }
.m_padding3 { PADDING-LEFT: 0px; PADDING-top: 5px; PADDING-BOTTOM: 5px; }
.m_div { PADDING-LEFT: 3px; PADDING-top: 3px; PADDING-BOTTOM: 3px; font-weight:bold; color:#7B88AA; }
.m_padding4 { PADDING-LEFT: 0px; PADDING-top: 30px; PADDING-BOTTOM: 7px; border-bottom:2px solid #CCCCCC; }
.agree_list td.line { border-top:1px solid #7F9DB9; border-bottom:1px solid #7F9DB9; border-left:1px solid #7F9DB9; border-right:1px solid #7F9DB9; }
.col1 { color:#ffffff; }
.bgcol1 { background-color:#ECEEF2; padding:1px; }
body { scrollbar-face-color: #ffffff;
scrollbar-highlight-color: #ffffff;
scrollbar-3dlight-color: #DCDCDC;
scrollbar-shadow-color: #DCDCDC;
scrollbar-darkshadow-color: #ffffff;
scrollbar-track-color: #ffffff;
scrollbar-arrow-color: #999999}
-->
</style>
<!--
<style type="text/css">
<!--
.m_title { BACKGROUND-COLOR: #F7F7F7; PADDING-LEFT: 15px; PADDING-top: 5px; PADDING-BOTTOM: 5px; }
.m_padding { PADDING-LEFT: 15px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px; }
.m_padding2 { PADDING-LEFT: 0px; PADDING-top: 5px; PADDING-BOTTOM: 0px; }
.m_padding3 { PADDING-LEFT: 0px; PADDING-top: 5px; PADDING-BOTTOM: 5px; }
-->
<script>
<!--
function fncInit()
{
}
function fnccertify()
{
document.getElementById('cert').style.display = '';
document.getElementById('certify').style.display = '';
}
function fnccertifyClose()
{
document.getElementById('cert').style.display = 'none';
document.getElementById('certify').style.display = 'none';
}
//-->
</script>
<!-- 휴대폰 번호 변경시 인증 폼 시작 -->
<div id='cert' style='position:absolute; left:0px; top:0px; width:1000; height:1370; background-color:#CCCCCC; filter:Alpha(Opacity=30) revealTrans(transition=23,duration=0.5) blendTrans(duration=0.5); display:none;'></div>
<div id='certify' style='position:absolute; left:740px; top:570px; width:200; height:120; background-color:#C4CAD9; display:none;'>
<table border='0' width=100% border=0 cellpadding=1 cellspacing=1 >
<tr class='bgcol1 col1'>
<td colspan=2 class=m_div > 휴대폰 인증</td>
</tr>
<tr class='bgcol1 col1'>
<td class=m_div width="40%">주민번호</td>
<td class=m_div><input type='text' name='cert_jumin' style='width:100%;'></td>
</tr>
<tr class='bgcol1 col1'>
<td class=m_div>휴대폰번호</td>
<td class=m_div>
<select name="cert_hp_telco">
<option value="SKT">SKT</option>
<option value="KTF">KTF</option>
<option value="LGT">LGT</option>
</select>
<input type='text' name='cert_hp' style='width:100%;'></td>
</tr>
<tr class='bgcol1 col1'>
<td colspan=2 align=right font-size:11px; class=m_div><a href="javascript:" onclick="certClick();">
<input type='image' src="/active/skin/signin/basic/img/bt_hp.gif" name='certify_btn' onclick='fnccertifyClose();'></td>
</tr>
</table>
</div>
<!-- 휴대폰 번호 변경시 인증 폼 끝-->
// 핸드폰 번호 검사 루틴
function certClick() {
hp = document.all.cert_hp.value;
jumin = document.all.cert_jumin.value;
hp_telco = document.all.cert_hp_telco.value;
document.exec.location = '<?=$signin_skin_path?>/hp_auth.php?hp='+hp+'&jumin='+jumin+'&hp_telco='+hp_telco;
}
//인증 체크 페이지
$tr_phone = str_replace("-","",$hp);
$hp_auth = sms_checkover($tr_phone, $jumin, $hp_telco);
// 결과값.. result=1&telco=SKT&code=1&message=주민번호가 일치하지 않습니다
// 0(성공), 1(명의가맞지않음), 2(에러)
$aUhpAuth = explode("&",$hp_auth);
for($i=0;$i<sizeof($aUhpAuth);$i++) {
${"aUeach_".$i} = explode("=",$aUhpAuth[$i]);
if($i==0) $result = ${"aUeach_".$i}[1];
elseif($i==1) $telco = ${"aUeach_".$i}[1];
elseif($i==2) $code = ${"aUeach_".$i}[1];
elseif($i==3) $message = ${"aUeach_".$i}[1];
}
// 체크오버 로그 리포트
$sa_jumin1 = substr($jumin,0,6);
insert_sms_auth_report($tr_phone, $sa_jumin1, $hp_telco, $result, $code, $result_authnum, $message);
echo $result.'<br>';
echo $telco.'<br>';
echo $code.'<br>';
echo $message.'<br>';
if($result) {
$certify = 0; //에러인 경우
$MSG = "※ 인증 실패! 다시 시도해 주세요.";
$COLOR = "red";
}else {
$certify = 1; //성공
$MSG = "※ 인증에 성공하였습니다.";
$COLOR = "blue";
$telco = $hp_telco;
$mb_hp1 = substr($tr_phone,0,3);
$mb_hp2 = substr($tr_phone,3,4);
$mb_hp3 = substr($tr_phone,7,4);
}
?>
<script>
parent.fregisterform.hp_auth_certify.value = '<?=$certify?>';
<? if(!$certify){
}else{ ?>
parent.fregisterform.mb_hp_telco.value = '<?=$telco?>';
parent.fregisterform.mb_hp1.value = '<?=$mb_hp1?>';
parent.fregisterform.mb_hp2.value = '<?=$mb_hp2?>';
parent.fregisterform.mb_hp3.value = '<?=$mb_hp3?>';
<? } ?>
parent.fregisterform.msg_mb_hp.value = "<?=$MSG?>";
parent.fregisterform.msg_mb_hp.style.color = "<?=$COLOR?>";
parent.fregisterform.mb_color.value = "<?=$COLOR?>";
//alert("<?=$MSG?>");
</script>
<!--
.m_title { BACKGROUND-COLOR: #F7F7F7; PADDING-LEFT: 9px; PADDING-top: 5px; PADDING-BOTTOM: 5px; border-bottom:1px solid #CCCCCC; font-weight:bold; color:#666666; }
.m_padding { PADDING-LEFT: 15px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px; border-bottom:1px solid #CCCCCC; font color:#999999; }
.m_padding2 { PADDING-LEFT: 0px; PADDING-top: 5px; PADDING-BOTTOM: 0px; }
.m_padding3 { PADDING-LEFT: 0px; PADDING-top: 5px; PADDING-BOTTOM: 5px; }
.m_div { PADDING-LEFT: 3px; PADDING-top: 3px; PADDING-BOTTOM: 3px; font-weight:bold; color:#7B88AA; }
.m_padding4 { PADDING-LEFT: 0px; PADDING-top: 30px; PADDING-BOTTOM: 7px; border-bottom:2px solid #CCCCCC; }
.agree_list td.line { border-top:1px solid #7F9DB9; border-bottom:1px solid #7F9DB9; border-left:1px solid #7F9DB9; border-right:1px solid #7F9DB9; }
.col1 { color:#ffffff; }
.bgcol1 { background-color:#ECEEF2; padding:1px; }
body { scrollbar-face-color: #ffffff;
scrollbar-highlight-color: #ffffff;
scrollbar-3dlight-color: #DCDCDC;
scrollbar-shadow-color: #DCDCDC;
scrollbar-darkshadow-color: #ffffff;
scrollbar-track-color: #ffffff;
scrollbar-arrow-color: #999999}
-->
</style>
<!--
<style type="text/css">
<!--
.m_title { BACKGROUND-COLOR: #F7F7F7; PADDING-LEFT: 15px; PADDING-top: 5px; PADDING-BOTTOM: 5px; }
.m_padding { PADDING-LEFT: 15px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px; }
.m_padding2 { PADDING-LEFT: 0px; PADDING-top: 5px; PADDING-BOTTOM: 0px; }
.m_padding3 { PADDING-LEFT: 0px; PADDING-top: 5px; PADDING-BOTTOM: 5px; }
-->
<script>
<!--
function fncInit()
{
}
function fnccertify()
{
document.getElementById('cert').style.display = '';
document.getElementById('certify').style.display = '';
}
function fnccertifyClose()
{
document.getElementById('cert').style.display = 'none';
document.getElementById('certify').style.display = 'none';
}
//-->
</script>
<!-- 휴대폰 번호 변경시 인증 폼 시작 -->
<div id='cert' style='position:absolute; left:0px; top:0px; width:1000; height:1370; background-color:#CCCCCC; filter:Alpha(Opacity=30) revealTrans(transition=23,duration=0.5) blendTrans(duration=0.5); display:none;'></div>
<div id='certify' style='position:absolute; left:740px; top:570px; width:200; height:120; background-color:#C4CAD9; display:none;'>
<table border='0' width=100% border=0 cellpadding=1 cellspacing=1 >
<tr class='bgcol1 col1'>
<td colspan=2 class=m_div > 휴대폰 인증</td>
</tr>
<tr class='bgcol1 col1'>
<td class=m_div width="40%">주민번호</td>
<td class=m_div><input type='text' name='cert_jumin' style='width:100%;'></td>
</tr>
<tr class='bgcol1 col1'>
<td class=m_div>휴대폰번호</td>
<td class=m_div>
<select name="cert_hp_telco">
<option value="SKT">SKT</option>
<option value="KTF">KTF</option>
<option value="LGT">LGT</option>
</select>
<input type='text' name='cert_hp' style='width:100%;'></td>
</tr>
<tr class='bgcol1 col1'>
<td colspan=2 align=right font-size:11px; class=m_div><a href="javascript:" onclick="certClick();">
<input type='image' src="/active/skin/signin/basic/img/bt_hp.gif" name='certify_btn' onclick='fnccertifyClose();'></td>
</tr>
</table>
</div>
<!-- 휴대폰 번호 변경시 인증 폼 끝-->
// 핸드폰 번호 검사 루틴
function certClick() {
hp = document.all.cert_hp.value;
jumin = document.all.cert_jumin.value;
hp_telco = document.all.cert_hp_telco.value;
document.exec.location = '<?=$signin_skin_path?>/hp_auth.php?hp='+hp+'&jumin='+jumin+'&hp_telco='+hp_telco;
}
//인증 체크 페이지
$tr_phone = str_replace("-","",$hp);
$hp_auth = sms_checkover($tr_phone, $jumin, $hp_telco);
// 결과값.. result=1&telco=SKT&code=1&message=주민번호가 일치하지 않습니다
// 0(성공), 1(명의가맞지않음), 2(에러)
$aUhpAuth = explode("&",$hp_auth);
for($i=0;$i<sizeof($aUhpAuth);$i++) {
${"aUeach_".$i} = explode("=",$aUhpAuth[$i]);
if($i==0) $result = ${"aUeach_".$i}[1];
elseif($i==1) $telco = ${"aUeach_".$i}[1];
elseif($i==2) $code = ${"aUeach_".$i}[1];
elseif($i==3) $message = ${"aUeach_".$i}[1];
}
// 체크오버 로그 리포트
$sa_jumin1 = substr($jumin,0,6);
insert_sms_auth_report($tr_phone, $sa_jumin1, $hp_telco, $result, $code, $result_authnum, $message);
echo $result.'<br>';
echo $telco.'<br>';
echo $code.'<br>';
echo $message.'<br>';
if($result) {
$certify = 0; //에러인 경우
$MSG = "※ 인증 실패! 다시 시도해 주세요.";
$COLOR = "red";
}else {
$certify = 1; //성공
$MSG = "※ 인증에 성공하였습니다.";
$COLOR = "blue";
$telco = $hp_telco;
$mb_hp1 = substr($tr_phone,0,3);
$mb_hp2 = substr($tr_phone,3,4);
$mb_hp3 = substr($tr_phone,7,4);
}
?>
<script>
parent.fregisterform.hp_auth_certify.value = '<?=$certify?>';
<? if(!$certify){
}else{ ?>
parent.fregisterform.mb_hp_telco.value = '<?=$telco?>';
parent.fregisterform.mb_hp1.value = '<?=$mb_hp1?>';
parent.fregisterform.mb_hp2.value = '<?=$mb_hp2?>';
parent.fregisterform.mb_hp3.value = '<?=$mb_hp3?>';
<? } ?>
parent.fregisterform.msg_mb_hp.value = "<?=$MSG?>";
parent.fregisterform.msg_mb_hp.style.color = "<?=$COLOR?>";
parent.fregisterform.mb_color.value = "<?=$COLOR?>";
//alert("<?=$MSG?>");
</script>
'개발은 핵찜이야 > HTML/CSS' 카테고리의 다른 글
CSS 별표 평점표시 (0) | 2012.04.13 |
---|---|
레이어에 스크롤 생기게 (div) (0) | 2012.04.13 |
버튼 클릭시 이미지 팝업 호출 소스 (0) | 2012.04.13 |
이미지맵태그_좌표값읽기(coords) 이미지 팝업 (0) | 2012.04.13 |
레이어 팝업 두개 달기 (0) | 2012.04.13 |
Comments