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

📄 splb.asp

📁 商店程序 商店程序 商店程序 商店程序 商店程序 商店程序
💻 ASP
📖 第 1 页 / 共 3 页
字号:
                <td width="298" height="1">                                                            
                                                             
      <form method='POST' action='spss.asp' target="_blank">                    
<p style="word-spacing: 0; margin-top: 0; margin-bottom: 0">                    
&nbsp;商品查询<input type='text' name='Product_Name' size='10' class='a' style="font-size: 14px"><select name='Product_Class' size='1' tabindex='0' class='a' style="font-size: 14px">                                                                                                                     
<option value='娱乐用品'>娱乐用品</option>                                                                                                             
<option value='古玩书画'>古玩书画</option>                                                                                                             
<option value='邮票邮品'>邮票邮品</option>                                                                                                             
<option value="电脑软件">电脑软件</option>                                                                                                             
</select><input type="image" height="20" cache width="52" src="images/go.gif" align="absMiddle" value="GO" border="0" name="I56"></p>                                                                                                                     
</form>                                                                                                                    
                                                                                                          
                </td>                      
              </tr>                      
            </table>                      
<p style="word-spacing: 0; margin-top: 0; margin-bottom: 0" align="center">                      
        <a href="index.asp">首页>></a><%=request("ProductClass_1")%> (<%=spxl%>)</p>                                 
  <center>                                               
                                                                                                            
                                                         
      <div align="center">                         
      </div>                            
                                                              
                                                                                                 
                                                            
          <div align="right">                        
          <table border="0" cellpadding="0" cellspacing="0" width="95%"  height="33" >                                              
            <tr>                                                 
              <td width="100%" height="11" bgcolor="#336699">                                                 
                                                                   
              </td>                                                  
            </tr>                                                  
            <tr>                                                 
              <td width="100%" height="70">                                                 
                <div align="center">                                                 
                  <table border="0" cellspacing="1" width="100%" height="148" bgcolor="#336699" >                                                 
                    <tr>                                                 
<%                                                 
'假如没有商品时                                                 
If rs.eof and rs.bof then                                                  
   response.write "<td><p align='center'><font color='#ff0000'>还没任何商品资料</font></p></td>"                                                 
   response.end                                                 
End if %>                                                 
                                                 
                    <%row_count=1                                               
                    '显示帖子的子程序                                                 
					Sub list()%>                                                 
                    <%i=0                                                 
                     Do While Not rs.EOF%>                                                 
                      <td width="552"  valign="bottom" align="center" bgcolor="#FFFFFF">                                           
<p style="word-spacing: 0; margin-top: 0; margin-bottom: 0" align="center">                                                   
<img border="0" src="<% =rs("p_pic")%>">                                                   
<p style="word-spacing: 0; margin-top: 0; margin-bottom: 0"><a href=javascript:winopen('spjj.asp?ProductNO=<%=rs("Product_No")%>')><b><font color="#000000"><%=rs("Product_name")%></font></b></a></p>                                                   
<p style="word-spacing: 0; margin-top: 0; margin-bottom: 0">市场价:<strike><%=rs("P_OldPrice")%>元</strike></p>                                                   
<p style="word-spacing: 0; margin-top: 0; margin-bottom: 0">会员价:<% =rs("P_NewPrice")%>元</p>                                                   
<p style="word-spacing: 0; margin-top: 0; margin-bottom: 0"> </p>                                                   
<p style="word-spacing: 0; margin-top: 0; margin-bottom: 0"><a href=javascript:winopen('spjj.asp?ProductNO=<%=rs("Product_No")%>')>[详细介绍]</a>                                
<a href="javascript:openbag(<%=rs("Product_Id")%>)"><img border="0" src="images/mybuy.gif"></a></p>                                              
<p>                                      
                    <b>[<font color="#cc0000">商品简介</font>]</b><%=rs("Product_Intro")%></p>                                     
                      </td>                                                         
                      <%if row_count mod 2 =0 then%></tr><tr><%end if%>                                                         
                      <%                                                         
                        i=i+1                                                      
  					    if i >= MaxPerpage then exit do                                                         
				    	rs.MoveNext                                                         
					    row_count=row_count+1                                                         
						Loop                                                         
					end Sub                                                         
					  %>                                                         
