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

  <exam name="trang">  
    <![CDATA[  
	<script src="/ks_inc/exam/timeout.js"></script>
	<script>
 function ExamSubmit(){
        getAnswer();
    var num = getTotalTMS();
    var leavenum = getNoFinishTMS();
    var tipstr = '';
    if (leavenum>0){
     tipstr='共 '+num+' 道题，还有 '+leavenum+' 道题没有做完,确定交卷吗？';
    }else{
     tipstr='所有题已答完了，确定交卷吗？';
    }
    KesionJS.Confirm(tipstr, "jQuery('#myform').submit();", null);
      
    //if (confirm(tipstr)){
    //    jQuery('#myform').submit();
    //}

  }
    jQuery(window).load(function () {
    var num = getTotalTMS();
                   var leavenum = getNoFinishTMS();
                   $("#thetotal").html(num);
                   var c=num-leavenum;
                   $("#theindex").html(c);
  });

  
 //答题卡隐藏显示

	</script>
	<form name="myform" method="post" action="{=GetRewriteUrl(exam,do-training/id-{KS:Field:id})}" id="myform"name="myform" method="post">
	<input type="hidden" name="workid" value="{KS:WorkID}" />
	<input type="hidden" name="stu" value="{KS:stu}" />
	 <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}" />

    <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 id="PanExam">
	
		<div><ul class="time-box clearfix">{&TheDate}</ul></div>
		<section class="timebg">
			<div class="r"><em id="theindex">1</em>/<span id="thetotal">0</span></div>
			<div class="l">
				剩余时间：<span id="Time1">00:00:00</span>
			</div>
		</section>
		
		<section class="procont">
			<div class="sjtitle" >{KS:Field:Title}</div>
			<script>
			   examInstallDir="/plus/exam/";
					 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="topbuttonlist">  {$KS:TmTypeButtonStr} </div>
			<div id="content">加载中....</div>
		</section>
	</div> 
		<div class="datika" id="page_card"> 
			 <div class="datikabg"></div>
			 <div class="panel">        
				<div class="shibie">
				   <ul class="clearfix">
					<li class="yd"><i></i>已答</li>
					<li class="wd"><i></i>未答</li>
					<li class="bj"><i></i>标记</li>
					<li class="sc"><i></i>收藏</li>
					<div class="clear"></div>
				   </ul>
				</div>
			   {$KS:Field:GetTestsSubject}
				<div class="clear" style="height:65px"></div>
			 </div>
		</div> 
        <div id="PanTime">
			  <script>
				var KSSJ={KS:Field:KSSJ};
				from3g=1;
			  </script>
			  <script>   
                  $('input[name="btn"]').click(function(){
					index = 0;
				  });
				  function  showxy(tmid,i,num)
                  { 
                   
                      $(".topbuttonlist").find("input[type=button]").each(function(n)
                      {     
                          
                          if (num==n)
                          {
                              $(".topbuttonlist").find("input[type=button]").eq(num).click();
							  tmid = tmid.match(/\d+/)[0];
							  gettm();
							  function gettm(){
								if($('#t'+tmid).length){
									var __thisSjlistId = $('#t'+tmid).parents('.sjlist')[0].id;
									
									var __sjlist = $('.sjlist');
									
									var __index  = 0;
									for(var i=0;i<__sjlist.length;i++){
										if(__sjlist[i].id === __thisSjlistId){
											__index = i;
											break
										}
									};
									index = __index;                    
									show(index);
								}else{
									setTimeout(function(){
										gettm()
									},250)
								}
							  }
                              
                          }
                      });                     
                     
                      len = $("div.sjlist").length;
                  }
				  function  show(i)
				  {  
				  	index = i;
					  getAnswer(); 
					  var num = getTotalTMS();
					 
					  var leavenum = getNoFinishTMS();                
					  var c=num-leavenum;
					  $("#theindex").html(c);
					 
					  $("div.sjlist").hide();                                    
					  $("div.sjlist").hide().eq(index).show();
					  
				  }
				  function next()
				  {  
					  len = $("div.sjlist").length;
				   	
					  if (index==len-1 )
					  {
					  	var timName = $('.topbuttonlist').find('.topInputOver')[0].value;
					  	if(!confirm('已经是最后一道'+timName+'，要跳到下一大题吗？')){
							  return false
						};
						  var currtopbutton=0;
						  var topbuttonlen = $(".topbuttonlist").find("input[type=button]").length;
					   
						  $(".topbuttonlist").find("input[type=button]").each(function(n)
						  {
							  if ($(this).attr("class")=="topInputOver")
							  {
								  currtopbutton=n;
							  }
						  });
						  if (currtopbutton==topbuttonlen-1)
						  {
							  $(".topbuttonlist").find("input[type=button]").eq(0).click();
						  }else{
							  $(".topInputOver").next().next().next().click();}
						  $("div.sjlist").hide().eq(0).show();
						  index=0;
						  len = $("div.sjlist").length;
						 
					  }else{
						  index++;
						  show(index);
					  }                 ;
				  }
				  function pro()
				  {
					  if (index==0)
					  {
						  $(".topbuttonlist").find("input[type=button]").each(function(n)
						  {
							  if ($(this).attr("class")=="topInputOver")
							  {
								  if (n==0)
								  {
									  alert("已经是第一题了");
								  }
							  }
						  });
						  $(".topInputOver").prev().prev().prev().click(); 
						  $("div.sjlist").hide().eq(0).show();
						  index=0;
						  len = $("div.sjlist").length;
						  //  
					  }else{
						  index--;   
						  show(index);
					  }
				  	}
				  	
					$(function(){
						var n = $(".footer li").length
						if(n=="5"){
							$("#nosave").show()
						}
					});
				</script>	
        </div>
        <div  {KS:zhuguan}>
          
        </div>
      </div> 
    </form>
    
  ]]>
  </exam>
