<%@ Register TagPrefix="uc1" TagName="Top" Src="Top.ascx" %>
<%@ Page language="c#" Codebehind="CarManage.aspx.cs" AutoEventWireup="false" Inherits="TourOnline.BgManage.Car.CarManage" %>
<!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">
		<LINK href="../Admin_Style.css" type="text/css" rel="stylesheet">
		<script language="javascript" src="../js/public.js"></script>
		<script language="javascript">
			function ModalDialoOpen(strCId)
			{
				var obj = new Object();
				var k = window.showModalDialog('CarCfg.aspx?CId=' + strCId,obj,'dialogHeight:270px;dialogWidth:430px;help:no;status:no');
				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></TD>
				</TR>
				<TR>
					<TD class="tdbg" height="30">
						<uc1:Top id="Top1" runat="server"></uc1:Top></TD>
				</TR>
				<TR>
					<TD align="left"><STRONG><B>车辆选项： </B></STRONG>
						<asp:RadioButtonList id="rblOpt" runat="server" CellPadding="0" CellSpacing="0" RepeatDirection="Horizontal"
							RepeatLayout="Flow" AutoPostBack="True">
							<asp:ListItem Value="0" Selected="True">所有车辆</asp:ListItem>
							<asp:ListItem Value="top">固顶的车辆</asp:ListItem>
							<asp:ListItem Value="tj">推荐的车辆</asp:ListItem>
							<asp:ListItem Value="Index">首页显示的车辆</asp:ListItem>
						</asp:RadioButtonList><STRONG>&nbsp; 地区选项：</STRONG><asp:dropdownlist id="dropCt" runat="server" AutoPostBack="True"></asp:dropdownlist>
						<asp:dropdownlist id="dropP" runat="server" AutoPostBack="True"></asp:dropdownlist><asp:dropdownlist id="dropCy" runat="server" AutoPostBack="True"></asp:dropdownlist></TD>
				</TR>
				<TR>
					<TD class="tdbg" height="1">
						<hr width="100%" color="#0650d2" SIZE="1">
					</TD>
				</TR>
				<TR>
					<TD align="left"><asp:datalist id="dlstCar" runat="server" CellPadding="0" BorderStyle="None" cellspacing="0" ShowFooter="False"
							Width="100%" DataKeyField="CId" BorderWidth="0">
							<HeaderTemplate>
								<TABLE cellSpacing="1" cellPadding="0" width="100%" align="center" border="0">
									<TR class='title' height="22">
										<TD align="center" width="5%"><STRONG>选中</STRONG></TD>
										<TD align="center" width="5%"><STRONG>ID</STRONG></TD>
										<TD align="center" width="10%"><STRONG>车型</STRONG></TD>
										<TD align="center" width="10%"><STRONG>型号</STRONG></TD>
										<TD align="center" width="10%"><STRONG>座位</STRONG></TD>
										<TD align="center" width="12%"><STRONG>价格</STRONG></TD>
										<TD align="center" width="10%"><STRONG>车辆属性</STRONG></TD>
										<TD align="center" width="18%"><STRONG>公司名称</STRONG></TD>
										<TD align="center" width="20%"><STRONG>操作选项</STRONG></TD>
									</TR>
								</TABLE>
							</HeaderTemplate>
							<ItemTemplate>
								<TABLE cellSpacing="2" 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, "CId") %>' name=checkSelected>
										</TD>
										<TD align="center" width="5%"><%# Container.ItemIndex+1 %></TD>
										<TD align="center" width="10%">
											<asp:Label id=Label1 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.CCx") %>'>
											</asp:Label></TD>
										<TD align="center" width="10%">
											<asp:Label id=Label3 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.CXh") %>'>
											</asp:Label></TD>
										<TD align="center" width="10%">
											<asp:Label id=Label4 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.CZw") %>'>
											</asp:Label></TD>
										<TD align="center" width="12%">
											<asp:Label id=Label5 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.CPrice") %>'>
											</asp:Label>
											<asp:Label id=Label6 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.CMPrice") %>'>
											</asp:Label></TD>
										<TD align="center" width="10%">
											<asp:Label id=lblCIsTop runat="server" ForeColor="Red" Text='<%# DataBinder.Eval(Container, "DataItem.CIsTop") %>'>
											</asp:Label>
											<asp:Label id=lblCIsIndex runat="server" ForeColor="Blue" Text='<%# DataBinder.Eval(Container, "DataItem.CIsIndex") %>'>
											</asp:Label>
											<asp:Label id=lblCIsTj runat="server" ForeColor="#00BC00" Text='<%# DataBinder.Eval(Container, "DataItem.CIsTj") %>'>
											</asp:Label></TD>
										<TD align="center" width="18%">
											<asp:Label id=Label7 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.CCorp") %>'>
											</asp:Label></TD>
										<TD align="center" width="20%">
											<asp:HyperLink id="HyperLink1" runat="server">修改</asp:HyperLink><FONT face="宋体">&nbsp;
												<asp:LinkButton id="LinkButton1" runat="server" CommandName="del">删除</asp:LinkButton>&nbsp;
												<asp:LinkButton id="LinkButton2" runat="server">设置</asp:LinkButton>
												<asp:TextBox id=txtUserId runat="server" Width="0px" Text='<%# DataBinder.Eval(Container, "DataItem.UserId") %>' Height="0px">
												</asp:TextBox></FONT></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;
						<asp:button id="Button2" runat="server" CssClass="button" Text="批量删除"></asp:button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<asp:button id="Button1" runat="server" Text="批量生成HTML页面" CssClass="button"></asp:button></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 width="100%" color="#0650d2" SIZE="1">
					</TD>
				</TR>
				<TR>
					<TD><FONT face="宋体"><B>车辆搜索：</B></FONT>
						<asp:DropDownList id="dropSearchType" runat="server">
							<asp:ListItem Value="CCx">车型</asp:ListItem>
							<asp:ListItem Value="CZw">座位</asp:ListItem>
							<asp:ListItem Value="CCorp">公司名称</asp:ListItem>
						</asp:DropDownList>
						<asp:TextBox id="txtKeyWord" runat="server" MaxLength="50"></asp:TextBox>
						<asp:Button id="Button3" runat="server" Text=" 搜 索 "></asp:Button>
					</TD>
				</TR>
				<TR>
					<TD class="tdbg" height="1">
						<hr width="100%" color="#0650d2" SIZE="1">
					</TD>
				</TR>
			</TABLE>
		</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>
