📄 ad_fuly.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="ad_chk.asp"-->
<!--#include file="email.asp"-->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href=inc/css.css rel=STYLESHEET type=text/css>
<%
if request("action")="addfu" then
fu=request.form("fu")
set rs=server.createobject("adodb.recordset")
sql="select * from venshop_comment where id="&request("id")
rs.open sql,conn,1,3
rs("adminfu")=fu
rs("c_c")=1
rs.Update
Comment=rs("Comment")
fu=rs("adminfu")
tomail=rs("mail")
date=rs("date")
dateid=rs("dateid")
set rs2=server.CreateObject("adodb.recordset")
rs2.open "select * from venshop_hw where hw_id="&dateid&"" ,conn,1,1
hw_name=rs2("hw_name")
rs2.close
set rs2=nothing
mailsubject = "您在"&sitename&"关于"&hw_name&"的咨询回复"
mailbody = "<p>"&tomail&"您好:<p>您在"&sitename&"关于“"&hw_name&"”的咨询管理员已经进行了回复;<p>咨询:"&Comment&";<p>回复:"&fu&";"
mailbody = mailbody&"<p>详情请登录 <a href="&web&"/views.asp?hw_id="&dateid&" target=_blank>"&web&"/views.asp?hw_id="&dateid&"("&hw_name&")</a>查看;"
mailbody = mailbody&"<p>"&sitename&"感谢您的支持"&web
strToEmail=tomail
if E_SendManType=1 then
SendEmail ""&strToEmail&"",""&mailsubject&"",""&mailbody&"","Jmail"
elseif E_SendManType=2 then
SendEmail ""&strToEmail&"",""&mailsubject&"",""&mailbody&"","ObjCDOMail"
elseif E_SendManType=3 then
SendEmail ""&strToEmail&"",""&mailsubject&"",""&mailbody&"","Aspemail"
end if
rs.close
set rs=nothing
response.write "添加成功!"
response.write "<br>"
response.write "<a href=ad_mly.asp>返回</a>"
response.end
end if
set rs=server.createobject("adodb.recordset")
sql="select * from venshop_comment where id="&request("id")
rs.open sql,conn,1,1
id=rs("id")
Comment=rs("Comment")
fu=rs("adminfu")
date=rs("date")
rs.close
set rs=nothing
conn.close
set conn=nothing%>
<table border="1" width="100%" cellspacing="0" bordercolor="#FFFFFF" style="border-collapse: collapse" cellpadding="5" height="262" bgcolor="#F0F0F0">
<form name="form1" method="post" action="ad_fuly.asp?action=addfu&id=<%=id%>">
<tr><td height="25" width="100" align="center"> 内容:</td><td height="25" width="400"><%=Comment%></td></tr>
<tr><td height="25" width="100" align="center"> 时间:</td><td height="25" width="400"><%=date%></td></tr>
<tr><td valign="top" height="182" align="center">回复:</td><td valign="top" height="182"><textarea rows="15" name="fu" cols="55"><%=fu%></textarea></td></tr>
<tr><td height="12" colspan="2"> </td></tr>
<tr align="center"><td height="21" colspan="2"><input type="submit" name="Submit" value="添加"></td></tr>
</form>
</table><table cellSpacing="0" cellPadding="3" border="0" width="500"><tr><td height="20"></td></tr>
<tr><td bgcolor="#F2F2F2"><p style="LINE-HEIGHT: 150%"><font color="#FF0000">凡人网络购物系统V8.0 版权所有:</font><a target="_blank" href="http://www.venshop.com"><font color="#FF0000">凡人网络VenShop.Com</font></a><font color="#FF0000"><br>客服电话:010-80928177 QQ:57152557/5404818 Email/Msn:</font><a href="mailto:Ser@VenShop.Com"><font color="#FF0000">Ser@VenShop.Com</font></a></td>
</tr></table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -