/home/mjc1/public_html/html/millennium/customer_buy_cs_new.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
<?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:15px;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:15px; 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:15px; 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:#ddecf6; border:1px solid #c3e0f3; box-sizing:border-box; height:320px; overflow:hidden}
.w1250 {width:1250px; margin:0 auto; position:relative; display:flex; align-items:center; justify-content:flex-end; gap:145px }
.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 {text-align:left; padding:10px 15px 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:#2d63cf; 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}

.cs_buy_tit .img_box {position:relative; width:420px; height:320px;}
.cs_buy_tit .img_box img {position:absolute; top:45px}

</style>
    <div class="cs_buy_tit">
        <div class="w1250">
            <div class="cs_buy_txt_box">
                <h3>ERP µµÀÔ»ó´ã ¿äû</h3>
                <div class="box_content">
                    <p>
                        <b>Àü»êµµÀÔÀÌ ¾î·ÆÁö ¾Ê½À´Ï´Ù.</b>
                        Àü¹®»ó´ã¿øÀÌ <font>¼³Ä¡, ¼¼ÆÃ, ¿ø°Ý±³À°</font> ±îÁö Áö¿øÇØ µå¸³´Ï´Ù.
                    </p>
                    <span>¿äû ÈÄ, <font>30ºÐ ³»</font> ´äº¯µå¸³´Ï´Ù.</span>                
                </div>
                <p class="mini_title"><b>33³â</b> ±â¼ú, <b>20¸¸ »ç¿ëÀÚ</b>°¡ ÀÎÁ¤ÇÑ 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"><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" type="text" maxlength="4" style="margin-left:5px;"><span>-</span>
                                    <input name="smtel2" class="text" type="smtel2" maxlength="4"><span>-</span>
                                    <input name="smtel3" class="text" type="smtel3" 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>
                    <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(){
    $(".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);        }
        });
    });        
});
</script>
<? include("./Page/common/footer.php"); ?>