<!DOCTYPE html PUBliC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="utf-8">
<meta name="generator" content="56770 EShop {$copy_soft}" />
<meta name="copyright" content="2003-{$Year(Date())} 56770 Inc." />
<title>{$strwebtitle}{$sitename}</title>
<style>
.order-print{width:650px; color:#666; font-size:12px}
.order-print .print-btn {line-height:25px; text-align:center}
.order-print table{width:100%; margin-bottom:10px; background:#666}
.order-print h2{margin:0 0 10px 0; padding:0; border-bottom:1px solid #666; font-size:13px; line-height:25px}
.order-print .headmenu{padding-left:5px; height:27px;color:#666;font-size:13px;font-weight:bold}
.order-print th{padding-left:5px; width:15%; line-height:25px; font-weight:normal; text-align:left; background:#fff}
.order-print td{padding-left:5px; line-height:25px; text-align:left; background:#fff}
.order-print TR.list {background-color:expression((this.rowIndex%2==0)?"#FFFFFF":"#f2f2f2")}
.order-print TD.list {padding-left:3px; BORDER-BOTTOM: #e5e5e5 1px solid; line-height:25px; text-align:left}
.order-print TD.list .pro-pic {width: 45px; height: 45px}
.order-print TD.list .pro-pic IMG {width: expression(this.width > 45 ? 45 : true); height: expression(this.height > 45 ? 45 : true); max-width: 45px; max-height: 45px; vertical-align: middle; text-align: center}
.order-print TD.list2 {line-height:25px; text-align:center}
</style>
<style media=print>
.print-btn{display:none;}
</style>
</head>
<body>
<div class="order-print">
<div class="print-btn">
<input type="button" name="print" value="{$Lebi_cart(105)}" onclick="window.print()" class="button" />&nbsp;&nbsp;<input type=button name="close" value="{$Lebi_cart(106)}" onclick="window.close()" class="button" />
</div>
<h2>{$sitename}</h2>
<table cellspacing="1" cellpadding="0" align="center">
<tr>
<th>{$Lebi_cart(86)}</th>
<td colspan="3">{$order_number}</td>
</tr>
<tr>
<th>{$Lebi_cart(49)}</th>
<td width="35%">{$sendtype}</td>
<th>{$Lebi_cart(48)}</th>
<td width="35%">{$paymenttype}</th>
</tr>
<tr>
<th>{$Lebi_cart(80)}</th>
<td colspan="3"><span style="color:#FF0000;font-size:18px;font-weight:bold;">{$dw}{$Total_money}{$dw2}</span> = 
{$Lebi_cart(77)}：{$dw}{$dis_sum}{$dw2} + {$Lebi_cart(78)}：{$dw}{$fei}{$dw2}
<$If Config_Lebi_Eshop(2)="1" And fapiao_money>0 Then$> + {$Lebi_cart(79)}：{$dw}{$fapiao_money}{$dw2}<$End If$>
<$If packing_price>0 Then$> + {$Lebi_cart(164)}：{$dw}{$packing_price}{$dw2}<$End If$>
<$if coupon_price > 0 Then$><font color=""#ff0000""> - {$Lebi_cart(138)}：{$dw}{$coupon_price}{$dw2}</font><$End If$>
<$if paidmoney > 0 Then$><font color=""#ff0000""> - {$Lebi_cart(138)}：{$dw}{$paidmoney}{$dw2}</font><$End If$>
</td>
</tr>
<$If remark <> "" Then$>
<tr><th>{$Lebi_cart(158)}</th>
<td colspan="3" width="85%">{$remark}</td>
</tr>
<$End If$>
<$if sys_soft = 0 then$>
<tr>
<td colspan=4 class="headmenu">{$Lebi_cart(41)}</td>
</tr>
<tr>
<th>{$Lebi_cart(42)}</th>
<td width="35%">{$to_name}</td>
<th>{$Lebi_cart(43)}</th>
<td width="35%">{$to_tel}</td>
</tr>
<tr>
<th>{$Lebi_cart(143)}</th>
<td width="35%">{$to_tel2}</td>
<th>{$Lebi_cart(45)}</th>
<td width="35%">{$to_zip}</td>
</tr>
<tr>
<th>{$Lebi_cart(46)}</th>
<td colspan="3" width="85%">{$to_adds}</td>
</tr>
<tr>
<th>{$Lebi_cart(47)}</th>
<td colspan="3" width="85%">{$to_other}</td>
</tr>
<tr>
<td colspan=4 class="headmenu">{$Lebi_cart(141)}</td>
</tr>
<tr>
<th>{$Lebi_cart(142)}</th>
<td width="35%">{$from_name}</td>
<th>{$Lebi_cart(43)}</th>
<td width="35%">{$from_tel}</td>
</tr>
<tr>
<th>{$Lebi_cart(44)}</th>
<td width="35%">{$from_email}</td>
<th>{$Lebi_cart(45)}</th>
<td width="35%">{$from_zip}</td>
</tr>
<tr>
<th>{$Lebi_user(207)}</th>
<td width="35%">{$from_mobile}</td>
<th>{$Lebi_cart(144)}</th>
<td width="35%">{$from_adds}</td>
</tr>
<tr>
<th>{$Lebi_cart(47)}</th>
<td colspan="3" width="85%">{$from_other}</td>
</tr>
<$else$>
<tr>
<td colspan=4 class="headmenu">{$Lebi_cart(141)}</td>
</tr>
<tr>
<th>{$Lebi_cart(142)}</th>
<td width="35%">{$from_name}</td>
<th>{$Lebi_user(207)}</th>
<td width="35%">{$from_mobile}</td>
</tr>
<tr>
<th>{$Lebi_cart(144)}</th>
<td width="85%" colspan="3">{$from_adds}&nbsp;&nbsp;{$from_adds2}</td>
</tr>
<tr>
<th>{$Lebi_user(211)}</th>
<td width="35%">{$from_city}</td>
<th>{$Lebi_user(212)}</th>
<td width="35%">{$from_state}</td>
</tr>
<tr>
<th>{$Lebi_cart(45)}</th>
<td width="35%">{$from_zip}</td>
<th>{$Lebi_user(213)}</th>
<td width="35%">{$from_country}</td>
</tr>
<tr>
<th>{$Lebi_cart(43)}</th>
<td width="35%">({$Split(from_tel,",")(0)}).{$Split(from_tel,",")(1)}.{$Split(from_tel,",")(2)}</td>
<th>{$Lebi_cart(44)}</th>
<td width="35%">{$from_email}</td>
</tr>
<tr>
<th>{$Lebi_cart(47)}</th>
<td colspan="3" width="85%">{$from_other}</td>
</tr>
<$end if$>
<$rem 是否申请发票 1是 0否$>
<$if iffapiao=1 then$>
<tr>
<td colspan=4 class="headmenu">{$Lebi_cart(52)}</td>
</tr>
<tr>
<th>{$Lebi_cart(54)}</th>
<td width="85%" colspan=3>{$fapiao_taitou}</td>
</tr>
<tr>
<th>{$Lebi_cart(55)}</th>
<td colspan=3>{$fapiao_adds}</td>
</tr>
<tr>
<th>{$Lebi_cart(45)}</th>
<td colspan=3>{$fapiao_zip}</td>
</tr>
<$end if$>
</table>
<$rem 显示换购礼品$>
<$set rs = lb.sql("select b.product_name,b.price,b.basket_count,p.pic from [Lebi_basket] as b,[Lebi_vipproduct] as p where b.id = p.id and b.order_number="& id &" and b.IsGift=1")$>
<$If Not rs.eof Then$>
<table cellspacing="1" cellpadding="0" align="center">
<tr>
<th style="width:55%" class="headmenu">{$Lebi_gift(0)}</th>
<th style="width:15%" class="headmenu">{$Lebi_gift(1)}</th>
<th style="width:15%" class="headmenu">{$Lebi_gift(6)}</th>
<th style="width:15%" class="headmenu">{$Lebi_gift(7)}</th>
</td>
</tr>
<$Do While Not rs.eof$>
<tr class="list">
<td class="list"><table cellpadding="0" cellspacing="0" style="width:355px; margin:5px 0; padding:0"><tr><td><div class="pro-pic"><img src="../{$rs(3)}" /></div></td><td valign="top" style="width:310px">{$rs(0)}</td></tr></table></td>
<td class="list">{$rs(1)}</td>
<td class="list">{$rs(2)}</td>
<td class="list">{$rs(1)*rs(2)}</td>
</tr>
<$rs.movenext : Loop$>
</table>
<$End If : rs.close : Set rs = Nothing$>
<$rem 显示订单商品$>
<$set rs = lb.sql("select b.product_name,b.price,b.basket_count,b.spname,b.spvalue,b.bianhao,p.pic from [Lebi_basket] as b,[lebi_product] as p where b.id = p.id and b.order_number="& id &" and b.IsGift=0 order by b.id desc")$>
<$If Not rs.eof Then$>
<table cellspacing="1" cellpadding="0" align="center">
<tr>
<th style="width:15%" class="headmenu">{$Lebi_cart(33)}</th>
<th style="width:40%" class="headmenu">{$Lebi_cart(17)}</th>
<th style="width:15%" class="headmenu">{$Lebi_cart(22)}</th>
<th style="width:15%" class="headmenu">{$Lebi_cart(21)}</th>
<th style="width:15%" class="headmenu">{$Lebi_cart(23)}</th>
</tr>
<$do while not rs.eof$>
<$pName = rs(0)$>
<$If rs(3) <> "" Then$>
<$	spstr = ""$>
<$	If InStr(rs(3),",") > 0 Then$> 
<$		arr_spname = Split(rs(3),",")$>
<$		arr_spvalue = Split(rs(4),",")$>
<$		For s = 0 To UBound(arr_spname)$>
<$			spstr = spstr & arr_spname(s) &"："& arr_spvalue(s)$>
<$			If s < UBound(arr_spname) Then spstr = spstr & "&nbsp;&nbsp;"$>
<$		Next$> 
<$	Else$>
<$		spstr = rs(3) &"："& rs(4)$>
<$	End If$> 
<$	pName = pName &"<br/>"& spstr &""$>
<$End If$>
<tr class="list">
<td class="list">{$rs(5)}</td>
<td class="list"><table cellpadding="0" cellspacing="0" style="width:255px; margin:5px 0; padding:0"><tr><td><div class="pro-pic"><img src="../{$PicPath}/{$rs(6)}" /></div></td><td valign="top" style="width:210px">{$pName}</td></tr></table></td>
<td class="list">{$rs(2)}</td>
<td class="list">{$FormatNumber2(rs(1))}</td>
<td class="list">{$FormatNumber2(rs(1)*rs(2)/moneyhl)}</td>
</tr>
<$rs.movenext : loop$>
</table>
<$End If : rs.close : set rs=Nothing$>
</div>
</body>
</html>