<%@ page language="C#" autoeventwireup="true" inherits="Course_CoursePreview, App_Web_vzflj4p3" theme="Themes" stylesheettheme="Themes" %>

<!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>
        <script src="../js/artDialog3/artDialog.min.js"></script>
      <script>          (function($) { var d = $.dialog.defaults; d.skin = ['chrome']; })(art);</script>
    <style type="text/css">
        .style1
        {
            height: 11px;
        }
        .style2
        {
            height: 11px;
            width: 8%;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="box" style="background-color:White;">
     <table bgcolor="white" width="100%" cellpadding="5" cellspacing="0" border="0">
            <tr>
                <td align="right">
                    <asp:Button ID="btnOn" runat="server" Text="启用" OnClick="btnOn_Click" 
                        Visible="False" />
                    <asp:Button ID="btnOff" runat="server" Text="停用" OnClick="btnOff_Click" 
                        Visible="False" />
                </td>
            </tr>
        </table>
    </div>
    <div>
    
        <table border="0" cellpadding="0" cellspacing="1" width="100%" class="table_notitle">
            <tr style="background-color:Gray">
                <td  style="background-color:#eeeeee; font-weight: bold; color: #000000;"  
                    align="left" class="td01" height="20" colspan="3" >
                    课程基本信息</td>
            </tr>
            <tr>
                <td bgcolor="#ffffff" align="right" class="td01" height="20" style="width: 8%" >
                    课程名称:
                </td>
                <td bgcolor="#ffffff" width="30%" align="left" height="20">
                    <asp:Label ID="lblCouseName" runat="server"></asp:Label>
                </td>
                <td bgcolor="#ffffff" width="30%" align="left" rowspan="5">
                    <img id="imgView" runat="server" name="imgBigView" src="../Upload/CourseImage/noimage.gif"
                        onerror="this.src='../Upload/CourseImage/noimage.gif'" width="90" height="120" /></td>
            </tr>
            <tr>
                <td bgcolor="#ffffff" height="20" align="right"  class="td01" style="width: 8%">
                    所属类型:
                </td>
                <td bgcolor="#ffffff" height="20" align="left">
                    <asp:Label ID="lblTypeName" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td bgcolor="#ffffff" height="20" align="right" class="td01" style="width: 8%">
                    标准课时:
                </td>
                <td bgcolor="#ffffff" height="20" align="left">
                    <asp:Label ID="lblMin" runat="server"></asp:Label>
                    分钟
                </td>
            </tr>
            <tr>
                <td bgcolor="#ffffff" height="20" align="right" class="td01" style="width: 8%">
                    是否允许申请:</td>
                <td bgcolor="#ffffff" height="20" align="left">
                    <asp:Label ID="lblIsCanApply" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td bgcolor="#ffffff" height="20" align="right" class="td01" style="width: 8%">
                    是否要求考试:
                </td>
                <td bgcolor="#ffffff" height="20" align="left">
                    <asp:Label ID="lblIsExam" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="background-color:#eeeeee; font-weight: bold; color: #000000;"   
                    height="20" align="left" class="td01" colspan="3">
                    课件信息  </tr>
            <tr>
                <td bgcolor="#ffffff" height="20" align="right" class="td01" style="width: 8%">
                    课件列表：</td>
                <td bgcolor="#ffffff" height="20" align="left" colspan="2">
                                                                <asp:GridView ID="gvCourseAdjunct" runat="server" AutoGenerateColumns="False" 
                                                                    DataKeyNames="ID" ShowHeader="False" 
                                                                    onrowdatabound="gvCourseAdjunct_RowDataBound">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="附件" ItemStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                              
                                                                                            <img src="../images/icons/<%# Eval("FileType") %>.gif" width="24" height="24" />
                                                                                            <asp:Label ID="lblFileType" runat="server" Text='<%# Eval("FileType") %>' Visible="false"></asp:Label>
                                                                                            <asp:Label ID="lblFolder" runat="server" Text='<%# Eval("FileName") %>' Visible="true"></asp:Label>
                                                                                   
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                     </Columns>
                                                                    <EmptyDataRowStyle BorderStyle="None" BorderWidth="0px" />
                                                                </asp:GridView>
                                                            </td>
            </tr>
            <tr>
                <td style="background-color:#eeeeee; font-weight: bold; color: #000000;"  
                    align="left" class="td01" colspan="3">
                    试题信息</td>
            </tr>
            <tr>
                <td bgcolor="#ffffff" align="right" class="td01" 
                    style="width: 8%; height: 11px;">
                    题目总数：</td>
                <td bgcolor="#ffffff" align="left" class="style1" colspan="2">
                    <asp:Label ID="lblTNum" runat="server"></asp:Label>
                    </td>
            </tr>
            <tr>
                <td bgcolor="#ffffff" height="20" align="right" class="td01" style="width: 8%">
                    分类数目：</td>
                <td bgcolor="#ffffff" height="20" align="left" colspan="2">
                    单选：<asp:Label ID="lblTNum1" runat="server"></asp:Label>
                    多选：<asp:Label ID="lblTNum2" runat="server"></asp:Label>
                    判断：<asp:Label ID="lblTNum3" runat="server"></asp:Label>
                    问答：<asp:Label ID="lblTNum4" runat="server"></asp:Label>
                    填空：<asp:Label ID="lblTNum5" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td bgcolor="#ffffff" height="20" align="right" class="style2">
                </td>
                <td bgcolor="#ffffff" height="20" align="left">
                    &nbsp;</td>
                <td bgcolor="#ffffff" height="20" align="left">
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
