<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Que_home.aspx.cs" Inherits="RM.Web.Training.Chapter.Que_home" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>题库学习</title>


    <link href="/Themes/Scripts/ShowMsg/msgbox.css" rel="stylesheet" type="text/css" />  
    <link href="/Themes/Scripts/artDialog/skins/opera.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="/Template/default/Backstage/assets/css/public.css">
    <link rel="stylesheet" type="text/css" media="screen" href="/Template/default/Backstage/assets/css/ext.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="/Template/default/Backstage/assets/css/style.css" />
    <link href="/Template/default/Backstage/assets/bootstrap/eva/evabootstrap-full.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="/Template/default/Backstage/assets/bootstrap/eva/evabootstrap-ext.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="/Template/default/Backstage/assets/bootstrap/font-awesome/css/font-awesome.min.css"  rel="stylesheet" type="text/css" media="screen" />
    <link rel="stylesheet" type="text/css" media="screen" href="/Template/default/Backstage/assets/bootstrap/eva/navbar-blue.css" />
    <link href="/Themes/Styles/xiaoqiuqiu.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/Template/default/Backstage/assets/js/jquery-1.8.3.min.js"></script>         
    <script src="/Template/default/Backstage/assets/bootstrap/js/bootstrap-dropdown.js" type="text/javascript"></script> 
      <script src="/Template/default/Backstage/assets/bootstrap/js/bootstrap-hover-dropdown.js" type="text/javascript"></script>    
    <script src="/Themes/Scripts/ShowMsg/msgbox.js" type="text/javascript"></script>   
    <script src="/Themes/Scripts/artDialog/artDialog.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/artDialog/iframeTools.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/FunctionJS.js" type="text/javascript"></script>     
    <style type="text/css" >