<exam name="trangreport">
    <![CDATA[  
	<div class="box">
	<!--<ul class="time-box clearfix">{&TheDate}</ul>-->
  <div class="box-img">
      <img src="{$GetTemplateDir}/static/exam/images/result.png" class="img-responsive">
	  <div id="indicatorContainer"></div>
      <div class="box-icon">
          <div class="box-item"><i class="icon iconfont icon-zyojiantou"></i></div>
       
      </div>
  </div>

 <ul class="look">
     <li class="clearfix" {&KS:ctsytle}><span class="bg5 "> <i class="iconfont">&#xe71d;</i></span> <div class="look-txt">
         <p class="c-33 f18"><a href="{=GetRewriteUrl(exam,do-trainingplained/bo-2/id-{KS:Field:id})}"> 查看错题</a></p>
         <p class="c-be f12">查看我的错题本</p>
         <i class="icon ksicon"></i>
     </div></li>
     <li class="clearfix"><span class="bg6"> <i class="iconfont">&#xe71a;</i></span> <div class="look-txt">
         <p class="c-33 f18"><a href="{=GetRewriteUrl(exam,do-trainingplained/id-{KS:Field:id})}"> 查看解析</a></p>
         <p class="c-be f12">全面解析</p>
         <i class="icon ksicon"></i>
     </div></li>
 </ul>
</div>
<script src="/ks_inc/radialIndicator.min.js"></script>
<script>
  $('#indicatorContainer').radialIndicator({
        barColor: '#87CEEB',
        barWidth: 10,
        initValue: 0,
        roundCorner : true,
		minValue:0,
		maxValue:100,
        percentage:false,
    });
    var radialObj = $('#indicatorContainer').data('radialIndicator');
    radialObj.animate({KS:Field:rate});
</script>
 ]]>
  </exam>
  
  
