?? top.asp
字號:
<!--#include file="conn.asp"-->
<html>
<head>
<title>校園網絡商城</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css.css" type="text/css" rel=stylesheet>
<script language="javascript">
function rewindow(url, width, height){
var Win = window.open(url,"rewindow",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=yes,menubar=no,status=no' );
}
</script>
</head>
<body topmargin="0" leftmargin="0">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class=page>
<tr>
<td>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
<TBODY>
<TR>
<TD height="9" width="360"><FONT color=RED><B>今天是:</B></FONT><FONT
color=#505050>
<SCRIPT language=JavaScript>
d = new Date();
document.write((d.getYear())+"年"+(d.getMonth()+1)+"月"+d.getDate()+ "日");
</SCRIPT></FONT><FONT color=#000000>
<SCRIPT language=JavaScript>
d = new Date();
switch (d.getDay()) {
case 0:
strweek="日";
break;
case 1:
strweek="一";
break;
case 2:
strweek="二";
break;
case 3:
strweek="三";
break;
case 4:
strweek="四";
break;
case 5:
strweek="五";
break;
case 6:
strweek="六";
break;
}
document.write("星期"+ strweek);
</SCRIPT>
</FONT></TD>
<TD height="9" align="right" width="400">
<A onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.vertigohome.net/dian/')"
href="javascript:;">設為首頁</a> <A
href="javascript:window.external.addFavorite('http://www.vertigohome.net/dian/'','多多校園網絡商城')"
target=_self>加入收藏</a> <A
href="mailto:kayvin@sohu.com">網站信箱</a> <A
href="help.asp">幫助中心</a></TD>
</TR>
<TR>
<TD height="1" align=middle bgcolor="#FF99CC" colspan="2"></TD>
</TR>
</TBODY>
</TABLE>
<div align="center">
<TABLE width=760 border=0 cellPadding=0 cellSpacing=0 height="77">
<TBODY>
<TR >
<TD width="172" align="center">
<a href=index.asp>
<img border="0" src="images/toplogo.gif"></a></TD>
<TD align="center" width="492">
<img border="0" src="images/banner.gif" width="468" height="60"></TD>
<TD align="center">
<div align="center">
<table border="0" width="90%" cellspacing="0" cellpadding="0" id="table1" height="69">
<tr>
<td height="22" align="center"><a href="http://www.vertigohome.net/dian/products.asp">
<font color="#0000FF">多多程序</font></a></td>
</tr>
<tr>
<td height="25" align="center"><a href="http://www.vertigohome.net/dian/price.asp">
<font color="#FF0000">多多價格</font></a></td>
</tr>
<tr>
<td align="center"><a href="http://www.vertigohome.net/dian/contact.asp"><font color="#008000">
多多聯系</font></a></td>
</tr>
</table>
</div>
</TD>
</TR>
</TBODY>
</TABLE>
</div>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FEDDEE" >
<tr>
<td height="3"></td>
</tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="3"></td>
</tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="180" rowspan="2"> </td>
<td height="39">
<div align="center">
<%if session("user")="" then%>
<table width="573" height="28" border="0" cellpadding="0" cellspacing="0">
<form name="userlogin" action="checkuser.asp" method="post">
<tr>
<td width="379"> 用 戶:
<input name="user" type="text" class="border" size="10">
密 碼:
<input name="password" type="password" class="border" size="10">
<input type="submit" name="submit1" value="登陸" class="border">
<a href="reg.asp"></a> </td>
<td width="99"><a href="reg.asp"><img src="images/reg.gif" width="90" height="30" border="0"></a></td>
<td width="95"><A
href="javascript:window.external.addFavorite('http://www.vertigohome.net/dian/'','多多校園網絡商城')"
target=_self><img src="images/favourite.gif" width="90" height="30" border="0" ></a></td>
</tr>
</form>
</table>
<%else%>
<table width="564" height="18" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="442" ><div align="center">我的賬號: <a href=javascript:rewindow('usermodify.ASP',500,380)><font color="#FF20AB">[修改資料]</font></a> <a href=javascript:rewindow('password.ASP',500,380)><font color="#FF20AB">[修改密碼]</font></a> <a href=javascript:rewindow('dingdan.ASP',500,380)><font color="#FF20AB">[歷史訂單]</font></a> <a href="logout.asp"><font color="#FF20AB">[注銷退出]</font></a>
</div></td>
<td width="122" ><img src="images/favourite.gif" width="90" height="30"></td>
</tr>
</table>
<%end if%>
</div></td>
</tr>
<tr>
<td><img src="images/menu.jpg" width="622" height="29" border="0" usemap="#Map"></td>
</tr>
</table>
<table width="760" height="38" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="756" height="29" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<form name="search" action="trsearch.asp" method="post">
<tr>
<td width="70"><div align="center">商品搜索</div></td>
<td width="140"><input name="keyword" type="text" class="border" size="20"></td>
<td width="81"><div align="center">
<input type="submit" name="submit" value="查找" class="border">
</div></td>
<td width="62"><div align="center">本站公告</div></td>
<td width="411">
<table width="379" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td>
<%
set rs=server.createobject("adodb.recordset")
sql="select top 6 * from news where sort='本站公告' order by id desc"
rs.open sql,conn,1,1
if rs.eof then
response.write"暫時沒有公告"
else
%>
<marquee onMouseOver="this.stop()" onMouseOut="this.start()" behavior="scroll" direction="left" width="360" scrollamount="3" scrolldelay="1">
<%
do while not rs.eof
%>
·<%=rs("title")%>
<%
rs.movenext
loop
end if
rs.close
set rs=nothing
%>
</marquee></td>
</tr>
</table></td>
</tr>
</form>
</table></td>
</tr>
</table>
<map name="Map">
<area shape="rect" coords="18,8,57,25" href="index.asp">
<area shape="rect" coords="90,7,143,25" href="newproduct.asp">
<area shape="rect" coords="164,8,218,24" href="tuijian.asp">
<area shape="rect" coords="240,9,293,24" href="tejia.asp">
<area shape="rect" coords="318,9,372,24" href="javascript:rewindow('qhdj.asp',500,380)">
<area shape="rect" coords="398,8,454,24" href="shfs.asp">
<area shape="rect" coords="481,9,536,25" href="fkfs.asp">
<area shape="rect" coords="562,9,607,25" href="javascript:rewindow('order.asp',500,380)">
</map>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -