HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/web/circ.itp/inc-template-search.asp
<%
' --- START OF SEARCH TEMPLATES --- '
' (SS,17/1/13) added ending / to input tag of cbsubcat
' (SS,13/8/14) bootstrap version
' (SS,1/3/14) replaced form tags with div (because there's already the frmSearch form outside this,
' had to adjust padding and margin and add margin-top of 10px to make it behave as before
' (SS,16/6/17) replaced <i> with <span>
' (SS,6/3/24) Bootstrap 5 version, replaced <span class="glyphicon glyphicon-search"> with <span class="fa-solid fa-magnifying-glass"
' (SS,18/6/24) added value="%=ASearchDefault%, fixes bug causing it to go to home page when sort by selected after a search
Sub ShowSearchMain(ASearchDefault, ASelectComboHTML)
%>
<!-- START OF SEARCH -->
              
        <div class="navbar-form" role="search">
          <div class="input-group rounded-end-circle">
              <input type="hidden" name="cbsubcat" value=""> 
              <input type="text" class="form-control form-control-lg rounded-start-pill border-black border-end-0" placeholder="Search..." name="search" id="search" aria-describedby="button-addon1" value="<%=ASearchDefault%>">

              
              <button class="btn btn-outline-secondary rounded-end-pill border-black border-start-0" type="button" id="button-addon1" onclick="itp_search()"><i class="fa-solid fa-magnifying-glass"></i></button>
              
          </div>
        </div>       

<%
End Sub

' --- END OF SEARCH TEMPLATES --- '

ShowSearch
%>