<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="m_teachercheck.aspx.cs" Inherits="Web.sy.show.m_teachercheck" %>

<!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>OA标题页</title>
    <link href="../../css/css.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="../../css/popcalendar.js"></script>
    </head>
<body>
    <form id="fom" runat="server">
        <div id ="main-c-03-right" >
            <table cellpadding="0"; cellspacing ="0"; style =" width :100%;background-image: url('../../css/images/right_top.png'); background-repeat :repeat-x" >
                <tr>
                  <td class  ="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	    教学业务督查
                      	</td>
                </tr>
            </table>
            <div id="main-c-03-right02-main">
                <!--栏目开始 -->
            <!--这里添加内容 -->   
                                        <table style ="width :100%;" ><tr><td style =" width :70px;">当前学期：</td>
             <td colspan="2" style =" width :200px;">   
              <asp:Label ID="lbSemester" runat="server" ></asp:Label></td>
             <td colspan="2" style =" text-align :right ">   
                  <asp:HyperLink ID="HyperLink1" runat="server" 
                      NavigateUrl="m_teacherchecklist.aspx">查看督查记录</asp:HyperLink>
                                            </td></tr><tr><td style =" width :70px;">学科：
             </td>
             <td colspan="4">   
                  <asp:RadioButtonList ID="rblCourse" runat="server" AutoPostBack="True" 
                      onselectedindexchanged="rblCourse_SelectedIndexChanged"  CellSpacing="10"
                      RepeatDirection="Horizontal" RepeatColumns="8"> 
                  </asp:RadioButtonList> </td></tr><tr><td style =" width :70px;">年级：</td>
             <td colspan="4">   
                         <asp:RadioButtonList ID="rblGrade" runat="server" AutoPostBack="True" 
                      onselectedindexchanged="rblGrade_SelectedIndexChanged"  CellSpacing="10"
                      RepeatDirection="Horizontal" RepeatColumns="8">
                  </asp:RadioButtonList></td></tr><tr><td style =" width :70px;">教师：</td>
             <td  style =" width :80px;">   
                         <asp:DropDownList ID="ddlTeacher" runat="server" AutoPostBack="True" 
                             onselectedindexchanged="ddlTeacher_SelectedIndexChanged">
                         </asp:DropDownList>
                                                &nbsp;</td>
             <td colspan="2">   
                         &nbsp;</td>
             <td>   
                         &nbsp;</td></tr></table>
                <asp:LinkButton ID="lbtJiaoan" runat="server" onclick="lbtJiaoan_Click">显示教案</asp:LinkButton>
                <asp:Panel ID="plJiaoan" runat="server">
        <asp:GridView ID="GridView4" runat="server" Width="100%" 
                BorderWidth="1px" CssClass="gv" AutoGenerateColumns="False" 
                    onrowcreated="GridView1_RowCreated" 
                        onrowdatabound="GridView4_RowDataBound" >
            <RowStyle BorderWidth="1px" CssClass="gvrow" />
<Columns>
                     <asp:BoundField DataField="id" HeaderText="id" ReadOnly="True" />
                     <asp:BoundField DataField="coursename" HeaderText="学科" ReadOnly="True" />
                     <asp:TemplateField HeaderText="班级">
                         <ItemTemplate>
                             <asp:Label ID="Label1" runat="server" Text='<%# Bind("grade") %>'></asp:Label>（
                             <asp:Label ID="Label2" runat="server" Text='<%# Bind("classname") %>'></asp:Label>）班
                         </ItemTemplate>
                     </asp:TemplateField>
                      <asp:BoundField DataField="teachername" HeaderText="任课教师" ReadOnly="True" />
                      <asp:TemplateField HeaderText="课题">
                          <ItemTemplate>
                                   <asp:HyperLink ID="HyperLink_select" runat="server" Text='<%# Bind("planname") %>' Target ="_blank"></asp:HyperLink>
                          </ItemTemplate>
                     </asp:TemplateField>
                      <asp:BoundField DataField="state" HeaderText="状态" ReadOnly="True" />
                       <asp:TemplateField HeaderText="上课日期">
                           <ItemTemplate>
                               <asp:Label ID="Label3" runat="server" Text='<%# Eval("classdate","{0:d}") %>'></asp:Label>
                           </ItemTemplate>
                     </asp:TemplateField>
                       <asp:BoundField DataField="classid" HeaderText="节次" ReadOnly="True" />
      
                </Columns>
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView>
        <div style ="  text-align :left ;">
                      <asp:GridView ID="gvJiaoanview" runat="server"  AutoGenerateColumns="False"  
                          GridLines ="None" HeaderStyle-HorizontalAlign ="Left" 
                          onrowdatabound="gvview_RowDataBound" CellPadding="4" ForeColor="#333333" 
                          onrowcreated="gvview_RowCreated" ShowFooter="True" >
                          <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BorderWidth="0px" BackColor="#F7F6F3" ForeColor="#333333"  />
                          <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
