<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!--#include file="../head.asp"-->
  <!--#include file="../checkrole.asp"-->
 <%
     call checkuser("ly")
	 %>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<TABLE width=778 border=0 align="center" cellPadding=0 cellSpacing=0>
  <TBODY>
  <TR>
    <TD 
    style="BACKGROUND-POSITION: right 50%; BACKGROUND-IMAGE: url(i../mages/bg1.gif); BACKGROUND-REPEAT: repeat-y; BACKGROUND-COLOR: #ffffff" 
    vAlign=top align=middle>
      
      <TABLE cellSpacing=0 cellPadding=0 width=100% border=0>
        <TBODY>
        <TR>
          <TD width="19%"><IMG height=32 src="../images/myinbox.gif" 
            border=0></TD>
          <TD width="81%" background="../images/info_bg.gif">&nbsp;</TD>
        </TR></TBODY></TABLE>
<%
 id=Replace_Text(request("id"))
 
 sql="select * from Yx_ykmessage where id="&id&" "
Set rs= Server.CreateObject("ADODB.Recordset") 
rs.open sql,conn,1,1
if rs.eof or rs.bof then
response.write "<p align='center'>对不起，没有您要查询的信息</p>" 
else

 conn.execute"update [Yx_ykmessage] set seeflag=1 where id="&id&""
 
 
%>

        <TABLE width="100%" border=0 cellPadding=0 cellSpacing=0>
          <TBODY>
        <TR>
          <TD vAlign=top align=middle>
            <TABLE class=fbg1 width="100%" board="0">
          <TBODY>
            <TR> 
              <TD height="30"> <DIV id=nav><strong>【游客】<font color="#CC3300">发给我的留言（网上留言）</font></strong></DIV></TD>
            </TR>
          </TBODY>
        </TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD bgColor=#cccccc>
                  <TABLE cellSpacing=1 cellPadding=5 width="100%" align=center 
                  border=0>
                  <TBODY>
                    <TR> 
                      <TD width="62%" bgcolor="#e8f4ff"><B><font color="#CC3300">标题:</font> 
                        </B><%=rs("title")%></TD>
                      <TD width="38%" bgcolor="#e8f4ff"><B><font color="#CC3300">时间:</font></B><%=rs("datemsg")%></TD>
                    </TR>
                    <TR bgColor=#FFFFFF> 
                      <TD height="150"  colSpan=2 valign="top" bgcolor="#FFFFFF" class=C style="LINE-HEIGHT: 150%;word-break:break-all">
					  
					  <%=rs("content")%>					   </TD>
                    </TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
			 
			 <script language="javascript">
			 
			 function checkdel()
			 {
			 
			 var i=confirm("你确定要删除吗");
			 if(i)
			 {
			 return true;
			 }
			 else
			 {
			 return false;
			 }
			 }
			 </script> 
  <TD align=middle>  
 &nbsp;&nbsp; <IMG height=13 src="../images/icon_go_gray.gif" width=17  align=absMiddle> 
  <a href="youkemessages.asp">游客留言管理</a></TD>
                  </TR>
              <TR>
        <TD   width="100%"></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<%end if%>
</TABLE>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>