%option explicit%> <% if request.querystring("lang") = "E" then session("lang") = "E" response.Cookies("NUL_Lang") = "E" response.Cookies("NUL_Lang").expires = date() + 30 elseif request.querystring("lang") = "I" then session("lang") = "I" response.Cookies("NUL_Lang") = "I" response.Cookies("NUL_Lang").expires = date() + 30 end if %> <% dim nPage nPage = request.QueryString("pg") if nPage = "" or not isnumeric(nPage) then nPage = null end if call openDB() %> <% Response.Write "
" & FontClean(strContent,strLang,fc_MacTest) & "
" & VBCrLf if nIsSystem = 2 then 'show the serives Set cmdTemp = Server.CreateObject( "ADODB.Command" ) Set cmdTemp.ActiveConnection = conntemp cmdTemp.CommandText = "NUL_sp_Get_Services" cmdTemp.CommandType = adCmdStoredProc 'return value cmdTemp.Parameters.Append cmdTemp.CreateParameter("@RETURN_VALUE", 3, 4, 0) 'input params cmdTemp.Parameters.Append cmdTemp.CreateParameter("@language", 200, 1, 1, strLang) Set rstemp = Server.CreateObject("ADODB.Recordset") rstemp.CursorLocation = adUseClient 'Open Recordset object rstemp.Open cmdTemp if not rstemp.eof then do while not rstemp.eof %>"><%=FontClean(rstemp("Service"),strLang,fc_MacTest)%>
<% rstemp.movenext loop end if elseif nIsSystem = 3 then 'show the communitiess Set cmdTemp = Server.CreateObject( "ADODB.Command" ) Set cmdTemp.ActiveConnection = conntemp cmdTemp.CommandText = "NUL_sp_Get_Communities" cmdTemp.CommandType = adCmdStoredProc 'return value cmdTemp.Parameters.Append cmdTemp.CreateParameter("@RETURN_VALUE", 3, 4, 0) 'input params cmdTemp.Parameters.Append cmdTemp.CreateParameter("@language", 200, 1, 1, strLang) Set rstemp = Server.CreateObject("ADODB.Recordset") rstemp.CursorLocation = adUseClient 'Open Recordset object rstemp.Open cmdTemp if not rstemp.eof then dim nCount, nDivide nCount = rstemp.recordcount nDivide = cint(nCount/3) %>| ")
end if
'begin output
if nRegion <> nRegionOld then
%>
<%=FontClean(rstemp("Region"),strLang,fc_MacTest)%>
<%
end if
%>
|
| "> | |
| "> | |
|
<%
for x = 0 to nAudi
%>
<% next %> |
<%end if%>
|
| <%= dictLabels("Service_Area") %>: |
<%
if bArea then
for x = 0 to nArea
%>
<% next end if %> |
| <%= dictLabels("Service_Languages") %>: |
<%
if bLangs then
for x = 0 to nLangs
%>
<% next end if %> |
| <%= dictLabels("Services_Offered") %>: |
<%
if bServices then
for x = 0 to nServices
%>
<% next end if %> |
| "> " onClick="this.form.agency.focus();"> |