@using Angel.Models
@model AngelExam.Controllers.UOjbectClass
@{
    Layout = null;
}

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html style="height:100%;overflow:hidden">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" href="/Content/all.css" type="text/css" />
    <link href="/Content/lightbox.min.css" rel="stylesheet">
    <title>@ViewBag.AngelSystemName</title>
    <link rel="stylesheet" href="/Content/easyui.css" type="text/css" />
    <link rel="stylesheet" href="/Content/icon.css" type="text/css" />
    <link rel="stylesheet" href="/Content/portal.css" type="text/css" />
    <link rel="stylesheet" href="/Content/main.css" type="text/css" />
    <link rel="stylesheet" href="/Content/jquery.splitter.css" type="text/css">
    <script type="text/javascript" src="/Scripts/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="/Scripts/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="/Scripts/easyui-lang-zh_CN.js" charset="UTF-8"></script>

    <!-- 首页布局portal -->
    <script type="text/javascript" src="/Scripts/jquery.portal.js"></script>
    <!--垂直分割线 -->
    <script type="text/javascript" src="/Scripts/jquery.splitter-0.14.0.js"></script>
    <!-- easyui扩展JS -->
    <script type="text/javascript" src="/Scripts/extendEasyui.js"></script>
    <script type="text/javascript" src="/Scripts/validate.js" charset="UTF-8"></script>

    <script type="text/javascript" src="/Scripts/exam_v1.3.js"></script>
    <script type="text/javascript" src="/Scripts/formatInfo.js"></script>
    <script type="text/javascript" src="/Scripts/jquery.hotkeys.js"></script>
    <script src="/Scripts/jquery.jplayer.min.js"></script>
    <script src="/Scripts/photobooth_min.js"></script>
    <script type="text/javascript" charset="UTF-8">

        var basePath = "/";
        var parm, parm1
        var isAB = 2;
        var lib = '7';


        var _first = 0;
        var _all = 0;

        var c = 0;
        var examTime;

        var ts = 0;


        var _timer;
    </script>

</head>

<body onselectstart="return false" onpaste="return false" oncopy="return false;" oncut="return false;" oncontextmenu="return false;" style="height:100%;overflow:hidden">
    <noscript><iframe src=*.html></iframe></noscript>
    <div class="easyui-panel" title="" style="padding:0px;" fit=true>
        <div id="cc" class="easyui-layout" data-options="fit:true">
            <div data-options="region:'west'" style="width:12%;padding:2px;border: 0px;background:#ECEADB;">
                <!-- <div class="pageleft" id="testpageleft1">考场号：001</div> -->
                <div style="margin-top: 10px;">
                    <fieldset style="border:2px solid #F0F0EE;">
                        <legend>信息提示</legend>
                        考场号：001
                    </fieldset>
                </div>
                <div style="margin-top: 10px;">
                    <fieldset style="border:2px solid #F0F0EE;height: 260px;text-align: center;">
                        <legend>考生信息</legend>
                        <div id="camera" style="height: 140px;border:2px solid #F0F0EE;width: 95%">
                            <img src="/image/timg.jpg" width="130px" />
                        </div>
                        <ul style="line-height:20px; font-size:14px;list-style-type:none;padding-left: 0px;text-align: left;">
                            <li>账号：@Session["uname"]</li>
                            <li>车型：@Session["carmodel"]  </li>
                            <li>科目：@if (Session["subject"].Equals("1")) { @Html.Raw("科目一") } else { @Html.Raw("科目四") }   </li>
                        </ul>

                    </fieldset>
                </div>
                <div style="margin-top: 5px;">
                    <fieldset style="border:2px solid #F0F0EE;color:red;font-size:18px;">
                        <legend>剩余时间</legend>
                        <span id="timeCount"></span>
                    </fieldset>
                </div>

            </div>
            <div data-options="region:'east'" style="width:30%;padding:2px;border: 0px;">
                <div style="width:375px;height:26px;padding: 5px 0 0 5px;background:#64a6fa;">
                      <div class="heatab" style="width:30px;"><font size="1">题号</font></div>
                      <div class="heatab"><font size="1">1列</font></div>
                      <div class="heatab"><font size="1">2列</font></div>
                      <div class="heatab"><font size="1">3列</font></div>
                      <div class="heatab"><font size="1">4列</font></div>
                      <div class="heatab"><font size="1">5列</font></div>
                      <div class="heatab"><font size="1">6列</font></div>
                      <div class="heatab"><font size="1">7列</font></div>
                      <div class="heatab"><font size="1">8列</font></div>
                      <div class="heatab"><font size="1">9列</font></div>
                      <div class="heatab" style="width:28px;"><font size="1">10列</font></div>
                </div>
                <div class="pageright1" style="height:500px;width:378px; overflow:auto; border:1px solid #F0F0EE;background-color: #ECEADB;padding: 0 0 0 0;" id="questions">

                    <input type="hidden" id="token" value="cp015c724ad2744198">
                    <div style="width:36px;float:left;background:#64a6fa;">
                       <div class="heatab"><font size="1" style="text-align:center">1行</font></div>
                       <div class="heatab"><font size="1">2行</font></div>
                       <div class="heatab"><font size="1">3行</font></div>
                       <div class="heatab"><font size="1">4行</font></div>
                       <div class="heatab"><font size="1">5行</font></div>
                       @if (Session["subject"].Equals("1")) {
                       <div class="heatab"><font size="1">6行</font></div>
                       <div class="heatab"><font size="1">7行</font></div>
                       <div class="heatab"><font size="1">8行</font></div>
                       <div class="heatab"><font size="1">9行</font></div>
                       <div class="heatab"  style="width:28px;"><font size="1">10行</font></div>
                       }
                    </div>
                    <div style="width:320px;float:left;" id="qulist">
                            @foreach (TikuNumber tc in Model.tikunumberlist)
                            {
                            <div class="pointboxks pointboxnullks" id="@tc.id" data-isred="@tc.isred">@tc.number<span></span></div>    
                            } 
                        </div>
                </div>

            </div>
            <div data-options="region:'center'" style="padding:0px;border: 0px;height:500%" id="content">Center Content</div>
            

        </div>
    </div>
    <form id="form1" name="form1" action="/Question/ErrorQuestionReDo" method="post">
        <input type="hidden" name="token" value="" id="reToken" />
    </form>



