<?xml version="1.0"?>
<labeltemplate>

  <exam name="trang">  
    <![CDATA[  

			<script type="text/javascript">
				function intval(v){
				 v = parseInt(v);
				 return isNaN(v) ? 0 : v;
				} //取元素信息   
				function getPos(e){
				 var l = 0;
				 var t = 0;
				 var w = intval(e.style.width);
				 var h = intval(e.style.height);
				 var wb = e.offsetWidth;
				 var hb = e.offsetHeight;
				 while (e.offsetParent) {
					 l += e.offsetLeft + (e.currentStyle ? intval(e.currentStyle.borderLeftWidth) : 0);
					 t += e.offsetTop + (e.currentStyle ? intval(e.currentStyle.borderTopWidth) : 0);
					 e = e.offsetParent;
				 }
				 l += e.offsetLeft + (e.currentStyle ? intval(e.currentStyle.borderLeftWidth) : 0);
				 t += e.offsetTop + (e.currentStyle ? intval(e.currentStyle.borderTopWidth) : 0);
				 return {
					 x: l,
					 y: t-200,
					 w: w,
					 h: h,
					 wb: wb,
					 hb: hb
				 };
				} // 取滚动条信息   
				function getScroll(){
				 var t, l, w, h;
				 if (document.documentElement && document.documentElement.scrollTop) {
					 t = document.documentElement.scrollTop;
					 l = document.documentElement.scrollLeft;
					 w = document.documentElement.scrollWidth;
					 h = document.documentElement.scrollHeight;
				 }
				 else
					 if (document.body) {
						 t = document.body.scrollTop;
						 l = document.body.scrollLeft;
						 w = document.body.scrollWidth;
						 h = document.body.scrollHeight;
					 }
				 return {
					 t: t,
					 l: l,
					 w: w,
					 h: h
				 };
				} // 点(Anchor)平滑跳?
				
				function scroller(el, typeid, duration) {
				
				 if(typeid>0)
				 {
					 jQuery("input[name=btn]").attr("class", "topInput");
					 jQuery("input[id=" + typeid + "]").attr("class", "topInputOver");
					 var  pl = $("#"+typeid)[0];
				
					 loadRndPage(pl,typeid,0,0);
					 
				 }
				
				 if(el!=undefined)
				 {
					 var eId= el;
					 if (typeof el != 'object') {
						 el = $("#"+el)[0];
					 }
				  
					 if (!el)
						 return;
					 var z = this;
					 z.el = el;
					 z.p = getPos(el);
					 z.s = getScroll();
				   
					 z.clear = function(){
						 window.clearInterval(z.timer);
						 z.timer = null
					 };
					 z.t = (new Date).getTime();
					 z.step = function(){
						 var t = (new Date).getTime();
						 var p = (t - z.t) / duration;
						 if (t >= duration + z.t) {
							 z.clear();
							 window.setTimeout(function(){
								 z.scroll(z.p.y, z.p.x)
							 }, 13);
						 }
						 else {
							 st = ((-Math.cos(p * Math.PI) / 2) + 0.5) * (z.p.y - z.s.t) + z.s.t;
							 sl = ((-Math.cos(p * Math.PI) / 2) + 0.5) * (z.p.x - z.s.l) + z.s.l;
							 z.scroll(st, sl);
						 }
					 };
					 z.scroll = function(t, l){
						 window.scrollTo(l, t)
					 };
					 z.timer = window.setInterval(function(){
						 z.step();
					 }, 13);
				 }
				 // $("div[id^='xt']").removeClass("margintop");
				 // $("#"+eId).addClass("margintop");
				}
			</script>
			<script>
				window.onbeforeunload = function() {
					if (event.clientY < 0 || event.altKey) {
						return ('您正在练习，确定退出练习吗？');
					}
				} 
				window.onscroll = function(){
					try{
						var top=document.body.scrollTop;
						if (top==0) top=document.documentElement.scrollTop;
						document.getElementById("mymenu").style.top=top+200;}
					catch(e){}
				} 
			
				window.onbeforeunload = function() {
					if (event.clientY < 0 || event.altKey) {
						return ('您正在考试，确定退出考试吗？');
					}
				} 
				var righttf='{KS:field:righttf}';
				if(righttf==1){
				document.oncontextmenu = new Function('event.returnValue=false;');
				document.onselectstart = new Function('event.returnValue=false;');
				}
			
				window.onscroll = function(){
					try{
						var top=document.body.scrollTop;
						if (top==0) top=document.documentElement.scrollTop;
						document.getElementById("mymenu").style.top=top+200;}
					catch(e){}
				} 
			</script>
			<script>
				var KSSJ={KS:Field:KSSJ};
			</script>
			<script src="../KS_Inc/exam/timeout.js"></script>
			<script>
					examInstallDir="/plus/exam/";
					function TurnTM(obj,typeid){
					  
						$("#page-rules").find("a").removeClass("ui-check");
						$(obj).addClass("ui-check");
						scroller('tm'+typeid,typeid, 800);
					}
					$(document).ready(function(){   
						$("#page-btn-pause").click(function(){
			
							if ($(this).find("span").html()=='暂停'){
								$(this).find("span").html('继续');
								clearInterval(tmpobj);
							}else{
								$(this).find("span").html('暂停');
								tmpobj = setInterval("addtime()",1000);
							}
						});
						$("#page-btn-submit").click(function(){
							
							DoSubmit();
						});
						$("#page-btn-next").click(function(){  //保存答案
				 
							SaveAnswer(0,'{KS:Field:id}');
						})
					});
					//答题卡关联
					
						
					function DoSubmit(){
						
						getAnswer();
						var num = getTotalTMS();
						var leavenum = getNoFinishTMS();
						var tipstr = '';
						if (leavenum>0){
							tipstr='共 '+num+' 道题，还有 '+leavenum+' 道题没有做完,确定交卷吗？';
						}else{
							tipstr='所有题已答完了，确定交卷吗？';
						}
						jQuery("#TotalTMS").val(num);
						jQuery("#NOFinishTMS").val(leavenum);
					
						KesionJS.Confirm(tipstr, "jQuery('#myform').submit();", null);
					}
			</script> 
			<div class="daily-time-box clearfix"><ul>{&TheDate}</ul></div>
			<!--文章标题-->
			<div class="m-examHead f-bg">         
			<!--试卷头信息-->
			<h1 class="h1">{KS:Field:Title}</h1>
            <!--工具区域-->
            </div>
			<form id="myform" name="myform" action="{=GetRewriteUrl(exam,do-training/id-{KS:Field:id})}" method="post">    
				<div style="width:100%; overflow:hidden"></div> 
				<a class="qhdqkbtn" href="javascript:;" onFocus="this.blur()" onClick="ToMyExams2({KS:Field:ID}, {$KS:UserManage});">&nbsp;</a>
				<input type="hidden" name="TotalTMS" id="TotalTMS" value="{KS:Field:TotalTMS}" />
				<input type="hidden" name="NOFinishTMS" id="NOFinishTMS" value="{KS:Field:NOFinishTMS}" />
				<input type="hidden" name="pid" id="pid" value="1" />
				<input type="hidden" name="id" id="sjid" value="{KS:Field:ID}" />
				<div style="display:none" id="MaskLayer"><B>试题加载中......</B></div>
				<div ID="PanExam" >
					<input type="hidden" name="timeout" id="timeout" value="{KS:Field:hasusetime}" />   
					<input type="hidden" name="HasUseTime" id="HasUseTime" value="{KS:Field:hasusetime}">
					<input type="hidden" name="action" value="sub" />
					<div class="navBox" id="page-rules" style='dislplay:none'>
					 {$KS:TmTypeButtonStr}
						</div>
					<div id="NavFixHeight" style="clear:both;"></div>   
					<script>
						var saveanswer='{$KS:saveanswer}';
						if(saveanswer != ''&& !isNaN(saveanswer))
						{
							$(window).load(function(){ $.dialog.alert("您于[{KS:Field:posttime}]保存了答案，请继续完成答卷,<br/>上次答卷已用时：<strong>{$KS:hasusetime}秒</strong>！"); });
						}
						var isTjDa=3;
						var tv=null;
						realTest=3; //代表练习
						jQuery(window).load(function(){	
						loadMytrainPage(null,{KS:Field:DefaultTmTypeID},0,0);
						setRightValue();
			
						});	
			
					</script>    	 
					<!-- 答题右侧操作 -->
					<div class="exam-rightArea">
						<div id="page-right-frame">
							<!--功能操作区域-->
							<div class="rightArea-time">
									<i id="page-timer-icon"></i><span><b style=" float:left; font-weight:normal;">剩余时间</b><strong id="Time1">00:00:00</strong></span>
							</div>
							<!--答题卡区域-->
							<div class="rightArea-answer">
								<div class="hd">
									<span class="title" style="text-align:left;">答题卡 <span class="card-count" id="page-card-info" style="font-size: 12px;color: #F06000;margin-left: 10px"></span></span>
								</div>   
								<div class="bd" id="page_card">
									<ul class="idbox" id="idbox">
										{$KS:Field:GetTestsSubject}
									</ul>
								</div>
								<div class="ft">
									<div class="btn-1" id="page-btn-next" >保存进度，下次继续</div> 
									<div class="btn-2" id="page-btn-submit">交卷</div>
								</div>
							</div>
						</div>
					</div>
					<div class="exam-report-cont-blk f-f14" id="page-body" >              
						<div id="content">加载中....</div>
					</div>
					<!-- 试题部分 END -->
					<div class="clear"></div> 
				</div> 
			</form>
  ]]>
  </exam>
 <exam name="trangreport">
    <![CDATA[  

	
	<div class="result clearfix">
		<div class="exam-rightArea" style="margin-top:0;">
			<div class="result-operate bd-style">
				<div class="result-title">操作</div>
				<ul>
					<li><a href="{=GetRewriteUrl(exam,do-trainingplained/id-{KS:Field:id})}">查看解析</a></li>
					<li {&KS:ctsytle}><a href="{=GetRewriteUrl(exam,do-trainingplained/bo-2/id-{KS:Field:id})}"> 只查看错题</a></li>
				</ul>
			</div>      
		</div>
		<div class="exam-report-cont-blk">
			<div class="result-l">
				<div class="result-title">考试结果</div>
				<div class="result-content clearfix">
					<div class="rc-l f-l" >
						<h4>{KS:Field:Title}</h4>
						<p>本次练习共 {KS:Field:TotalTMS}道题目</p>
						<p>答对{KS:Field:answertotal}道</p>
						<p>考试时长：{KS:MyUseTime}</p>
						<p>交卷时间：{KS:Field:AddDate}</span></p>             
						<p>正确率：{KS:Field:rate}%</p>              
					</div>
					<div class="rc-r f-r">
						<div id="indicatorContainer"></div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script src="/ks_inc/radialIndicator.min.js"></script>
	<script>
	  $('#indicatorContainer').radialIndicator({
			minValue: 0,
			maxValue: 100,
			barColor: '#f59121',
			barWidth: 6,
			initValue: 0,
			roundCorner : true,
			percentage:true,
			barColor: {
				0: '#f59121',
				33: '#f59121',
				66: '#f59121',
				100: '#f59121'
			}
		});
		var radialObj = $('#indicatorContainer').data('radialIndicator');
		radialObj.animate({KS:Field:rate});
	</script>
	 ]]>
  </exam>
  <exam name="ex">
    <![CDATA[  
	  <script>

        $(function(){
            if($(".fixedmenu").offset()){
                var fixedmenuOftop = $(".fixedmenu").offset().top;  
            }else{
                var fixedmenuOftop = false;
            };
            if($(".exam-rightArea").offset()){
                var rightAreaOftop = $(".exam-rightArea").offset().top;
            }else{
                var rightAreaOftop = false;
            };

            $(window).scroll(function(){	

                var scroH = $(this).scrollTop();
                if(fixedmenuOftop!=false){       			  
                    if(scroH>=fixedmenuOftop){
                        $(".fixedmenu").addClass('fixed');
                    }else if(scroH<fixedmenuOftop){
                        $(".fixedmenu").removeClass('fixed');				  
                    };
                };
                if(rightAreaOftop!=false){
                    if(scroH>=rightAreaOftop){
                    $(".exam-rightArea").addClass('fixed1');
                    }else if(scroH<rightAreaOftop){
                        $(".exam-rightArea").removeClass('fixed1');               
                    }   
                };
                  

            });	  	  

             	  
        });				 	 

             
     function intval(v){
         v = parseInt(v);
         return isNaN(v) ? 0 : v;
     } //取元素信息   
     function getPos(e){
         var l = 0;
         var t = 0;
         var w = intval(e.style.width);
         var h = intval(e.style.height);
         var wb = e.offsetWidth;
         var hb = e.offsetHeight;
         while (e.offsetParent) {
             l += e.offsetLeft + (e.currentStyle ? intval(e.currentStyle.borderLeftWidth) : 0);
             t += e.offsetTop + (e.currentStyle ? intval(e.currentStyle.borderTopWidth) : 0);
             e = e.offsetParent;
         }
         l += e.offsetLeft + (e.currentStyle ? intval(e.currentStyle.borderLeftWidth) : 0);
         t += e.offsetTop + (e.currentStyle ? intval(e.currentStyle.borderTopWidth) : 0);
         return {
             x: l,
             y: t-200,
             w: w,
             h: h,
             wb: wb,
             hb: hb
         };
     } // 取滚动条信息   
     function getScroll(){
         var t, l, w, h;
         if (document.documentElement && document.documentElement.scrollTop) {
             t = document.documentElement.scrollTop;
             l = document.documentElement.scrollLeft;
             w = document.documentElement.scrollWidth;
             h = document.documentElement.scrollHeight;
         }
         else
             if (document.body) {
                 t = document.body.scrollTop;
                 l = document.body.scrollLeft;
                 w = document.body.scrollWidth;
                 h = document.body.scrollHeight;
             }
         return {
             t: t,
             l: l,
             w: w,
             h: h
         };
     } // 点(Anchor)平滑跳?

     function scroller(el, typeid, duration) {
 
         if(typeid>0)
         {
             jQuery("input[name=btn]").attr("class", "topInput");
             jQuery("input[id=" + typeid + "]").attr("class", "topInputOver");
             var  pl = $("#"+typeid)[0];
             var Dtfs={KS:Field:dtfs};
             if (Dtfs == 1){  
             loadPage(pl,typeid,0,0);
             }else if(Dtfs == 2){ 
             loadRndRank(null,typeid,0,0,0);
             }else{ 
             loadRndPage(pl,typeid,0,0);
             }  
         }
       
         if(el!=undefined)
         {
             var eId= el;
             if (typeof el != 'object') {
                 el = $("#"+el)[0];
             }
          
             if (!el)
                 return;
             var z = this;
             z.el = el;
             z.p = getPos(el);
             z.s = getScroll();
           
             z.clear = function(){
                 window.clearInterval(z.timer);
                 z.timer = null
             };
             z.t = (new Date).getTime();
             z.step = function(){
                 var t = (new Date).getTime();
                 var p = (t - z.t) / duration;
                 if (t >= duration + z.t) {
                     z.clear();
                     window.setTimeout(function(){
                         z.scroll(z.p.y, z.p.x)
                     }, 13);
                 }
                 else {
                     st = ((-Math.cos(p * Math.PI) / 2) + 0.5) * (z.p.y - z.s.t) + z.s.t;
                     sl = ((-Math.cos(p * Math.PI) / 2) + 0.5) * (z.p.x - z.s.l) + z.s.l;
                     z.scroll(st, sl);
                 }
             };
             z.scroll = function(t, l){
                 window.scrollTo(l, t)
             };
             z.timer = window.setInterval(function(){
                 z.step();
             }, 13);
         }
     }
    </script> 
	<script>
    window.onbeforeunload = function() {
        if (event.clientY < 0 || event.altKey) {
            return ('您正在考试，确定退出考试吗？');
        }
    } 
    var righttf='{KS:field:righttf}';
    if(righttf==1){
    document.oncontextmenu = new Function('event.returnValue=false;');
    document.onselectstart = new Function('event.returnValue=false;');
    }

    window.onscroll = function(){
        try{
            var top=document.body.scrollTop;
            if (top==0) top=document.documentElement.scrollTop;
            document.getElementById("mymenu").style.top=top+200;}
        catch(e){}
    } 
	</script>
  	<script>
        var KSSJ={KS:Field:KSSJ};
    </script>
   	<script src="../KS_Inc/exam/timeout.js"></script>
	<script>
	    examInstallDir="/plus/exam/";
	    function TurnTM(obj,typeid){
	      
	        $("#page-rules").find("a").removeClass("ui-check");
	        $(obj).addClass("ui-check");
	        scroller('tm'+typeid,typeid, 800);
	    }
	    $(document).ready(function(){   
	        $("#page-btn-pause").click(function(){

	            if ($(this).find("span").html()=='暂停'){
	                $(this).find("span").html('继续');
	                clearInterval(tmpobj);
	            }else{
	                $(this).find("span").html('暂停');
	                tmpobj = setInterval("addtime()",1000);
	            }
	        });
	        $("#page-btn-submit").click(function(){
	            
	            DoSubmit();
	        });
	        $("#page-btn-next").click(function(){  //保存答案
             var exType = '{KS:Field:dtfs}';
             if(exType=='3')
            {
            
	        	SaveAnswer(1,'{KS:Field:id}',5);
            }
            else 
            {
            SaveAnswer(0,'{KS:Field:id}');
            }
	        })
	    });
        //答题卡关联
		
        function DoSubmit(){
            getAnswer();
            var num = getTotalTMS();
            var leavenum = getNoFinishTMS();
            var tipstr = '';
            if (leavenum>0){
                tipstr='共 '+num+' 道题，还有 '+leavenum+' 道题没有做完,确定交卷吗？';
            }else{
                tipstr='所有题已答完了，确定交卷吗？';
            }
            jQuery("#TotalTMS").val(num);
            jQuery("#NOFinishTMS").val(leavenum);
            KesionJS.Confirm(tipstr, "jQuery('#myform').submit();", null);
        }
	</script> 
	<div class="m-examHead f-bg">         
            <!--试卷头信息-->
            <h1 class="h1">{KS:Field:Title} </h1>
            <!--工具区域-->
            </div>
			<form id="myform" action="{=GetRewriteUrl(exam,do-ex/id-{KS:Field:id})}" name="myform" method="post" >    
				<div style="width:100%; overflow:hidden"></div> 
				<!--班级-->
				<input type="hidden" name="workid" value="{KS:WorkID}" />
				<input type="hidden" name="stu" value="{KS:stu}" />
				<input type="hidden" name="action" value="{KS:action}" />
				<input type="hidden" name="packid" value="{KS:Packid}" />
				<a class="qhdqkbtn" href="javascript:;" onFocus="this.blur()" onClick="ToMyExams2({$KS:sjId}, {$KS:UserManage});">&nbsp;</a>
				<input type="hidden" name="TotalTMS" id="TotalTMS" value="{$KS:TotalTMS}" />
				<input type="hidden" name="NOFinishTMS" id="NOFinishTMS" value="{$KS:NOFinishTMS}" />
				<input type="hidden" name="pid" id="pid" value="{$KS:DefaultTmTypeID}" />
				<input type="hidden" name="sjid" id="sjid" value="{KS:Field:ID}" />
<input type="hidden" name="rndst" id="rndst" value="{KS:Field:rndST}" />
<textarea    id="answer" name="answer" style="display:none">{$KS:saveanswer}</textarea>

				<div style="display:none" id="MaskLayer"><B>试题加载中......</B></div>
				<div ID="PanExam" >
					<input type="hidden" name="timeout" id="timeout" value="{KS:Field:hasusetime}" />   
					<input type="hidden" name="HasUseTime" id="HasUseTime" value="{KS:Field:hasusetime}">
					<input type="hidden" name="timeout" value="{$KS:TimeOut}" />
					<div id="ui-progress" class="ex-progress bd-style">
						<div class="navBox" id="page-rules">
						 {$KS:TmTypeButtonStr}
						</div>
						<div style="clear:both;"></div>
					</div>
					<div id="NavFixHeight" style="clear:both;"></div>
					<!-- 试题部分 --> 
					<script>
		
						if($.trim($('#page-rules').text())==''&&$('#page-rules')[0].children.length==0){
							$('#page-rules').parent().remove();
						};
			   
						 //判断是否提示--
						 saveanswer=$("#answer").val();
						 if(saveanswer != ''&& !isNaN(saveanswer))
						 {
							 $(window).load(function(){ $.dialog.alert("您于[{KS:Field:adddate}]保存了答案，请继续完成答卷,<br/>上次答卷已用时：<strong>{$KS:hasusetime}秒</strong>！"); });
						 }
		
						 var isTjDa='{KS:Field:IsTjDa}';
						 rndST='{KS:Field:rndST}';
						 var tv=null;
						 realTest='{KS:Field:realtest}';
						 jQuery(window).load(function () {
							 var Dtfs='{KS:Field:dtfs}';//变量控制
							 rndType = '{KS:Field:RndType}';
							 if (Dtfs == 1){ 
								 loadPage(null,{$KS:DefaultTmTypeID},0,0);			
							 }else if(Dtfs == 2){ 
								 loadRndRank(null,{$KS:DefaultTmTypeID},0,0,0);
							 }else{ 
								 loadRndPage(null,{$KS:DefaultTmTypeID},0,0);			        
							 }  
							 setRightValue();			      
							 if(realTest==1){
								 //页面自动保存的判断方式
								 var dtfs='{KS:field:Dtfs}';
								 if(dtfs==1){ dtfs = "0"; } else { dtfs = "1"; }
								 var action = '{$action}';
							   
								 if (action != "dosave" && action != "dofinish"){ 
								 //自动保存答案
									 tv=setInterval("SaveAnswer({KS:field:Dtfs}==1?0:1,{KS:field:ID})", parseInt({KS:Field:AutoSaveTime})*1000 );
									 }else{ 
									 tv=clearInterval(tv);
								 }  
							 }
						 });	
					</script>   
					<!-- 答题右侧操作 -->
					<div class="exam-rightArea">
						<div id="page-right-frame" {KS:datika}>
							<!--功能操作区域-->
							<div class="rightArea-time">
								<i id="page-timer-icon"></i><span><b style=" float:left; font-weight:normal;">剩余时间</b><strong id="Time1">00:00:00</strong></span>
							</div>
							<!--答题卡区域-->
							<div class="rightArea-answer">   
										  
								<div class="bd" id="page_card">            
									 <ul class="idbox" id="idbox">
										 {$KS:Field:GetTestsSubject}
									 </ul>
								</div>
								<div class="ft">                 
								   <div {$realtest} class='btn-1' id='page-btn-next' >{KS:SaveButton}</div>
								   <div {KS:IsClass} class="btn-2" id="page-btn-submit" >交卷</div>  
								</div>
							</div>
						</div>
						<div style="clear:both;"></div>
					</div>   
					<div class="exam-report-cont-blk f-f14" id="page-body" {KS:datika}>            
						<div id="content" {KS:datika}>加载中....</div>
					</div>
					<!-- 试题部分 END --> 
					<div class="clearfix"></div>
					<div {KS:zhuguan}>
						<div class="mainbox02" style="margin-top:10px">
							{KS:LabFinish}
						</div>
					</div>
				</div> 
			</form>
    
    
      ]]>
  </exam>
  <exam name="trangplain">
    <![CDATA[    
	
	    <script>
          window.onscroll = function(){
        	  try{
        		 var top=document.body.scrollTop;
        		 if (top==0) top=document.documentElement.scrollTop;
        		 document.getElementById("mymenu").style.top=top+200;}
        		 catch(e){}
          }
          
        </script>
  
	<div class="daily-time-box clearfix">
        <ul>{&TheDate}</ul>
    </div>
    <form id="myform" method="post" >

      <input type="hidden" name="id" value="{KS:Field:ID}" />
      <input type="hidden" name="sjid" id="sjid" value="{KS:Field:ID}" />
      <input type="hidden" name="bo" id="bo" value="{&KS:Cuoti}" />
      <div class="content">

        <div class="exam-rightArea" style="margin-top:0;">
            <div class="result-operate">
                <div class="result-title">操作</div>
                {$KS:Field:GetTestsSubject}
                <ul>
                    <li {&KS:ctsytle}><a href="{=GetRewriteUrl(exam,do-trainingplained/bo-2/id-{KS:Field:id})}">只查看错题</a></li>
                    <li><a href="{=GetRewriteUrl(exam,do-trainingplained/bo-1/id-{KS:Field:id})}">查看报告</a></li>
                </ul>
            </div>
        </div>  

        <div class="exam-report-cont-blk">
          <div class="SubmitHidden" id="MaskLayer">
            <B>试题加载中......</B>
          </div>
            <div id="content">加载中....</div>
            <script>
              var isTjDa=0;
              var bo='{&KS:Cuoti}';
              jQuery(document).ready(function(){
		
              loadRndRank(null, 1, 1, {KS:field:ID},1);
              })
            </script>
          </div>

        <div class="clear"></div>
      </div>
    </form>
   ]]>
  </exam>
  <exam name="explain">
  <![CDATA[  	   
	  <form name="myform" method="post"  id="myform">
		   <!--<div class="clear"></div>-->
		   <div class="container f-pt15 bg-default">
		   <div class="content ">
				<div class="exam-report page-width">
				   <!--进度信息-->               
				   <div style="width:100%;height:0px; overflow:hidden"></div>
				   <input type="hidden" name="pid" id="pid" value="{KS:DefaultTmTypeID}" />
				   <input type="hidden" name="id" value="{KS:sjId}" />
				   <input type="hidden" name="sjid" id="sjid" value="{KS:sjId}" />
				   <input type="hidden" name="bo" id="bo" value="{&KS:Cuoti}" />
				   <div class="SubmitHidden" id="MaskLayer"><B>试题加载中......</B></div>
				   <div class="explainTitle">
						您的答题情况：<span>用时：{KS:MyUseTime}</span><span>时间：{KS:MyZTSJ}</span><span>得分：{KS:MyScore}</span>
				   </div>
				</div>
				<div id="PanExam">
					<script>
					   var isTjDa = 0;
					   examInstallDir = "/plus/exam/";
					   jQuery(document).ready(function () {
						   var Dtfs = {KS:Field:Dtfs};
					   if (Dtfs==1){ 
							 loadPage(null,{KS:DefaultTmTypeID},1,{KS:ScoreID});
						 }else if (Dtfs==2){ 
							 loadRndRank(null,{KS:DefaultTmTypeID},1,{KS:ScoreID},0);
						 } else{
							 loadRndPage(null, {KS:DefaultTmTypeID}, 1, {KS:ScoreID});
						 }
						
					 })
					   $(window).load(function(){
						   if ($("input[name=btn]").length==1){
							   $(".examnav").show().height(1);
							   $(".examnav").find("INPUT").attr("style","display:none");
						   }else{
							   $(".examnav").show();
						   };
						   if($.trim($('#page-rules').text())==''&&$('#page-rules')[0].children.length==0){
								$('#page-rules').parent().remove();
							};
					   });
					</script>
					<div id="ui-progress" class="ex-progress">
						<div class="navBox" id="page-rules">
						  {KS:TmTypeButtonStr}
						</div>
						<div class="clear"></div>		
					</div>
					<div id="NavFixHeight" style="clear:both;"></div>
					<div class="exam-rightArea">
						<div class="result-operate bd-style">
							<div class="result-title">操作</div>
							<div class="check-error-btn"><button><a href="{=GetRewriteUrl(exam,do-explained/scoreid-{KS:ScoreID})}">全部解析</a></button></div>
							<ul class="emnav">
								<li class="active" {&KS:ctsytle}><a href="{=GetRewriteUrl(exam,do-explained/bo-1/scoreid-{KS:ScoreID})}">只看错题</a></li>
								<li ><a href="{=GetRewriteUrl(exam,do-reviews/id-{KS:Field:id})}">发表心得</a></li>
								<li ><a href="{=GetRewriteUrl(exam,do-extop/id-{KS:Field:Id})}">成绩排行</a></li>
							</ul>
						</div>   
					</div>
					<div id="content" style="padding-right:290px;">加载中....</div>
				</div> 
				<div class="clearfix"></div>
		   </div>
	  </form>        
  ]]>
  </exam>
  <exam name="confirm">
    <![CDATA[     
      <script>
        $(document).ready(function(){
	
        	if (!-[1,]&&!window.XMLHttpRequest){
				$(".IE6jiance").show();
				$.dialog.alert('您当前使用的浏览器版本太低，建议升级到更高版本的浏览器！',function(){});
			}

        });
        function check() {
            
            var IsLogin = '{$Islogin}';
            var mycache = '{$MyCache}';
            var MustLogin = '{KS:field:MustLogin}';
            if (IsLogin != "success" && (mycache == "0" || (mycache == "1" && MustLogin == 1))) {
                $.dialog.alert("登录后才可以考试!", function () {
                    showuserlogin();
                });
                return false;
            }
            var startdate = '{KS:Field:TimeLimitBegin}';
            var enddate = '{KS:Field:TimeLimitEnd}';
            var a = '{&KS:a}';
            var b = '{&KS:b}';
            if (a == 1 && b == -1) {
              //  location.href = '{=GetRewriteUrl(examex,{KS:Field:ID})}';
            } else {
                alert("考试时间限制在时间段[" + startdate + "至" + enddate + "]开放!");
                return false;
            }
            if ('{KS:Field:Money}'>0)
            {
                if (confirm("该试卷需要支付{KS:Field:Money}{$GetPointUnit},是否确认支付")) {
                  location.href = '{=GetRewriteUrl(exam,do-ex/id-{KS:Field:ID})}'; 
                }else{
                   return false;
                }
            }else{

            return true;
			}
		}
	</script>

	<div id=center-middle >
		<form name="form1" method="post" action="{=GetRewriteUrl(exam,do-ex/id-{KS:Field:id})}" id="form1">
			<table width="100%" height="163" align="center"  cellpadding="0" cellspacing="0" style=" padding-bottom:5px; background:#fff;">
				<tr>
					<td height=40 colspan="2" align="center" style="background:#fff;border-bottom:1px solid #e5e5e5"><font style="color:#ec7c40; font-size:16px;">{$Name}</font></td>
				</tr>
				<tr>
					<td height=40 align="center" colspan="2" style="background:#fff;border-bottom:1px solid #e5e5e5">开考时间限制：
						{$KSTime}
					</td>
				</tr>
				<tr>
					<td width="49%" height=40 align="center" style="background:#fff;border-bottom:1px solid #e5e5e5; padding-left:20px;">考试时间：{KS:Field:KSSJ}分钟</td>
					<td width="51%" align="left" style="background:#fff; padding-left:20px;border-bottom:1px solid #e5e5e5;border-left:1px solid #e5e5e5">试卷总分：{KS:Field:Score}分</td>
				</tr>
				<tr>
					<td height=40 align="center" style=" padding-left:20px;background:#fff;">所需{$GetPointName}：<font color="#ff3300">{KS:Field:Money}</font>{$GetPointUnit}</td>
					<td align="left" style="padding-left:20px;background:#fff;border-left:1px solid #e5e5e5"><img src="/SysImg/Exam/gold.png" align="texttop" style="margin:-1px 3px 0px 5px" />可用{$yue}{$GetPointUnit} </td>
				</tr>
				<tr>
					<Td colspan="2" style="border-top:1px solid #e5e5e5">
						<div align="center" style="margin-top:15px;">
							<input type="image" name="ImageButton1"  src="/SysImg/Exam/exambtn.png" onClick="return(check());" style="border-width:0px;" />
						</div>
					</Td>
				</tr>
			</table>
		</form>
	</div>
]]>
  </exam>
    <exam name="go">
    <![CDATA[     
    <script>
        $(document).ready(function(){
         if (!-[1,]&&!window.XMLHttpRequest){
          $(".IE6jiance").show();
		  $.dialog.alert('您当前使用的浏览器版本太低，建议升级到更高版本的浏览器！',function(){});
		  }
        });

		function check() {
		
          if ($("#UserName").val()==''){
             KesionJS.Alert("请输入用户名称!",'$("#UserName").focus()');
             return false;
          }
          if ($("#PassWord").val()==''){
             KesionJS.Alert("请输入用户密码!",'$("#PassWord").focus()');
             return false;
          }
          if ($("#CardNum").val()==''){
             KesionJS.Alert("请输入准考证号!",'$("#CardNum").focus()');
             return false;
          }
          examInstallDir = "/plus/exam/";
          $.get(examInstallDir+'GetSJAjax.ashx', { action: "checkexampurview", sjid:{KS:Field:id} ,username:$("#UserName").val(),password:$("#PassWord").val(),CardNum:$("#CardNum").val()}, function(d) { 
              if(d=='success'){ 
               $.dialog.tips('恭喜，验证通过，2秒后进入考试！',2,'success.gif',function(){
                   jQuery('#form1').submit();
               });
              }else{
               KesionJS.Alert(d);
              } });

		}
			function loginOut(){
		   $.dialog.confirm('确定退出登录吗？',function(){
		       location.href = "{=GetRewriteUrl(loginout)}?backurl={=GetRewriteUrl(examview,{KS:Field:id})}";
		    },function(){
		    });
		}
   </script>
  
   <form name="form1" method="post" action="{=GetRewriteUrl(exam,do-ex/id-{KS:Field:id})}" id="form1">
        <DIV class="ticket bd-style">
            <ul>
              <input type="hidden" name="sessionRnd" value="{$KS:sessionRnd}">
                <li><span class="ticket-name">考生：</span>{$Name}</li>
                <li><span class="ticket-name">开考时间限制：</span>{$KSTime}</li>
                <li><span class="ticket-name">限制时间：</span>{KS:Field:KSSJ}分钟</li>
                <li {$KS:style}><span class="ticket-name">用户名：</span><input type="text" style="width:65%;margin:15px 0px; text-indent:10px;height:38px; line-height:100%;border:1px solid #eee;border-radius:3px;" name="UserName" class="textbox" id="UserName" value="用户名/UID" onFocus="this.value=(this.value=='用户名/UID')?'':this.value" onBlur="this.value=(this.value=='')?'用户名/UID':this.value" /></li>
                <li {$KS:style}><span class="ticket-name">密 码：</span><input type="password" style="width:65%;margin:15px 0px; text-indent:10px;height:38px; line-height:100%;border:1px solid #eee;border-radius:3px;" name="PassWord" id="PassWord"  class="textbox" value="在此填写密码" onFocus="this.value=(this.value=='在此填写密码')?'':this.value" onBlur="this.value=(this.value=='')?'在此填写密码':this.value" /></li>
                <li><input type="hidden" name="UserName" readonly class="textbox" id="Hidden1" value="" />
               如果用户名和准考证上的用户名不一致，请<a href="javascript:;" onClick="loginOut()" class="ticket-out">退出</a>重新登录！</li>
               <li><span class="ticket-name">准考证号：</span><input type="text" name="CardNum" id="CardNum" class="ticket-text" value="输入准考证号..." onFocus="this.value=(this.value=='输入准考证号...')?'':this.value" onBlur="this.value=(this.value=='')?'输入准考证号...':this.value" /></li>
            </ul>

            <div class="ticket-button" id="examBtn" onClick="return(check());">确认进入考试</div>
          
        </DIV>
	
    </form>
  
  
  ]]>
  </exam>

  <exam name="examclass">
    <![CDATA[
	
    <table class="afresh-table">
      [loop]
      <tr>
        <td class="afresh-txt">{$Field(classname,text,0,...,2,)}：</td>
        <td>
          <ul class="afresh-ul">
            [recode]
            <li>
                <a onclick="uploadclass('{KS:URL}',{$Field(classid,text,0,...,2,)},{$Field(child,text,0,...,2,)})" >{$Field(classname,text,0,...,2,)}</a>
            </li>
            [/recode]         
          </ul>
        </td>
      </tr>      
     [/loop]
    </table>
	
   ]]> 
  </exam>
  <exam name="examindex">
    <![CDATA[

    <div class="practice-body">
        <ul class="clearfix">
            <li>
                <a>
                   <div class="practice-box">
                       <div class="practice-icon">
                           <i class="subfont subicon-zhuantilianxi"></i>
                       </div>
                       <div class="practice-txt">
                           <p class="practice-txt1">每日一练</p>
                           <p class="practice-txt2">每日练习，日积月累，提高成绩</p>
						   <p class="practice-txt3"><server-time></server-time></p>
						   <p id="exambtn_day"></p>
                           
							<script>
								if('{KS:DaylistTotal}' == 0){
									$('#exambtn_day').html('<a class="practice-btn practice-btn-dis">暂无练习</a>')
								}else{
									$('#exambtn_day').html('<a class="practice-btn" href="{=GetRewriteUrl(exam,do-daily/id-{KS:classid})}">开始练习</a>')
								}
							</script>
                       </div>
                   </div>
                </a>
            </li>
            <li>
                <a>
                    <div class="practice-box">
                        <div class="practice-icon">
                            <i class="subfont subicon-lianxi"></i>
                        </div>
                        <div class="practice-txt">
                            <p class="practice-txt1"> 章节练习</p>
                            <p class="practice-txt2">抓住重点学习，提高学习质量</p>
							<p class="practice-txt3">共{KS:ChaptTotal}章</p>
							<p id="exambtn_chapter"></p>
                            
							<script>
								if('{KS:ChaptTotal}' == 0){
									$('#exambtn_chapter').html('<a class="practice-btn practice-btn-dis">暂无练习</a>')
								}else{
									$('#exambtn_chapter').html('<a class="practice-btn" href="{=GetRewriteUrl(exam,do-chapter/id-{KS:classid})}">开始练习</a>')
								}
							</script>

                        </div>
                    </div>
                </a>
            </li>
            <li>
                <a>
                    <div class="practice-box">
                        <div class="practice-icon">
                            <i class="subfont subicon-lianxi1"></i>
                        </div>
                        <div class="practice-txt">
                            <p class="practice-txt1">随机练习</p>
                            <p class="practice-txt2">多题型整合，备考路上好助手</p>
							<p class="practice-txt3">共{KS:RandTotal}道题目</p>
							<p id="exambtn_rand"></p>
                            
							<script>
								if('{KS:RandTotal}' == 0){
									$('#exambtn_rand').html('<a class="practice-btn practice-btn-dis">暂无练习</a>')
								}else{
									$('#exambtn_rand').html('<a class="practice-btn" href="{=GetRewriteUrl(exam,do-myexam/id-{KS:classid})}">开始练习</a>')
								}
							</script>
                        </div>
                    </div>
                </a>
            </li>
            <li>
                <a>
                    <div class="practice-box">
                        <div class="practice-icon">
                            <i class="subfont subicon-shijuan"></i>
                        </div>
                        <div class="practice-txt">
                            <p class="practice-txt1">套卷练习</p>
                            <p class="practice-txt2">海量试题资源，解析全面易懂</p>
							<p class="practice-txt3">共{KS:SjTotal}份试卷</p>
                            
							<p id="exambtn_total"></p>
							<script>
								if('{KS:SjTotal}' == 0){
									$('#exambtn_total').html('<a class="practice-btn practice-btn-dis">暂无练习</a>')
								}else{
									$('#exambtn_total').html('<a class="practice-btn" href="{=GetRewriteUrl(examlist,id-{KS:classid})}">开始练习</a>')
								}
							</script>
                        </div>
                    </div>
                </a>
            </li>
        </ul>
    </div>
</div>

  ]]>
  </exam>
  <exam name="chapter">
    <![CDATA[
	
	<section class="exam-tab" id="examTab">
		<ul>
			<li id="exambtn_day"></li>
			<li class="curr" id="exambtn_chapter"></li>
			<li id="exambtn_rand"></li>
			<li><a href="{=GetRewriteUrl(examlist,id-{KS:classid})}">套卷练习</a></li>
		</ul>
	</section>
	
    <div class="page-width">
		<div class="i-practice">
			<div class="con-hd" style="background:#fafafa;">
				<ul id="navLink">
					<li class="biaoti">章节<span></span></li>
					<li class="biaoti1">重做错题<span></span></li>
					<li class="biaoti2">已做/总题<span></span></li>      
					<li class="biaoti3">操作<span></span></li>     
				</ul>
			</div>
			<script>
				 function Goexam(classid, SJTypeClassid) {
					 jQuery.ajax({
						 type: "POST",
						 datatype: "xml",
						 url: "/plus/ajaxs.ashx",
						 data: "a=checkislogin",
						 success: function (xml) {
							 var islogin = jQuery(xml).find("login islogin").text();
							 if (islogin == 'false' && '{KS:islogin}'=='true')
							 {
								 showuserlogin(); return false;
							 }
							 else {				
								 jQuery.ajax({
									 url: "/index.aspx?c=exam&a=exam&do=chapter&action=goexam&classid=" + classid + "&SJTypeClassid=" + SJTypeClassid, success: function (d) {
										top.location.href = d;
									 }
								 });
							 }
						 }
					 });
				 }
					 
				function ZJSeclist(classid, SJTypeClassid,num) {
					jQuery("#ZJSeclist"+num).toggle();
					jQuery("#ZJSeclist"+num).html('loading...');
					  jQuery.ajax({
						 url: "/index.aspx?c=exam&a=exam&do=chapter&action=ZJlist&classid=" + classid + "&SJTypeClassid=" + SJTypeClassid, success: function (d) {
						
						jQuery("#ZJSeclist"+num).html(d);
						
						}
					   });
				 }
				 
				function GoexamKnowledge(classid, SJTypeClassid, Knowledgeid) {
					jQuery.ajax({
						 type: "POST",
						 datatype: "xml",
						 url: "/plus/ajaxs.ashx",
						 data: "a=checkislogin",
						 success: function (xml) {
							 var islogin = jQuery(xml).find("login islogin").text();
							 if (islogin == 'false')
							 {
								 showuserlogin(); return false;
							 } else {
								 jQuery.ajax({
									 url: "/index.aspx?c=exam&a=exam&do=chapter&action=goexamKnowledge&classid=" + classid + "&SJTypeClassid=" + SJTypeClassid + "&Knowledgeid=" + Knowledgeid, success: function (d) {
										 top.location.href = d;
									 }
								 });
							 }
						 }
					});
				}
			</script>
			<script language="javascript" type="text/javascript">
					   jQuery(function () {
							   jQuery("#tree li p").click(function () {
								var id = jQuery(this).parent().attr("data_id");
								   if (jQuery(this).children('span').hasClass('open')) {
									   jQuery(this).children('span').removeClass('open').addClass('clos');
						} else {
									   jQuery(this).children('span').removeClass('clos').addClass('open');
						}
			
								   jQuery(this).parent().siblings().each(function () {
									   if (jQuery(this).attr("data_parent_id") == id) {
										   if (jQuery(this).children('p').children('span').hasClass('clos')) {
											   jQuery(this).children('p').children('span').removeClass('clos').addClass('open');
								}
			
										   var state = jQuery(this).css("display");
								if (state == "none") {
									jQuery(this).css("display", "block");
								}
								else {
									jQuery(this).css("display", "none");
									//$(this).children('span').removeClass("clos").addClass('open');
									var subId = jQuery(this).attr("data_id");
									jQuery(this).siblings().each(function () {
										if (jQuery(this).attr("data_parent_id") == subId) {
											var state = jQuery(this).css("display");
											if (state != "none") {
												jQuery(this).css("display", "none");
											}
										}
									});
								}
							}
						});
					});     
				})
			
			</script>
			<div class="wrong-title-set">
				<ul class="text tsite" id="tree">			
					{&KS:ZJLlist}
				</ul>
				<div class="clear"></div>
			</div>	   

		</div>
		<div class="clear"></div>
        [KS:PageStr2]
    </div>
    ]]>
  </exam>
  <exam name="reviews">
    <![CDATA[
   <div class="clear"></div> 
  <div class="container f-pt15 bg-default">
      <div class="exam-report page-width">
            <div class="m-examHead">  
            <!--试卷头信息-->
                <h1 class="h1">{KS:Field:Title}</h1>
                <div class="info">
                	<span>所需学币：<strong style="color:#F7AA20; font-family:Arial;">0 </strong>个</span><span>卷面总分：{KS:field:Score}分</span><span>浏览次数：{KS:Field:testhits}人</span><span>试卷来源：{KS:field:CopyFrom}</span><span>答题时间：{KS:field:kssj}分钟</span><span>上传时间：{KS:field:adddate}</span>
                </div>
            </div>
            <!--进度信息-->    
			<input type="hidden" name="pid" id="pid" value="{KS:field:DefaultTmTypeID}" />
			<input type="hidden" name="id" value="{KS:field:ID}" />
			<div class="main">
				<script>
					function check(obj) {
					 //   obj.form.action = '?action=dosave';
						//obj.form.target = "hidframe";
						if ($("#content").val() == '' || $("#content").val() == '说说您的考后心得！') {
							$.dialog.alert('请输入发表内容!', function () {
								$("#content").focus();
							});
							return false;
						}
						return true;
					}
					
					examInstallDir = "/plus/exam/";
					//评论
					function quickreply(id, page) {
						var c = $("#c" + id).val();
						if (id == '') return;
						$.ajax({
							url: '/plus/exam/GetSJAjax.ashx?page=' + page + '&id=' + id + '&action=ShowCmt',
							success: function (data) {
								if (page != undefined) {
							
									$("#cmt" + id).html(data);
								} else {
									$("#cmt" + id).toggle('fast').html(data);
								}
							},
							cache: false
						});
					}
					//开始提交评论
					function dopostcmt(id) {
			
						var c = $("#c" + id).val();
						if (c == '' || c == '...') {
							$.dialog.alert('你也懒了点吧,要输入评论内容哦^-^', function () {
								$("#c" + id).focus();
							});
							return false;
						}
			
						$.post("/plus/exam/GetSJAjax.ashx", { action: 'CmtSave', id: id, Content: c }, function (d) {
							if (d == "success") {
							var num= $("#review"+id).html();
							
							  $("#review"+id).html( parseInt(num)+1);
								$.dialog.alert('恭喜，评论成功！', function () { quickreply(id, 1); });
							} else {
								$.dialog.alert(unescape(d), function () { });
							}
						});
					}
					function ThisFocus(id) { if ($("#c" + id).val() == '...') { $("#c" + id).val(''); } }
					function ThisBlur(id) { if ($("#c" + id).val() == '') { $("#c" + id).val('...'); } }
			
					function checkcommentlength(cobj, cmax) {
						if (cmax <= 0) return;
						if (cobj.value.length > cmax) {
							cobj.value = cobj.value.substring(0, cmax);
							$.dialog.alert("字数不能超过" + cmax + "个字符!", function () { });
						} else {
							var remain = String(cmax - cobj.value.length);
			
							$('#commentmax').html(remain);
						}
					}
			
				</script>  
				<iframe src="about:blank" style="width:0px;height:0px;border:0px;" name="hidframe" id="hidframe"></iframe>
				<form name="myform" method="post" action="{=GetRewriteUrl(exam,do-reviews/action-dosave/id-{KS:Field:id})}" id="myform" target="hidframe">     
					<div class="exam-rightArea">
						<div class="result-operate">        
							<div class="result-title">操作</div>
							<div class="check-error-btn"><button><a href="{=GetRewriteUrl(exam,do-explained/scoreid-{KS:ScoreID})}">全部解析</a></button></div>
							<ul class="emnav">
								<!--<li><a href="{=GetRewriteUrl(exam,do-explained/scoreid-{KS:ScoreID})}">全部解析</a></li>-->
								<li class="active"><a href="{=GetRewriteUrl(exam,do-reviews/id-{KS:Field:id})}">发表心得</a></li>
								<li><a href="{=GetRewriteUrl(exam,do-extop/id-{KS:Field:Id})}">成绩排行</a></li>
							</ul>
						</div>
					</div>
					<div style="padding-right:290px;">
						 <table align="center" cellpadding="0" cellspacing="0" style=" margin:auto;margin-bottom:20px;width:100%">
							<tr height="30">
							  <td height="30" colspan="2" class="xuxian">说说我的感受...</td>
							</tr>
							<tr height="40">
							  <td colspan="2" style="position:relative">
								<div class="heart-txt-box">
									<textarea name="content" class="heart-txt" id="content" onClick="checkcommentlength(this,255);" onFocus="if (this.value=='说说您的考后心得！'){this.value='';}" onBlur="if(this.value==''){this.value='说说您的考后心得！';}" onKeyDown="checkcommentlength(this,255);" onKeyUp="checkcommentlength(this,255);"></textarea>
									   
									<div class="heart-po">
										  &nbsp;剩余 <span style="width:40px;color:#FB9E50;font-size:14px;" id="commentmax">255</span> 个字
										  <input type="hidden" name="c" value="exam" />
										  <input type="hidden" name="a" value="reviews" />
										  <input type="hidden" name="id" value="{KS:field:ID}" />
										  <input type="submit" class="heart-btn" onClick="return (check(this));" class="regbutton3" value="提交" /></div>
									</div>
							  </td>
							</tr>
						 </table>
						 <div class="ex-experience bd-style">
							 <div class="heart-title">网友心得</div>
							 <style>
								.splittd{border-bottom:1px solid #eee;color:#666;font-size:14px; line-height:22px;padding:15px 0px;}
								.textbox{padding:4px;border:1px solid #ccc;}
								.cmt{display:none;padding-left:5px;color:#999;margin-bottom:20px;padding:14px; background:#f9f9f9;  margin-top: 20px;}
								.cmt .cmtbox span{float:right}
								.cmt .cmtbox span .button{background-color: #fff;color: #888 !important;box-shadow: none;border-radius: 3px;border: 1px solid #eee;padding: 2px 10px;}
								.cmt span.num{color:brown}
								.cmt textarea{padding:3px;color:#888;width:100%;height:80px;border:1px solid #ebebeb;overflow:auto;  resize: none; border-radius: 5px;margin-top: 5px;margin-bottom: 5px;box-sizing: border-box;}
								.cmt .cmtlist ul{margin:0px;padding:0px;}
								.cmt .cmtlist ul.page{text-align:right}
								.cmt .cmtlist .page a{margin:5px 4px 0 0; color:#fff;  background: #3893e7;  border-radius: 20px;padding: 2px 7px 2px 7px;/* display:inline-table;*/ border:1px solid #efefef; float:left; text-align:center;height:20px;line-height:20px;min-width:20px;}
								.cmt .cmtlist .page a.curr{color:#fff; background:#F7AA20;}
								.cmt .cmtlist .page a:hover{ text-decoration:none; background:#6E99E8;}
								dd,dt{margin:0px;padding:0px;}
								.cmt .cmtlist dd{cursor:default;word-break:break-all;border:0px;text-align:left;font-size:12px;color:#666;line-height:40px;border-bottom:1px solid #eee;}
								.cmt .cmtlist dd img{margin-right:10px;border:1px solid #efefef;padding:1px;}
								.cmt .cmtlist dd span{padding-left:10px;color:#999;}
								.cmt .cmtlist dd a.cname{font-weight:bold;color:brown;}
								.footer_page{  background: #fff;margin-top: 10px;line-height: 50px; border-radius: 0 0 8px 8px;}
								#tablist tr:last-child .splittd{ border-bottom:0;}
							 </style>  
							 <table id="tablist" width="100%" border="0" align="center" class="border">
								  [Loop Times="10"]
								  <tr class="tdbg">
									  <td class="splittd"  width="65" style="padding-left:5px;vertical-align: top;">
										<img src="/UploadFiles/avatar/{KS:Field:userid}.jpg" width="50" height="46" onerror="this.src='/SysImg/face/boy.jpg'"/ style="border-radius:100%;overflow:hidden">
									  </td>
									  <td class="splittd" style="text-align:left"> 
										  <div style="font-size:12px;line-height: 35px;color: #999;"><span style="float:right;font-size: 12px;color:#999;"><img src="/sysimg/exam/fbsj.png" style="vertical-align:middle; margin-right:10px;">[发表时间:{KS:Field:AddDate}]</span>
										  第 <!--<%# recordcount-Container.ItemIndex - (CurrPage-1) * PageSize%>-->{KS:lou} 楼 昵称：{KS:field:UserName} 
										  </div>
										  <span style="float:right; font-size:12px;"><img src="/sysimg/exam/huifu.png" style="  vertical-align: middle;margin-right: 5px;"><a href="javascript:void(0)" onClick="quickreply({KS:Field:id});" style="color:#999;">回复（<b id="review{KS:Field:id}">{KS:Field:CmtNum}</b>）</a></span>
										  {KS:Content}
										  <div class="cmt" id='cmt{KS:field:id}'>
											  发表回复：
											  <input type="text"  class="textbox" style="width:350px" id="rcontent{KS:field:id}" />
											  <input type="button" class="button" value="提交" onClick="doReply({KS:field:id});" />
										  </div>
									  </td>
								  </tr> 
								  [/Loop]
							 </table>
						 </div>
						 [KS:PageStr2]	  
					</div>
					
				</form>
			</div>
			<!-- // END -->
            <div class="clearfix"></div>
      </div>
</div>
    ]]>
  </exam>
  <exam name="daily">
      <![CDATA[	
    <div class="filterbox">
	   <ul class="filter mainbox">
	      <div class="path-now">选择科目</div>
		  <li class="clearfix">{$GetSJClass}</li>
	   </ul>
	</div>
	<div class="exammain mainbox">
		<div class="exam_lmlist"> 
				<div class="datetime">
					  <SCRIPT>
                          (function($){ $.fn.jCarouselLite=function(o){o=$.extend({btnPrev:null,btnNext:null,btnGo:null,mouseWheel:false,auto:null,speed:500,easing:null,vertical:false,circular:true,visible:7,start:0,scroll:7,beforeStart:null,afterEnd:null},o||{});return this.each(function(){var b=false,animCss=o.vertical?"top":"left",sizeCss=o.vertical?"height":"width";var c=$(this),ul=$("ul",c),tLi=$("li",ul),tl=tLi.size(),v=o.visible;if(o.circular){ul.prepend(tLi.slice(tl-v-1+1).clone()).append(tLi.slice(0,v).clone());o.start+=v}var f=$("li",ul),itemLength=f.size(),curr=o.start;c.css("visibility","visible");f.css({overflow:"hidden",float:o.vertical?"none":"left"});ul.css({margin:"0",padding:"0",position:"relative","list-style-type":"none","z-index":"1"});c.css({overflow:"hidden",position:"relative","z-index":"2",left:"0px"});var g=o.vertical?height(f):width(f);var h=g*itemLength;var j=g*v;f.css({width:f.width(),height:f.height()});ul.css(sizeCss,h+"px").css(animCss,-(curr*g));c.css(sizeCss,j+"px");if(o.btnPrev)$(o.btnPrev).click(function(){return go(curr-o.scroll)});if(o.btnNext)$(o.btnNext).click(function(){return go(curr+o.scroll)});if(o.btnGo)$.each(o.btnGo,function(i,a){ $(a).click(function(){return go(o.circular?o.visible+i:i)})});if(o.mouseWheel&&c.mousewheel)c.mousewheel(function(e,d){return d>0?go(curr-o.scroll):go(curr+o.scroll)});if(o.auto)setInterval(function(){go(curr+o.scroll)},o.auto+o.speed);function vis(){return f.slice(curr).slice(0,v)};function go(a){if(!b){if(o.beforeStart)o.beforeStart.call(this,vis());if(o.circular){if(a<=o.start-v-1){ul.css(animCss,-((itemLength-(v*2))*g)+"px");curr=a==o.start-v-1?itemLength-(v*2)-1:itemLength-(v*2)-o.scroll}else if(a>=itemLength-v+1){ul.css(animCss,-((v)*g)+"px");curr=a==itemLength-v+1?v+1:v+o.scroll}else curr=a}else{if(a<0||a>itemLength-v)return;else curr=a}b=true;ul.animate(animCss=="left"?{left:-(curr*g)}:{top:-(curr*g)},o.speed,o.easing,function(){if(o.afterEnd)o.afterEnd.call(this,vis());b=false});if(!o.circular){ $(o.btnPrev+","+o.btnNext).removeClass("disabled");$((curr-o.scroll<0&&o.btnPrev)||(curr+o.scroll>itemLength-v&&o.btnNext)||[]).addClass("disabled")}}return false}})};function css(a,b){return parseInt($.css(a[0],b))||0};function width(a){return a[0].offsetWidth+css(a,'marginLeft')+css(a,'marginRight')};function height(a){return a[0].offsetHeight+css(a,'marginTop')+css(a,'marginBottom')}})(jQuery);
                          
                         /* $(function() {
                          $("#botton-scroll").jCarouselLite({
                          btnNext: ".next",
                          btnPrev: ".prev"
                          });
                          });*/
                      
                      </SCRIPT>
					
                   <!-- <a class="prev" href="javascript:void();" onfocus="this.blur()">1</a><a class="next" href="javascript:void();" onfocus="this.blur()">2</a>-->
                    <div id="botton-scroll">
                        <ul class="clearfix">
                            {&TheDate}                     
                        </ul>
                    </div>    
				  <div class="clear"></div>
				</div>              
                  
           
                
				<div class="box02" style="border:1px solid #e3e3e3;background: #fff;">	
					<div class="exam_sxbox">			 
						  <!---筛选 beigin-->
						  <div class="examtitle">
							  <div class="mryl">{KS:selecttime}</div>
					      </div>						
						<!---筛选 end-->
					</div>
					<div class="clear"></div>
					<ul style="margin-top:15px;">
					{&DailyList}
                      
					</ul>
                    <div class="clear"></div>
				</div>
			
			
		</div>
        
       
        
	</div>	



<div class="clear"></div>
      ]]>
  </exam>
  <exam name="extop">
    <![CDATA[
   	<div class="container f-pt15 bg-default">
		<div class="exam-rightArea" style="margin-top:0">
			<div class="result-operate bd-style">
				<div class="result-title">操作</div>
				<div class="check-error-btn"><button><a href="{=GetRewriteUrl(exam,do-explained/scoreid-{KS:ScoreID})}">全部解析</a></button></div>
				<ul class="emnav">
				  <li {&KS:ctsytle}><a href="{=GetRewriteUrl(exam,do-explained/scoreid-{KS:Field:ScoreID})}">查看错题</a></li>
				  <li ><a href="{=GetRewriteUrl(exam,do-reviews/id-{KS:Field:ID})}">发表心得</a></li>
				  <li class="active"><a href="{=GetRewriteUrl(exam,do-extop/id-{KS:Field:ID})}">成绩排行</a></li>
				</ul>
			</div>
		</div>
		<div class="exam-report mt15" style="background:#fff;margin-right:290px;">
			<div class="m-examHead f-bg " style="margin: auto;padding:20px 20px 10px;background: #fff;">  
				<div class="info">
					<!--试卷头信息-->
					<h1>{KS:Field:Title}</h1>
					<ul>
						<li style="float:left; margin:5px 0px;">◇ 所需学币：<span style="color:#d47c56; font-family:Arial;">0 </span>个</li>
						<li style="float:left; margin:5px 0px;">◇ 卷面总分：{KS:field:Score}分</li>
						<li style="float:left; margin:5px 0px;">◇ 浏览次数：{KS:Field:testhits}人</li>
						<li style="float:left; margin:5px 0px;">◇ 类型：{KS:ClassName}</li>
						<li style="float:left; margin:5px 0px;">◇ 地区：{KS:Province}</li>
						<li style="float:left; margin:5px 0px;">◇ 试卷来源：{KS:Field:CopyFrom}  答题时间：{KS:field:KSSJ}分钟</li>
						<li style="float:left; margin:5px 0px;">◇ 上传时间：{KS:field:adddate} </li>
					 </ul>
					 <div style="clear:both;"></div>   
					 <h4>成绩排行榜</h4>           
				</div>
				<!--工具区域-->
			</div>
			<div style="width:100%;height:0px; overflow:hidden"></div>
			<div class="sjtitlebox" style="display:none;">{KS:Field:Title}</div>
			<div class="gradesRank">
				<div class="sjtopph" style=" background:none">
					<form name="myform" method="post" action="{=GetRewriteUrl(examextop,{KS:Field:id})}" id="myform">
						 <!--<input type="hidden" name="id" value="{KS:field:ID}" />
						 <input type="hidden" name="c" value="exam" />
						 <input type="hidden" name="a" value="extops" />-->
						 <div id="PanExam">
							<div id="paihb">
								<table width="100%" cellpadding="0" cellspacing="0">
									<tr height="35" style="color:#454545;font-weight:bold" class="titlebg">
									  <th align="middle" width="10%">排名</th>
									  <th width="15%">用户名</th>
									  <th width="12%">完成用时</th>
									  <th width="15%">考试分数</th>
									  <th width="21%">作题时间</th>
									</tr>
									[Loop Times="10"]
									<tr  height='40' style="font-size:13px;color:#555;">
										<td  align=middle style="border-bottom:1px solid #ddd;"><B><font  color='#d47c56' style="font-family:simhei">{KS:top}</font></B></td>
										<td  style="border-bottom:1px solid #ddd;">{KS:Field:UserName}</td>
										<td  style="border-bottom:1px solid #ddd;">{KS:Field:KSSJ}</td>
										<td  style="border-bottom:1px solid #ddd;"><strong style="color:#3079a7; font-family:'Times New Roman', Times, serif" class="fenshu">{KS:Field:Score}</strong> 分</td>
										<td  style="border-bottom:1px solid #ddd;" class="time_color">{KS:Field:Adddate}</td>
									</tr>
									[/Loop]
								</table>
								<div class="" style="text-align:center;padding:15px 0px;float:right">
									<input class="lx-post" type="button" value="打印成绩表" name="sub" class="regbutton3" onClick="window.print();" / style="width:150px;height:36px;line-height:36px;border-radius:5px">
								</div>
							</div>
							<div class="clear mt15"></div>
							<div class="footer_page">
								[KS:PageStr2]
							</div>
						 </div> 
					</form>
				</div>
			</div>
			<div class="clearfix"></div>
		</div>
		<!--右侧导航-->
	</div>
    ]]>
  </exam>
  <exam name="mynave">
    <![CDATA[
	
		<ul id="mynave">
			<li id="examindex" ><a href="{=GetRewriteUrl(exam,do-examindex)}" id="tdd">练习中心</a></li>
			<li id="myrecord"><a href="{=GetRewriteUrl(exam,do-myrecord}">我的考试</a></li>
			<li id="myctb"><a href="{=GetRewriteUrl(exam,do-myctb}">错题本</a></li>
			<li id="myfavorite"><a href="{=GetRewriteUrl(exam,do-myfavorite}">我的收藏</a></li>
		</ul>
		<script>
		
		
		   $(function(){	
		   	var ddo='{=Request(do)}';		
			   if (ddo=='myrecord' || ddo=='myctb' || ddo=='myfavorite' || ddo=='examindex')
			   {			
			     jQuery("#"+ddo).attr("class","active");
			   }else if (ddo=='daily'){
			   jQuery("#examindex").attr("class","active");
				   jQuery("#tdd").html("每日一练");
			   }else if (ddo=='chapter'){
			       jQuery("#examindex").attr("class","active");
				  jQuery("#tdd").html("章节练习");
			   }
			   });
			</script>
      ]]>
  </exam>


  <exam name="myrecord">
    <![CDATA[
     <!--//ex-record-->
    <table width="100%" cellpadding="0" cellspacing="0" class="ex-record bd-style">
        <tr class="ex-record-head">
            <td class="ex-record-id">序号</td>
            <td class="ex-record-title">试卷名称</td>
            <td class="ex-record-score">得分</td>
            <td class="ex-record-usetime">考试用时保存记录</td>
            <td class="ex-record-type">类型</td>
            <td class="ex-record-time">考试时间</td>
            <td class="ex-record-operate">操作</td>
        </tr>
        [Loop]
        <tr>
            <td class="ex-record-id">{KS:Field:num}</td>
            <td class="ex-record-title"><a href="{KS:Field:SJurl}" target="_blank">{KS:Field:Title}</a></td>
            <td class="ex-record-score">{KS:Field:score}<em> /{KS:Field:totalScore}</em></td>
            <td class="ex-record-usetime">{KS:Field:kssj}</td>
            <td class="ex-record-type">{KS:Field:SJtype}</td>
            <td class="ex-record-time">{KS:Field:AddDate}</td>
            <td class="ex-record-operate"><a href="{KS:Field:Url}" target="_blank">{KS:Field:name}</a></td>
        </tr>
        [/Loop]
    </table>
    <!--//ex-record end-->        

      ]]>
  </exam>  

  <exam name="myctb">
    <![CDATA[
    <!--//ex-text-list-->
    <div class="ex-text-list">
        <ul>
            [Loop]
            <li>
                {KS:Field:tmtmnr}
               
            </li>
            [/Loop]
        </ul>
    </div>
	<script>
	$('.ex-text-list').each(function(){
		var exTextlistLi = $(this).find('li').length;
		if(exTextlistLi==0){
			$(this).find('ul').html('<div class="empty">还没有学习记录</div>');
		}
	})
    </script>
     <!--//ex-text-list end-->      

      ]]>
  </exam> 
  
  <exam name="locadclassjs">
    <![CDATA[
 <script>
	var cchild='{KS:child}';
  var tmids='{KS:Tmids}';
	function uploadclass(_url,classid,child)
	{

		cchild=child;
		
		if (child>0)
		{
		  jQuery.ajax({
		   url: "/index.aspx?c=exam&a=exam&do=examindex&al={=Request(do)}&action=getclass&id=" + classid, 
		    success: function (d) {
		    	if(d){
			    	//检查是否带有页面缓存
					jQuery("#fristclass").hide();
					jQuery("#childclass").show();
					jQuery("#childclass").html(d);
		    		
		    	}
		    						
			 }
		  });
		}else
		{
			
			window.location = _url;
		}
	}
	var doAction = location.href.match(/do-\w+/);
	if(doAction){
		doAction = doAction[0].split('do-')[1];
	}
	
	if(doAction !== 'confirm' && doAction !== 'ex'){
		
		if(document.getElementById('examTab')){
			$('#examTab,#practice').show();
			if(doAction === 'training'){
				$('#exambtn_rand').addClass('curr')
			}else if(doAction === 'daily'){
				$('#exambtn_day').addClass('curr')
			}
			setExamLinkState('exambtn_day','{KS:DaylistTotal}','每日一练','{=GetRewriteUrl(exam,do-daily/id-{KS:classid})}');
			setExamLinkState('exambtn_chapter','{KS:ChaptTotal}','章节练习','{=GetRewriteUrl(exam,do-chapter/id-{KS:classid})}');
			setExamLinkState('exambtn_rand','{KS:RandTotal}','随机练习','{=GetRewriteUrl(exam,do-myexam/id-{KS:classid})}')
			$('#exam_back').show()
		}else{
			$('#exam_mynav').show()
		}
	}else{
		$('#posnav').show()
	}
	</script>
	    ]]>
  </exam>
  
  
  <Historylistno>
    <![CDATA[
      <li>
          <p class="first">{KS:Title}</p>
          <p>练习时间: {KS:adddate} </p>
          <div>
              <span>未完成</span>
              <a href="{KS:Url}" class="go-ahead">继续练习</a>
          </div>
      </li>
    ]]>
  </Historylistno>
  <Historylistyes>
    <![CDATA[
    <li>
        <p class="first">{KS:Title}</p>
        <p> 练习时间: {KS:adddate} {KS:usertime} <span>答题情况: 没做</span> 
            {KS:NOFinishTMS}<span>道/共</span>
            {KS:TotalTMS}<span>道 得分:</span>
            <font color=blue>{KS:score}</font><span>分</span>
        </p>
       <div>
           <a href="{KS:XDUrl}" {KS:TheStyle} >发表心得</a>
           <a href="{KS:Url}">查看解析</a>
           <a href="hisreport.aspx?action={KS:action}&Id={KS:id}">查看报告</a>
       </div>
   </li>
    ]]>
  </Historylistyes> 
  
  <ZXLXFirstlist>
    <![CDATA[
 <li>
  <label><a href="javascript:;" style="float:left;">{KS:Title} (共{KS:Total}道题)</a>
   <div class="zt"><span class="stars" title="再多答些题，点亮小星星吧！"><img src="/images/exam/star{KS:Star}.png"  style="width:100px; border:0px;"/></span><a href="javascript:void(0)" {KS:Style}"Goexam({KS:Classid},{KS:SJTypeClassid})"  style="color:#fff;">来15道题</a></div>
  <br/>
  <p><span class="slide-progress-left"><span class="fill" style="width:{KS:jindu}%"></span></span><span class="slide-progress-right">{KS:AnSwer}道/{KS:Total}道</span></p>
  <div style="clear:both;height:10px;"></div>
   <div class="xhx" style="margin-top:0px;"></div> 
  </label>
  <ul class="two">
      {&ZXLXSeclist}
  </ul>
 </li>
    ]]>
</ZXLXFirstlist>
  <ZXLXSeclist>
    <![CDATA[
   <li>
  <label><a href="javascript:;" style="float:left;">{KS:Title} (共{KS:Total}道题)</a>
   <div class="zt"><span class="stars" title="再多答些题，点亮小星星吧！"><img src="/images/exam/star{KS:Star}.png"  style="width:100px; border:0px;"/></span><a href="javascript:void(0)" {KS:Style}"Goexam({KS:Classid},{KS:SJTypeClassid})"  style="color:#fff;">来15道题</a></div>
 <br/>
 <p><span class="slide-progress-left"><span class="fill" style="width:{KS:jindu}%"></span></span><span class="slide-progress-right">{KS:AnSwer}道/{KS:Total}道</span></p>
  <div style="clear:both;height:10px;"></div>
   <div class="xhx" style="margin-top:0px;"></div> 
  </label>
  <ul class="two">
      {&ZXLXThirdlist}
  </ul>
 </li>
    ]]>
  </ZXLXSeclist>
  <ZXLXThirdlist>
    <![CDATA[
   <li class="zk2">
      <span class="sprite-expand empty">-</span>
        <label>
               <a href="javascript:;" style="float:left;">{KS:Title} (共{KS:Total}道题)</a>
               <div class="zt">
                   <span class="stars" title="再多答些题，点亮小星星吧！"><img src="/images/exam/star{KS:Star}.png"  style=" width:100px; border:0px;"/></span><a href="javascript:void(0)" {KS:Style}"GoexamKnowledge({KS:Classid},{KS:SjTypeClassid},{KS:id})"   style="color:#fff;">来15道题</a>
               </div>
               <br/>
               <p><span class="slide-progress-left"><span class="fill" style="width:{KS:jindu}%"></span></span><span class="slide-progress-right">{KS:AnSwer}道/{KS:Total}道</span></p>
               <div class="xhx"></div> 
      </label>   
   </li>
    ]]>
  </ZXLXThirdlist>
  
  <CTBFirstlist>
    <![CDATA[    
<li class="keypoint keypoint-level-0" data_id="{KS:SJTypeClassid}"><p><span class="sprite-expand open"></span>{KS:Title} (共{KS:AnSwer}道题)</p><div class="zjlxzt"><a href="javascript:void(0);" {KS:Style1}"see({KS:SJTypeClassid},0)">查看题目</a><a href="javascript:void(0)" {KS:Style}"Goexam({KS:Classid},{KS:SJTypeClassid})"  >来15道题</a></div></li> 
{&CTBSeclist}         
    ]]>
  </CTBFirstlist>
  <CTBSeclist>
    <![CDATA[
<li class="keypoint keypoint-level-1" data_id="{KS:SJTypeClassid}" data_parent_id="{KS:SJTypePatentid}" style="display: none;"><p><span class="sprite-expand open"></span>{KS:Title} (共{KS:AnSwer}道题)</p><div  class="zjlxzt"><a href="javascript:void(0);" {KS:Style1}"see({KS:SJTypeClassid},0)">查看题目</a><a href="javascript:void(0)" {KS:Style}"Goexam({KS:Classid},{KS:SJTypeClassid})"  >来15道题</a></div></li>
{&CTBThirlist}         
    ]]>
  </CTBSeclist>
  <CTBThirdlist>
    <![CDATA[
    <li class="keypoint keypoint-level-2" data_id="{KS:id}" data_parent_id="{KS:SJTypeClassid}" style="display: none;"><p><span class="sprite-expand">-</span>{KS:Title} (共{KS:AnSwer}道题)</p><div  class="zjlxzt"><a href="javascript:void(0);"  {KS:Style1}"see({KS:SJTypeClassid},{KS:id})" >查看题目</a><a href="javascript:void(0)" {KS:Style}"GoexamKnowledge({KS:Classid},{KS:SJTypeClassid},{KS:id})" >来15道题</a></div></li> 
    ]]>
  </CTBThirdlist>

  <CTBOlddlist>
    <![CDATA[
      <tr class="tdbg">   
        <td class="splittd"  align="center"> 
          {&xuhao}
          </td>
          <td class="splittd"> 
           {&TheTimu}
          </td>
                 
          <td class="splittd" align="center">       
           <div class="bt"><a onclick="return(confirm('确定移除吗？'));" href="?Classid={KS:Classid}&type=1&action=Cancel&ids={KS:CTId}">删除</a></div>
           </td>

      </tr>  
    ]]>
  </CTBOlddlist>

  <FavoriteFirstlist>
    <![CDATA[
<li class="keypoint-level-0" data_id="{KS:SJTypeClassid}"><p><span class="sprite-expand open"></span>{KS:Title} (共{KS:AnSwer}道题)</p><div class="zjlxzt"><a href="javascript:void(0);" onclick="see({KS:SJTypeClassid},0)">查看题目</a></div></li>
{&FavoriteSeclist}      
    ]]>
  </FavoriteFirstlist>
  <FavoriteSeclist>
    <![CDATA[   
<li class="keypoint-level-1" data_id="{KS:SJTypeClassid}" data_parent_id="{KS:SJTypePatentid}" style="display: none;"><p><span class="sprite-expand open"></span>{KS:Title} (共{KS:AnSwer}道题)</p><div class="zjlxzt"><a href="javascript:void(0);" onclick="see({KS:SJTypeClassid},0)">查看题目</a></div></li>
{&FavoriteThirdlist}       
    ]]>
  </FavoriteSeclist>
  <FavoriteThirdlist>
    <![CDATA[
    <li class="keypoint-level-2" data_id="{KS:id}" data_parent_id="{KS:SJTypeClassid}" style="display: none;"><p><span class="sprite-expand"></span>{KS:Title} (共{KS:AnSwer}道题)</p><div class="zjlxzt"><a href="javascript:void(0);"  onclick="see({KS:SJTypeClassid},{KS:id})" >查看题目</a></div></li>    
    ]]>
  </FavoriteThirdlist>

  <FavoriteOlddlist>
    <![CDATA[
      <tr class="tdbg" >   
        <td class="splittd" align="center"> 
          {&xuhao}
          </td>
          <td class="splittd"> 
           {&TheTimu}
          </td>
                 
          <td class="splittd" align="center">       
           <div class="bt"><a onclick="return(confirm('确定移除吗？'));" href="?Classid={KS:Classid}&type=1&action=Cancel&ids={KS:CTId}">删除</a></div>
           </td>

      </tr>  
    ]]>
  </FavoriteOlddlist>


  <ZJFirstlist>
    <![CDATA[
	<li class="keypoint keypoint-level-0" data_id="{KS:SJTypeClassid}">
	 <p style="float:left; width:500px; overflow:hidden;" onclick="ZJSeclist({KS:Classid},{KS:SJTypeClassid},{KS:ZJSeclist})">
	 <span class="sprite-expand open"></span>{KS:Title} (共{KS:Total}道题)</p><span class="slide-progress-left">
	 <div class="ztjd">{KS:Error} </div><div class="ctcz"><span class="jdt"><span class="fill" style="width:{KS:jindu}%"></span></span>{KS:AnSwer} / {KS:Total}</div><div class="zjlxzt"><a href="javascript:void(0);"  {KS:Style}"Goexam({KS:Classid},{KS:SJTypeClassid})">随机抽{KS:chapterNum}道</a></div></li>
	 
      <div id="ZJSeclist{KS:ZJSeclist}" style="display:none"></div>
    ]]>
  </ZJFirstlist>
  <ZJSeclist>
    <![CDATA[
     <li class="keypoint keypoint-level-1" data_id="{KS:SJTypeClassid}" data_parent_id="{KS:SJTypePatentid}" ><p style=" width:500px; overflow:hidden;"><span class="sprite-expand open"></span>{KS:Title} (共{KS:Total}道题)</p><span class="slide-progress-left"><div class="ztjd">{KS:Error} </div><div class="ctcz" style="text-align: right;"><span class="jdt"><span class="fill" style="width:{KS:jindu}%"></span></span>{KS:AnSwer} / {KS:Total}</div><div class="zjlxzt"><a href="javascript:void(0);"  {KS:Style}"Goexam({KS:Classid},{KS:SJTypeClassid})">随机抽{KS:chapterNum}道</a></div></li>
  
  ]]>
  </ZJSeclist>
  <ZJThirdlist>
    <![CDATA[
     <li class="keypoint keypoint-level-2" data_id="{KS:id}" data_parent_id="{KS:SJTypeClassid}" style="display: none;"><p style=" width:500px; overflow:hidden;"><span class="sprite-expand">-</span>{KS:Title} (共{KS:Total}道题)</p><span class="slide-progress-left"><div class="ztjd">{KS:Error} </div><div class="ctcz"><span class="jdt"><span class="fill" style="width:{KS:jindu}%"></span></span>{KS:AnSwer} / {KS:Total}</div><div class="zjlxzt"><a href="javascript:void(0);" {KS:Style}"GoexamKnowledge({KS:Classid},{KS:SJTypeClassid},{KS:id})">随机15道</a></div></li>
    ]]>
  </ZJThirdlist>

  <SevenDaily>
    <![CDATA[
     <li class="{KS:Style}"><a href="{KS:Url}" title="{KS:Title}"><p class="hd">{KS:Week}</p><p>{KS:Time}</p></a></li>		
    ]]>
  </SevenDaily>

  <DailyList>
    <![CDATA[  
    <li><div class="fl"><a href="javascript:void(0);" onclick="Goexam({KS:SjID})" title="{KS:Title}">{KS:Title}</a><div class="clear"></div><span style="font-size:12px; font-family:simsun"></span></div><div class="btn"><a href="javascript:void(0);" onclick="Goexam({KS:SjID})" >开始做题</a></div></li>
    ]]>
  </DailyList>
  
  <ReportFirstlist>
    <![CDATA[
     <tr class="keypoint-level-0" data_id="{KS:SJTypeClassid}">
       <td class="name-col"><span class="sprite-expand open"></span>{KS:Title}</td>
       <td><span class="slide-progress-left"><span class="fill" style="width:{KS:jindu}%"></span></span><span class="slide-progress-right">{KS:AnSwer}道 / {KS:Total}道</span></td>
       <td>{KS:jindu}%</td>
       <td><span title="继续努力，你可以做的更棒！"><img src="/images/exam/star{KS:Star}.png"  style="width:100px; border:0px;"/></span></td>
    </tr>
   {&ReportSeclist}  
    ]]>
  </ReportFirstlist>
  <ReportSeclist>
    <![CDATA[
     <tr class="keypoint-level-1" data_id="{KS:SJTypeClassid}" data_parent_id="{KS:SJTypePatentid}"  style="display: none;">
       <td class="name-col"><span class="sprite-expand open"></span>{KS:Title}</td>
       <td><span class="slide-progress-left"><span class="fill" style="width:{KS:jindu}%"></span></span><span class="slide-progress-right">{KS:AnSwer}道 / {KS:Total}道</span></td>
       <td>{KS:jindu}%</td>
       <td><span title="继续努力，你可以做的更棒！"><img src="/images/exam/star{KS:Star}.png"  style="width:100px; border:0px;"/></span></td>
    </tr>
  {&ReportThirdlist}
  ]]>
  </ReportSeclist>
  <ReportThirdlist>
    <![CDATA[
    <tr class="keypoint-level-2" data_id="{KS:id}" data_parent_id="{KS:SJTypeClassid}"  style="display: none;">
       <td class="name-col">{KS:Title}</td>
       <td><span class="slide-progress-left"><span class="fill" style="width:{KS:jindu}%"></span></span><span class="slide-progress-right">{KS:AnSwer}道 / {KS:Total}道</span></td>
       <td>{KS:jindu}%</td>
       <td><span title="继续努力，你可以做的更棒！"><img src="/images/exam/star{KS:Star}.png"  style="width:100px; border:0px;"/></span></td>
    </tr> 
   ]]>
  </ReportThirdlist>

  <ZJSJRecords>
    <![CDATA[
    <li>
        <p class="first">{KS:Title}</p>
        <p> 考试时间: {KS:adddate}  用时：{KS:KSSJ}            
            <span>得分:</span>
            <font color=blue>{KS:score}</font><span></span>
        </p>        
       <div>
	   [recode]
           <a href="/Exam/Reviews.aspx?id={KS:SJID}">发表心得</a>
           <a href="/exam/explained.aspx?scoreid={KS:id}">查看解析</a>
           <a href="/exam/ExTop.aspx?id={KS:SJID}">查看排名</a> 
	   [/recode]
	       [norecode]		
              <span>未完成</span>
              <a href="/exam/ex.aspx?id={KS:SJID}" class="go-ahead">继续考试</a>        
		  [/norecode]
       </div>
   </li>
    ]]>
  </ZJSJRecords>


  <empty>
    <![CDATA[
      <div class="empty"><div class="book-pen"></div><div class="empty-text"><p>亲爱的同学，</p><p>暂无任何记录！</p><p class="last">尽情期待！</p></div></div>
    ]]>
  </empty>  
  

</labeltemplate>
