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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
<?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"); }
$_SESSION['rtn_url'] = $_SERVER['HTTP_REFERER']; ?> <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); } if('<?php echo $join_mode;?>'!=''){ $("#join_form").append("<input type='hidden' name='join_mode' value='<?php echo $join_mode;?>'>"); if('<?php echo $join_mode;?>'=='per'){ $("h2").each(function(){ if($(this).text()=="회원가입"){ $(this).text("일반 회원가입"); } }); } if('<?php echo $join_mode;?>'=='biz'){ $("h2").each(function(){ if($(this).text()=="회원가입"){ $(this).text("기업 회원가입"); } }); } } }); </script> <?php include_once($j3_shop_path."/shop_footer.php"); ?>
|