<%
If z1_AccessLevel < 1 Then
Response.Redirect "ui_index.asp?msg=You do not have access to that page"
End If
Dim zobjRS,zstrSQL,zintPostID,zstrTitle,zstrContent,zintCategory
zintPostID = Trim(Request.QueryString("postid"))
zstrSQL = "SELECT news.Title, news.Content, news.Category FROM news WHERE news.PostID LIKE " & zintPostID
Set zobjRS = Server.CreateObject("ADODB.Recordset")
zobjRS.Open zstrSQL, zobjConn, adOpenForwardOnly, adLockReadOnly, adCmdText
zstrTitle = zobjRS("Title")
zstrContent = zFilter_Reverse(zobjRS("Content"))
zintCategory = zobjRS("Category")
zobjRS.Close
%>
kaos news - update area