<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Admin_Term.aspx.vb" Inherits="SchoolJw.Admin_Term"%>
<HTML>
	<HEAD>
		<title>
			<asp:Literal id="LitTitle" runat="server"></asp:Literal></title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<script language="javascript" src="js/0451skyTerm.js"></script>
		<link href="Style/01/Public.css" rel="stylesheet" type="text/css">
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="Menu1Table">
				<tr>
					<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td class="Menu1Left">&nbsp;</td>
								<td class="Menu1Center"><table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td nowrap class="Menu1IMG">&nbsp;</td>
											<td class="Menu1Font">学期管理</td>
											<td nowrap>&nbsp;</td>
										</tr>
									</table>
								</td>
								<td class="Menu1Right">&nbsp;</td>
							</tr>
						</table>
						<table width="100%" border="0" cellpadding="0" cellspacing="0" class="Menu1Foot">
							<tr>
								<td class="Menu1Footbody"><table width="99%" border="0" align="center" cellPadding="5" cellSpacing="0" class="TableChange">
										<tr>
											<td width="50%" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="Menu2Table">
													<tr>
														<td class="Menu2Td"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
																<tr>
																	<td><table width="100%" border="0" cellpadding="0" cellspacing="1" class="MeNewTableLine">
																			<tr>
																				<td class="Menu3Table">学期增加</td>
																			</tr>
																			<tr>
																				<td class="MeNewTDLine"><table width="100%" border="0" cellpadding="0" cellspacing="1" class="MeNewTableLine">
																						<tr align="center" class="MeNewTDLine">
																							<td width="28%">学期名称</td>
																							<td width="72%" align="left">
																								<asp:TextBox id="TxtTerm1" runat="server"></asp:TextBox></td>
																						</tr>
																						<tr align="center" class="MeNewTDLine">
																							<td>显示顺序</td>
																							<td align="left">
																								<asp:TextBox id="TxtShowID1" runat="server"></asp:TextBox></td>
																						</tr>
																						<tr align="center" class="MeNewTDLine">
																							<td colspan="2">
																								<asp:Button id="Btn1" runat="server" Text="确认增加"></asp:Button>&nbsp;</td>
																						</tr>
																					</table>
																				</td>
																			</tr>
																		</table>
																	</td>
																	<td><table width="100%" border="0" cellpadding="0" cellspacing="1" class="MeNewTableLine">
																			<tr>
																				<td class="Menu3Table">学期修改</td>
																			</tr>
																			<tr>
																				<td class="MeNewTDLine"><table width="100%" border="0" cellpadding="0" cellspacing="1" class="MeNewTableLine">
																						<tr align="center" class="MeNewTDLine">
																							<td width="28%">学期名称</td>
																							<td width="72%" align="left">
																								<asp:TextBox id="TxtTerm2" runat="server"></asp:TextBox></td>
																						</tr>
																						<tr align="center" class="MeNewTDLine">
																							<td>显示顺序</td>
																							<td align="left">
																								<asp:TextBox id="TxtShowID2" runat="server"></asp:TextBox></td>
																						</tr>
																						<tr align="center" class="MeNewTDLine">
																							<td colspan="2">
																								<asp:Button id="Btn2" runat="server" Text="确认修改" Enabled="False" ToolTip="请在学期列表中选择要修改的学期,后才能修改!"></asp:Button>&nbsp;</td>
																						</tr>
																					</table>
																				</td>
																			</tr>
																		</table>
																	</td>
																</tr>
															</table>
															<br>
															<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="MeNewTableLine">
																<tr>
																	<td valign="top" class="MeNewTDLine">
																		<table width="100%" border="0" cellpadding="0" cellspacing="0">
																			<tr>
																				<td valign="top"><table width="100%" border="0" align="left" cellpadding="0" cellspacing="1" class="MeNewTableLine">
																						<tr>
																							<td align="left" valign="middle" class="Menu3Table">学期设置列表</td>
																						</tr>
																						<tr>
																							<td valign="top" class="MeNewTDLine">
																								<asp:DataGrid id="DataArtList" runat="server" AutoGenerateColumns="False" Width="95%" CssClass="MeNewTableLine"
																									HorizontalAlign="Center" CellPadding="1" BorderStyle="None" GridLines="None" CellSpacing="1">
																									<ItemStyle HorizontalAlign="Center" CssClass="MeNewTDLine"></ItemStyle>
																									<HeaderStyle HorizontalAlign="Center" CssClass="MeNewTDtopLine"></HeaderStyle>
																									<Columns>
																										<asp:BoundColumn DataField="ID" HeaderText="ID"></asp:BoundColumn>
																										<asp:TemplateColumn HeaderText="选择">
																											<ItemTemplate>
																												<asp:CheckBox id="ChkSelect" runat="server" Text="" ToolTip='<%# DataBinder.Eval(Container, "DataItem.ID") %>'>
																												</asp:CheckBox>
																											</ItemTemplate>
																										</asp:TemplateColumn>
																										<asp:ButtonColumn DataTextField="SkyMain" CommandName="SkyMain"></asp:ButtonColumn>
																										<asp:BoundColumn DataField="SkyTerm" HeaderText="学期名称"></asp:BoundColumn>
																										<asp:BoundColumn DataField="ShowID" HeaderText="显示顺序"></asp:BoundColumn>
																										<asp:BoundColumn DataField="SkyDate" HeaderText="时间" DataFormatString="{0:D}"></asp:BoundColumn>
																										<asp:ButtonColumn Text="修改" HeaderText="修改" CommandName="Modify"></asp:ButtonColumn>
																										<asp:BoundColumn Visible="False" DataField="SkyMain"></asp:BoundColumn>
																									</Columns>
																									<PagerStyle Visible="False"></PagerStyle>
																								</asp:DataGrid>
																							</td>
																						</tr>
																						<tr>
																							<td align="right" valign="middle" class="MeNewTDLine">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
																								<asp:literal id="LiteralFY" runat="server"></asp:literal></td>
																						</tr>
																						<tr>
																							<td align="center" valign="middle" class="MeNewTDLine"><input name="Submit" type="button" class="XcBtn" value="全部选择" onClick="SelectAll();">
																								<input name="Submit2" type="button" class="XcBtn" value="反向选择" onClick="SelectFX();">
																								<asp:Button id="BtnDel" runat="server" CssClass="xcbtn" Text="删除选中"></asp:Button></td>
																						</tr>
																					</table>
																				</td>
																			</tr>
																		</table>
																	</td>
																</tr>
															</table>
															<br>
															<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
																<tr>
																	<td><table width="100%" border="0" cellpadding="0" cellspacing="1" class="MeNewTableLine">
																			<tr align="center">
																				<td colspan="2" align="left" class="Menu3Table">帮助说明</td>
																			</tr>
																			<tr align="center" class="MeNewTDLine">
																				<td colspan="2" align="left" class="MeNewTDLine">1、请在<strong>学期增加</strong>处增加学期，和显示顺序<br>
																					2、请在<strong>学期设置列表</strong>中选择要修改的项目，然后在<strong>学期修改</strong>处修改学期的信息<br>
																					3、只能有一个学期为<strong>默认学期</strong>，既当前学期!<br>
																					4、没有默认学期，网站将不能正常操作！</td>
																			</tr>
																		</table>
																	</td>
																</tr>
															</table>
															<asp:Literal id="LiteralScript" runat="server" EnableViewState="False"></asp:Literal></td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
