<?xml version="1.0"?>
<mailtemplate>
<type name="typemail">
<![CDATA[0]]>
</type>
<type name="mail">
<![CDATA[wfx@kesion.com]]>
</type>
<type name="receivebank">
<![CDATA[付款成功]]>
</type>
<type name="paytips">
<![CDATA[有订单未付款]]>
</type>
<type name="neworder">
<![CDATA[新订单]]>
</type>
<type name="shipping">
<![CDATA[亲爱的 {$RealName} 您好：<br>
您于 {$InputTime} 提交的 {$OrderID} 号订单已经发货，快递公司：{$Express} 快递单：{$ExpressNo}。请您注意及时查收。<br>
订单信息如下：<br>
{$OrderInfo}]]>
</type>
<type name="invoice">
<![CDATA[亲爱的 {$RealName} 您好：<br>
您于 {$InputTime} 提交的 {$OrderID} 号订单已经开具发票<br>
订单信息如下：<br>
{$OrderInfo}]]>
</type>
<type name="orderprinttemplate">
<![CDATA[<style>
    .ddtable{width:100%;border:0px solid #e1ddd7;}
    .ddtable .title{heihht:2em; line-height:2em;background:#f2efea;border-bottom:1px solid #e1ddd7;}
    .ddtable table{width:100%; background-color:#e1ddd7; line-height:25px; font-family:"Microsoft YaHei"}
    th{ background-color:#fff;}
    td{ background-color:#fff;  padding:0.4em 0.8em; font-size:1em;color:#666;}
	.tdbgleft{background:#f2efea; font-size:1em;color:#515151;}
	.tdbgleft td{background:#f2efea;font-size:1.1em;color:#515151;}
</style>
<table cellpadding="0" border="0" cellspacing="0" class="ddtable"  style="border-collapse: collapse" bordercolor="#e1ddd7">
	<tbody>
		<tr align="middle">
			<td class="title">
				<strong>订 单 信 息</strong>（订单编号：{$OrderID} <span style="width: 18%">下单时间：{$InputTime}</span>）</td>
		</tr>
		<tr>
			<td style="height: 25px">
				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#e1ddd7">
					<tbody>
						<tr class="tdbg">
							<td style="width: 18%">
								用 户 名：{$UserName}</td>
							<td style="width: 18%">订单状态：{$OrderStatus}</td>
						</tr>
						<tr class="tdbg">
							<td style="width: 18%">
								需要发票：{$IsInvoice}</td>
							<td style="width: 20%">
								已开发票：{$Invoiced}</td>
						</tr>
					</tbody>
				</table>
			</td>
		</tr>
		<tr align="middle">
			<td>
				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#e1ddd7">
					<tbody>
						<tr class="tdbg">
							<td align="right" class="tdbgleft" width="90">
								收货人姓名：</td>
							<td align="left">
								{$RealName}</td>
							<td align="right" class="tdbgleft" width="90">
								联系电话：</td>
							<td align="left">
								{$Mobile}</td>
						</tr>
						<tr class="tdbg" valign="top">
							<td align="right" class="tdbgleft" width="90">
								收货人地址：</td>
							<td align="left">
								{$Address}</td>
							<td align="right" class="tdbgleft" width="90">
								邮政编码：</td>
							<td align="left">
								{$ZipCode}</td>
						</tr>
						<tr class="tdbg">
							<td align="right" class="tdbgleft" width="90">
								收货人邮箱：</td>
							<td align="left">
								{$Email}</td>
							<td align="right" class="tdbgleft" width="90">
								付款方式：</td>
							<td align="left">
								{$PaymentType}</td>
						</tr>
						<tr class="tdbg">
							<td align="right" class="tdbgleft" width="90">
								发货时间：</td>
							<td align="left">
								{$DeliveryDate}</td>
							<td align="right" class="tdbgleft" width="90">
								送货方式：</td>
							<td align="left">
								{$Deliverytype}</td>
						</tr>
						<tr class="tdbg" valign="top">
							<td align="right" class="tdbgleft" width="90">
								发票信息：</td>
							<td align="left">
								{$Invoice}</td>
							<td align="right" class="tdbgleft" width="90">
								订单附言:</td>
							<td align="left">
								{$Remark}</td>
						</tr>
					</tbody>
				</table>
			</td>
		</tr>
		<tr>
			<td>
				<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#e1ddd7">
					<tbody>
						<tr align="middle" class="tdbgleft">
							<td align="left" width="400">
								课 程 名 称</td>
							<td align="left" width="100">
								市场价</td>
							<td align="left" width="100">
								实价</td>
  							<td align="left" width="50">
								资料价格</td>
							<td align="left" width="50">
								税金</td>
							<td align="left" width="100">
								小计</td>
							<td align="left" width="200">
								备注</td>
						</tr>
						[recordloop]
						<tr align="middle" class="tdbg">
							<td align="left" width="400">
								<img align="left" src="{$PhotoUrl}" style="width:5em;height:4.75em" /> {$Cname} </td>
							<td align="left" width="100">
								{$Price_Market}</td>
							<td align="left" width="100">
								{$Price}</td>
							<td align="left" width="50">
								{$NotePrice}</td>
							<td align="left" width="50">
								{$TaxPrice}</td>
							<td align="left" width="100">
								{$TotalMoney}</td>
							<td align="left" width="200">
								{$Remark}</td>
						</tr>
						[/recordloop]
					</tbody>
				</table>
			</td>
		</tr>
	</tbody>
</table>
<p>{$ShowOrderProcessInfo}</p>
]]>
</type>
<type name="orderdetailtemplate">
<![CDATA[
<style>
    .ddtable{width:100%;border:1px solid #e1ddd7;}
    .ddtable .title{heihht:2em; line-height:2em;background:#f2efea;border-bottom:1px solid #e1ddd7;}
    .ddtable table{width:100%; background-color:#e1ddd7; line-height:25px; font-family:"Microsoft YaHei"}
    th{ background-color:#fff;}
    td{ background-color:#fff;  padding:0.4em 0.8em; font-size:1em;color:#666;}
	.tdbgleft{background:#f2efea; font-size:1em;color:#515151;}
	.tdbgleft td{background:#f2efea;font-size:1.1em;color:#515151;}
</style>
<table border="0" cellpadding="2" cellspacing="1" >
  <tr class="tdbg">
    <td colspan="2"  class="title"><strong>订单信息</strong>（订单编号：{$OrderID} 下单时间：{$InputTime}</td>
  </tr>
  <tr class="tdbg">
    <td align="right" class="tdbgleft">订单状态：</td>
    <td align="left"><span style="width: 18%">{$OrderStatus}</span></td>
  </tr>
  <tr class="tdbg">
    <td align="right" class="tdbgleft"><span style="width: 18%">用 户 名：</span></td>
    <td align="left"><span style="width: 18%">{$UserName}</span></td>
  </tr>
  <tr class="tdbg">
    <td align="right" class="tdbgleft"> 收货人姓名：</td>
    <td align="left">{$RealName}</td>
  </tr>
  <tr class="tdbg" valign="top">
    <td align="right" class="tdbgleft">联系电话：</td>
    <td align="left">{$Mobile}</td>
  </tr>
  <tr class="tdbg" valign="top">
    <td align="right" class="tdbgleft"> 收货人地址：</td>
    <td align="left">{$Address}</td>
  </tr>
  <tr class="tdbg">
    <td align="right" class="tdbgleft">邮政编码：</td>
    <td align="left">{$ZipCode}</td>
  </tr>
  <tr class="tdbg">
    <td align="right" class="tdbgleft"> 收货人邮箱：</td>
    <td align="left">{$Email}</td>
  </tr>
  <tr class="tdbg">
    <td align="right" class="tdbgleft"> 付款方式：</td>
    <td align="left"> {$PaymentType}({$PaymentName})</td>
  </tr>
  <tr class="tdbg" valign="top">
    <td align="right" class="tdbgleft"> 发票信息：</td>
    <td align="left"> <span style="width: 18%">需要发票：{$IsInvoice}</span> <span style="width: 20%">已开发票：{$Invoiced}</span>{$Invoice}</td>
  </tr>
  <tr>
    <td align="right" class="tdbgleft">送货方式：</td>
    <td>{$DeliveryType}</td>
  </tr>
  <tr>
    <td align="right" class="tdbgleft">发货日期：</td>
    <td>{$deliveryDate}</td>
  </tr>
  <tr>
    <td align="right" class="tdbgleft">订单附言:</td>
    <td>{$Remark}</td>
  </tr>
  <tr class="tdbg">
    <td colspan="2"  class="title"><strong>商品清单</strong></td>
  </tr>
  <tr class="tdbg">
    <td colspan="2">
	[recordloop]
	 <img align="left" src="{$PhotoUrl}" style="width:5em;height:4.75em" /> 
	  课程名称：{$Cname}<br>
	  市场价：{$Price_Market}<br/>
	  单价：{$Price}<br/>
	  小计：{$TotalPrice}<br/>	
          备注：{$Remark}
        [/recordloop]
	</td>
  </tr>
  <tr>
    <td align="right" class="tdbgleft">费用明细说明：</td>
    <td>
      课程金额：{$GoodsMoney}元 <br>
      优惠金额: {$CouponMoney}元 <br>
      税金:{$Taxes}元<br>
      运费:{$ExpressMoney}元 <br>
      订单金额：商品金额-优惠金额+运费+税金={$OrderTotalPrice}元
    </td>
  </tr>
</table>
<p>&nbsp;</p>
<p>{$ShowOrderProcessInfo}</p>


]]>
</type>
</mailtemplate>
