%@LANGUAGE="VBSCRIPT"%> <% Dim Recordset1 Dim Recordset1_numRows Set Recordset1 = Server.CreateObject("ADODB.Recordset") Recordset1.ActiveConnection = MM_ConAcImmo96_STRING Recordset1.Source = "SELECT * FROM tblRubriken" Recordset1.CursorType = 0 Recordset1.CursorLocation = 2 Recordset1.LockType = 1 Recordset1.Open() Recordset1_numRows = 0 %> <% Dim Recordset2 Dim Recordset2_numRows Set Recordset2 = Server.CreateObject("ADODB.Recordset") Recordset2.ActiveConnection = MM_ConAcImmo96_STRING Recordset2.Source = "SELECT * FROM Navigationsleiste WHERE aktiv ORDER BY Len(Bezeichnung) desc" Recordset2.CursorType = 0 Recordset2.CursorLocation = 2 Recordset2.LockType = 1 Recordset2.Open() Recordset2_numRows = 0 %> <% Dim Repeat1__numRows Dim Repeat1__index Repeat1__numRows = -1 Repeat1__index = 0 Recordset1_numRows = Recordset1_numRows + Repeat1__numRows %> <% Dim Repeat2__numRows Dim Repeat2__index Repeat2__numRows = -1 Repeat2__index = 0 Recordset2_numRows = Recordset2_numRows + Repeat2__numRows %>
<%=Application("Beschreibung")%>
<%=Application("Suchbegriffe")%>
<%
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF))
%>
&Suche2=<%=(Recordset1.Fields.Item("Rubrik").Value)%>" target="Hauptframe"><%=(Recordset1.Fields.Item("Rubrik").Value)%>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend
%>
<%
While ((Repeat2__numRows <> 0) AND (NOT Recordset2.EOF))
%>
" title="<%=(Recordset2.Fields.Item("Hinweistext").Value)%>" target="<%=(Recordset2.Fields.Item("target").Value)%>" class="Titel"><%=(Recordset2.Fields.Item("Bezeichnung").Value)%>
<%
Repeat2__index=Repeat2__index+1
Repeat2__numRows=Repeat2__numRows-1
Recordset2.MoveNext()
Wend
%>