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

📄 products.asp

📁 后台管理系统
💻 ASP
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">

<!-- Recommended XHTML-Editor: HTML-Kit 292 (Freeware) -->
<!-- http://www.chami.com/html-kit/download/ -->

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta name="description" content="Your description goes here" />
  <meta name="keywords" content="your,keywords,come,here" />
  <meta name="author" content="Your Name or Company / Template design: G. Wolfgang / June 8, 2006 / Email: gw@actamail.com / Check my favorite website: www.sda.org" />
  <link rel="stylesheet" type="text/css" media="screen,projection" href="./css/style_screen.css" />
  <link rel="stylesheet" type="text/css" media="print" href="./css/style_print.css" />
	<script type="text/javascript" src="./js/matching_columns.js"></script>
  <title>ADVANCED SHOWER TECHENOLOGY CO.LTD</title>
<style type="text/css">
<!--
 .STYLE1{
  font-size:130%;
     }  
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
-->
</style></head>

<body>
  <div class="page-container-2">

  	<!-- HEADER -->
		<!-- Flag navigations -->
		<!-- Navigation Level 1 -->
<div class="nav1-container">
      <div class="nav1">
			  <ul>
			  <li></li>
    	    <li><a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('www.wedo-sanitary.com');">Set HomePage</a></li>
    	    <li><a href='javascript:window.external.AddFavorite("http://www.wedo-sanitary.com")' >Set Favourite</a></li>
         	<li><a href="http://www.wedo-sanitary.com">English</a></li>																		
         	<li><a href="http://www.advancedshower.com/">Chinese</a></li>
        </ul>
	  </div>
    </div>			
<div class="nav1-container">
<SCRIPT language=javascript>
<!--hide
 var enable=0; today=new Date();
   var day; var date;
   var time_start = new Date();
   var clock_start = time_start.getTime();
   if(today.getDay()==0)  day=" Sunday" 
   if(today.getDay()==1)  day=" Monday" 
   if(today.getDay()==2)  day=" Tuesday" 
   if(today.getDay()==3)  day=" Wednesday" 
   if(today.getDay()==4)  day=" Thursday" 
   if(today.getDay()==5)  day=" Friday" 
   if(today.getDay()==6)  day=" Saturday" 
   date=(today.getMonth()+1)+"."+(today.getDate())+"."+today.getYear();
document.write("&nbsp;&nbsp;&nbsp;<B>"+date + day+"</B>");
//--hide-->   
</SCRIPT>
   </div> 

    <!-- Sitename --><!-- Site slogan -->
    <!-- Header banner -->
<div><img class="img-header" src="./img/header.jpg" alt=""/></div>
    
    <!-- Navigation Level 2 -->												
    <div class="nav2">			
		<ul>
        <li><a href="index.ASP" >home</a></li>
		 <li><a href="news.asp">news center </a></li>
        <li><a href="products.asp" class="selected">products</a></li>
        <li><a href="downloads.asp">downloads</a></li>
		<li><a href="leavemsg.html"  >feed back</a></li>			
                <li><a href="about.html"  >about us</a></li>
    <li><a href="contactus.html">contact us </a></li>		
	  </ul>
	</div>
    
    <!-- Buffer after header -->    
		<div class="buffer"></div>

		<!-- NAVIGATION -->				
  	<!-- Navigation Level 3 -->
		<div class="nav3">
      <!--#include file="conn.asp"-->
 <ul>
   <li class="title">products SORT </li>
   <% 
   dim firstID
   set rs=server.CreateObject("adodb.recordset") 
			sql="select * from product_sort order by sx asc"
			rs.open sql,conn,1,1
		if rs.eof or rs.bof then
		response.write("<li class='group'>NO PRODUCTS</li>")
		else
		'write the first line
		firstID=rs("id")
		%>
 <li class="group" ><a href="products_small.asp?img_id=<%=rs("id")%>" class="selected"><%=server.HTMLENCODE(rs("sort"))%></a></li>		
