% if session("admin")="" then conn.close set conn = nothing response.Write "" response.End end if call flagstr("会员管理","../error.htm") if FormatSQL(SafeRequest("action",0))="upnew" then conn.execute("update member set home="&request("flag")&" where id="&request("id")) response.Redirect "member.asp" end if if FormatSQL(SafeRequest("action",0))="del" then conn.execute "delete from k_f where id in ("&request.form("selectdel")&")" response.Redirect "member.asp?companytypestr"&request("companytypestr") end if if FormatSQL(SafeRequest("action",0))="upflag" then conn.execute("update k_f set flag="&request("flag")&" where id="&request("id")) response.Redirect "member.asp?companytypestr"&request("companytypestr") end if %>
| 会员管理 |
|
您还没有信息! " 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 end if if currentPage=1 then showContent showpage totalput,MaxPerPage,"member.asp" else if (currentPage-1)*MaxPerPage<% 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 " " End Function %>
|