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
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
|
<?php $sub_menu = '100150'; include_once('./_common.php'); include_once(G5_EDITOR_LIB);
auth_check($auth[$sub_menu], "r");
if (!$config['cf_icode_server_ip']) $config['cf_icode_server_ip'] = '211.172.232.124'; if (!$config['cf_icode_server_port']) $config['cf_icode_server_port'] = '7295';
if ($config['cf_icode_id'] && $config['cf_icode_pw']) { $userinfo = get_icode_userinfo($config['cf_icode_id'], $config['cf_icode_pw']); }
$g5['title'] = '쇼핑몰설정'; include_once (G5_ADMIN_PATH.'/admin.head.php');
$pg_anchor = '<ul class="anchor"> <li><a href="#anc_scf_info">사업자정보</a></li> <li><a href="#anc_scf_lay">레이아웃 설정</a></li> <li><a href="#anc_scf_skin">스킨설정</a></li> <li><a href="#anc_scf_index">쇼핑몰 초기화면</a></li> <li><a href="#anc_mscf_index">모바일 초기화면</a></li> <li><a href="#anc_scf_payment">결제설정</a></li> <li><a href="#anc_scf_delivery">배송설정</a></li> <li><a href="#anc_scf_etc">기타설정</a></li> <li><a href="#anc_scf_sms">SMS설정</a></li> </ul>';
$frm_submit = '<div class="btn_confirm01 btn_confirm"> <input type="submit" value="확인" class="btn_submit" accesskey="s"> <a href="'.G5_SHOP_URL.'">쇼핑몰</a> </div>';
// index 선택 설정 필드추가 if(!isset($default['de_root_index_use'])) { sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}` ADD `de_root_index_use` tinyint(4) NOT NULL DEFAULT '0' AFTER `de_admin_info_email` ", true); }
// 무이자 할부 사용설정 필드 추가 if(!isset($default['de_card_noint_use'])) { sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}` ADD `de_card_noint_use` tinyint(4) NOT NULL DEFAULT '0' AFTER `de_card_use` ", true); }
// 레이아웃 선택 설정 필드추가 if(!isset($default['de_shop_layout_use'])) { sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}` ADD `de_shop_layout_use` tinyint(4) NOT NULL DEFAULT '0' AFTER `de_root_index_use` ", true); }
// 모바일 관련상품 설정 필드추가 if(!isset($default['de_mobile_rel_list_use'])) { sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}` ADD `de_mobile_rel_list_use` tinyint(4) NOT NULL DEFAULT '0' AFTER `de_rel_img_height`, ADD `de_mobile_rel_list_skin` varchar(255) NOT NULL DEFAULT '' AFTER `de_mobile_rel_list_use`, ADD `de_mobile_rel_img_width` int(11) NOT NULL DEFAULT '0' AFTER `de_mobile_rel_list_skin`, ADD `de_mobile_rel_img_height` int(11) NOT NULL DEFAULT ' 0' AFTER `de_mobile_rel_img_width`", true); }
// 신규회원 쿠폰 설정 필드 추가 if(!isset($default['de_member_reg_coupon_use'])) { sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}` ADD `de_member_reg_coupon_use` tinyint(4) NOT NULL DEFAULT '0' AFTER `de_tax_flag_use`, ADD `de_member_reg_coupon_term` int(11) NOT NULL DEFAULT '0' AFTER `de_member_reg_coupon_use`, ADD `de_member_reg_coupon_price` int(11) NOT NULL DEFAULT '0' AFTER `de_member_reg_coupon_term` ", true); }
// 신규회원 쿠폰 주문 최소금액 필드추가 if(!isset($default['de_member_reg_coupon_minimum'])) { sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}` ADD `de_member_reg_coupon_minimum` int(11) NOT NULL DEFAULT '0' AFTER `de_member_reg_coupon_price` ", true); }
// lg 결제관련 필드 추가 if(!isset($default['de_pg_service'])) { sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}` ADD `de_pg_service` varchar(255) NOT NULL DEFAULT '' AFTER `de_sms_hp` ", true); }
// inicis 필드 추가 if(!isset($default['de_inicis_mid'])) { sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}` ADD `de_inicis_mid` varchar(255) NOT NULL DEFAULT '' AFTER `de_kcp_site_key`, ADD `de_inicis_admin_key` varchar(255) NOT NULL DEFAULT '' AFTER `de_inicis_mid` ", true); }
// nicepay 필드 추가 if(!isset($default['de_nicepay_mid'])) { sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}` ADD `de_nicepay_mid` varchar(255) NOT NULL DEFAULT '' AFTER `de_inicis_mid` , ADD `de_nicepay_key` varchar(255) NOT NULL DEFAULT '' AFTER `de_nicepay_mid` ", true); }
// 레이아웃 파일 필드 추가 if(!isset($default['de_include_index'])) { sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}` ADD `de_include_index` varchar(255) NOT NULL DEFAULT '' AFTER `de_admin_info_email`, ADD `de_include_head` varchar(255) NOT NULL DEFAULT '' AFTER `de_include_index`, ADD `de_include_tail` varchar(255) NOT NULL DEFAULT '' AFTER `de_include_head` ", true);
} ?>
<form name="fconfig" action="./configformupdate.php" onsubmit="return fconfig_check(this)" method="post" enctype="MULTIPART/FORM-DATA"> <section id="anc_scf_info"> <h2 class="h2_frm">사업자정보</h2> <?php echo $pg_anchor; ?> <div class="local_desc02 local_desc"> <p>사업자정보는 tail.php 와 content.php 에서 표시합니다.</p> </div>
<div class="tbl_frm01 tbl_wrap"> <table> <caption>사업자정보 입력</caption> <colgroup> <col class="grid_4"> <col> <col class="grid_4"> <col> </colgroup> <tbody> <tr> <th scope="row"><label for="de_admin_company_name">회사명</label></th> <td> <input type="text" name="de_admin_company_name" value="<?php echo $default['de_admin_company_name']; ?>" id="de_admin_company_name" class="frm_input" size="30"> </td> <th scope="row"><label for="de_admin_company_saupja_no">사업자등록번호</label></th> <td> <input type="text" name="de_admin_company_saupja_no" value="<?php echo $default['de_admin_company_saupja_no']; ?>" id="de_admin_company_saupja_no" class="frm_input" size="30"> </td> </tr> <tr> <th scope="row"><label for="de_admin_company_owner">대표자명</label></th> <td colspan="3"> <input type="text" name="de_admin_company_owner" value="<?php echo $default['de_admin_company_owner']; ?>" id="de_admin_company_owner" class="frm_input" size="30"> </td> </tr> <tr> <th scope="row"><label for="de_admin_company_tel">대표전화번호</label></th> <td> <input type="text" name="de_admin_company_tel" value="<?php echo $default['de_admin_company_tel']; ?>" id="de_admin_company_tel" class="frm_input" size="30"> </td> <th scope="row"><label for="de_admin_company_fax">팩스번호</label></th> <td> <input type="text" name="de_admin_company_fax" value="<?php echo $default['de_admin_company_fax']; ?>" id="de_admin_company_fax" class="frm_input" size="30"> </td> </tr> <tr> <th scope="row"><label for="de_admin_tongsin_no">통신판매업 신고번호</label></th> <td> <input type="text" name="de_admin_tongsin_no" value="<?php echo $default['de_admin_tongsin_no']; ?>" id="de_admin_tongsin_no" class="frm_input" size="30"> </td> <th scope="row"><label for="de_admin_buga_no">부가통신 사업자번호</label></th> <td> <input type="text" name="de_admin_buga_no" value="<?php echo $default['de_admin_buga_no']; ?>" id="de_admin_buga_no" class="frm_input" size="30"> </td> </tr> <tr> <th scope="row"><label for="de_admin_company_zip">사업장우편번호</label></th> <td> <input type="text" name="de_admin_company_zip" value="<?php echo $default['de_admin_company_zip']; ?>" id="de_admin_company_zip" class="frm_input" size="10"> </td> <th scope="row"><label for="de_admin_company_addr">사업장주소</label></th> <td> <input type="text" name="de_admin_company_addr" value="<?php echo $default['de_admin_company_addr']; ?>" id="de_admin_company_addr" class="frm_input" size="30"> </td> </tr> <tr> <th scope="row"><label for="de_admin_info_name">정보관리책임자명</label></th> <td> <input type="text" name="de_admin_info_name" value="<?php echo $default['de_admin_info_name']; ?>" id="de_admin_info_name" class="frm_input" size="30"> </td> <th scope="row"><label for="de_admin_info_email">정보책임자 e-mail</label></th> <td> <input type="text" name="de_admin_info_email" value="<?php echo $default['de_admin_info_email']; ?>" id="de_admin_info_email" class="frm_input" size="30"> </td> </tr> </tbody> </table> </div> </section>
<?php echo $frm_submit; ?>
<section id="anc_scf_lay"> <h2 class="h2_frm">레이아웃 설정</h2> <?php echo $pg_anchor; ?> <div class="local_desc02 local_desc"> <p>기본 설정된 파일 등을 변경할 수 있습니다.</p> </div>
<div class="tbl_frm01 tbl_wrap"> <table> <caption>레이아웃 설정</caption> <colgroup> <col class="grid_4"> <col> </colgroup> <tbody> <tr> <th scope="row"><label for="de_include_index">초기화면 파일</label></th> <td> <?php echo help('입력이 없으면 '.G5_SHOP_DIR.'/index.php가 초기화면 파일로 설정됩니다.<br>초기화면 파일은 '.G5_SHOP_DIR.'/index.php 파일과 동일한 위치에 존재해야 합니다.') ?> <input type="text" name="de_include_index" value="<?php echo $default['de_include_index'] ?>" id="de_include_index" class="frm_input" size="50"> </td> </tr> <tr> <th scope="row"><label for="de_include_head">상단 파일</label></th> <td> <?php echo help('입력이 없으면 '.G5_SHOP_DIR.'/shop.head.php가 상단 파일로 설정됩니다.<br>상단 파일은 '.G5_SHOP_DIR.'/shop.head.php 파일과 동일한 위치에 존재해야 합니다.') ?> <input type="text" name="de_include_head" value="<?php echo $default['de_include_head'] ?>" id="de_include_head" class="frm_input" size="50"> </td> </tr> <tr> <th scope="row"><label for="de_include_tail">하단 파일</label></th> <td> <?php echo help('입력이 없으면 '.G5_SHOP_DIR.'/shop.tail.php가 하단 파일로 설정됩니다.<br>하단 파일은 '.G5_SHOP_DIR.'/shop.tail.php 파일과 동일한 위치에 존재해야 합니다.') ?> <input type="text" name="de_include_tail" value="<?php echo $default['de_include_tail'] ?>" id="de_include_tail" class="frm_input" size="50"> </td> </tr> <tr> <th scope="row"><label for="de_root_index_use">루트 index 사용</label></th> <td> <?php echo help('쇼핑몰의 접속경로를 '.G5_SHOP_URL.' 에서 '.G5_URL.' 으로 변경하시려면 사용으로 설정해 주십시오.'); ?> <select name="de_root_index_use" id="de_root_index_use"> <option value="0" <?php echo get_selected($default['de_root_index_use'], 0); ?>>사용안함</option> <option value="1" <?php echo get_selected($default['de_root_index_use'], 1); ?>>사용</option> </select> </td> </tr> <tr> <th scope="row"><label for="de_shop_layout_use">쇼핑몰 레이아웃 사용</label></th> <td> <?php echo help('커뮤니티의 레이아웃을 쇼핑몰과 동일하게 적용하시려면 사용으로 설정해 주십시오.'); ?> <select name="de_shop_layout_use" id="de_shop_layout_use"> <option value="0" <?php echo get_selected($default['de_shop_layout_use'], 0); ?>>사용안함</option> <option value="1" <?php echo get_selected($default['de_shop_layout_use'], 1); ?>>사용</option> </select> </td> </tr>
</tbody> </table> </div> </section>
<?php echo $frm_submit; ?>
<section id="anc_scf_skin"> <h2 class="h2_frm">스킨설정</h2> <?php echo $pg_anchor; ?> <div class="local_desc02 local_desc"> <p>상품 분류리스트, 상품상세보기 등 에서 사용할 스킨을 설정합니다.</p> </div>
<div class="tbl_frm01 tbl_wrap"> <table> <caption>스킨설정</caption> <colgroup> <col class="grid_4"> <col> </colgroup> <tbody> <tr> <th scope="row"><label for="de_shop_skin">PC용 스킨</label></th> <td colspan="3"> <select name="de_shop_skin" id="de_shop_skin" required class="required"> <?php $arr = get_skin_dir('shop'); for ($i=0; $i<count($arr); $i++) { if ($i == 0) echo "<option value=\"\">선택</option>"; echo "<option value=\"".$arr[$i]."\"".get_selected($default['de_shop_skin'], $arr[$i]).">".$arr[$i]."</option>\n"; } ?> </select> </td> </tr> <tr> <th scope="row"><label for="de_shop_mobile_skin">모바일용 스킨</label></th> <td colspan="3"> <select name="de_shop_mobile_skin" id="de_shop_mobile_skin" required class="required"> <?php $arr = get_skin_dir('shop', G5_MOBILE_PATH.'/'.G5_SKIN_DIR); for ($i=0; $i<count($arr); $i++) { if ($i == 0) echo "<option value=\"\">선택</option>"; echo "<option value=\"".$arr[$i]."\"".get_selected($default['de_shop_mobile_skin'], $arr[$i]).">".$arr[$i]."</option>\n"; } ?> </select> </td> </tr> </tbody> </table> </div> </section>
<?php echo $frm_submit; ?>
<section id="anc_scf_index"> <h2 class="h2_frm">쇼핑몰 초기화면</h2> <?php echo $pg_anchor; ?> <div class="local_desc02 local_desc"> <p> 상품관리에서 선택한 상품의 타입대로 쇼핑몰 초기화면에 출력합니다. (상품 타입 히트/추천/최신/인기/할인)<br> 각 타입별로 선택된 상품이 없으면 쇼핑몰 초기화면에 출력하지 않습니다. </p> </div>
<div class="tbl_frm01 tbl_wrap"> <table> <caption>쇼핑몰 초기화면 설정</caption> <colgroup> <col class="grid_4"> <col> </colgroup> <tbody> <tr> <th scope="row">히트상품출력</th> <td> <label for="de_type1_list_use">출력</label> <input type="checkbox" name="de_type1_list_use" value="1" id="de_type1_list_use" <?php echo $default['de_type1_list_use']?"checked":""; ?>> <label for="de_type1_list_skin">스킨</label> <select name="de_type1_list_skin" id="de_type1_list_skin"> <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type1_list_skin']); ?> </select> <label for="de_type1_list_mod">1줄당 이미지 수</label> <input type="text" name="de_type1_list_mod" value="<?php echo $default['de_type1_list_mod']; ?>" id="de_type1_list_mod" class="frm_input" size="3"> <label for="de_type1_list_row">출력할 줄 수</label> <input type="text" name="de_type1_list_row" value="<?php echo $default['de_type1_list_row']; ?>" id="de_type1_list_row" class="frm_input" size="3"> <label for="de_type1_img_width">이미지 폭</label> <input type="text" name="de_type1_img_width" value="<?php echo $default['de_type1_img_width']; ?>" id="de_type1_img_width" class="frm_input" size="3"> <label for="de_type1_img_height">이미지 높이</label> <input type="text" name="de_type1_img_height" value="<?php echo $default['de_type1_img_height']; ?>" id="de_type1_img_height" class="frm_input" size="3"> <label for="de_type1_rep_text">대체표시용 텍스트</label> <input type="text" name="de_type1_rep_text" value="<?php echo $default['de_type1_rep_text']; ?>" id="de_type1_rep_text" class="frm_input" size="15"> <label for="de_type1_rep_icon">대체표시용 아이콘</label> <input type='file' name='de_type1_rep_icon' value='' size=10> <?php if(file_exists(G5_DATA_PATH."/common/listtype_1")){?> <img src='<?php echo G5_DATA_URL."/common/listtype_1";?>'> <input type='checkbox' name='de_type1_rep_icon_del' value='1'>삭제 <?php }?> </td> </tr> <tr> <th scope="row">추천상품출력</th> <td> <label for="de_type2_list_use">출력</label> <input type="checkbox" name="de_type2_list_use" value="1" id="de_type2_list_use" <?php echo $default['de_type2_list_use']?"checked":""; ?>> <label for="de_type2_list_skin">스킨</label> <select name="de_type2_list_skin" id="de_type2_list_skin"> <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type2_list_skin']); ?> </select> <label for="de_type2_list_mod">1줄당 이미지 수</label> <input type="text" name="de_type2_list_mod" value="<?php echo $default['de_type2_list_mod']; ?>" id="de_type2_list_mod" class="frm_input" size="3"> <label for="de_type2_list_row">출력할 줄 수</label> <input type="text" name="de_type2_list_row" value="<?php echo $default['de_type2_list_row']; ?>" id="de_type2_list_row" class="frm_input" size="3"> <label for="de_type2_img_width">이미지 폭</label> <input type="text" name="de_type2_img_width" value="<?php echo $default['de_type2_img_width']; ?>" id="de_type2_img_width" class="frm_input" size="3"> <label for="de_type2_img_height">이미지 높이</label> <input type="text" name="de_type2_img_height" value="<?php echo $default['de_type2_img_height']; ?>" id="de_type2_img_height" class="frm_input" size="3"> <label for="de_type2_rep_text">대체표시용 텍스트</label> <input type="text" name="de_type2_rep_text" value="<?php echo $default['de_type2_rep_text']; ?>" id="de_type2_rep_text" class="frm_input" size="15"> <label for="de_type1_rep_icon">대체표시용 아이콘</label> <input type='file' name='de_type2_rep_icon' value='' size=10> <?php if(file_exists(G5_DATA_PATH."/common/listtype_2")){?> <img src='<?php echo G5_DATA_URL."/common/listtype_2";?>'> <input type='checkbox' name='de_type2_rep_icon_del' value='1'>삭제 <?php }?> </td> </tr> <tr> <th scope="row">최신상품출력</th> <td> <label for="de_type3_list_use">출력</label> <input type="checkbox" name="de_type3_list_use" value="1" id="de_type3_list_use" <?php echo $default['de_type3_list_use']?"checked":""; ?>> <label for="de_type3_list_skin">스킨</label> <select name="de_type3_list_skin" id="de_type3_list_skin"> <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type3_list_skin']); ?> </select> <label for="de_type3_list_mod">1줄당 이미지 수</label> <input type="text" name="de_type3_list_mod" value="<?php echo $default['de_type3_list_mod']; ?>" id="de_type3_list_mod" class="frm_input" size="3"> <label for="de_type3_list_row">출력할 줄 수</label> <input type="text" name="de_type3_list_row" value="<?php echo $default['de_type3_list_row']; ?>" id="de_type3_list_row" class="frm_input" size="3"> <label for="de_type3_img_width">이미지 폭</label> <input type="text" name="de_type3_img_width" value="<?php echo $default['de_type3_img_width']; ?>" id="de_type3_img_width" class="frm_input" size="3"> <label for="de_type3_img_height">이미지 높이</label> <input type="text" name="de_type3_img_height" value="<?php echo $default['de_type3_img_height']; ?>" id="de_type3_img_height" class="frm_input" size="3"> <label for="de_type3_rep_text">대체표시용 텍스트</label> <input type="text" name="de_type3_rep_text" value="<?php echo $default['de_type3_rep_text']; ?>" id="de_type3_rep_text" class="frm_input" size="15"> <label for="de_type1_rep_icon">대체표시용 아이콘</label> <input type='file' name='de_type3_rep_icon' value='' size=10> <?php if(file_exists(G5_DATA_PATH."/common/listtype_3")){?> <img src='<?php echo G5_DATA_URL."/common/listtype_3";?>'> <input type='checkbox' name='de_type3_rep_icon_del' value='1'>삭제 <?php }?> </td> </tr> <tr> <th scope="row">인기상품출력</th> <td> <label for="de_type4_list_use">출력</label> <input type="checkbox" name="de_type4_list_use" value="1" id="de_type4_list_use" <?php echo $default['de_type4_list_use']?"checked":""; ?>> <label for="de_type4_list_skin">스킨</label> <select name="de_type4_list_skin" id="de_type4_list_skin"> <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type4_list_skin']); ?> </select> <label for="de_type4_list_mod">1줄당 이미지 수</label> <input type="text" name="de_type4_list_mod" value="<?php echo $default['de_type4_list_mod']; ?>" id="de_type4_list_mod" class="frm_input" size="3"> <label for="de_type4_list_row">출력할 줄 수</label> <input type="text" name="de_type4_list_row" value="<?php echo $default['de_type4_list_row']; ?>" id="de_type4_list_row" class="frm_input" size="3"> <label for="de_type4_img_width">이미지 폭</label> <input type="text" name="de_type4_img_width" value="<?php echo $default['de_type4_img_width']; ?>" id="de_type4_img_width" class="frm_input" size="3"> <label for="de_type4_img_height">이미지 높이</label> <input type="text" name="de_type4_img_height" value="<?php echo $default['de_type4_img_height']; ?>" id="de_type4_img_height" class="frm_input" size="3"> <label for="de_type4_rep_text">대체표시용 텍스트</label> <input type="text" name="de_type4_rep_text" value="<?php echo $default['de_type4_rep_text']; ?>" id="de_type4_rep_text" class="frm_input" size="15"> <label for="de_type1_rep_icon">대체표시용 아이콘</label> <input type='file' name='de_type4_rep_icon' value='' size=10> <?php if(file_exists(G5_DATA_PATH."/common/listtype_4")){?> <img src='<?php echo G5_DATA_URL."/common/listtype_4";?>'> <input type='checkbox' name='de_type4_rep_icon_del' value='1'>삭제 <?php }?> </td> </tr> <tr> <th scope="row">할인상품출력</th> <td> <label for="de_type5_list_use">출력</label> <input type="checkbox" name="de_type5_list_use" value="1" id="de_type5_list_use" <?php echo $default['de_type5_list_use']?"checked":""; ?>> <label for="de_type5_list_skin">스킨</label> <select name="de_type5_list_skin" id="de_type5_list_skin"> <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type5_list_skin']); ?> </select> <label for="de_type5_list_mod">1줄당 이미지 수</label> <input type="text" name="de_type5_list_mod" value="<?php echo $default['de_type5_list_mod']; ?>" id="de_type5_list_mod" class="frm_input" size="3"> <label for="de_type5_list_row">출력할 줄 수</label> <input type="text" name="de_type5_list_row" value="<?php echo $default['de_type5_list_row']; ?>" id="de_type5_list_row" class="frm_input" size="3"> <label for="de_type5_img_width">이미지 폭</label> <input type="text" name="de_type5_img_width" value="<?php echo $default['de_type5_img_width']; ?>" id="de_type5_img_width" class="frm_input" size="3"> <label for="de_type5_img_height">이미지 높이</label> <input type="text" name="de_type5_img_height" value="<?php echo $default['de_type5_img_height']; ?>" id="de_type5_img_height" class="frm_input" size="3"> <label for="de_type5_rep_text">대체표시용 텍스트</label> <input type="text" name="de_type5_rep_text" value="<?php echo $default['de_type5_rep_text']; ?>" id="de_type5_rep_text" class="frm_input" size="15"> <label for="de_type1_rep_icon">대체표시용 아이콘</label> <input type='file' name='de_type5_rep_icon' value='' size=10> <?php if(file_exists(G5_DATA_PATH."/common/listtype_5")){?> <img src='<?php echo G5_DATA_URL."/common/listtype_5";?>'> <input type='checkbox' name='de_type5_rep_icon_del' value='1'>삭제 <?php }?> </td> </tr> </tbody> </table> </div> </section>
<?php echo $frm_submit; ?>
<section id="anc_mscf_index"> <h2 class="h2_frm">모바일 쇼핑몰 초기화면 설정</h2> <?php echo $pg_anchor; ?> <div class="local_desc02 local_desc"> <p> 상품관리에서 선택한 상품의 타입대로 쇼핑몰 초기화면에 출력합니다. (상품 타입 히트/추천/최신/인기/할인)<br> 각 타입별로 선택된 상품이 없으면 쇼핑몰 초기화면에 출력하지 않습니다.<br> 대체표시용 텍스트 및 아이콘은 쇼핑몰 초기화면과 같이 이용 </p> </div>
<div class="tbl_frm01 tbl_wrap"> <table> <caption>모바일 쇼핑몰 초기화면 설정</caption> <colgroup> <col class="grid_4"> <col> </colgroup> <tbody> <tr> <th scope="row">히트상품출력</th> <td> <label for="de_mobile_type1_list_use">출력</label> <input type="checkbox" name="de_mobile_type1_list_use" value="1" id="de_mobile_type1_list_use" <?php echo $default['de_mobile_type1_list_use']?"checked":""; ?>> <label for="de_mobile_type1_list_skin">스킨</label> <select name="de_mobile_type1_list_skin" id="de_mobile_type1_list_skin"> <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type1_list_skin']); ?> </select> <label for="de_mobile_type1_list_mod">출력할 이미지 수</label> <input type="text" name="de_mobile_type1_list_mod" value="<?php echo $default['de_mobile_type1_list_mod']; ?>" id="de_mobile_type1_list_mod" class="frm_input" size="3"> <label for="de_mobile_type1_img_width">이미지 폭</label> <input type="text" name="de_mobile_type1_img_width" value="<?php echo $default['de_mobile_type1_img_width']; ?>" id="de_mobile_type1_img_width" class="frm_input" size="3"> <label for="de_mobile_type1_img_height">이미지 높이</label> <input type="text" name="de_mobile_type1_img_height" value="<?php echo $default['de_mobile_type1_img_height']; ?>" id="de_mobile_type1_img_height" class="frm_input" size="3"> </td> </tr> <tr> <th scope="row">추천상품출력</th> <td> <label for="de_mobile_type2_list_use">출력</label> <input type="checkbox" name="de_mobile_type2_list_use" value="1" id="de_mobile_type2_list_use" <?php echo $default['de_mobile_type2_list_use']?"checked":""; ?>> <label for="de_mobile_type2_list_skin">스킨 </label> <select name="de_mobile_type2_list_skin" id="de_mobile_type2_list_skin"> <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type2_list_skin']); ?> </select> <label for="de_mobile_type2_list_mod">출력할 이미지 수</label> <input type="text" name="de_mobile_type2_list_mod" value="<?php echo $default['de_mobile_type2_list_mod']; ?>" id="de_mobile_type2_list_mod" class="frm_input" size="3"> <label for="de_mobile_type2_img_width">이미지 폭</label> <input type="text" name="de_mobile_type2_img_width" value="<?php echo $default['de_mobile_type2_img_width']; ?>" id="de_mobile_type2_img_width" class="frm_input" size="3"> <label for="de_mobile_type2_img_height">이미지 높이</label> <input type="text" name="de_mobile_type2_img_height" value="<?php echo $default['de_mobile_type2_img_height']; ?>" id="de_mobile_type2_img_height" class="frm_input" size="3"> </td> </tr> <tr> <th scope="row">최신상품출력</th> <td> <label for="de_mobile_type3_list_use">출력</label> <input type="checkbox" name="de_mobile_type3_list_use" value="1" id="de_mobile_type3_list_use" <?php echo $default['de_mobile_type3_list_use']?"checked":""; ?>> <label for="de_mobile_type3_list_skin">스킨</label> <select name="de_mobile_type3_list_skin" id="de_mobile_type3_list_skin"> <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type3_list_skin']); ?> </select> <label for="de_mobile_type3_list_mod">출력할 이미지 수</label> <input type="text" name="de_mobile_type3_list_mod" value="<?php echo $default['de_mobile_type3_list_mod']; ?>" id="de_mobile_type3_list_mod" class="frm_input" size="3"> <label for="de_mobile_type3_img_width">이미지 폭</label> <input type="text" name="de_mobile_type3_img_width" value="<?php echo $default['de_mobile_type3_img_width']; ?>" id="de_mobile_type3_img_width" class="frm_input" size="3"> <label for="de_mobile_type3_img_height">이미지 높이</label> <input type="text" name="de_mobile_type3_img_height" value="<?php echo $default['de_mobile_type3_img_height']; ?>" id="de_mobile_type3_img_height" class="frm_input" size="3"> </td> </tr> <tr> <th scope="row">인기상품출력</th> <td> <label for="de_mobile_type4_list_use">출력</label> <input type="checkbox" name="de_mobile_type4_list_use" value="1" id="de_mobile_type4_list_use" <?php echo $default['de_mobile_type4_list_use']?"checked":""; ?>> <label for="de_mobile_type4_list_skin">스킨</label> <select name="de_mobile_type4_list_skin" id="de_mobile_type4_list_skin"> <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type4_list_skin']); ?> </select> <label for="de_mobile_type4_list_mod">출력할 이미지 수</label> <input type="text" name="de_mobile_type4_list_mod" value="<?php echo $default['de_mobile_type4_list_mod']; ?>" id="de_mobile_type4_list_mod" class="frm_input" size="3"> <label for="de_mobile_type4_img_width">이미지 폭</label> <input type="text" name="de_mobile_type4_img_width" value="<?php echo $default['de_mobile_type4_img_width']; ?>" id="de_mobile_type4_img_width" class="frm_input" size="3"> <label for="de_mobile_type4_img_height">이미지 높이</label> <input type="text" name="de_mobile_type4_img_height" value="<?php echo $default['de_mobile_type4_img_height']; ?>" id="de_mobile_type4_img_height" class="frm_input" size="3"> </td> </tr> <tr> <th scope="row">할인상품출력</th> <td> <label for="de_mobile_type5_list_use">출력</label> <input type="checkbox" name="de_mobile_type5_list_use" value="1" id="de_mobile_type5_list_use" <?php echo $default['de_mobile_type5_list_use']?"checked":""; ?>> <label for="de_mobile_type5_list_skin">스킨</label> <select id="de_mobile_type5_list_skin" name="de_mobile_type5_list_skin"> <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type5_list_skin']); ?> </select> <label for="de_mobile_type5_list_mod">출력할 이미지 수</label> <input type="text" name="de_mobile_type5_list_mod" value="<?php echo $default['de_mobile_type5_list_mod']; ?>" id="de_mobile_type5_list_mod" class="frm_input" size="3"> <label for="de_mobile_type5_img_width">이미지 폭</label> <input type="text" name="de_mobile_type5_img_width" value="<?php echo $default['de_mobile_type5_img_width']; ?>" id="de_mobile_type5_img_width" class="frm_input" size="3"> <label for="de_mobile_type5_img_height">이미지 높이</label> <input type="text" name="de_mobile_type5_img_height" value="<?php echo $default['de_mobile_type5_img_height']; ?>" id="de_mobile_type5_img_height" class="frm_input" size="3"> </td> </tr> </tbody> </table> </div> </section>
<?php echo $frm_submit; ?>
<section id ="anc_scf_payment"> <h2 class="h2_frm">결제설정</h2> <?php echo $pg_anchor; ?>
<div class="tbl_frm01 tbl_wrap"> <table> <caption>결제설정 입력</caption> <colgroup> <col class="grid_4"> <col> </colgroup> <tbody> <tr> <th scope="row"><label for="de_bank_use">무통장입금사용</label></th> <td> <?php echo help("주문시 무통장으로 입금을 가능하게 할것인지를 설정합니다.\n사용할 경우 은행계좌번호를 반드시 입력하여 주십시오.", 50); ?> <select id="de_bank_use" name="de_bank_use"> <option value="0" <?php echo get_selected($default['de_bank_use'], 0); ?>>사용안함</option> <option value="1" <?php echo get_selected($default['de_bank_use'], 1); ?>>사용</option> </select> </td> </tr> <tr> <th scope="row"><label for="de_bank_account">은행계좌번호</label></th> <td> <!--<textarea name="de_bank_account" id="de_bank_account"><?php echo $default['de_bank_account']; ?></textarea>--> <a class="btn_frmline" id='bank_add'>계좌번호 추가</a> <div id='bank_name_list'> <?php include_once("config_bank.php");?> </div> <a class="btn_frmline" id='bank_del'>선택삭제</a> </td> </tr> <tr> <th scope="row"><label for="de_iche_use">계좌이체 결제사용</label></th> <td> <?php echo help("주문시 실시간 계좌이체를 가능하게 할것인지를 설정합니다.", 50); ?> <select id="de_iche_use" name="de_iche_use"> <option value="0" <?php echo get_selected($default['de_iche_use'], 0); ?>>사용안함</option> <option value="1" <?php echo get_selected($default['de_iche_use'], 1); ?>>사용</option> </select> </td> </tr> <tr> <th scope="row"><label for="de_vbank_use">가상계좌 결제사용</label></th> <td> <?php echo help("주문별로 유일하게 생성되는 일회용 계좌번호입니다. 주문자가 가상계좌에 입금시 상점에 실시간으로 통보가 되므로 업무처리가 빨라집니다.", 50); ?> <select name="de_vbank_use" id="de_vbank_use"> <option value="0" <?php echo get_selected($default['de_vbank_use'], 0); ?>>사용안함</option> <option value="1" <?php echo get_selected($default['de_vbank_use'], 1); ?>>사용</option> </select> </td> </tr> <tr id="kcp_vbank_url" class="pg_vbank_url"> <th scope="row">KCP 가상계좌 입금통보 URL</th> <td> <?php echo help("KCP 가상계좌 사용시 다음 주소를 <strong><a href=\"http://admin.kcp.co.kr\" target=\"_blank\">KCP 관리자</a> > 상점정보관리 > 정보변경 > 공통URL 정보 > 공통URL 변경후</strong>에 넣으셔야 상점에 자동으로 입금 통보됩니다."); ?> <?php echo G5_SHOP_URL; ?>/settle_kcp_common.php</td> </tr> <tr id="inicis_vbank_url" class="pg_vbank_url"> <th scope="row">KG이니시스 가상계좌 입금통보 URL</th> <td> <?php echo help("KG이니시스 가상계좌 사용시 다음 주소를 <strong><a href=\"https://iniweb.inicis.com/\" target=\"_blank\">KG이니시스 관리자</a> > 거래조회 > 가상계좌 > 입금통보방식선택 > URL 수신 설정</strong>에 넣으셔야 상점에 자동으로 입금 통보됩니다."); ?> <?php echo G5_SHOP_URL; ?>/settle_inicis_common.php</td> </tr> <tr id="nicepay_vbank_url" class="pg_vbank_url"> <th scope="row">나이스페이 가상계좌 입금통보 URL</th> <td> <?php echo help("나이스페이 가상계좌 사용시 다음 주소를 <strong><a href=\"https://pg.nicepay.co.kr/home/Login.jsp//\" target=\"_blank\">나이스페이 관리자</a> > 가맹점정보 > 기본정보 > 가상계좌 수신 URL 설정</strong>에 넣으셔야 상점에 자동으로 입금 통보됩니다."); ?> <?php echo G5_SHOP_URL; ?>/settle_nicepay_common.php</td> </tr> <tr> <th scope="row"><label for="de_hp_use">휴대폰결제사용</label></th> <td> <?php echo help("주문시 휴대폰 결제를 가능하게 할것인지를 설정합니다.", 50); ?> <select id="de_hp_use" name="de_hp_use"> <option value="0" <?php echo get_selected($default['de_hp_use'], 0); ?>>사용안함</option> <option value="1" <?php echo get_selected($default['de_hp_use'], 1); ?>>사용</option> </select> </td> </tr> <tr> <th scope="row"><label for="de_card_use">신용카드결제사용</label></th> <td> <?php echo help("주문시 신용카드 결제를 가능하게 할것인지를 설정합니다.", 50); ?> <select id="de_card_use" name="de_card_use"> <option value="0" <?php echo get_selected($default['de_card_use'], 0); ?>>사용안함</option> <option value="1" <?php echo get_selected($default['de_card_use'], 1); ?>>사용</option> </select> </td> </tr> <tr> <th scope="row"><label for="de_card_noint_use">신용카드 무이자할부사용</label></th> <td> <?php echo help("주문시 신용카드 무이자할부를 가능하게 할것인지를 설정합니다.<br>사용으로 설정하시면 PG사 가맹점 관리자 페이지에서 설정하신 무이자할부 설정이 적용됩니다.<br>사용안함으로 설정하시면 PG사 무이자 이벤트 카드를 제외한 모든 카드의 무이자 설정이 적용되지 않습니다.", 50); ?> <select id="de_card_noint_use" name="de_card_noint_use"> <option value="0" <?php echo get_selected($default['de_card_noint_use'], 0); ?>>사용안함</option> <option value="1" <?php echo get_selected($default['de_card_noint_use'], 1); ?>>사용</option> </select> </td> </tr> <tr> <th scope="row"><label for="de_taxsave_use">현금영수증<br>발급사용</label></th> <td> <?php echo help("관리자는 설정에 관계없이 <a href=\"".G5_ADMIN_URL."/shop_admin/orderlist.php\">주문내역</a> > 보기에서 발급이 가능합니다.\n현금영수증 발급 취소는 PG사에서 지원하는 현금영수증 취소 기능을 사용하시기 바랍니다.", 50); ?> <select id="de_taxsave_use" name="de_taxsave_use"> <option value="0" <?php echo get_selected($default['de_taxsave_use'], 0); ?>>사용안함</option> <option value="1" <?php echo get_selected($default['de_taxsave_use'], 1); ?>>사용</option> </select> </td> </tr> <tr> <th scope="row"><label for="cf_use_point">포인트 사용</label></th> <td> <?php echo help("<a href=\"".G5_ADMIN_URL."/config_form.php#frm_board\" target=\"_blank\">환경설정 > 기본환경설정</a>과 동일한 설정입니다."); ?> <input type="checkbox" name="cf_use_point" value="1" id="cf_use_point"<?php echo $config['cf_use_point']?' checked':''; ?>> 사용 </td> </tr> <tr> <th scope="row"><label for="de_settle_min_point">결제 최소포인트</label></th> <td> <?php echo help("회원의 포인트가 설정값 이상일 경우만 주문시 결제에 사용할 수 있습니다.\n포인트 사용을 하지 않는 경우에는 의미가 없습니다."); ?> <input type="text" name="de_settle_min_point" value="<?php echo $default['de_settle_min_point']; ?>" id="de_settle_min_point" class="frm_input" size="10"> 점 </td> </tr> <tr> <th scope="row"><label for="de_settle_max_point">최대 결제포인트</label></th> <td> <?php echo help("주문 결제시 최대로 사용할 수 있는 포인트를 설정합니다.\n포인트 사용을 하지 않는 경우에는 의미가 없습니다."); ?> <input type="text" name="de_settle_max_point" value="<?php echo $default['de_settle_max_point']; ?>" id="de_settle_max_point" class="frm_input" size="10"> 점 </td> </tr> <tr> <th scope="row"><label for="de_settle_point_unit">결제 포인트단위</label></th> <td> <?php echo help("주문 결제시 사용되는 포인트의 절사 단위를 설정합니다."); ?> <select id="de_settle_point_unit" name="de_settle_point_unit"> <option value="100" <?php echo get_selected($default['de_settle_point_unit'], 100); ?>>100</option> <option value="10" <?php echo get_selected($default['de_settle_point_unit'], 10); ?>>10</option> <option value="1" <?php echo get_selected($default['de_settle_point_unit'], 1); ?>>1</option> </select> 점 </td> </tr> <tr> <th scope="row"><label for="de_card_point">포인트부여</label></th> <td> <?php echo help("신용카드, 계좌이체, 휴대폰 결제시 포인트를 부여할지를 설정합니다. (기본값은 '아니오')"); ?> <select id="de_card_point" name="de_card_point"> <option value="0" <?php echo get_selected($default['de_card_point'], 0); ?>>아니오</option> <option value="1" <?php echo get_selected($default['de_card_point'], 1); ?>>예</option> </select> </td> </tr> <tr> <th scope="row"><label for="de_point_days">주문완료 포인트</label></th> <td> <?php echo help("주문자가 회원일 경우에만 주문완료시 포인트를 지급합니다. 주문취소, 반품 등을 고려하여 포인트를 지급할 적당한 기간을 입력하십시오. (기본값은 7일)\n0일로 설정하는 경우에는 주문완료와 동시에 포인트를 지급합니다."); ?> 주문 완료 <input type="text" name="de_point_days" value="<?php echo $default['de_point_days']; ?>" id="de_point_days" class="frm_input" size="2"> 일 이후에 포인트를 지급 </td> </tr> <tr> <th scope="row"><label for="de_pg_service">결제대행사</label></th> <td> <?php echo help('쇼핑몰에서 사용할 결제대행사를 선택합니다.'); ?> <select id="de_pg_service" name="de_pg_service"> <option value="kcp" <?php echo get_selected($default['de_pg_service'], 'kcp'); ?>>KCP</option> <option value="lg" <?php echo get_selected($default['de_pg_service'], 'lg'); ?>>LG유플러스</option> <option value="inicis" <?php echo get_selected($default['de_pg_service'], 'inicis'); ?>>KG이니시스</option> <option value="nicepay" <?php echo get_selected($default['de_pg_service'], 'nicepay'); ?>>나이스페이</option> </select> </td> </tr> <tr class="pg_info_fld kcp_info_fld"> <th scope="row"> <label for="de_kcp_mid">KCP SITE CODE</label><br> <a href="http://sir.co.kr/main/service/p_pg.php" target="_blank" id="scf_kcpreg" class="scf_pgreg">KCP서비스신청하기</a> </th> <td> <?php echo help("KCP 에서 받은 SR 로 시작하는 영대문자 입력하세요.<!--, 숫자 혼용 총 5자리 중 SR 을 제외한 나머지 3자리 SITE CODE 를 입력하세요.\n만약, 사이트코드가 SR로 시작하지 않는다면 KCP에 사이트코드 변경 요청을 하십시오. 예) SR9A3-->"); ?> <!--<span class="sitecode">SR</span> --><input type="text" name="de_kcp_mid" value="<?php echo $default['de_kcp_mid']; ?>" id="de_kcp_mid" class="frm_input" size="10" maxlength="10" style="font:bold 15px Verdana;"> </td> </tr> <tr class="pg_info_fld kcp_info_fld"> <th scope="row"><label for="de_kcp_site_key">KCP SITE KEY</label></th> <td> <?php echo help("25자리 영대소문자와 숫자 - 그리고 _ 로 이루어 집니다. SITE KEY 발급 KCP 전화: 1544-8660\n예) 1Q9YRV83gz6TukH8PjH0xFf__"); ?> <input type="text" name="de_kcp_site_key" value="<?php echo $default['de_kcp_site_key']; ?>" id="de_kcp_site_key" class="frm_input" size="32" maxlength="25"> </td> </tr> <tr class="pg_info_fld lg_info_fld"> <th scope="row"> <label for="cf_lg_mid">LG유플러스 상점아이디</label><br> <a href="http://sir.co.kr/main/service/lg_pg.php" target="_blank" id="scf_lgreg" class="scf_pgreg">LG유플러스 서비스신청하기</a> </th> <td> <?php echo help("<!--LG유플러스에서 받은 si_ 로 시작하는 상점 ID를 입력하세요.\n만약, 상점 ID가 si_로 시작하지 않는다면 LG유플러스에 사이트코드 변경 요청을 하십시오. 예) si_lguplus\n--><a href=\"".G5_ADMIN_URL."/config_form.php#anc_cf_cert\">기본환경설정 > 본인확인</a> 설정의 LG유플러스 상점아이디와 동일합니다."); ?> <!--<span class="sitecode">si_</span> --><input type="text" name="cf_lg_mid" value="<?php echo $config['cf_lg_mid']; ?>" id="cf_lg_mid" class="frm_input" size="10" maxlength="20" style="font:bold 15px Verdana;"> 영문자, 숫자 혼용 </td> </tr> <tr class="pg_info_fld lg_info_fld"> <th scope="row"><label for="cf_lg_mert_key">LG유플러스 MERT KEY</label></th> <td> <?php echo help("LG유플러스 상점MertKey는 상점관리자 -> 계약정보 -> 상점정보관리에서 확인하실 수 있습니다.\n예) 95160cce09854ef44d2edb2bfb05f9f3\n<a href=\"".G5_ADMIN_URL."/config_form.php#anc_cf_cert\">기본환경설정 > 본인확인</a> 설정의 LG유플러스 MERT KEY와 동일합니다."); ?> <input type="text" name="cf_lg_mert_key" value="<?php echo $config['cf_lg_mert_key']; ?>" id="cf_lg_mert_key" class="frm_input" size="32" maxlength="50"> </td> </tr> <tr class="pg_info_fld inicis_info_fld"> <th scope="row"> <label for="de_inicis_mid">KG이니시스 상점아이디</label><br> <a href="http://sir.co.kr/main/service/inicis_pg.php" target="_blank" id="scf_lgreg" class="scf_pgreg">KG이니시스 서비스신청하기</a> </th> <td> <?php echo help("KG이니시스로 부터 발급 받으신 상점아이디(MID) <!--10자리 중 SIR 을 제외한 나머지 7자리를 입력 합니다.\n만약, 상점아이디가 SIR로 시작하지 않는다면 계약담당자에게 변경 요청을 해주시기 바랍니다. (Tel. 02-3430-5858) 예) SIRpaytest-->"); ?> <!--<span class="sitecode">SIR</span>--> <input type="text" name="de_inicis_mid" value="<?php echo $default['de_inicis_mid']; ?>" id="de_inicis_mid" class="frm_input" size="10" maxlength="10" style="font:bold 15px Verdana;"> 영문소문자(숫자포함 가능) </td> </tr> <tr class="pg_info_fld inicis_info_fld"> <th scope="row"><label for="de_inicis_admin_key">KG이니시스 키패스워드</label></th> <td> <?php echo help("KG이니시스에서 발급받은 4자리 상점 키패스워드를 입력합니다.\nKG이니시스 상점관리자 패스워드와 관련이 없습니다.\n키패스워드 값을 확인하시려면 상점측에 발급된 키파일 안의 readme.txt 파일을 참조해 주십시오"); ?> <input type="text" name="de_inicis_admin_key" value="<?php echo $default['de_inicis_admin_key']; ?>" id="de_inicis_admin_key" class="frm_input" size="5" maxlength="4"> </td> </tr>
<tr class="pg_info_fld nicepay_info_fld"> <th scope="row"> <label for="de_nicepay_mid">나이스페이 상점아이디</label><br> <a href="https://home.nicepay.co.kr/homepg/apply_1.jsp" target="_blank" id="scf_lgreg" class="scf_pgreg">나이스페이 서비스신청하기</a> </th> <td> <?php echo help("나이스페이로 부터 발급 받으신 가맹점아이디(MID)를 입력합니다. <!--10자리 중 SIR 을 제외한 나머지 7자리를 입력 합니다.\n만약, 상점아이디가 SIR로 시작하지 않는다면 계약담당자에게 변경 요청을 해주시기 바랍니다. (Tel. 02-3430-5858) 예) SIRpaytest-->"); ?> <!--<span class="sitecode">SIR</span>--> <input type="text" name="de_nicepay_mid" value="<?php echo $default['de_nicepay_mid']; ?>" id="de_nicepay_mid" class="frm_input" size="20" style="font:bold 15px Verdana;"> </td> </tr> <tr class="pg_info_fld nicepay_info_fld"> <th scope="row"><label for="de_nicepay_key">나이스페이 키패스워드</label></th> <td> <?php echo help("나이스페이에서 발급받은 가맹점키를 입력합니다.\n"); ?> <input type="text" name="de_nicepay_key" value="<?php echo $default['de_nicepay_key']; ?>" id="de_nicepay_key" class="frm_input" size="98"> </td> </tr>
<tr> <th scope="row">에스크로 사용</th> <td> <?php echo help("에스크로 결제를 사용하시려면, 반드시 결제대행사 상점 관리자 페이지에서 에스크로 서비스를 신청하신 후 사용하셔야 합니다.\n에스크로 사용시 배송과의 연동은 되지 않으며 에스크로 결제만 지원됩니다."); ?> <input type="radio" name="de_escrow_use" value="0" <?php echo $default['de_escrow_use']==0?"checked":""; ?> id="de_escrow_use1"> <label for="de_escrow_use1">일반결제 사용</label> <input type="radio" name="de_escrow_use" value="1"<?php echo $default['de_escrow_use']==1?"checked":""; ?> id="de_escrow_use2"> <label for="de_escrow_use2"> 에스크로결제 사용</label> </td> </tr> <tr> <th scope="row">신용카드 결제테스트</th> <td> <?php echo help("신용카드를 테스트 하실 경우에 체크하세요. 결제단위 최소 1,000원"); ?> <input type="radio" name="de_card_test" value="0" <?php echo $default['de_card_test']==0?"checked":""; ?> id="de_card_test1"> <label for="de_card_test1">실결제 </label> <input type="radio" name="de_card_test" value="1" <?php echo $default['de_card_test']==1?"checked":""; ?> id="de_card_test2"> <label for="de_card_test2">테스트결제</label> <div class="scf_cardtest kcp_cardtest"> <a href="http://admin.kcp.co.kr/" target="_blank" class="btn_frmline">실결제 관리자</a> <a href="http://testadmin8.kcp.co.kr/" target="_blank" class="btn_frmline">테스트 관리자</a> </div> <div class="scf_cardtest lg_cardtest"> <a href="https://pgweb.tosspayments.com/ms/mertpotal/retrieveMertAdminLoginPage.do" target="_blank" class="btn_frmline">실결제 관리자</a> <a href="https://pgweb.tosspayments.com:7086/ms/mertpotal/retrieveMertAdminLoginPage.do" target="_blank" class="btn_frmline">테스트 관리자</a> </div> <div class="scf_cardtest inicis_cardtest"> <a href="https://iniweb.inicis.com/" target="_blank" class="btn_frmline">상점 관리자</a> </div> <div id="scf_cardtest_tip"> <strong>일반결제 사용시 테스트 결제</strong> <dl> <dt>신용카드</dt><dd>1000원 이상, 모든 카드가 테스트 되는 것은 아니므로 여러가지 카드로 결제해 보셔야 합니다.<br>(BC, 현대, 롯데, 삼성카드)</dd> <dt>계좌이체</dt><dd>150원 이상, 계좌번호, 비밀번호는 가짜로 입력해도 되며, 주민등록번호는 공인인증서의 것과 일치해야 합니다.</dd> <dt>가상계좌</dt><dd>1원 이상, 모든 은행이 테스트 되는 것은 아니며 "해당 은행 계좌 없음" 자주 발생함.<br>(광주은행, 하나은행)</dd> <dt>휴대폰</dt><dd>1004원, 실결제가 되며 다음날 새벽에 일괄 취소됨</dd> </dl> <strong>에스크로 사용시 테스트 결제</strong><br> <dl> <dt>신용카드</dt><dd>1000원 이상, 모든 카드가 테스트 되는 것은 아니므로 여러가지 카드로 결제해 보셔야 합니다.<br>(BC, 현대, 롯데, 삼성카드)</dd> <dt>계좌이체</dt><dd>150원 이상, 계좌번호, 비밀번호는 가짜로 입력해도 되며, 주민등록번호는 공인인증서의 것과 일치해야 합니다.</dd> <dt>가상계좌</dt><dd>1원 이상, 입금통보는 제대로 되지 않음.</dd> <dt>휴대폰</dt><dd>테스트 지원되지 않음.</dd> </dl> <ul id="kcp_cardtest_tip" class="scf_cardtest_tip_adm scf_cardtest_tip_adm_hide"> <li>테스트결제의 <a href="http://testadmin8.kcp.co.kr/assist/login.LoginAction.do" target="_blank">상점관리자</a> 로그인 정보는 KCP로 문의하시기 바랍니다. (기술지원 1544-8661)</li> <li><b>일반결제</b>의 테스트 사이트코드는 <b>T0000</b> 이며, <b>에스크로 결제</b>의 테스트 사이트코드는 <b>T0007</b> 입니다.</li> </ul> <ul id="lg_cardtest_tip" class="scf_cardtest_tip_adm scf_cardtest_tip_adm_hide"> <li>테스트결제의 <a href="http://pgweb.dacom.net:7085/" target="_blank">상점관리자</a> 로그인 정보는 LG유플러스 상점아이디 첫 글자에 t를 추가해서 로그인하시기 바랍니다. 예) tsi_lguplus</li> </ul> <ul id="inicis_cardtest_tip" class="scf_cardtest_tip_adm scf_cardtest_tip_adm_hide"> <li><b>일반결제</b>의 테스트 사이트 mid는 <b>INIpayTest</b> 이며, <b>에스크로 결제</b>의 테스트 사이트 mid는 <b>iniescrow0</b> 입니다.</li> </ul> </div> </td> </tr> <tr> <th scope="row"><label for="de_tax_flag_use">복합과세 결제</label></th> <td> <?php echo help("복합과세(과세, 비과세) 결제를 사용하려면 체크하십시오.\n복합과세 결제를 사용하기 전 PG사에 별도로 결제 신청을 해주셔야 합니다. 사용시 PG사로 문의하여 주시기 바랍니다."); ?> <input type="checkbox" name="de_tax_flag_use" value="1" id="de_tax_flag_use"<?php echo $default['de_tax_flag_use']?' checked':''; ?>> 사용 </td> </tr> </tbody> </table> <script> $('#scf_cardtest_tip').addClass('scf_cardtest_tip'); $('<button type="button" class="scf_cardtest_btn btn_frmline">테스트결제 팁 더보기</button>').appendTo('.scf_cardtest');
$(".scf_cardtest").addClass("scf_cardtest_hide"); $(".<?php echo $default['de_pg_service']; ?>_cardtest").removeClass("scf_cardtest_hide"); $("#<?php echo $default['de_pg_service']; ?>_cardtest_tip").removeClass("scf_cardtest_tip_adm_hide"); </script> </div> </section>
<?php echo $frm_submit; ?>
<section id="anc_scf_delivery"> <h2 >배송설정</h2> <?php echo $pg_anchor; ?>
<div class="tbl_frm01 tbl_wrap"> <table> <caption>배송설정 입력</caption> <colgroup> <col class="grid_4"> <col> </colgroup> <tbody> <tr> <th scope="row"><label for="de_delivery_company">배송업체</label></th> <td> <?php echo help("이용 중이거나 이용하실 배송업체를 선택하세요."); ?> <select name="de_delivery_company" id="de_delivery_company"> <?php echo get_delivery_company($default['de_delivery_company']); ?> </select> </td> </tr> <tr> <th scope="row"><label for="de_send_cost_case">배송비유형</label></th> <td> <?php echo help("<strong>금액별차등</strong>으로 설정한 경우, 주문총액이 배송비상한가 미만일 경우 배송비를 받습니다.\n<strong>무료배송</strong>으로 설정한 경우, 배송비상한가 및 배송비를 무시하며 착불의 경우도 무료배송으로 설정합니다.\n<strong>상품별로 배송비 설정을 한 경우 상품별 배송비 설정이 우선</strong> 적용됩니다.\n예를 들어 무료배송으로 설정했을 때 특정 상품에 배송비가 설정되어 있으면 주문시 배송비가 부과됩니다."); ?> <select name="de_send_cost_case" id="de_send_cost_case"> <option value="차등" <?php echo get_selected($default['de_send_cost_case'], "차등"); ?>>금액별차등</option> <option value="무료" <?php echo get_selected($default['de_send_cost_case'], "무료"); ?>>무료배송</option> </select> </td> </tr> <tr> <th scope="row"><label for="de_send_cost_limit">배송비상한가</label></th> <td> <?php echo help("배송비유형이 '금액별차등'일 경우에만 해당되며 배송비상한가를 여러개 두고자 하는 경우는 <b>;</b> 로 구분합니다.\n\n예를 들어 20000원 미만일 경우 4000원, 30000원 미만일 경우 3000원 으로 사용할 경우에는 배송비상한가를 20000;30000 으로 입력하고 배송비를 4000;3000 으로 입력합니다."); ?> <input type="text" name="de_send_cost_limit" value="<?php echo $default['de_send_cost_limit']; ?>" size="40" class="frm_input" id="de_send_cost_limit"> 원 </td> </tr> <tr> <th scope="row"><label for="de_send_cost_list">배송비</label></th> <td> <input type="text" name="de_send_cost_list" value="<?php echo $default['de_send_cost_list']; ?>" size="40" class="frm_input" id="de_send_cost_list"> 원 </td> </tr> <tr> <th scope="row"><label for="de_hope_date_use">희망배송일사용</label></th> <td> <?php echo help("'예'로 설정한 경우 주문서에서 희망배송일을 입력 받습니다."); ?> <select name="de_hope_date_use" id="de_hope_date_use"> <option value="0" <?php echo get_selected($default['de_hope_date_use'], 0); ?>>사용안함</option> <option value="1" <?php echo get_selected($default['de_hope_date_use'], 1); ?>>사용</option> </select> </td> </tr> <tr> <th scope="row"><label for="de_hope_date_after">희망배송일지정</label></th> <td> <?php echo help("오늘을 포함하여 설정한 날 이후부터 일주일 동안을 달력 형식으로 노출하여 선택할수 있도록 합니다."); ?> <input type="text" name="de_hope_date_after" value="<?php echo $default['de_hope_date_after']; ?>" id="de_hope_date_after" class="frm_input" size="5"> 일 </td> </tr> <tr> <th scope="row">배송정보</th> <td><?php echo editor_html('de_baesong_content', get_text($default['de_baesong_content'], 0)); ?></td> </tr> <tr> <th scope="row">교환/반품</th> <td><?php echo editor_html('de_change_content', get_text($default['de_change_content'], 0)); ?></td> </tr> </tbody> </table> </div> </section>
<?php echo $frm_submit; ?>
<section id="anc_scf_etc"> <h2 class="h2_frm">기타 설정</h2> <?php echo $pg_anchor; ?>
<div class="tbl_frm01 tbl_wrap"> <table> <caption>기타 설정</caption> <colgroup> <col class="grid_4"> <col> </colgroup> <tbody> <tr> <th scope="row">관련상품출력</th> <td> <?php echo help("관련상품의 경우 등록된 상품은 모두 출력하므로 '출력할 줄 수'는 설정하지 않습니다. 이미지높이를 0으로 설정하면 상품이미지를 이미지폭에 비례하여 생성합니다."); ?> <label for="de_rel_list_skin">스킨</label> <select name="de_rel_list_skin" id="de_rel_list_skin"> <?php echo get_list_skin_options("^relation.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_rel_list_skin']); ?> </select> <label for="de_rel_img_width">이미지폭</label> <input type="text" name="de_rel_img_width" value="<?php echo $default['de_rel_img_width']; ?>" id="de_rel_img_width" class="frm_input" size="3"> <label for="de_rel_img_height">이미지높이</label> <input type="text" name="de_rel_img_height" value="<?php echo $default['de_rel_img_height']; ?>" id="de_rel_img_height" class="frm_input" size="3"> <label for="de_rel_list_mod">1줄당 이미지 수</label> <input type="text" name="de_rel_list_mod" value="<?php echo $default['de_rel_list_mod']; ?>" id="de_rel_list_mod" class="frm_input" size="3"> <label for="de_rel_list_use">출력</label> <input type="checkbox" name="de_rel_list_use" value="1" id="de_rel_list_use" <?php echo $default['de_rel_list_use']?"checked":""; ?>> </td> </tr> <tr> <th scope="row">모바일 관련상품출력</th> <td> <?php echo help("관련상품의 경우 등록된 상품은 모두 출력하므로 '출력할 줄 수'는 설정하지 않습니다. 이미지높이를 0으로 설정하면 상품이미지를 이미지폭에 비례하여 생성합니다."); ?> <label for="de_mobile_rel_list_skin">스킨</label> <select name="de_mobile_rel_list_skin" id="de_mobile_rel_list_skin"> <?php echo get_list_skin_options("^relation.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_rel_list_skin']); ?> </select> <label for="de_mobile_rel_img_width">이미지폭</label> <input type="text" name="de_mobile_rel_img_width" value="<?php echo $default['de_mobile_rel_img_width']; ?>" id="de_mobile_rel_img_width" class="frm_input" size="3"> <label for="de_mobile_rel_img_height">이미지높이</label> <input type="text" name="de_mobile_rel_img_height" value="<?php echo $default['de_mobile_rel_img_height']; ?>" id="de_mobile_rel_img_height" class="frm_input" size="3"> <label for="de_mobile_rel_list_use">출력</label> <input type="checkbox" name="de_mobile_rel_list_use" value="1" id="de_mobile_rel_list_use" <?php echo $default['de_mobile_rel_list_use']?"checked":""; ?>> </td> </tr> <tr> <th scope="row">검색상품출력</th> <td> <label for="de_search_list_skin">스킨</label> <select name="de_search_list_skin" id="de_search_list_skin"> <?php echo get_list_skin_options("^list.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_search_list_skin']); ?> </select> <label for="de_search_img_width">이미지폭</label> <input type="text" name="de_search_img_width" value="<?php echo $default['de_search_img_width']; ?>" id="de_search_img_width" class="frm_input" size="3"> <label for="de_search_img_height">이미지높이</label> <input type="text" name="de_search_img_height" value="<?php echo $default['de_search_img_height']; ?>" id="de_search_img_height" class="frm_input" size="3"> <label for="de_search_list_mod">1줄당 이미지 수</label> <input type="text" name="de_search_list_mod" value="<?php echo $default['de_search_list_mod']; ?>" id="de_search_list_mod" class="frm_input" size="3"> <label for="de_search_list_row">출력할 줄 수</label> <input type="text" name="de_search_list_row" value="<?php echo $default['de_search_list_row']; ?>" id="de_search_list_row" class="frm_input" size="3"> </td> </tr> <tr> <th scope="row">모바일 검색상품출력</th> <td> <label for="de_mobile_search_list_skin">스킨</label> <select name="de_mobile_search_list_skin" id="de_mobile_search_list_skin"> <?php echo get_list_skin_options("^list.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_search_list_skin']); ?> </select> <label for="de_mobile_search_img_width">이미지폭</label> <input type="text" name="de_mobile_search_img_width" value="<?php echo $default['de_mobile_search_img_width']; ?>" id="de_mobile_search_img_width" class="frm_input" size="3"> <label for="de_mobile_search_img_height">이미지높이</label> <input type="text" name="de_mobile_search_img_height" value="<?php echo $default['de_mobile_search_img_height']; ?>" id="de_mobile_search_img_height" class="frm_input" size="3"> <label for="de_mobile_search_list_mod">이미지 수</label> <input type="text" name="de_mobile_search_list_mod" value="<?php echo $default['de_mobile_search_list_mod']; ?>" id="de_mobile_search_list_mod" class="frm_input" size="3"> </td> </tr> <tr> <th scope="row">이미지(소)</th> <td> <?php echo help("분류리스트에서 보여지는 사이즈를 설정하시면 됩니다. 분류관리의 출력 이미지폭, 높이의 기본값으로 사용됩니다. 높이를 0 으로 설정하시면 폭에 비례하여 높이를 썸네일로 생성합니다."); ?> <label for="de_simg_width"><span class="sound_only">이미지(소) </span>폭</label> <input type="text" name="de_simg_width" value="<?php echo $default['de_simg_width']; ?>" id="de_simg_width" class="frm_input" size="5"> 픽셀 / <label for="de_simg_height"><span class="sound_only">이미지(소) </span>높이</label> <input type="text" name="de_simg_height" value="<?php echo $default['de_simg_height']; ?>" id="de_simg_height" class="frm_input" size="5"> 픽셀 </td> </tr> <tr> <th scope="row">이미지(중)</th> <td> <?php echo help("상품상세보기에서 보여지는 상품이미지의 사이즈를 픽셀로 설정합니다. 높이를 0 으로 설정하시면 폭에 비례하여 높이를 썸네일로 생성합니다."); ?> <label for="de_mimg_width"><span class="sound_only">이미지(중) </span>폭</label> <input type="text" name="de_mimg_width" value="<?php echo $default['de_mimg_width']; ?>" id="de_mimg_width" class="frm_input" size="5"> 픽셀 / <label for="de_mimg_height"><span class="sound_only">이미지(중) </span>높이</label> <input type="text" name="de_mimg_height" value="<?php echo $default['de_mimg_height']; ?>" id="de_mimg_height" class="frm_input" size="5"> 픽셀 </td> </tr> <tr> <th scope="row">상단로고이미지</th> <td> <?php echo help("쇼핑몰 상단로고를 직접 올릴 수 있습니다. 이미지 파일만 가능합니다."); ?> <input type="file" name="logo_img" id="logo_img"> <?php $logo_img = G5_DATA_PATH."/common/logo_img"; if (file_exists($logo_img)) { $size = getimagesize($logo_img); ?> <input type="checkbox" name="logo_img_del" value="1" id="logo_img_del"> <label for="logo_img_del"><span class="sound_only">상단로고이미지</span> 삭제</label> <span class="scf_img_logoimg"></span> <div id="logoimg" class="banner_or_img"> <img src="<?php echo G5_DATA_URL; ?>/common/logo_img" alt=""> <button type="button" class="sit_wimg_close">닫기</button> </div> <script> $('<button type="button" id="cf_logoimg_view" class="btn_frmline scf_img_view">상단로고이미지 확인</button>').appendTo('.scf_img_logoimg'); </script> <?php } ?> </td> </tr> <tr> <th scope="row">하단로고이미지</th> <td> <?php echo help("쇼핑몰 하단로고를 직접 올릴 수 있습니다. 이미지 파일만 가능합니다."); ?> <input type="file" name="logo_img2" id="logo_img2"> <?php $logo_img2 = G5_DATA_PATH."/common/logo_img2"; if (file_exists($logo_img2)) { $size = getimagesize($logo_img2); ?> <input type="checkbox" name="logo_img_del2" value="1" id="logo_img_del2"> <label for="logo_img_del2"><span class="sound_only">하단로고이미지</span> 삭제</label> <span class="scf_img_logoimg2"></span> <div id="logoimg2" class="banner_or_img"> <img src="<?php echo G5_DATA_URL; ?>/common/logo_img2" alt=""> <button type="button" class="sit_wimg_close">닫기</button> </div> <script> $('<button type="button" id="cf_logoimg2_view" class="btn_frmline scf_img_view">하단로고이미지 확인</button>').appendTo('.scf_img_logoimg2'); </script> <?php } ?> </td> </tr> <tr> <th scope="row">모바일 상단로고이미지</th> <td> <?php echo help("모바일 쇼핑몰 상단로고를 직접 올릴 수 있습니다. 이미지 파일만 가능합니다."); ?> <input type="file" name="mobile_logo_img" id="mobile_logo_img"> <?php $mobile_logo_img = G5_DATA_PATH."/common/mobile_logo_img"; if (file_exists($mobile_logo_img)) { $size = getimagesize($mobile_logo_img); ?> <input type="checkbox" name="mobile_logo_img_del" value="1" id="mobile_logo_img_del"> <label for="mobile_logo_img_del"><span class="sound_only">모바일 상단로고이미지</span> 삭제</label> <span class="scf_img_mobilelogoimg"></span> <div id="mobilelogoimg" class="banner_or_img"> <img src="<?php echo G5_DATA_URL; ?>/common/mobile_logo_img" alt=""> <button type="button" class="sit_wimg_close">닫기</button> </div> <script> $('<button type="button" id="cf_mobilelogoimg_view" class="btn_frmline scf_img_view">모바일 상단로고이미지 확인</button>').appendTo('.scf_img_mobilelogoimg'); </script> <?php } ?> </td> </tr> <tr> <th scope="row">모바일 하단로고이미지</th> <td> <?php echo help("모바일 쇼핑몰 하단로고를 직접 올릴 수 있습니다. 이미지 파일만 가능합니다."); ?> <input type="file" name="mobile_logo_img2" id="mobile_logo_img2"> <?php $mobile_logo_img2 = G5_DATA_PATH."/common/mobile_logo_img2"; if (file_exists($mobile_logo_img2)) { $size = getimagesize($mobile_logo_img2); ?> <input type="checkbox" name="mobile_logo_img_del2" value="1" id="mobile_logo_img_del2"> <label for="mobile_logo_img_del2"><span class="sound_only">모바일 하단로고이미지</span> 삭제</label> <span class="scf_img_mobilelogoimg2"></span> <div id="mobilelogoimg2" class="banner_or_img"> <img src="<?php echo G5_DATA_URL; ?>/common/mobile_logo_img2" alt=""> <button type="button" class="sit_wimg_close">닫기</button> </div> <script> $('<button type="button" id="cf_mobilelogoimg2_view" class="btn_frmline scf_img_view">모바일 하단로고이미지 확인</button>').appendTo('.scf_img_mobilelogoimg2'); </script> <?php } ?> </td> </tr> <tr> <th scope="row"><label for="de_item_use_write">사용후기 작성</label></th> <td> <?php echo help("주문상태에 따른 사용후기 작성여부를 설정합니다.<br>마이페이지에서 작성은 오픈마켓의 후기와 흡사한 형태입니다.", 50); ?> <select name="de_item_use_write" id="de_item_use_write"> <option value="0" <?php echo get_selected($default['de_item_use_write'], 0); ?>>주문상태와 무관하게 작성가능</option> <option value="1" <?php echo get_selected($default['de_item_use_write'], 1); ?>>주문상태가 완료인 경우에만 작성가능</option> <option value="2" <?php echo get_selected($default['de_item_use_write'], 2); ?>>주문완료후 마이페이지에서 주문당 1회 후기 작성</option> </select> </td> </tr> <tr> <th scope="row"><label for="de_item_use_use">사용후기</label></th> <td> <?php echo help("사용후기가 올라오면, 즉시 출력 혹은 관리자 승인 후 출력 여부를 설정합니다.", 50); ?> <select name="de_item_use_use" id="de_item_use_use"> <option value="0" <?php echo get_selected($default['de_item_use_use'], 0); ?>>즉시 출력</option> <option value="1" <?php echo get_selected($default['de_item_use_use'], 1); ?>>관리자 승인 후 출력</option> </select> </td> </tr> <tr> <th scope="row"><label for="de_level_sell">상품구입 권한</label></th> <td> <?php echo help("권한을 1로 설정하면 누구나 구입할 수 있습니다. 특정회원만 구입할 수 있도록 하려면 해당 권한으로 설정하십시오."); ?> <?php echo get_member_level_select('de_level_sell', 1, 10, $default['de_level_sell']); ?> </td> </tr> <tr> <th scope="row"><label for="de_code_dup_use">코드 중복검사</label></th> <td> <?php echo help("분류, 상품 등을 추가할 때 자동으로 코드 중복검사를 하려면 체크하십시오."); ?> <input type="checkbox" name="de_code_dup_use" value="1" id="de_code_dup_use"<?php echo $default['de_code_dup_use']?' checked':''; ?>> 사용 </td> </tr> <tr> <th scope="row"><label for="de_cart_keep_term">장바구니 보관기간</label></th> <td> <?php echo help("장바구니 상품의 보관 기간을 설정하십시오."); ?> <input type="text" name="de_cart_keep_term" value="<?php echo $default['de_cart_keep_term']; ?>" id="de_cart_keep_term" class="frm_input" size="5"> 일 </td> </tr> <tr> <th scope="row"><label for="de_guest_cart_use">비회원 장바구니</label></th> <td> <?php echo help("비회원 장바구니 기능을 사용하려면 체크하십시오."); ?> <input type="checkbox" name="de_guest_cart_use" value="1" id="de_guest_cart_use"<?php echo $default['de_guest_cart_use']?' checked':''; ?>> 사용 </td> </tr> <?php if(1==2){ // 벤더기능 사용시 1==1으로 변경 ?> <tr> <th scope="row"><label for="de_guest_cart_use">벤더기능 사용</label></th> <td> <?php echo help("벤더기능을 사용할려면 체크하십시오."); ?> <input type="checkbox" name="de_vender_use" value="1" id="de_vender_use"<?php echo $default['de_vender_use']?' checked':''; ?>> 사용 </td> </tr> <?php } else { ?> <input type='hidden' name='de_vender_use' value='<?php echo $default['de_vender_use']; ?>'> <?php } ?> <tr> <th scope="row"><label for="de_guest_cart_use">기본단가/다중단가 사용</label></th> <td> <?php echo help("천년경영에서 받아온 다중단가를 사용할지 말지에 대한 여부를 정합니다."); ?> <input type="radio" name="de_multy_price_use" value="0" id="de_multy_price_use" <?php if($default['de_multy_price_use']=='' || $default['de_multy_price_use']=='0'){ echo 'checked'; } ?>> 기본판매가 사용 <input type="radio" name="de_multy_price_use" value="1" id="de_multy_price_use" <?php if($default['de_multy_price_use']=='1'){ echo 'checked'; } ?>> 다중판매가 사용 </td> </tr> <!--<input type='hidden' name='de_multy_price_use' value="0">--> <!-- 다중단가 사용안함으로 결정 --> <tr> <th scope="row"><label for="de_guest_cart_use">천년경영 재고체크 여부</label></th> <td> <?php echo help("천년경영에서 업데이트된 재고를 체크해서 품절처리등을 행할지를 결정합니다."); ?> <input type="radio" name="de_cs_qty_use" value="0" id="de_cs_qty_use" <?php if($default['de_cs_qty_use']=='' || $default['de_cs_qty_use']=='0'){ echo 'checked'; } ?>> 천년경영 재고 체크 안함 <input type="radio" name="de_cs_qty_use" value="1" id="de_cs_qty_use" <?php if($default['de_cs_qty_use']=='1'){ echo 'checked'; } ?>> 천년경영 재고 체크해서 반영함 </td> </tr> <tr> <th scope="row"><label for="de_prodset_qty_use">CS셋트상품 재고 처리 여부</label></th> <td> <?php echo help("추가옵션의 상품의 원 상품이 가격 변동시 연동되어서 변경될지에 대한 여부를 결정합니다."); ?> <input type="radio" name="de_prodset_qty_use" value="0" id="de_prodset_qty_use" <?php if($default['de_prodset_qty_use']=='' || $default['de_prodset_qty_use']=='0'){ echo 'checked'; } ?>> 처리 안함 <input type="radio" name="de_prodset_qty_use" value="1" id="de_prodset_qty_use" <?php if($default['de_prodset_qty_use']=='1'){ echo 'checked'; } ?>> CS셋트상품 재고 처리 함 </td> </tr> <tr> <th scope="row"><label for="de_prodset_qty_use">옵션상품 재고 기본 세팅 여부</label></th> <td> <?php echo help("CS하고 연동문제로 옵션상품일경우 쇼핑몰에서 저장/수정할때 본상품과 CS재고를 1로 세팅하는것에 대한 옵션 여부"); ?> <input type="radio" name="de_option_qty_set" value="0" id="de_option_qty_set" <?php if($default['de_option_qty_set']=='' || $default['de_option_qty_set']=='0'){ echo 'checked'; } ?>> 저장시 세팅 안함 <input type="radio" name="de_option_qty_set" value="1" id="de_option_qty_set" <?php if($default['de_option_qty_set']=='1'){ echo 'checked'; } ?>> 저장시 1로 세팅함 </td> </tr> <tr> <th scope="row">신규회원 쿠폰발행</th> <td> <?php echo help("신규회원에게 주문금액 할인 쿠폰을 발행하시려면 아래를 설정하십시오."); ?> <label for="de_member_reg_coupon_use">쿠폰발행</label> <input type="checkbox" name="de_member_reg_coupon_use" value="1" id="de_member_reg_coupon_use"<?php echo $default['de_member_reg_coupon_use']?' checked':''; ?>> <label for="de_member_reg_coupon_price">쿠폰할인금액</label> <input type="text" name="de_member_reg_coupon_price" value="<?php echo $default['de_member_reg_coupon_price']; ?>" id="de_member_reg_coupon_price" class="frm_input" size="10"> 원 <label for="de_member_reg_coupon_minimum">주문최소금액</label> <input type="text" name="de_member_reg_coupon_minimum" value="<?php echo $default['de_member_reg_coupon_minimum']; ?>" id="de_member_reg_coupon_minimum" class="frm_input" size="10"> 원이상 <label for="de_member_reg_coupon_term">쿠폰유효기간</label> <input type="text" name="de_member_reg_coupon_term" value="<?php echo $default['de_member_reg_coupon_term']; ?>" id="de_member_reg_coupon_term" class="frm_input" size="5"> 일 </td> </tr> <tr> <th scope="row">비회원에 대한<br/>개인정보수집 내용</th> <td><?php echo editor_html('de_guest_privacy', get_text($default['de_guest_privacy'], 0)); ?></td> </tr> <tr> <th scope="row"><label for="de_guest_cart_use">오픈마켓 연동 계정<br>(ESM+ : 옥션/지마켓)</label></th> <td> <?php echo help("오픈마켓 정보 연동하실려면 입력하십시오."); ?> 아이디 : <input type="text" name="de_otms_id_esm" value="<?php echo $default['de_otms_id_esm']?>" class="frm_input" > 비밀번호 : <input type="password" name="de_otms_pw_esm" value="<?php echo $default['de_otms_pw_esm']?>" class="frm_input" > </td> </tr> <tr> <th scope="row"><label for="de_guest_cart_use">오픈마켓 연동 계정<br>(11번가)</label></th> <td> <?php echo help("오픈마켓 정보 연동하실려면 입력하십시오."); ?> 아이디 : <input type="text" name="de_otms_id_11st" value="<?php echo $default['de_otms_id_11st']?>" class="frm_input" > 비밀번호 : <input type="password" name="de_otms_pw_11st" value="<?php echo $default['de_otms_pw_11st']?>" class="frm_input" > </td> </tr> <tr> <th scope="row">MYSQL USER</th> <td><?php echo G5_MYSQL_USER; ?></td> </tr> <tr> <th scope="row">MYSQL DB</th> <td><?php echo G5_MYSQL_DB; ?></td> </tr> <tr> <th scope="row">서버 IP</th> <td><?php echo ($_SERVER['SERVER_ADDR']?$_SERVER['SERVER_ADDR']:$_SERVER['LOCAL_ADDR']); ?></td> </tr> </tbody> </table> </div> </section>
<?php echo $frm_submit; ?>
<?php if (file_exists($logo_img) || file_exists($logo_img2) || file_exists($mobile_logo_img) || file_exists($mobile_logo_img2)) { ?> <script> $(".banner_or_img").addClass("scf_img"); $(function() { $(".scf_img_view").bind("click", function() { var sit_wimg_id = $(this).attr("id").split("_"); var $img_display = $("#"+sit_wimg_id[1]);
$img_display.toggle();
if($img_display.is(":visible")) { $(this).text($(this).text().replace("확인", "닫기")); } else { $(this).text($(this).text().replace("닫기", "확인")); }
if(sit_wimg_id[1].search("mainimg") > -1) { var $img = $("#"+sit_wimg_id[1]).children("img"); var width = $img.width(); var height = $img.height(); if(width > 700) { var img_width = 700; var img_height = Math.round((img_width * height) / width);
$img.width(img_width).height(img_height); } } }); $(".sit_wimg_close").bind("click", function() { var $img_display = $(this).parents(".banner_or_img"); var id = $img_display.attr("id"); $img_display.toggle(); var $button = $("#cf_"+id+"_view"); $button.text($button.text().replace("닫기", "확인")); }); }); </script> <?php } ?>
<script> function byte_check(el_cont, el_byte) { var cont = document.getElementById(el_cont); var bytes = document.getElementById(el_byte); var i = 0; var cnt = 0; var exceed = 0; var ch = '';
for (i=0; i<cont.value.length; i++) { ch = cont.value.charAt(i); if (escape(ch).length > 4) { cnt += 2; } else { cnt += 1; } }
//byte.value = cnt + ' / 80 bytes'; bytes.innerHTML = cnt + ' / 80 bytes';
if (cnt > 80) { exceed = cnt - 80; alert('메시지 내용은 80바이트를 넘을수 없습니다.\r\n작성하신 메세지 내용은 '+ exceed +'byte가 초과되었습니다.\r\n초과된 부분은 자동으로 삭제됩니다.'); var tcnt = 0; var xcnt = 0; var tmp = cont.value; for (i=0; i<tmp.length; i++) { ch = tmp.charAt(i); if (escape(ch).length > 4) { tcnt += 2; } else { tcnt += 1; }
if (tcnt > 80) { tmp = tmp.substring(0,i); break; } else { xcnt = tcnt; } } cont.value = tmp; //byte.value = xcnt + ' / 80 bytes'; bytes.innerHTML = xcnt + ' / 80 bytes'; return; } } </script>
<section id="anc_scf_sms" > <h2 class="h2_frm">SMS 설정</h2> <?php echo $pg_anchor; ?>
<div class="tbl_frm01 tbl_wrap"> <table> <caption>SMS 설정</caption> <colgroup> <col class="grid_4"> <col> </colgroup> <tbody> <tr> <th scope="row"><label for="cf_sms_use">SMS 사용</label></th> <td> <?php echo help("SMS 서비스 회사를 선택하십시오. 서비스 회사를 선택하지 않으면, SMS 발송 기능이 동작하지 않습니다.<br>아이코드는 무료 문자메세지 발송 테스트 환경을 지원합니다.<br><a href=\"".G5_ADMIN_URL."/config_form.php#anc_cf_sms\">기본환경설정 > SMS</a> 설정과 동일합니다."); ?> <select id="cf_sms_use" name="cf_sms_use"> <option value="" <?php echo get_selected($config['cf_sms_use'], ''); ?>>사용안함</option> <option value="icode" <?php echo get_selected($config['cf_sms_use'], 'icode'); ?>>아이코드</option> </select> </td> </tr> <tr> <th scope="row"><label for="de_sms_hp">관리자 휴대폰번호</label></th> <td> <?php echo help("주문서작성시 쇼핑몰관리자가 문자메세지를 받아볼 번호를 숫자만으로 입력하세요. 예) 0101234567"); ?> <input type="text" name="de_sms_hp" value="<?php echo $default['de_sms_hp']; ?>" id="de_sms_hp" class="frm_input" size="20"> </td> </tr> <tr> <th scope="row"><label for="cf_icode_id">아이코드 회원아이디</label></th> <td> <?php echo help("아이코드에서 사용하시는 회원아이디를 입력합니다."); ?> <input type="text" name="cf_icode_id" value="<?php echo $config['cf_icode_id']; ?>" id="cf_icode_id" class="frm_input" size="20"> </td> </tr> <tr> <th scope="row"><label for="cf_icode_pw">아이코드 비밀번호</label></th> <td> <?php echo help("아이코드에서 사용하시는 비밀번호를 입력합니다."); ?> <input type="password" name="cf_icode_pw" value="<?php echo $config['cf_icode_pw']; ?>" class="frm_input" id="cf_icode_pw"> </td> </tr> <tr> <th scope="row">요금제</th> <td> <input type="hidden" name="cf_icode_server_ip" value="<?php echo $config['cf_icode_server_ip']; ?>"> <?php if ($userinfo['payment'] == 'A') { echo '충전제'; echo '<input type="hidden" name="cf_icode_server_port" value="7295">'; } else if ($userinfo['payment'] == 'C') { echo '정액제'; echo '<input type="hidden" name="cf_icode_server_port" value="7296">'; } else { echo '가입해주세요.'; echo '<input type="hidden" name="cf_icode_server_port" value="7295">'; } ?> </td> </tr> <tr> <th scope="row">아이코드 SMS 신청<br>회원가입</th> <td> <?php echo help("아래 링크에서 회원가입 하시면 문자 건당 16원에 제공 받을 수 있습니다."); ?> <a href="http://icodekorea.com/res/join_company_fix_a.php?sellid=sir2" target="_blank" class="btn_frmline">아이코드 회원가입</a> </td> </tr> <?php if ($userinfo['payment'] == 'A') { ?> <tr> <th scope="row">충전 잔액</th> <td colspan="3"> <?php echo number_format($userinfo['coin']); ?> 원. <a href="http://www.icodekorea.com/smsbiz/credit_card_amt.php?icode_id=<?php echo $config['cf_icode_id']; ?>&icode_passwd=<?php echo $config['cf_icode_pw']; ?>" target="_blank" class="btn_frmline" onclick="window.open(this.href,'icode_payment', 'scrollbars=1,resizable=1'); return false;">충전하기</a> </td> </tr> <tr> <th scope="row">건수별 금액</th> <td colspan="3"> <?php echo number_format($userinfo['gpay']); ?> 원. </td> </tr> <?php } ?> </tbody> </table> </div>
<section id="scf_sms_pre"> <h3>사전에 정의된 SMS프리셋</h3> <div class="local_desc01 local_desc"> <dl> <dt>회원가입시</dt> <dd>{이름} {회원아이디} {회사명}</dd> <dt>주문서작성</dt> <dd>{이름} {보낸분} {받는분} {주문번호} {주문금액} {회사명}</dd> <dt>입금확인시</dt> <dd>{이름} {입금액} {주문번호} {회사명}</dd> <dt>상품배송시</dt> <dd>{이름} {택배회사} {운송장번호} {주문번호} {회사명}</dd> </dl> <p><?php echo help('주의! 80 bytes 까지만 전송됩니다. (영문 한글자 : 1byte , 한글 한글자 : 2bytes , 특수문자의 경우 1 또는 2 bytes 임)'); ?></p> </div>
<div id="scf_sms"> <?php $scf_sms_title = array (1=>"회원가입시 고객님께 발송", "주문시 고객님께 발송", "주문시 관리자에게 발송", "입금확인시 고객님께 발송", "상품배송시 고객님께 발송"); for ($i=1; $i<=5; $i++) { ?> <section class="scf_sms_box"> <h4><?php echo $scf_sms_title[$i]; ?></h4> <input type="checkbox" name="de_sms_use<?php echo $i; ?>" value="1" id="de_sms_use<?php echo $i; ?>" <?php echo ($default["de_sms_use".$i] ? " checked" : ""); ?>> <label for="de_sms_use<?php echo $i; ?>"><span class="sound_only"><?php echo $scf_sms_title[$i]; ?></span>사용</label> <div class="scf_sms_img"> <textarea id="de_sms_cont<?php echo $i; ?>" name="de_sms_cont<?php echo $i; ?>" ONKEYUP="byte_check('de_sms_cont<?php echo $i; ?>', 'byte<?php echo $i; ?>');"><?php echo $default['de_sms_cont'.$i]; ?></textarea> </div> <span id="byte<?php echo $i; ?>" class="scf_sms_cnt">0 / 80 바이트</span> </section>
<script> byte_check('de_sms_cont<?php echo $i; ?>', 'byte<?php echo $i; ?>'); </script> <?php } ?> </div> </section>
</section>
<?php echo $frm_submit; ?>
</form>
<script> function fconfig_check(f) { <?php echo get_editor_js('de_baesong_content'); ?> <?php echo get_editor_js('de_change_content'); ?> <?php echo get_editor_js('de_guest_privacy'); ?>
return true; }
$(function() { $(".pg_info_fld").hide(); $(".pg_vbank_url").hide(); <?php if($default['de_pg_service']) { ?> $(".<?php echo $default['de_pg_service']; ?>_info_fld").show(); $("#<?php echo $default['de_pg_service']; ?>_vbank_url").show(); <?php } else { ?> $(".kcp_info_fld").show(); $("#kcp_vbank_url").show(); <?php } ?> $("#de_pg_service").on("change", function() { var pg = $(this).val(); $(".pg_info_fld:visible").hide(); $(".pg_vbank_url:visible").hide(); $("."+pg+"_info_fld").show(); $("#"+pg+"_vbank_url").show(); $(".scf_cardtest").addClass("scf_cardtest_hide"); $("."+pg+"_cardtest").removeClass("scf_cardtest_hide"); $(".scf_cardtest_tip_adm").addClass("scf_cardtest_tip_adm_hide"); $("#"+pg+"_cardtest_tip").removeClass("scf_cardtest_tip_adm_hide"); });
$(".scf_cardtest_btn").bind("click", function() { var $cf_cardtest_tip = $("#scf_cardtest_tip"); var $cf_cardtest_btn = $(".scf_cardtest_btn");
$cf_cardtest_tip.toggle();
if($cf_cardtest_tip.is(":visible")) { $cf_cardtest_btn.text("테스트결제 팁 닫기"); } else { $cf_cardtest_btn.text("테스트결제 팁 더보기"); } })
$("#bank_chk_all").click(function(){ });
// 은행계좌 전체 선택 $("#bank_chk_all").on("click", function() { if($(this).is(":checked")) { $("input[name='bank_chk[]']").attr("checked", true); } else { $("input[name='bank_chk[]']").attr("checked", false); } });
// 은행계좌 추가 버튼 작동 $("#bank_add").on("click",function(){ $("#bank_list_table tr").each(function(){ if($(this).attr('class')=='basic_tr'){ var html_tr = $(this).html(); $("#bank_list_table tr:last-child").after("<tr>"+html_tr+"</tr>"); //$("#bank_list_table tr:last-child").removeClass("basic_tr"); $("#bank_list_table tr:last-child input").each(function(){ $(this).val(''); }); } }); });
// 은행계좌 삭제 버튼 작동 $("#bank_del").on("click",function(){ var $el = $("input[name='bank_chk[]']:checked"); if($el.size() < 1) { alert("삭제하려는 옵션을 하나 이상 선택해 주십시오."); return false; }
$el.closest("tr").each(function(){ if($(this).attr("class")!='basic_tr'){ $(this).remove(); } }); });
$("#bank_add").css("cursor","pointer"); $("#bank_del").css("cursor","pointer"); }); </script>
<?php // 결제모듈 실행권한 체크 if($default['de_iche_use'] || $default['de_vbank_use'] || $default['de_hp_use'] || $default['de_card_use']) { // kcp의 경우 pp_cli 체크 if($default['de_pg_service'] == 'kcp') { if(!extension_loaded('openssl')) { echo '<script>'.PHP_EOL; echo 'alert("PHP openssl 확장모듈이 설치되어 있지 않습니다.\n모바일 쇼핑몰 결제 때 사용되오니 openssl 확장 모듈을 설치하여 주십시오.");'.PHP_EOL; echo '</script>'.PHP_EOL; }
if(!extension_loaded('soap') || !class_exists('SOAPClient')) { echo '<script>'.PHP_EOL; echo 'alert("PHP SOAP 확장모듈이 설치되어 있지 않습니다.\n모바일 쇼핑몰 결제 때 사용되오니 SOAP 확장 모듈을 설치하여 주십시오.");'.PHP_EOL; echo '</script>'.PHP_EOL; }
$is_linux = true; if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') $is_linux = false;
$exe = '/kcp/bin/'; if($is_linux) { if(PHP_INT_MAX == 2147483647) // 32-bit $exe .= 'pp_cli'; else $exe .= 'pp_cli_x64'; } else { $exe .= 'pp_cli_exe.exe'; }
echo module_exec_check(G5_SHOP_PATH.$exe, 'pp_cli'); }
// LG의 경우 log 디렉토리 체크 if($default['de_pg_service'] == 'lg') { $log_path = G5_LGXPAY_PATH.'/lgdacom/log';
if(!is_dir($log_path)) { echo '<script>'.PHP_EOL; echo 'alert("'.str_replace(G5_PATH.'/', '', G5_LGXPAY_PATH).'/lgdacom 폴더 안에 log 폴더를 생성하신 후 쓰기권한을 부여해 주십시오.\n> mkdir log\n> chmod 707 log");'.PHP_EOL; echo '</script>'.PHP_EOL; } else { if(!is_writable($log_path)) { echo '<script>'.PHP_EOL; echo 'alert("'.str_replace(G5_PATH.'/', '',$log_path).' 폴더에 쓰기권한을 부여해 주십시오.\n> chmod 707 log");'.PHP_EOL; echo '</script>'.PHP_EOL; } } }
// 이니시스의 경우 log 디렉토리 체크 if($default['de_pg_service'] == 'inicis') { if (!function_exists('xml_set_element_handler')) { echo '<script>'.PHP_EOL; echo 'alert("XML 관련 함수를 사용할 수 없습니다.\n서버 관리자에게 문의해 주십시오.");'.PHP_EOL; echo '</script>'.PHP_EOL; }
if (!function_exists('openssl_get_publickey')) { echo '<script>'.PHP_EOL; echo 'alert("OPENSSL 관련 함수를 사용할 수 없습니다.\n서버 관리자에게 문의해 주십시오.");'.PHP_EOL; echo '</script>'.PHP_EOL; }
if (!function_exists('socket_create')) { echo '<script>'.PHP_EOL; echo 'alert("SOCKET 관련 함수를 사용할 수 없습니다.\n서버 관리자에게 문의해 주십시오.");'.PHP_EOL; echo '</script>'.PHP_EOL; }
if (!function_exists('mcrypt_cbc')) { echo '<script>'.PHP_EOL; echo 'alert("MCRYPT 관련 함수를 사용할 수 없습니다.\n서버 관리자에게 문의해 주십시오.");'.PHP_EOL; echo '</script>'.PHP_EOL; }
$log_path = G5_SHOP_PATH.'/inicis/log';
if(!is_dir($log_path)) { echo '<script>'.PHP_EOL; echo 'alert("'.str_replace(G5_PATH.'/', '', G5_SHOP_PATH).'/inicis 폴더 안에 log 폴더를 생성하신 후 쓰기권한을 부여해 주십시오.\n> mkdir log\n> chmod 707 log");'.PHP_EOL; echo '</script>'.PHP_EOL; } else { if(!is_writable($log_path)) { echo '<script>'.PHP_EOL; echo 'alert("'.str_replace(G5_PATH.'/', '',$log_path).' 폴더에 쓰기권한을 부여해 주십시오.\n> chmod 707 log");'.PHP_EOL; echo '</script>'.PHP_EOL; } } } }
include_once (G5_ADMIN_PATH.'/admin.tail.php'); ?>
|