/*CSS reset*/
body,div,dl,dt,dd,ul,li,ol,h1,h2,h3,h4,h5,h6,p,input,img,span,em,a,i{margin:0;padding:0}
body{ font-family:"Microsoft Yahei","微软雅黑",tahoma,arial,tahoma,sans-serif;font-size:12px;min-width:780px;color:#333; height:800px;}
input{border:none}
img{border:0}
ul,dl,ol{list-style:none;}
em{font-style:normal;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
a{color:#333;outline:none;font-size:14px}
a:link{text-decoration:none;}
a:visited{text-decoration:none;}
a:hover{color:#e6393b;text-decoration:none;}
a:active{text-decoration:none}
/* 清理浮动 */
.clear:after {visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0;line-height:0}
.clear {zoom:1; /* for IE6 IE7 */}
.clearfix:after{display:block;clear:both;content:"";visibility:hidden;height:0}
.clearfix{zoom:1}
.none{display:none}
.on{display: block}
.clear10{height:10px;width:100%;font-size:0;line-height:0;clear:both}
.clear5{height:5px;width:100%;font-size:0;line-height:0;clear:both}

/*列表布局*/
.content-l {width:869px;margin-right:24px;}
.content-r {width:283px;padding-left:24px;}
.content-bg {background:url(images/dian.png) repeat-y;}

/*字号*/
.news-list li a{ font-size:14px;}
.fs14{font-size:14px}
.fs16{font-size:16px}
.mt5 {margin-top:5px;}
.mb5 {margin-bottom:5px;}
.mb30 {margin-bottom:30px;}
.mb25 {margin-bottom:25px;}
.mb20 {margin-bottom:20px;}
.mb10 {margin-bottom:10px;}
.mb15 {margin-bottom:15px;}
.fw{ font-weight:bold;}
.f999, .f999 a {color:#999;}
/*定位*/
img{margin-bottom:-3px;}
.fl,.fr{display:inline}
.fl{/*float:left*/}
.fr{float:right}
.rel{position:relative}
.abs{position:absolute}
.tl{text-align:left}
.tr{text-align:right}
.tc{text-align:center}
.text_thr{text-decoration:line-through;color:#999;}
/*阴影*/
.boxs{box-shadow:0px 0px 4px rgba(0,0,0,.2)}
/*字色*/
.cor1{color:#ff8a00}
.cor2{color:#0054a7}
.white{color:#fff}
.plr4{padding:0 4px}
.c_bule{color:#2fa95f;}
.c_bule:hover{color:#2fa95f;}
.red{color:#ff0000;font-weight:bold;}
.c_000{color:#000;}
/*间距*/
.mt3{margin-top:3px;}
.mt10{margin-top:10px;}
.mt13{margin-top:13px}
.mt20{margin-top:20px;}
.mt30{margin-top:30px;}
.ml20{margin-left:20px;}
.p10{padding:10px;}
.pb10 {padding-bottom:10px;}
/*边框*/
.bor_b{border-bottom:1px solid #ddd;}
.bor{border:1px solid #ddd;}

/*question text-align:center; */
.width{width:770px; clear:both;margin:5px auto;}

.title_top{padding:0 5px;height:80px; line-height:80px; overflow:hidden;}
.title_top .left{float:left;color:#4c4c4c;font-size:24px;}
.title_top .right{float:right;font-size:12px;font-family:sontt;color:#000; padding-top:18px;}

.menu_ti{background-color:#4c4c4b;height:70px;overflow:hidden; margin-bottom:10px;}
.menu_ti li{float:left;text-align:center;margin:5px 0;border-right:1px solid #636363;}
.menu_ti li a{display:block;width:90px;color:#fff;border-right:1px solid #2e2e2e;}
.menu_ti li a img{ margin-top:5px;}
.menu_ti li a p{height:40px;}
.menu_ti li a:hover{background-color:#10be10;}

.the_tit{margin:10px 5px;border:1px solid #ddd;border-radius:5px;margin-bottom:15px;}
.p_tit{font-family:songti;background-color:#f5f5f5;padding:0 5px;border:1px solid #dddddd;border-radius:5px;min-height:45px;line-height:45px;margin:-1px;} 
.p_tit .left{ font-size:14px;color:#000;}
.p_tit .right{}
.p_tit .right .r{width:20px; height:20px; line-height:20px;color:#fff;background-color:#ff2e2e; text-align:center;margin:13px 5px 0 0;}
.p_tit .right .g{width:20px; height:20px; line-height:20px;color:#fff;background-color:#10be10; text-align:center;margin:13px 5px 0 0;}
.p_tit .right .b{width:20px; height:20px; line-height:20px;color:#fff;background-color:#323232; text-align:center;margin:13px 5px 0 0;}
.p_tit .img{ margin:-3px 8px;}
.p_tit .right .cuo{color:#0054fe; text-decoration:underline;}
.p_tit .right input{background-color:#fff;border:1px solid #dddddd;width:65px; height:23px;border-radius:5px; margin:10px; padding:2px; cursor:pointer;  }
#Loading {
  position:  relative;  
  margin-top:100px;
  z-index:999; 
  width:300px;
  height:200px; 
  margin-left:35%;  
}

</style>
  

</head>
<body >
    <!-- Header 开始 -->
    <!-- Header 结束 -->
 <!-- Header 开始 -->
  <div >   
<div class="container head">        
<div class="pull-left">            
<a href="/Mall/Mall_Index.aspx">                
<img id="NewStart-LOGO" src="/Template/free/Images/logo.gif" style="width:100%" alt="NewStart-LOGO" /></a></div>       
<div class="pull-right">            
<div class="pull-left">               
<p class="user-img">                    
<img src="/Mall/User_Image.ashx?id=$userid" alt="用户头像" /></p>            
</div>            
<div class="pull-right" style="margin-top:10px">                
<p class="welcome">        
</p>                
<p>                 
<a href="/Mall/UserCeneter/User_Data.aspx?state=3"> 
<input type="button" class="btn" value="修改密码" /></a>                    
<a href="/Mall/Mall_HeadLoginStatus.ashx?id=1">
<input type="button" class="btn btnExc" value="安全退出" /></a>                
</p>            
</div>       
</div>   
</div>
<div class="clearfix"></div><div class="navbar navbar-inverse  ">    
<div>        
<div id="navContainer" class="container">           
<div class="nav-collapse" >               
<ul class="nav narbar-nav ">
                    <!--首页-->
                    <li id="Li2" class=""><a href="/Member/MemberCenter.aspx" data-original-title="" title="">首&nbsp;&nbsp;&nbsp;&nbsp;页</a></li>
                    <li id="Li3" class=""><a title="公开课" data-original-title="" href="/Mall/Mall_gkList.aspx?state=0">公开课</a> </li>

                    <li id="Li12" class="dropdown" style=" position:relative;"><a href="#" data-toggle="dropdown" class="dropdown-toggle" data-hover="dropdown"
                        data-original-title="" title="">我的课程<strong class="caret"></strong></a>
                        <ul class="dropdown-menu">
                            <li><a href="/Mall/Mall_MyList.aspx" data-original-title="" title="">我的课程</a> </li>
                            <li><a href="/Mall/Mall_CourseCenterList.aspx" data-original-title="" title="">选课中心</a> </li>
                        </ul>
                    </li>

                    <li id="Li4" class=""><a title="学习任务" data-original-title="" href="/Mall/Courseware/MyLearn_List.aspx">学习任务</a> </li>
                    <li id="Li5" class="dropdown" style=" position:relative;"><a href="#" data-toggle="dropdown" class="dropdown-toggle" data-hover="dropdown"
                        data-original-title="" title="">我的考试 <strong class="caret"></strong></a>
                        <ul class="dropdown-menu">
                            <li><a href="/Mall/Exam/MyExamList.aspx" data-original-title="" title="">我的考试任务</a> </li>
                            <li><a href="/Template/free/lishikaosi.htm" data-original-title="" title="">我的历史考试</a> </li>
                        </ul>
                    </li>
<li id="Chapter" class="active"><a href="/Training/Chapter/Que_home.aspx" data-original-title="" title="题库学习">题库学习</a></li>                    

                    <li id="Li7" class=""><a title="互助问答" target="_blank" data-original-title="" href="/Mall/QA/QA_Index.aspx">互助问答</a> </li>
                    <li id="Li8" class="dropdown" style="position:relative;"><a href="#" data-toggle="dropdown" class="dropdown-toggle" data-hover="dropdown"
                        data-original-title="" title="个人中心">个人中心 <strong class="caret"></strong></a>
                        <ul class="dropdown-menu">
                        <li><a href="/Template/free/xuexika.htm" data-original-title="" title="学习卡">学习卡</a></li>
                        <li><a href="/Mall/Query.aspx" data-original-title="" title="我的证书">我的证书</a></li>
                            <li><a href="/Mall/UserCeneter/User_Data.aspx?state=1" data-original-title="" title="">基本信息</a> </li>
                            <li><a href="/Mall/UserCeneter/User_Data.aspx?state=2" data-original-title="" title="">修改照片</a> </li>
                            <li><a href="/Mall/UserCeneter/User_Data.aspx?state=3" data-original-title="" title="">修改密码</a> </li>
                        </ul>
                      
                    </li>


<li id="Li9" class="dropdown" style=" position:relative;"><a href="#" data-toggle="dropdown" class="dropdown-toggle" data-hover="dropdown"
                        data-original-title="" title="">财务管理<strong class="caret"></strong></a>
                        <ul class="dropdown-menu">
                            <li><a title="购物车" data-original-title="" target="_blank" href="/Mall/Order/Mall_ShoppingCart.aspx">购物车</a> </li>
                             <li><a title="我的订单" data-original-title="" target="_blank" href="/Mall/Order/Mall_Finarlce_OrderIList.aspx">我的订单</a> </li>
                             <li><a title="我的财务" data-original-title="" target="_parent" href="/Template/free/caiwudingdan.htm">我的财务</a> </li>
                        </ul>
                    </li>
                    <li id="Li10" class=""><a title="系统公告" data-original-title="" href="/Mall/Affichet/Affichet_list.aspx">系统公告</a> </li>
		    <li id="Li11" class=""><a title="退出" data-original-title="" href="/index.htm">退出</a> </li>
                </ul>            </div>        </div>    </div></div><div class="clearfix"></div></div>
    
   
 
    
   
    <!-- Header 结束 -->
    <form id="form1" runat="server">
<div>
</div>
    
    <div class="container">
    <div class="title_top" style="display:none;">    
        <div class="left"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Chapter_Manager_Title")%></div>
        <div class="right" style="display:none;">已服务学员<span class="red">1232</span>人,当前有<span class="red">32</span>人在线学习</div>
    </div>
    <ul class="menu_ti clear">
    
    	<li><a href="javascript:void(0);" onclick="load()"><p><img src="iamges/t1.png" width="33" height="33" /></p><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Que_sxxx")%></a></li>
        <li><a href="javascript:void(0);" onclick="znxt(0)"><p><img src="iamges/t2.png" width="33" height="33" /></p><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Que_znct")%></a></li>
        <li><a href="javascript:void(0);" onclick="cthg()" ><p><img src="iamges/t3.png" width="33" height="33" /></p><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ResultExam_Title")%></a></li>        
        <li><a href="javascript:void(0);" onclick="scst()" ><p><img src="iamges/t6.png" width="33" height="33" /></p><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ResultExam_Collent_Title")%></a></li>  
        <%=CustomChar %>
        <%=CustomExam %>
    </ul>  
    <div id="que_main"  >
        <div id="Loading" style="display:none;">
            <div class='wrap' id='wrap1'>
                <div class='part' id='part1'>
                </div>
            </div>
            <div class='wrap' id='wrap2'>
                <div class='part' id='part2'>
                </div>
            </div>
            <div class='wrap' id='wrap3'>
                <div class='part' id='part3'>
                </div>
            </div>
            <div class='wrap' id='wrap4'>
                <div class='part' id='part4'>
                </div>
            </div>
        </div>
    	<div class="the_tit" style="display:none;">
            <ul class="p_tit clear">
                <li class="left fl"><a href="#"><img class="img" src="iamges/t5.png"/>言语理解与表达 (共12334题,平均正确率85.2%)</a></li>
                <li class="right fr">
                    <p class="r fl">优</p><p class="fl">已做234题，<a href="#" class="cuo">错误94题</a>，正确率 80 %</p>
                    <input type="button" value="智能抽题"/>
                    <input type="button" value="顺序学习"/>
                </li>
            </ul>

            <div class="the_tit" style="display:none;">
                <ul class="p_tit clear">
                    <li class="left fl"><a href="#"><img class="img" src="iamges/t5.png"/>言语理解与表达 (共12334题,平均正确率85.2%)</a></li>
                    <li class="right fr">
                        <p class="r fl">优</p><p class="fl">已做234题，<a href="#" class="cuo">错误94题</a>，正确率 80 %</p>
                        <input type="button" value="智能抽题"/>
                        <input type="button" value="顺序学习"/>
                    </li>
                </ul>
            </div>

        </div>

        <div class="the_tit" style="display:none;">
            <ul class="p_tit clear">
                <li class="left fl"><a href="#"><img class="img" src="iamges/t5.png"/>言语理解与表达 (共12334题,平均正确率85.2%)</a></li>
                <li class="right fr">
                    <p class="g fl">良</p><p class="fl">已做234题，<a href="#" class="cuo">错误94题</a>，正确率 80 %</p>
                    <input type="button" value="智能抽题"/>
                    <input type="button" value="顺序学习"/>
                </li>
            </ul>
        </div>
        
        <div class="the_tit" style="display:none;">
            <ul class="p_tit clear">
                <li class="left fl"><a href="#"><img class="img" src="iamges/t5.png"/>言语理解与表达 (共12334题,平均正确率85.2%)</a></li>
                <li class="right fr">
                    <p class="g fl">良</p><p class="fl">已做234题，<a href="#" class="cuo">错误94题</a>，正确率 80 %</p>
                    <input type="button" value="智能抽题"/>
                    <input type="button" value="顺序学习"/>
                </li>
            </ul>
        </div>
        
        <div class="the_tit" style="display:none;">
            <ul class="p_tit clear">
                <li class="left fl"><a href="#"><img class="img" src="iamges/t5.png"/>言语理解与表达 (共12334题,平均正确率85.2%)</a></li>
                <li class="right fr">
                    <p class="b fl">差</p><p class="fl">已做234题，<a href="#" class="cuo">错误94题</a>，正确率 80 %</p>
                    <input type="button" value="智能抽题"/>
                    <input type="button" value="顺序学习"/>
                </li>
            </ul>
        </div>

    </div>

    <div style="display:none">
    <iframe scrolling="auto" frameborder="0" scrolling="yes" width="100%"
                    height="100%" src="" style="margin:20px 5px;border:1px solid #ddd;border-radius:5px;margin-bottom:15px;background-color:#f2f2f2; padding-bottom:20px; "></iframe>
    </div>
</div>
<footer>
    <p>
        &copy;2015 All Rights Reserved 版权所有</p>
</footer>
<!-- Footer 结束 -->
<script type="text/javascript" src="/Template/default/Backstage/assets/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/Template/default/Backstage/assets/bootstrap/js/bootstrap-dropdown.js"></script>
<script type="text/javascript" src="/Template/default/Backstage/assets/bootstrap/js/bootstrap-hover-dropdown.js"></script>
<script type="text/javascript" src="/Template/default/Backstage/assets/bootstrap/js/bootstrap-popover.js"></script>
<script src="/Template/default/Backstage/assets/js/all.js" type="text/javascript"></script>
    </form>
    
    <script type="text/javascript">

        $(document).ready(function () {
            load();
            GetHead();
        });
        function GetHead() {
    getAjax("/Mall/Backstage/BackstageGet.ashx", "action=Guser", function (rs) {
        rs = eval('(' + rs + ')');
        $(".welcome").html("Hi!<a>" + rs.User_Name+"</a>");
    });
}
function getAjaxQue(url, parm, callBack) {
   $.ajax({
        type: 'post',
        dataType: "text",
        url: url,
        data: parm,
        cache: false,
        async: false,
        success: function (msg) {
            callBack(msg);
        }
    });
}
         //加载用户章节
         function load(){
            $("#Loading").show();
            getAjaxQue("/Training/Chapter/Que_home.ashx", "action=getchapter", function (data) {
                $("#que_main").html(data);
            });
            $("Loading").hide();
        }
         //学习计划
        function customcharinfo(cid) {
            $("#Loading").show();
            getAjaxQue("/Training/Chapter/Que_home.ashx", "action=getcharpterplan&cp_id="+cid , function (data) {
                $("#que_main").html(data);
            });
            $("Loading").hide();
        }
//        //自定义考试
//        function custominfo(cid) {
//        $("#Loading").show();
//            $.get("/Training/Chapter/Que_home.aspx", { action: "zdyks", key: cid }, function (data) {
//                $("#que_main").html(data);
//            });
//            $("Loading").hide();
//        }

        //进入试题练习
        function Golianxi(examId) {
            window.location = "/Training/Exam/Practise.aspx?EKey=" + examId;
        }

//        //自定义考试
//    function getExamList(key,examName) {
//        if(examName=="<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ChapterIndex_mnks")%>"){
//            top.openDialog("/Training/Exam/ExamIntroduce.aspx?ExamKey=" + key , 'Examination_Test', '<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ChapterIndex_sjlb")%> - <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ChapterIndex_ksxz")%>', 650, 380, 50, 50);
//        }else{
//            top.openDialog("/Training/Exam/ExamIntroduce.aspx?exam=not&ExamKey=" + key , 'Examination_Test', '<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ChapterIndex_sjlb")%> - <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ChapterIndex_ksxz")%>', 650, 380, 50, 50);
//        }
//        return false;
//    }

    //智能选题
    function znxt(id){
        $("#Loading").show();
        var ifsrc="/Training/Chapter/SmartQuestion.aspx";
        if(id!=0){ifsrc="/Training/Chapter/SmartQuestion.aspx?key="+id;}
        var znxtStr="<iframe id=\"main\" name=\"main\" scrolling=\"no\" frameborder=\"0\" scrolling=\"yes\" width=\"99%\" height=\"500px\" src=\""+ifsrc+"\" style=\"margin:20px 5px;border:1px solid #ddd;border-radius:5px;margin-bottom:15px;background-color:#f2f2f2;padding-bottom:20px;\"></iframe>";   
        $("#que_main").html(znxtStr);
        $("#Loading").hide();
    }
    //章节练习
    function questionNum(id) {            
        var ifsrc="/Training/Chapter/ChapterList.aspx?action=chapter&id=" + id;
        var znxtStr="<iframe id=\"main\" name=\"main\" scrolling=\"no\" frameborder=\"0\" scrolling=\"yes\" width=\"99%\" height=\"100%\" src=\""+ifsrc+"\" style=\"margin:20px 5px;border:1px solid #ddd;border-radius:5px;margin-bottom:15px;background-color:#f2f2f2;padding-bottom:20px;\"></iframe>";   
        $("#que_main").html(znxtStr);
     }
     //错题回顾
     function cthg(){
     $("#Loading").show();
     $.get("/Training/Chapter/Que_home.ashx", { action: "cthg",r:Math.random() }, function (data) {
                $("#que_main").html(data);
            });
    $("#Loading").hide();
     }

     //错题练习
    function cishu(courtypename) {
        $("#Loading").show();
        var ifsrc = "/Training/Chapter/ChapterList.aspx?action=cishu&courtypename=" + encodeURI(courtypename) + "&" + Math.random();            
        var znxtStr="<iframe id=\"main\" name=\"main\" scrolling=\"no\" frameborder=\"0\" scrolling=\"yes\" width=\"99%\" height=\"100%\" src=\""+ifsrc+"\" style=\"margin:20px 5px;border:1px solid #ddd;border-radius:5px;margin-bottom:15px;background-color:#f2f2f2;padding-bottom:20px;\"></iframe>";   
        $("#que_main").html(znxtStr);
        $("#Loading").hide();
    }
    //收藏试题
    function scst() {
        $("#Loading").show();
        var ifsrc = "/Training/Chapter/ChapterList.aspx?action=scstlx";
        var znxtStr = "<iframe id=\"main\" name=\"main\" scrolling=\"no\" frameborder=\"0\" scrolling=\"yes\" width=\"99%\" height=\"500px\" src=\"" + ifsrc + "\" style=\"margin:20px 5px;border:1px solid #ddd;border-radius:5px;margin-bottom:15px;background-color:#f2f2f2;padding-bottom:20px;\"></iframe>";
        $("#que_main").html(znxtStr);
        $("#Loading").hide();
    }
     function ctnode(ctid){
        $("#"+ctid+"").toggle(1000);
     }
    </script>

</body>
</html>
