📄 index_fen.asp
字号:
<!--#include file="setep.asp"-->
<html><head>
<title><%=chaddr%>网站导航</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv=<%=chaddr%> content=no-cache>
<style type="text/css">
<!--
body,td,th {
font-size: 12px;
color: #000000;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url(../../images/cgame412.gif);
}
a {
font-size: 12px;
color: #FF66CC;
}
a:link {
text-decoration: none;
color: #000000;
}
a:visited {
text-decoration: none;
color: #333333;
}
a:hover {
text-decoration: none;
color: #990000;
}
a:active {
text-decoration: none;
color: #FF0000;
}
.style1 {color: #FFFFFF}
-->
</style><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
<script language="JavaScript">
var timerID = null;
var timerRunning = false;
function stopclock (){
if(timerRunning)
clearTimeout(timerID);
timerRunning = false;}
function startclock () {
stopclock();
showtime();}
function showtime () {
var now = new Date();
var year = now.getYear();
var month = now.getMonth()+1;
var day = now.getDate();
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds()
var timeValue =year +"年"
timeValue += month+"月"
timeValue += day+"日 "
timeValue += "" +((hours >= 12) ? "下午 " : "上午 " )
timeValue += ((hours >12) ? hours -12 :hours)
timeValue += ((minutes < 10) ? ":0" : ":") + minutes
timeValue += ((seconds < 10) ? ":0" : ":") + seconds
liveclock.innerHTML=timeValue
timerID = setTimeout("showtime()",1000);
timerRunning = true;}
</script>
<body onload="startclock()">
<table width="800" height="60" border="0" align="center" cellpadding="0" cellspacing="0">
<tr><td background="images/webtop_bg.gif" width="332"><%=k_logo%></td>
<td background="images/webtop_bg.gif" width="455"><%=k_banner%></td>
</tr></table>
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0">
<tr><% set rsfen=conn.execute("select id,art_type from art_type where sid=-1 order by pid")
%> <td width="100%" height="25" align="left" background="images/22.gif" bgcolor="#FFCC00"> <a href="index.htm">首页</a>
<% do while not rsfen.eof %> | <a href="artical/<%=rsfen("id")%>/1.htm"><%=rsfen("art_type")%></a><% rsfen.movenext
loop %></td>
</tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td scope="col"><%=k_sg%></td>
</tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="20" width="614" bgcolor="#CCCCCC" scope="col">当前位置:<a href="index.htm" target="_self">首页</a>
-->分类导航</td><td width="180" bgcolor="#CCCCCC"><span id="liveclock"></span></td>
</tr>
</table>
<table width="800" height="460" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#F9C250" bgcolor="#FFFFFF">
<tr>
<td width="182" height="458" valign="top" bgcolor="#DCEDDA"><table width="100%" height="280" border="0" cellpadding="0" cellspacing="0">
<script src="ads/index_ads.js"></script> <tr>
<td height="50" valign="top"><TABLE width="182" border=0>
<TBODY>
<TR>
<TD height="30" bgColor=#CC9900><STRONG> 最新文章</STRONG></TD>
</TR>
<TR>
<TD bgColor=#f2f3f7><SPAN style="LINE-HEIGHT: 13pt">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY> <%
set rs=conn.execute("select top 15 * from art_file order by id desc")
do while not rs.eof
%>
<TR>
<TD height=15 bgcolor="#DCEDDA"><img src="images/Point.gif" width="12" height="9"><a href='news/<%=rs("type")%>/<%=rs("filename")%>' title="<%=rs("title")%>" target="_blank"><%=left(rs("title"),13)%></a></TD>
</TR><%
rs.movenext
loop
rs.close
set rs=nothing
%>
</TBODY>
</TABLE>
</SPAN></TD>
</TR>
</TBODY>
</TABLE></td>
</tr>
<tr>
<td height="225" valign="top"><TABLE width="182" border=0>
<TBODY>
<TR>
<TD height="30" bgColor=#CC9900><STRONG> 热点文章</STRONG></TD>
</TR>
<TR>
<TD bgColor=#f2f3f7><SPAN style="LINE-HEIGHT: 13pt">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY><%
set new2=conn.execute("select top 15 * from art_file order by tick desc")
do while not new2.eof %>
<TR>
<TD height=15 bgcolor="#DCEDDA"><img src="images/article_common.gif"><a href='news/<%=new2("type")%>/<%=new2("filename")%>' title="<%=new2("title")%>" target="_blank"><%=left(new2("title"),14)%></a></TD>
</TR><%
new2.movenext
loop
new2.close
set new2=nothing
%>
</TBODY>
</TABLE>
</SPAN></TD>
</TR>
</TBODY>
</TABLE></td>
</tr>
</table></td><td width="612" valign="top">
<table width="100%" height="29" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" bgcolor="#999999">
<form name="search" method="post" action="search.asp">
<tr> <td width="603" align="left" scope="col"> 文章搜索:
<input type="text" name="search">
<select name="seaguan" id="seaguan">
<option value="" selected>综合搜索</option>
<option value="author">作者</option>
<option value="artical">内容</option>
<option value="title">标题</option>
</select>
<input type="submit" name="Submit" value=" 搜 索 ">
</td>
</tr></form>
</table>
<table width="100%" height="44" border="1" cellpadding="0" cellspacing="0">
<% set rsfen=conn.execute("select * from art_type where sid=-1") %>
<% do while not rsfen.eof %>
<%
id1=rsfen("id")
rsy1=conn.execute("select count(*) from art_file where type="&id1&" or type in(select id from art_type where sid="&id1&")")(0)
%> <tr><td height="20" bgcolor="#CCCCCC"><a href="artical/<%=id1%>/1.htm" target="_blank"><%=rsfen("art_type")%>(<font color=red><%=rsy1%></font>)</a></td>
</tr>
<tr>
<td height="22" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<% set rsfen1=conn.execute("select * from art_type where sid="&rsfen("id"))
while not rsfen1.eof %><tr><% for i=1 to 4
if rsfen1.eof then %>
<td width="148" height="20"></td>
<% else %>
<% rsc=conn.execute("select count(*) from art_file where type="&rsfen1("id"))(0) %>
<td width="148" height="20"><a href="artical/<%=rsfen1("id")%>/1.htm" target="_blank"><%=rsfen1("art_type")%>(<font color=red><%=rsc%></font>)</a></td>
<% rsfen1.movenext
end if
next
%>
</tr><% wend
rsfen1.close
set rsfen1=nothing
%></table></td>
</tr>
<% rsfen.movenext
loop
rsfen.close
set rsfen=nothing
%>
</table></td>
</tr>
</table>
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr> <td height="12" colspan="2"><table width="100%" height="62" border="0" align="right" cellpadding="0" cellspacing="0">
<TBODY> <tr>
<td bordercolor="#ECE9D8" bgcolor="#0B4996"><div align="center" color="#FFFFFF"><span class="style1">Copyright @ <%=chtime%> <%=chaddr%> <%=chcopy%>版权所有<br>
公司地址:<%=chcom%> 电话:<%=chtel%> 邮编:<%=chyou%><br>
email:<%=chemail%></span><br>
</div></td>
</tr></TBODY>
</table></td></tr></table></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -