| |
 |
|
Home |
<%
Set rsMenu = adoConn.Execute("SELECT p_id, p_pagename, p_do, p_menlink, p_mainpage, p_pgn FROM Pagez WHERE p_level = '0' AND p_live = '1' AND p_id != '1' ORDER BY p_do ASC")
Do While NOT rsMenu.EOF
IF rsMenu.Fields("p_id") = wg THEN
linkname = Replace(rsMenu.Fields("p_menlink"),"''","'")
linkname = Replace(linkname," and "," & ")
Response.Write vbcrlf & " "
Response.Write vbcrlf & " ![]() | "
Response.Write vbcrlf & " " & linkname & " | "
Response.Write vbcrlf & " "
Set rsMenu2 = adoConn.Execute("SELECT p_id, p_pagename, p_do, p_menlink, p_mainpage, p_pgn FROM Pagez WHERE p_mainpage = '" & wg & "' AND p_live = '1' ORDER BY p_do ASC")
linecount = 0
Do While NOT rsMenu2.EOF
linecount = linecount +1
linkname = Replace(rsMenu2.Fields("p_menlink"),"''","'")
linkname = Replace(linkname," and "," & ")
Response.Write vbcrlf & " "
Response.Write vbcrlf & " | | "
Response.Write vbcrlf & " " & linkname & " | "
Response.Write vbcrlf & " "
rsMenu2.MoveNext
Loop
rsMenu2.Close
Set rsMenu2 = Nothing
ELSE
linkname = Replace(rsMenu.Fields("p_menlink"),"''","'")
linkname = Replace(linkname," and "," & ")
Response.Write vbcrlf & " "
Response.Write vbcrlf & " ![]() | "
Response.Write vbcrlf & " " & linkname & " | "
Response.Write vbcrlf & " "
END IF
rsMenu.MoveNext
Loop
rsMenu.Close
Set rsMenu = Nothing
%>
|
Keep Informed |
|
Contact CCA |
|
Other Websites |
|
 |
| |
 |
 |
Articles |
<%
Set rsMenu = adoConn.Execute("SELECT subj_id, subj_name, subj_count, subj_pgn, subj_title FROM subjectz6 ORDER BY subj_name ASC")
Do While NOT rsMenu.EOF
subj_name = ""
subj_name = rsMenu.Fields("subj_name")
subj_name = Replace(subj_name,"''","'")
Response.Write vbcrlf & " "
Response.Write vbcrlf & " ![]() | "
Response.Write vbcrlf & " " & subj_name & " | "
Response.Write vbcrlf & " "
rsMenu.MoveNext
Loop
rsMenu.Close
Set rsMenu = Nothing
%>
|
 |
| |
| |
|
<%
IF picstring <> "" THEN
Response.Write picstring
END IF
'snippet
Set rsSnippet = adoConn.Execute("SELECT * FROM Snippets ORDER BY RAND() LIMIT 0,1")
IF rsSnippet.EOf THEN
'do nothing
ELSE
' Response.Write vbcrlf & " "
snippet = rsSnippet.Fields("snip_text")
snippet = Replace(snippet," "," " & vbcrlf & " ")
Response.Write vbcrlf & " " & snippet
END IF
rsSnippet.Close
Set rsSnippet = nothing
%>
|