<%@ Register TagPrefix="uc1" TagName="PCy" Src="../../js/PCy.ascx" %>
<%@ Page language="c#" Codebehind="HangBanUpdate.aspx.cs" AutoEventWireup="false" Inherits="TourOnline.BgManage.Airplane.HangBanUpdate" %>
<%@ Register TagPrefix="uc1" TagName="Top" Src="Top.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>UserManage</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">
		<LINK href="../Admin_Style.css" type="text/css" rel="stylesheet">
		<script src="../js/webfxlayout.js" type="text/javascript"></script>
		<!-- this link element includes the css definitions that describes the tab pane -->
		<!--
<link type="text/css" rel="stylesheet" href="tab.winclassic.css" />
--><LINK id="webfx-tab-style-sheet" disabled href="../style/tab.webfx.css" type="text/css"
			rel="stylesheet">
		<!-- the id is not needed. It is used here to be able to change css file at runtime -->
		<style type="text/css">.dynamic-tab-pane-control .tab-page { HEIGHT: 200px }
	.dynamic-tab-pane-control .tab-page .dynamic-tab-pane-control .tab-page { HEIGHT: 100px }
	.dynamic-tab-pane-control H2 { WIDTH: auto; TEXT-ALIGN: center }
	.dynamic-tab-pane-control H2 A { DISPLAY: inline; WIDTH: auto }
	.dynamic-tab-pane-control A:hover { BACKGROUND: none transparent scroll repeat 0% 0% }
		</style>
		<script src="../js/tabpane.js" type="text/javascript"></script>
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<TABLE cellSpacing="1" cellPadding="2" width="100%" border="0">
				<TBODY>
					<TR class="topbg">
						<TD align="center" height="22"><FONT style="FONT-WEIGHT: bold" face="宋体">航班机票管理－－修改国内航班&nbsp;&nbsp;</STRONG>带<FONT color="#ff0000"><STRONG>*</STRONG></FONT>的为必填项</FONT>
							</FONT></TD>
					</TR>
					<TR>
						<TD class="tdbg" height="30">
							<uc1:Top id="Top1" runat="server"></uc1:Top></TD>
					</TR>
					<TR>
						<TD class="tdbg" height="1">
							<hr width="100%" color="#0650d2" SIZE="1">
						</TD>
					</TR>
					<TR>
						<TD align="center" colSpan="2"><FONT face="宋体">
								<script type="text/javascript">
//<![CDATA[

function setLinkSrc( sStyle ) {
	document.getElementById( "webfx-tab-style-sheet" ).disabled = sStyle != "webfx"
	
	document.documentElement.style.background = 
	document.body.style.background = sStyle == "webfx" ? "white" : "ThreeDFace";	
}

setLinkSrc( "webfx" );

//]]>
								</script>
								<br>
								<br>
								<div class="tab-pane" id="tabPane1">
									<script type="text/javascript">
