<%@ page language="C#" autoeventwireup="true" inherits="Learn_ExamineCourse, App_Web_gglmqxdj" %>

<!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 id="Head1" runat="server">
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <base target="_self">
    </base>
    <style>
        body
        {
            margin-top: 0px;
            margin-bottom: 0px;
            margin-left: 0px;
            margin-right: 0px;overflow-y:scroll;
          
            
        }
        .dragDiv
        {
            position: absolute;
            background-color: #c3d9ff;
            margin: 0px;
            padding: 5px;
            border: 0px;
            width: 420px;
        }
    </style>
    
    <link type="text/css" rel="Stylesheet" href="../css/validwin.css" />
    <script src="../Js/Common.js" type="text/javascript"></script>
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/validwin.js" type="text/javascript"></script>

    <script type="text/javascript">
        function fullScreeen() {
            var course_intro = document.getElementById("course_intro");
            course_intro.style.display = 'none';
        }
        function restoreScreen() {
            var course_intro = document.getElementById("course_intro");
            course_intro.style.display = '';
        }

        var timerID;
        function LearningTimeStatistics(v) {
            
            //timerID = window.setInterval('sendAJAX("LearningTimeStatistics.aspx", ' + '"' + v + '"' + ', "get", ' + onComplete + ', true, false)', 300000);
            //setTimeout('showwin()', 1205000);
        }
        function onComplete(result) {
            //alert(result);
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div id="win1" style="z-index: 999999" align="left">
        <div id="title">
            <span>学习确认</span></div>
        <div id="con">
            <table width="99%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td align="center">
                        <font color="red">您已经学习了20分钟，<br />
                            请确认继续学习！</font>
                    </td>
                </tr>
                <tr>
                    <td height="25">
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <div id="close" style="width: 100px;">
                            <input type="button" value="确定！" style="width: 99px;" class="BigButton" onclick="LearningTimeStatistics();" /></div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <table width="100%" cellpadding="0" cellspacing="0" class="table_3">
        <tr>
            <td class="nav_font">
                <img src="../Images/ico4.gif" />
                当前的位置：我的桌面 &gt; 查看错误试题 &gt; 查看课程内容
            </td>
        </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="white" style="border:solid 1px #cccccc;">
        <tr>
            <td align="center">
                <table width="99%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="99%" align="center" valign="top">
                            <table width="99%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td align="left" class="textboldblack">
                                        <img src="../images/tubiao14.gif" width="14" height="14"> 学习课程
                                        <asp:Label ID="lblMessage" runat="server" Style="display: none"></asp:Label>                                        
                                    </td>
                                    <td align="right" valign="top" width="50%" height="30px">
                                        <asp:ImageButton ImageUrl="~/Images/all_scn.gif" ID="fullScreen_toggle" runat="server" Visible="false"  OnClick="fullScreen_toggle_Click" /></td>
                                </tr>
                            </table>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="" align="center" valign="top">
                                        <table width="99%" border="0" cellpadding="5" cellspacing="0" class="videobk">
                                            <tr>
                                                <td align="left">
                                                    <asp:UpdatePanel ID="UpdatePanelGvUser" runat="server">
                                                        <ContentTemplate>
                                                            <iframe id="LearnPanel" width="100%" runat="server" height="560" frameborder="0"
                                                                src="../images/tip.gif" style="border-width: 1px"></iframe>
                                                        </ContentTemplate>
                                                        <Triggers>
                                                            <asp:AsyncPostBackTrigger ControlID="gvCourseAdjunct" />
                                                        </Triggers>
                                                    </asp:UpdatePanel>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                    <td id="course_intro" valign="top" align="left" height="560px" width="200px" runat="server">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="course">
                                            <tr>
                                                <td width="100%" align="center">
                                                    <br />
                                                    <table width="120px" border="0" cellpadding="2" cellspacing="1" bgcolor="#CDCDCD">
                                                        <tr>
                                                            <td bgcolor="#FFFFFF" align="center">
                                                                <asp:Image ID="imgPic" runat="server" Width="120px" Height="160px" BorderWidth="0px" />
                                                            </td>
                                                        </tr>
                                                    </table>
                                                    <br>
                                                    <table width="98%" border="0" cellspacing="0" cellpadding="3">
                                                        <tr>
                                                            <td align="left" width="70px" height="20px">
                                                                课程名称：                                                             </td>
                                                            <td align="left">
                                                                <asp:Label ID="lblName" runat="server" Font-Bold="True" ForeColor="#000000"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td align="left" height="20px">
                                                                课程类别：
                                                            </td>
                                                            <td align="left">
                                                                <asp:Label ID="lblTypeID" runat="server"></asp:Label>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                    <br>
                                                    <table width="97%" border="0" cellspacing="0" cellpadding="3">
                                                        <tr>
                                                            <td>
                                                                <asp:GridView ID="gvCourseAdjunct" runat="server" AutoGenerateColumns="False" DataKeyNames="ID"
                                                                    OnRowCommand="gvCourseAdjunct_RowCommand" ShowHeader="False">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="附件">
                                                                            <ItemTemplate>
                                                                                <table style="width: 100%;" border="0" cellpadding="0" cellspacing="3">
                                                                                    <tr>
                                                                                        <td align="center" width="40px">
                                                                                            <img src="../images/icons/<%# Eval("FileType") %>.gif" width="24" height="24" />
                                                                                        </td>
                                                                                        <td align="left">
                                                                                            <asp:LinkButton ID="lbtnFileName" runat="server" Text='<%# Eval("FileName") %>' CommandName="read"
                                                                                                Font-Overline="false" ForeColor="Black" ToolTip="点击学习"></asp:LinkButton>
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="学习">
                                                                            <ItemTemplate>
                                                                                <asp:Button ID="btnRead" CommandName="learn" runat="server" ToolTip="点击学习" Text="学习"
                                                                                    CssClass="BigButton" />
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                    <EmptyDataRowStyle BorderStyle="None" BorderWidth="0px" />
                                                                </asp:GridView>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                    <br>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>