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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
<?php include_once("./_common.php"); if($_SESSION['intro_pos']=='Y'){ include_once($j3_path."/header.sub.php"); skin_module_show("intro",$sample_idx); // 상품 상세 스킨을 불러온다. } else { include_once($j3_shop_path."/shop_header.php"); } ?> <div id="container"> <div id="wrapper"> <?php skin_module_show("regjoin",$sample_idx); // 회원가입 스킨을 불러온다. ?> </div><!-- #wrapper --> </div><!-- #container --> <script> $(function(){ $(".join_back_class").css("cursor","pointer") .click(function(){ // 이전단계 window.history.go(-1); });
$("input[name='agree3']").click(function(){ if($(this).val()=='1'){ $("#agree1").click(); $("#agree3").click(); } else { $("#agree2").click(); $("#agree4").click(); } });
$(".join_next_class").css("cursor","pointer").click(function(){ $form_obj = $("#join_form"); if($form_obj.find("#agree1").is(":checked")==false){ alert('회원가입약관에 동의하셔야 합니다.'); return; } if($form_obj.find("#agree3").is(":checked")==false){ alert('개인정보처리방침안내에 동의하셔야 합니다.'); return; } document.join_form.submit();
});
if('<?php echo $_SESSION['intro_pos'];?>'=='Y'){ $hei = $("#intro_visual").height(); $pos = $("#join_top").position(); $vv = parseInt($pos.top)+parseInt($hei); $("html,body").animate({scrollTop:$vv},1000); } }); </script> <?php include_once($j3_shop_path."/shop_footer.php"); ?>
|