<!--#include file="conn.asp"-->
<html>
<head>
<style type="text/css">
body{
SCROLLBAR-FACE-COLOR: #FFCEFF; //滚动条凸出部分的颜色
SCROLLBAR-HIGHLIGHT-COLOR: #FFCEFF; //滚动条空白部分的颜色
SCROLLBAR-SHADOW-COLOR: #FFCEFF; //立体滚动条阴影的颜色
SCROLLBAR-3DLIGHT-COLOR: #FF99FF; //滚动条亮边的颜色
SCROLLBAR-ARROW-COLOR: #FF99FF; //上下按钮上三角箭头的颜色
SCROLLBAR-TRACK-COLOR: #FFCEFF; //滚动条的背景颜色
SCROLLBAR-DARKSHADOW-COLOR: #FF99FF; //滚动条强阴影的颜色
SCROLLBAR-BASE-COLOR: #FFCEFF; //滚动条的基本颜色
}
td{
font-size:9pt;
font-color:black;
}
</style>
</head>
<%
const MaxPerPage=10
if not isempty(request("page")) then
currentpage=cint(request("page"))
else
currentpage=1
end if
%>
<body >
<table width="100%" height="584" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="12%" height="584"> </td>
<td width="76%"><table width="100%" height="584" border="0" cellspacing="0">
<tr>
<td height="584">
<table width="100%" height="512" border="1" cellspacing="0" bordercolor="#FF99FF" style="border-collapse:collapse;">
<tr bordercolor="#FFFFFF">
<td height="30" bordercolor="#FF00FF" bgcolor="#FF66FF">
<div align="center"><strong><font color="#FFFFFF" size="3">信 息 管 理 界 面</font></strong></div></td>
</tr>
<tr>
<td height="480">
<table width="100%" height="476" border="0" cellspacing="0">
<tr>
<td height="476"> <table width="100%" border="0" cellspacing="0">
<tr>
<td height="40"><div align="center"><font color="#0000FF" ></font><a href="add.asp">添加信息</a></font></div></td>
<td height="40"> </td>
<td height="40"><div align="center"><font color="#0000FF"></font><a href="add.asp">添加信息</a></font></div></td>
</tr>
<tr>
<td width="10%" height="394"> </td>
<td width="80%"></td>
</tr>
<%
sql="select * from addition order by id"
set rs=Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write"<p align='center'>还没有任何信息</p>"
else
totalPut=rs.recordcount
if currentpage<1 then
currentpage=1
end if
if (currentpage-1)*MaxPerPage>totalPut then
if(totalPut mod MaxPerPage)=0 then
currentpage=totalPut\MaxPerPage
else
currentpage=totalPut\MaxPerPage+1
end if
if currentpage=1 then
showpage totalPut,MaxPerPage,"manage.asp"
<html>
<head>
<style type="text/css">
body{
SCROLLBAR-FACE-COLOR: #FFCEFF; //滚动条凸出部分的颜色
SCROLLBAR-HIGHLIGHT-COLOR: #FFCEFF; //滚动条空白部分的颜色
SCROLLBAR-SHADOW-COLOR: #FFCEFF; //立体滚动条阴影的颜色
SCROLLBAR-3DLIGHT-COLOR: #FF99FF; //滚动条亮边的颜色
SCROLLBAR-ARROW-COLOR: #FF99FF; //上下按钮上三角箭头的颜色
SCROLLBAR-TRACK-COLOR: #FFCEFF; //滚动条的背景颜色
SCROLLBAR-DARKSHADOW-COLOR: #FF99FF; //滚动条强阴影的颜色
SCROLLBAR-BASE-COLOR: #FFCEFF; //滚动条的基本颜色
}
td{
font-size:9pt;
font-color:black;
}
</style>
</head>
<%
const MaxPerPage=10
if not isempty(request("page")) then
currentpage=cint(request("page"))
else
currentpage=1
end if
%>
<body >
<table width="100%" height="584" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="12%" height="584"> </td>
<td width="76%"><table width="100%" height="584" border="0" cellspacing="0">
<tr>
<td height="584">
<table width="100%" height="512" border="1" cellspacing="0" bordercolor="#FF99FF" style="border-collapse:collapse;">
<tr bordercolor="#FFFFFF">
<td height="30" bordercolor="#FF00FF" bgcolor="#FF66FF">
<div align="center"><strong><font color="#FFFFFF" size="3">信 息 管 理 界 面</font></strong></div></td>
</tr>
<tr>
<td height="480">
<table width="100%" height="476" border="0" cellspacing="0">
<tr>
<td height="476"> <table width="100%" border="0" cellspacing="0">
<tr>
<td height="40"><div align="center"><font color="#0000FF" ></font><a href="add.asp">添加信息</a></font></div></td>
<td height="40"> </td>
<td height="40"><div align="center"><font color="#0000FF"></font><a href="add.asp">添加信息</a></font></div></td>
</tr>
<tr>
<td width="10%" height="394"> </td>
<td width="80%"></td>
</tr>
<%
sql="select * from addition order by id"
set rs=Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write"<p align='center'>还没有任何信息</p>"
else
totalPut=rs.recordcount
if currentpage<1 then
currentpage=1
end if
if (currentpage-1)*MaxPerPage>totalPut then
if(totalPut mod MaxPerPage)=0 then
currentpage=totalPut\MaxPerPage
else
currentpage=totalPut\MaxPerPage+1
end if
if currentpage=1 then
showpage totalPut,MaxPerPage,"manage.asp"
