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

  <head>
    <![CDATA[     
       <!--头部开始-->   
<div class="upper">
    <!--左侧-->
    <!--右侧-->
    <div style="width:1160px; margin:auto;">
    <div style="float:left; margin-top:2px;"><a href="/" class="logo fl"><img src="/user/images/logo.png" height="32"></a></div>
    <div class="pull-right">  
        <div class="user" style="float:right;" id="PopLoginTips"><span class="logo"></span><span class="name"><a href="javascript:showuserlogin()">登陆</a><span style="color:#b9b9b9; margin-left:3px; margin-right:3px;">|</span><a href="/reg/">注册</a></span></div>       
        <a target="_blank" href="#" class="mobile"><span></span>手机客户端</a>            
    </div>
    </div>
    
    <script>
	jQuery(document).ready(function(){
	   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') return;
		  var str="<div style='  margin-left: 15px;'><img src='"+jQuery(xml).find("login userface").text()+"' align='texttop' class='userface' style='height:20px;  vertical-align: middle;'/> <a href='{=GetRewriteUrl(user)}' style='color:#387BEE;padding-left: 10px; padding-right:10px;font-size: 13px;' onmouseover='$('.user-menu').show();' onmouseout='$('.user-menu').hide();'>"+jQuery(xml).find("login username").text()+"</a> <a href='/user/UserLoginOut.aspx' style='color:#777;font-size: 14px;padding-right:10px;'>退出</a></div>";
         jQuery("#PopLoginTips").html(str);
		  }
		 });
    });
	</script>
    <!--用户操作弹出-->
    <!--课程弹出-->
    <div class="course-menu-wrap" onmouseover="$('.course-menu-wrap').show();" onmouseout="$('.course-menu-wrap').hide();" style="display: none;top:92px; background:#f8f7f3;">
	       {KS:FirstClass}
        <div class="clear"></div>      
      </div>
    </div>

<div class="header">
    <div class="con">
        <div class="left fl">
            
            <div class="roject-name fl">
                <a href="?{&TheClassname}{KS:ClassId}" style="color:black;text-decoration:none" onmouseover="$('.course-menu-wrap').show();" onmouseout="$('.course-menu-wrap').hide();"><span>{KS:FirstClassName}&nbsp;&middot;&nbsp;题库</span><span style="margin-left:10px;"><img src="/images/exam/xiala.png" style="vertical-align:middle;" /></span></a>
            </div>
            <div class="course-name fl">[ {KS:ClassName} ]</div>
        </div>
        <div class="right fr">
            <ul class="main-nav">                                                         
                     <a href="/user/TcIndex.aspx?classId={KS:ClassId}" class="{KS:Curr}">题库首页</a>
                    <a href="/exam/daily.aspx?ClassId={KS:ClassId}" class="{KS:Curr1}">每日一练</a>
                    <a href="/exam/chapter.aspx?ClassId={KS:ClassId}" class="{KS:Curr2}">章节练习</a>
                    <a href="/exam/list.aspx?Id-{KS:ClassId}" class="{KS:Curr3}">模拟试题</a>               
                    <a href="/user/exam/myexamreport.aspx?classId={KS:ClassId}" class="{KS:Curr4}">能力评估报告</a>
            </ul>
        </div>
        <div class="clear"></div>
    </div>
</div>
    <!--头部结束-->
 
]]>
  </head>
  <FirstClass> 
    <![CDATA[
         <li>
            <a class="{&KS:Style}" href="?{&TheClassname}{&KS:FirstChildId}"> <img src="/images/exam/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="?{&TheClassname}{&KS:ClassId}" class="{&KS:Style}">{&KS:Classname}</a></li>
    ]]>
  </SecondClass>
 
  <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>

</labeltemplate>
