%
dim sDoctorId
dim strSQL, rs, rsNN
dim sGroupId
dim sPageTitle
dim sZipCode
dim sLastName
dim sZipCodeText
dim sLastNameText
dim Address, SecondAddress
dim VCheck, RCheck, NNCheck
dim sAltInfo, bShowNN
sZipCode = request("pZipCode")
sLastName = request("pLastName")
sDoctorId = request("DoctorId")
'if sDoctorId <> "" then
'end if
sGroupId = request("GroupId")
if sGroupId <> "" then
strSQL = "GetDirectoryByGroup '" & SITE_ID & "', " & sGroupId
sPageTitle = "DOCTORS IN GROUP"
TEMPLATE = "BLANK"
LEFT_COLUMN = ""
else
'search by AreaCode
strSQL = "GetDirectorySearch '" & SITE_ID & "', '" & AREA_CODE & "'" & ", '" & sZipCode & "', '" & sLastName & "'"
sPageTitle = "DOCTORS in or near " & AREA_CODE & " AREA CODE"
TEMPLATE = "BLANK"
LEFT_COLUMN = FindADoctor("areacode")
'Get NoNeedleDoctor Info to determine if NoNeedle column shows up
set rsNN = runSQL("GetNoNeedleDoctor '" & AREA_CODE & "'")
if not rsNN.eof then
bShowNN = true
end if
end if
if sZipCode <> "" then
sZipCodeText = " and Zip Code starting with " & sZipCode & "
"
end if
if sLastName <> "" then
sLastNameText = " and LastName starting with " & sLastName & "
"
end if
'h1print strSQL
set rs = runSQL(strSQL)
%>
<%
function Body()
dim rsSpotLight
dim sTotalDoctors
sGroupId = request("GroupId")
if sGroupId <> "" then
'Group Display
set rsSpotLight = runSQL("Select * from Groups where GroupId=" & sGroupId)
%>
Group Listing from the Vasectomy.Com Directory of Physicians for <%=rsSpotLight("GroupName")%> |
|||||||||||||
<%=buildSpacer("10,20")%> | |||||||||||||
Featured Physicians | Performs | ||||||||||||
<%=buildSpacer("5,1")%> | |||||||||||||
Current Medical Board and Specialty status from HealthGrades - available for a small fee. | Vasectomy | <%=buildSpacer("10,40")%> | Reversal |
The Vasectomy.Com Directory of Physicians in or near the <%=AREA_CODE%> Area Code region <%=sZipCodeText%> <%=sLastNameText%> |
||||||||
<%=buildSpacer("20,10")%> | ||||||||
Featured Physicians | Performs | |||||||
<%=buildSpacer("5,1")%> | ||||||||
Current Medical Board and Specialty status from HealthGrades - available for a small fee. | <% if bShowNN then %><%=buildSpacer("5,1")%> | <% end if %>Vasectomy | <%=buildSpacer("5,1")%> | Reversal | ||||
<% set rsSpotLight = runSQL("GetGroupSpotlight '" & SITE_ID & "', '" & AREA_CODE & "'") if not rsSpotLight.EOF then dim sGroupId sGroupId = rsSpotLight("GroupId") %>
|
<% if bShowNN then
%>
<%=NNCheck%> | <%=buildSpacer("5,1")%> | <% end if %><%=VCheck%> | <%=buildSpacer("5,1")%> | <%=RCheck%> | |||
There are no physicians registered in this area. |
<%if rs("PlanId") = 4 then 'Don't show image %> <%=buildSpacer("65,5")%> <%else %> &track=BIO">" width="65" height="85" border="0" alt="<%=sAltInfo %>"> <%end if%> | <%=buildSpacer("10,10")%> | &track=BIO" class="hilinks"><%=rs("FirstName") & " " & rs("MiddleName") & " " & rs("LastName")%> | |
<%=Address%> |
&track=BIO"> " target="_new"> |
<%=buildSpacer("10,10")%> | <%=SecondAddress%> |
<%=buildSpacer("65,5")%> | <%=buildSpacer("10,10")%> | <% if bShowNN then %><% else %> |
<% end if %>
<%=rs("FirstName") & " " & rs("MiddleName") & " " & rs("LastName")%>
<%=rs("City") & ", " & rs("State") & " " & rs("ZipCode") %> |
" target="_new"> |