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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
|
<?php $sub_menu = "100200"; include("./_common.php"); include("./auth_check.php"); // 관리자 권한 체크 include($j3_adm_path."/shop_header.php");
$sql = "select * from user_config where menu_name = 'shop_config_shop' "; // user_config 값을 가져옴 $res = mysql_query($sql,$connect_j3); while($info=mysql_fetch_array($res)){ $configshop[$info['config_key']] = $info['config_val']; }
if($configshop['office_code']==''){ $configshop['office_code']='1'; }
$sql = "select comp_name, ceo_name, comp_sn, zipcode, addr_m, addr_d, telno1, faxno, hpno, email from offices where code = '{$configshop['office_code']}' limit 1"; // 사업장 정보를 가져옴 $res = mysql_query($sql,$connect_j3); $info=mysql_fetch_object($res); foreach($info as $key=>$val){ $configshop[$key] = $val; } //_pr($configshop);
$office_array = office_array_get(); //_pr($office_array);
$sql = "select max(seq) from multi_price"; $res = mysql_query($sql,$connect_j3); $multi_seq_info = mysql_fetch_array($res);
$sql = "select seq, pricename from multi_price_name where biztype = '1' "; $res = mysql_query($sql,$connect_j3); $mprice_name = null; while($info=mysql_fetch_array($res)){ $mprice_name[$info['seq']] = $info['pricename']; } for($i=1;$i<=$multi_seq_info[0];$i++){ $info = null; $info['seq'] = $i; $info['pricename'] = $mprice_name[$info['seq']]; $mprice_list[] = $info; }
if($configshop['sell_tel_text']==''){ $configshop['sell_tel_text'] = "해당상품은 주문제작상품으로 {$configshop['telno1']}으로 전화주시기 바랍니다."; }
?> <?php if($shop_du_size>$limit_mbyte){ ?> <script src="<?php echo $j3_lib_url?>/ckeditor-nf/ckeditor.js"></script> <?php } else { ?> <script src="<?php echo $j3_lib_url?>/ckeditor/ckeditor.js"></script> <?php }?> <div id="wrap" class='container_wrap'> <div id="sub-title"> <h2>쇼핑몰환경 설정</h2> <div class="sub-location"> <a href="./index.php" class="home"><span class="screen_out">홈</span></a> <span class="location-gt"></span> <a>환경설정</a> <span class="location-gt"></span> <a>쇼핑몰환경 설정</a> </div> </div>
<form name='config_shop_form' id='config_shop_form' method='post' action='ajax.config_shop_process.php' enctype="multipart/form-data">
<div class='cust_modal1'> <h4>사업자정보</h4> <table class="order-sheet table-top-border"> <caption class="screen_out">사업자정보</caption> <colgroup> <col style="width:150px;"><col style="width:250px;"> <col style="width:150px;"><col style="width:250px;"> <col style="width:150px;"><col style="width:250px;"> </colgroup>
<tbody> <tr> <th>사업장선택</th> <td colspan=5> <select name='office_code' id='office_code' class='width_180'> <?php foreach($office_array as $key=>$val){ if($configshop['office_code']==$key){ $std = "selected"; } else { $std = ""; } echo " <option value='{$key}' {$std}>{$val} ({$key})</option>"; } ?> </select> <span class='help_info'>변경후 저장하셔야 적용됩니다.</span><br> <span class='help_info'>사업장은 쇼핑몰 시작시점에서 한번정한후 변경하시면 안됩니다. 사업장을 중간에 변경하게되면 천년3 매출쪽의 연동이 틀어지는 상황이 생길수 있습니다. </span><br> <span class='help_info'>처음시작전에 쇼핑몰로 사용할 사업장을 천년3에서 만드시고 이곳에서 선택해서 사용하시기 바랍니다.</span> </td> </tr> <tr> <th>회사명</th> <td> <input type='text' name='comp_name' class='' value='<?php echo $configshop['comp_name'];?>'> </td> <th>대표자명</th> <td> <input type='text' name='ceo_name' class='' value='<?php echo $configshop['ceo_name'];?>'> </td> <th>사업자번호</th> <td><input type='text' name='comp_sn' class='comp_sn_class_office' value='<?php echo $configshop['comp_sn'];?>' ></td> </tr> <tr> <th>대표전화번호</th> <td> <input type='text' name='telno1' class='telno_class' value='<?php echo $configshop['telno1'];?>'> </td> <th>핸드폰번호</th> <td > <input type='text' name='hpno' class='telno_class' value='<?php echo $configshop['hpno'];?>'> </td> <th>팩스번호</th> <td> <input type='text' name='faxno' class='telno_class' value='<?php echo $configshop['faxno'];?>'> </td> </tr> <tr> <th>우편번호</th> <td> <input type='text' name='zipcode' id='zipcode' class='width_60' value='<?php echo $configshop['zipcode'];?>'> <a class='zip_search'>[우편번호검색]</a> </td> <th>주소 </th> <td > <input type='text' name='addr_m' id='addr_m' class='width_200' value='<?php echo $configshop['addr_m'];?>'> </td> <td colspan=2> <input type='text' name='addr_d' id='addr_d' class='width_300' value='<?php echo $configshop['addr_d'];?>'> </td> </tr> <tr> <th>통신판매업 신고번호</th> <td> <input type='text' name='tongsin_no' class='' value='<?php echo $configshop['tongsin_no'];?>'> </td> <th>부가통신 사업자번호</th> <td colspan=3> <input type='text' name='buga_no' class='' value='<?php echo $configshop['buga_no'];?>'> </td> </tr> <tr> <th>정보관리책임자명</th> <td> <input type='text' name='admin_info_name' class='' value='<?php echo $configshop['admin_info_name'];?>'> </td> <th>정보책임자 Email</th> <td colspan=3> <input type='text' name='admin_info_email' class='' value='<?php echo $configshop['admin_info_email'];?>'> </td> </tr> </table> </div>
<div class='cust_modal2'> <h4>결제 정보</h4> <table class="order-sheet table-top-border"> <caption class="screen_out">결제 정보</caption> <colgroup> <col style="width:120px;"><col style="width:200px;"> <col style="width:120px;"><col style="width:200px;"> <col style="width:120px;"><col style="width:200px;"> </colgroup>
<tbody> <tr> <th>구매 권한</th> <td colspan=5> <select name='buy_level'> <?php if($configshop['guest_buy']=='1'){?> <option value='1'>1(비회원)</option> <?php }?> <option value='2' <?php if($configshop['buy_level']=='2'){ echo "selected"; }?>>2(회원)</option> <option value='3' <?php if($configshop['buy_level']=='3'){ echo "selected"; }?>>3(회원)</option> <option value='4' <?php if($configshop['buy_level']=='4'){ echo "selected"; }?>>4(회원)</option> <option value='5' <?php if($configshop['buy_level']=='5'){ echo "selected"; }?>>5(회원)</option> </select> </td> </tr> <tr> <th>가격표시 권한</th> <td colspan=5> <select name='price_level'> <option value='1' <?php if($configshop['price_level']=='1'){ echo "selected"; }?>>1(비회원)</option> <option value='2' <?php if($configshop['price_level']=='2'){ echo "selected"; }?>>2(회원)</option> <option value='3' <?php if($configshop['price_level']=='3'){ echo "selected"; }?>>3(회원)</option> <option value='4' <?php if($configshop['price_level']=='4'){ echo "selected"; }?>>4(회원)</option> <option value='5' <?php if($configshop['price_level']=='5'){ echo "selected"; }?>>5(회원)</option> </select> 가격표시권한으로 구매권한까지 처리함 <input type='radio' name='price_level_buy' value='0' <?php if($configshop['price_level_buy']=='0'){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='price_level_buy' value='1' <?php if($configshop['price_level_buy']=='1' || $configshop['price_level_buy']==''){?>checked<?php }?>> 사용 <br><span class='help_info'><b class='bold'>가격표시권한으로 구매권한까지 처리함</b>을 사용안함으로 처리하고 구매권한보다 가격표시권한이 높을시 상품리스트,상품상세에서는 가격이 안보이지만 장바구니, 구매시에는 가격이 표시됩니다.</span> </td> </tr> <tr> <th>무통장입금 사용</th> <td colspan=5> <input type='radio' name='bank_use' value='0' <?php if($configshop['bank_use']=='0'){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='bank_use' value='1' <?php if($configshop['bank_use']=='1' || $configshop['bank_use']==''){?>checked<?php }?>> 사용 </td> </tr> <tr> <th>은행계좌번호</th> <td colspan=5> <?php if($shop_bank=="1"){ ?> <span class='help_info'>천년3에서 쇼핑몰 전용계좌가 활성화 되어 있습니다. 천년경영->은행계과관리에서 쇼핑몰 사용 체크된 계좌만 보입니다.(이곳에서 추가하면 쇼핑몰 사용 체크되어서 저장됩니다.)</span><br> <?php }?> <span class='btn_frmline2 add_bank_account'>계좌번호 추가</span> <table class='bank_table'> <colgroup> <col style="width:50px;"><col style="width:200px;"><col style="width:400px;"><col style="width:200px;"> </colgroup> <thead> <tr> <th><!--<input type='checkbox' class='bank_ck_all'> disabled된거 체크되어서 일단 동작금지--></th> <th>은행명</th> <th>계좌번호</th> <th>예금주명</th> </tr> </thead> <tbody> </tbody> </table> <span class='btn_frmline2 del_bank_account' style='margin-bottom:5px;'>선택삭제</span> <span class='help_info'>매출로 사용된 계좌는 삭제불가(수정은 가능)</span> <br><span class='help_info'>은행계좌정보는 추가나 삭제후 쇼핑몰환경설정을 저장해야 반영이 됩니다.</span> </td> </tr> <tr> <th>계좌이체 사용</th> <td colspan=5> <input type='radio' name='iche_use' value='0' <?php if($configshop['iche_use']=='0' || $configshop['iche_use']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='iche_use' value='1' <?php if($configshop['iche_use']=='1'){?>checked<?php }?>> 사용 </td> </tr> <tr> <th>가상계좌 사용</th> <td colspan=5> <input type='radio' name='virtual_use' value='0' <?php if($configshop['virtual_use']=='0' || $configshop['virtual_use']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='virtual_use' value='1' <?php if($configshop['virtual_use']=='1'){?>checked<?php }?>> 사용 </td> </tr> <tr> <th>신용카드 사용</th> <td colspan=5> <input type='radio' name='card_use' value='0' <?php if($configshop['card_use']=='0' || $configshop['card_use']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='card_use' value='1' <?php if($configshop['card_use']=='1'){?>checked<?php }?>> 사용 </td> </tr> <tr> <th>결제대행사</th> <td colspan=5> <select name='pg_service'> <option value='uplus'>LG유플러스</option> </select> </td> </tr> <tr> <th>상점 아이디</th> <td> <input type='text' name='pg_id' class='' value='<?php echo $configshop['pg_id'];?>'> </td> <th>상점 키</th> <td colspan=3> <input type='text' name='pg_key' class='width_300' value='<?php echo $configshop['pg_key'];?>'> </td> </tr> <tr> </tr> <tr> <th>에스크로 사용</th> <td colspan=5> <input type='radio' name='escrow_use' value='0' <?php if($configshop['escrow_use']=='0' || $configshop['escrow_use']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='escrow_use' value='1' <?php if($configshop['escrow_use']=='1'){?>checked<?php }?>> 사용 </td> </tr> <tr> <th>결제테스트</th> <td colspan=5> <input type='radio' name='pg_test' value='0' <?php if($configshop['pg_test']=='0' || $configshop['pg_test']==''){?>checked<?php }?>> <span class='red0'>테스트결제</span> <input type='radio' name='pg_test' value='1' <?php if($configshop['pg_test']=='1'){?>checked<?php }?>> <span class='blue0'>실결제</span> </td> </tr> <tr> <th>회원취소권한</th> <td colspan=5> <input type='radio' name='cancel_level' value='0' <?php if($configshop['cancel_level']=='0' || $configshop['cancel_level']==''){?>checked<?php }?>> 미입금시만 취소가능 <input type='radio' name='cancel_level' value='1' <?php if($configshop['cancel_level']=='1'){?>checked<?php }?>> 미입금,입금완료시 취소가능 </td> </tr> <?php if($app_id=='ryunen' || $app_id=='mjflower'){ ?> <tr> <th>비회원구매가능</th> <td colspan=5> <input type='radio' name='guest_buy' value='0' <?php if($configshop['guest_buy']=='0' || $configshop['guest_buy']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='guest_buy' value='1' <?php if($configshop['guest_buy']=='1'){?>checked<?php }?>> 사용 <span class='help_info'>비회원도 구매 가능하게 처리(상단 구매권한도 1로 수정해야 비회원이 정상적으로 구매할수 있습니다.)</span> </td> </tr> <tr> <th>비회원 매출지정 거래처</th> <td colspan=5> <input type='hidden' name='guest_ccode' class='' value='<?php echo $configshop['guest_ccode'];?>'> <input type='hidden' name='guest_id' class='' value='<?php echo $configshop['guest_id'];?>'> <input type='text' name='guest_cname' class='width_200 input_readonly' value='<?php echo $configshop['guest_cname'];?>'> <?php if($code==''){?> <span class='cust_open'>[거래처검색]</span><?php }?> </td> </tr> <?php } ?>
</table> </div>
<div class='cust_modal2'> <h4>포인트 정보</h4> <table class="order-sheet table-top-border"> <caption class="screen_out">포인트 정보</caption> <colgroup> <col style="width:120px;"><col style="width:200px;"> <col style="width:120px;"><col style="width:200px;"> <col style="width:120px;"><col style="width:200px;"> </colgroup>
<tbody> <tr> <th>포인트 사용여부</th> <td colspan=5> <input type='radio' name='po_use' value='0' <?php if($configshop['po_use']=='0' || $configshop['po_use']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='po_use' value='1' <?php if($configshop['po_use']=='1'){?>checked<?php }?>> 사용함 <span class='help_info'>포인트사용여부가 사용안함일경우 주문시 포인트 적립과 결제시 포인트사용도 불가해집니다.</span> </td> </tr> <tr> <th>회원가입시 포인트 부여</th> <td> <input type='text' name='po_join' class='number_class' value='<?php echo number_format($configshop['po_join']);?>'> </td> <th>포인트 결제시적립</th> <td> <select name='po_payment' style='width:200px;'> <option value='0' <?php if($configshop['po_payment']=='0'){?>selected<?php }?>>적립안함</option> <option value='1' <?php if($configshop['po_payment']=='1' || $configshop['po_payment']==''){?>selected<?php }?>>모든결제</option> <option value='2' <?php if($configshop['po_payment']=='2'){?>selected<?php }?>>현금(무통장입금)결제시만</option> </select> </td> <th>결제시 포인트사용</th> <td> <input type='radio' name='po_payuse' value='0' <?php if($configshop['po_payuse']=='0' || $configshop['po_payuse']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='po_payuse' value='1' <?php if($configshop['po_payuse']=='1'){?>checked<?php }?>> 사용함 </td> </tr> <tr> <th>결제 최소포인트</th> <td> <input type='text' name='po_minpoint' class='number_class' value='<?php echo number_format($configshop['po_minpoint']);?>'> </td> <th>결제시 최대사용포인트</th> <td colspan=1> <input type='text' name='po_maxpoint' class='number_class' value='<?php echo number_format($configshop['po_maxpoint']);?>'> </td> <th>배송비 포인트결제관련</th> <td colspan=1 style='font-size:0.8em;'> <input type='radio' name='po_deli_exc' value='0' <?php if($configshop['po_deli_exc']=='0' || $configshop['po_deli_exc']==''){?>checked<?php }?>> 포인트결제 가능 <input type='radio' name='po_deli_exc' value='1' <?php if($configshop['po_deli_exc']=='1'){?>checked<?php }?>> <span class='red0'>배송비 포인트결제 불가</span> </td> </tr> </table> </div>
<div id="sub-contents-area" style='padding-left:500px;padding-top:20px;'> <div class="sub-btn-area"> <div class="sub-btn"> <a class="lignt-blue-btn btn_customer_save">저장</a> <a class="gray-btn btn_cancel_save">취소</a> </div> </div> </div>
<div class='cust_modal2'> <h4>배송 정보</h4> <table class="order-sheet table-top-border"> <caption class="screen_out">배송 정보</caption> <colgroup> <col style="width:150px;"><col style="width:450px;"> <col style="width:150px;"><col style="width:450px;"> </colgroup>
<tbody> <tr> <th>배송업체</th> <td> <select name='deli_company'> <?php echo get_delivery_company($configshop['deli_company']); ?> </select> </td> <th>배송비 유형</th> <td colspan=3> <select name='deli_type' class='width_200'> <option value='p' <?php if($configshop['deli_type']=='p'){ echo "selected"; }?>>지정금액이하 기본배송비</option> <option value='r' <?php if($configshop['deli_type']=='r'){ echo "selected"; }?>>지정금액마다 배송비책정</option> <option value='f' <?php if($configshop['deli_type']=='f'){ echo "selected"; }?>>무료배송</option> </select> </td> </tr> <tr> <th>배송비상한가</th> <td> <input type='text' name='deli_amount' class='' value='<?php echo $configshop['deli_amount'];?>'> </td> <th>배송비</th> <td colspan=3> <input type='text' name='deli_price' class='' value='<?php echo $configshop['deli_price'];?>'> </td> </tr> <tr> <th>배송비참고사항</th> <td colspan=3> <span class='help_info'>이곳의 조건은 상품별 배송비지정된것 이외의 금액만으로 책정됩니다. 지정금액마다 배송비 측정은 금액의 배수바다 배송비를 책정합니다.</span> </td> </tr> <tr> <th>배송 정보</th> <td colspan=5 style='padding:10px;height:250px;'> <textarea name='deli_info' class='deli_info'><?php echo $configshop['deli_info'];?></textarea> </td> </tr> <tr> <th>교환/반품 정보</th> <td colspan=5 style='padding:10px;height:250px;'> <textarea name='deli_return' class='deli_return'><?php echo $configshop['deli_return'];?></textarea> </td> </tr> <tr> <th>자동 배송완료 일</th> <td colspan=5 > <input name='deli_comp_day' class='deli_comp_day width_60' value='<?php echo $configshop['deli_comp_day'];?>' >일 <span class='help_info'>배송후 해당일이 지나면 자동으로 배송완료(수령)처리 합니다. 실질적인 택배배송일을 감안해서 적용하시기 바랍니다. 기본 7일(공백시 적용안함)</span> </td> </tr> </table> </div>
<div class='cust_modal2'> <h4>로고 이미지</h4> <table class="order-sheet table-top-border"> <caption class="screen_out">포인트 정보</caption> <colgroup> <col style="width:150px;"><col style="width:1050px;"> </colgroup>
<tbody> <tr> <th>PC상단 로고</th> <td > <input type='file' name='logo_pc_1' > <?php if(file_exists("{$j3_data_path}/ico/logo_pc_1")){?><img src='<?php echo "{$j3_data_url}/ico/logo_pc_1";?>'><?php }?> <input type='checkbox' name='imgdel_logo_pc_1' value='1'>삭제 </td> </tr> <tr> <th>PC하단 로고</th> <td colspan=5> <input type='file' name='logo_pc_2' > <?php if(file_exists("{$j3_data_path}/ico/logo_pc_2")){?><img src='<?php echo "{$j3_data_url}/ico/logo_pc_2";?>'><?php }?> <input type='checkbox' name='imgdel_logo_pc_2' value='1'>삭제 </td> </tr> <tr> <th>모바일상단 로고</th> <td colspan=5> <input type='file' name='logo_mo_1' > <?php if(file_exists("{$j3_data_path}/ico/logo_mo_1")){?><img src='<?php echo "{$j3_data_url}/ico/logo_mo_1";?>'><?php }?> <input type='checkbox' name='imgdel_logo_mo_1' value='1'>삭제 </td> </tr> <tr> <th>모바일하단 로고</th> <td colspan=5> <input type='file' name='logo_mo_2' > <?php if(file_exists("{$j3_data_path}/ico/logo_mo_2")){?><img src='<?php echo "{$j3_data_url}/ico/logo_mo_2";?>'><?php }?> <input type='checkbox' name='imgdel_logo_mo_2' value='1'>삭제 </td> </tr> <tr> <th>내용 상단 이미지</th> <td colspan=5> <input type='file' name='content_header' > <?php if(file_exists("{$j3_data_path}/ico/content_header")){?><img src='<?php echo "{$j3_data_url}/ico/content_header";?>' style='max-width:600px;'><?php }?> <input type='checkbox' name='imgdel_content_header' value='1'>삭제 </td> </tr> <tr> <th>내용 하단 이미지</th> <td colspan=5> <input type='file' name='content_footer' > <?php if(file_exists("{$j3_data_path}/ico/content_header")){?><img src='<?php echo "{$j3_data_url}/ico/content_header";?>' style='max-width:600px;'><?php }?> <input type='checkbox' name='imgdel_content_footer' value='1'>삭제 </td> </tr> <tr> <th>모바일 내용 상단 이미지</th> <td colspan=5> <input type='file' name='content_header_m' > <?php if(file_exists("{$j3_data_path}/ico/content_header_m")){?><img src='<?php echo "{$j3_data_url}/ico/content_header_m";?>' style='max-width:600px;'><?php }?> <input type='checkbox' name='imgdel_content_header_m' value='1'>삭제 </td> </tr> <tr> <th>모바일 내용 하단 이미지</th> <td colspan=5> <input type='file' name='content_footer_m' > <?php if(file_exists("{$j3_data_path}/ico/content_footer_m")){?><img src='<?php echo "{$j3_data_url}/ico/content_footer_m";?>' style='max-width:600px;'><?php }?> <input type='checkbox' name='imgdel_content_footer_m' value='1'>삭제 </td> </tr> </table> </div>
<div class='cust_modal2'> <h4>기타 설정</h4> <table class="order-sheet table-top-border"> <caption class="screen_out">기타 정보</caption> <colgroup> <col style="width:150px;"><col style="width:1050px;"> </colgroup>
<tbody> <tr> <th>상단고정여부</th> <td > <input type='radio' name='header_fixed' value='0' <?php if($configshop['header_fixed']=='0'){?>checked<?php }?>> PC,모바일 고정하지 않음 <input type='radio' name='header_fixed' value='1' <?php if($configshop['header_fixed']=='1' || $configshop['header_fixed']==''){?>checked<?php }?>> PC 비고정, 모바일 고정 <input type='radio' name='header_fixed' value='2' <?php if($configshop['header_fixed']=='2'){?>checked<?php }?>> PC 고정, 모바일 비고정 <input type='radio' name='header_fixed' value='3' <?php if($configshop['header_fixed']=='3'){?>checked<?php }?>> PC, 모바일 모두고정 </td> </tr> <tr> <th>상품상세 이미지 사이즈</th> <td > 큰이미지 width : <input type='text' name='img_max_width' class='width_60' value='<?php echo $configshop['img_max_width'];?>'> px 큰이미지 height : <input type='text' name='img_max_height' class='width_60' value='<?php echo $configshop['img_max_height'];?>'> px 썸네일 width : <input type='text' name='img_thumb_width' class='width_60' value='<?php echo $configshop['img_thumb_width'];?>'> px 썸네일 height : <input type='text' name='img_thumb_height' class='width_60' value='<?php echo $configshop['img_thumb_height'];?>'> px </td> </tr> <tr> <th>관련상품 정보</th> <td > 이미지 width : <input type='text' name='img_rel_width' class='width_60' value='<?php echo $configshop['img_rel_width'];?>'> px 이미지 height : <input type='text' name='img_rel_height' class='width_60' value='<?php echo $configshop['img_rel_height'];?>'> px 상품갯수 : <input type='text' name='rel_list_cnt' class='width_60' value='<?php echo $configshop['rel_list_cnt'];?>'> </td> </tr> <tr> <th>관련상품(모바일) 정보</th> <td > 이미지 width : <input type='text' name='img_mo_rel_width' class='width_60' value='<?php echo $configshop['img_mo_rel_width'];?>'> px 이미지 height : <input type='text' name='img_mo_rel_height' class='width_60' value='<?php echo $configshop['img_mo_rel_height'];?>'> px 상품갯수 : <input type='text' name='rel_mo_list_cnt' class='width_60' value='<?php echo $configshop['rel_mo_list_cnt'];?>'> </td> </tr> <tr> <th>상품유형 대체문구</th> <td > type1(<?php echo $type_default_txt[1];?>) : <input type='text' name='type1_rep_txt' class='width_100' value='<?php echo $configshop['type1_rep_txt'];?>'> type2(<?php echo $type_default_txt[2];?>) : <input type='text' name='type2_rep_txt' class='width_100' value='<?php echo $configshop['type2_rep_txt'];?>'> type3(<?php echo $type_default_txt[3];?>) : <input type='text' name='type3_rep_txt' class='width_100' value='<?php echo $configshop['type3_rep_txt'];?>'> type4(<?php echo $type_default_txt[4];?>) : <input type='text' name='type4_rep_txt' class='width_100' value='<?php echo $configshop['type4_rep_txt'];?>'><br> <span class='help_info'>대체문구를 넣으면 해당 상품유형이 바뀐글자로 표시됩니다. 공백일경우 디폴트로 바뀝니다.</span> </td> </tr> <tr> <th>상품유형/품절 아이콘(PC)</th> <td > type1 : <input type='file' name='type1_ico' > <?php if(file_exists("{$j3_data_path}/ico/type1_ico")){?><img src='<?php echo "{$j3_data_url}/ico/type1_ico";?>'><?php }?> <input type='checkbox' name='imgdel_type1_ico' value='1'>삭제<br> type2 : <input type='file' name='type2_ico' > <?php if(file_exists("{$j3_data_path}/ico/type2_ico")){?><img src='<?php echo "{$j3_data_url}/ico/type2_ico";?>'><?php }?> <input type='checkbox' name='imgdel_type2_ico' value='1'>삭제<br> type3 : <input type='file' name='type3_ico' > <?php if(file_exists("{$j3_data_path}/ico/type3_ico")){?><img src='<?php echo "{$j3_data_url}/ico/type3_ico";?>'><?php }?> <input type='checkbox' name='imgdel_type3_ico' value='1'>삭제<br> type4 : <input type='file' name='type4_ico' > <?php if(file_exists("{$j3_data_path}/ico/type4_ico")){?><img src='<?php echo "{$j3_data_url}/ico/type4_ico";?>'><?php }?> <input type='checkbox' name='imgdel_type4_ico' value='1'>삭제<br> 품 절 : <input type='file' name='soldout_ico' > <?php if(file_exists("{$j3_data_path}/ico/soldout_ico")){?><img src='<?php echo "{$j3_data_url}/ico/soldout_ico";?>'> <input type='checkbox' name='imgdel_soldout_ico' value='1'>삭제<?php }?> </td> </tr> <tr> <th>상품유형/품절 아이콘(모바일)</th> <td > type1 : <input type='file' name='type1_ico_m' > <?php if(file_exists("{$j3_data_path}/ico/type1_ico_m")){?><img src='<?php echo "{$j3_data_url}/ico/type1_ico_m";?>'><?php }?> <input type='checkbox' name='imgdel_type1_ico_m' value='1'>삭제<br> type2 : <input type='file' name='type2_ico_m' > <?php if(file_exists("{$j3_data_path}/ico/type2_ico_m")){?><img src='<?php echo "{$j3_data_url}/ico/type2_ico_m";?>'><?php }?> <input type='checkbox' name='imgdel_type2_ico_m' value='1'>삭제<br> type3 : <input type='file' name='type3_ico_m' > <?php if(file_exists("{$j3_data_path}/ico/type3_ico_m")){?><img src='<?php echo "{$j3_data_url}/ico/type3_ico_m";?>'><?php }?> <input type='checkbox' name='imgdel_type3_ico_m' value='1'>삭제<br> type4 : <input type='file' name='type4_ico_m' > <?php if(file_exists("{$j3_data_path}/ico/type4_ico_m")){?><img src='<?php echo "{$j3_data_url}/ico/type4_ico_m";?>'><?php }?> <input type='checkbox' name='imgdel_type4_ico_m' value='1'>삭제<br> 품 절 : <input type='file' name='soldout_ico_m' > <?php if(file_exists("{$j3_data_path}/ico/soldout_ico_m")){?><img src='<?php echo "{$j3_data_url}/ico/soldout_ico_m";?>'> <input type='checkbox' name='imgdel_soldout_ico_m' value='1'>삭제<?php }?> </td> </tr> <?php if($app_id=='ryunen' || $app_id=='mjflower'){?> <tr> <th>전화문의 내용</th> <td > <textarea name='price_tel_text' style='width:300px;height:170px;'><?php echo $configshop['price_tel_text'];?></textarea> </td> </tr> <?php } ?> <?php if($app_id=='ryunen'){?> <tr> <th>멘트처리 비판매 내용</th> <td > <input type='text' name='sell_tel_text' class='width_500' value='<?php echo $configshop['sell_tel_text'];?>'> </td> </tr> <?php } ?> <tr> <th>상품후기 방법</th> <td > <input type='radio' name='item_use_type' value='0' <?php if($configshop['item_use_type']=='0'){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='item_use_type' value='1' <?php if($configshop['item_use_type']=='1' || $configshop['item_use_type']==''){?>checked<?php }?>> 작성후 바로 표시 <input type='radio' name='item_use_type' value='2' <?php if($configshop['item_use_type']=='2'){?>checked<?php }?>> 작성후 관리자 승인후 표시 <br><span class='help_info'>상품후기 구매완료후 작성 가능합니다.</span> </td> </tr> <tr> <th>재고표시 방식</th> <td > <input type='radio' name='jego_disp_type' value='0' <?php if($configshop['jego_disp_type']=='0' || $configshop['jego_disp_type']==''){?>checked<?php }?>> 쇼핑몰 재고(주문 상품 재고 차감) <input type='radio' name='jego_disp_type' value='1' <?php if($configshop['jego_disp_type']=='1'){?>checked<?php }?>> 천년3 재고(천년3 표시재고와 동일) </td> </tr> <tr> <th>품절상품 숨김</th> <td > <input type='radio' name='soldout_hidden' value='0' <?php if($configshop['soldout_hidden']=='0' || $configshop['soldout_hidden']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='soldout_hidden' value='1' <?php if($configshop['soldout_hidden']=='1'){?>checked<?php }?>> 사용 </td> </tr> <tr> <th>재고수량 숨김</th> <td > <input type='radio' name='qty_hidden' value='0' <?php if($configshop['qty_hidden']=='0' || $configshop['qty_hidden']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='qty_hidden' value='1' <?php if($configshop['qty_hidden']=='1'){?>checked<?php }?>> 사용 </td> </tr> <tr> <th>행사단가 사용</th> <td > <input type='radio' name='event_price_use' value='0' <?php if($configshop['event_price_use']=='0' || $configshop['event_price_use']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='event_price_use' value='1' <?php if($configshop['event_price_use']=='1'){?>checked<?php }?>> 사용 </td> </tr> <tr> <th>특별단가 사용</th> <td > <input type='radio' name='special_price_use' value='0' <?php if($configshop['special_price_use']=='0' || $configshop['special_price_use']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='special_price_use' value='1' <?php if($configshop['special_price_use']=='1'){?>checked<?php }?>> 사용 </td> </tr> <tr> <th>다중단가 사용</th> <td > <input type='radio' name='multi_price_use' value='0' <?php if($configshop['multi_price_use']=='0' || $configshop['multi_price_use']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='multi_price_use' value='1' <?php if($configshop['multi_price_use']=='1'){?>checked<?php }?>> 사용 </td> </tr> <tr> <th>기본/비회원 <br>다중단가선택</th> <td style='line-height:25px;padding-top:5px;'> <select name='shop_basic_multi_price_no' class='select_bg_ch width_150'> <option value='0'>사용안함</option> <?php foreach($mprice_list as $key=>$val){ if($options['shop_basic_multi_price_no']==$val['seq']){ $std = "selected"; } else { $std = ""; } if($val['pricename']!=''){ $name = " : {$val['pricename']}"; } else { $name = ""; } echo " <option value='{$val['seq']}' {$std}>{$val['seq']}{$name}</option>"; } /*for($i=1;$i<=$multi_seq_info[0];$i++){ if($options['shop_basic_multi_price_no']==$i){ $std = "selected"; } else { $std = ""; } echo " <option value='{$i}' {$std}>{$i}</option>"; }*/ ?> </select> <br><span class='help_info'>다중단가가 선택되지 않는 거래처나 비회원(로그인전)에게 적용할 다중단가 번호를 지정할수 있습니다. 상단에 다중단가 사용중일때만 동작합니다.</span> </td> </tr> <tr> <th>특별DC 사용</th> <td > <input type='radio' name='spdc_price_use' value='0' <?php if($configshop['spdc_price_use']=='0' || $configshop['spdc_price_use']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='spdc_price_use' value='1' <?php if($configshop['spdc_price_use']=='1'){?>checked<?php }?>> 사용 </td> </tr> <tr> <th>거래처별DC 사용</th> <td > <input type='radio' name='cusdc_price_use' value='0' <?php if($configshop['cusdc_price_use']=='0' || $configshop['cusdc_price_use']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='cusdc_price_use' value='1' <?php if($configshop['cusdc_price_use']=='1'){?>checked<?php }?>> 사용 </td> </tr> <tr> <th>소분류DC 사용</th> <td > <input type='radio' name='catedc_price_use' value='0' <?php if($configshop['catedc_price_use']=='0' || $configshop['catedc_price_use']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='catedc_price_use' value='1' <?php if($configshop['catedc_price_use']=='1'){?>checked<?php }?>> 사용 </td> </tr> <tr> <th>천년3 이미지매핑 <br>FTP 사용</th> <td > <input type='radio' name='j3_ftp_upload' value='0' <?php if($configshop['j3_ftp_upload']=='0' || $configshop['j3_ftp_upload']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='j3_ftp_upload' value='1' <?php if($configshop['j3_ftp_upload']=='1'){?>checked<?php }?>> 사용 <br><span class='help_info'>사용선택하면 관리자 상품저장시 해당이미지를 천년3 FTP로 업로드 합니다. 상품이미지매핑 메뉴는 옵션에 상관없이 버튼누를때 동작합니다.</span> </td> </tr> <tr> <th>비고 표시방식 선택</th> <td > <input type='radio' name='bigo_view_type' value='0' <?php if($configshop['bigo_view_type']=='0'){?>checked<?php }?>> <span class='red0'>표시안함</span> <input type='radio' name='bigo_view_type' value='1' <?php if($configshop['bigo_view_type']=='1'){?>checked<?php }?>> 천년3비고표시 <input type='radio' name='bigo_view_type' value='2' <?php if($configshop['bigo_view_type']=='2' || $configshop['bigo_view_type']==''){?>checked<?php }?>> 쇼핑몰비고표시 <br><span class='help_info'>어떤 비고를 사용할지 선택하실수 있습니다. 원하시는경우 표시안함도 가능합니다.</span> </td> </tr> <?php if($app_id=='ryunen' || $app_id=='csfd2019' || $app_id=='kyongsang241'){ ?> <tr> <th>상품리스트 <br>장바구니 기능</th> <td > <input type='radio' name='prod_list_cart' value='0' <?php if($configshop['prod_list_cart']=='0' || $configshop['prod_list_cart']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='prod_list_cart' value='1' <?php if($configshop['prod_list_cart']=='1'){?>checked<?php }?>> 사용 <br><span class='help_info'>상품리스트에서 장바구니에 담을수 있습니다.</span> </td> </tr> <?php } ?> <?php if($app_id=='ryunen' || $app_id=='europe0515'){ ?> <tr> <th>상품/주문 부가세제외 표시</th> <td > <input type='radio' name='prod_danga_view' value='0' <?php if($configshop['prod_danga_view']=='0' || $configshop['prod_danga_view']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='prod_danga_view' value='1' <?php if($configshop['prod_danga_view']=='1'){?>checked<?php }?>> 사용 <br><span class='help_info'>주문저장은 부가세처리되어서 저장되나 상품/주문에서는 부가세제외한 상품자제단가로 표시됩니다.</span> </td> </tr> <?php } ?> <?php if($app_id=='ryunen'){ ?> <tr> <th>주문상품 관리기능</th> <td > <input type='radio' name='ord_man_type' value='0' <?php if($configshop['ord_man_type']=='0' || $configshop['ord_man_type']==''){?>checked<?php }?>> <span class='red0'>수정/삭제불가</span> <input type='radio' name='ord_man_type' value='1' <?php if($configshop['ord_man_type']=='1'){?>checked<?php }?>> 수량변경 가능 <input type='radio' name='ord_man_type' value='2' <?php if($configshop['ord_man_type']=='2'){?>checked<?php }?>> 수량변경/삭제 가능 <br><span class='help_info'>미입금상태의 주문을 수정/삭제 가능하게 합니다.</span> </td> </tr> <?php } ?> <?php if($app_id=='ryunen' || $app_id=='lulucosmetic'){ ?> <tr> <th>비회원 가격문구기능</th> <td > <input type='radio' name='gust_price_view' value='0' <?php if($configshop['gust_price_view']=='0' || $configshop['gust_price_view']==''){?>checked<?php }?>> <span class='red0'>금액표시</span> <input type='radio' name='gust_price_view' value='1' <?php if($configshop['gust_price_view']=='1'){?>checked<?php }?>>특정문구표시 <input type='text' name='gust_price_text' value='<?php echo $configshop['gust_price_text'];?>'> <br><span class='help_info'>비회원일때 금액을 다른문구로 치환합니다.</span> </td> </tr> <?php } ?> <tr> <th>이벤트상품 <br>전용단가 적용</th> <td > <input type='radio' name='ev_cart_saleprice' value='0' <?php if($configshop['ev_cart_saleprice']=='0' || $configshop['ev_cart_saleprice']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='ev_cart_saleprice' value='1' <?php if($configshop['ev_cart_saleprice']=='1'){?>checked<?php }?>> 사용 <br><span class='help_info'>쇼핑몰 이벤트에서 상품의 단가를 따로 지정할수 있습니다.</span> </td> </tr> <tr> <th>상품단가 <br>0원초과만 주문가능</th> <td > <input type='radio' name='ord_0_over' value='0' <?php if($configshop['ord_0_over']=='0' || $configshop['ord_0_over']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='ord_0_over' value='1' <?php if($configshop['ord_0_over']=='1'){?>checked<?php }?>> 사용 <br><span class='help_info'>상품단가가 1원이상 일경우만 주문가능합니다.</span> </td> </tr> <tr> <th>배송비<br>방문수령적용</th> <td > <input type='radio' name='visit_take' value='0' <?php if($configshop['visit_take']=='0' || $configshop['visit_take']==''){?>checked<?php }?>> <span class='red0'>사용안함</span> <input type='radio' name='visit_take' value='1' <?php if($configshop['visit_take']=='1'){?>checked<?php }?>> 사용
<span class='vt_date_class' style='display:none;'> <select name='visit_take_day'> <option value='0' <?php if($configshop['visit_take_day']=='0'){ echo "selected"; }?>>당일가능</option> <?php for($i=1;$i<=10;$i++){?> <option value='<?php echo $i;?>>' <?php if($configshop['visit_take_day']==$i){ echo "selected"; }?>><?php echo $i;?>일후</option> <?php } ?> </select> </span> <br><span class='help_info'>주문시 방문수령옵션을 추가합니다. 고객이 방문수령 선택시 배송비가 0원이 됩니다. 방문수령은 주문시 상품전체 일괄적용입니다.</span> </td> </tr>
<tr> <th>업무상담시간</th> <td > <textarea name='work_time' style='width:300px;height:100px;'><?php echo $configshop['work_time'];?></textarea> </td> </tr> </table> </div>
</form> <div id="sub-contents-area" style='padding-left:500px;padding-top:20px;'> <div class="sub-btn-area"> <div class="sub-btn"> <a class="lignt-blue-btn btn_customer_save">저장</a> <a class="gray-btn btn_cancel_save">취소</a> </div> </div> </div> </div> <!-- wrap end--> <script> function postSearch3(zip1,zip2,addr1){ new daum.Postcode({ oncomplete: function(data) { // 팝업에서 검색결과 항목을 클릭했을때 실행할 코드를 작성하는 부분입니다. // 예제를 참고하여 다양한 활용법을 확인해 보세요. zoncode1 = data.zonecode.substring(0,3); zoncode2 = data.zonecode.substring(3,5);
if(1==1){ // 5자리 우편번호 사용 이전꺼 사용시엔 1==2로 세팅 $("#"+zip1).val(data.zonecode); } else { $("#"+zip1).val(data.postcode1+"-"+data.postcode2); }
// 각 주소의 노출 규칙에 따라 주소를 조합한다. // 내려오는 변수가 값이 없는 경우엔 공백('')값을 가지므로, 이를 참고하여 분기 한다. var fullAddr = ''; // 최종 주소 변수 var extraAddr = ''; // 조합형 주소 변수
// 사용자가 선택한 주소 타입에 따라 해당 주소 값을 가져온다. if (data.userSelectedType === 'R') { // 사용자가 도로명 주소를 선택했을 경우 fullAddr = data.roadAddress;
} else { // 사용자가 지번 주소를 선택했을 경우(J) fullAddr = data.jibunAddress; }
// 사용자가 선택한 주소가 도로명 타입일때 조합한다. if(data.userSelectedType === 'R'){ //법정동명이 있을 경우 추가한다. if(data.bname !== ''){ extraAddr += data.bname; } // 건물명이 있을 경우 추가한다. if(data.buildingName !== ''){ extraAddr += (extraAddr !== '' ? ', ' + data.buildingName : data.buildingName); } // 조합형주소의 유무에 따라 양쪽에 괄호를 추가하여 최종 주소를 만든다. extraAddr = (extraAddr !== '' ? ' ('+ extraAddr +')' : ''); }
$("#"+addr1).val(fullAddr+" "+extraAddr+" "); post_close(); }, width : '100%', height : '100%' }).embed("daum_juso_rayer");
$("#daum_juso_rayer").show();
}
function post_close(){ $('#daum_juso_rayer').hide(); $("#addr_d").focus(); }
function form_save(){ // 상품 저장/수정 var form_obj = $("form[name='config_shop_form']");
if(confirm('저장하시겠습니까?')){ $(form_obj).submit(); } }
function acc_idx_recal(){ // 계좌번호 idx 재처리 $(".acc_idx").each(function(idx){ $(this).val(idx); }); }
$(function(){ $(".btn_customer_save").click(function(){ form_save(); });
$(".btn_cancel_save").click(function(){ // 취소 버튼 document.location.href='<?php echo $j3_adm_url;?>'; });
$("#office_code").change(function(){ // 사업장 변경시 값 변경 alert("사업장을 바꾸실때는 사업장선택 옆에 참고문구를 꼭 읽어보시고 바꾸시기 바랍니다. 사업장 변경은 쇼핑몰환경 설정을 저장해야 최종 수정됩니다."); $.get("ajax.office_code_get.php?code="+$("#office_code option:selected").val(),function(rtn){ $("#modal_member_box").html(rtn); }); });
$(".bank_ck_all").click(function(){ // 은행계좌 전체 선택/해제 if($(this).is(":checked")){ $(".acc_idx").prop("checked",true); } else { $(".acc_idx").prop("checked",false); } });
$(document).on("click",".zip_search",function(){ // 주소오픈 postSearch3("zipcode","","addr_m"); });
$.get("ajax.bank_acc_get.php",function(rtn){ // 등록된 계좌 리스트 가져옴 $(".bank_table tbody").html(rtn); });
$(".add_bank_account").click(function(){ // 계좌번호 추가 $.get("ajax.bank_acc_get.php?mode=empty",function(rtn){ $(".bank_table tbody").append(rtn); acc_idx_recal(); }); });
$(".del_bank_account").click(function(){ // 계좌번호 삭제 if(confirm('정말로 삭제하시겠습니까?')){ $(".acc_idx").each(function(){ if($(this).is(":checked")){ $(this).closest("tr").remove(); } }); acc_idx_recal(); } });
$("input[name='visit_take']").click(function(){ if($(this).val()=='1'){ $(".vt_date_class").show(); } else { $(".vt_date_class").hide(); } }); if('<?php echo $configshop['visit_take'];?>'=='1'){ $(".vt_date_class").show(); }
<?php if($shop_du_size>$limit_mbyte){ ?> CKEDITOR.replace( 'deli_info', { height: 250, filebrowserUploadUrl:"" } ); CKEDITOR.replace( 'deli_return', { height: 250, filebrowserUploadUrl:"" } ); <?php } else { ?> CKEDITOR.replace( 'deli_info', { height: 250 } ); CKEDITOR.replace( 'deli_return', { height: 250 } ); <?php } ?>
$(".cust_open").css("cursor","pointer").click(function(){ $.get("customer_list.inc.php?mode=configshop",function(rtn){ $("#modal_member_box2").html(rtn).dialog({ resizable: true, height:740, width:1000, modal: true, title:"거래처 [검색]", buttons: { 닫기: function() { $( this ).dialog( "close" ); } } }); $("#modal_member_box").css("left","0px;"); }); });
});
</script> <?php //_pr($_COOKIE['qstr']); include($j3_adm_path."/shop_footer.php"); ?> <div id="modal_member_box" title="거래처수정" style="display:none;width:100%; height:100%; padding-top:3px;padding-left:3px;background-color:#FFFFFF;position:relative;"></div> <script src="http://dmaps.daum.net/map_js_init/postcode.v2.js"></script> <div id="daum_juso_rayer" style="background:#fff;border: 5px solid currentColor; left: 50%; top: 50%; width: 300px; height: 460px; overflow: hidden; margin-top: -235px; margin-left: -155px; display:none ; position: fixed; z-index: 10000; -webkit-overflow-scrolling: touch;"><input type='button' onclick="$('#daum_juso_rayer').hide();" value='close' style='top:0px;width:40px;height:20px;right:0px;padding:0px;'> <iframe src="about:blank" frameborder="0" style="margin: 0px;margin-top:30px; padding: 0px; border: 0px currentColor; left: 0px; top: 0px; width: 100%; height: 90%; overflow: hidden; position: absolute; min-width: 300px;"></iframe> </div> <div id="modal_member_box2" title="거래처수정" style="display:none;width:100%; height:100%; padding-top:3px;padding-left:3px;background-color:#FFFFFF;position:relative;"></div>
|