📄 index.asp
字号:
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>星星主页</title>
<style type="text/css">
<!--
.style1 {color: #FF0000}
.style9 {color: #FF3366}
.style11 {color: #0066CC}
.style12 {font-size: 14px}
-->
</style>
</head>
<body topmargin="0">
<table width="1004" height="86" border="0">
<tr>
<th width="994" scope="col">
<div align="center">
<!--#include file=top.asp-->
<table width="876" border="1">
<tr>
<th width="178" height="95" scope="col"><!--#include file=login.asp--> </th>
<th width="197" bgcolor="#FFCC66" scope="col"><!--#include file=searchgoods.asp--> </th>
<th width="174" bgcolor="#FFCC66"> <!--#include file=searchinfo.asp--></th>
<th width="299" bgcolor="#FFCC66">
<div align="left">
<table width="100%" border="0" height="50%" >
<tr >
<th scope="col"><!--#include file=announce.asp--></th>
</tr>
<tr>
<th height="83" scope="col"> </th>
</tr>
</table>
</div></th>
</tr>
</table>
</div>
<div align="center">
<table width="875" height="301" border=" " bordercolor="#0033CC">
<tr>
<th width="179" height="274" scope="col"><!--#include file=newgoodsinfo.asp--></th>
<th width="560" scope="col"><div align="justify">
<table width="555" height="137" border=" ">
<tr>
<th width="522" height="116" scope="row"><img src="img/xingixing.jpg" width="556" height="111"></th>
</tr>
<tr>
<th height="0" scope="row"> </th>
</tr>
</table>
<table width="558" height="48" border="1" bordercolor="#0000FF" bgcolor="#66CC66" >
<tr>
<th width="197" scope="col"><span class="style1">发布物品总数</span></th>
<th width="197" scope="col"><span class="style1">发布信息总数</span></th>
<th width="142" scope="col"><span class="style1">用户总数</span></th>
</tr>
<tr>
<th scope="row"><%Set rs=Server.CreateObject("ADODB.Recordset")
sql="select count(goods_id) from goods"
rs.open sql,conn
%>
<%=rs(0)%>
<%rs.close%></th>
<th><%Set rs=Server.CreateObject("ADODB.Recordset")
sql="select count(info_id) from info"
rs.open sql,conn
%>
<%=rs(0)%>
<%rs.close%></th>
<th><%Set rs=Server.CreateObject("ADODB.Recordset")
sql="select count(user_id) from user"
rs.open sql,conn
%>
<%=rs(0)%>
<%rs.close%></th>
</tr>
</table>
<p class="style11">大家好,欢迎来到我们的空间,希望这里能有你所需要的信息。本网站是我们三兄弟的第一个作品,存在的不足之处敬请谅解!<span class="style12"> </span></p>
</div></th>
<th width="122" scope="col"> <table width="101" height="220" border=" ">
<tr>
<th width="95" scope="row"><span class="style9">有情连接</span></th>
</tr>
<tr>
<th height="34" scope="row"><span class="style7"><a href="www.163.com">网易 </a> </th>
</tr>
<tr>
<th scope="row"><span class="style7"><a href="www.51kan.net">在线影院</a></th>
</tr>
<tr>
<th scope="row"><span class="style7"><a href="www.51live.come">网络电视</a> </th>
</tr>
<tr>
<th scope="row"><span class="style7"><a href="www.etang.com">四六级查分</a> </th>
</tr>
<tr>
<th scope="row"><span class="style7"><a href="http://train.tielu.org/SearchStation.aspx">火车查询</a> </th>
</tr>
<tr>
<th scope="row"><span class="style7"><a href="www.chinaren.com">chinaren </a></th>
</tr>
<tr>
<th scope="row"><span class="style7"><a href="http://mobile.163.com/pricewalk/1/00EO/00EO00He0GCM.html">手机报价</a> </th>
</tr>
</table></th>
</tr>
<tr>
<th scope="row"> </th>
<td></td>
<td> </td>
</tr>
</table>
</div></th>
</tr>
</table>
<p> </p>
<%
goods.close
set goods=nothing
info.close
set info=nothing
closedb
%>
</body>
</html>
<script language="vbscript">
sub Button_onClick()
location.assign("reg.asp")
End sub
</script>
<script language="javascript">
function checkdate(){
if( document.login.username.value.length==0)
{ alert("用户名不能为空或不能超过15个字")
document.login.username.focus()
return false;
}
if( document.login.password.value.length==0)
{ alert("密码不能为空")
document.login.password.focus()
return false;
}
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -