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

📄 top.asp

📁 电子商务系统Easy_Buy是一个在线销售系统
💻 ASP
字号:
<!--#include file="../../conn/conn.asp" -->
<!--#include file="../../user2/conn/china.asp" -->
<%if request("userid")<>"" and isnumeric(request("userid")) then
userid=request("userid")
else
Response.Write "出现错误,请确认您访问的网址是否正确。"
Response.end
end if
set rsuser = conn.execute("select * from user_name where id="&userid&"")
if rsuser.eof then
Response.write "<meta http-equiv='refresh' content='5; url=../index.asp'>"
Response.Write("未找到您要流览网店。")
Response.end
end if
if rsuser("zt")="0" or rsuser("zt")="3" or rsuser("zt")="4" then
Response.write "<meta http-equiv='refresh' content='5; url=../index.asp'>"
Response.Write("您游览的网站尚未通过审核或已经过期作废。")
Response.end
end if%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=rsuser("name")%></title>
<link href="../user/css/css.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script><noscript><iframe src="*.htm"></iframe></noscript>
</head> 
<body>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td background="../../user2/image/top_bj.gif"> 
      <table width="762" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr valign="bottom"> 
          <td width="170" height="70" rowspan="2" align="center" valign="middle"><a href="index.asp"  onFocus="this.blur()"><img src="../user/image/<%if rsuser("logo")<>"" then
Response.Write("logo/"&rsuser("logo")&"")
else
Response.Write("logo.gif")
end if%>" width="120" height="50" border="0"></a></td>
          <td width="590" height="35" valign="middle" align="right"> 
		  <a href="cart.asp?userid=<%=userid%>" onFocus="this.blur()"><img src="../image/top/top_cart.gif" width="76" height="20" border="0"></a> 
          <a href="huiyuan-1.asp?userid=<%=userid%>" onFocus="this.blur()"><img src="../image/top/top_hy.gif" width="76" height="20" border="0"></a> 
          <a href="lianxi.asp?userid=<%=userid%>" onFocus="this.blur()"><img src="../image/top/top_mail.gif" width="76" height="20" border="0"></a>
	      <a href="pinlun.asp?userid=<%=userid%>" onFocus="this.blur()"><img src="../image/top/top_pinlun.gif" width="76" height="20" border="0"></a> 
          <a href="guestbook.asp?userid=<%=userid%>" onFocus="this.blur()"><img src="../image/top/top_book.gif" width="76" height="20" border="0"></a><a href="../bbs/index.asp?action=online"><img src="../user2/image/top_lt.gif" border="0"></a>&nbsp;&nbsp;</td>
        </tr>
        <tr valign="bottom"> 
          <td height="35" align="right"><a href="index.asp?userid=<%=userid%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image11','','../user2/image/top_m1.gif',1)" onFocus="this.blur()"><img src="../user2/image/top_1.gif" name="Image11" width="94" height="36" border="0"></a><a href="news.asp?userid=<%=userid%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image12','','../user2/image/top_m2.gif',1)" onFocus="this.blur()"><img src="../user2/image/top_2.gif" name="Image12" width="94" height="36" border="0"></a><a href="hot.asp?userid=<%=userid%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image13','','../user2/image/top_m3.gif',1)" onFocus="this.blur()"><img src="../user2/image/top_3.gif" name="Image13" width="94" height="36" border="0"></a><a href="boot.asp?userid=<%=userid%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image14','','../user2/image/top_m4.gif',1)" onFocus="this.blur()"><img src="../user2/image/top_4.gif" name="Image14" width="94" height="36" border="0"></a><a href="kefu.asp?userid=<%=userid%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image15','','../user2/image/top_m5.gif',1)" onFocus="this.blur()"><img src="../user2/image/top_5.gif" name="Image15" width="94" height="36" border="0"></a><a href="my.asp?userid=<%=userid%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image16','','../user2/image/top_m6.gif',1)" onFocus="this.blur()"><img src="../user2/image/top_6.gif" name="Image16" width="94" height="36" border="0"></a></td>
        </tr>
      </table>
</table>
<table width="760" border=0 align="center" cellpadding=0 cellspacing=0>
  <tr>
    <td height=5 background="../user2/image/top_bg.gif"></td>
  </tr><tr>
    <td height="30" valign="middle" bgcolor=#909091> 
      <table height=3 cellspacing=0 cellpadding=0 width="100%" border=0>
  <tr>
    <td height=3></td>
  </tr>
</table>
      <table width="100%" height="27" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="400" valign="middle">
&nbsp;&nbsp;<%if session("huiyuan")<>"" then
Response.Write("<font color=white>欢迎您 <b>"&session("huiyuan")&"</b> 会员的光临,您要:[<a href=huiyuan-1.asp?userid="&userid&"><font color=white>会员中心</font></a>] [<a href=loginout.asp?userid="&userid&"><font color=white>退出登陆</font></a>]</font>")
else
Response.Write("<font color=white>欢迎您的光临,您要:[<a href=login.asp?userid="&userid&"><font color=white>会员登陆</font></a>] [<a href=zhuce-1.asp?userid="&userid&"><font color=white>免费注册为会员</font></a>]</font>")
end if%></td>
          <form name="key" method="post" action="search.asp?userid=<%=userid%>">
            <td width="360" valign="middle"> 
              <font color=#ffffff>产品搜索:</font><input name="key" type="text" class="wenbenkuang" size="20" maxlength="12">
              <input name="imageField" type="image" src="../user2/image/top_go.gif" align="middle" width="28" height="27" border="0">
              <a href="search2.asp?userid=<%=userid%>"><img src="../user2/image/top_key.gif" width="60" height="27" border="0" align="absmiddle"></a> 
            </td>
          </form>
        </tr>
</table></td></tr></table>
<table width="760" height="120" border="0" align="center" cellpadding="0" cellspacing="0" >
    <tr>
    <td height=2></td>
  </tr>
  <tr> 
    <td valign="top" background="<%if rsuser("banner")<>"" then
Response.Write("../user/image/banner/"&rsuser("banner")&"")
else
Response.Write("../user2/image/banner.gif")
end if%>"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
 width="760" height="120">
        <param name=movie value="image/banner.swf">
        <param name=quality value=high>
        <param name=wmode value=transparent>
        <param name=bgcolor value=#FFFFFF>
        <embed src="image/banner.swf"  width="760" height="120" quality=high wmode=transparent bgcolor=#FFFFFF
 type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed> 
      </object></td>
  </tr>
    <tr>
    <td height=2></td>
  </tr>
</table>

⌨️ 快捷键说明

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