<% call list                                                         
   If Rs.recordcount > MaxPerPage then                                                         
   call showpages                                                         
 end if%>                                                         
 				</tr>                                                         
                  </table>                                                         
                                                         
     </div>                                                         
              </td>                                                  
            </tr>                                                  
          </table>                                                  
          </div>                        
      </center>                                                  
        </td>                                                  
    </tr>                                                  
  </table>                                          
</div>                                          
<%                                          
'显示翻页的子程序                                          
sub showpages()%>                                          
<div align="center">                        
  <center>                                          
<table border="0" cellPadding="0" cellSpacing="0" width="400" >                                            
<tr><td >                                          
                                          
<form method="POST" action="splb.asp">                                          
<INPUT  type=hidden value=<%=spxl%> name=spxl>                                          
<table border="0" cellPadding="0" cellSpacing="0" width="583" height="30">                                            
   <tr>                                          
    <td  width="510">                                             
<font color="#000000">                                             
<p align="center">                                             
<%                                          
   Response.write "<font color='#000000'>页面-> </font>"                                             
   If currentpage > 1 Then                                          
      response.write "<a href='splb.asp?&page="+cstr(1)+"&spxl="+Cstr(spxl)+"'><font color='#000000'>首页</font></a><font color='#000000'><b>-</b></font>"                                            
      Response.write "<a href='splb.asp?page="+Cstr(currentpage-1)+"&spxl="+Cstr(spxl)+"'><font color='#000000'>前页</font></a><font color='#000000'><b>-</b></font>"                                          
   Else                                          
      Response.write "<font color='#000000'>首页-</font>"                                          
      Response.write "<font color='#000000'>前页-</font>"                                           
   End if                                          
                                             
   If currentpage < Rs.PageCount Then                                          
      Response.write "<a href='splb.asp?page="+Cstr(currentPage+1)+"&spxl="+Cstr(spxl)+"'><font color='#000000'>后页</font></a><font color='#000000'><b>-</b></font>"                                          
      Response.write "<a href='splb.asp?page="+Cstr(Rs.PageCount)+"&spxl="+Cstr(spxl)+"'><font color='#000000'>尾页</font></a>&nbsp;&nbsp;"                                          
   Else                                          
      Response.write "<font color='#000000'>后页-</font>"                                          
      Response.write "<font color='#000000'>尾页</font>&nbsp;&nbsp;"                                                 
   End if                                          
   Response.write "<font color='#000000'>页次:</font>" & "<font color=#FF0000>" & Cstr(CurrentPage) &  "</font>" & "<font color='#000000'>/" & Cstr(rs.pagecount) & "</font>&nbsp;"                                          
   Response.write "<font color=#ff0000>" & Cstr(MaxPerPage) & "</font>" & "<font color='#000000'>种商品/页&nbsp" & "共</font>" & "<font color=#FF0000>" & Cstr(Rs.RecordCount) & "</font>" & "<font color='#000000'>种商品</font>&nbsp;&nbsp;"                                          
                                          
response.write "</td><td align='right'>"                                          
response.write "<font color='#000000' >到:</font><input type='text' name='page' size=2 maxlength=3 class=smallInput value="&Currentpage&">&nbsp;"                                          
   response.write "<input class=buttonface type='submit'  value='Go'  name='cndok'></span>"                                             
%>                                              
</font>                                              
    </td>                                            
   </tr>                                          
  </table>                                          
</td></tr>                                          
</table>                                          
  </center>                        
  </div>                        
</form>                                          
<%end sub%>                                          
                                        
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=764 height="122" bgcolor="#FFFFFF">                                                                                                              
  <TBODY>                                                                                                              
  <TR>                                                                                                              
    <TD class=unnamed1 height=122 width=100%>                                                                                                              
      <DIV align=center>                                                                                                                 
<hr size="1" color="#000000">                                                                                     
<p align="center" style="word-spacing: 0; margin-top: 0; margin-bottom: 0">版权信息 | 关于我们 | 隐私保护 | 合作事项 |                                                                                                                                                                
        广告刊登 | 联系方式  |  </p>                                                                                                                                                                              
<p align="center" style="word-spacing: 0; margin-top: 0; margin-bottom: 0">德阳市路易网络科技开发有限公司版权所有,技术:路易电子购物系统</p>                                                                                                                                                                              
系统购买信箱:<a href="mailto:dylwww@163.com">dylwww@163.com</a>       
<p>  </DIV>                                                                                                  
    </TD></TR></TBODY></TABLE>                                                                                                  
                                  
</body>                                      
                                      
</html>                                      
                                      

⌨️ 快捷键说明

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