<%@ LANGUAGE="VBSCRIPT" %> <% '******************************************** '* '* Filename: annual.asp '* '* DESCRIPTION '* ----------- '* Home page. '* '* INPUT PARAMETERS: '* ---------------- '* I - none '* '* Copyright (c) 1999 Hubbard One. All rights reserved '******************************************** '* '* Author: Amy Sass '* Date Created: 01/29/2001 '* '* REVISION HISTORY '* $Revision: 13 $ '* $Author: Pmahr $ '* $Date: 7/18/06 3:49p $ '* '******************************************** Option Explicit 'If blnOnError Then On Error Resume Next %> <% 'APPLICATION SERVER-SIDE INCLUDE FILE(S) AFTER HERE %> <% '** Enter the page name WITHOUT extension below ** Const PAGE_NAME = "annual" %> <% 'ARCHITECTURE SERVER-SIDE INCLUDE - DO NOT REMOVE %> <% 'APPLICATION SERVER-SIDE INCLUDE FILE(S) BEFORE HERE %> <% 'APPLICATION ASP CODE AFTER HERE %> <% 'get browser version, name, and os Dim strBrowser, intVersion, strOS strBrowser = GetBrowserName intVersion = GetBrowserVersion strOS = GetPlatform 'response.write "browser: " & strBrowser & "
" 'response.write "version: " & intVersion & "
" 'response.write "os: " & strOS & "
" Dim strNav, strSubNav strNav = "people" strSubNav = "attorneys" '---------Dynamic Title Tags------------------------------------------------------------- '---------incTitleTags include file will build the title tags---------------------------- '---------Variable name is "strTitle"---------------------------------------------------- %> <% '--------End Dynamic Title Tags---------------------------------------------------------- Sub ShowPractices() Dim recPractices, recAreas Set recPractices = RunStoredProc("spr_GetPractices", "") If Err.Number <> 0 Then Call HandleError() End If '#################################################################################### '######### THIS SECTION COMMENTED OUT B/C WE DON'T NEED AREAS TO SHOW UP ############ 'Set recAreas = RunStoredProc("spr_GetAllAreas", "") 'If Err.Number <> 0 Then ' Call HandleError() 'End If ' make an array to hold the practice names & practice id 'Dim arrPractices(), intCountIt, i, strOption 'intCountIt = Cint(recPractices.Recordcount) + Cint(recAreas.Recordcount) 'ReDim arrPractices(intCountIt, 2) 'fill the array 'i=0 'Do while not recPractices.EOF ' make the option string for the select 'strOption = "