📄 drink_list.ascx
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="drink_list.ascx.cs" Inherits="qruan.drink_list" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<table id="Table_01" height="721" cellSpacing="0" cellPadding="0" width="636" border="0">
<tr>
<td>
<table id="Table_05" height="34" cellSpacing="0" cellPadding="0" width="636" border="0">
<tr>
<td align="center" bgcolor="#81ce1b"><asp:PlaceHolder id="PlaceHolder1" runat="server"></asp:PlaceHolder></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table id="Table_04" height="21" cellSpacing="0" cellPadding="0" width="636" border="0">
<tr>
<td> <A href="./index.aspx">首页</A>>><A href="index.aspx?action=drink">饮料选购</A></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table id="Table_03" height="53" cellSpacing="0" cellPadding="0" width="636" border="0">
<tr>
<td><IMG height="53" alt="" src="images/show_06_04.gif" width="636"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td vAlign="top">
<table id="Table_02" height="613" cellSpacing="0" cellPadding="0" width="636" border="0">
<tr>
<td vAlign="top">
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<TBODY>
<tr>
<td width="13" height="12"> </td>
<td width="602"> </td>
<td width="13"> </td>
</tr>
<tr>
<td> </td>
<script type="text/JavaScript">
<!--
function qruan(prodid){
if(prodid==99999){
alert("对不起!此套餐已“售完”!")
}else
{
var num=document.getElementById("num"+prodid).value;
if(num==null || num=="") num="1";
window.open('buyRecord.aspx?ProdId='+prodid+'&num='+num,'add','top=100,left=150,scrollbars=yes,resizable=no,width=650,height=450')
}
}
//-->
</script>
<td><asp:repeater id="Repeater1" runat="server">
<headertemplate>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
</headertemplate>
<itemtemplate>
<td align="center"><table width="137" height="161" border="0" cellpadding="0" cellspacing="0" id="Table_01">
<tr>
<td rowspan="5"><img src="images/show_06_05_05.gif" width="12" height="161" alt=""></td>
<td><img src="images/show_06_05_06.gif" width="115" height="7" alt=""></td>
<td rowspan="5"><img src="images/show_06_05_07.gif" width="10" height="161" alt=""></td>
</tr>
<tr>
<td ><SPAN style="CURSOR: hand" onclick="window.open('./product_c.aspx?pro_id=<%#DataBinder.Eval(Container.DataItem,"id")%>','product','top=200,left=250,scrollbars=no,resizable=no,width=340,height=370');" ><img src='<%#DataBinder.Eval(Container.DataItem,"pic_url")%>' width="115" height="97" alt=""></SPAN></td>
</tr>
<tr>
<td><img src="images/show_06_05_10.gif" width="115" height="4" alt=""></td>
</tr>
<tr>
<td width="115" height="49"><table width="100%" height="49" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" align="center"><SPAN style="CURSOR: hand" onclick="window.open('./product_c.aspx?pro_id=<%#DataBinder.Eval(Container.DataItem,"id")%>','product','top=200,left=250,scrollbars=no,resizable=no,width=340,height=370');" ><%# temp_fun1(Convert.ToString(DataBinder.Eval(Container.DataItem,"veg_name")),12)%></SPAN></td>
</tr>
<tr>
<td><%# lei_fun(Convert.ToString(DataBinder.Eval(Container.DataItem,"id")),Convert.ToString(DataBinder.Eval(Container.DataItem,"store_names")))%></td>
<td align="center"><%# DataBinder.Eval(Container.DataItem,"veg_price")%>元/份</td>
<td><SPAN style="CURSOR: hand" onClick="qruan('<%# lei_fun2(Convert.ToString(DataBinder.Eval(Container.DataItem,"id")),Convert.ToString(DataBinder.Eval(Container.DataItem,"store_names")))%>')"><img src="images/index_52_05.gif" width="39" height="16" align="top"></SPAN></td>
</tr>
</table>
</td>
</tr>
<tr>
<td><img src="images/show_06_05_12.gif" width="115" height="4" alt=""></td>
</tr>
</table>
</td>
</itemtemplate>
<footertemplate>
</tr>
<tr>
<td colspan="4"> </td>
</tr>
</table>
</footertemplate></asp:repeater></td>
<td> </td>
</tr>
<tr>
<td height="12"> </td>
<td align="right" height="25">第<FONT face="宋体"><B>
<asp:label id="lbCurrentPage" runat="server">1</asp:label></B></FONT>页|
<asp:hyperlink id="hlkFirstPage" accessKey="s" runat="server">首页</asp:hyperlink>|
<asp:hyperlink id="hlkPrevPage" runat="server">上一页</asp:hyperlink> |
<asp:hyperlink id="hlkNextPage" runat="server">下一页</asp:hyperlink>|
<asp:hyperlink id="hlkLastPage" accessKey="d" runat="server" ToolTip="到最后一页">末页</asp:hyperlink> | 共<FONT face="宋体"><B>
<asp:label id="lbTotalPage" runat="server">1</asp:label></B></FONT>页 </td>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
</TD></TR></TBODY></TABLE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -