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
|
<?php include_once("./_common2.php"); ?> <? include("./Page/common/header.php"); ?> <? //»ó´ã½Ã°£ÀÌ Áö³ª¸é µµÀÔ»ó´ã¿äû ÆäÀÌÁö·Î ³Ñ¾î°¡µµ·ÏÇÔ(¿À¸¥ÂÊ»çÀ̵åÀÇ Ã¤ÆÃâ¿¡¼ ¿ÔÀ»¶§) if($flg != "" && $flg == "c") { $m_flg = "?flg=".$flg; } if (!isset($_REQUEST['pcver'])) { //¸ð¹ÙÀÏ Á¢¼Ó½Ã ÇØ´ç ÆäÀÌÁö·Î À̵¿ // iPad ó¸® ¹× ´Ù¸¥ ±âÁ¾ ¸î°³·Î ¼öÁ¤(±âÁ¸ üũ ·ÎÁ÷ ÁÖ¼® ó¸®) 2013.12.23 by.jyh if($_SERVER['HTTP_USER_AGENT'] && preg_match('/(Mobile|UP.Browser|Android|BlackBerry|Windows CE|Nokia|webOS|Opera Mini|SonyEricsson|opera mobi|Windows Phone|IEMobile|POLARIS)/i',$_SERVER['HTTP_USER_AGENT']) ) { echo "<script>top.location.href = 'http://mjsoft.co/html/m/right_install.php{$m_flg}';</script>"; exit; } } //¸ð¹ÙÀÏ Á¢¼Ó ³¡ ?> <style> /* .cs_buy_tit{background:url('./img/customer/board_title/customer_buy_tit02.png') center no-repeat;} .cs_buy_tit{background:url('./img/customer/board_title/customer_buy_tit03.png') center no-repeat;} .cs_buy_tit{background:url('./img/customer/board_title/customer_buy_tit04-7.png') center no-repeat; image-rendering: crisp-edges; image-rendering: -moz-crisp-edges; image-rendering: -o-crisp-edges; image-rendering: -webkit-optimize-contrast; transform: translateZ(0); backface-visibility: hidden; } */ .cs_buy_txt{text-align:right; width: 1100px;margin: 0 auto;margin-bottom:10px;font-size:16px;} .cs_buy_layout{text-align:center;padding:30px 0 40px;} .cs_buy_table table{margin-bottom:20px;} .cs_buy_table{width:1100px;margin:0 auto;border-top:3px solid #0071e4;} .cs_buy_table .edc_table_tit{background:#dae9ff;font-weight:600;font-size:16px;text-align:center;padding-left:0;} .cs_buy_table table tbody tr th{color:#3d3d3d;text-align:left;vertical-align:middle;height:45px;padding-left:20px;font-size:16px;font-weight:600;background:#f1f0f0;} .cs_buy_table table tbody tr td{text-align:left;vertical-align:middle;height:45px;padding-left:20px;font-size:14px;font-weight:600;} .cs_buy_table table th, .cs_buy_table table td{height:45px;line-height:45px;/*padding:3px 0;*/border-right:1px solid #acacac;border-bottom:1px solid #acacac;} .cs_buy_table table tbody tr td input {border: 1px solid #b3b3b3; padding:5px; } .cs_buy_table .edc_tel td input.text {width:60px;margin-right:0;} .cs_buy_table .edc_tel td span{margin:0 10px;} .cs_buy_table .edc_date td input{width:60px;margin-right:0;} .cs_buy_table .edc_date td span{margin:0 10px;} .cs_buy_table textarea {width:95%;height:250px;border:1px solid #ccc;margin-top:10px;padding:10px;} .tieupAgree{width:1100px;margin:0 auto;border-top:0;position:relative;display:inline-block;} .tieupAgree h2{text-align:left;font-size:16px;color:#000;} .tieupAgree h2 span{font-size:12px;font-weight:400;} .tieupAgree p{float:right;text-align: right;} .tieupAgree textarea {width:1075px;margin:0 auto;margin-top:10px;} .buy_cs_btn {padding:15px 0px; width:150px; background:#0071e5; color:#fff; display:inline-block; font-size:18px; font-weight:600; border-radius:5px; cursor:pointer;} .price_cs_btn{padding:15px 0; width:150px; margin-left:10px; background:#4a4c4e; color:#fff; display:inline-block; font-size:18px; font-weight:600; border-radius:5px; cursor:pointer;} .price_cs_btn a{color:#fff;font-weight:600;} .cs_buy_layout .show_correct_class {padding:15px 0; width:150px; margin-left:10px; background:#4a4c4e; color:#fff;display:inline-block; font-size:18px; font-weight:600; border-radius:5px;cursor:pointer;} .edc_chk {position:relative; top:3px; width:17px; height:17px; margin-right:5px; border-radius:0; border: 0;padding: 0;} #modal_member_box{padding-top: 15px !important;}
/*250131 Ãß°¡¼öÁ¤*/ .cs_buy_table td ul {display:flex; align-items:center;} .cs_buy_table td ul li {margin-right:10px} .counsel_tit { font-size: 32px; font-weight: 600; line-height: 32px; color: #424242; text-align: center; margin-bottom: 40px;}
.cs_buy_tit{background-color:#c3e0f3; border:1px solid #c3e0f3; box-sizing:border-box; height:320px; overflow:hidden} .w1200 {width:1200px; margin:0 auto; position:relative; display:flex; align-items:center; justify-content:flex-end; gap:151px;} .cs_buy_txt_box {text-align:center} .cs_buy_txt_box h3 {color:#333; letter-spacing:-0.8px; font-weight:650; font-size:42px; line-height:1; margin-bottom: 20px;}
.box_content {padding:10px 30px 15px; box-sizing:border-box;background-color:#fff} .box_content p { color:#333; font-size:21px; line-height:1.5} .box_content p b {font-size:26px; display:block} .box_content p font, .box_content span font {color:#f87116; font-weight:600} .box_content span {color:#333; display:inline-block; margin-top:20px; font-size:18px}
.mini_title {display:block; font-size:21px; margin-top:15px; line-height:1.5} .mini_title font {color:#f87116; font-weight:600}
.cs_buy_tit .img_box {position:relative; width:350px; height:320px;} .cs_buy_tit .img_box img {position:absolute; width:350px; top:85px} #openModalBtn {padding: 10.5px 0; width: 150px; margin-left: 10px; background: #4a4c4e; color: #fff; display: inline-block; font-size: 18px; font-weight: 600; border-radius: 5px; cursor: pointer;}
.custom-modal { display: none; position: fixed; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); overflow: auto; } .custom-modal-content { background-color: #fff; margin: 0 auto; top:45%; transform:translate(0, -50%); padding:20px; border-radius: 15px; width: 100%; max-width: 1100px; position: relative; box-sizing:border-box; overflow:hidden} .close-btn { position: absolute; top: 6px; right: 7px; font-size: 25px; cursor: pointer; } .close-btn:hover, .close-btn:focus { color: #aaa; text-decoration: none; cursor: pointer; } #modalContent {max-height:700px; overflow:auto}
textarea.placeholder-style { color: #999; /* ȸ»ö ±âº» ÅØ½ºÆ® */ } </style> <div class="cs_buy_tit"> <div class="w1200"> <div class="cs_buy_txt_box"> <h3>ERP µµÀÔ»ó´ã ¿äû</h3> <div class="box_content"> <p> <b>Àü»êµµÀÔ ¾î·ÆÁö ¾Ê½À´Ï´Ù.</b> Àü¹®»ó´ã¿øÀÌ <font>¼³Ä¡, ¼¼ÆÃ, ¿ø°Ý±³À°</font> ±îÁö Áö¿øÇØ µå¸³´Ï´Ù. </p> <span>¿äû ÈÄ, <font style="color:#2d63cf">30ºÐ ³»</font> ´äº¯µå¸³´Ï´Ù.</span> </div> <p class="mini_title"><font>33³â</font> ±â¼ú, <font>20¸¸ »ç¿ëÀÚ</font>°¡ ÀÎÁ¤ÇÑ ERP</p> </div> <div class="img_box"> <img src="./img/customer/board_title/cstitle_1.png" alt=""> </div> </div> </div> <div class="wrap"> <div class="cs_buy_layout"> <div class="counsel_tit">±¸¸Å»ó´ã ¿äû</div> <p class="cs_buy_txt">¡Ø ¾÷¹«½Ã°£¿Ü ¿äûÀº <b style="color: #006cff;">¾÷¹«½ÃÀÛ</b> ÈÄ Àüȵ帳´Ï´Ù.</p> <div class="cs_buy_table"> <form name='install_form' method='post' action='?' onsubmit='return false;'> <input type="hidden" name="iw" value=""> <input type="hidden" name="clicktime" id="clicktime" value="0"> <input type='hidden' name='contact_time' value='1'> <input type='hidden' name='smtitle' value='PC'> <input type='hidden' name='ismobile' value='2'> <input type='hidden' name='flow' value='<?php echo $flg; ?>'> <!--<input type='hidden' name='ismode' value='1'>--> <input type='hidden' name='come_from' value='<?php echo $_GET['come_from'];?>'> <table style="width:100%;"> <tbody> <tr> <th width="160">* »óÈ£(¼º¸í)</th> <td width="330" colspan="2"><input name="smname" id="shop" type="text" style="width:225px;"></td> <!-- <th width="160">´ã´çÀÚ</th> <td colspan="2"><input name="telname" id="name" type="text" style="width:225px;"></td> --> </tr> <tr class="edc_tel"> <th>* ¼ö½Å¹æ½Ä¼±ÅÃ</th> <td width="430" > <input type="checkbox" name="edc_tel" value="1" class="edc_chk">ÀüÈ <input name="smtel1" class="text tel" type="text" maxlength="3" style="margin-left:5px;"> <span>-</span> <input name="smtel2" class="text tel" type="text" maxlength="4"> <span>-</span> <input name="smtel3" class="text tel" type="text" maxlength="4"> </td> <td width="330" colspan="2"> <input type="checkbox" name="edc_email" value='1' class="edc_chk">À̸ÞÀÏ <input name="s_email" class="text" type="text" style="width:300px;margin-left:5px;"> </td> </tr> <tr> <!-- <th>À¯ÀÔ°æ·Î</th> <td colspan="3"> <input type="hidden" name="inflow_txt" value=""> <ul> <li> <label for="check1">°Ë»ö</label> <input id="check1" class="edc_chk" type="checkbox" name="inflow_chk" value="°Ë»ö"> </li> <li> <label for="check2">ÀÎÅͳÝÀÚ·á</label> <input id="check2" class="edc_chk" type="checkbox" name="inflow_chk" value="ÀÎÅͳÝÀÚ·á"> </li> <li> <label for="check3">ÁöÀÎÃßõ</label> <input id="check3" class="edc_chk" type="checkbox" name="inflow_chk" value="ÁöÀÎÃßõ"> </li> <li> <label for="check4">À¯Æ©ºê</label> <input id="check4" class="edc_chk" type="checkbox" name="inflow_chk" value="À¯Æ©ºê"> </li> <li> <label for="check5">±âŸ</label> <input id="check5" class="edc_chk" type="checkbox" name="inflow_chk" value="±âŸ"> </li> </ul> </td> </tr> --> <tr> <th>* »ó´ã³»¿ë</th> <td colspan="3"> <textarea name="smdetail" onclick="clear_text()" id="smdetail">ãÀ¸½Ã´Â Á¦Ç°À̳ª ±Í»çÀÇ ¾÷¹«¸¦ °£´ÜÈ÷ Àû¾îÁÖ¼¼¿ä!</textarea> <!-- <textarea name="smdetail" onclick="clear_text()" id="smdetail">õ³â°æ¿µ(À¯Åë¾÷¹«) ¹× ¿ÜºÎ ¾÷¹«°ü¸® ½º¸¶Æ®Æù, PDA¿µ¾÷°ü¸® µµÀÔ°ú °ü·ÃÇÏ¿© »ó´ãÇϰíÀÚ ÇÕ´Ï´Ù. ÀúÈñ ȸ»ç ¾÷¹«°ü¸® ÇÁ·Î±×·¥ °³¹ß »ó´ãÀ» Èñ¸ÁÇÕ´Ï´Ù. ¿¬¶ôÁÖ¼¼¿ä. </textarea> --> </td> </tr> </tbody> </table> </form> <div class="tieupAgree"> <h2>°³ÀÎÁ¤º¸ ¼öÁý ¹× À̿뵿ÀÇ <span>(ÀÚ¼¼ÇÑ ³»¿ëÀº '°³ÀÎÁ¤º¸Ãë±Þ¹æÄ§'À» Âü°íÇØÁÖ¼¼¿ä.)</span></h2> <? include("./privacy_text.html"); ?> <p> <input type="radio" id="formText1" name="formText" value="1"><label for="formText1">µ¿ÀÇÇÔ</label> <input type="radio" id="formText2" name="formText" value="2" checked><label for="formText2">µ¿ÀǾÈÇÔ</label> </p> </div> <div class="buy_cs_btn install_btn">µµÀÔ»ó´ã¿äû</div> <div class="price_cs_btn" style="margin-left:10px;background:#4a4c4e;"><a href="http://mjsoft.co/html/millennium/customerprice.php" target="_blank">°ßÀû¿äû</a></div> <div class="show_correct_class">Á¦Ç°Á÷Á¢Ã£±â</div> <!-- ¸ð´ÞÀ» ¶ç¿ï ¹öư --> <button id="openModalBtn">»ç¿ëÈıâ</button>
<!-- ¸ð´Þ ±¸Á¶ (¾ÆÀ̵ð¿Í Ŭ·¡½º ´Ù¸£°Ô ¼³Á¤) --> <div id="customModal" class="custom-modal"> <div class="slider-controls"> <button id="prevBtn">❮</button> <button id="nextBtn">❯</button> </div> <div class="custom-modal-content"> <span class="close-btn">×</span> <div id="modalContent"><!-- ERP ³»¿ëÀÌ ¿©±â¿¡ ·ÎµåµË´Ï´Ù --> </div> </div> </div>
<!-- <div class="price_cs_btn" style="margin-left:10px;background:#4a4c4e;"><a href="http://mjsoft.co/html/millennium/customer_education.php" target="_blank">´Üü±³À°½Åû</a></div> --> </div> </div><!-- //contents --> </div><!-- //wrap --> <br> <br> <?include "customer_buy_cs_list.php"?> <script> function clear_text(){ if(document.getElementById("clicktime").value == "0"){ //ùŬ¸¯¸¸ »èÁ¦ var str=""; var bb=document.getElementById("smdetail"); bb.innerHTML= str; document.getElementById("clicktime").value = "1"; } }
</script> <script>
$(function(){
$(".list_total_cnt").html("<?php echo number_format($nTotalCount); ?>");
$(".install_btn").click(function(){
if($("#shop").val()==''){ alert('»óÈ£¸íÀ» ÀÔ·ÂÇϼ¼¿ä.'); return; } /* if($("#name").val()==''){ alert('´ã´çÀÚ¸íÀ» ÀÔ·ÂÇϼ¼¿ä.'); return; } */
if($("input[name='edc_tel']").is(":checked")==false && $("input[name='edc_email']").is(":checked")==false){ alert('¼ö½Å¹æ½ÄÀ» Àüȳª À̸ÞÀÏÁß¿¡ ÇѰ³ÀÌ»ó ¼±ÅÃÇØÁÖ¼¼¿ä.'); return; } else { if($("input[name='edc_tel']").is(":checked")==true){ if($("input[name='smtel1']").val()=='' || $("input[name='smtel2']").val()=='' || $("input[name='smtel3']").val()==''){ alert('ÀüȹøÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä.'); return; } } if($("input[name='edc_email']").is(":checked")==true){ if($("input[name='s_email']").val()==''){ alert('À̸ÞÀÏÀ» ÀÔ·ÂÇϼ¼¿ä.'); return; } } } if($("#clicktime").val()=='0' || $("#smdetail").val() ==''){ alert('»ó´ã³»¿ëÀ» ÀÔ·ÂÇϼ¼¿ä.'); return; } /*if($("input[name='contact_time']").eq(1).is(":checked")==true){ if($("#ct_date").val()==''){ alert('ÀÏÀÚ¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä.'); return; } if($("#ct_hour option:selected").val()==''){ alert('½Ã°£À» ¼±ÅÃÇØÁÖ¼¼¿ä.'); return; } if($("#ct_minute option:selected").val()==''){ alert('ºÐÀ» ¼±ÅÃÇØÁÖ¼¼¿ä.'); return; } }*/ if($("#formText1").is(":checked")==false){ alert('°³ÀÎÁ¤º¸ ¼öÁý¿¡ µ¿ÀÇÇÔ Ã¼Å©¸¦ ÇϽñ⠹ٶø´Ï´Ù.'); return; }
/* var inflow_txt = ""; var inflow_cnt = 0; $("input[name='inflow_chk']").each(function(){ if($(this).is(":checked") == true) { inflow_cnt++; inflow_txt += $(this).val()+","; } }); if(inflow_cnt <= 0) { alert("À¯ÀÔ°æ·Î¸¦ ¼±ÅÃÇØÁÖ¼¼¿ä."); return; } if(inflow_txt != "") { inflow_txt = inflow_txt.substr(0, inflow_txt.length - 1); $("input[name='inflow_txt']").val(inflow_txt); } */
var iw = "<?php echo $iw; ?>";
if (iw == 'mail_way'){ $("input[name='iw']").val(iw); }
form_data = $("form[name='install_form']").serialize(); $.ajax({type:"post", url:"../millennium/ajax.install_req.process.php", data:form_data, async:false, dataType : "xml", success:function(xml){ var v_mode = $(xml).find("mode").text(); var v_mode_ok = $(xml).find("mode_ok").text(); var v_msg = $(xml).find("msg").text(); var v_pt = $(xml).find("pt").text(); var v_contact_time = $(xml).find("contact_time").text();
if(v_mode_ok=='Y'){ alert('±¸¸Å»ó´ã¿äû µÇ¾ú½À´Ï´Ù., '+v_contact_time+'µå¸®°Ú½À´Ï´Ù.'); document.location.reload(); } else { alert(v_msg); } }, error:function(rtn,status,error){ alert(error); } }); }); }); $(document).ready(function() { var $textarea = $('#smdetail'); var placeholderText = 'ãÀ¸½Ã´Â Á¦Ç°À̳ª ±Í»çÀÇ ¾÷¹«¸¦ °£´ÜÈ÷ Àû¾îÁÖ¼¼¿ä!';
// Ãʱ⠻óÅ ¼³Á¤ if ($.trim($textarea.val()) === '' || $textarea.val() === placeholderText) { $textarea.val(placeholderText).addClass('placeholder-style'); }
// Æ÷Ä¿½º ½Ã placeholder Á¦°Å $textarea.focus(function(){ if ($(this).val() === placeholderText) { $(this).val('').removeClass('placeholder-style'); } });
// Æ÷Ä¿½º ¾Æ¿ô ½Ã ³»¿ë ¾øÀ¸¸é ´Ù½Ã placeholder $textarea.blur(function(){ if ($.trim($(this).val()) === '') { $(this).val(placeholderText).addClass('placeholder-style'); } });
$('.tel').on('input', function() { let $this = $(this); let maxlength = parseInt($this.attr('maxlength'), 10); let val = $this.val();
// ¼ýÀÚ¸¸ ³²±â°í ÇÊÅ͸µ (¼±ÅûçÇ×) val = val.replace(/[^0-9]/g, ''); $this.val(val);
// ÃÖ´ë ±æÀÌ µµ´Þ ½Ã ´ÙÀ½ inputÀ¸·Î À̵¿ if (val.length === maxlength) { let nextInput = $('.tel').eq($('.tel').index(this) + 1); if (nextInput.length) { nextInput.focus(); } } });
// ¹öư Ŭ¸¯ ½Ã ¸ð´Þ ¿±â $('#openModalBtn').click(function() { // erp_rv_popup.php ÆÄÀÏÀÇ ³»¿ë ·Îµå $('#modalContent').load('erp_rv_popup.php', function(response, status, xhr) { if (status == 'error') { $('#modalContent').html('<p>³»¿ëÀ» ºÒ·¯¿À´Â µ¥ ½ÇÆÐÇß½À´Ï´Ù.</p>'); } });
// ¹è°æ ½ºÅ©·ÑÀ» ºñȰ¼ºÈ $('body').css('overflow', 'hidden'); // ¸ð´Þ Ç¥½Ã $('#customModal').fadeIn(); });
// ´Ý±â ¹öư Ŭ¸¯ ½Ã ¸ð´Þ ´Ý±â $('.close-btn').click(function() { // ¹è°æ ½ºÅ©·ÑÀ» ´Ù½Ã Ȱ¼ºÈ $('body').css('overflow', 'auto');
// ¸ð´Þ ´Ý±â $('#customModal').fadeOut(); });
// ¸ð´Þ ¹Ù±ùÀ» Ŭ¸¯ÇÏ¸é ¸ð´Þ ´Ý±â $(window).click(function(event) { if ($(event.target).is('#customModal')) { // ¹è°æ ½ºÅ©·ÑÀ» ´Ù½Ã Ȱ¼ºÈ $('body').css('overflow', 'auto');
// ¸ð´Þ ´Ý±â $('#customModal').fadeOut(); } }); }); </script> <? include("./Page/common/footer.php"); ?>
|