<exam name="myrecord">
    <![CDATA[ 

	<section class="tytab tytab3">
		<ul>
            <li class="curr"  ><a href="{=GetRewriteUrl(exam,do-myrecord}">考试记录</a></li>
            <li><a href="{=GetRewriteUrl(exam,do-mytrang)}">练习记录</a></li>
            <li><a href="{=GetRewriteUrl(exam,do-myctb)}">错题本</a></li>

		</ul>
	</section>
	<section class="examlist">
		<ul>
		    [Loop]
			<li>
				<div class="litit"><a href="{KS:Field:SJurl}">{KS:Field:num}. <span>[{KS:Field:SJtype}]</span>{KS:Field:Title}</a>
				</div>
				<div class="info">
					<span class="dal-but"><a href="{KS:Field:SJurl}" class="zt-go ">做题</a></span>
					<div class="size14">用时{KS:Field:kssj} &nbsp; {KS:Field:score}<em> /{KS:Field:totalScore}</em> &nbsp; {KS:Field:AddDate}</div>
				</div>
			</li>
			<div class="line line_d"></div>
			[/Loop]
		</ul>
	</section>
	
	 ]]>
  </exam>
  
  
  <exam name="ex">
    <![CDATA[ 
    	<script src="/ks_inc/exam/timeout.js"></script>
<script>
	examInstallDir="/plus/exam/";
    function ExamSubmit(){
        getAnswer();
    var num = getTotalTMS();
    var leavenum = getNoFinishTMS();
    var tipstr = '';
    if (leavenum>0){
     tipstr='共 '+num+' 道题，还有 '+leavenum+' 道题没有做完,确定交卷吗？';
    }else{
     tipstr='所有题已答完了，确定交卷吗？';
    }
    KesionJS.Confirm(tipstr, "jQuery('#myform').submit();", null);
      
   

  }
  
        //答题卡隐藏显示

	</script>
   <script>   
                $('input[name="btn"]').click(function(){
					index = 0;
				  });
                  function  showxy(tmid,i,num)
                  { 
                   
                      $(".topbuttonlist").find("input[type=button]").each(function(n)
                      {     
                          
                          if (num==n)
                          {
                              $(".topbuttonlist").find("input[type=button]").eq(num).click();
							  tmid = tmid.match(/\d+/)[0];
							  gettm();
							  function gettm(){
								if($('#t'+tmid).length){
									var __thisSjlistId = $('#t'+tmid).parents('.sjlist')[0].id;
									
									var __sjlist = $('.sjlist');
									
									var __index  = 0;
									for(var i=0;i<__sjlist.length;i++){
										if(__sjlist[i].id === __thisSjlistId){
											__index = i;
											break
										}
									};
									index = __index;                    
									show(index);
								}else{
									setTimeout(function(){
										gettm()
									},250)
								}
							  }
                              
                          }
                      });                     
                     
                      len = $("div.sjlist").length;
                  }
                  function  show(index)
                  {   
                  	
                      getAnswer(); 
                      var num = getTotalTMS();
                     
                      var leavenum = getNoFinishTMS();                
                      var c=num-leavenum;
                      $("#theindex").html(c);
                      $('#page_card').find('.page-card-item').eq(index).click()
                      
                  }
                  function next()
                  {  
                      len = $("div.sjlist").length;
                   
                      if (index==len-1 )
                      {
                          
                         var timName = $('.topbuttonlist').find('.topInputOver')[0].value;
										  	if(!confirm('已经是最后一道'+timName+'，要跳到下一大题吗？')){
						                  return false
						           	};
                          var currtopbutton=0;
                          var topbuttonlen = $(".topbuttonlist").find("input[type=button]").length;
                       
                          $(".topbuttonlist").find("input[type=button]").each(function(n){
                              if ($(this).attr("class")=="topInputOver")
                              {
                                  currtopbutton=n;
                              }
                          });
                          if (currtopbutton==topbuttonlen-1)
                          {
                              $(".topbuttonlist").find("input[type=button]").eq(0).click();
                          }else{
                              $(".topInputOver").next().next().next().click();}
                          $("div.sjlist").hide().eq(0).show();
                          index=0;
                          len = $("div.sjlist").length;
                           
                          show(index);
                      }else{
                          index++;
                          show(index);
                      }                 ;
                  }
                  function pro()
                  {
                      if (index==0)
                      {
                          $(".topbuttonlist").find("input[type=button]").each(function(n)
                          {
                              if ($(this).attr("class")=="topInputOver")
                              {
                                  if (n==0)
                                  {
                                      alert("已经是第一题了");
                                  }
                              }
                          });
                          $(".topInputOver").prev().prev().prev().click(); 
                          $("div.sjlist").hide().eq(0).show();
                          index=0;
                          len = $("div.sjlist").length;
                          //  
                      }else{
                          index--;   
                          show(index);
                      }
                  }

 </script>

		<form id="myform" action="{=GetRewriteUrl(exam,do-ex/id-{KS:Field:id})}" name="myform" method="post" >    
 		<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}" />
<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}" />
    <section class="timebg">
    	<div class="r"><em id="theindex">1</em>/<span id="thetotal">0</span></div>
    	<div class="l">
        	剩余时间：<span id="Time1">00:00:00</span>
        </div>
    </section>
    
     <section class="procont">
        <div class="sjtitle" >{KS:Field:Title}</div>
    
           <script>      
            //判断是否提示--
						 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);
			             }  
			         }
			 
                    
    
                   var num = getTotalTMS();
                   var leavenum = getNoFinishTMS();
                   $("#thetotal").html(num);
                   var c=num-leavenum;
                   $("#theindex").html(c);
                  
				  
               });
              
          
    
           </script>
           
            <div class="topbuttonlist" >  {$KS:TmTypeButtonStr} </div>
        
            <div id="content" {KS:datika}>加载中....</div>
          
    
       
        
 	</section>
    
</div> 
    <div class="datika" id="page_card"> 
         <div class="datikabg"></div>
         <div class="panel">        
                        <div class="shibie">
                           <ul class="clearfix">
                            <li class="yd"><i></i>已答</li>
                            <li class="wd"><i></i>未答</li>
                            <li class="bj"><i></i>标记</li>
                            <li class="sc"><i></i>收藏</li>
                            <div class="clear"></div>
                           </ul>
                        </div>
                        
                   {$KS:Field:GetTestsSubject}
            <div class="clear" style="height:65px"></div>
         </div>
    </div> 
  <div id="PanTime">
    <script>
        var KSSJ={KS:Field:KSSJ};
        from3g=1;
        $(".footer").find('li').length===5 ? $("#nosave").show() : ''

	</script>
   
    
    
    
