?? index.asp
字號:
<!--#include file="conn.asp"-->
<!--#include file="config.asp"-->
<title><%=webname%>--首 頁</title>
<!--#include file="include/header.asp"-->
<table width="760" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" colspan="2"><img src="images/t1.jpg" border="0" width="200" height="33" alt=""></td>
<td width="48" valign="top" ><img src="images/t1-2.jpg" border="0" width="42" height="33" alt=""></td>
<td valign="top" colspan="2"><img src="images/t2.jpg" border="0" width="536" height="33" alt=""></td>
<td valign="top"> </td>
</tr>
<tr>
<td width="40" height="100%" valign="top" background="images/bg_1.jpg"><img src="images/bg_1.jpg" border="0" width="24" height="1" alt=""></td>
<td width="188" height="50" valign="top" > <div align="center"><img src="images/qq.gif" width="18" height="18">
在線咨詢:<strong>
<% = qq %>
</strong> <br>
<!-- #include file="include/recommend.asp"-->
<!--#include file="include/pronav.asp"-->
<br>
<p style="margin-top: 0; margin-bottom: 0">
<script src="http://www.021buy.com/shop/shop/counter/index.asp"></script>
<a href="http://www.swesty.com/join.htm"> </a></p>
<p align="left" style="margin-top: 0; margin-bottom: 0"> <a href="http://www.swesty.net/webshop/faq.htm">
</a>
<!-- #include file="include/sold.asp"--><iframe width=170 frameborder=0 border=0 scrolling=no height=40 src="http://www.dangdang.com/league/link/showlink.asp?type=dangdang&id=36&userid=P-1303541"></iframe></p>
<br>
<a href='http://www.menglu.com/default.asp?ap=021buy'> <img src='http://www.menglu.com/images/ap/m15.gif' width="160" height="60" border=0></a>
</div>
</div></td>
<td valign="top" background="images/bg_2.jpg"> </td>
<td valign="top" width="504" >
<div style="font-size:11px">
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0" ALIGN="center">
<TR>
<TD valign="top" nowrap> <a href='http://www.menglu.com/active/031211water/031211.asp?ap=021buy'>
<br>
<img src='http://www.menglu.com/images/ap/m22.gif' width="390" height="60" border=0></a><a href='http://www.menglu.com/default.asp?ap=021buy'>
<img src='http://www.menglu.com/images/ap/m18.gif' width="100" height="60" border=0></a><br>
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH="100%">
<%Dim mark
set rs=server.CreateObject("adodb.recordset")
rs.open "select top 10 id,name,pic,price1,price2 from product order by adddate desc",conn,1,1
if rs.eof and rs.bof then
response.write "對不起,請您先到后臺添加商品!"
end if
i=0
do while not rs.eof
%>
<tr>
<td colspan="3" background="images/hor.gif" border="0"></td>
</tr>
<TR>
<TD WIDTH="249"> <TABLE CELLSPACING=0 CELLPADDING=0 WIDTH="100%">
<TR>
<TD width="95" align="center" VALIGN=middle> <A HREF=product.asp?id=<%=rs("id")%> TARGET=_blank>
<IMG ALT=<%=trim(rs("name"))%> SRC=<%if trim(rs("pic"))="" then %>
images/emptybook.gif
<% else %>
<% = trim(rs("pic")) %>
<% end if%> BORDER=0></A> </TD>
<TD width="151" VALIGN=middle> <A HREF=product.asp?id=<%=rs("id")%> TARGET=_blank><FONT COLOR=#FF6600><%=trim(rs("name"))%></FONT></A><br>
市場價:<%=rs("price1") %>元<BR>
會員價:<FONT COLOR=#FF6600><%=rs("price2")%>元</FONT><br>
節 省:<%=rs("price1")-rs("price2")%>元<BR> <a href=# onClick="javascript:window.open('cart.asp?id=<% = rs("id") %>','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"><img src=images/skin/default/cart.gif width=50 height=19 align=absmiddle border=0></a>
<a href=# onClick="javascript:window.open('addto.asp?id=<% = rs("id") %>&action=add','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"><img src=images/skin/default/addto.gif width=50 height=19 align=absmiddle border=0></a>
<%rs.movenext%>
</TD>
</TR>
</TABLE></TD>
<td width="3" background="" border="1"></td>
<TD width="252" VALIGN=middle> <TABLE WIDTH="100%" height="99" CELLPADDING=0 CELLSPACING=0>
<TR>
<TD width="80" height="97" align="center" VALIGN=middle>
<A HREF=product.asp?id=<%=rs("id")%> TARGET=_blank>
<IMG ALT=<%=trim(rs("name"))%> SRC=<%if trim(rs("pic"))="" then %>
images/emptybook.gif
<% else %>
<%= trim(rs("pic")) %>
<% end if %> BORDER=0></A></TD>
<TD width="125" VALIGN=middle> <A HREF=product.asp?id=<%=rs("id")%> TARGET=_blank><FONT COLOR=#FF6600><%=trim(rs("name"))%></FONT></A><br>
市場價:<%=rs("price1")%>元<BR>
會員價:<FONT COLOR=#FF6600><%=rs("price2")%>元</FONT><br>
節 省:<%=rs("price1")-rs("price2")%>元<BR> <a href=# onClick="javascript:window.open('cart.asp?id=<% = rs("id") %>','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"><img src=images/skin/default/cart.gif width=50 height=19 align=absmiddle border=0></a>
<a href=# onClick="javascript:window.open('addto.asp?id=<% = rs("id") %>&action=add','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"><img src=images/skin/default/addto.gif width=50 height=19 align=absmiddle border=0></a></TD>
</TR>
</TABLE></TD>
</TR>
<%i=i+1
if i>=5 then exit do
rs.movenext
loop
rs.close
set rs=nothing
%>
</TABLE></TD>
</TR>
<tr>
<td colspan="3" background="" border="0" height="5"> <hr size="1" style="color: silver" >
</td>
</tr>
</TABLE>
</div>
<div style="font-size:11px">
<div align="center"><a href=<%=topurl%> target="_blank"><img src=<%=top%> border="0"></a>
<br>
<!--#include file="include/newscast.asp"-->
</div>
</div></td>
<td width="36" valign="top" background="images/bg_3.jpg"> </td>
<td valign="top" width="3"> </td>
</tr>
<tr>
<td valign="top" colspan="5"><img src="images/wins_bottom.jpg" border="0" width="778" height="50" alt=""></td>
<td valign="top" width="3" > </td>
</tr>
</table>
<!--#include file="include/footer.asp"-->
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -