<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TK_check_Read.aspx.cs" Inherits="_7soft.TK_check_Read" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>M_user</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		


	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<FONT face="宋体">
				<TABLE id="Table1" cellSpacing="1" cellPadding="1" align="center" border="0" style="width: 1092px">
					<TR>
						<TD >
                            <strong>阅读理解题管理</strong></TD>
					</TR>
                    <tr>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            状态:<asp:DropDownList ID="DDList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DDList1_SelectedIndexChanged">
                                <asp:ListItem>所有</asp:ListItem>
                                <asp:ListItem>未审核</asp:ListItem>
                                <asp:ListItem>审核退回</asp:ListItem>
                                <asp:ListItem>已审核</asp:ListItem>
                            </asp:DropDownList>试卷名称：<asp:DropDownList ID="examclass" runat="server" AutoPostBack="True"
                                OnSelectedIndexChanged="examclass_SelectedIndexChanged">
                            </asp:DropDownList>
                            查询&nbsp; 题号：<asp:DropDownList ID="SearchType" runat="server">
                                <asp:ListItem>&gt;</asp:ListItem>
                                <asp:ListItem>=</asp:ListItem>
                                <asp:ListItem>&lt;</asp:ListItem>
                            </asp:DropDownList>
                            <asp:TextBox ID="key" runat="server" Width="67px"></asp:TextBox>
                            <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="查询" />&nbsp;
                            &nbsp;&nbsp; &nbsp;<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" OnClientClick=" var   rv=window.showModalDialog('tk_checklist.aspx?tablename=question_Read','help','dialogWidth:560px;dialogHeight:650px;status:yes;help:no;scroll:yes;'); if (rv[0]='ok'){window.parent.contents.location.reload();window.location.href=document.URL;}"
                                Text="切换到 未审核 科目" Width="148px" /></td>
                    </tr>
                    <tr>
                        <td >
                            <asp:Label ID="msg" runat="server" ForeColor="Red"></asp:Label></td>
                    </tr>
					<TR>
						<TD><asp:datagrid id="DataGrid1" runat="server" CellPadding="3" BorderWidth="1px" BorderStyle="None"
								BorderColor="#CCCCCC" BackColor="White" AutoGenerateColumns="False" Height="0px" Width="1200px" OnDeleteCommand="DataGrid1_DeleteCommand" OnItemCommand="DataGrid1_ItemCommand" OnItemCreated="DataGrid1_ItemCreated" OnItemDataBound="DataGrid1_ItemDataBound" OnSelectedIndexChanged="DataGrid1_SelectedIndexChanged" AllowPaging="True" OnPageIndexChanged="DataGrid1_PageIndexChanged">
								<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#FF9900"></SelectedItemStyle>
								<ItemStyle ForeColor="#000066"></ItemStyle>
								<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#006699"></HeaderStyle>
								<FooterStyle ForeColor="#000066" BackColor="White"></FooterStyle>
								<Columns>          
                                   


 <asp:ButtonColumn  CommandName="Delete" text="删除" ButtonType="PushButton" >
                                    </asp:ButtonColumn>
                                    <asp:ButtonColumn ButtonType="PushButton" CommandName="Edit_Button" Text="修改"></asp:ButtonColumn>
                                    <asp:ButtonColumn ButtonType="PushButton" CommandName="check_ok_Button" Text="审核通过"></asp:ButtonColumn>
                                    <asp:ButtonColumn ButtonType="PushButton" CommandName="check_no_Button" Text="审核退回"></asp:ButtonColumn>
                                    
                                    <asp:BoundColumn DataField="Check" HeaderText="状态">
                                        <HeaderStyle Width="36px" />
                                    </asp:BoundColumn>
                                    <asp:BoundColumn DataField="optionid" HeaderText="选项号"></asp:BoundColumn>
   <asp:ButtonColumn ButtonType="PushButton" CommandName="ReadOption_Button" Text="查询小题"></asp:ButtonColumn>
									<asp:BoundColumn DataField="id" HeaderText="题号">
										<HeaderStyle Width="34px"></HeaderStyle>
									</asp:BoundColumn>									
									<asp:TemplateColumn HeaderText="题目">     
        <ItemTemplate>   
              <%# myfun(DataBinder.Eval(Container.DataItem,"question").ToString() ) %> 
        </ItemTemplate>   
                                        <HeaderStyle Width="200px" />
  </asp:TemplateColumn>   
                                    <asp:BoundColumn DataField="reason" HeaderText="答案解析">
                                        <HeaderStyle Width="80px" />
                                    </asp:BoundColumn>
                                    <asp:BoundColumn DataField="ken_name" HeaderText="知识点"></asp:BoundColumn>
                                     <asp:BoundColumn DataField="examclassname" HeaderText="试卷名称"></asp:BoundColumn>
                                    
                                    <asp:BoundColumn DataField="addren" HeaderText="操作员"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="addtime" HeaderText="时间">
                                        <HeaderStyle Width="40px" />
                                    </asp:BoundColumn>
								</Columns>
								<PagerStyle HorizontalAlign="Left" ForeColor="#000066" BackColor="White" Mode="NumericPages" Position="TopAndBottom"></PagerStyle>
							</asp:datagrid></TD>
					</TR>
					<TR>
						<TD align="left" style="width: 717px">
                            *无法审核自已添加的试题，并不能查询显示<br />
                            *审核通过：会将试题直接收集进题库系统，并邮件通知试题添加者<br />
                            *审核退回：会将试题状态改成“审核退回”，并邮件通知试题添加者，审核退回的试题可以经过修改再次提交审核</TD>
					</TR>
				</TABLE>
			</FONT>
		</form>
	</body>
</HTML>