<Columns>
 <asp:BoundField DataField="id" HeaderText="id" ReadOnly="True" />
                     <asp:TemplateField HeaderText="检查日期">
                         <ItemTemplate>
                             <asp:Label ID="lbcheckdate" runat="server" Text='<%# Eval("checkdate", "{0:d}") %>'></asp:Label>
                         </ItemTemplate>
                       
                         <HeaderStyle HorizontalAlign="Left" Width="70px" />
    </asp:TemplateField>
    <asp:BoundField DataField="process" HeaderStyle-HorizontalAlign="Left"  HeaderStyle-Width="200px"
        HeaderText="完成进度" ReadOnly="True">
    <HeaderStyle HorizontalAlign="Left" />
    </asp:BoundField>
    <asp:BoundField DataField="score" HeaderStyle-HorizontalAlign="Left"   HeaderStyle-Width="60px"
        HeaderText="分数" ReadOnly="True">
    <HeaderStyle HorizontalAlign="Left" />
    </asp:BoundField>
    <asp:BoundField DataField="checknote" HeaderStyle-HorizontalAlign="Left"   HeaderStyle-Width="100px"
        HeaderText="检查备注" ReadOnly="True">
    <HeaderStyle HorizontalAlign="Left" />
    </asp:BoundField>
                </Columns>
                          <EditRowStyle BackColor="#999999" />
                          <FooterStyle CssClass ="gv2head"/>
            <HeaderStyle BorderWidth="0px" CssClass ="gv2head"  />
                          <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                          <SortedAscendingCellStyle BackColor="#E9E7E2" />
                          <SortedAscendingHeaderStyle BackColor="#506C8C" />
                          <SortedDescendingCellStyle BackColor="#FFFDF8" />
                          <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
        </asp:GridView></div>
              <div  style =" margin-top :10px;">得分：<asp:TextBox ID="tbJiaoanScore" runat="server" Width="60px"></asp:TextBox>
            &nbsp; 打分说明：<asp:TextBox ID="tbJiaoanNote" runat="server" Width="200px"></asp:TextBox>
            &nbsp;
             <asp:Button ID="btAddjiaoan" runat="server" Text="提交" onclick="btAddjiaoan_Click" 
                      ValidationGroup="addjiaoan" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                      ControlToValidate="tbJiaoanScore" Display="Dynamic" ErrorMessage="得分不能为空。" 
                      ForeColor="Red" ValidationGroup="addjiaoan"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator17" 
                      runat="server" ControlToValidate="tbJiaoanScore" Display="Dynamic" 
                      ErrorMessage="请输入数字。" ForeColor="Red" 
                      ValidationExpression="^(?:[0-9]*|0)(?:\.[0-9]+)?$" 
                      ValidationGroup="addjiaoan"></asp:RegularExpressionValidator>   </div>
          <div style =" width :100% ; text-align :right ;">      
              <asp:LinkButton ID="lbtJiaoan_c" runat="server" onclick="lbtJiaoan_c_Click">隐藏教案</asp:LinkButton></div> 
         </asp:Panel> 

                <asp:LinkButton ID="lbtSuibi" runat="server" onclick="lbtSuibi_Click">显示教学随笔</asp:LinkButton>
                <asp:Panel ID="plSuibi" runat="server" Visible ="false" >
           

        <asp:DataList ID="DataList1" runat="server" Width="100%">
                   <AlternatingItemStyle CssClass="gv2row_AlternatingItemStyle" />
              <ItemTemplate>
              <div  class ="gv2row ">
            <div >标题：<asp:Label ID="Label01" runat="server" Text='<%# Bind("sytitle") %>'></asp:Label>  &nbsp; 
                 <asp:Label ID="Label4" runat="server" Text='<%# Eval("plandate", "{0:d}") %>'></asp:Label> </div>  
                 <div ><asp:Label ID="Label5" runat="server" Text='<%# Bind("sycontents") %>'></asp:Label></div> </div> 
            </ItemTemplate>
        </asp:DataList>
        <div style ="  text-align :left ;">
                      <asp:GridView ID="gvSuibiScore" runat="server"  AutoGenerateColumns="False"  
                          GridLines ="None" HeaderStyle-HorizontalAlign ="Left" 
                          onrowdatabound="gvview_RowDataBound" CellPadding="4" ForeColor="#333333" 
                          onrowcreated="gvview_RowCreated" ShowFooter="True" >
                          <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BorderWidth="0px" BackColor="#F7F6F3" ForeColor="#333333"  />
                          <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
<Columns>
 <asp:BoundField DataField="id" HeaderText="id" ReadOnly="True" />
                     <asp:TemplateField HeaderText="检查日期">
                         <ItemTemplate>
                             <asp:Label ID="lbcheckdate" runat="server" Text='<%# Eval("checkdate", "{0:d}") %>'></asp:Label>
                         </ItemTemplate>
                       
                         <HeaderStyle HorizontalAlign="Left" Width="70px" />
    </asp:TemplateField>
    <asp:BoundField DataField="process" HeaderStyle-HorizontalAlign="Left"  HeaderStyle-Width="200px"
        HeaderText="完成进度" ReadOnly="True">
    <HeaderStyle HorizontalAlign="Left" />
    </asp:BoundField>
    <asp:BoundField DataField="score" HeaderStyle-HorizontalAlign="Left"   HeaderStyle-Width="60px"
        HeaderText="分数" ReadOnly="True">
    <HeaderStyle HorizontalAlign="Left" />
    </asp:BoundField>
    <asp:BoundField DataField="checknote" HeaderStyle-HorizontalAlign="Left"   HeaderStyle-Width="100px"
        HeaderText="检查备注" ReadOnly="True">
    <HeaderStyle HorizontalAlign="Left" />
    </asp:BoundField>
                </Columns>
                          <EditRowStyle BackColor="#999999" />
                          <FooterStyle CssClass ="gv2head" />
            <HeaderStyle BorderWidth="0px" CssClass ="gv2head" />
                          <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                          <SortedAscendingCellStyle BackColor="#E9E7E2" />
                          <SortedAscendingHeaderStyle BackColor="#506C8C" />
                          <SortedDescendingCellStyle BackColor="#FFFDF8" />
                          <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
        </asp:GridView></div>
             
              <div style =" margin-top :10px;" >得分：<asp:TextBox ID="tbSuibi" runat="server" Width="60px"></asp:TextBox>
            &nbsp; 打分说明：<asp:TextBox ID="tbSuibiNote" runat="server" Width="200px"></asp:TextBox>
            &nbsp;
       <asp:Button ID="btAddSuibi" runat="server" Text="提交" onclick="btAddSuibi_Click" 
                ValidationGroup="addsuibi" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" 
                runat="server" ControlToValidate="tbSuibi" Display="Dynamic" 
                ErrorMessage="得分不能为空。" ForeColor="Red" ValidationGroup="addsuibi"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator18" 
                runat="server" ControlToValidate="tbSuibi" Display="Dynamic" 
                ErrorMessage="请输入数字。" ForeColor="Red" 
                ValidationExpression="^(?:[0-9]*|0)(?:\.[0-9]+)?$" ValidationGroup="addsuibi"></asp:RegularExpressionValidator>
                    </div>
         <div style =" width :100% ; text-align :right ;">       
             <asp:LinkButton ID="lbtSuibi_c" runat="server" onclick="lbtSuibi_c_Click">隐藏教学随笔</asp:LinkButton></div> 
        </asp:Panel>    
        
                <asp:LinkButton ID="lbtJihua" runat="server" onclick="lbtJihua_Click">显示教学计划</asp:LinkButton>
                <asp:Panel ID="plJihua" runat="server" Visible ="false" >
          
			<asp:GridView ID="GridView1" runat="server" Width="100%" 
                BorderWidth="1px" CssClass="gv" AutoGenerateColumns="False" 
                    onrowcreated="GridView1_RowCreated" 
                        onrowdatabound="GridView1_RowDataBound" >
            <RowStyle BorderWidth="1px" CssClass="gvrow" />
