/home/mjc1/public_html/j3demo/skinm/regist/regist01.php


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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<?php
Global $cinfo$app_id;

if(
$cinfo['code']!=''){ 
    
$edit_hidden_class "screen_out"// 회원정보수정일때 숨김처리할거
    
$eidt_show_class ""// 회원정보수정일때 보여줄거
    
$page_title "회원정보수정";
}  else {
    
$eidt_show_class "screen_out";
    
$page_title "회원가입";
}

$cur_img_url $j3_img_url."/".$sk['sk_img_path'];

if(
$app_id=='lulucosmetic'){ // 룰루샵은 약관 내용보기 안봐도 체크가능하게 처리
    
$agree_view_pass "Y";
}

if(
$skin_css!=''){
    echo 
$skin_css;
} else {
?>
<style>

</style>
<?php }?>
<a id='join_top'></a>
<div class="class_skin_idx_<?php echo $sk_idx;?>">
        <h1 class="p15_0 align_c"><?php echo $page_title;?></h1>

<form name='regist_join_form' id='regist_join_form' method='post' onsubmit="return false;">
        <fieldset class="relative block">
            <legend class="screen_out"><?php echo $page_title;?></legend>
            <section class="p0_10">
                <h2 class="pb5 txt14 bold align_l black_line_b">사이트 이용정보</h2>
                <div class="pt5 pb10">
                    <dl class="mb5">
                        <dt class="height24 txt14 align_l bold l_height24"><img src="<?php echo $cur_img_url;?>/ico_join.png" alt="필수" class="height24">아이디</dt>
                        <dd><input type="text" name="login_id" id="login_id" required placeholder="영문, 숫자 조합. 3자이상" class="mr5 pl10 width_50 height35 gray_line input_readonly" minlength="3" maxlength="20" value='<?php echo $cinfo['login_id'];?>'>
                        <input type="button" value="사용확인" class="mt_1 width_quarter height37 white align_c bg_custom2 none_line id_ck_class <?php echo $edit_hidden_class;?>">
                        <div class='<?php echo $edit_hidden_class;?>' style='margin-top:3px;'>사용여부확인 을 클릭후 아이디를 입력하세요 </div></dd>
                    </dl>
                    <dl class="mb5 <?php echo $eidt_show_class;?>">
                        <dt class="height24 txt14 align_l bold l_height24"><img src="<?php echo $cur_img_url;?>/ico_join.png" alt="필수" class="height24">기존 비밀번호</dt>
                        <dd><input type="password" name="ori_passwd" id="ori_passwd" placeholder="영문+숫자 10자리이상" class="pl10 width_96 height35 gray_line"></dd>
                    </dl>
                    <dl class="mb5">
                        <dt class="height24 txt14 align_l bold l_height24"><img src="<?php echo $cur_img_url;?>/ico_join.png" alt="필수" class="height24">비밀번호</dt>
                        <dd><input type="password" name="login_passwd" id="login_passwd" placeholder="영문+숫자 10자리이상" class="pl10 width_96 height35 gray_line"></dd>
                    </dl>
                    <dl>
                        <dt class="height24 txt14 align_l bold l_height24"><img src="<?php echo $cur_img_url;?>/ico_join.png" alt="필수" class="height24">비밀번호확인</dt>
                        <dd><input type="password" name="login_passwd_re" id="login_passwd_re" placeholder="한번 더 입력해주세요." class="pl10 width_96 height35 gray_line"></dd>
                    </dl>
                </div>
            </section>

            <section class="p0_10 separate_line">
                <h2 class="pt15 pb5 txt14 bold align_l black_line_b">개인정보입력</h2>
                <div class="pt5 pb10">
                    <dl class="mb5 biz_type_class">
                        <dt class="height24 txt14 align_l bold l_height24"><img src="<?php echo $cur_img_url;?>/ico_join.png" alt="필수" class="height24">회원구분</dt>
                        <dd class="float_l width_50 height35"><input type="radio" name='per_biz_type' id="person" class="mr5 box17"><label for="person">개인</label></dd>
                        <dd class="float_l width_50 height35"><input type="radio" name='per_biz_type' id="company" class="mr5 box17" checked><label for="company">기업</label></dd>
                    </dl>
                    <dl class="mb5" style='margin-top:35px;'>
                        <dt class="height24 txt14 align_l bold l_height24"><img src="<?php echo $cur_img_url;?>/ico_join.png" alt="필수" class="height24"><span class='name_title_class'>회사명</span></dt>
                        <dd><input type="text" class="pl10 width_96 height35 gray_line comp_name_class" name='comp_name' required value='<?php echo $cinfo['comp_name'];?>'></dd>
                    </dl>
                    <dl class="mb5 biz_ck_class">
                        <dt class="height24 txt14 align_l bold l_height24"><img src="<?php echo $cur_img_url;?>/ico_join.png" alt="필수" class="height24">이름(대표자명)</dt>
                        <dd><input type="text" class="pl10 width_96 height35 gray_line" name='ceo_name' required value='<?php echo $cinfo['ceo_name'];?>'></dd>
                    </dl>
                    <dl class="mb5 biz_ck_class">
                        <dt class="height24 txt14 align_l bold l_height24"><img src="<?php echo $cur_img_url;?>/ico_join.png" alt="필수" class="height24">사업자등록번호</dt>
                        <dd><input type="text" class="pl10 width_96 height35 gray_line comp_sn_class" maxlength="12" name='comp_sn' required value='<?php echo $cinfo['comp_sn'];?>'></dd>
                    </dl>
                    <dl class="mb5 biz_ck_class">
                        <dt class="height24 txt14 align_l bold l_height24">업태</dt>
                        <dd><input type="text" class="pl10 width_96 height35 gray_line" name='biz_status' value='<?php echo $cinfo['biz_status'];?>'></dd>
                    </dl>
                    <dl class="mb5 biz_ck_class">
                        <dt class="height24 txt14 align_l bold l_height24">업종</dt>
                        <dd>
                            <select title="업종선택" class="mr5 width_triple height35 gray_line biz_item_select">
                                <option value="" selected>직접입력</option>
                                    <option value="관공서">관공서</option>
                                    <option value="도매업">도매업</option>
                                    <option value="도소매업">도소매업</option>
                                    <option value="대여업">대여업</option>
                                    <option value="문구유통">문구유통</option>
                                    <option value="배달업">배달업</option>
                                    <option value="서비스">서비스</option>
                                    <option value="소매업">소매업</option>
                                    <option value="수산유통">수산유통</option>
                                    <option value="생산유통">생산유통</option>
                                    <option value="쇼핑몰">쇼핑몰</option>
                                    <option value="쌀유통">쌀유통</option>
                                    <option value="아웃소싱">아웃소싱</option>
                                    <option value="안경유통">안경유통</option>
                                    <option value="온라인판매">온라인판매</option>
                                    <option value="의류유통">의류유통</option>
                                    <option value="임대업">임대업</option>
                                    <option value="외식업">외식업</option>
                                    <option value="유통업">유통업</option>
                                    <option value="자동차정비">자동차정비</option>
                                    <option value="전기조명">전기조명</option>
                                    <option value="종교단체">종교단체</option>
                                    <option value="제조생산">제조생산</option>
                                    <option value="헤어샵">헤어샵</option>
                            </select>
                            <input type="text" class="pl10 width_60 height35 gray_line" name='biz_item' id='biz_item' value='<?php echo $cinfo['biz_item'];?>'>
                        </dd>
                    </dl>
                    <dl class="mb5">
                        <dt class="height24 txt14 align_l bold l_height24"><img src="<?php echo $cur_img_url;?>/ico_join.png" alt="필수" class="height24">E-mail</dt>
                        <dd><input type="text" class="pl10 width_96 height35 gray_line" name='email' required value='<?php echo $cinfo['email'];?>'></dd>
                    </dl>
                    <dl class="mb5">
                        <dt class="height24 txt14 align_l bold l_height24">전화번호</dt>
                        <dd><input type="text" class="pl10 width_96 height35 gray_line telno_class" name='telno' value='<?php echo $cinfo['telno'];?>'></dd>
                    </dl>
                    <dl class="mb5">
                        <dt class="height24 txt14 align_l bold l_height24"><img src="<?php echo $cur_img_url;?>/ico_join.png" alt="필수" class="height24">휴대폰번호</dt>
                        <dd><input type="text" class="pl10 width_96 height35 gray_line telno_class" name='hpno' required value='<?php echo $cinfo['hpno'];?>'></dd>
                    </dl>
                    <dl class="mb5">
                        <dt class="height24 txt14 align_l bold l_height24"><img src="<?php echo $cur_img_url;?>/ico_join.png" alt="필수" class="height24">주소</dt>
                        <dd>
                            <p class="mb5"><input type="text" class="mr5 pl10 width_50 height35 bg_gray gray_line" id="zipcode" name='zipcode' required value='<?php echo $cinfo['zipcode'];?>'>
                                <input type="button" value="주소검색" class="mt_1 width_quarter height37 white align_c bg_custom2 none_line zip_search"></p>
                            <p class="mb5"><input type="text" placeholder="기본주소" class="pl10 width_96 height35 gray_line" name="addr_m" id="addr_m" required value='<?php echo $cinfo['addr_m'];?>'></p>
                            <p><input type="text" placeholder="상세주소" class="pl10 width_96 height35 gray_line" name="addr_d" id="addr_d" value='<?php echo $cinfo['addr_d'];?>'></p>
<div id="post_wrap" style="display:none;border:1px solid;width:350px;height:300px;margin:5px 0;position:relative">
<img src="//t1.daumcdn.net/postcode/resource/images/close.png" id="btnFoldWrap" style="cursor:pointer;position:absolute;right:0px;top:-1px;z-index:1" onclick="foldDaumPostcode()" alt="접기 버튼">
</div>
                        </dd>
                    </dl>
                </div>
            </section>

            <!--마케팅수신동의는 "선택"사항이 아닌지..PC는 "필수"로 되어 있어요-->
            <section class="p0_10 separate_line">
                <h2 class="pt15 pb5 txt14 bold align_l black_line_b">기타 개인설정</h2>
                <div class="pt5 pb10">
<?php if($config['recom_name_use']=='1'){?>
                    <dl class="mb5">
                        <dt class="height24 txt14 align_l bold l_height24">추천인 아이디</dt>
                        <dd><input type="text" class="pl10 width_96 height35 gray_line <?php echo $edit_hidden_class;?>" name='recom_name' value='<?php echo $cinfo['recom_name'];?>'><?php echo $cinfo['recom_name'];?></dd>
                    </dl>
<?php }?>
                    <dl class="mb5">
                        <dt class="height24 txt14 align_l bold l_height24"><img src="<?php echo $cur_img_url;?>/ico_join.png" alt="필수" class="height24">메일링서비스</dt>
                        <dd class="mb10 l_height19">
                            <input type="checkbox" name="mail_ok" id="mail_ok" <?php if($cinfo['mail_ok']=='1' || $cinfo['mail_ok']==''){echo "checked"; }?> class="mr5 box17" value='1'><label for="mail_ok">정보메일을 받겠습니다.</label>
                        </dd>
                    </dl>
                    <dl class="mb5">
                        <dt class="height24 txt14 align_l bold l_height24"><img src="<?php echo $cur_img_url;?>/ico_join.png" alt="필수" class="height24">SMS수신여부</dt>
                        <dd class="mb10 l_height19">
                            <input type="checkbox" name="sms_ok" id="sms_ok" <?php if($cinfo['sms_ok']=='1' || $cinfo['mail_ok']==''){echo "checked"; }?> class="mr5 box17" value='1'><label for="sms_ok">휴대폰 문자메세지를 받겠습니다.</label>
                        </dd>
                    </dl>
                </div>
            </section>

            <section class="p0_10 separate_line <?php echo $edit_hidden_class;?>">
                <h2 class="pt15 pb5 txt14 bold align_l black_line_b">이용약관</h2>
                <div class="pt5 pb10">
                    <dl class="block mb5 over_h">
                        <dt class="height24 txt14 align_l bold l_height24"><img src="<?php echo $cur_img_url;?>/ico_join.png" alt="필수" class="height24">회원가입약관</dt>
                        <dd class="float_l width_80 l_height19">
                            <input type="checkbox" id="agree1" class="mr5 box17" name="agree1" value='1' <?php if($agree_view_pass!="Y"){?>disabled<?php }?>><label for="agree1">회원가입약관에 동의합니다.</label>
                        </dd>
                        <dd class="float_r"><a class="mt3 txt14 gray gray_line_b agree_view_class">내용보기</a></dd>
                    </dl>
                    <dl class="block mb5 over_h">
                        <dt class="height24 txt14 align_l bold l_height24"><img src="<?php echo $cur_img_url;?>/ico_join.png" alt="필수" class="height24">개인정보처리방침안내</dt>
                        <dd class="float_l width_80 l_height19">
                            <input type="checkbox" id="agree2" class="mr5 box17" name="agree2" value='1' <?php if($agree_view_pass!="Y"){?>disabled<?php }?>><label for="agree2">개인정보 수집 및 이용에 동의합니다.</label>
                        </dd>
                        <dd class="float_r"><a class="mt3 txt14 gray gray_line_b personal_view_class">내용보기</a></dd>
                    </dl>
                    <?php if($agree_view_pass=="Y"){?>
                    <dl class="block mb5 over_h">
                        <dd class="width_full l_height19">
                            <div style='margin:0 auto;width:140px;'>
                            <input type="checkbox" id="agree3" class="mr5 box17" name="agree3" value='1'><label for="agree3"><b>약관 전체동의</b></label>
                            </div>
                        </dd>
                    </dl>
                    <?php }?>
                    <dl>
                        <dt class="height24 txt14 align_l bold l_height24"><img src="<?php echo $cur_img_url;?>/ico_join.png" alt="필수" class="height24">자동등록방지 확인</dt>
<?php 
    
// 스팸방지 확인 적용 JS에서 human_check() 함수이용 true일경우 진행 POST된 값에서 $_REQUEST['g-recaptcha-response'] 값이 있으면 true
    
include("{$j3_lib_path}/scaptcha/simple-php-captcha.php");
    
$captcha simple_php_captcha();
    
$_SESSION['captcha'] = $captcha;
    
$_SESSION['captcha_code'] = $captcha['code'];
    
$c_code captcha_str_ch($_SESSION['captcha']['code']);
    echo 
"<dd class=\"float_l mr5 l_height35\">{$c_code}</dd>";
    echo 
"<dd><input type='text' name='captcha_input' class='pl10 width_50 height35 gray_line' required></dd>";
?>
                        <dd class="mt3 txt12 gray">대소문자 구분해서 입력하시기 바랍니다.</dd>
                    </dl>
                </div>
            </section>

            <section class="p15_0 p0_10 bg_gray">
                <input type="button" value="<?php echo $page_title;?>" class="width_full height50 white align_c bold bg_custom2 none_line join_save_class">
            </section>
        </fieldset>
</form>
</div>