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

📄 class.asp

📁 这是惠州城市超市购物管理系统的源代码
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--
┌─ o91.com───────────────┐
│  动感购物商务平台WWW.SNSN.NET版权所有  │
│  设计:模糊视线13855119911 QQ:9912515 │
└────────────────────┘
-->
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<!--#include file="fuction.asp"-->
<!--#include file="webtop.asp"-->
<html>
<head>
<title><%=webname%>--<%leixing=lcase(trim(request("lx")))
					  select case leixing
					  case "big"
					  	response.write "大类商品"
					  case "small"
					  	response.write "小类商品"
					  case "tejia"
					  	response.write "特价商品"
					  case "news"
					  	response.write "新品上架"
					  case else
					  	response.write "新品上架"					  
					  end select%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> 
<!-- onMouseOver="window.status='【<%=webname%>】<%=weburl%> 如果您喜欢本站,别忘了把本站介绍给您的好友哦!:)';return true">-->
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td width="1" bgcolor="C9C9C8"><img src="../images/block.gif" width="1" height="1"></td>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="168" align="left" valign="top">
            <!--#include file="top_login.asp"-->
          </td>
          <td width="22" align="left" valign="top"><a href="about.asp?action=lxwm"><img src="images/pic_004.gif" width="23" height="136" border="0"></a></td>
          <td width="586" align="left" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td align="center">
                  <%
if x1<>"" then
      response.Write "<a href="&x1url&" target=_blank><img src="&x1&" width="&x1w&" height="&x1h&"  border=0></a>"
end if
if  x2<>"" then
      response.Write "<a href="&x2url&" target=_blank><img src="&x2&" width="&x2w&" height="&x2h&"  border=0></a>"
end if
if  x3<>"" then
      response.Write "<a href="&x3url&" target=_blank><img src="&x3&" width="&x3w&" height="&x3h&"  border=0></a>"
end if 
if x4<>"" then
      response.Write "<a href="&x4url&" target=_blank><img src="&x4&" width="&x4w&" height="&x4h&"  border=0></a>"
end if
%>
                </td>
                <td width="22" align="center" valign="top"><a href="about.asp?action=lxwm"><img src="images/pic_003.gif" width="23" height="136" border="0"></a> 
                </td>
                <td width="168" align="center">
                  <!--#include file="top_ad.asp"-->
                </td>
              </tr>
            </table></td>
        </tr>
      </table></td>
    <td width="1" bgcolor="C9C9C8"><img src="../images/block.gif" width="1" height="1"></td>
  </tr>
</table>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td width="1" bgcolor="C9C9C8"><img src="../images/block.gif" width="1" height="1"></td>
    <td> <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="168" valign="top"> 
            <!--#include file="left.asp"-->
          </td>
          <td width="1" bgcolor="C9C9C8"><img src="images/block.gif" width="1" height="1"></td>
          <td valign="top"> <table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td background="images/bg1_4color_.jpg"><img src=images/bg1_4color_.jpg" width="1" height="3"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="4" align="center">
              <tr> 
                <td colspan="4"> <table width="100%" border="0" cellspacing="0" cellpadding="4" align="center">
                    <%leixing=lcase(trim(request("lx")))
  select case leixing
                    case "big"
					  	anclassid=request("anid")
if Not isChkInteger(anclassid) then
	%>
                    <script language=javascript>
		alert("参数错误!");
		window.close();
	</script>
                    <%
	response.end
