📄 index.asp
字号:
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/set.asp"-->
<!--#include file="inc/function.asp"-->
<!--#include file="inc/inc.asp"-->
<!--#include file="inc/code_index.asp"-->
<%
'//版权所有:野草设计
'//程序作者:野草
'//当前版本:V2.0
'//联系QQ:94440079
'//官方网站:http://www.yecaoweb.com
%>
<%
title="本站首页"
execute(loadskin(skinmode))
call NowWhere("本站首页","index.asp")
call head()
%>
<table border="0" cellspacing="0" cellpadding="0" id="content">
<tr><td valign="top" align="center" id="left" nowrap>
<table border="0" cellspacing="0" cellpadding="0" width="100%" ><tr>
<td class="1" nowrap></td><td class="2" align="center" nowrap>
<%call myday()%>
<td class="3" nowrap></td></td></tr></table>
<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr>
<td class="4" nowrap></td><td class="5" valign="top" nowrap>
<p class="left_title"><script type="text/javascript">yecaotitle("left","用户登陆","0");</script></p>
<div class="left_content"><%call YC_userlogin()%></div>
<p class="left_title"><script type="text/javascript">yecaotitle("left","网站统计","0");</script></p>
<div class="left_content">
<%
YC("<ul class=""list""><li>新进会员:")
sql="select top 1 * from [YC_user] where pass=1 order by id desc"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
YC("<font color=""red""><b>"&YC_cut(rs("user_name"),15)&"</b></font>")
rs.close
set rs=nothing
YC("</li><li>用户注册:")
call mytable("YC_user")
YC(" 个")
YC("</li><li>新闻动态:")
call mytable("YC_news")
YC(" 篇")
YC("</li><li>文章作品:")
call mytable("YC_art")
YC(" 篇")
YC("</li><li>精品图片:")
call mytable("YC_pic")
YC(" 张")
YC("</li><li>娱乐欣赏:")
call mytable("YC_dj")
YC(" 个")
YC("</li><li>软件下载:")
call mytable("YC_down")
YC(" 个")
YC("</li><li>友情连接:")
call mytable("YC_link")
YC(" 个")
YC("</li><li>访客留言:")
call mytable("YC_book")
YC(" 条</ul>")
%></div>
<p class="left_title"><script type="text/javascript">yecaotitle("left","在线投票","0");</script></p>
<div class="left_content"><%call YC_vote()%></div>
<p class="left_title"><script type="text/javascript">yecaotitle("left","最新留言","0");</script></p>
<div class="left_content"><%call YC_book()%></div>
<p class="left_title"><script type="text/javascript">yecaotitle("left","友情连接","0");</script></p>
<div class="left_content"><%call YC_link()%></div>
<td class="6" nowrap></td></td></tr></table>
<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td class="7" nowrap></td><td class="8" nowrap></td><td class="9" nowrap></td></tr></table>
</td>
<td id="center" nowrap></td>
<td valign="top" align="center" id="right" nowrap>
<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr>
<td class="11" nowrap></td>
<td class="22" nowrap>
<table border="0" cellspacing="0" cellpadding="0"><tr><td width="80"> 最新消息:</td><td width="460"><marquee width="100%" scrolldelay="10" scrollamount="2" onmouseover="this.stop();" onmouseout="this.start();"><%server.execute("inc/gg.txt")%></marquee></td></tr></table>
<td class="33" nowrap></td>
</td></tr></table>
<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr>
<td class="44" nowrap></td>
<td class="55" valign="top" nowrap>
<p class="right_title">
<script type="text/javascript">yecaotitle("right","<%=indexname(0)%>","news.asp");</script></p>
<div class="right_content"><%call YC_news()%></div>
<p class="right_title"><script type="text/javascript">yecaotitle("right","<%=indexname(1)%>","art.asp");</script></p>
<div class="right_content"><%call YC_art()%></div>
<p class="right_title"><script type="text/javascript">yecaotitle("right","<%=indexname(2)%>","pic.asp");</script></p>
<div class="right_content">
<%if gopic="yes" then%>
<div id='gopic'><table align='center' cellpadding='0' cellspace='0' border='0'><tr><td id='gopic1' valign='top'><%call YC_pic()%></td><td id='gopic2' valign='top'></td></tr></table></div><script>var Picspeed=10;gopic2.innerHTML=gopic1.innerHTML;
function Marquee1()
{
if(gopic2.offsetWidth-gopic.scrollLeft<=0)
{
gopic.scrollLeft-=gopic1.offsetWidth
}else{
gopic.scrollLeft++
}}
var MyMar1=setInterval(Marquee1,Picspeed)
gopic.onmouseover=function(){clearInterval(MyMar1)}
gopic.onmouseout=function() {MyMar1=setInterval(Marquee1,Picspeed)
}
</script>
<%else
call YC_pic()
end if
%></div>
<p class="right_title"><script type="text/javascript">yecaotitle("right","<%=indexname(3)%>","dj.asp");</script></p>
<div class="right_content"><%call YC_dj()%></div>
<p class="right_title"><script type="text/javascript">yecaotitle("right","<%=indexname(4)%>","down.asp");</script></p>
<div class="right_content"><%call YC_down()%></div>
<td class="66" nowrap></td></tr></table>
<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td class="77" nowrap></td><td class="88" nowrap></td><td class="99" nowrap></td></tr></table>
</td></tr></table><%call foot()%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -