/home/mjc1/public_html/j3demo/skin/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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
<?php
Global $cinfo;

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(
$skin_css!=''){
    echo 
$skin_css;
} else {
?>
<style>
.join {background:url('<?php echo $cur_img_url;?>/icon_join.png') no-repeat;}
</style>
<?php }?>
<a id='join_top'></a>
<div class="class_skin_idx_<?php echo $sk_idx;?>">
        <!-- 회원가입약관 동의 시작 { -->
        <div class="pt50 pb100"><!--class="mbskin"-->
            
<form name='regist_join_form' id='regist_join_form' method='post' onsubmit="return false;">
    <?php if($cinfo['code']==''){ ?>
            <input type='hidden' name='naver_id' value='<?php echo $cinfo['naver_id'];?>'>
            <input type='hidden' name='naver_token' value='<?php echo $cinfo['naver_token'];?>'>
    <?php }?>
            <div class="mt30"><!--tbl_frm01 tbl_wrap-->

                <table class="width_full top_bold_line">
                    <caption class="mb10 txt16 align_l bold">사이트 이용정보</caption>
                    <colgroup>
                        <col class="width50"><col class="width140"><col>
                    </colgroup>
                    <tbody>
                    <tr>
                        <th scope="row" class="p10_0 txt14 gray_line_b2"><p class="box30 float_r txt_none join" style="background-position:-5px -5px"><span class="screen_out">필수</span></p></th>
                        <th scope="row" class="p10_0 pl10 txt14 align_l gray_line_b2">아이디</th>
                        <td class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                            <input type="text" name="login_id" id="login_id" required class="box170_30 gray_line input_readonly" minlength="3" maxlength="20" value='<?php echo $cinfo['login_id'];?>'>
                            <span class="ml5 box120_30 white align_c l_height30 bg_custom2 id_ck_class <?php echo $edit_hidden_class;?>">사용여부확인</span><span class="id_choice_info ml10 gray2 <?php echo $edit_hidden_class;?>">사용여부확인 을 클릭후 아이디를 입력하세요 </span>
                        </td>
                    </tr>
                    <tr class='<?php echo $eidt_show_class;?>'>
                        <th scope="row" class="p10_0 txt14 gray_line_b2"><p class="box30 float_r txt_none join" style="background-position:-5px -5px"><span class="screen_out">필수</span></p></th>
                        <th scope="row" class="p10_0 pl10 txt14 align_l gray_line_b2">기존 비밀번호</th>
                        <td class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                            <input type="password" name="ori_passwd" id="ori_passwd" required class="box170_30 gray_line" minlength="3" maxlength="20"><span class="ml10 gray2">※ 영문+숫자 10자리 이상 입력하세요.</span>
                        </td>
                    </tr>
                    <tr>
                        <th scope="row" class="p10_0 txt14 gray_line_b2"><p class="box30 float_r txt_none join" style="background-position:-5px -5px"><span class="screen_out">필수</span></p></th>
                        <th scope="row" class="p10_0 pl10 txt14 align_l gray_line_b2">비밀번호</th>
                        <td class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                            <input type="password" name="login_passwd" id="login_passwd" required class="box170_30 gray_line" minlength="3" maxlength="20"><span class="ml10 gray2">※ 영문+숫자 10자리 이상 입력하세요.</span>
                        </td>
                    </tr>
                    <tr>
                        <th scope="row" class="p10_0 txt14 gray_line_b2"><p class="box30 float_r txt_none join" style="background-position:-5px -5px"><span class="screen_out">필수</span></p></th>
                        <th scope="row" class="p10_0 pl10 txt14 align_l gray_line_b2">비밀번호 확인</th>
                        <td class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                            <input type="password" name="login_passwd_re" id="login_passwd_re" required class="box170_30 gray_line" minlength="3" maxlength="20">
                        </td>
                    </tr>
                    </tbody>
                    </table>
            </div>

            <div class="mt30"><!--tbl_frm01 tbl_wrap-->
                <table class="width_full top_bold_line">
                    <caption class="mb10 txt16 align_l bold">개인정보 입력</caption>
                    <colgroup>
                        <col class="width50"><col class="width140"><col>
                    </colgroup>
                    <tbody>
                    <tr class='biz_type_class'>
                        <th scope="row" class="p10_0 txt14 gray_line_b2"><p class="box30 float_r txt_none join" style="background-position:-5px -5px"><span class="screen_out">필수</span></p></th>
                        <th scope="row" class="p10_0 pl10 txt14 align_l gray_line_b2">회원구분</th>
                        <td class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                            <input type="radio" name='per_biz_type' id="person" class="mr5 v_align_m border_0" value='0'><label for="person" class="mr10">개인</label>
                            &nbsp;
                            <input type="radio" name='per_biz_type' id="company" class="mr5 v_align_m border_0" value='1' checked><label for="company">기업</label>
                        </td>
                    </tr>
                    <tr >
                        <th scope="row" class="p10_0 txt14 gray_line_b2"><p class="box30 float_r txt_none join" style="background-position:-5px -5px"><span class="screen_out">필수</span></p></th> 
                        <th scope="row" class="p10_0 pl10 txt14 align_l gray_line_b2 name_title_class">회사명</th>
                        <td class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                            <input type="text" class="box170_30 gray_line comp_name_class" name='comp_name' required value='<?php echo $cinfo['comp_name'];?>'>
                        </td>
                    </tr>
                    <tr class='biz_ck_class'>
                        <th scope="row" class="p10_0 txt14 gray_line_b2"><p class="box30 float_r txt_none join" style="background-position:-5px -5px"><span class="screen_out">필수</span></p></th>
                        <th scope="row" class="p10_0 pl10 txt14 align_l gray_line_b2">이름<span class="txt13">(대표자명)</span></th>
                        <td class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                            <input type="text" class="box170_30 gray_line" name='ceo_name' required value='<?php echo $cinfo['ceo_name'];?>'>
                        </td>
                    </tr>
                    <tr class='biz_ck_class'>
                        <th scope="row" class="p10_0 txt14 gray_line_b2"><p class="box30 float_r txt_none join" style="background-position:-5px -5px"><span class="screen_out">필수</span></p></th> 
                        <th scope="row" class="p10_0 pl10 txt14 align_l gray_line_b2">사업자등록번호</th>
                        <td class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                            <input type="text" class="box170_30 gray_line comp_sn_class" size="5" maxlength="12" name='comp_sn' required value='<?php echo $cinfo['comp_sn'];?>'>
                        </td>
                    </tr>
                    <tr class='biz_ck_class'>
                        <th scope="row" class="p10_0 txt14 gray_line_b2"></th> 
                        <th scope="row" class="p10_0 pl10 txt14 align_l gray_line_b2">업태</th>
                        <td class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                            <input type="text" class="box170_30 gray_line" name='biz_status' value='<?php echo $cinfo['biz_status'];?>'>
                        </td>
                    </tr>
                    <tr class='biz_ck_class'>
                        <th scope="row" class="p10_0 txt14 gray_line_b2"></th> 
                        <th scope="row" class="p10_0 pl10 txt14 align_l gray_line_b2">업종</th>
                        <td class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                            <div class="relative box170_30 gray_line" style="background: url('<?php echo $cur_img_url;?>/location.png') no-repeat right -85px;">
                                <label class="absolute ab_top_left10 box170_30 ellipsis l_height30 pointer">업종선택</label>
                                <select title="업종선택" class="box170_30 p0_10 opacity0 pointer 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>
                            </div><input type="text" class="ml5 box170_30 gray_line" name='biz_item' id='biz_item' value='<?php echo $cinfo['biz_item'];?>'>
                        </td>
                    </tr>
                    
                    <tr>
                        <th scope="row" class="p10_0 txt14 gray_line_b2"><p class="box30 float_r txt_none join" style="background-position:-5px -5px"><span class="screen_out">필수</span></p></th>
                        <th scope="row" class="p10_0 pl10 txt14 align_l gray_line_b2">E-mail</th>
                        <td class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                            <input type="text" class="box340_30 gray_line" name='email' required value='<?php echo $cinfo['email'];?>'>
                        </td>
                    </tr>

                    
                    <tr>
                        <th scope="row" class="p10_0 txt14 gray_line_b2"></th>
                        <th scope="row" class="p10_0 pl10 txt14 align_l gray_line_b2">전화번호</th>
                        <td class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                            <input type="text" class="box170_30 gray_line telno_class" name='telno' value='<?php echo $cinfo['telno'];?>'>
                        </td>
                    </tr>
                    
                    <tr>
                        <th scope="row" class="p10_0 txt14 gray_line_b2"><p class="box30 float_r txt_none join" style="background-position:-5px -5px"><span class="screen_out">필수</span></p></th>
                        <th scope="row" class="p10_0 pl10 txt14 align_l gray_line_b2">휴대폰번호</th>
                        <td class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                            <input type="text" class="box170_30 gray_line telno_class" name='hpno' required value='<?php echo $cinfo['hpno'];?>'>
                        </td>
                    </tr>
                    
                    <tr>
                        <th scope="row" class="p10_0 txt14 gray_line_b2"><p class="box30 float_r txt_none join" style="background-position:-5px -5px"><span class="screen_out">필수</span></p></th>
                        <th scope="row" class="p10_0 pl10 txt14 align_l gray_line_b2">주소</th>
                        <td class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                            <p class="mb5">
                                <label for="zipcode" class="screen_out">우편번호 앞자리</label>
                                <input type="text" id="zipcode" class="box100_30 gray_line" name='zipcode' required value='<?php echo $cinfo['zipcode'];?>'>
                                <button type="button" class="ml5 box100_30 white align_c l_height30 v_align_m bg_custom2 line0 zip_search">주소검색</button>
                            </p>
                            <p class="mb5">
                                <input type="text" name="addr_m" id="addr_m" class="box340_30 gray_line" size="50" required value='<?php echo $cinfo['addr_m'];?>'><label for="reg_mb_addr1" class="ml10 gray2">기본주소</label>
                            </p>
                            <p class="mb5">
                                <input type="text" name="addr_d" id="addr_d" class="box340_30 gray_line" size="50" required value='<?php echo $cinfo['addr_d'];?>'><label for="reg_mb_addr2" class="ml10 gray2">상세주소</label>
                            </p>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>

            <div class="mt30"><!-- class="tbl_frm01 tbl_wrap"-->
                <table class="width_full top_bold_line">
                    <caption class="mb10 txt16 align_l bold">기타 개인설정</caption>
                    <colgroup>
                        <col class="width50"><col class="width140"><col>
                    </colgroup>
                    <tbody>
<?php if($config['recom_name_use']=='1'){?>
                    <tr>
                        <th scope="row" class="p10_0 txt14 gray_line_b2"></th>
                        <th scope="row" class="p10_0 pl10 txt14 align_l gray_line_b2">추천인 아이디</th>
                        <td class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                            <input type="text" class="box170_30 gray_line <?php echo $edit_hidden_class;?>" name='recom_name' value='<?php echo $cinfo['recom_name'];?>'>
                            <?php echo $cinfo['recom_name'];?>
                        </td>
                    </tr>
<?php }?>
                    <tr>
                        <th scope="row" class="p10_0 txt14 gray_line_b2"><p class="box30 float_r txt_none join" style="background-position:-5px -5px"><span class="screen_out">필수</span></p></th>
                        <th scope="row" class="p10_0 pl10 txt14 align_l gray_line_b2">메일링서비스</th>
                        <td class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                            <input type="checkbox" name="mail_ok" id="mail_ok" <?php if($cinfo['mail_ok']=='1' || $cinfo['mail_ok']==''){echo "checked"; }?> value='1'><label for="mail_ok" class="ml5 pointer">정보 메일을 받겠습니다.</label>
                        </td>
                    </tr>

                    <tr>
                        <th scope="row" class="p10_0 txt14 gray_line_b2"><p class="box30 float_r txt_none join" style="background-position:-5px -5px"><span class="screen_out">필수</span></p></th>
                        <th scope="row" class="p10_0 pl10 txt14 align_l gray_line_b2">SMS 수신여부</th>
                        <td class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
                            <input type="checkbox" name="sms_ok" id="sms_ok" <?php if($cinfo['mail_ok']=='1' || $cinfo['mail_ok']==''){echo "checked"; }?> value='1'><label for="sms_ok" class="ml5 pointer">휴대폰 문자메세지를 받겠습니다.</label>
                        </td>
                    </tr>

                    <tr class='<?php echo $edit_hidden_class;?>'>
                        <th scope="row" class="p10_0 txt14 gray_line_b2"><p class="box30 float_r txt_none join" style="background-position:-5px -5px"><span class="screen_out">필수</span></p></th>
                        <th scope="row" class="p10_0 pl10 txt14 align_l gray_line_b2">자동등록방지</th>
                        <td class="pt10 pb10 pl20 txt14 gray2 gray_line_b2">
<?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 
"<ul><li style='float:left;line-height:28px;' class='txt21'>{$c_code}</li>";
    echo 
"<li style=''>&nbsp;<input type='text' name='captcha_input' class='box100_30' style='margin-bottom:5px;' required></li></ul>";
?>
                            <span class='help_info'>대소문자 구분해서 입력하시기 바랍니다.</span>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
</form>
            <div class="mt50 align_c"><!--btn_confirm-->
                <input type="button" class="box170_50 custom2 bold custom_line2 bg_white join_back_class" value="<?php echo $btn1_title;?>">
                <input type="submit" class="box170_50 white bold line0 bg_custom2 join_save_class" value="<?php echo $btn2_title;?>">
            </div>
        </form>
        </div>
        <!-- } 회원정보 입력/수정 끝 -->
</div>