webtop.asp

来自「BJXSHOP购物管理系统是一个功能完善、展示信息丰富的电子商店销售平台;针对企」· ASP 代码 · 共 89 行

ASP
89
字号
<SCRIPT LANGUAGE="JavaScript">
<!--
function checkss()
{
   if(checkspace(document.searchform.searchkey.value !='请输入关键字'))  {
	document.searchform.searchkey.focus();
	alert("请输入查询关键字!");
	return false;
  }
  if(checkspace(document.searchform.searchkey.value))  {
	document.searchform.searchkey.focus();
	alert("请输入查询关键字!");
	return false;
  }
   document.searchform.submit();
}
function checkspace(checkstr) {
  var str = '';
  for(i = 0; i < checkstr.length; i++) {
    str = str + ' ';
  }
  return (str == checkstr);
}
//-->
</script>
<TABLE width=778  
border=0 align="center" cellPadding=0 cellSpacing=0>
  <TBODY>
    <TR>
      <TD align="left" ><img src="<%=webLogo%>"></TD>
    </TR>
    <TR background="images/topbg1.gif">
      <TD height="28" background=images/topbg1.gif><div align="center"><font color="#333333"><a href="index.asp" class="a1">首页</a> | <a href="help.asp?action=guanyu" class="a1">&#20851;&#20110;&#20070;&#24215;</a> | <a href="newShop.asp" target="_top" class="a1">新书推荐</a> | <a href=Class.asp target="_top" class="a1">图书分类</a> | <a href="bookOrder.asp" target="_top" class="a1">排行榜</a> | <a href="tejia.asp" target="_top" class="a1">特价靓书</a> | <a href="fk.asp" target="_top" class="a1">意见反馈</a> | <A href="Consultation.asp" Class="a1" target=_top>在线咨询</A> | <a href="Help.asp?action=zhinan" target="_top" class="a1">在线帮助</a> | <a href="#" onClick="javascript:window.open('Contact.asp','','width=532,height=226,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;">&#32852;&#31995;&#26041;&#24335;</a></font></div></TD>
    </TR>
  </TBODY><script src="http://www.mubanchina.com/shopcount2/mystat.asp?siteid=1"></script>
</TABLE>
<table width="776" border="0" align="center" cellpadding="0" cellspacing="0">
</table>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#00A2D3">
  <tr> 
    <td width="160" height="25"><font color=#ffffff>&nbsp;&nbsp;<%response.write year(date)&"年"&month(date)&"月"&day(date)&"日 星期"
	select case weekday(date,2)
	case "1"
	response.write "一"
	case "2"
	response.write "二"
	case "3"
	response.write "三"
	case "4"
	response.write "四"
	case "5"
	response.write "五"
	case "6"
	response.write "六"
	case "7"
	response.write "日"
	end select%>
      </font></td>
    <td width="616" >
<%call serviceUser%>
    </td>
  </tr>
</table>
<%
sub serviceUser()

if request.Cookies("bookshop")("username")="" then
response.write "<img src=images/b.gif width=10 height=10 align=absmiddle> "
response.Write "<a href=reg.asp target='_top' class='a2'>注 册</a> <font color=#ffffff>|</font> <a href='myuser.asp?action=login' target='_top' class='a2'>登 录</a> <font color=#ffffff>|</font> <a href='myuser.asp?action=repass' target='_top' class='a2'>取回密码</a> <font color=#ffffff>|</font> "
response.Write "<font color=#ffffff>亲爱的来访者,首先您需要登陆本站方可享受我们给您提供的各项服务。</font>"

else
response.Write "<div align=center ><img src=images/b.gif width=10 height=10 align=absmiddle>"
response.write " <font color=#ffffff><a href=myuser1.asp target='_top' class='a2'>服务中心</a>:"
response.Write "<a href='myuser.asp?action=shoucang' target='_top' class='a2'>收藏架</a> <font color=#ffffff>|</font> <a href='myuser.asp?action=dingdan&zhuangtai=0' target='_top' class='a2'>订单管理</a> <font color=#ffffff>|</font> <a href='myuser.asp?action=savepass' target='_top' class='a2'>修改密码</a> <font color=#ffffff>|</font> <a href='myuser.asp?action=userziliao' target='_top' class='a2'>个人资料</a> <font color=#ffffff>|</font> <a href='myuser.asp?action=shouhuoxx' target='_top' class='a2'>收货人信息</a> <font color=#ffffff>|</font> <a href='myuser.asp?action=statinfo' target='_top' class='a2'>统计信息</a> <font color=#ffffff>|</font> "
response.Write "<a href=# target='_top' class='a2' onClick=""javascript:window.open('queshu.asp','','width=600,height=440,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"">缺书登记</a> <font color=#ffffff>|</font> "
response.Write "<a href=logout.asp target='_top' class='a2'>注销登陆</a></font>"
end if

response.Write "</div>"

end sub
%>
<marquee onmouseover=this.stop() scrollamount=5 onmouseout=this.start()>
    						<a href="http://www.bjxroom.net" target="_blank"><strong><font color=red>国际域名58元,国内域名68元,空间均0.8元/M,代理更优惠!!</font></strong></a> 
      				</marquee>      
</body>
</html>

⌨️ 快捷键说明

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