⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.aspx

📁 ASP.net+sql server2000编写的完整鲜花在线销售系统
💻 ASPX
字号:
<%@ Register TagPrefix="uc1" TagName="pagefooter" Src="control/pagefooter.ascx" %>
<%@ Register TagPrefix="uc1" TagName="top" Src="control/top.ascx" %>
<%@ Register TagPrefix="uc1" TagName="userlogin" Src="login/userlogin.ascx" %>
<%@ Page language="c#" CodeFile="index.aspx.cs" AutoEventWireup="false" Inherits="flower.index" %>
<%@ Register TagPrefix="uc1" TagName="contact" Src="control/contact.ascx" %>
<%@ Register TagPrefix="uc1" TagName="pageheader" Src="control/pageheader.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>鲜花预定</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">
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<LINK href="/flower/css/index.css" type="text/css" rel="stylesheet">
		<style type="text/css">BODY {
	MARGIN: 0px
}
.input {
	BORDER-RIGHT: #000000 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #000000 1px solid; PADDING-LEFT: 2px; FONT-SIZE: 12px; BACKGROUND: #f5f5f5; PADDING-BOTTOM: 2px; BORDER-LEFT: #000000 1px solid; COLOR: #000000; PADDING-TOP: 2px; BORDER-BOTTOM: #000000 1px solid
}
.STYLE4 {
	FONT-SIZE: 9px
}
		</style>
	</HEAD>
	<body >
		<form id="Form1" method="post" runat="server">
			<uc1:pageheader id="Pageheader1" runat="server"></uc1:pageheader>
			<table cellSpacing="0" cellPadding="0" width="778" align="center" border="0">
				<tr>
					<td vAlign="top" align="center" width="183">
						<table height="8" cellSpacing="0" cellPadding="0" width="92%" border="0">
							<tr>
								<td><uc1:userlogin id="Userlogin1" runat="server"></uc1:userlogin></td>
							</tr>
						</table>

						<table height="10" cellSpacing="0" cellPadding="0" width="95%" border="0">
							<tr>
								<td><IMG height="1" src="images/dot_2.gif" width="1"></td>
							</tr>
						</table>
						<table height="1" cellSpacing="0" cellPadding="0" width="95%" border="0">
							<tr>
								<td background="images/line_h.jpg"></td>
							</tr>
						</table>
						<table height="10" cellSpacing="0" cellPadding="0" width="95%" border="0">
							<tr>
								<td><IMG height="1" src="images/dot_2.gif" width="1">
									<uc1:top id="Top1" runat="server"></uc1:top>
									
							</tr>
						</table>
						<uc1:contact id="Contact1" runat="server"></uc1:contact></td>
					</td>
					<td vAlign="top" width="1" background="images/line_s.jpg"><IMG height="1" src="images/dot_1.gif" width="1"></td>
					<td vAlign="top" width="594">
						<table cellSpacing="0" cellPadding="0" width="100%" border="0">
							<tr>
								<td>
									<table cellSpacing="0" cellPadding="0" width="100%" align="right" border="0">
										<tr>
											<td vAlign="top" align="right" width="22%" height="30"><IMG height="26" src="images/search.jpg" width="22"></td>
											<td align="right" width="64%">鲜花搜索: <input class="input" type="text" size="26" name="key">
												&nbsp;&nbsp;价格从 <input class="input" type="text" size="4" name="fromprice"> &nbsp;&nbsp;到
												<input class="input" type="text" size="4" name="toprice"></td>
											<td align="center" width="13%"><input type="image" height="19" width="52" src="images/ss.gif" border="0" name="imageField2"></td>
											<td width="1%"></td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
						<table height="1" cellSpacing="0" cellPadding="0" width="100%" border="0">
							<tr>
								<td>
									<table height="1" cellSpacing="0" cellPadding="0" width="94%" align="center" border="0">
										<tr>
											<td background="images/line_h.jpg"></td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
						<table height="559" cellSpacing="0" cellPadding="0" width="100%" border="0">
							<tr>
								<td height="28">
									<table cellSpacing="0" cellPadding="0" width="94%" align="center" border="0">
										<tr>
											<td height="6"><IMG height="1" src="images/dot_2.gif" width="1"></td>
										</tr>
									</table>
									<table cellSpacing="0" cellPadding="0" width="94%" align="center" border="0">
										<tr>
											<td width="13%" rowSpan="2"><IMG height="22" src="images/jpxh.jpg" width="74"></td>
											<td colSpan="2" height="2"><IMG height="1" src="images/dot_2.gif" width="1"></td>
										</tr>
										<tr>
											<td width="76%" bgColor="#ffdfeb"></td>
											<td vAlign="bottom" width="11%" bgColor="#ffdfeb"><A href="/flower/front/flower/viewallflowers.aspx">more……</A><IMG height="1" src="images/dot_2.gif" width="1"></td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td vAlign="top" height="531">
									<table height="298" cellSpacing="0" cellPadding="0" width="94%" align="center" border="0">
										<tr>
											<td vAlign="top" height="520">
												<table cellSpacing="0" cellPadding="0" width="590" align="center" border="0">
													<tr>
														<td vAlign="top" align="center" height="205">
															<table cellSpacing="0" cellPadding="0" width="94%" border="0">
																<%  flower.DBOP myDBOP=new flower.DBOP();
															    string strComm="select name,outprice,picpath,id from flower";
															    System.Data.DataSet myDataSet;
															    myDataSet=myDBOP.mySelect(strComm);
															    if(myDataSet.Tables[0].Rows.Count>0)
															    {
															    %>
																<tr>
																	<%
															        int flowerCount=8;
															        if(flowerCount>myDataSet.Tables[0].Rows.Count)
															        {
															            flowerCount=myDataSet.Tables[0].Rows.Count;
															        }
															        for(int i=1;i<=flowerCount;i++)
															        {												 
															    %>
																	<td vAlign="top" width="294">
																		<table height="106" cellSpacing="0" cellPadding="0" width="100%" border="0">
																			<tr>
																				<td width="37%" height="132">
																					<TABLE onmouseover="this.style.backgroundColor='#ff75aa'" onmouseout="this.style.backgroundColor=''"
																						height="90" cellSpacing="1" cellPadding="2" width="98" align="center" bgColor="#e1e1e1"
																						border="0">
																						<TBODY>
																							<TR>
																								<TD align="center" width="92" bgColor="#ffffff" height="90">
																								<A href="list.asp?id=369" target="_blank">
																								<IMG height=90 src="<%=myDataSet.Tables[0].Rows[i-1][2].ToString().Trim()%>" width=90 align=absMiddle border=0 ></A>
																								</TD>
																							</TR>
																						</TBODY>
																					</TABLE>
																				</td>
																				<td width="61%">
																					<table cellSpacing="0" cellPadding="0" width="96%" align="center">
																						<tr>
																							<td vAlign="middle" align="right" width="44" height="30"><A href="list.asp?id=369" target="_blank"></A><A href="list.asp?id=369" target="_blank">名称:</A></td>
																							<td vAlign="middle" align="left" width="119"><A href="shop_detail.php?id=302"><%=myDataSet.Tables[0].Rows[i-1][0].ToString().Trim()%></A></td>
																						</tr>
																						<tr>
																							<td vAlign="middle" align="right" width="44" height="30">价格:</td>
																							<td vAlign="middle" align="left" width="119" height="30"><%=myDataSet.Tables[0].Rows[i-1][1].ToString().Trim()%>
																								元</td>
																						</tr>
																						<tr>
																							<td vAlign="middle" align="left" colSpan="2" height="30">&nbsp;&nbsp;&nbsp;<A href="/flower/front/flower/flowerdetail.aspx?id=<%=myDataSet.Tables[0].Rows[i-1][3].ToString().Trim()%>" ><IMG height="19" src="images/xx.gif" width="52" border="0"></A>&nbsp;&nbsp;&nbsp;&nbsp;<A href="/flower/front/cart/myCart.aspx?AddID=<%=myDataSet.Tables[0].Rows[i-1][3].ToString().Trim()%>" ><IMG height="19" src="images/gm.gif" width="52" border="0"></A></td>
																						</tr>
																					</table>
																				</td>
																			</tr>
																		</table>
																	</td>
																	<%if((i%2)!=0)
																	{%>
																	<td vAlign="top" width="1" bgColor="#e1e1e1"></td>
																	<%}%>
																	<%if(((i%2)==0)||(i==(flowerCount)))
																	{%>
																</tr>
																<%if(i!=flowerCount)
																{%>
																<tr>
																	<td vAlign="top" bgColor="#e1e1e1" colSpan="3" height="1"></td>
																</tr>
																<%}}}}%>
															</table>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
			<uc1:pagefooter id="Pagefooter1" runat="server"></uc1:pagefooter></form>
	</body>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -