📄 index.asp
字号:
<!--#include file="top.asp"-->
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="5"></td>
</tr>
</table>
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=691 height="800">
<TBODY>
<TR>
<TD width=193 valign="top">
<TABLE border=0 cellPadding=0 cellSpacing=0 width=147 valign="top">
<TBODY>
<TR>
<TD bgColor=#efefef height=511 vAlign=top width=147>
<TABLE cellPadding=0 cellSpacing=0 width=188>
<TBODY>
<TR>
<TD colSpan=2><IMG
src="images/pics2/wp_main_leftmenu_01.gif"></TD>
</TR>
<TR>
<TD height=18 width=5></TD>
<TD height=18 width=186>
<table width="180" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td valign="top">
<table border="0" width="180" cellspacing="0" cellpadding="0" height="18">
<%if session("user_name")<>"" then%>
<tr>
<%sql="select * from member where user_name='"&session("user_name")&"'"
rs.open sql,conn,3,3
%>
</tr>
<tr>
<td width="100%" height="18">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5">
<table border="0" width="100%" cellspacing="0">
<tr>
<td height="25"> <img src="IMAGES/pics2/login_im1.gif" width="29" height="23" align="absmiddle">
用户名:</td>
<td height="25"><%=rs("user_name")%></td>
</tr>
<tr>
<td height="25"><img src="IMAGES/pics2/login_im3.gif" width="30" height="17" align="absmiddle">
地址:</td>
<td height="25"><%=rs("user_adds")%></td>
</tr>
<tr>
<td height="25"><img src="IMAGES/pics2/login_im2.gif" width="29" height="16" align="absmiddle">
E-mail:</td>
<td height="25"><%=rs("user_mail")%></td>
</tr>
<tr>
<td height="25"><img src="IMAGES/pics2/login_im4.gif" width="29" height="20" align="absmiddle">
电话:</td>
<td height="25"><%=rs("user_tel")%></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<%rs.close%>
<%else%>
<tr>
<td width="100%" height="18">
<table width="99%" border="0" cellspacing="1" cellpadding="0" >
<form method="POST" action="login.asp">
<tr>
<td width="100%" height="110">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="5">
<tr>
<td width="32%">
<div align="center">客户:</div>
</td>
<td width="68%">
<div align="center">
<input name="user_name" type="text" class=input id="user_name5" style="FONT-SIZE: 12px; WIDTH: 110px" size="10" maxlength="18">
</div>
</td>
</tr>
<tr>
<td>
<div align="center">密码:</div>
</td>
<td>
<div align="center">
<input style="FONT-SIZE: 12px; WIDTH: 110px" type="password" name="user_pass" size="10" class=input maxlength="18">
</div>
</td>
</tr>
</table>
<div align="center"></div>
<table width="90%" border="0" cellspacing="5" cellpadding="0" align="center">
<tr>
<td width="80"><a href="reg.asp" target="_blank"><img src="images/pics/reg.gif" width="81" height="25" border="0"></a></td>
<td>
<div align="center">
<input
align=absMiddle alt=进入 cache name=submit2
src="IMAGES/pics/login.gif" type=image tppabs="" width="56" height="25">
</div>
</td>
</tr>
</table>
</td>
</tr>
</form>
</table>
<%end if%>
</td>
</tr>
</table>
</td>
</tr>
</table>
</TD>
</TR>
<TR>
<TD colSpan=2><IMG
src="images/pics2/wp_main_leftmenu_02.gif"></TD>
</TR>
<TR>
<TD colSpan=2 height=7></TD>
</TR>
<TR>
<TD colSpan=2><IMG
src="images/pics2/wp_main_leftmenu_01_1.gif" width="190" height="35"></TD>
</TR>
<TR>
<TD width="5"> </TD>
<td height="18" class="zi2" width="186"><marquee behavior=loop direction=up id=news onMouseOut=start()
onMouseOver=stop() scrollamount=1 scrolldelay=30
style="FONT-WEIGHT: normal; HEIGHT: 130px; LEFT: 5px; MARGIN-LEFT: 1px; TEXT-ALIGN: left; TOP: 1px; WIDTH: 170px">
<%
sql="select msg from pub order by id desc"
rs.open sql,conn,3,3
%>
<%=rs("msg")%>
<%
rs.close
set rs1=nothing%>
</marquee> </td>
</TR>
<TR>
<TD colSpan=2><IMG
src="images/pics2/wp_main_leftmenu_02.gif" width="146" height="1" border=0></TD>
</TR>
<TR>
<TD colSpan=2 height=7></TD>
</TR>
<TR>
<TD colSpan=2><IMG
src="images/pics2/wp_main_leftmenu_01_2.gif" width="190" height="35" border=0></TD>
</TR>
<TR>
<TD height=18 width="5"> </TD>
<TD height=18 width="186">
<%
sql="select * from sort"
rs.open sql,conn,1,1
if rs.bof and rs.eof then
response.write "没有任何分类"
else
do while not rs.eof
%>
<div align="center"> <a href="sort.asp?sort_id=<%=rs("sort_id")%>"><br>
<font color="#000000"><b><%=rs("sort_name")%></b></font></a><br>
<% set rs1=server.createobject("adodb.recordset")
sql="select * from Nsort where sort_id="&rs("sort_id")
rs1.open sql,conn,1,1
i=0
do while not rs1.eof
i=i+1
%>
<a href="sort.asp?sort_id=<%=rs1("sort_id")%>&Nsort_id=<%=rs1("Nsort_id")%>"><u><%=rs1("Nsort_name")%></u></a>
<%
if (i mod 3<>0) then
%>
<font color="#6699FF"><img src="IMAGES/pics2/bg.gif" width="1" height="14"></font>
<%end if%>
<%
if (i mod 3=0) and i>=3 then
%>
<br>
<%
end if
rs1.movenext
loop
rs1.close
%>
<%
rs.movenext
loop
end if
rs.close
%>
</div>
</TD>
</TR>
<TR>
<TD colSpan=2><IMG
src="images/pics2/wp_main_leftmenu_02.gif" width="146" height="1" border=0></TD>
</TR>
<TR>
<TD colSpan=2 height=7></TD>
</TR>
<TR>
<TD colSpan=2><IMG
src="images/pics2/wp_main_leftmenu_01_3.gif" width="190" height="35" border=0></TD>
</TR>
<TR>
<TD width="5"> </TD>
<td height="18" class="zi2" width="186">
<%sql="select top 15 * from hw order by hw_views DESC"
rs.open sql,conn,3,3
if rs.eof then
response.write "本站目前没有成交任何商品"
else
i=0
do while not rs.eof
%>
<img src="IMAGES/pics2/wp_main_why_q.gif" width="18" height="16" border="0"><a href="views.asp?hw_id=<%=rs("hw_id")%>"><%=rs("hw_name")%></a><br>
<%i=i+1
if i>=13 then exit do
rs.movenext
loop
end if
rs.close
%>
</td>
</TR>
<TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -