%
Dim Arecordset__MMColParam
Arecordset__MMColParam = "Yes"
If (Request("MM_EmptyValue") <> "") Then
Arecordset__MMColParam = Request("MM_EmptyValue")
End If
%>
<%
Dim Arecordset
Dim Arecordset_numRows
Set Arecordset = Server.CreateObject("ADODB.Recordset")
Arecordset.ActiveConnection = MM_EDSConnection_STRING
if request.QueryString("s") = "" then
Arecordset.Source = "SELECT * FROM News WHERE NArchived = " + Replace(Arecordset__MMColParam, "'", "''") + " ORDER BY NDate DESC"
else
dim sqlstr
sqlstr = "SELECT * FROM News WHERE NArchived = " + Replace(Arecordset__MMColParam, "'", "''") + " AND "
sqlstr = sqlstr + "NTitleAL LIKE '%" + Replace(request.QueryString("s"), "'", "''") + "%' OR "
sqlstr = sqlstr + "NtextAL LIKE '%" + Replace(request.QueryString("s"), "'", "''") + "%' OR "
sqlstr = sqlstr + "NTitleEN LIKE '%" + Replace(request.QueryString("s"), "'", "''") + "%' OR "
sqlstr = sqlstr + "NTextEN LIKE '%" + Replace(request.QueryString("s"), "'", "''") + "%' ORDER BY NDate DESC"
Arecordset.Source = sqlstr
end if
Arecordset.CursorType = 0
Arecordset.CursorLocation = 2
Arecordset.LockType = 1
Arecordset.Open()
Arecordset_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = -1
Repeat1__index = 0
Arecordset_numRows = Arecordset_numRows + Repeat1__numRows
%>
EDS Foundation - Arkivi
Organizim dhe mbështetje për realizimin e veprimtarive kulturore, sportive e shkencore në nivel lokal dhe kombëtar, mbështetje për individë, grupe individësh apo shoqata jo fitimprurëse që veprojnë në këto fusha.