Variable change control:
ConNNDB.ASP -> Inc / Conn.asp
CSS.CSS -> Style / Default.css
News.css -> style / news.css
->
<% OPTION Explicit%>
Con-> Objconn
RS -> OBJRS
STRSQL, SQL -> strsql
Page, Page -> LNGPAGE
Other changes:
Set objrs = server.createObject ("AdoDb.Recordset") is placed in each page
Function Safesql (Strsql) DIM STRSQL, Safesql Safesql = Replace (Trim (strsql), "'", "' '", 1, -1, 1) end function
Debug problem:
Set objconn = server.createObject ("adoDb.connection") objconn.open "Database = news; uid = sa; pwd = admin; driver = {SQL Server}" error 80040005 error
For the information of the information type class standard, the ID value in the user session in the newsclass.classID in the newsclass.classID, which is read