📄 more.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="more.aspx.cs" Inherits="more"%>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="mycontrols/left.ascx" TagName="left" TagPrefix="uc1" %>
<%@ Register Src="mycontrols/foot.ascx" TagName="foot" TagPrefix="uc2" %>
<%@ Register Src="mycontrols/top.ascx" TagName="top" TagPrefix="uc3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>小购物商城系统</title>
<link href="css/in.css" rel="stylesheet" type="text/css" />
<script src="js/validator.js"></script>
</head>
<body>
<form id="form1" runat="server" >
<uc3:top ID="Top1" runat="server" />
<table width="86%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td background="images/bj.jpg"> </td>
</tr>
</table>
<table width="86%" border="0" align="center" cellpadding="0" cellspacing="0" class="dotted">
<tr>
<td valign="top" style="width: 23%">
<uc1:left ID="Left1" runat="server" />
</td>
<td width="100%" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class=dotted>
<tr>
<td height="34" valign="top" style="width: 621px"><table width="98%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="89%"><span class="STYLE4">
<% if (Request.Params["type"]=="1"){ %>
<img src="Images/hot.jpg" />
<%} else if (Request.Params["type"]=="2")%>
<%{ %><img src="Images/Jipin.jpg" /><%} %>
<%else if (Request.Params["type"] == "3")
{%>
<img src="Images/Tejia.jpg" />
<%} %>
</span></td>
<td width="11%"><a href="more.aspx?type=hot"></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" class="table" style="height: 191px; width: 621px;">
<asp:DataList ID="HotProduct" runat="server" RepeatColumns="4" RepeatDirection="Horizontal" OnItemCommand="HotProduct_ItemCommand" >
<HeaderTemplate><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr></HeaderTemplate>
<ItemTemplate>
<td><table cellspacing="0" width="162" border="0" style="font:'宋体'; font-size:12px;" cellpadding="5px">
<tbody>
<tr>
<td align="middle" colspan="2" height="80">
<IMG height=80 src='<%#Eval("Pic")%>' width=80 border=0></td>
</tr>
<tr bgcolor="#f6f6f6">
<td colspan="2" align=center style="color:Gray; font-weight:bold">
<asp:Label ID="Proname" runat="server" Text='<%#Eval("Proname")%>'></asp:Label>
<asp:Label ID="id" runat="server" Visible=false Text='<%#Eval("id")%>'></asp:Label>
</td>
</tr>
<tr bgcolor="#f6f6f6" height="20">
<td align="right" width="40%">市场价:</td>
<td width="60%">
<asp:Label ID="MarketPrice" runat="server" Text='<%#Eval("MarketPrice")%>'></asp:Label>元</td>
</tr>
<tr bgcolor="#f6f6f6" height="20">
<td align="right">会员价:</td>
<td><font color="#ff6600">
<asp:Label ID="MemberPrice" runat="server" Text='<%#Eval("MemberPrice")%>'></asp:Label>
</font>元</td>
</tr>
<tr bgcolor="#f6f6f6" height="20">
<td align="right">节 省:</td>
<td>
<%#Eval("cha")%>元
</td>
</tr>
<tr bgcolor="#f6f6f6">
<td align="right">
<a href=temp.aspx?id=<%#Eval("id") %>&Proname=<%#Eval("Proname")%>&MemberPrice=<%#Eval("MemberPrice")%>><img height="19" src="images/cart.gif" width="50" align="absmiddle" border="0" /></a> </td>
<td align="middle"> <a href=show.aspx?id=<%#Eval("id") %>&type=<%=Request.Params["type"] %>><img height="19" src="images/show.gif" width="50" align="absmiddle" border="0" /></a> </td>
</tr>
</tbody>
</table></td>
</ItemTemplate>
<FooterTemplate> </tr>
</table></FooterTemplate>
</asp:DataList>
<table width="578" border="0" cellpadding="1" cellspacing="1" >
<tr>
<td bgcolor="#FFFFFF" style="width: 30%" valign="bottom"> 共<%=AspNetPager1.PageCount%>页当前为第<%=AspNetPager1.CurrentPageIndex%>页,每页<%=AspNetPager1.PageSize%>条
</td>
<td width="70%" bgcolor="#FFFFFF" valign=top><webdiyer:aspnetpager id="AspNetPager1" runat="server" firstpagetext="首页" lastpagetext="尾页"
nextpagetext="下一页" pageindexboxtype="DropDownList" prevpagetext="上一页" showpageindexbox="Always"
submitbuttontext="Go" textafterpageindexbox="页" textbeforepageindexbox="转到" OnPageChanging="AspNetPager1_PageChanging" PageSize="12" UrlPaging="True" ButtonImageAlign="Middle" CustomInfoHTML="共%PageCount%页,当前为第%CurrentPageIndex%页,每页%PageSize%条" ForeColor="Black" Width="382px"></webdiyer:aspnetpager>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<uc2:foot ID="Foot1" runat="server" />
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -