%if session("username")="" then%> <%end if%> <% if request("action")="submit" then idmodule=replace(request("idmodule"),"'","''") txtNTitle=replace(request("txtNTitle"),"'","''") pathanh=replace(request("pathanh"),"'","''") quotation=replace(request("quotation"),"'","''") MsgContent=replace(request("MsgContent"),"'","''") ngaycapnhat=replace(request("ngaycapnhat"),"'","''") openconn set rs=server.CreateObject("adodb.recordset") sql="insert into tblcat(idmodule,Title,quotation,Content,Image,ngaycapnhat) values('"&idmodule&"',N'"&txtNTitle&"',N'""ation&"',N'"&MsgContent&"','"&pathanh&"','"&ngaycapnhat&"')" conn.execute(sql) response.Redirect("?hbxb=2&Quan-ly-tin-tuc.html") %> <%end if%>