<Columns>
                     <asp:BoundField DataField="id" HeaderText="id" ReadOnly="True" />
                     <asp:TemplateField HeaderText="类别">
                       <ItemTemplate>
                      <asp:Label ID="lbCategories" runat="server" Text='教学计划'></asp:Label>
                     </ItemTemplate> 
                     </asp:TemplateField>
                      <asp:BoundField DataField="coursename" HeaderText="学科" ReadOnly="True" />

                     <asp:TemplateField HeaderText="班级">
                         <ItemTemplate>
                             <asp:Label ID="Label1" runat="server" Text='<%# Bind("grade") %>'></asp:Label>（
                             <asp:Label ID="Label2" runat="server" Text='<%# Bind("classname") %>'></asp:Label>）班
                         </ItemTemplate>
                     </asp:TemplateField>
      
                      <asp:BoundField DataField="teachername" HeaderText="任课教师" ReadOnly="True" />
                      <asp:TemplateField HeaderText="标题">
                          <ItemTemplate>
                                 <asp:HyperLink ID="HyperLink_select" runat="server" Text='<%# Bind("sytitle") %>' Target ="_blank"></asp:HyperLink>
                          </ItemTemplate>
                     </asp:TemplateField>
                      <asp:BoundField DataField="state" HeaderText="状态" ReadOnly="True" />
                          <asp:TemplateField HeaderText="提交日期">
                         <ItemTemplate>
                             <asp:Label ID="lbcheckdate" runat="server" Text='<%# Eval("plandate", "{0:d}") %>'></asp:Label>
                         </ItemTemplate>
                       </asp:TemplateField>
                </Columns>
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView>
        <div  runat ="server" id = "divJihuaScore_view" visible ="false" > 得分：<asp:Label ID="lbJihuaScore" runat="server"></asp:Label>&nbsp;<asp:Label
                        ID="lbJihuaNote" runat="server" ></asp:Label>       <asp:Label ID="lbJihuaDate" runat="server" Visible ="false"  ></asp:Label>
                        <asp:Label ID="lbJihuaid" runat="server" Visible="false"></asp:Label>
                    </div>
        <div runat ="server" id = "divJihuaScore" style =" margin-top :10px;">得分：<asp:TextBox ID="tbJihuaScore" runat="server" Width="60px"></asp:TextBox>
            &nbsp; 打分说明：<asp:TextBox ID="tbJihuaNote" runat="server" Width="200px"></asp:TextBox>
            &nbsp;
               <asp:Button ID="btAddjihua" runat="server" Text="提交" 
                onclick="btAddjihua_Click" ValidationGroup="addjihua" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" 
                runat="server" ControlToValidate="tbJihuaScore" Display="Dynamic" 
                ErrorMessage="得分不能为空。" ForeColor="Red" ValidationGroup="addjihua"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator19" 
                runat="server" ControlToValidate="tbJihuaScore" Display="Dynamic" 
                ErrorMessage="请输入数字。" ForeColor="Red" 
                ValidationExpression="^(?:[0-9]*|0)(?:\.[0-9]+)?$" ValidationGroup="addjihua"></asp:RegularExpressionValidator>
                    </div>
                  
     <div style =" width :100% ; text-align :right ;">    
         <asp:LinkButton ID="lbtJihua_c" runat="server" onclick="lbtJihua_c_Click">隐藏教学计划</asp:LinkButton></div> 
              </asp:Panel>

                <asp:LinkButton ID="lbtZongji" runat="server" onclick="lbtZongji_Click">显示教学总结</asp:LinkButton>
                <asp:Panel ID="plZongjie" runat="server" Visible ="false" >
        <asp:GridView ID="GridView2" runat="server" Width="100%" 
                BorderWidth="1px" CssClass="gv" AutoGenerateColumns="False" 
                    onrowcreated="GridView1_RowCreated" 
                        onrowdatabound="GridView1_RowDataBound" >
            <RowStyle BorderWidth="1px" CssClass="gvrow" />