<%
rs.movenext
while not rs.eof or rs.bof 
%>
        <li class="group"><a href="products_small.asp?img_id=<%=rs("id")%>"><%=server.HTMLENCODE(rs("sort"))%></a></li>		
        <%
		rs.movenext
		wend
		end if
		rs.close
		set rs=nothing
		%>
      </ul>
      <ul>
        <li class="title">Recommand</li>
		<%
		
set rs= Server.CreateObject("ADODB.Recordset")
rs_sqltxt="select product_name ,id,big_sortid from product_info  where tuijian=1"
rs.open rs_sqltxt,conn,1,1
		if rs.eof or rs.bof then
		response.write("<li class='group'>NO RECOMANNDS</li>")
		else
while not rs.eof or rs.bof 
%>
       <li class="group">
	   <a href="products_detail.asp?img_id=<%=rs("id")%>&big_img_id=<%=rs("big_sortid")%>"><%=rs("product_name")%></a></li>
	    <%
		rs.movenext
		wend
		end if
		rs.close
		set rs=nothing
		%>	
      </ul>	  
   <!--#include file="search.asp" -->
		</div>
		<!-- 	CONTENT -->
		<div class="content2">

  	  <!-- Page title -->		
		  <div class="content2-pagetitle STYLE1">
		     <% 
			set rs1=server.CreateObject("adodb.recordset") 
			sql="select * from product_small_sort where big_sortid="&firstID&" order by sx asc"
			rs1.open sql,conn,1,1
			if rs1.eof or rs1.bof then
			response.Write "NO SMALL SORT"
			else
			secondID=rs1("ID")
			while not rs1.eof or rs1.bof
			response.Write "<a href='products_small.asp?small_img_id="&rs1("id")&"&img_id="&firstID&"'<FONT COLOR=#000000>&#8226;</font>&nbsp;&nbsp;" 
			response.Write rs1("sort")&"&nbsp;&nbsp;&nbsp;&nbsp;</a>"
			rs1.movenext
			wend
			end if
			 %>
		  </div>			
                				
			<!-- Text container -->
			<div class="content2-container line-box">
				<div class="content2-container-1col">
				  <div class="content-txtbox-noshade">
				  <% 
				  set rs=server.CreateObject("adodb.recordset")
	sql="select * from product_info where sort_id ="&secondID&" order by sx asc"
	rs.open sql,conn,1,1
			   if rs.eof or rs.bof then
			   response.write("NO PRODUCTS AT THE MOMENT")
			   else
			   'show the rows and columns of the images queue
			   set rs2=server.CreateObject("adodb.recordset")
	sql_txt="select id,sort_rows,sort_cols from product_small_sort where id ="&secondID
	rs2.open sql_txt,conn,1,1
			       rows=rs2("sort_rows")
				   cols=rs2("sort_cols")
				   rs2.close
				   set rs2=nothing
				   %>
				  <!--#include file="page3en.asp"-->
				   <%
				   response.Write("<table width=529>")
		for i=1 to x
       if (i mod cols)=1 then
	   response.write("<tr>")
	   end if
		%>
          	<td align="center"><a href="products_detail.asp?img_id=<%=rs("id")%>&big_img_id=<%=rs("big_sortid")%>"><img  src="<%=rs("small_img")%>"  align="absbottom" border="1"  style="border-color:rgb(106,192,211)" width="<%=rs("sort_width")%>" height="<%=rs("sort_height")%>"/><P><strong><%=rs("product_name")%></strong></a></td>
			<% 
          if (i mod cols)=0 then
              response.write "</tr>"
          end if
		  rs.moveNext
          next
		  response.Write("</table>")
       end if
	   %>
				  </div>
				</div>
      </div>
      
			<!-- Text container --><!-- Text container -->
      <!-- Text container -->
      <!-- Text container -->
	   <!--#include file="page2en.asp"-->
        </div>
		<!-- FOOTER -->
    <div class="footer">
       <p><b>Copyright &copy; 2006 wedosanitary.com | All Rights Reserved</b></p>
       <p>Design  C.Z.Yun <a href="mailto:380561443@163.com"> 380561443@163.com</a></p>
    </div>
</div>
</body>
</html>

⌨️ 快捷键说明

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