|
<%
sql="Select * from feedbackinfo Where gongkai='"&xx&"'"
sql = sql & "order by ID DESC"
'----------------------------------------------------------------------------------
%>
<%
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write " 还 没 有 任 何 相 关 信 息 "
else
totalPut=rs.recordcount
totalnumber=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
end if
if currentPage=1 then
showContent
showpage totalput,MaxPerPage,"xinfang.asp"
else
if (currentPage-1)*MaxPerPage
<% do while not rs.eof %>
|
<%
select case rs("leixing")
case "A1"
Response.Write "举报"
case "A2"
Response.Write "求决"
case "A3"
Response.Write "申诉"
case "A4"
Response.Write "咨询"
case "A5"
Response.Write "建议"
case "A6"
Response.Write "其他"
End select
%>
|
|
<%=rs("mess_date")%> |
<% i=i+1
if i>=MaxPerPage then exit do
rs.movenext
loop
%>
<%
end sub
function showpage(totalnumber,maxperpage,filename)
dim n
if totalnumber mod maxperpage=0 then
n= totalnumber \ maxperpage
else
n= totalnumber \ maxperpage+1
end if
'response.write "
|