<%@ Register TagPrefix="uc1" TagName="Top" Src="../Top.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Bottom" Src="../Bottom.ascx" %>
<%@ Page language="c#" Codebehind="HotelSearchList.aspx.cs" AutoEventWireup="false" Inherits="TourOnline.TemplateDefault.Hotel.HotelSearchList" validateRequest="false" EnableViewStateMac="false" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>
			<%=strTitle%>
		</title>
		<META content="<%=strKeywords%>" name=Keywords>
		<META content="<%=strMata%>" name=Description>
		<LINK href="/style/Main.css" type="text/css" rel="stylesheet">
		<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">
		<script language="javascript" src="/js/calendar.js"></script>
		<script language=javascript>
			function HotelSearch()
			{
				Form1.action = "HotelSearchListUpdate.aspx";
				Form1.submit();
			}
		</script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server" autocomplete=off>
			<uc1:top id="Top1" runat="server"></uc1:top>
			<TABLE cellSpacing="0" cellPadding="0" width="760" align="center" border="0">
				<TBODY>
					<TR>
						<TD vAlign="top" align="center" width="189" bgColor="#b3e2ff"><TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
								<TBODY>
									<TR>
										<TD><IMG height="25" src="/images//hotel2_left01.jpg" width="189"></TD>
									</TR>
									<TR>
										<TD><IMG height="48" src="/images//hotel2_left02.jpg" width="189"></TD>
									</TR>
								</TBODY>
							</TABLE>
							<TABLE cellSpacing="0" cellPadding="0" width="96%" align="center" border="0">
								<TBODY>
									<TR>
										<TD background="/images//hotel2_tit1.gif" colSpan="3" height="27">
											<TABLE cellSpacing="0" cellPadding="0" width="96%" border="0">
												<TBODY>
													<TR>
														<TD height="4"></TD>
														<TD class="white14"></TD>
													</TR>
													<TR>
														<TD width="35">&nbsp;</TD>
														<TD class="white14"><strong class="white14">修改查询条件</strong></TD>
													</TR>
												</TBODY>
											</TABLE>
										</TD>
									</TR>
									<TR>
										<TD vAlign="top" width="4"><IMG height="53" src="/images//hotel2_leftbg1.gif" width="4"></TD>
										<TD vAlign="top" width="181" background="/images//hotel2_leftbg3.gif"
											height="100%">
											<TABLE id="Table1" cellSpacing="1" cellPadding="0" width="100%" align="center" border="0">
												<TR>
													<TD><FONT face="宋体"><FONT class="small">入住日期：<INPUT class=small 
                  style="HEIGHT: 20px" readOnly size=9  <%if(ViewState["SearchType"].ToString() == "cy"){Response.Write("name='starttime'");}if(ViewState["SearchType"].ToString() == "sight"){Response.Write("name='sstarttime'");}if(ViewState["SearchType"].ToString() == "bzw"){Response.Write("name='bstarttime'");}%>
                  value='<%=ViewState["StartTime"].ToString()%>' 
                  ></FONT><A onclick="event.cancelBubble=true;" href="javascript:showCalendar('imageCalendar1',false,'<%if(ViewState["SearchType"].ToString() == "cy"){Response.Write("starttime");}if(ViewState["SearchType"].ToString() == "sight"){Response.Write("sstarttime");}if(ViewState["SearchType"].ToString() == "bzw"){Response.Write("bstarttime");}%>',null,null);"><IMG id="imageCalendar1" height="21" src="/images//button.gif" width="34"
																	align="absMiddle" border="0"></FONT></FONT></TD>
													<TD><FONT face="宋体"></FONT></A></TD>
												</TR>
												<TR>
													<TD>离店日期：<INPUT class=small 
                  readOnly maxLength=50 size=9 
                  value='<%=ViewState["EndTime"].ToString()%>' <%if(ViewState["SearchType"].ToString() == "cy"){Response.Write("name='deptime'");}if(ViewState["SearchType"].ToString() == "sight"){Response.Write("name='sdeptime'");}if(ViewState["SearchType"].ToString() == "bzw"){Response.Write("name='bdeptime'");}%> 
                  ><A onclick="event.cancelBubble=true;" href="javascript:showCalendar('imageCalendar2',false,'<%if(ViewState["SearchType"].ToString() == "cy"){Response.Write("deptime");}if(ViewState["SearchType"].ToString() == "sight"){Response.Write("'sdeptime");}if(ViewState["SearchType"].ToString() == "bzw"){Response.Write("bdeptime");}%>',null);"><IMG id="imageCalendar2" height="21" src="/images//button.gif" width="34"
															align="absMiddle" border="0"></A> </TD>
												</TR>
												<TR>
													<TD><FONT face="宋体">名称包含：<INPUT class=small 
                  style="WIDTH: 112px; HEIGHT: 20px" onfocus=this.select(); 
                  maxLength=50 size=13 
                  value='<% if(ViewState["HCNName"].ToString() == "" || ViewState["HCNName"].ToString() == "所有宾馆"){Response.Write("所有宾馆");}else{Response.Write(ViewState["HCNName"].ToString());}%>' 
                  <%if(ViewState["SearchType"].ToString() == "cy"){Response.Write("name='HCNName'");}if(ViewState["SearchType"].ToString() == "sight"){Response.Write("name='SHCNName'");}if(ViewState["SearchType"].ToString() == "bzw"){Response.Write("name='bHCNName'");}%>></FONT><br>
														<FONT class="blue12" face="宋体">支持中文或英文名称查询</FONT></TD>
												</TR>
												<tr>
													<td>价格范围：<SELECT class="black12"  <%if(ViewState["SearchType"].ToString() == "cy"){Response.Write("name='Price'");}if(ViewState["SearchType"].ToString() == "sight"){Response.Write("name='SPrice'");}if(ViewState["SearchType"].ToString() == "bzw"){Response.Write("name='bPrice'");}%>>
															<OPTION value="" <%if(ViewState["Price"].ToString() == ""){Response.Write("selected");}%> >不限</OPTION>
															<OPTION value="0-250"  <%if(ViewState["Price"].ToString() == "0-250"){Response.Write("selected");}%> >250以下</OPTION>
															<OPTION value="250-400" <%if(ViewState["Price"].ToString() == "250-400"){Response.Write("selected");}%> >250-400</OPTION>
															<OPTION value="400-600" <%if(ViewState["Price"].ToString() == "400-600"){Response.Write("selected");}%>>400-600</OPTION>
															<OPTION value="600-800" <%if(ViewState["Price"].ToString() == "600-800"){Response.Write("selected");}%>>600-800</OPTION>
															<OPTION value="800-0" <%if(ViewState["Price"].ToString() == "800-0"){Response.Write("selected");}%>>800以上</OPTION>
														</SELECT></td>
												</tr>
												<tr>
													<td><FONT face="宋体">星级标准：<asp:dropdownlist id="star" runat="server" Width="104px"></asp:dropdownlist></FONT></td>
												</tr>
												<tr>
													<td><FONT face="宋体"><input type=hidden name=SearchType value='<%=ViewState["SearchType"].ToString()%>'><input type=hidden name=lbxCy value='<%=ViewState["Cy"].ToString()%>'><input type=hidden name=intPage value=1>&nbsp;</FONT><A class="blue12" href="Index.aspx"><font color=#0066cc>重新查询</font></A><FONT face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT><IMG style="CURSOR: hand" onclick="HotelSearch();" src="/images//bt_search.gif"></td>
												</tr>
											</TABLE>
										</TD>
										<TD vAlign="top" width="4"><IMG height="46" src="/images//hotel2_leftbg2.gif" width="4"></TD>
									</TR>
									<TR>
										<TD vAlign="top" colSpan="3" height="100%"><IMG height="17" src="/images//hotel2_leftd.gif" width="189">
										</TD>
									</TR>
								</TBODY>
							</TABLE>
							<BR>
							<table height="26" cellSpacing="0" cellPadding="0" width="189" border="0">
								<tr>
									<td background="/images//hotel1d_03.gif" height="26">&nbsp;<STRONG><FONT face="宋体"><FONT color="#ffffff">&nbsp;&nbsp;&nbsp;
													<FONT class="white14">推荐酒店</FONT></FONT></FONT></STRONG></td>
								</tr>
								<TR>
									<TD align="center" background="../images/hotel1d_06.gif" height="100%"><asp:datalist id="dlstHotelTj" runat="server" CellPadding="0" BorderStyle="None" Width="92%" DataKeyField="HId"
											HorizontalAlign="Center">
											<ItemTemplate>
												<TABLE cellSpacing="0" cellPadding="0" width="92%" border="0">
													<TR onmouseover="this.style.backgroundColor='#EEF7FF'" style="CURSOR: default" onmouseout="this.style.backgroundColor=''">
														<TD vAlign="bottom" width="85%" height="18"><FONT face="宋体">&nbsp;</FONT>
															<asp:HyperLink id=HyperLink8 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.HCNName") %>' CssClass="blue12" Target="_blank">
															</asp:HyperLink><A class="blue12" href="http://www.ctrip.com/Supermarket/Hotel/Hotel.asp?Hotel=9613"></A></TD>
														<TD class="yellow12" vAlign="bottom" align="center" width="15%" height="18"></TD>
													</TR>
												</TABLE>
											</ItemTemplate>
											<SeparatorTemplate>
												<TABLE cellSpacing="0" cellPadding="0" width="92%" border="0">
													<TR>
														<TD background="/images//line1.gif"><IMG height="1" src="/images//line1.gif" width="3"></TD>
													</TR>
												</TABLE>
											</SeparatorTemplate>
										</asp:datalist></TD>
								</TR>
								<TR>
									<TD vAlign="top" height="100%"><IMG height="17" src="/images//hotel2_leftd.gif" width="189"></TD>
								</TR>
							</table>
						</TD>
						<TD vAlign="top" align="right" width="571">
							<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
								<TBODY>
									<TR>
										<TD><IMG height="25" src="/images//hotel2_right01.gif" width="571"></TD>
									</TR>
									<TR>
									</TR>
								</TBODY>
							</TABLE>
							<br>
							<table cellSpacing="0" cellPadding="0" width="100%" border="0">
								<tr>
									<td class="td14" vAlign="bottom" noWrap background="/images//hotel2_right02.gif"
										height="33">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="BACKGROUND-COLOR: #ffffff">&nbsp;&nbsp;宾馆列表</span></td>
								</tr>
							</table>
							<table cellSpacing="0" cellPadding="0" width="100%" background="/images//hotel2_show.gif"
								border="0">
								<tr>
									<td>
										<table class="td1" height="59" cellSpacing="0" cellPadding="0" width="92%" align="center"
											border="0">
											<tr>
												<td colSpan="2" height="12"></td>
											</tr>
											<tr>
												<td width="25">&nbsp;</td>
												<td>入住日期：
													<asp:label id="Label2" runat="server"></asp:label>&nbsp;离店日期：
													<asp:label id="Label3" runat="server"></asp:label>&nbsp;&nbsp;共
													<asp:label id="Label4" runat="server"></asp:label>&nbsp;晚
												</td>
											</tr>
										</table>
									</td>
									<td width="68">&nbsp;</td>
									<td width="16%">&nbsp;</td>
								</tr>
							</table>
							<asp:repeater id="Repeater1" runat="server" EnableViewState="False">
								<ItemTemplate>
									<table width="559" border="0" align="center" cellPadding="0" cellSpacing="0" background="/images//hotel2_showbg.gif">
										<tr>
											<td background="/images//hotel2_showtit.gif" height="30" colspan="3">
												<table width="96%" border="0" align="center" cellPadding="0" cellSpacing="0">
													<tr>
														<td>
															&nbsp;&nbsp;
															<asp:HyperLink Target=_blank id="Hyperlink1" runat="server" CssClass="blue14" ForeColor="#0060a4" Text='<%# DataBinder.Eval(Container, "DataItem.HCNName") %>'>
															</asp:HyperLink>
															<asp:TextBox id="Textbox2" Height=0 Width=0 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.HId") %>'>
															</asp:TextBox>
															<asp:Label id="Label6" runat="server" ForeColor=#ffcc00 Text='<%# DataBinder.Eval(Container, "DataItem.SLPic") %>'>
															</asp:Label>
														</td>
														<td align="right">
															<asp:image id="Image2" runat="server" ImageUrl="/images//icon_yh.gif"></asp:image>
															<asp:hyperlink id="Hyperlink2" runat="server" Target="_blank">我要点评</asp:hyperlink>
															<asp:image id="Image3" runat="server" ImageUrl="/images//icon_ck.gif"></asp:image>
															<asp:hyperlink id="Hyperlink3" runat="server" Target="_blank">查看点评</asp:hyperlink></td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td colspan="3"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
													<tr>
														<td width="125" height="70">
															<asp:Image id="Image1" runat="server" CssClass="hand"></asp:Image></td>
														<td width="3"></td>
														<td align="left" valign="top">
															<asp:Label id="Label12" runat="server" ForeColor=#0066cc Text='<%# DataBinder.Eval(Container, "DataItem.HJs") %>'>
															</asp:Label>
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td height="1" width="2%"></td>
											<td height="1" width="96%" bgcolor="#bbe8ff"></td>
											<td height="1" width="2%"></td>
										</tr>
										<tr>
											<td colspan="3">
												<asp:datalist id="dlstRoom" runat="server" CellPadding="0" BorderStyle="None" DataKeyField="RId"
													width="100%" cellspacing="0" ShowFooter="False" BorderWidth="0" OnItemDataBound="dlstRoom_ItemDataBound">
													<HeaderTemplate>
														<table cellPadding="0" cellspacing="1" width="96%" align="center" border="0">
															<TR>
																<TD width="15%" height="21" align="center" bgcolor="#bbe8ff">房型</TD>
																<TD width="15%" align="center" noWrap bgcolor="#bbe8ff">门市价</TD>
																<TD width="15%" align="center" bgcolor="#bbe8ff">前台现付价</TD>
																<TD width="15%" align="center" bgcolor="#bbe8ff">网上支付价</TD>
																<TD width="25%" align="center" bgcolor="#bbe8ff">备注</TD>
																<TD width="15%" align="center" bgcolor="#bbe8ff"></TD>
															</TR>
														</table>
													</HeaderTemplate>
													<ItemTemplate>
														<table cellPadding="0" cellspacing="1" width="96%" align="center" border="0">
															<TR onmouseover="this.style.backgroundColor='#E2F6FF'" style="CURSOR: default" onmouseout="this.style.backgroundColor=''">
																<TD align="center" width="15%">
																	<asp:TextBox id="Textbox5" Height=0 Width=0 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.RId") %>'>
																	</asp:TextBox>
																	<asp:Label id=Label7 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.RType") %>'>
																	</asp:Label></TD>
																<TD noWrap align="center" width="15%"><FONT face="宋体">
																		<asp:Label id=Label8 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.RMsPrice") %>'>
																		</asp:Label></FONT></TD>
																<TD align="center" width="15%">
																	<asp:Label id=Label9 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.RQtPrice") %>'>
																	</asp:Label></TD>
																<TD align="center" width="15%">
																	<asp:Label id=Label10 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.RWsPrice") %>'>
																	</asp:Label></TD>
																<TD align="left" width="25%">
																	<asp:Label id=Label11 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.RContent") %>'>
																	</asp:Label></TD>
																<TD align="center" width="15%">
																	<asp:HyperLink id="HyperLink7" runat="server" ImageUrl="/images//button_yd.gif"
																		Target="_blank"></asp:HyperLink>
																	<asp:TextBox id=TextBox1 runat="server" Width="0px" Height="0px" Text='<%# DataBinder.Eval(Container, "DataItem.RSId") %>'>
																	</asp:TextBox></TD>
															</TR>
														</table>
													</ItemTemplate>
													<SeparatorTemplate>
														<table cellPadding="0" cellspacing="1" width="96%" align="center" border="0">
															<tr>
																<td height="1" bgcolor="#bbe8ff"></td>
															</tr>
														</table>
													</SeparatorTemplate>
												</asp:datalist>
											</td>
										</tr>
										<tr valign="middle">
											<td height="32" colspan="3" background="/images//hotel2_showd.gif">
												<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
													<tr>
														<td valign="top" class="yellow12"><img src="../images/icon_dot2.gif" width="16" height="16">
															<asp:HyperLink id="HyperLink4" runat="server" CssClass="yellow12" Target="_blank">全部房型</asp:HyperLink></td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
									<table width="559" border="0" align="center" cellPadding="0" cellSpacing="0">
										<tr>
											<td height="10"></td>
										</tr>
									</table>
								</ItemTemplate>
							</asp:repeater>
							<table cellSpacing="0" cellPadding="0" width="96%" align="center" border="0">
								<tr>
									<td align="center"><asp:label id="Label1" runat="server"></asp:label><FONT face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
										</FONT>
										<asp:linkbutton id="lbtnFirst" runat="server">首页</asp:linkbutton><FONT face="宋体">&nbsp;&nbsp;&nbsp;
										</FONT>
										<asp:linkbutton id="lbtnUp" runat="server">上一页</asp:linkbutton><FONT face="宋体">&nbsp;&nbsp;&nbsp;
										</FONT>
										<asp:linkbutton id="lbtnNext" runat="server">下一页</asp:linkbutton><FONT face="宋体">&nbsp;&nbsp;&nbsp;
										</FONT>
										<asp:linkbutton id="lbtnEnd" runat="server">末页</asp:linkbutton><FONT face="宋体">&nbsp; 
											跳转到第
											<asp:dropdownlist id="dropGotoPage" runat="server" AutoPostBack="True"></asp:dropdownlist>页</FONT>
									</td>
								</tr>
							</table>
							<br>
						</TD>
					</TR>
				</TBODY>
			</TABLE>
			<uc1:Bottom id="Bottom1" runat="server"></uc1:Bottom>
		</form>
	</body>
</HTML>
