<!--#include file="userCheck.asp"-->
<!--#include file="conn.asp"-->
<%
action = request.QueryString("action")
if action = "del" then
	conn.execute("delete from pgsLiuYan where id ="& request.QueryString("id") &"")
	response.Redirect "user_liuyan.asp"
end if
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>会员管理中心</title>
<link href="css/comm.css" rel="stylesheet" type="text/css" />

<style type="text/css">
<!--
.STYLE1 {font-weight: bold}
-->
</style>
<script src="inc/showo_page.js" type="text/javascript"></script>
</head>

<body>
<table width="910" border="0" align="center" cellpadding="0" cellspacing="0">
  
  <tr>
    <td height="2" colspan="2"><!--#include file="user_top.asp"--></td>
  </tr>
  <tr>
    <td width="178" style="border-right:dotted 1px #CCCCCC; background-color:#F8F8F6;" height="200" valign="top">
    <!--#include file="user_left.asp"-->
    </td>
    <td width="732" valign="top">
	  <div style=" margin-top:2px;"> <br />
	  <table width="710" border="0" cellspacing="0" cellpadding="0" align="left" style="text-align:left;">
	    <tr>
	      <td width="25">&nbsp;</td>
          <td>
            <table width="537" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="42"><strong>留言管理</strong></td>
            </tr>
              <tr>
                <td>
                  <table width="100%" border="0" cellspacing="0" cellpadding="4">
          <%
		page=request.QueryString("page")
if page="" or isnumeric(page)=false then page=1
		  rs.open "select * from pgsLiuYan where userId="& session("userId23") &" order by id desc",conn,1,1
		  
		  if not rs.eof then
		  page_size = 5
	have = 1
	rs.pagesize     = page_size
	rs.absolutePage = page
	recordCountNum  = rs.recordcount
else
	have = 0
end if
		  
		    dim i
		i = 1
		do while not rs.eof and i <=page_size
		  %>
                    <tr>
                      <td width="9">&nbsp;</td>
                  <td width="322" class="moren" style="border-bottom:solid 1px #EEEEEE;">·<%="<a href='' target='_blank'>"&trim(rs("youkeContent"))&"</a>"%></td>
                  <td width="117" style="border-bottom:solid 1px #EEEEEE;"><%=rs("shijian")%></td>
                  <td width="57" style="border-bottom:solid 1px #EEEEEE;"><a href="?action=del&id=<%=rs("id")%>">删除</a></td>
                    </tr>
                    <%
			rs.movenext
			loop
			rs.close
			%></table></td>
            </tr>
            </table>
			<%if have = 1 then%>
			<table width="537" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><Script Language="JavaScript">
ShowoPage("<table style='BORDER-COLLAPSE: collapse' borderColor='#111111' height='10' cellSpacing='0' cellPadding='0' width='95%' border='0'><tr><td vAlign='bottom'  style='font-family: Verdana,宋体; font-size: 11.5px; line-height: 15px'>","</td></tr></table>","页次:<font color='red'>","</font>/","","&nbsp;","&nbsp;每页<font color='red'>","</font>&nbsp;","&nbsp;共计:<font color='red'>","</font></td><td vAlign='bottom' align='right'  style='font-family: Verdana,宋体; font-size: 11.5px; line-height: 15px'>","<font face=webdings>9</font>","<font face=webdings>7</font>","<font face=webdings>8</font>","<font face=webdings>:</font>","&nbsp;&nbsp;跳转:","<font color='orange'>[","]</font>","","","<font color='red'>","</font>","","",<%=recordCountNum%>,<%=page_size%>,4,"?p=parm1&<%=prm%>")
</Script></td>
              </tr>
            </table>
		 <%end if%>	
			</td></tr>
  </table>
    </div></td>
  </tr>
</table>
<table width="910" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><!--#include file="model_bottom.asp"--></td>
  </tr>
</table>

</body>
</html>