tp1 = new WebFXTabPane( document.getElementById( "tabPane1" ) );
//tp1.setClassNameTag( "dynamic-tab-pane-control-luna" );
//alert( 0 )
									</script>
									<script language="javascript" src="../js/Check.js"></script>
									<div class="tab-page" id="tabPage1">
										<h2 class="tab">基本信息</h2>
										<script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage1" ) );</script>
										<TABLE class="table1" cellSpacing="1" cellPadding="2" width="100%" border="0">
											<TBODY>
												<TR class="tdbg">
													<TD class="tdbg5" align="right" width="12%"><FONT color="#ff0000">*</FONT>航班号：</TD>
													<TD align="left" width="38%"><asp:textbox id="txtHbCode" runat="server" Width="87%" CssClass="input" MaxLength="25"></asp:textbox><asp:textbox id="txtHbIsJtOrder" runat="server" Width="0px" Height="0px"></asp:textbox>
														<asp:TextBox id="txtHbCodeOld" runat="server" Width="0px" Height="0px" ReadOnly="True"></asp:TextBox></TD>
													<TD class="tdbg5" align="right" width="12%"><FONT class="tb1" face="宋体"><FONT color="#ff0000">*</FONT>航空公司：</FONT></TD>
													<TD align="left" width="38%"><FONT face="宋体"><asp:dropdownlist id="dropAwId" runat="server" Width="87%" CssClass="input"></asp:dropdownlist></FONT></TD>
												</TR>
												<TR class="tdbg">
													<TD class="tdbg5" align="right" width="12%"><FONT color="#ff0000">*</FONT>起飞城市：</TD>
													<TD align="left" width="38%"><FONT face="宋体"><uc1:pcy id="PCy1" runat="server"></uc1:pcy><asp:dropdownlist id="dropP" runat="server" CssClass="input"></asp:dropdownlist><asp:dropdownlist id="dropHbStartCyId" runat="server" CssClass="input"></asp:dropdownlist></FONT></TD>
													<TD class="tdbg5" align="right"><FONT color="#ff0000">*</FONT>终到城市：</TD>
													<TD align="left" width="38%"><asp:dropdownlist id="dropP1" runat="server" CssClass="input"></asp:dropdownlist>
							</FONT>
							<asp:dropdownlist id="dropHbEndCyId" runat="server" CssClass="input"></asp:dropdownlist></TD>
					</TR>
					<TR class="tdbg">
						<TD class="tdbg5" align="right" width="12%"><FONT color="#ff0000">*</FONT>起飞机场：</TD>
						<TD align="left" width="38%"><asp:textbox id="txtHbStartJc" runat="server" Width="87%" CssClass="input" MaxLength="50"></asp:textbox></TD>
						<TD class="tdbg5" align="right" width="12%"><FONT class="tb1" face="宋体"><FONT color="#ff0000">*</FONT>终到机场：</FONT></TD>
						<TD align="left" width="38%"><FONT face="宋体"><asp:textbox id="txtHbEndJc" runat="server" Width="87%" CssClass="input" MaxLength="50"></asp:textbox></FONT></TD>
					</TR>
					<TR class="tdbg">
						<TD class="tdbg5" align="right"><FONT color="#ff0000">*</FONT>机型：</TD>
						<TD align="left"><asp:textbox id="txtHbType" runat="server" Width="87%" CssClass="input" MaxLength="25"></asp:textbox></TD>
						<TD class="tdbg5" align="right"><FONT class="tb1" face="宋体"><FONT class="tb1" face="宋体"><FONT color="#ff0000">*</FONT></FONT>价格(全价)：</FONT></TD>
						<TD align="left"><FONT face="宋体">经济舱
								<asp:textbox id="txtHbJjcPirce" runat="server" Width="34px" CssClass="input" MaxLength="5"></asp:textbox>元&nbsp; 
								公务舱
								<asp:textbox id="txtHbGwcPrice" runat="server" Width="34px" CssClass="input" MaxLength="5"></asp:textbox>元&nbsp; 
								头等舱
								<asp:textbox id="txtHbTdcPrice" runat="server" Width="34px" CssClass="input" MaxLength="5"></asp:textbox>元</FONT></TD>
					</TR>
					<TR class="tdbg">
						<TD class="tdbg5" align="right"><FONT face="宋体">机建费/燃油费：</FONT></TD>
						<TD align="left"><asp:textbox id="txtHbJjPrice" runat="server" MaxLength="5" CssClass="input" Width="34px"></asp:textbox>元/
							<asp:textbox id="txtHbRyPrice" runat="server" MaxLength="5" CssClass="input" Width="34px"></asp:textbox>元</TD>
						<td class="tdbg5" align="right"><FONT color="#ff0000">*</FONT>班期(周)：</FONT></td>
						<td><FONT style="BACKGROUND-COLOR: #ffffff" color="#ff0000"></FONT><FONT face="宋体"><asp:checkboxlist id="chbHbBq" runat="server" BorderStyle="None" RepeatDirection="Horizontal" CellSpacing="0"
									CellPadding="0" RepeatLayout="Flow">
									<asp:ListItem Value="1">一</asp:ListItem>
									<asp:ListItem Value="2">二</asp:ListItem>
									<asp:ListItem Value="3">三</asp:ListItem>
									<asp:ListItem Value="4">四</asp:ListItem>
									<asp:ListItem Value="5">五</asp:ListItem>
									<asp:ListItem Value="6">六</asp:ListItem>
									<asp:ListItem Value="7">日</asp:ListItem>
								</asp:checkboxlist></FONT></td>
					</TR>
					<TR class="tdbg">
						<TD class="tdbg5" align="right"><FONT color="#ff0000">*</FONT>起飞时间：</TD>
						<TD align="left"><asp:textbox id="txtHbStartHour" runat="server" Width="48px" CssClass="input" MaxLength="2"></asp:textbox>时
							<asp:textbox id="txtHbStartMinutes" runat="server" Width="48px" CssClass="input" MaxLength="2"></asp:textbox>分</TD>
						<TD class="tdbg5" align="right"><FONT class="tb1" face="宋体"><FONT color="#ff0000">*</FONT>降落时间：</FONT></TD>
						<TD align="left"><FONT face="宋体"><asp:textbox id="txtHbEndHour" runat="server" Width="48px" CssClass="input" MaxLength="2"></asp:textbox>时
								<asp:textbox id="txtHbEndMinutes" runat="server" Width="48px" CssClass="input" MaxLength="2"></asp:textbox>分</FONT></TD>
					</TR>
					<TR class="tdbg">
						<TD class="tdbg5" align="right"><FONT color="#ff0000">*</FONT>航班舱位：<br>
							<br>
							<div align="left">说明：如果在上面的“价格（全价）”输入框中不填写“经济舱”价格，系统将不生成“经济舱”的相关信息(舱位、更改规定、退票规定、签转规定)，同样“公务舱”、“头等舱”不填写也不生成，但您至少要填写一个标准的全价</div>
						</TD>
						<TD align="left" colSpan="3">
							<table cellSpacing="2" cellPadding="0" width="100%" border="0">
								<tr>
									<td vAlign="middle" align="center" width="10%" bgColor="#e5ffff">经<br>
										济<br>
										舱</td>
									<td width="90%"><asp:datalist id="dlstJjc" runat="server" Width="100%" BorderStyle="None" CellSpacing="0" CellPadding="0"
											BorderWidth="0px" ShowFooter="False">
											<HeaderTemplate>
												<table border="0" cellpadding="0" cellspacing="2" width="100%">
													<tr bgcolor="#faebd7">
														<td align="center" width="15%">舱位</td>
														<td align="center" width="35%">更改规定</td>
														<td align="center" width="30%">退票规定</td>
														<td align="center" width="20%">签转规定</td>
													</tr>
												</table>
											</HeaderTemplate>
											<ItemTemplate>
												<TABLE cellSpacing="2" cellPadding="0" width="100%" border="0">
													<TR bgColor="#fff5ee">
														<TD align="center" width="15%"><INPUT type=hidden value='<%# DataBinder.Eval(Container.DataItem, "CwName") %>' name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>'>
															<INPUT type=hidden value='<%# DataBinder.Eval(Container.DataItem, "CwPct") %>' name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>'>
															<INPUT type=hidden value=1 name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>'>
															<asp:Label id=Label1 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.CwName") %>'>
															</asp:Label></TD>
														<TD align="center" width="35%"><INPUT style="WIDTH: 100%" class="input" value='<%# DataBinder.Eval(Container.DataItem, "HcGggd") %>'   type="text"  name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' /></TD>
														<TD align="center" width="30%"><INPUT style="WIDTH: 100%" class="input" value='<%# DataBinder.Eval(Container.DataItem, "HcTpgd") %>'  type="text"  name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' /></TD>
														<TD align="center" width="20%">
															<INPUT style="WIDTH: 100%" class="input"  type="text" value='<%# DataBinder.Eval(Container.DataItem, "HcQzgd") %>' name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' />
															<INPUT type=hidden value='<%# DataBinder.Eval(Container.DataItem, "CwOrder") %>' name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>'>
															<input type=hidden name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' value='<%# DataBinder.Eval(Container.DataItem, "CwId") %>'>
														</TD>
													</TR>
												</TABLE>
											</ItemTemplate>
										</asp:datalist></td>
								</tr>
								<tr>
									<td vAlign="middle" align="center" width="10%" bgColor="#e5ffff">公<br>
										务<br>
										舱</td>
									<td width="90%"><asp:datalist id="dlstGwc" runat="server" Width="100%" BorderStyle="None" CellSpacing="0" CellPadding="0"
											BorderWidth="0px" ShowFooter="False">
											<HeaderTemplate>
												<table border="0" cellpadding="0" cellspacing="2" width="100%">
													<tr bgcolor="#faebd7">
														<td align="center" width="15%">舱位</td>
														<td align="center" width="35%">更改规定</td>
														<td align="center" width="30%">退票规定</td>
														<td align="center" width="20%">签转规定</td>
													</tr>
												</table>
											</HeaderTemplate>
											<ItemTemplate>
												<TABLE cellSpacing="2" cellPadding="0" width="100%" border="0">
													<TR bgColor="#fff5ee">
														<TD align="center" width="15%">
															<input type=hidden name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' value='<%# DataBinder.Eval(Container.DataItem, "CwName") %>'>
															<input type=hidden name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' value='<%# DataBinder.Eval(Container.DataItem, "CwPct") %>'>
															<input type=hidden name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' value='2'>
															<asp:Label id="Label3" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.CwName") %>'>
															</asp:Label></TD>
														<TD align="center" width="35%"><INPUT style="WIDTH: 100%" class="input" value='<%# DataBinder.Eval(Container.DataItem, "HcGggd") %>'   type="text"  name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' /></TD>
														<TD align="center" width="30%"><INPUT style="WIDTH: 100%" class="input" value='<%# DataBinder.Eval(Container.DataItem, "HcTpgd") %>'  type="text"  name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' /></TD>
														<TD align="center" width="20%">
															<INPUT style="WIDTH: 100%" class="input"  type="text" value='<%# DataBinder.Eval(Container.DataItem, "HcQzgd") %>' name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' />
															<input type=hidden name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' value='<%# DataBinder.Eval(Container.DataItem, "CwOrder") %>'>
															<input type=hidden name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' value='<%# DataBinder.Eval(Container.DataItem, "CwId") %>'>
														</TD>
													</TR>
												</TABLE>
											</ItemTemplate>
										</asp:datalist></td>
								</tr>
								<tr>
									<td vAlign="middle" align="center" width="10%" bgColor="#e5ffff">头<br>
										等<br>
										舱</td>
									<td width="90%"><asp:datalist id="dlstTdc" runat="server" Width="100%" BorderStyle="None" CellSpacing="0" CellPadding="0"
											BorderWidth="0px" ShowFooter="False">
											<HeaderTemplate>
												<table border="0" cellpadding="0" cellspacing="2" width="100%">
													<tr bgcolor="#faebd7">
														<td align="center" width="15%">舱位</td>
														<td align="center" width="35%">更改规定</td>
														<td align="center" width="30%">退票规定</td>
														<td align="center" width="20%">签转规定</td>
													</tr>
												</table>
											</HeaderTemplate>
											<ItemTemplate>
												<TABLE cellSpacing="2" cellPadding="0" width="100%" border="0">
													<TR bgColor="#fff5ee">
														<TD align="center" width="15%">
															<input type=hidden name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' value='<%# DataBinder.Eval(Container.DataItem, "CwName") %>'>
															<input type=hidden name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' value='<%# DataBinder.Eval(Container.DataItem, "CwPct") %>'>
															<input type=hidden name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' value='3'>
															<asp:Label id="Label4" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.CwName") %>'>
															</asp:Label></TD>
														<TD align="center" width="35%"><INPUT style="WIDTH: 100%" class="input" value='<%# DataBinder.Eval(Container.DataItem, "HcGggd") %>'   type="text"  name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' /></TD>
														<TD align="center" width="30%"><INPUT style="WIDTH: 100%" class="input" value='<%# DataBinder.Eval(Container.DataItem, "HcTpgd") %>'  type="text"  name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' /></TD>
														<TD align="center" width="20%">
															<INPUT style="WIDTH: 100%" class="input"  type="text" value='<%# DataBinder.Eval(Container.DataItem, "HcQzgd") %>' name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' />
															<input type=hidden name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' value='<%# DataBinder.Eval(Container.DataItem, "CwOrder") %>'>
															<input type=hidden name='txt<%# DataBinder.Eval(Container.DataItem, "CwId") %>' value='<%# DataBinder.Eval(Container.DataItem, "CwId") %>'>
														</TD>
													</TR>
												</TABLE>
											</ItemTemplate>
										</asp:datalist></td>
								</tr>
							</table>
						</TD>
					</TR>
				</TBODY>
			</TABLE>
			</DIV>
			<script type="text/javascript">
