<%@ 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/0451SkyPage.js"></script>
		<script language="javascript" src="../js/0451skyTerm.js"></script>
		<script language="javascript" src="../js/0451SkyDateSelect.js"></script>
		<link href="../style/default/skin.css" rel="stylesheet" type="text/css">
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<table width="100%" height="100" border="0" cellpadding="0" cellspacing="0" class="Wtablemain">
				<tr>
					<td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="WtableT">
							<tr>
								<td class="WtableTleft">&nbsp;</td>
								<td class="WtableTcenter"><table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="46%" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="5%"><div align="center"><img src="../style/default/tab/index.gif"></div>
														</td>
														<td width="95%" class="WtableTBig">学期管理</td>
													</tr>
												</table>
											</td>
											<td width="54%">&nbsp;</td>
										</tr>
									</table>
								</td>
								<td class="WtableTright">&nbsp;</td>
							</tr>
						</table>
						<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableC">
							<tr>
								<td class="tableCleft">&nbsp;</td>
								<td height="100" class="tableCcenter"><table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td valign="top"><table width="100%" height="100" border="0" cellpadding="0" cellspacing="0" class="tablemain">
													<tr>
														<td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableT">
																<tr>
																	<td class="tableTleft">&nbsp;</td>
																	<td class="tableTcenter"><table width="100%" border="0" cellspacing="0" cellpadding="0">
																			<tr>
																				<td width="46%" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
																						<tr>
																							<td width="5%"><div align="center"><img src="../style/default/tab/tb.gif"></div>
																							</td>
																							<td width="95%" class="tableTBig">学期增加</td>
																						</tr>
																					</table>
																				</td>
																				<td width="54%">&nbsp;</td>
																			</tr>
																		</table>
																	</td>
																	<td class="tableTright">&nbsp;</td>
																</tr>
															</table>
															<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableC">
																<tr>
																	<td class="tableCleft">&nbsp;</td>
																	<td class="tableCcenter"><table class="SkyTDLine" cellSpacing="1" cellPadding="0" width="100%" border="0">
																			<tr>
																				<td class="MeNewTDLine"><table width="100%" border="0" cellpadding="0" cellspacing="1" class="SkyTDLine">
																						<tr class="MeNewTDLine" align="center">
																							<td class="SkyTDLine">学期编号</td>
																							<td align="left" class="SkyTDLine">
																								<asp:TextBox id="TxtTermID1" runat="server" Width="56px"></asp:TextBox>
																								必须填写(不能修改)</td>
																						</tr>
																						<tr class="MeNewTDLine" align="center">
																							<td width="28%" class="SkyTDLine">学期名称</td>
																							<td width="72%" align="left" class="SkyTDLine"><asp:TextBox id="TxtTerm1" runat="server"></asp:TextBox></td>
																						</tr>
																						<tr class="MeNewTDLine" align="center">
																							<td class="SkyTDLine">显示顺序</td>
																							<td align="left" class="SkyTDLine"><asp:TextBox id="TxtShowID1" runat="server"></asp:TextBox></td>
																						</tr>
																						<tr class="MeNewTDLine" align="center">
																							<td class="SkyTDLine">开始时间</td>
																							<td align="left" class="SkyTDLine">
																								<asp:TextBox id="TxtTime1" runat="server" ReadOnly="True"></asp:TextBox>
																								必须填写</td>
																						</tr>
																						<tr class="MeNewTDLine" align="center">
																							<td colspan="2" class="SkyTDLine"><asp:Button id="Btn1" runat="server" Text="确认增加" class="SkyButtonBlur" onMouseOut="this.className='SkyButtonBlur'"
																									onMouseOver="this.className='SkyButtonFocus'"></asp:Button>
																								&nbsp;</td>
																						</tr>
																					</table>
																				</td>
																			</tr>
																		</table>
																	</td>
																	<td class="tableCright">&nbsp;</td>
																</tr>
															</table>
															<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableF">
																<tr>
																	<td class="tableFleft">&nbsp;</td>
																	<td class="tableFcenter">&nbsp;</td>
																	<td class="tableFright">&nbsp;</td>
																</tr>
															</table>
														</td>
													</tr>
												</table>
											</td>
											<td width="50%"><table width="100%" height="100" border="0" cellpadding="0" cellspacing="0" class="tablemain">
													<tr>
														<td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableT">
																<tr>
																	<td class="tableTleft">&nbsp;</td>
																	<td class="tableTcenter"><table width="100%" border="0" cellspacing="0" cellpadding="0">
																			<tr>
																				<td width="46%" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
																						<tr>
																							<td width="5%"><div align="center"><img src="../style/default/tab/tb.gif"></div>
																							</td>
																							<td width="95%" class="tableTBig">学期修改</td>
																						</tr>
																					</table>
																				</td>
																				<td width="54%">&nbsp;</td>
																			</tr>
																		</table>
																	</td>
																	<td class="tableTright">&nbsp;</td>
																</tr>
															</table>
															<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableC">
																<tr>
																	<td class="tableCleft">&nbsp;</td>
																	<td class="tableCcenter"><table class="SkyTDLine" cellSpacing="1" cellPadding="0" width="100%" border="0">
																			<tr>
																				<td class="MeNewTDLine"><table width="100%" border="0" cellpadding="0" cellspacing="1" class="SkyTDLine">
																						<tr class="MeNewTDLine" align="center">
																							<td class="SkyTDLine">学期编号</td>
																							<td align="left" class="SkyTDLine">
																								<asp:TextBox id="TxtTermID2" runat="server" Width="56px" ReadOnly="True"></asp:TextBox></td>
																						</tr>
																						<tr class="MeNewTDLine" align="center">
																							<td width="28%" class="SkyTDLine">学期名称</td>
																							<td width="72%" align="left" class="SkyTDLine"><asp:TextBox id="TxtTerm2" runat="server"></asp:TextBox></td>
																						</tr>
																						<tr class="MeNewTDLine" align="center">
																							<td class="SkyTDLine">显示顺序</td>
																							<td align="left" class="SkyTDLine"><asp:TextBox id="TxtShowID2" runat="server"></asp:TextBox></td>
																						</tr>
																						<tr class="MeNewTDLine" align="center">
																							<td class="SkyTDLine">开始时间</td>
																							<td align="left" class="SkyTDLine">
																								<asp:TextBox id="TxtTime2" runat="server" ReadOnly="True"></asp:TextBox></td>
																						</tr>
																						<tr class="MeNewTDLine" align="center">
																							<td colspan="2" class="SkyTDLine"><asp:Button id="Btn2" runat="server" Text="确认修改" Enabled="False" ToolTip="请在学期列表中选择要修改的学期,后才能修改!"
																									class="SkyButtonBlur" onMouseOut="this.className='SkyButtonBlur'" onMouseOver="this.className='SkyButtonFocus'"></asp:Button>
																								&nbsp;</td>
																						</tr>
																					</table>
																				</td>
																			</tr>
																		</table>
																	</td>
																	<td class="tableCright">&nbsp;</td>
																</tr>
															</table>
															<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableF">
																<tr>
																	<td class="tableFleft">&nbsp;</td>
																	<td class="tableFcenter">&nbsp;</td>
																	<td class="tableFright">&nbsp;</td>
																</tr>
															</table>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
									<table width="100%" height="100" border="0" cellpadding="0" cellspacing="0" class="tablemain">
										<tr>
											<td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableT">
													<tr>
														<td class="tableTleft">&nbsp;</td>
														<td class="tableTcenter"><table width="100%" border="0" cellspacing="0" cellpadding="0">
																<tr>
																	<td width="46%" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
																			<tr>
																				<td width="5%"><div align="center"><img src="../style/default/tab/tb.gif" width="16" height="16"></div>
																				</td>
																				<td width="95%" class="tableTBig">学期设置列表</td>
																			</tr>
																		</table>
																	</td>
																	<td width="54%"><table border="0" align="right" cellpadding="0" cellspacing="0">
																			<tr>
																				<td width="60"><asp:Literal id="LSelectAll" runat="server"></asp:Literal>
																				</td>
																				<td width="60"><table width="90%" border="0" cellpadding="0" cellspacing="0">
																						<tr>
																							<td class="tablenoprinfo"><div align="center"><img src="../style/default/tab/22.gif" width="14" height="14"></div>
																							</td>
																							<td class="tablenoprinfo"><div align="center">
																									<asp:LinkButton id="LnkBAdd" runat="server" Enabled="False">新增</asp:LinkButton>
																								</div>
																							</td>
																						</tr>
																					</table>
																				</td>
																				<td width="60"><table width="90%" border="0" cellpadding="0" cellspacing="0">
																						<tr>
																							<td class="tablenoprinfo"><div align="center"><img src="../style/default/tab/33.gif" width="14" height="14"></div>
																							</td>
																							<td class="tablenoprinfo"><div align="center">
																									<asp:LinkButton id="LnkBModify" runat="server" Enabled="False">修改</asp:LinkButton>
																								</div>
																							</td>
																						</tr>
																					</table>
																				</td>
																				<td width="60"><table width="88%" border="0" cellpadding="0" cellspacing="0">
																						<tr>
																							<td class="tablenoprinfo"><div align="center"><img src="../style/default/tab/11.gif" width="14" height="14"></div>
																							</td>
																							<td class="tablenoprinfo"><div align="center">
																									<asp:LinkButton id="LnkBDelete" runat="server">删除</asp:LinkButton>
																								</div>
																							</td>
																						</tr>
																					</table>
																				</td>
																			</tr>
																		</table>
																	</td>
																</tr>
															</table>
														</td>
														<td class="tableTright">&nbsp;</td>
													</tr>
												</table>
												<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableC">
													<tr>
														<td class="tableCleft">&nbsp;</td>
														<td class="tableCcenter"><table width="100%" border="0" align="left" cellpadding="0" cellspacing="1" class="SkyTDLine">
																<tr>
																	<td valign="top" class="MeNewTDLine"><asp:DataGrid id="DataArtList" runat="server" AutoGenerateColumns="False" Width="100%" Cssclass="Ntable"
																			HorizontalAlign="Center" BorderStyle="None" GridLines="None" CellSpacing="1" CellPadding="1">
																			<ItemStyle HorizontalAlign="Center" CssClass="SkyTDLine"></ItemStyle>
																			<HeaderStyle HorizontalAlign="Center" CssClass="SkyTDTopLine"></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>
															</table>
														</td>
														<td class="tableCright">&nbsp;</td>
													</tr>
												</table>
												<table width="100%" border="0" cellpadding="0" cellspacing="0" class="WtableF">
													<tr>
														<td class="WtableFleft">&nbsp;</td>
														<td align="right" class="WtableFcenter"><asp:literal id="LiteralFY" runat="server"></asp:literal></td>
														<td class="WtableFright">&nbsp;</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
									<table width="100%" height="100" border="0" cellpadding="0" cellspacing="0" class="tablemain">
										<tr>
											<td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableT">
													<tr>
														<td class="tableTleft">&nbsp;</td>
														<td class="tableTcenter"><table width="100%" border="0" cellspacing="0" cellpadding="0">
																<tr>
																	<td width="46%" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
																			<tr>
																				<td width="5%"><div align="center"><img src="../style/default/tab/tb.gif"></div>
																				</td>
																				<td width="95%" class="tableTBig">帮助说明</td>
																			</tr>
																		</table>
																	</td>
																	<td width="54%">&nbsp;</td>
																</tr>
															</table>
														</td>
														<td class="tableTright">&nbsp;</td>
													</tr>
												</table>
												<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableC">
													<tr>
														<td class="tableCleft">&nbsp;</td>
														<td class="tableCcenter"><table width="100%" border="0" cellpadding="0" cellspacing="1" class="SkyTDLine">
																<tr>
																	<td class="SkyTDLine">1、请在<strong>学期增加</strong>处增加学期，和显示顺序；<br>
																		2、请在<strong>学期设置列表</strong>中选择要修改的项目，然后在<strong>学期修改</strong>处修改学期的信息；<br>
																		3、只能有一个学期为<strong>默认学期</strong>，既当前学期；<br>
																		4、没有默认学期，网站将不能正常操作；<br>
																		5、学期编号必须填写且不能重复，课程和成绩都和这个相关；<br>
																		6、学期开学时间必须填写，为了生成课程时候使用，而且学期的周课程也受它控制；</td>
																</tr>
															</table>
														</td>
														<td class="tableCright">&nbsp;</td>
													</tr>
												</table>
												<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableF">
													<tr>
														<td class="tableFleft">&nbsp;</td>
														<td class="tableFcenter">&nbsp;</td>
														<td class="tableFright">&nbsp;</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
								</td>
								<td class="tableCright">&nbsp;</td>
							</tr>
						</table>
						<table width="100%" border="0" cellpadding="0" cellspacing="0" class="WtableF">
							<tr>
								<td class="WtableFleft">&nbsp;</td>
								<td class="WtableFcenter">&nbsp;</td>
								<td class="WtableFright">&nbsp;</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
			<asp:literal id="LiteralScript" runat="server" EnableViewState="False"></asp:literal>
		</form>
	</body>
</HTML>
