⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 viewfeedback.asp

📁 个人网站系统,本人基于第三方源码进行更改!
💻 ASP
字号:
<!--#Include file="../Common/Inc_DatConn.asp"-->
<!--#Include file="Common/Inc_Config.asp"-->
<!--#Include file="Common/Inc_Function.asp"-->
<!--#Include file="Common/Inc_Code.asp"-->
<%
'┌─  风云ASP在线  ────────────────────────┐
'│                                                                 │
'│  作者:赵振波.	http://www.fyasp.com	    				    │
'│                                                                 │
'│   Q Q:176189168  										   	    │
'│                                                                 │
'│ Email:fy96@163.com                                             │
'│                                                                 │
'│ 程序定做,系统开发,网站制作,提供高质量的网络产品、技术和服务!│
'│                                                                 │
'│【版权声明】                                                     │
'│                                                                 │
'│     本程序版权归坐看风云所有,未经授权擅自修改、复制或散布本程序│
'│                                                                 │
'│的部分或全部,将承受严厉的民事和刑事处罚,对已知的违反者将给予法 │
'│                                                                 │
'│律范围内的全面制裁。对非法使用此程序所造成的一切后果本人概不负责!│
'│                                                                 │
'└───────────────────  http://www.fyasp.com ──┘
%>
<%if IsTimeOut(Session("strAccount"),Session("strPassWord")) then Response.Redirect "index.asp"%>
<html>
<head>
<title><% = strSiteName%> - 网站后台管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="Common/Site.css" type="text/css">
</head>
<body topmargin="1" leftmargin="1">
<%
Dim intFeedBackKey
Dim rdsFeedBack
Dim sqlFeedBack
Dim sqlUpdateFeedBack

intFeedBackKey = Request.QueryString("Id")
if intFeedBackKey = "" then intFeedBackKey = 0

set rdsFeedBack = Server.CreateObject("ADODB.Recordset")
sqlFeedBack = "Select * From Dat_FeedBack Where FeedBackKey = "& intFeedBackKey
rdsFeedBack.Open sqlFeedBack,Conn,1,1
if not rdsFeedBack.EOF then
%>
<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td width="100%" class="booktable">
      <table border="0" width="100%" cellspacing="1" cellpadding="0" align="center">
        <tr>
          <td width="100%" height="30" class="bottom" colspan="2">&nbsp;来自 <font color="#FF0000"><% = rdsFeedBack("ContactMan")%></font> 的留言反馈信息:</td>
        </tr>
        <tr>
          <td width="25%" height="25" class="banma1" align="right">联系人:</td>
          <td width="75%" height="25" bgcolor="#FFFFFF">&nbsp;<% = rdsFeedBack("ContactMan")%></td>
        </tr>
        <tr>
          <td height="25" class="banma1" align="right">公司名称:</td>
          <td height="25" bgcolor="#FFFFFF">&nbsp;<% = rdsFeedBack("CompanyName")%></td>
        </tr>
        <tr>
          <td height="25" class="banma1" align="right">地址:</td>
          <td height="25" bgcolor="#FFFFFF">&nbsp;<% = rdsFeedBack("Add")%></td>
        </tr>
        <tr>
          <td height="25" class="banma1" align="right">电话:</td>
          <td height="25" bgcolor="#FFFFFF">&nbsp;<% = rdsFeedBack("Tel")%></td>
        </tr>
        <tr>
          <td height="25" class="banma1" align="right">传真:</td>
          <td height="25" bgcolor="#FFFFFF">&nbsp;<% = rdsFeedBack("Fax")%></td>
        </tr>
        <tr>
          <td height="25" class="banma1" align="right">Homepage:</td>
          <td height="25" bgcolor="#FFFFFF">&nbsp;<% = rdsFeedBack("Homepage")%></td>
        </tr>
        <tr>
          <td height="25" class="banma1" align="right">E-Mail:</td>
          <td height="25" bgcolor="#FFFFFF">&nbsp;<% = rdsFeedBack("Email")%></td>
        </tr>
        <tr>
          <td height="25" class="banma1" align="right">主题:</td>
          <td height="25" bgcolor="#FFFFFF">&nbsp;<% = rdsFeedBack("Topic")%></td>
        </tr>
        <tr>
          <td class="banma1" align="right">内容:</td>
          <td bgcolor="#FFFFFF" align="center" valign="top">
            <table border="0" width="96%" cellspacing="0" cellpadding="0">
              <tr>
                <td width="100%" height="50" style="line-height:150%;LETTER-SPACING: 1px"><% = Html2Txt(rdsFeedBack("Content"))%></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td height="25" class="banma1" align="right">时间:</td>
          <td height="25" bgcolor="#FFFFFF">&nbsp;<% = rdsFeedBack("CreateTime")%></td>
        </tr>
	  </table>
    </td> 
  </tr>
  <tr>
    <td width="100%" height="40" align="right"><input onclick="parent.location.href='javascript:close();'" type="button" value="关闭窗口" class="button" name="Button">&nbsp;</td> 
  </tr>
</table>
<%
end if
rdsFeedBack.Close
set rdsFeedBack = nothing

sqlUpdateFeedBack = "Update Dat_FeedBack Set State = 1 Where FeedBackKey = "& intFeedBackKey
Conn.Execute sqlUpdateFeedBack
%>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -