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
|
<?
//µµÀå»ç¿ëÀ¯¹«(¹Ì¸®º¸±â¿¡¼´Â µµÀåÀÌ ¾Èº¸À̰í... ½ÂÀÎó¸® ÈÄ ½ÇÁ¦·Î Ãâ·Â ÀÛ¾÷À»Çؾ߸¸ µµÀåÀÌ º¸À̵µ·Ï ¼³Á¤) //$useStamp = "1";
$Volume = $rowTax[volume]; $PageName = $rowTax[pageName]; $SerialNum = $rowTax[serialNum];
$sCompanyNum = $rowTax[sCompanyNum]; $sCompanyNumimg = strtolower($sCompanyNum.".gif"); //µµÀå À̹ÌÁö 142-02-31214.gif $sCompanyNname = $rowTax[sCompanyName]; $sChiefName = $rowTax[sChiefName]; $sCompanyAddr = $rowTax[sCompanyAddr]; $sUptae = $rowTax[sUptae]; $sJongmok = $rowTax[sJongmok];
$rCompanyNum = $rowTax[rCompanyNum]; $rCompanyNname = $rowTax[rCompanyName]; $rChiefName = $rowTax[rChiefName]; $rCompanyAddr = $rowTax[rCompanyAddr]; $rUptae = $rowTax[rUptae]; $rJongmok = $rowTax[rJongmok];
$year = $rowTax[year]; $month = $rowTax[MONTH]; $day = $rowTax[DAY]; $blankNum = $rowTax[blankNum]; $offerPrice = $rowTax[offerPrice]; $billPrice = $rowTax[billPrice]; $admission = $rowTax[admission];
$month_1 = $rowTax[month_1]; $day_1 = $rowTax[day_1]; $item_1 = $rowTax[item_1]; $standard_1 = $rowTax[standard_1]; $cnt_1 = number_format($rowTax[cnt_1]); $unitPrice_1 = number_format($rowTax[unitPrice_1]); $offerPrice_1 = number_format($rowTax[offerPrice_1]); $billPrice_1 = number_format($rowTax[billPrice_1]);
$bigo = $rowTax[bigo];
if($rowTax[offerPrice_2] > 0) { $month_2 = $rowTax[month_2]; $day_2 = $rowTax[day_2]; $item_2 = $rowTax[item_2]; $standard_2 = $rowTax[standard_2]; $cnt_2 = number_format($rowTax[cnt_2]); $unitPrice_2 = number_format($rowTax[unitPrice_2]); $offerPrice_2 = number_format($rowTax[offerPrice_2]); $billPrice_2 = number_format($rowTax[billPrice_2]); }
if($rowTax[offerPrice_3] > 0) { $month_3 = $rowTax[month_3]; $day_3 = $rowTax[day_3]; $item_3 = $rowTax[item_3]; $standard_3 = $rowTax[standard_3]; $cnt_3 = number_format($rowTax[cnt_3]); $unitPrice_3 = number_format($rowTax[unitPrice_3]); $offerPrice_3 = number_format($rowTax[offerPrice_3]); $billPrice_3 = number_format($rowTax[billPrice_3]); }
if($rowTax[offerPrice_4] > 0) { $month_4 = $rowTax[month_4]; $day_4 = $rowTax[day_4]; $item_4 = $rowTax[item_4]; $standard_4 = $rowTax[standard_4]; $cnt_4 = number_format($rowTax[cnt_4]); $unitPrice_4 = number_format($rowTax[unitPrice_4]); $offerPrice_4 = number_format($rowTax[offerPrice_4]); $billPrice_4 = number_format($rowTax[billPrice_4]); } $totalPrice = number_format($rowTax[totalPrice]); $cash = number_format($rowTax[cash]); $checkPrice = number_format($rowTax[checkPrice]); $bill = number_format($rowTax[bill]); $onCredit = number_format($rowTax[onCredit]);
if ($rowTax[irecved] == 0) { $irecved = "û±¸"; } else { $irecved = "¿µ¼ö"; } ?> <style> .txttax { font-family:±¼¸²,Verdana; color:#333333; font-size:9pt; text-decoration:none; line-height:17px} </style> <div id="ly_image" style="position:relative;width:604;height:435;z-index:1;left: 0px;top: 0px; z-index:1;">
<!-- ½ÂÀγ °è»ê¼¸¸ µµÀåÀ» º¸À̰í "ºñ½ÂÀÎ" ±ÛÀÚ¸¦ ¾ø¾Ú **************1 --> <? if($admission == 2) { ?> <img src="../img/tax/tax_blue.gif" width="604" height="435"> <? } else { ?> <img src="../img/tax/tax_blue_not.gif" width="604" height="435"> <? } ?> <!-- ½ÂÀγ °è»ê¼¸¸ µµÀåÀ» º¸À̰í "ºñ½ÂÀÎ" ±ÛÀÚ¸¦ ¾ø¾Ú **************2 -->
<!-- »ó´Ü --> <span style="top:8px;left:540px;width:19px;height:14px;position:absolute;text-align:right;" class="txttax"><?=$Volume?></span> <span style="top:8px;left:570px;width:19px;height:14px;position:absolute;text-align:right;" class="txttax"><?=$PageName?></span> <span id="sp_serial" style="top:44px;left:529px;width:69px;height:14px;position:absolute;text-align:right;letter-spacing:2pt" class="txttax"><?=$SerialNum?></span> <!-- »ó´Ü --> <!-- °ø±ÞÀÚ Á¤º¸ --> <span style="top:69px;left:80px;width:218px;height:17px;position:absolute;text-align:center;font-weight:bold;letter-spacing:3px" class="txttax"><?=$sCompanyNum?></span> <span style="top:104px;left:80px;width:79px;height:13px;position:absolute;text-align:center;line-height:16px;" class="txttax"><?=$sCompanyNname?></span> <span style="top:104px;left:220px;width:57px;height:13px;position:absolute;text-align:center;" class="txttax"><?=$sChiefName?></span> <span style="top:94px;left:255px;width:57px;height:13px;position:absolute;text-align:center;" class="txttax"><? if($admission == 2) echo "<img src=\"/seal/$sCompanyNumimg\" width=\"35\" onerror=\"this.style.display='none'\"></span>"; ?></span> <span style="top:147px;left:80px;width:219px;height:13px;position:absolute;text-align:left;" class="txttax"><?=$sCompanyAddr?></span> <span style="top:185px;left:80px;width:79px;height:13px;position:absolute;text-align:center;overflow:hidden;font-size:8pt" class="txttax"><?=$sUptae?></span> <span style="top:185px;left:218px;width:82px;height:13px;position:absolute;text-align:center;overflow:hidden;font-size:8pt" class="txttax"><?=$sJongmok?></span> <!-- °ø±ÞÀÚ Á¤º¸ --> <!-- °ø±ÞÀÚ ¹Þ´ÂÀÚ Á¤º¸ --> <span style="top:69px;left:378px;width:218px;height:17px;position:absolute;text-align:center;font-weight:bold;letter-spacing:3px" class="txttax"><?=$rCompanyNum?></span> <span style="top:104px;left:378px;width:79px;height:23px;position:absolute;text-align:center;line-height:16px;" class="txttax"><?=$rCompanyNname?></span> <span style="top:104px;left:527px;width:57px;height:13px;position:absolute;text-align:center;" class="txttax"><?=$rChiefName?></span> <span style="top:147px;left:378px;width:220px;height:13px;position:absolute;text-align:left;" class="txttax"><?=$rCompanyAddr?></span> <span style="top:185px;left:378px;width:79px;height:13px;position:absolute;text-align:center;overflow:hidden;font-size:8pt" class="txttax"><?=$rUptae?></span> <span style="top:185px;left:515px;width:82px;height:13px;position:absolute;text-align:center;overflow:hidden;font-size:8pt;" class="txttax"><?=$rJongmok?></span> <!-- °ø±ÞÀÚ ¹Þ´ÂÀÚ Á¤º¸ --> <span style="top:253px;left:8px;width:29px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$year?></span> <span style="top:253px;left:39px;width:19px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$month?></span> <span style="top:253px;left:59px;width:19px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$day?></span> <span style="top:253px;left:83px;width:39px;height:13px;position:absolute;text-align:center;" class="txttax"><?=$blankNum?></span> <span id="sp_supmoney" style="top:253px;left:126px;width:213px;height:14px;position:absolute;text-align:right;letter-spacing:10.5pt" class="txttax"><?=$offerPrice?></span> <span id="sp_taxmoney" style="top:253px;left:343px;width:196px;height:14px;position:absolute;text-align:right;letter-spacing:10.5pt" class="txttax"><?=$billPrice?></span> <!-- ºñ°í --> <span style="top:235px;left:548px;width:50px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$bigo?></span> <!-- 1 --> <span style="top:298px;left:12px;width:19px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$month_1?></span> <span style="top:298px;left:48px;width:19px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$day_1?></span> <span style="top:298px;left:78px;width:127px;height:14px;position:absolute;text-align:left;" class="txttax"><?=$item_1?></span> <span style="top:298px;left:206px;width:60px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$standard_1?></span> <span style="top:298px;left:267px;width:59px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$cnt_1?></span> <span style="top:298px;left:329px;width:74px;height:14px;position:absolute;text-align:right;" class="txttax"><?=$unitPrice_1?></span> <span style="top:298px;left:409px;width:74px;height:14px;position:absolute;text-align:right;" class="txttax"><?=$offerPrice_1?></span> <span style="top:298px;left:488px;width:55px;height:14px;position:absolute;text-align:right;" class="txttax"><?=$billPrice_1?></span> <span style="top:298px;left:533px;width:65px;height:14px;position:absolute;text-align:center;" class="txttax"></span> <!-- 2 22px--> <span style="top:320px;left:12px;width:19px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$month_2?></span> <span style="top:320px;left:48px;width:19px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$day_2?></span> <span style="top:320px;left:78px;width:127px;height:14px;position:absolute;text-align:left;" class="txttax"><?=$item_2?></span> <span style="top:320px;left:206px;width:60px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$standard_2?></span> <span style="top:320px;left:267px;width:59px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$cnt_2?></span> <span style="top:320px;left:329px;width:74px;height:14px;position:absolute;text-align:right;" class="txttax"><?=$unitPrice_2?></span> <span style="top:320px;left:409px;width:74px;height:14px;position:absolute;text-align:right;" class="txttax"><?=$offerPrice_2?></span> <span style="top:320px;left:488px;width:55px;height:14px;position:absolute;text-align:right;" class="txttax"><?=$billPrice_2?></span> <span style="top:320px;left:533px;width:65px;height:14px;position:absolute;text-align:center;" class="txttax"></span> <!-- 3 --> <span style="top:342px;left:12px;width:19px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$month_3?></span> <span style="top:342px;left:48px;width:19px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$day_3?></span> <span style="top:342px;left:78px;width:127px;height:14px;position:absolute;text-align:left;" class="txttax"><?=$item_3?></span> <span style="top:342px;left:206px;width:60px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$standard_3?></span> <span style="top:342px;left:267px;width:59px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$cnt_3?></span> <span style="top:342px;left:329px;width:74px;height:14px;position:absolute;text-align:right;" class="txttax"><?=$unitPrice_3?></span> <span style="top:342px;left:409px;width:74px;height:14px;position:absolute;text-align:right;" class="txttax"><?=$offerPrice_3?></span> <span style="top:342px;left:488px;width:55px;height:14px;position:absolute;text-align:right;" class="txttax"><?=$billPrice_3?></span> <span style="top:342px;left:533px;width:65px;height:14px;position:absolute;text-align:center;" class="txttax"></span> <!-- 4 --> <span style="top:364px;left:12px;width:19px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$month_4?></span> <span style="top:364px;left:48px;width:19px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$day_4?></span> <span style="top:364px;left:78px;width:127px;height:14px;position:absolute;text-align:left;" class="txttax"><?=$item_4?></span> <span style="top:364px;left:206px;width:60px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$standard_4?></span> <span style="top:364px;left:267px;width:59px;height:14px;position:absolute;text-align:center;" class="txttax"><?=$cnt_4?></span> <span style="top:364px;left:329px;width:74px;height:14px;position:absolute;text-align:right;" class="txttax"><?=$unitPrice_4?></span> <span style="top:364px;left:409px;width:74px;height:14px;position:absolute;text-align:right;" class="txttax"><?=$offerPrice_4?></span> <span style="top:364px;left:488px;width:55px;height:14px;position:absolute;text-align:right;" class="txttax"><?=$billPrice_4?></span> <span style="top:364px;left:533px;width:65px;height:14px;position:absolute;text-align:center;" class="txttax"></span> <!-- ÇÏ´Ü --> <span style="top:411px;left:9px;width:92px;height:13px;position:absolute;text-align:right;" class="txttax"><?=$totalPrice?></span> <span style="top:411px;left:105px;width:57px;height:13px;position:absolute;text-align:right;" class="txttax"><?=$cash?></span> <span style="top:411px;left:167px;width:57px;height:13px;position:absolute;text-align:right;" class="txttax"><?=$checkPrice?></span> <span style="top:411px;left:230px;width:57px;height:13px;position:absolute;text-align:right;" class="txttax"><?=$bill?></span> <span style="top:411px;left:296px;width:114px;height:13px;position:absolute;text-align:right;" class="txttax"><?=$onCredit?></span> <span style="top:398px;left:509px;width:36px;height:13px;position:absolute;text-align:center;" class="txttax"><?=$irecved?></span> <!-- ÇÏ´Ü --> </div>
|