//<![CDATA[

setupAllTabs();

//]]>
			</script>
			<div class="tab-page" id="tabPage2">
				<h2 class="tab">权限设置</h2>
				<script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage2" ) );</script>
				<TABLE class="table2" cellSpacing="0" cellPadding="0" width="100%" border="0">
					<TR>
						<TD class="tdbg5" align="right" width="20%"><STRONG>预订权限：</STRONG>
						</TD>
						<TD align="left" width="80%" colSpan="3"><asp:radiobuttonlist id="rblHbIsOrder" runat="server" RepeatLayout="Flow">
								<asp:ListItem Value="0">开放航班  任何人（包括游客）可以预订此航班的机票。</asp:ListItem>
								<asp:ListItem Value="1">认证航班  游客不能预订，并在下面指定允许预订的会员组。</asp:ListItem>
							</asp:radiobuttonlist></TD>
					</TR>
					<TR>
						<TD class="tdbg5" align="right" width="20%"><STRONG>允许预订此航班机票的会员组：</STRONG>
						</TD>
						<TD align="left" width="80%" colSpan="3"><asp:checkboxlist id="chbHbOrderGId" runat="server" CellPadding="0" RepeatLayout="Flow" RepeatColumns="5"
								RepeatDirection="Horizontal" CellSpacing="0"></asp:checkboxlist></TD>
					</TR>
				</TABLE>
			</div>
			</DIV></FONT></TD></TR>
			<TR>
				<td align="center"><asp:button id="button1" Runat="server" Text="保存修改结果"></asp:button><FONT face="宋体">&nbsp;&nbsp;
						<INPUT onclick="javascript:location.href='HangBanManage.aspx';" type="button" value=" 取 消 "></FONT>
				</td>
			</TR>
			</TBODY></TABLE></form>
		<script language="javascript">
		tp1.setSelectedIndex(0);
		document.Form1.txtHbCode.focus();
		
		</script>
	</body>
</HTML>