<Columns>
                     <asp:BoundField DataField="id" HeaderText="id" ReadOnly="True" />
                     <asp:TemplateField HeaderText="类别">
                       <ItemTemplate>
                      <asp:Label ID="lbCategories" runat="server" Text='教学总结'></asp:Label>
                     </ItemTemplate> 
                     </asp:TemplateField>
                      <asp:BoundField DataField="coursename" HeaderText="学科" ReadOnly="True" />

                     <asp:TemplateField HeaderText="班级">
                         <ItemTemplate>
                             <asp:Label ID="Label1" runat="server" Text='<%# Bind("grade") %>'></asp:Label>（
                             <asp:Label ID="Label2" runat="server" Text='<%# Bind("classname") %>'></asp:Label>）班
                         </ItemTemplate>
                     </asp:TemplateField>
                      <asp:BoundField DataField="teachername" HeaderText="任课教师" ReadOnly="True" />
                      <asp:TemplateField HeaderText="标题">
                          <ItemTemplate>
                                 <asp:HyperLink ID="HyperLink_select" runat="server" Text='<%# Bind("sytitle") %>' Target ="_blank"></asp:HyperLink>
                          </ItemTemplate>
                     </asp:TemplateField>
                      <asp:BoundField DataField="state" HeaderText="状态" ReadOnly="True" />
                          <asp:TemplateField HeaderText="提交日期">
                         <ItemTemplate>
                             <asp:Label ID="lbcheckdate" runat="server" Text='<%# Eval("plandate", "{0:d}") %>'></asp:Label>
                         </ItemTemplate>
                       </asp:TemplateField>
                </Columns>
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView>
                <div  runat ="server" id = "divZongjie_view" visible ="false" > 得分：<asp:Label ID="lbZongjieScore" runat="server"></asp:Label>&nbsp;<asp:Label
                        ID="lbZongjieNote" runat="server" ></asp:Label>
                        <asp:Label ID="lbZongjieDate" runat="server" Visible ="false"  ></asp:Label>
                        <asp:Label ID="lbZongjieid" runat="server" Visible="false"></asp:Label>
                    </div>
                <div runat ="server" id = "divZongjie" style =" margin-top :10px;">得分：<asp:TextBox ID="tbZongjieScore" runat="server" Width="60px"></asp:TextBox>
            &nbsp; 打分说明：<asp:TextBox ID="tbZongjieNote" runat="server" Width="200px"></asp:TextBox>
            &nbsp;
         <asp:Button ID="btAddzongfen" runat="server" Text="提交" onclick="btAddzongfen_Click" 
                        ValidationGroup="addzongjie" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" 
                        ControlToValidate="tbZongjieScore" Display="Dynamic" ErrorMessage="得分不能为空。" 
                        ForeColor="Red" ValidationGroup="addzongjie"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator20" 
                        runat="server" ControlToValidate="tbZongjieScore" Display="Dynamic" 
                        ErrorMessage="请输入数字。" ForeColor="Red" 
                        ValidationExpression="^(?:[0-9]*|0)(?:\.[0-9]+)?$" ValidationGroup="addzongjie"></asp:RegularExpressionValidator>
                    </div>
                   
            <div style =" width :100% ; text-align :right ;">                
                <asp:LinkButton ID="lbtZongjie_c" runat="server" onclick="lbtZongjie_c_Click">隐藏教学总结</asp:LinkButton></div> 
        </asp:Panel> 
<!--栏目结束 -->
                </div>
            </div>
        </form>
    </body>
</html>
