<%@ Page language="c#" Codebehind="InfoManage.aspx.cs" AutoEventWireup="false" validateRequest="false" Inherits="TourOnline.BgManage.House.InfoManage" %>
<%@ Register TagPrefix="uc1" TagName="HouseTop" Src="HouseTop.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>zd_hy</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">
		<style type="text/css">A { TEXT-DECORATION: none }
		</style>
		<link href='../Admin_Style.css' rel='stylesheet' type='text/css'>
		<script language="javascript" src="../js/public.js"></script>
		<script language="javascript">
			function ModalDialoOpen(strHiId)
			{
				var obj = new Object();
				var k = window.showModalDialog('InfoState.aspx?HiId=' + strHiId,obj,'dialogHeight:300px;dialogWidth:370px;help:no;status:no;ScrollBar:yes;');
				if(k != null)
				{
					document.location.reload();
				}
			}
		</script>
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="100%" border="0">
				<TR class='topbg'>
					<TD align="center" height="22"><FONT style="FONT-WEIGHT: bold" face="宋体">家庭宾馆管理---管理首页</FONT>
						</FONT></TD>
				</TR>
				<TR>
					<TD class='tdbg' height="30"><uc1:housetop id="HouseTop1" runat="server"></uc1:housetop></TD>
				</TR>
				<TR>
					<TD class='tdbg' height="1"><hr size="1" width="100%" color="#0650d2">
					</TD>
				</TR>
				<TR>
					<TD align="left"><b>信息选项：</b><asp:radiobuttonlist id="rblInfoOptions" runat="server" AutoPostBack="True" CellPadding="0" ForeColor="RoyalBlue"
							RepeatDirection="Horizontal" CellSpacing="0" RepeatLayout="Flow">
							<asp:ListItem Value="all" Selected="True">所有信息</asp:ListItem>
							<asp:ListItem Value="index">首页显示</asp:ListItem>
							<asp:ListItem Value="top">固顶</asp:ListItem>
							<asp:ListItem Value="tj">推荐</asp:ListItem>
						</asp:radiobuttonlist>&nbsp;&nbsp;<STRONG>区域选项：<FONT face="宋体">
								<asp:dropdownlist id="dropP" runat="server" AutoPostBack="True" CssClass="input"></asp:dropdownlist><asp:dropdownlist id="dropCy" runat="server" AutoPostBack="True" CssClass="input"></asp:dropdownlist><asp:dropdownlist id="dropPd" runat="server" AutoPostBack="True" CssClass="input"></asp:dropdownlist></FONT></STRONG></TD>
				</TR>
				<TR>
					<TD class='tdbg' height="1"><hr size="1" width="100%" color="#0650d2">
					</TD>
				</TR>
				<TR>
					<TD align="left"><asp:datalist id="dlstHouse" runat="server" CellPadding="0" BorderWidth="0" DataKeyField="HiId"
							Width="100%" ShowFooter="False" cellspacing="0" BorderStyle="None">
							<HeaderTemplate>
								<table width='100%' border='0' align='center' cellpadding='0' cellspacing='1'>
									<tr height='22' class='title'>
										<td width='5%' align='center' class="td1"><strong>选中</strong></td>
										<td width='5%' align='center' class="td1"><strong>ID</strong></td>
										<td align='center' width='24%' class="td1"><strong>家庭宾馆名称</strong></td>
										<td align='center' width='8%' class="td1"><strong>宾馆状态</strong></td>
										<td align='center' width='12%' class="td1"><strong>所在区域</strong></td>
										<td align='center' width='12%' class="td1"><strong>家庭宾馆属性</strong></td>
										<td align='center' width='7%' class="td1"><strong>点击数</strong></td>
										<td width='27%' align='center' class="td1"><strong>操作选项</strong></td>
									</tr>
								</table>
							</HeaderTemplate>
							<ItemTemplate>
								<TABLE cellSpacing="1" cellPadding="1" width="100%" align="center" border="0">
									<TR class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'"
										height="27">
										<TD align="center" width="5%"><INPUT onclick=javascript:QuanXuan_Check(document.Form1.chkSelectedAll,document.Form1.checkSelected) type=checkbox value='<%# DataBinder.Eval(Container.DataItem, "HiId") %>' name=checkSelected>
										</TD>
										<TD align="center" width="5%"><%# Container.ItemIndex+1 %></TD>
										<TD align="left" width="24%">
											<asp:HyperLink id=Hyperlink1 runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "HiName") %>'>
											</asp:HyperLink></TD>
										<TD align="center" width="8%">
											<asp:Label id=Label1 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.RSId") %>'>
											</asp:Label></TD>
										<TD align="center" width="12%">
											<asp:Label id=lblPId runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.pId") %>'>
											</asp:Label>
											<asp:Label id=lblCyId runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.cyId") %>'>
											</asp:Label>
											<asp:Label id=lblPdId runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.pdId") %>'>
											</asp:Label></TD>
										<TD align="center" width="12%">
											<asp:Label id=lblHIsTop runat="server" ForeColor="Red" Text='<%# DataBinder.Eval(Container, "DataItem.HiIsTop") %>'>
											</asp:Label>
											<asp:Label id=lblHIsIndex runat="server" ForeColor="Blue" Text='<%# DataBinder.Eval(Container, "DataItem.HiIsIndex") %>'>
											</asp:Label>
											<asp:Label id=lblHIsTj runat="server" ForeColor="#00BC00" Text='<%# DataBinder.Eval(Container, "DataItem.HiIsTj") %>'>
											</asp:Label></TD>
										<TD align="center" width="7%">
											<asp:Label id=Label3 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.HiHot") %>'>
											</asp:Label></TD>
										<TD align="center" width="27%">
											<asp:HyperLink id="Hyperlink2" runat="server" Text="修改类别">修改</asp:HyperLink>&nbsp;
											<asp:LinkButton id="Linkbutton2" runat="server" CommandName="del">删除</asp:LinkButton>&nbsp;
											<asp:LinkButton id="LinkButton1" runat="server">设置</asp:LinkButton>&nbsp;
											<asp:HyperLink id="HyperLink3" runat="server">列出所有订单</asp:HyperLink>
											<asp:TextBox id=txtUserId runat="server" Width="0px" Text='<%# DataBinder.Eval(Container, "DataItem.UserId") %>' Height="0px">
											</asp:TextBox></TD>
									</TR>
								</TABLE>
							</ItemTemplate>
						</asp:datalist></TD>
				</TR>
				<TR>
					<TD class="tdbg" height="1">
						<hr width="100%" color="#0650d2" SIZE="1">
					</TD>
				</TR>
				<tr>
					<td><input onclick="javascript:JsCheckOn(this,document.Form1.checkSelected)" type="checkbox"
							name="chkSelectedAll">选中本页显示的所有信息&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<asp:button id="Button3" runat="server" Text="批量生成HTML页面" CssClass="button"></asp:button>&nbsp;</td>
				</tr>
				<TR>
					<TD class="tdbg" height="1">
						<hr width="100%" color="#0650d2" SIZE="1">
					</TD>
				</TR>
				<tr>
					<td align="center"><asp:label id="Label2" 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>
				<TR>
					<TD class='tdbg' height="1"><hr size="1" width="100%" color="#0650d2">
					</TD>
				</TR>
				<TR>
					<TD class="td1" align="left"><b>家庭宾馆搜索：</b>
						<asp:dropdownlist id="dropKeysType" runat="server" CssClass="input">
							<asp:ListItem Value="HiName">家庭宾馆名称</asp:ListItem>
							<asp:ListItem Value="HiDlwz">地理位置</asp:ListItem>
							<asp:ListItem Value="HiPrice">宾馆价格(元/天)</asp:ListItem>
						</asp:dropdownlist><asp:textbox id="txtKeysWord" runat="server"></asp:textbox><asp:button id="Button1" runat="server" CssClass="button" Text=" 搜 索 "></asp:button><STRONG>&nbsp;状态选项：
							<asp:dropdownlist id="dropState" runat="server" AutoPostBack="True" CssClass="input"></asp:dropdownlist></STRONG></TD>
				</TR>
				<TR>
					<TD class='tdbg' height="1"><hr size="1" width="100%" color="#0650d2">
					</TD>
				</TR>
			</TABLE>
			<br>
			<B>说明：</B><BR>
			&nbsp;&nbsp;&nbsp;&nbsp;家庭宾馆属性中的各项含义：<FONT color="blue">首</FONT>----首页显示的家庭宾馆，<FONT color="#ff0000">顶</FONT>----固顶的家庭宾馆，<FONT color="#00bc00">荐</FONT>----推荐的家庭宾馆
			<br>
			<br>
		</form>
		<div id="loading" style="DISPLAY: none; Z-INDEX: 12000; LEFT: 0px; WIDTH: 100%; CURSOR: wait; POSITION: absolute; TOP: 0px; HEIGHT: 100%">
			<TABLE height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
				<TR>
					<TD vAlign="middle" align="center">
						<table cellSpacing="0" cellPadding="0" width="30%" bgColor="#ff9900" border="0">
							<tr>
								<td>
									<TABLE height="70" cellSpacing="2" cellPadding="0" width="100%" border="0">
										<TR>
											<td align="center" bgColor="#eeeeee">正在批量生成HTML页面可能需要几分钟, 请稍候...</td>
										</TR>
									</TABLE>
								</td>
							</tr>
						</table>
					</TD>
				</TR>
			</TABLE>
		</div>
	</body>
</HTML>
