<%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%>
THÊM MỚI TIN TỨC
<% openconn set rs1=server.CreateObject("adodb.recordset") rs1.open"Select * from tblmodule where idparrent = 0",conn %>
Danh mục cha :
Tiêu đề bài viết
Ảnh hiển thị    Tải ảnh..
Trích dẫn bài viết
Nội dung bài viết <% oFCKeditor.Create "MsgContent" %>
Ngày cập nhật