<!--#include file="../../conn/conn3.asp" -->
<!--#include file="../../conn/function.asp" -->
<!--#include file="../../conn/email.asp" -->
<%
textName=Request.Form("Name")
textphone=Request.Form("Phone")
textEmail=Request.Form("Email")
textMessage=Request.Form("Message")
conn.Execute ("insert into guestbook(G_name,G_phone,G_email,G_Msg,G_time) values('"&Replace_Text(textName)&"','"&Replace_Text(textPhone)&"','"&Replace_Text(textEmail)&"','"&Replace_Text(textMessage)&"','"&now()&"')")
call sendmail("您的网站有新的留言","姓名："&textname&"<br>电话："&textphone&"<br>邮箱："&textemail&"<br>消息："&textmessage&"<br>留言时间："&now()&"")
%>