📄 inc.asp
字号:
<!--#include file="conn.asp"-->
<%
dim rs1,sql1
set rs1=server.CreateObject("adodb.recordset")
sql1="select * from index where id=1"
rs1.open sql1,conn,1,1
%>
<%sub top%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title><%=rs1("homepage")%></title>
<META http-equiv=Content-Language content=zh-cn>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK
href="img/cnwy.css" rel=stylesheet>
</head>
<body>
<%end sub%>
<%sub head%>
<TABLE width=781 height=192 border=0 align=center background="IMG/topbg.gif">
<TBODY>
<TR>
<TD width=780 background=IMG/topbg.gif bgColor=#ffffff height=15>
<DIV align=right></DIV></TD>
</TR>
<TR>
<TD vAlign=top width=780 background=IMG/logo.gif height=147> <DIV align=right><SPAN class=noline>
<object
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0
height=140 width=429 align=left
classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000>
<param name="movie" value="img/logo.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="img/logo.swf"
width="429" height="140" align="left" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash"></embed> </object>
<IMG height=14
src="IMG/sy.gif" width=17> <A class=top
onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('<%=rs1("homeurl")%>');"
href="<%=rs1("homeurl")%>"><FONT color=#000000>设为首页</FONT></A> <IMG
height=14 src="IMG/sc.gif" width=17> <A class=top
onclick=window.external.AddFavorite(location.href,document.title);
href="<%=rs1("homeurl")%>"><FONT color=#000000>加入收藏夹</FONT></A> <IMG
height=14 src="IMG/lx.gif" width=17> <A class=top
href="<%=rs1("homeurl")%>"><FONT color=#000000>联系我们</FONT></A> <BR>
<SCRIPT>
today=new Date();
function initArray(){
this.length=initArray.arguments.length
for(var i=0;i<this.length;i++)
this[i+1]=initArray.arguments[i] }
var d=new initArray(
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday");
document.write(
today.getMonth()+1,".",
today.getDate(),".",
today.getYear(),".",
d[today.getDay()+1] );
</SCRIPT>
<MARQUEE scrollAmount=2 scrollDelay=5>
<BR>
</MARQUEE>
</SPAN> <SPAN class=noline>
<MARQUEE scrollAmount=2 scrollDelay=5>
</MARQUEE>
</SPAN></DIV></TD>
</TR>
<TR>
<TD height=21 background=IMG/topbg.gif bgcolor="#FFFFFF"> <DIV align=center>
<table border="0" cellpadding="0" cellspacing="0" width="780">
<tr><%if request.Cookies("cnwy")="cnwy" then url="main.asp" else url="index.asp" end if%>
<td width="10"> </td>
<td width="106"><a href="<%=url%>"><img src="img/index_r1_c2.gif" width="103" height="26" border="0"></a></td>
<td width="23"> </td>
<td width="108"><div align="left"><a href="gonggao.asp"><img src="img/index_r1_c4.gif" width="100" height="26" border="0"></a></div></td>
<td width="20"> </td>
<td width="112"><a href="wz.asp"><img src="img/index_r1_c6.gif" width="104" height="26" border="0"></a></td>
<td width="20"> </td>
<td width="108"><a href="ksindex.asp"><img src="img/index_r1_c8.gif" width="100" height="26" border="0"></a></td>
<td width="20"> </td>
<td width="110"><a href="score.asp"><img src="img/index_r1_c10.gif" width="102" height="26" border="0"></a></td>
<td width="20"> </td>
<td width="110"><a href="down.asp"><img src="img/index_r1_c12.gif" width="102" height="26" border="0"></a></td>
<td width="10"> </td>
</tr>
</table>
</DIV></TD>
</TR>
</TBODY>
</TABLE>
<%end sub%>
<%sub footer%>
<table width=781 border=0 align=center cellpadding=0 cellspacing=0 background="IMG/topbg.gif" class=p9>
<tbody>
<tr>
<td width="778"
height=20 align=Middle background=IMG/topbg.gif bgcolor=#ffffff> </td>
</tr>
<tr>
<td class=bottom align=Middle background=IMG/topbg.gif
bgcolor=#ffffff height=20> <p align="center">版权所有 Copyright © 2005-2008<a class=bottom href="<%=rs1("homeurl")%>">
<%=rs1("homepage")%> </a> All Rights Reserved 站长:吻宇QQ32940696<br>
程序设计 :王铮(吻宇)QQ32940696<a class=bottom title=<%=rs1("banquan")%>
href="<%=rs1("homeurl")%>"> </a>授权使用:<a class=bottom
href="<%=rs1("homeurl")%>"><%=rs1("homepage")%></a><br>
</p></td>
</tr>
<tr>
<td align=middLe background=IMG/topbg.gif bgcolor=#ffffff
height=13> </td>
</tr>
</tbody>
</table>
<%
rs1.close
set rs1=nothing
set conn=nothing
%>
<%end sub%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -