<!--#include file="conn.asp"-->
<title>Comment</title>
<link href=Skin/<%=WrzcNethtml_skin%>/css.css rel=STYLESHEET type=text/css>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<body topmargin="5" leftmargin="0" rightmargin="0" bottommargin="0">
<%
If request("action")="add" Then
id=request("id")
chkid(id)
mail=DelStr(request("Mail"))
Comment=DelStr(Request("Comment"))
title=DelStr(Request("title"))
if mail="" or Comment="" or title="" then
response.write "Please enter Name/Title/Comment" 
response.end
else
Set rs=Server.CreateObject("ADODB.Recordset")
Sql="select * from WrzcNethtml_comment"
rs.open sql,conn,1,3 
rs.addnew
rs("mail")=mail
rs("comment")=comment
rs("title")=title
rs("dateid")=id
rs("date")=date()
rs("c_c")=0
rs.update
rs.close
set rs=nothing
Response.Write "<script language=javascript>alert('Success,thank for your support!'); window.location.href='"&Request.ServerVariables("Http_Referer")&"';</script>"
response.end
end if
end if%>