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
|
<?php include_once("./_common2.php"); ?> <? include("./Page/common/header.php"); ?>
<script> function billChk(){ if(billFrm.companyNum.value == "5021894746"){ alert("¿¥Á¦À̼ÒÇÁÆ® ³»¿ªÀº È®ÀÎ ÇÒ ¼ö ¾ø½À´Ï´Ù."); billFrm.companyNum.focus(); billFrm.companyNum.value=""; return; } if(billFrm.companyNum.value == ""){ alert("»ç¾÷ÀÚ ¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä"); billFrm.companyNum.focus(); return; } if(billFrm.searchtype.value == "0" ){ if(billFrm.companyEmail.value == ""){ alert("e¸ÞÀÏ ÁÖ¼Ò¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä"); billFrm.companyEmail.focus(); return; } } string = billFrm.companyNum.value; result = 0; for(i=0; i<string.length; i++) { if(string.charAt(i) =="-") result++; } if( result > 0){ alert(" '-' ¸¦ »©°í ÀÔ·ÂÇϼ¼¿ä"); billFrm.companyNum.focus(); return; }
billFrm.submit(); }
function easybillChk(){ if(easyform.easynum.value == "5021894746"){ alert("¿¥Á¦À̼ÒÇÁÆ® ³»¿ªÀº È®ÀÎ ÇÒ ¼ö ¾ø½À´Ï´Ù."); easyform.easynum.focus(); easyform.easynum.value=""; return; } if(easyform.easynum.value == ""){ alert("»ç¾÷ÀÚ ¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä"); easyform.easynum.focus(); return; } if(easyform.easymail.value == ""){ alert("e¸ÞÀÏ ÁÖ¼Ò¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä"); easyform.easymail.focus(); return; } string = easyform.easynum.value; result = 0; for(i=0; i<string.length; i++) { if(string.charAt(i) =="-") result++; } if( result > 0){ alert(" '-' ¸¦ »©°í ÀÔ·ÂÇϼ¼¿ä"); easyform.easynum.focus(); return; }
easyform.submit(); }
function Msg(t){ alert(t); }
function nomoney(){
if(document.getElementsByName("hidenomoney")[1].checked == true){ document.getElementsByName("searchtype")[0].value = 1; document.getElementById("IdEmail").disabled = true; document.getElementById("IdEmail").style.background = "#cccccc"; } else { document.getElementsByName("searchtype")[0].value = 0; document.getElementById("IdEmail").disabled = false; document.getElementById("IdEmail").style.background = "#ffffff"; }
}
function submitForm_jepum( siteURL ) { var win = window.open( siteURL, 'newWin', 'status=0,toolbar=0,scrollbars=1,resizable=0,width=600,height=620' ); document.forms.search.action = siteURL; document.forms.search.target = 'newWin'; document.forms.search.submit(); }
function chkWorkNumb(strNumb) { strNumb = Replace(strNumb,"-"); if(strNumb.length == 0) return true; if (strNumb.length != 10) { alert("»ç¾÷ÀÚµî·Ï¹øÈ£°¡ À߸øµÇ¾ú½À´Ï´Ù."); return false; } sumMod = 0; sumMod += parseInt(strNumb.substring(0,1)); sumMod += parseInt(strNumb.substring(1,2)) * 3 % 10; sumMod += parseInt(strNumb.substring(2,3)) * 7 % 10; sumMod += parseInt(strNumb.substring(3,4)) * 1 % 10; sumMod += parseInt(strNumb.substring(4,5)) * 3 % 10; sumMod += parseInt(strNumb.substring(5,6)) * 7 % 10; sumMod += parseInt(strNumb.substring(6,7)) * 1 % 10; sumMod += parseInt(strNumb.substring(7,8)) * 3 % 10; sumMod += Math.floor(parseInt(strNumb.substring(8,9)) * 5 / 10); sumMod += parseInt(strNumb.substring(8,9)) * 5 % 10; sumMod += parseInt(strNumb.substring(9,10)); if (sumMod % 10 != 0) { alert("»ç¾÷ÀÚµî·Ï¹øÈ£°¡ À߸øµÇ¾ú½À´Ï´Ù."); return false; } return true; }
function Replace(strString, strChar) { var strTmp = ""; for (i = 0; i< strString.length; i++) { if (strString.charAt(i) != strChar) { strTmp = strTmp + strString.charAt(i); } } return strTmp; }
function taxsubmit(){ var email = document.getElementsByName("email")[0].value; var company = document.getElementsByName("company")[0].value; var companynum = document.getElementsByName("rcompanynum")[0].value;
if( $("#formText1").is(":checked")==false){ alert('°³ÀÎÁ¤º¸ Ãë±Þ¹æÄ§¿¡ µ¿ÀÇ ÇÏ¼Å¾ß ÇÕ´Ï´Ù.'); return ; }
if(company == ""){ alert("»óÈ£¸í ÀÔ·ÂÀº ÇʼöÀÔ´Ï´Ù."); return; } if(companynum == ""){ alert("»ç¾÷ÀÚ¹øÈ£ ÀÔ·ÂÀº ÇʼöÀÔ´Ï´Ù."); return; }
if(email == ""){ alert("e¸ÞÀÏ ÁÖ¼Ò ÀÔ·ÂÀº Çʼö ÀÔ´Ï´Ù.\nÀÔ·ÂµÈ ÁÖ¼Ò·Î °è»ê¼°¡ ¹ßÇàµË´Ï´Ù."); return; }
if(!chkWorkNumb(companynum)) return;
if(confirm('ÀÛ¼ºÇÑ Á¤º¸¸¦ ÀúÀåÇϽðڽÀ´Ï±î?')){
document.savetax.submit(); } else { return; } } </SCRIPT>
<div class="wrap">
<div class="contents"> <div class="asideMenu"> <? include("./Page/customer/leftNavi.html"); ?> </div><!-- //leftNavi --> <div class="subContents"> <h1> <img src="./img/titlebar/buynow.jpg" alt="Á¦Ç°¹Ù·Î°áÁ¦"> <p> <span class="home"><a href="intro.php">Home</a></span> <span class="depth">></span> <span class="depth1">°í°´¼¾ÅÍ</span> <span class="depth">></span> <span class="depth2">¼¼±Ý°è»ê¼ ¹ßÇà</span> </p> </h1>
<div class="section"> <!-- °è»ê¼ Á¶È¸ --> <div id='inputifm'> <h2><img src="./img/customer/tax_text.jpg" alt="¼¼±Ý°è»ê¼ ¹ßÇà"></h2> <div class="taxSearchTitle"> <p>»ç¾÷ÀÚ µî·Ï¹øÈ£¿Í E¸ÞÀÏ ÁÖ¼Ò¸¦ ÀÔ·Â ÈÄ [¼¼±Ý°è»ê¼ Ãâ·Â] ¹öưÀ» ´©¸£¼¼¿ä.</p> <p>¼¼±Ý°è»ê¼ ¹ßÇ๮ÀÇ : 1566-8680</p> </div><!-- //taxSearchBox-->
<table class="taxSearchBox"> <colgroup> <col style="width:180px;"><col style="width:265px;"><col style="width:265px;"> </colgroup> <thead> <tr> <th scope="col">Á¶È¸±¸ºÐ</th> <th scope="col" id="title1"><b>°ø±ÞÀÚ°¡ <font color="#e5460f">±¹¼¼Ã»ÀüÀÚ°è»ê¼</font>·Î<br> ¹ßÇàÇÑ °æ¿ì Á¶È¸</b></th> <th scope="col"><b>°ø±ÞÀÚ°¡ <font color="#e5460f">Á¾À̰è»ê¼¸¦ e¸ÞÀÏ</font>·Î<br> ¹ßÇàÇÑ °æ¿ì Á¶È¸</b></th> </tr> </thead>
<tbody> <tr> <th scope="row" id="title2">Á¶È¸³»¿ª</th> <td headers="title1 title2" rowspan="4" class=" borderR"> <form name='easyform' method='post' target='billifm' action='easybillProcess.php' onSubmit="return false;"> <dl class="taxSearch"> <dt class="screen_out">±¹¼¼Ã» ÀüÀÚ°è»ê¼ Á¶È¸</p> <dd><input type="radio" name="etaxbill" checked ><label>ÀϹÝÁ¶È¸</label></dd> <dd><input name="easynum" id="easynum" type="text" maxlength="13"></dd> <dd class="borderNone"><input name="easymail" id="easymail" type="text" maxlength="30"></dd> </dl> </form> </td> <td rowspan="4" class=" borderR"> <form name="billFrm" method='post' target='billifm' action='billProcess_e.php' onSubmit="return false;"> <dl class="taxSearch"> <dt class="screen_out">Á¾À̰è»ê¼ Á¶È¸</p> <dd> <input type="radio" name="hidenomoney" id="general" onClick="javascript:nomoney()" checked> <label for="general">ÀϹÝÁ¶È¸</label> <input type="radio" name="hidenomoney" id="mj" onClick="javascript:nomoney()" > <label for="mj">¿¥Á¦À̼ÒÇÁÆ® ¹ßÇà³»¿ª</label> <input type="hidden" name="searchtype" value="0"> </dd> <dd><input name="companyNum" type="text" maxlength="13"></dd> <dd class="borderNone"><input name="companyEmail" id="IdEmail" type="text"maxlength="30"></dd> </dl> </form> </td> </tr> <tr> <th scope="row">»ç¾÷ÀÚ¹øÈ£('-'Á¦¿Ü)</th> </tr> <tr> <th scope="row">e¸ÞÀÏÁÖ¼Ò</th> </tr> </tbody> <tfoot> <tr> <th>Á¶È¸¹öư</th> <td class="borderR"><img src="./img/customer/tax_e_bt.jpg" onsubmit="easybillChk();" onClick="easybillChk();" style="cursor:pointer;" alt="±¹¼¼Ã»°è»ê¼ Á¶È¸"></td> <td><img src="./img/customer/tax_paper_bt.jpg" onsubmit="billChk();" onClick="billChk();" style="cursor:pointer;" alt="Á¾À̰è»ê¼ Á¶È¸"></td> </tr> </tfoot> </table> </div><!--//inputifm-->
<!-- °è»ê¼ ½Åû --> <div id='requestifm'> <h2><img src="./img/customer/taxrequest.jpg" alt="¼¼±Ý°è»ê¼ ½Åû"></h2> <div class="taxSearchTitle"> <p><font color="#ff0000"><b>¿¥Á¦À̼ÒÇÁÆ® Á¦Ç°À» ±¸ÀÔÇϽŠ°í°´´Ô¸¸</b></font> ¼¼±Ý°è»ê¼ ½ÅûÀ» ÇϽǼö ÀÖ½À´Ï´Ù. (Ä«µå ±¸¸Å»óǰ Á¦¿Ü)</p> </div><!-- //taxSearchBox--> <section class="agreeSection"> <h3>°³ÀÎÁ¤º¸Ãë±Þ¹æÄ§</h3> <? 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> </section>
<section class="agreeSection"> <h3 class="screen_out">½Åû¼</h3> <?
//20130827 ¼öÁ¤ $row_Mcompany = ""; $row_companyNum = "";
if( isset($_COOKIE['USERID']) && $_COOKIE['USERID'] !== ""){ $sql = "SELECT Mcompany, companyNum FROM member WHERE Mid = '$_COOKIE[USERID]'"; $result = mysql_query($sql); $row = mysql_fetch_array($result);
$row_Mcompany = $row['Mcompany']; $row_companyNum = $row['companyNum']; } ?>
<form name="savetax" method="post" target="ifrm" action="requesttaxProcess.php" enctype="multipart/form-data"> <input type="hidden" name="mode" value="mijin"> <table class="taxRequestBox"> <colgroup> <col style="width:180px;"><col style="width:530px;"> </colgroup> <tr> <th>»óÈ£</th> <td><input type="text" name="company" value="<?=$row_Mcompany?>"> (Çʼö)</td> </tr> <tr> <th>»ç¾÷ÀÚ¹øÈ£</td> <td><input type="text" name="rcompanynum" value="<?=$row_companyNum?>"> (¿¹: 123-12-12345)</td> </tr> <tr> <th>°è»ê¼ ´ã´çÀÚ</th> <td ><input type="text" name="cname"></td> </tr> <tr> <th>´ã´çÀÚ ÀüȹøÈ£</th> <td><input type="text" name="ctel"></td> </tr> <tr> <th>°è»ê¼ ¼ö½Å¸ÞÀÏ</th> <td><input type="text" name="email"> (Çʼö)</td> </tr> <tr> <th>±¸¸ÅÀÏÀÚ</th> <td><input type="text" name="orddate"> (¿¹: 2015-01-01)</td> </tr> <tr> <th>±¸¸Å±Ý¾×</th> <td><input type="text" name="ordmoney"></td> </tr> <tr> <th>±¸¸Å½Ã °áÁ¦ÀÚ¸í</th> <td><input type="text" name="ordname"></td> </tr> <tr> <td colspan="5" class="text"> <p>»ç¾÷ÀÚµî·ÏÁõÀ» Fax : <font color="#2780ca"><B>053-744-1120</B></FONT> À¸·Î º¸³» ÁÖ¼¼¿ä.</p> <p>»ç¾÷ÀÚµî·ÏÁõ Á¢¼ö ´ÙÀ½³¯ e¸ÞÀÏ·Î ¹ßÇàµË´Ï´Ù.(18½ÃÀÌÀü Á¢¼öºÐ/±Ù¹«½Ã°£ ±âÁØ)</p> <p><font color="#2780ca">½Å°í¸¶°¨ÀÌ µÈ ÀÚ·á´Â ¹ßÇàÀÌ ºÒ°¡´É ÇÕ´Ï´Ù.</font></p> <p>½ÅûÇÑ ³»¿ªÀº ¼¼±Ý°è»ê¼ ¹ßÇà¶õÀÇ [¿¥Á¦À̼ÒÇÁÆ® ¹ßÇà³»¿ª Á¶È¸]¿¡¼ Á¶È¸µË´Ï´Ù.</p> <p>°è»ê¼ ¹ßÇ๮ÀÇ : 1566-8680</p> </td> </tr> </table> </form> <div class="buySectionBtn"> <img src="./img/customer/save_bt.jpg" alt="ÀúÀåÇϱâ" onClick="javascript:taxsubmit();" style="cursor:pointer;"> </div> <iframe name='billifm' width="0" height="0"></iframe> <iframe name="ifrm" width="0" height="0" style="border:0px;"></iframe> </section> </div><!-- //requestifm °è»ê¼ ½Åû-->
</div><!-- //section --> </div><!-- //subContents -->
</div><!-- //contents --> </div><!-- //wrap -->
<? include("./Page/common/footer.php"); ?>
|