##formatter.TextRender() ##this.SubView(##request.SubStyle) ##include(Defaults) ##helpcontext.addHelp(SearchServerSummaryEntries) ##helpcontext.addHelp(Toolbar) /* TODO - Determine the type of query originally used, and setup the title as appropriate */ ##local.define(Title)##leg.ZONESOPAC.ZoneSearch.Advanced ##if startpoint.IsMap(Query.QueryStatement) ##local.defineByRenderAndEscapeHashHash(QS)##startpoint.QualData(Query.QueryStatement) ##local.defineByRender(LS)##startpoint.QualData(Query.LimitStatement) ##if startpoint.IsEqual(Query.IsConstellationSearch,1) ##local.define(Title)##leg.ZONESOPAC.SearchStatement.ConstellationSearch ##else ##if startpoint.IsMap(Query.form) ##local.define(Title)##leg.ZONESOPAC.SearchStatement.AdvancedSearch ##else ##if sessioncfg.ZONES.QuickSearchLabelAsProfessional ##local.define(Title)##leg.ZONESOPAC.SearchStatement.ExpertSearch ##else ##local.define(Title)##leg.ZONESOPAC.SearchStatement.SimpleSearch ##endif ##endif ##endif ##endif ##if request.IsEqual(SubView,Similar) ##local.define(Title)##leg.Portal3.Actions.MoreLikeThis ##endif ##if sessioncfg.ZONES.Portal3.Tagging.AddTag ##if sessioninfo.ZONES.BrwrID ##local.define(TaggingEnabled)1 ##endif ##endif ##local.define(FacetList) ##if startpoint.IsMap(Query.facetClause) ##if sessioncfg.ZONES.Portal3.ShowFacetNamesInSearchStatement ##startpoint.foreachin("facet","Query.facetClause") ##local.define(Url)##this.obj?##this.styleset&Method=RefineSearch&index=##facet.index&term=##facet.urlencode(term)&RemoveClause=1 ##if facet.IsEqual(action,"+") ##leg.ZONESOPAC.FacetSearch.FacetAnd ( ##leg.ZONESOPAC.FacetSearch.RemoveFacetALT ##facet.QualData(label): ##facet.display ) ##else ##leg.ZONESOPAC.FacetSearch.FacetNot ( ##leg.ZONESOPAC.FacetSearch.RemoveFacetALT ##facet.QualData(label): ##facet.display ) ##endif ##else ##startpoint.foreachin("facet","Query.facetClause") ##local.define(Url)##this.obj?##this.styleset&Method=RefineSearch&index=##facet.index&term=##facet.urlencode(term)&RemoveClause=1 ##if facet.IsEqual(action,"+") ##leg.ZONESOPAC.FacetSearch.FacetAnd ##leg.ZONESOPAC.FacetSearch.RemoveFacetALT ##facet.display ##else ##leg.ZONESOPAC.FacetSearch.FacetNot ##leg.ZONESOPAC.FacetSearch.RemoveFacetALT ##facet.display ##endif ##endif ##endif ##local.define(SetupFacets) ##endif ##local.define(SearchStatement) ##if startpoint.IsMap(Query.QueryStatement) ##local.defineByRenderAndEscapeHashHash(QS)##startpoint.QualData(Query.QueryStatement) ##local.defineByRender(LS)##startpoint.QualData(Query.LimitStatement) ##if startpoint.IsEqual(Query.IsConstellationSearch,1) ##local.define(Name)##leg.ZONESOPAC.SearchStatement.ConstellationSearch ##else ##if startpoint.IsMap(Query.form) ##local.define(Name)##leg.ZONESOPAC.SearchStatement.AdvancedSearch ##else ##if sessioncfg.ZONES.QuickSearchLabelAsProfessional ##local.define(Name)##leg.ZONESOPAC.SearchStatement.ExpertSearch ##else ##local.define(Name)##leg.ZONESOPAC.SearchStatement.SimpleSearch ##endif ##endif ##endif ##local.define(DPLimitStatement) ##if startpoint.IsDefined(Query.dpStart) ##if startpoint.IsEqual(Query.dpStart,"") ##if startpoint.IsEqual(Query.dpEnd,"") ##local.defineByRender(DPLimitStatement) ##else ##local.defineByRender(DPLimitStatement) ##leg.ZONESOPAC.SearchStatement.DOP :<= ##startpoint.Query.dpEnd ##endif ##else ##if startpoint.IsEqual(Query.dpEnd,"") ##local.defineByRender(DPLimitStatement) ##leg.ZONESOPAC.SearchStatement.DOP :>= ##startpoint.Query.dpStart ##else ##local.defineByRender(DPLimitStatement) ##leg.ZONESOPAC.SearchStatement.DOP :##startpoint.Query.dpStart ... ##startpoint.Query.dpEnd ##endif ##endif ##endif ##if local.IsEqual(QS,"") ##else ##local.QS ##endif ##local.LS ##local.DPLimitStatement ##local.FacetList ##endif ##if request.IsEqual(SubView,Similar) ##local.define(SearchStatement) ##endif ##local.define(PageHeaderScripts) ##if startpoint.Query.QueryStatement ##local.defineByRender(RSST)##startpoint.QualData(Query.QueryStatement) ##else ##local.defineByRender(RSST)ZONES ##endif ##if startpoint.Query.profileid ##if sessioncfg.ZONES.ShowTopicRSSLinks ##endif ##else ##if sessioncfg.ZONES.ShowSearchRSSLinks ##endif ##endif ##if sessioncfg.ZONES.Portal3.PlayMP3InResultList ##endif ##local.define(SortDropDown)   ##local.define(PageLeftMenu) ##if searchcontext.QueryObject ##local.FacetPageLeftMenu ##endif ##local.define(Content)
##if startpoint.Query.tagid
##leg.Portal3.Results.SearchStatement ##local.SearchStatement ##local.define(ButtonCaption)##leg.Portal3.Buttons.ModifySearch ##local.define(ButtonTip)##leg.data(Portal3.Buttons.ModifySearchTIP) ##local.define(ButtonHref)##request.parent&##this.styleset ##local.define(ButtonID)buttonModifySearch ##local.ButtonFMT
##endif ##if searchcontext.QueryObject
##local.define(SearchLinksTD)0 ##if sessioncfg.ZONES.ShowSearchPermaLinks ##local.define(SearchLinksTD)1 ##endif ##if sessioncfg.ZONES.ShowSearchRSSLinks ##local.define(SearchLinksTD)1 ##endif ##if local.IsEqual(SearchLinksTD,1) ##endif
##leg.Portal3.Results.SearchStatement ##local.SearchStatement ##local.define(ButtonCaption)##leg.Portal3.Buttons.ModifySearch ##local.define(ButtonTip)##leg.data(Portal3.Buttons.ModifySearchTIP) ##local.define(ButtonHref)##searchcontext.QueryObject&##this.styleset&Method=ModifySearch ##local.define(ButtonID)buttonModifySearch ##local.ButtonFMT ##if sessioncfg.ZONES.ShowSearchPermaLinks ##leg.ZONESOPAC.CATRecord.PermalinkSearchTextALT ##endif ##if startpoint.Query.profileid ##if sessioncfg.ZONES.ShowTopicRSSLinks ##leg.ZONESOPAC.CATRecord.RSSTopicSearchTextALT ##endif ##else ##if sessioncfg.ZONES.ShowSearchRSSLinks ##leg.ZONESOPAC.CATRecord.PermalinkSearchTextALT ##endif ##endif
##endif ##if sessioncfg.ZONES.ShowSOLRQuery SOLR: ##startpoint.SolrQuery ##endif
##leg.Portal3.Results.Hits (##startpoint.Hits)
##if startpoint.IsEqual(Hits,0) ##leg.Portal3.NoHitsAdvice ##else
##this.stylesetforform ##if sessioncfg.ZONES.Portal3.Email.SearchResults ##endif ##if sessioncfg.ZONES.Portal3.MultiNotepad ##endif
##local.SortDropDown ##local.NonReceiptPrintListLink ##local.SendListLink ##local.SelectNotepadDropDown ##if startpoint.IsEqual(Page,1) ##else << < ##endif ##if startpoint.IsEqual(Page,##startpoint.PageMax) ##else ##leg.Portal3.Results.Of ##startpoint.PageMax > >> ##endif
##if local.NoHits
##leg.ZONESOPAC.AdvancedSearch.Error.NoHits.Heading
##else ##local.PageBrowseList ##endif
##this.stylesetforform
##if startpoint.IsEqual(Page,1) ##else << < ##endif ##if startpoint.IsEqual(Page,##startpoint.PageMax) ##else ##leg.Portal3.Results.Of ##startpoint.PageMax > >> ##endif
##endif
##include(Body)