<?xml version="1.0"?>
<labeltemplate>
   <label>
    <![CDATA[
				[recordloop]
				
				<li>
					<div class="box">
						<div class="check"><input name="ids" type="checkbox" value="{$Field(cartID,text,0,...,2,)}" class="checkbtn" checked="checked" onclick="onpay()" /></div>
						<div class="lct"><a href="{KS:Field:Url(faceview,courseid)}"><img src="{$Field(photourl,text,0,...,2,)}" onerror="replaceDefaultImg(this)"  /></a></div>
						<div class="rct" onclick="window.location='{KS:Field:Url(faceview,courseid)}'">
							<div class="rbg"><i class="iconfont">&#xe611;</i></div>
							<div class="tit">{$Field(Cname,text,0,...,2,)}</div>
							<div class="info">{KS:CourseType} &nbsp; {$Field(banxin,text,0,...,2,)}</div>
							<div class="price"><font>¥</font><span id="r_{$Field(cartid,text,0,...,2,)}">{KS:Price}</span><font {KS:IsSendNote}>+</font><span id="nt_{$Field(cartid,text,0,...,2,)}" {KS:IsSendNote}>{KS:NotePrice}</span><font {KS:IsContainTax}>+</font><span id="t_{$Field(cartid,text,0,...,2,)}" {KS:IsContainTax}>{KS:TaxPrice}</span><span class="yj">¥ <em id="p_{$Field(cartid,text,0,...,2,)}">{$Field(Price,text,0,...,2,)}</em></span></div>
              <input type="hidden" id="pt_{$Field(cartid,text,0,...,2,)}" value="{KS:TotlPrice}"/>	
						</div>
					</div>
					<div class="mtitbox">
						<div class="upbg"></div>
						<div class="mtit">该课程下的捆绑课程</div>
						
						[BandsaleList]
						<div class="mbox" onclick="window.location='{KS:Field:Url(faceview,courseid)}'">
							<div class="rbg"><i class="iconfont">&#xe61f;</i></div>
							<div class="ktit">{$Field(Cname,text,0,...,2,)}</div>
							<div class="kinfo"><font>¥ {$Field(Price,text,0,...,2,)}</font> <span>¥ {$Field(Price_Member,text,0,...,2,)}</span></div>
						</div>
						<div class="clear blank10"></div>
						[/BandsaleList]
						[KS_list]
					   	<div class="ClassHour">
						   [Loop]
						   <div class="kb_box">
							  <div class="kbtit">
								  <input type="checkbox" value="{KS:Period}" {KS:Hide} group="group{$Field(cartid,text,0,...,2,)}"  onclick="setprice('{$Field(cartid,text,0,...,2,)}','{KS:Period}',this)"> 
								  <a>{KS:PeriodName}</a><b {KS:Hide}>¥{KS:Pmoney}</b>
								  <input type="hidden" value="{KS:Pmoney}" id="{$Field(cartid,text,0,...,2,)}p_{KS:Period}">
							  </div>
						   </div>
						 
						   [/Loop]
						   <div class="kb_box">
							   <div class="kbtit">
								  <input type="checkbox" id="checkall{$Field(cartid,text,0,...,2,)}" onclick="setprice('{$Field(cartid,text,0,...,2,)}','0',this)">
								  <a>全选</a>
							   </div>
						   </div>
						</div>
						[/KS_list]
					</div>
					

                </li>
				<div class="line_d2"></div>
	                <div class="PriceBox">价格：<span id="r_{$Field(cartid,text,0,...,2,)}">{KS:Price}</span>元</div>
                      	<div {KS:IsSendNote}>资料：<span id="nt_{$Field(cartid,text,0,...,2,)}">{KS:NotePrice}</span>元</div>
                      	<div {KS:IsContainTax}>税金：<span id="t_{$Field(cartid,text,0,...,2,)}">{KS:TaxPrice}</span>元</div>
                      	<input type="hidden" value="{KS:Price}" id="price_{$Field(cartid,text,0,...,2,)}">
                      	<input type="hidden" value="{KS:Tax}" id="tax_{$Field(cartid,text,0,...,2,)}">
                      	<input type="hidden" value="{KS:NotePrice}" id="note{$Field(cartid,text,0,...,2,)}" name="note{$Field(cartid,text,0,...,2,)}">
                      	<input type="hidden" value="{KS:TaxPrice}" id="tax{$Field(cartid,text,0,...,2,)}" name="tax{$Field(cartid,text,0,...,2,)}">
                      	<input type="hidden" value="" id="period{$Field(cartid,text,0,...,2,)}" name="period{$Field(cartid,text,0,...,2,)}">
				[/recordloop]
				
				[noorder]
				<div class="cart-mid">
				    <span>您购课车暂无课程 <a href="{=GetRewriteUrl(courselist)}" >马上去选课</a></span>
				</div>
				<div class="clear"></div>
                [/noorder]	
				                 
	]]>
   </label>
   
      <orderinfo>
    <![CDATA[

			<div class="c-orderinfo"><span>应支付价格 &nbsp; <strong><font id="pay_prices">{KS:Field:Rate}</font> 元</strong></span>选购 {KS:Count} 个课程</div>
						
			 [recordloop]
			<li>
					<div class="box">
						<div class="rct" onclick="window.location='{KS:Field:Url(faceview,courseid)}'">
							<div class="rbg"><i class="iconfont">&#xe611;</i></div>
							<div class="tit">{$Field(Cname,text,0,...,2,)}</div>
							<div class="info">{KS:CourseType} &nbsp; {$Field(banxin,text,0,...,2,)}</div>
							<div class="price"><span><font>¥</font>{$Field(OrderTotalPrice,text,0,...,2,)}</span></div>
						</div>
					</div>
					<div class="mtitbox">
						<div class="upbg"></div>
						<div class="mtit">该课程下的捆绑课程</div>
						
						[BandsaleList]
						<div class="mbox" onclick="window.location='{KS:Field:Url(faceview,courseid)}'">
							<div class="rbg"><i class="iconfont">&#xe60b;</i></div>
							<div class="ktit">{$Field(Cname,text,0,...,2,)}</div>
							<div class="kinfo"><span>{$Field(OrderTotalPrice,text,0,...,2,)} 元</span></div>
						</div>
						<div class="clear blank10"></div>
						[/BandsaleList]
						
					</div>
					

                </li>
				<div class="line_d2"></div>
			[/recordloop]	

				[noorder]
				<div class="empty">
				    您目前暂无订单
				</div>
                [/noorder]				
                
            
   	]]>
   </orderinfo>
      <success>
    <![CDATA[
	
	<table width="100%" border="0">
                <tbody>
                <tr class="title-top">                    
                    <td colspan="7" align="center"><strong>交易明细</strong></td>
                </tr>
                [record]
                <tr class="content-mid">
                 <td align="center" class="border-r"> 课程名称 </td>                            
                 <td colspan="6" class="border-r" style="text-align:left;">
			    	<font class="grey-color">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;漳州心理咨询师一二三级培训课程</font></td>
                </tr>                
                <tr class="content-mid">
                     <td align="center" class="border-r"> 课程类型</td>
                     <td colspan="6" class="border-r" style="text-align:left;">
					 <font class="grey-color">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;面授课程</font></td>
                </tr>
                 <tr class="content-mid">
                <td align="center" class="border-r">所在地区  </td>                            
                <td colspan="6" class="border-r" style="text-align:left;">
				<font class="grey-color">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;漳州</font>	</td>                           
                </tr>              
                [/record] 
            </tbody></table>
    	]]>
   </success>
  <mycourse>
    <![CDATA[
	  	
        	<li onClick="window.location='#'">
            	<div class="lct"><img src="{$Field(photourl,text,0,...,2,/sysimg/nopic.gif)}" /></div>
                <div class="rct">
                	<div class="rtit">{$Field(name,text,0,...,2,)}</div>
                    <div class="rinfo"><font class="type_cor1">{KS:TYPE}</font> &nbsp; <i class="iconfont keshiicon">&#xe617;</i>{$Field(CountPid,text,0,...,2,)}课时 {SQL_手机课程讲师({$Field(TCID,text,0,...,2,)})}</div>
                	<div class="libtn"><a href="{KS:Url}"> <span>开始学习</span></a></div>
				</div>
                
            </li>
			<div class="line_e"></div>
		
		]]>
  </mycourse>

  <mycourseface>
    <![CDATA[
	  	
			<li onClick="window.location='#'">
            	<div class="lct"><div class="kkdate">{$Field(begintime,text,0,...,2,)}开课</div><img src="{$Field(photourl,text,0,...,2,/sysimg/nopic.gif)}" /></div>
                <div class="rct">
                	<div class="rtit">{$Field(name,text,0,...,2,)}</div>
                    <div class="rinfo">{$Field(banxin,text,0,...,2,)} &nbsp;<i class="iconfont"></i> {SQL_手机课程讲师({$Field(TCID,text,0,...,2,)})}</div>
                    <div class="libtn" onClick="window.location='{KS:Url}'"><span>查看详情</span></div>
                </div>
                
            </li>
            <div class="line_e"></div>	
		
		]]>
  </mycourseface>

  <orderlist>
    <![CDATA[
 			
				<div class="od_info" onClick="window.location='{KS:Url}'">
					<div class="lct"><img src="{$Field(photourl,text,0,...,2,)} " onerror="replaceDefaultImg(this)" /></div>
					<div class="rct">
						<div class="tit">{$Field(Cname,text,0,...,2,)}</div>
						<div class="info">{KS:Field:OrderType}</div>
						
						<div class="price"><span class="jf{KS:Field:ScoreTF}"><font>¥</font>{KS:Field:OrderTotalPrice}</span></div>
					   
					</div>  
				</div>   

				<div class="line_d2"></div>
		]]>
  </orderlist>
</labeltemplate>