end if
                        set rs=server.createobject("adodb.recordset")
					  	rs.open "select * from shop_anclass where anclassid="&anclassid,conn,1,1
									if rs.recordcount=0 then 
		%>
                    <script language='javascript'>alert('分类调用错误,请返回!');window.location.href='index.asp';</script>
                    <%
		end if
						anclassname=rs("anclass")
						pic=trim(rs("pic"))
						links=trim(rs("links"))
						sztys=trim(rs("sztys"))
						flsl=trim(rs("spdlh"))
						fll=trim(rs("spdll"))
						rs.close
					  %>
                    <tr> 
                      <td height="15" colspan="4"> 
                        <%if pic<>"" then%>
                        <a href="<%=links%>"><img src=<%=pic%> border="0"></a> 
                        <%else%>
                        &nbsp; 
                        <%end if%>
                      </td>
                    </tr>
                    <tr> 
                      <td height="15" colspan="4"> <table width="100%" border="0" cellspacing="1" cellpadding="0">
                          <tr> 
                            <td height="1" bgcolor="cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
                          </tr>
                          <tr> 
                            <td height="25" bgcolor="efefef"> <strong>&nbsp;&nbsp;<img src="images/dot_03.gif" width="9" height="9" border="0"> 
                              商品分类:【<a href=class.asp?lx=big&anid=<%=anclassid%>><font color="<%=sztys%>"><%=anclassname%></font></a>】</strong></td>
                          </tr>
                          <tr> 
                            <td height="1" bgcolor="cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
                          </tr>
                        </table></td>
                    </tr>
                    <%
					  case "small"
					  	anclassid=request("anid")
					  	nclassid=request("nid")
						if Not isChkInteger(anclassid) then
	        %>
                    <script language=javascript>
		        alert("参数错误!");
		        window.close();
	        </script>
                    <%
	         response.end
                 end if
					  	set rs=server.createobject("adodb.recordset")
					  	rs.open "select * from shop_anclass where anclassid="&anclassid,conn,1,1
						anclassname=rs("anclass")
						sztys=trim(rs("sztys"))
						rs.close
						%>
                    <%
						if Not isChkInteger(nclassid) then
							%>
                    <script language=javascript>
								alert("参数错误!");
								window.close();
							</script>
                    <%
							response.end
						end if
						%>
                    <%
						rs.open "select * from shop_nclass where nclassid="&nclassid,conn,1,1
						if rs.recordcount=0 then 
		%>
                    <script language='javascript'>alert('分类调用错误,请返回!');window.location.href='index.asp';</script>
                    <%
		end if
						nclassname=rs("nclass")
						piccc=trim(rs("piccc"))
						links=trim(rs("links"))
						xsztys=trim(rs("xsztys"))
						flsl=trim(rs("spxlh"))
						fll=trim(rs("spxll"))
						rs.close
					  %>
                    <tr> 
                      <td height="15" colspan="4"> 
                        <%if piccc<>"" then%>
                        <a href="<%=links%>"><img src=<%=piccc%> border="0"></a>
                        <%else%>
                        &nbsp;
                        <%end if%>
                      </td>
                    </tr>
                    <tr> 
                      <td height="15" colspan="4"> <table width="100%" border="0" cellspacing="1" cellpadding="0">
                          <tr> 
                            <td height="1" bgcolor="cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
                          </tr>
                          <tr> 
                            <td height="25" bgcolor="efefef"> <strong>&nbsp;&nbsp;<img src="images/dot_03.gif" width="9" height="9" border="0"> 
                              </strong><strong>商品分类</strong>:【<a href=class.asp?lx=big&anid=<%=anclassid%>><font color="<%=sztys%>"><%=anclassname%></font></a>】 【<a href=class.asp?lx=small&anid=<%=anclassid%>&nid=<%=nclassid%>><font color="<%=xsztys%>"><%=nclassname%></font></a>】 
                            </td>
                          </tr>
                          <tr> 
                            <td height="1" bgcolor="cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
                          </tr>
                        </table></td>
                    </tr>
                    <%
					  case "tejia"
					%>
                    <tr> 
                      <td height="15" colspan="4"> <table width="100%" border="0" cellspacing="1" cellpadding="0">
                          <tr> 
                            <td height="1" bgcolor="cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
                          </tr>
                          <tr> 
                            <td height="25" bgcolor="efefef"> <strong>&nbsp;&nbsp;<img src="images/dot_03.gif" width="9" height="9" border="0"> 
                              </strong><strong>特价商品</strong></td>
                          </tr>
                          <tr> 
                            <td height="1" bgcolor="cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
                          </tr>
                        </table></td>
                    </tr>
                      <%
					  case "cx"
					%> <tr>
                      <td height="15" colspan="4"><table width="100%" border="0" cellspacing="1" cellpadding="0">
                          <tr> 
                            <td height="1" bgcolor="cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
                          </tr>
                          <tr> 
                            <td height="25" bgcolor="efefef"> <strong>&nbsp;&nbsp;<img src="images/dot_03.gif" width="9" height="9" border="0"> 
                              </strong><strong>促销商品</strong></td>
                          </tr>
                          <tr> 
                            <td height="1" bgcolor="cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>

⌨️ 快捷键说明

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