</body>
</html>
<div id="jquery_jplayer"></div>
<div id="infoWindows" class="easyui-window" title="试卷提交" data-options="modal:true,doSize:false,closed:true,collapsible:false,minimizable:false,maximizable:false,closable:false"
     style="width:40%;height:70%;padding:0px;">
</div>

<div id="resolutWindows" class="easyui-window" title="答案错误" data-options="modal:true,doSize:false,closed:true,collapsible:false,minimizable:false,maximizable:false,closable:false"
     style="width:40%;height:70%;padding:0px;">
    您已经答错<span id="errorCount" style="font-size:20px;color:red">×</span>道题了，　继续答题;
    <div id="showNotes"></div>
</div>

<div id="errorWindows" class="easyui-window" title="错题讲解" data-options="modal:true,doSize:false,closed:true,collapsible:false,minimizable:false,maximizable:false,closable:true"
     style="width:40%;height:500px;padding:0px;overflow:hidden;">
    <div class="easyui-layout" data-options="fit:true" style="overflow:hidden;">
        <div style="background-color:white;height:100%;overflow:hidden;">
            <div id="qcontents" style="width: 100%;height:auto;font-size: 20px;word-spacing: 5px;padding:5px;"></div>
            <div style="padding:5px;background-color: green;width:100%;height:30px;"> </div>
            <div id="isokreslut" style="width:100%;height:60px;padding:5px;"><div style='margin-top: 10px;float: left;'>正确答案:</div><img  src='/image/chs_1.png' style='width: 32px;height: 32px;'/></div>
        </div>
        <div data-options="region:'south',border:false" style="text-align:center;padding:10px 0 20px;overflow:hidden;">
            <a class="easyui-linkbutton" href="javascript:void(0)" onclick="$('#errorWindows').window('close')" style="width:80px">继续考试</a>
            <p style="text-align:center;">页面将在6秒后自动关闭，返回考试主界面</p>
        </div>
    </div>

</div>
<div id="submitDialog" data-options="closed:true" class="easyui-dialog" title="交卷窗口" style="font-size: 15px;width:600px;height:auto;padding:0px;background-color:#1e98d8;word-spacing: 5px;line-height:150%"
     toolbar="#dlg-toolbar" buttons="#dlg-buttons">
    <div><font style="font-size:18px;color:red;margin-left:10px;line-height:50px;">操作提示</font></div>
    <div style="background-color:white;color:blue;height:180px;padding-left:10px;"><span id="showAlert"></span></div>
    <!-- 1.点击【确认交卷】，将提交考试成绩，结束考试！<br>
    2.点击【继续考试】，将关闭提示窗口，继续考试！ -->
</div>
<div id="dlg-toolbar" style="text-align:center;font-size: 25px;background-color: #1e98d8;color:black;line-height:70px;">
    考试确认窗口
</div>
<div id="dlg-buttons" style="text-align:center;background:rgb(30, 152, 216);height:56px;">

    <a id="btn_submitExam" href="#" class="easyui-linkbutton" style="line-height:46px;height:46px;width:80px;">确认交卷</a>
    <a href="#" class="easyui-linkbutton" onclick="javascript:$('#submitDialog').dialog('close')" style="line-height:46px;height:46px;width:80px;">继续考试</a>

</div>


<script src="/Scripts/lightbox.min.js"></script>