<!--#include file="../Include/Class_Conn.asp" -->
<!--#include file="../Include/Class_Main.asp" -->
<!--#include file="../Public/Educate_Cookies.asp" -->
<% 
Dim Schid,Username,Tmp,Temp(3)
Dim Cmd,Rs,Action

Param = Replace_Text(Request.QueryString("Param"))

'//获取会员登陆的标记
If Not IsArray(Session("Educate")) Then 
 Response.write "<script>alert('-登录后才能进行该操作！-');location.href='../Public/MemberLogin.asp';</script>"
Else
 Username  = Session("Educate")(0)
 Schid     = Session("Educate")(2)
End if

SQL = "Select * From [pH_Educate_GuestBook] Where Schid='"&Schid&"' And Ncid="&Cstr(Param)
Set Rs = Conn.Execute(SQL)
If Rs.Eof Then
 Response.write "没有找到指定的信息!"
 Response.End()
Else
 Realname	= Rs("Realname")
 LessonName = Rs("LessonName")
 Usertype	= Rs("Usertype")
 Phone		= Rs("Phone")
 Email		= Rs("Email")
 Locus		= Rs("Locus")
 AddDate	= Rs("AddDate")
 Content	= Rs("Content")

End if
Rs.Close

 %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../Css/Css_Offices.css" type=text/css rel=stylesheet>
<title><%= Cls_WebName %> -- 培训机构管理中心 -- 阅读客户留言信息</title>
</head>
<body>
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="470" border="0" align="center" cellpadding="0" cellspacing="0">
 
    <tr> 
      <td><table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="eeeeee">
          <tr>
            <td bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="eeeeee">
                <tr>
                  
                <td height="25" bgcolor="f9f9f9"> &nbsp;<img src="../Images/icon.gif" width="11" height="11" align="absmiddle"> 
                  <strong>阅读客户留言信息</strong> </td>
                </tr>
              </table>
              <table width="100%" border="0" cellspacing="1" cellpadding="0">
                <tr>
                  <td height="2"></td>
                </tr>
              </table>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr bgcolor="f9f9f9"> 
                <td width="18%" height="25" align="center">姓 名：</td>
                <td height="25"><%= Realname %> </td>
              </tr>
              <tr>
                <td height="25" align="center">咨询课程：</td>
                <td height="25"><%= LessonName %></td>
              </tr>
              <tr> 
                <td width="18%" height="25" align="center" bgcolor="f9f9f9">身 
                  份：</td>
                <td height="25" bgcolor="f9f9f9"><%= Usertype %> <font color="#50463d">&nbsp; </font></td>
              </tr>
              <tr> 
                <td height="25" align="center">来自哪里：</td>
                <td height="25"><%= Locus %></td>
              </tr>
              <tr> 
                <td height="25" align="center" bgcolor="f9f9f9"> 联系电话：</td>
                <td height="25" bgcolor="f9f9f9"><%= Phone %></td>
              </tr>
              <tr> 
                <td height="25" align="center">邮件地址：</td>
                <td height="25"><%= Email %></td>
              </tr>
              <tr> 
                <td height="25" align="center" bgcolor="f9f9f9">留言内容：</td>
                <td height="25" bgcolor="f9f9f9"><%= Content %></td>
              </tr>
              <tr> 
                <td height="19" align="center">提交时间：</td>
                <td height="19"><%= AddDate %> </td>
              </tr>
            </table>
          </td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td height="40" align="center"> 
        <input type="button" name="Submit2" value="关 闭" style="height:30px;" onClick="window.close();">
      </td>
    </tr>
  
</table>
</body>
</html>
<% 

'//关闭数据库连接
CloseDB
 %>