</div>
        <div  {KS:zhuguan}>
            <div class="mainbox02" style="margin-top:0.5rem; padding:0.5rem 0.75rem;">
            {KS:LabFinish}
            </div>
        </div>
      </div> 
    </form>

	  ]]>
  </exam>
  <exam name="trangplain">
    <![CDATA[    
	
	
  
	<ul class="time-box clearfix">{&TheDate}</ul>
    <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>
          	<div class="SubmitHidden" id="MaskLayer">
            	<B>试题加载中......</B>
          	</div>
          	<div class="explainTitle" style="text-align:left;color:#666;border: #e1e1e1 1px solid;">
				系统分数：{KS:field:sysscore}分 限定时间：{KS:field:limitTime}分钟
				您的答题情况：用时：{KS:MyUseTime}秒&nbsp;得分：<span style='color:#71a734;font-size:16px;font-weight:bold; font-family:'Times='' New='' Roman=''', Times, serif'>{KS:field:score}</span> 分&nbsp;时间：{KS:field:posttime}
          	</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 style="clear:both;"></div>
      </div>
    </form>
	<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>
   ]]>
  </exam>
  <exam name="explain">
        <![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>
        
     <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_container">
            <!--进度信息-->               
	<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}" />  
	<section class="mytime">
         <span>考试时间{KS:MyZTSJ}</span>用时{KS:MyUseTime}
		 </section>
	 <section class="myscore">
        <div class="sjtitle"></div>
   		<ul>
        	<li>
            	<div class="disline">
                    <strong>{KS:Field:Score}<font>分</font></strong>
                    <span>试卷总分</span>
                </div>
            </li>
            <li> 
            	<div class="disline disline2">
          		  	<strong>{KS:MyScore}<font>分</font></strong>   
                    <span>得分</span>
                </div>
            </li>   
        </ul>     
        <div class="clear"></div>
   </section>
   
  	<div class="examtab">{KS:TmTypeButtonStr}<div class="clear"></div></div>
	<section class="procont procont2">	

    	<div id="MaskLayer">试题加载中……</div>
       <div id="content">加载中....</div>
	</section>

	
	
	
       </div>
	   
	   
	
	<div id="PanExam">
	
   <script>

       var isTjDa = 0;
       $(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();
           }
       });
   </script>

            <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 () {
                location.href = '{=GetRewriteUrl(userlogin)}'; 
                });
                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},是否确认支付")) {
                   jQuery('#form1').submit();
              //  location.href = '{=GetRewriteUrl(exam,do-ex/id-{KS:Field:ID})}'; 
                }
            }

            return false;
		}
	</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)}";
		    },function(){
		    });
		}
  </script>
  
   <form name="form1" method="post" action="{=GetRewriteUrl(exam,do-ex/id-{KS:Field:id})}" id="form1">


<DIV class=cbodywrap>

 <table width="100%" height="163" align="center"  cellpadding="0" cellspacing="0">

     <tr>
      <td height=40 colspan="2" align="center" style="background:#fff;border-bottom:1px solid #eee"><font style="color:#ec7c40; font-size:16px;">{$Name}</font></td>
      </tr>
   <tr>
      <td height=40 align="center" style="background:#fff;border-bottom:1px solid #eee" colspan="2">开考时间限制：
     {$KSTime}
      </td>
    </tr>
    <tr>
      <td width="49%" height=40 align="center" style="border-bottom:1px solid #eee">限制时间：{KS:Field:KSSJ}分钟</td>
      <td width="51%" align="left" style="padding-left:20px;background:#fff;border-left:1px solid #eee;border-bottom:1px solid #eee">试卷总分：{KS:Field:Score}分</td>
    </tr>
    <tr {$KS:style}>
      <td height=40 align="center" style="background:#fff;color:#ec7c40;border-bottom:1px solid #eee" colspan="2">
        用户名：<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" />
      </td>
    </tr>
    <tr {$KS:style}>  
      <td height=40 align="center" style="background:#fff;color:#ec7c40;border-bottom:1px solid #eee" colspan="2">
       &nbsp; 密 码：&nbsp;<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" />
      </td>
    </tr>
    <tr {$ks:userstyle}>
      <td height=35 colspan="2" style="padding:10px 10px 10px 30px; line-height:24px;background:#fff;color:#ec7c40;border-bottom:1px solid #eee">
       <input type="hidden" name="UserName" readonly class="textbox" id="Hidden1" value="" />
       如果用户名和准考证上的用户名不一致，请<a href="javascript:;" onClick="loginOut()" style="color:#666;">退出</a>重新登录！
      </td>
    </tr>

    <tr>
      <td height=35 align="center" colspan="2" bgcolor="#FFFFFF" style="padding:15px 0px">
      <input type="text" name="CardNum" id="CardNum" class="zkztext" value="输入准考证号..." onFocus="this.value=(this.value=='输入准考证号...')?'':this.value" onBlur="this.value=(this.value=='')?'输入准考证号...':this.value" /></td>
    </tr>
    
  </table>
	<style>
		#examBtn a{width:360px; display:block;height:44px; text-align:center; line-height:44px;margin:0 auto;margin-top:15px;border-radius:4px; box-shadow:0 1px 3px rgba(0,0,0,0.1); font-size:16px; background:#f5f5f5;border:1px solid #d1d1d1;filter:alpha(opacity=9); -moz-opacity:0.9; -khtml-opacity: 0.9;  opacity: 0.9; -webkit-transition:0.3s; transition:0.3s;}
		#examBtn a:hover{filter:alpha(opacity=100); -moz-opacity:1; -khtml-opacity: 1;  opacity: 1;}
	</style>
   <div align="center" id="examBtn"><a href="javascript:;" onClick="return(check());">确认进入考试</a></div>
   <div class="clear" style="height:30px;"></div>

<div class="clear"></div>
</DIV>
   <div class="bottombg"></div>
	<div class="clear" style="height:40px;"></div>


    </form>
  
  
  ]]>
  </exam>

  <exam name="examclass">
    <![CDATA[
    [loop]
    <header class="header">
  		<div class="box">
  			<div class="backicon tw-close"></div>
  			<div class="text" id="header-title">考试</div>
  		</div>
	  </header>
    <section class="header_blank"></section>
	<div id="e-class-list">
    <div class="tw-title">{$Field(classname,text,0,...,2,)}</div>
    <ul>
        [recode]
	      <li> <a onclick="uploadclass('{KS:URL}',{$Field(classid,text,0,...,2,)},{$Field(child,text,0,...,2,)})" >{$Field(classname,text,0,...,2,)}<i class="iconfont fr">&#xe61f;</i><span></span></a></li>
        [/recode]  
	  </ul>
    [/loop]    
    </div>
	<script>
	 $(function(){
	   var h=$("#childclass").height()-$(".header").height();
	   $("#e-class-list").css("height",h);
	})
	</script>
   ]]> 
  </exam>
  <exam name="examindex">
    <![CDATA[
  	<div class="choice">
        <div class="choice-box">
            <div class="choice-item">
                <a href="{=GetRewriteUrl(exam,do-daily/id-{KS:classid})}">
                  <div class="choice-circle bg1"><i class="ksicon iconfont">&#xe668;</i></div>
                  <p>每日一练</p>
                </a>
            </div>
            <div class="choice-item">
      			    <a href="{=GetRewriteUrl(exam,do-chapter,id-{KS:classid})}">
                  <div class="choice-circle bg2"> <i class="ksicon iconfont">&#xe623;</i></div>
                  <p>章节练习</p>
      			    </a>
            </div>
        </div>
        <div class="choice-box">
            <div class="choice-item">
  			        <a href="{=GetRewriteUrl(exam,do-myexam,id-{KS:classid})}">
                  <div class="choice-circle bg3"> <i class="ksicon iconfont">&#xe626;</i></div>
                  <p>随机练习</p>
  				      </a>
            </div>
            <div class="choice-item">
			          <a href="{=GetRewriteUrl(examlist,id-{KS:classid})}">
                  <div class="choice-circle bg4"><i class="ksicon iconfont">&#xe624;</i></div>
                  <p>套卷练习</p>
			        	</a>
            </div>
        </div>

    </div>
  ]]>
  </exam>
  <exam name="mytrang">
    <![CDATA[
	<section class="tytab tytab3">
		<ul>
            <li><a href="{=GetRewriteUrl(exam,do-myrecord}">考试记录</a></li>
            <li class="curr"><a href="{=GetRewriteUrl(exam,do-mytrang)}">练习记录</a></li>
            <li><a href="{=GetRewriteUrl(exam,do-myctb)}">错题本</a></li>
		</ul>
	 </section>
     
  <section class="examlist">
    <ul class="N-selectc">
    [loop]
      <li>
        <div class="litit">
         
         {KS:Field:num}   . <span>{KS:Field:Title}</span>
          
        </div>
        <div class="info">
          <span class="dal-but">
           {KS:Field:Url}
          </span>

          <div class="size14"> &nbsp; {KS:Field:Adddate}</div>
        </div>
      </li>
      <div class="line line_d"></div>
        [/loop]     
    </ul>
  </section>
    ]]>
  </exam>
  <exam name="chapter">
   <![CDATA[
   <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')
                             {
                                  $.dialog.alert("登录后才可以考试!", function () {
                location.href = '{=GetRewriteUrl(userlogin)}'; 
                });
                return false;
                             }
                             else {
                                 jQuery.ajax({
                                     url: "/index.aspx?c=exam&a=exam&do=chapter&action=goexam&classid=" + classid + "&SJTypeClassid=" + SJTypeClassid, success: function (d) {


                                        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: "?action=goexamKnowledge&classid=" + classid + "&SJTypeClassid=" + SJTypeClassid + "&Knowledgeid=" + Knowledgeid, success: function (d) {
                                     	 top.location.href = d;
                                     }
                                 });
                             }
                         }
                     });
                 }

   </script>
   
        <section class="i-practice">
            <div class="wrong-title-set">
                <ul id="pagelist">
                    {&KS:ZJLlist}
                </ul>
            </div>
        </section>
        <div class="loadtext" id="pagelistend" style="display:none"></div>
<script src="/ks_inc/loadpage.js"></script>
<script>
        		var pageCount="{#PageCount}";
		var postUrl="/index.aspx";
			var postParam="{#QueryString}";
        </script>

 ]]>
  </exam>
  <exam name="reviews">
    <![CDATA[
   <div class="clear"></div>
    
  <div class="container f-pt15 bg-default" style="min-width: 1000px">
    <div class="content ">
      <div class="exam-report  page_container">
              <div class="m-examHead f-bg " style="width: 1140px;margin: auto;padding: 0px 10px 0px 10px;background: #fff;  border-radius: 8px 8px 0 0;">  
    <!--试卷头信息-->
   
    <div class="info">
	 <h1 class="h1">{KS:Field:Title}</h1>
	<ul>
        <li style="float:left; margin:5px 0px;">◇ 所需学币：<strong style="color:#F7AA20; font-family:Arial;">0 </strong>个</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;">◇ 类别：地区：</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>
    </div>
<!--工具区域-->
            </div>
            <!--进度信息-->    
	<div style="width:100%;height:10px; overflow:hidden"></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: examInstallDir+'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(examInstallDir+"GetSJAjax.ashx", { action: 'CmtSave', id: id, Content: c }, function (d) {
	            if (d == "success") {
	                $.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" 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 style=" width:898px;float:left;">
	  <div>
			   <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">
					  <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);" class="texta" ></textarea>
					 
					 <div class="heart-po">
					 &nbsp;剩余 <span style="width:40px;color:#FB9E50;font-size:14px;font-weight:bold" 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>
					  </td>
					</tr>
					
			  </table>
			  </div>
			  <div style="margin-top:15px"></div>
			 <div class="heart-title">网友心得</div>
			 
		 
		 <style>
		 .splittd{border-bottom:1px solid #d5d5d5;color:#666;font-size:12px; line-height:22px;padding:15px 0px;}
		 .textbox{padding:4px;border:1px solid #ccc;}
		 .cmt{display:none;padding-left:5px;border:1px solid #efefef;color:#999;margin-bottom:20px;padding:14px; background:#F9F8F6;  margin-top: 20px;}
	.cmt .cmtbox span{float:right}
	.cmt .cmtbox span .button{  background: #6E96F0;color: #fff;-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);border: 1px solid transparent; padding:3px 10px;}
	.cmt span.num{color:brown}
	.cmt textarea{padding:3px;color:#888;width:100%;height:30px;border:1px solid #ccc;overflow:auto;  resize: none; border-radius: 5px;margin-top: 5px;margin-bottom: 5px;}
	.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;margin-bottom:5px;width:99%;word-break:break-all;border:0px;border-bottom:1px dotted #ccc;background:#F9F8F6;text-align:left;font-size:12px;color:#666;line-height:30px;}
	.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;}
  .cmt .cmtbox span .button {background-color:#05a4c2;color:#fff!important;border-color:#05a4c2!important}
		 </style>  
			 
		 
		  <table id="tablist" width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="border" style="   background: #fff;padding:20px;margin-top:15px;">
		  
              [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="  border-bottom: #cacaca dashed 1px; font-size:14px;line-height: 28px;"><span style="float:right; color:#000;"><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} UserIP：{KS:field:UserIP}
			 
			  </div>
			  <br />
			  <span style="float:right"><img src="/sysimg/exam/huifu.png" style="  vertical-align: middle;margin-right: 5px;"><a href="javascript:void(0)" onClick="quickreply({KS:Field:id});">回复（{KS:Field:CmtNum}）</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 class="footer_page">
            [KS:PageStr2]
        
        </div>	 
			  
	</div>
	<div style="float:right; position:relative; width:260px;margin-top:30px">        
<div class="left-wrap fl height " style="height:auto;width:100%;">
   <!-- <div class="icon">
        <span></span>		
    </div>-->
	<div class="lx-title1">答题卡</div>
	 <div class="lx-card lx-mg">
		 <a class="lx-number lx-bg1">1</a>
		 <a class="lx-number lx-bg2">2</a>
		 <a class="lx-number lx-bg1">3</a>
		 <a class="lx-number lx-bg2">4</a>
		 <a class="lx-number lx-bg1">5</a>	
        <div class="clear"></div>   
		 <button class="lx-post" style="border-radius:5px;margin-top:35px;margin-bottom:15px">只查看错题</button>     

        </div>
    <ul class="emnav">
		<li class="hover"><a href="{=GetRewriteUrl(exam,do-explained/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 class="clear blank10"></div>
 	<div class="clear blank10"></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="content mt15 clearfix">
		<div class="exam-report  page_container" style="background:#fff;width:898px;float:left">
				<div class="m-examHead f-bg " style="margin: auto;padding: 0px 10px 0px 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: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="">
					<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" style="height:15px;"></div>
							  
                        <div class="footer_page">
                        [KS:PageStr2]
                        </div>
							 
                    </div> 
						</form>
					</div>
				</div>
				
				<div class="clearfix"></div>
		</div>
		 <!--右侧导航-->
	 <div style="float:right; position:relative; width:260px;margin-top:95px">        
<div class="left-wrap fl height " style="height:auto;width:100%;">
   <!-- <div class="icon">
        <span></span>
		
    </div>-->
	<div class="lx-title1">答题卡</div>
	 <div class="lx-card lx-mg">
		 <a class="lx-number lx-bg1">1</a>
		 <a class="lx-number lx-bg2">2</a>
		 <a class="lx-number lx-bg1">3</a>
		 <a class="lx-number lx-bg2">4</a>
		 <a class="lx-number lx-bg1">5</a>	
        <div class="clear"></div>   
		 <button class="lx-post" style="border-radius:5px;margin-top:35px;margin-bottom:15px">只查看错题</button>     
        </div>
    <ul class="emnav">
		<li class="hover"><a href="{=GetRewriteUrl(exam,do-explained/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>
	
 </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="myctb">
    <![CDATA[
    <!--//ex-text-list-->
	<section class="tytab tytab3">
		<ul>
            <li><a href="{=GetRewriteUrl(exam,do-myrecord}">考试记录</a></li>
            <li><a href="{=GetRewriteUrl(exam,do-mytrang)}">练习记录</a></li>
            <li class="curr"><a href="{=GetRewriteUrl(exam,do-myctb)}">错题本</a></li>

		</ul>
	</section>
    <div class="ex-text-list">
        <ul>
            [Loop]
            <li>
                {KS:Field:tmtmnr}
            </li>
            [/Loop]
        </ul>
    </div>
    
     <!--//ex-text-list end-->      

      ]]>
  </exam>
  <exam name="myfavorite">
    <![CDATA[
    <!--//ex-text-list-->
    
	<section class="tytab">
        <ul class="swiper-wrapper">
            <li class="swiper-slide"><a href="{=GetUserUrl(course/MyCoscollect)}">课程收藏</a></li>
            <li class="swiper-slide"><a href="{=GetUserUrl(course/mycostccz,type-collect)}">教师收藏</a></li>
            <li class="swiper-slide curr"><a href="{=GetRewriteUrl(exam,do-myfavorite)}">试题收藏</a></li>
            <li class="swiper-slide"><a href="{=GetUserUrl(basic/favorite,do-product)}">商品收藏</a></li>
            <li class="swiper-slide"><a href="{=GetUserUrl(basic/favorite,do-ask)}">问题收藏</a></li>
            <li class="swiper-slide"><a href="{=GetUserUrl(basic/favorite,do-article)}">内容收藏</a></li>
        </ul>
    </section>
    <div class="ex-text-list">
        <ul>
            [Loop]
            <li>
                {KS:Field:tmtmnr}
            </li>
            [/Loop]
        </ul>
    </div>
    
    <link rel="stylesheet" href="{$GetTemplateDir}/static/swiper/css/swiper.min.css?{$GetHash}">
    <script src="{$GetTemplateDir}/static/swiper/js/swiper.min.js?{$GetHash}"></script>
    <script>
        
        new Swiper('.tytab', {
            slidesPerView:3.5,
            paginationClickable: true,
            spaceBetween: 0
        });
    </script>
      ]]>
  </exam>
  <exam name="locadclassjs">
    <![CDATA[
 <script>
	var cchild='{KS:child}';
	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!='')
			{
     $(".twocolumn").animate({bottom:"0"});
			jQuery("#childclass").html(d);
			}							
		 }
	    });
	}else
	{
	location.href=url;
	}
	}
	function openurl(url,classid)
	{
  if (cchild==0)
  	{
   
    jQuery.ajax({
	   url: "/index.aspx?c=exam&a=exam&do=examindex&action=tmids&id=" + classid , 
	    success: function (d) {
			if (d>0)
			{     
	  	location.href=url;
	   }else{
     	  alert("该分类下没有题目，请重新选择")
	    $('#show-box').toggleClass('cur');
     }
     }
   });
  } else
	{
	  alert("请精确选择分类")
	  $('#show-box').toggleClass('cur');
	}
	}
	</script>
	    ]]>
  </exam>

  <FirstClass> 
    <![CDATA[
         <li>
            <a class="{&KS:Style}" href="{KS:Url}"> <img src="/static/exam/images/ckl{&KS:Num}.png" width="50px" height="50px" title="{&KS:Classname}">
            <br><span>{&KS:Classname}</span></a>
			             <ul>
                   {KS:SecondClass}
                  <div style="clear:both;"></div>
                  </ul>
	        </li>	
]]>
   </FirstClass>
  <SecondClass>
    <![CDATA[   
     <li><a href="{KS:Url}" class="{&KS:Style}">{&KS:Classname}</a></li>
    ]]>
  </SecondClass>
  
  <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="/static/exam/images/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="/static/exam/images/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="/static/exam/images/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="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="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>
  
  ]]>
  </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="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}li-time" style="{KS:Style1} "><a href="{KS:Url}" title="{KS:Title}"><p class="hd">{KS:Week}</p><p>{KS:WeekDateTime}
</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="/static/exam/images/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="/static/exam/images/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="/static/exam/images/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="list-empty"><div class="book-pen"></div><div class="empty-text"><p>亲爱的同学，</p><p>暂无任何记录！</p><p class="last">尽情期待！</p></div></div>
    ]]>
  </empty>

  <Copyright>
    <![CDATA[
	{KS_底部通用}
	 
  		
    ]]>
  </Copyright>
  
    <ZJFirstlist_3g>
    <![CDATA[
     <li class="keypoint keypoint-level-0" data_id="{$Field(ClassId,text,0,...,2,)}">
	 <div class="lititle" onclick="ZJSeclist({$Field(sjclassid,text,0,...,2,)},{$Field(ClassId,text,0,...,2,)},{KS:ZJSeclist})">
	 <span class="sprite-expand"></span><div class="textsize">{KS:Title} (共{KS:Total}道题)</div></div><span class="slide-progress-left">
	
	<div class="zjlxzt"><a href="javascript:void(0);"  {KS:Style}"Goexam({$Field(sjclassid,text,0,...,2,)},{$Field(ClassId,text,0,...,2,)})">随机抽{KS:chapterNum}道</a></div></li>
	 
   <div id="ZJSeclist{KS:ZJSeclist}" style="display:none"></div>
    
    ]]>
  </ZJFirstlist_3g>
    <ZJSeclist_3g>
    <![CDATA[
	
	<div class="keypoint-level-1">
	  <div class="ybg"><em></em></div>
      <li class="keypoint" data_id="{$Field(ClassId,text,0,...,2,)}"  data_parent_id=" {$Field(Parentid,text,0,...,2,)}">
	 <div class="lititle2" onclick="ZJSeclist({$Field(sjclassid,text,0,...,2,)},{$Field(ClassId,text,0,...,2,)},{KS:ZJSeclist})">
	<div class="textsize">{KS:Title} (共{KS:Total}道题)</div></div><span class="slide-progress-left">
	
	<div class="zjlxzt"><a href="javascript:void(0);"  {KS:Style}"Goexam({$Field(sjclassid,text,0,...,2,)},{$Field(ClassId,text,0,...,2,)})">随机抽{KS:chapterNum}道</a></div></li>
	</div>
  
  ]]>
  </ZJSeclist_3g>
    <Historylistyes_3g>
    <![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:Url}">查看解析</a>
         
       </div>
   </li>
    ]]>
  </Historylistyes_3g> 
 <SevenDaily_3g>
    <![CDATA[
     <li class="{KS:Style}"><a href="{KS:Url}" title="{KS:Title}"><div class="textsize">{KS:Time} {KS:Week}</div></a></li>		
    ]]>
  </SevenDaily_3g>

  <DailyList_3g>
    <![CDATA[  

	<li><div class="litit"><a href="javascript:void(0);" onclick="Goexam({KS:SjID})">{KS:Title}</a></div><div class="info"><span class="dal-but"><a href="javascript:void(0);" onclick="Goexam({KS:SjID})" class="zt-go ">做题</a></span><div class="size14" style="display:none">{KS:TestHits}人做过</div></div>                              
     </li>	
    ]]>
  </DailyList_3g>
    <head_3g>
    <![CDATA[  
     {KS_3G展开导航}
	   ]]>
    </head_3g>
</labeltemplate>
