AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 3.133.153.110


Current Path : /var/www/lhjmq-records.qc.ca/public_html/administration/regis_registre/components/
Upload File :
Current File : /var/www/lhjmq-records.qc.ca/public_html/administration/regis_registre/components/searchtab.php

<TABLE width="100%"  border="0" cellpadding="0" cellspacing="0"> 
	<TR> 
		<TD> 
			<TABLE width="100%"  border="0" cellpadding="5" cellspacing="0" class="blueText11px"> 
				<TR> 
					<TD bgcolor="ffffff"><B>Recherche</B></TD> 
				</TR> 
				<TR> 
					<TD bgcolor="ffffff">Nom et/ou pr&eacute;nom<BR> 
						<INPUT name="textsearch" id="textsearch" type="text" class="blackText10px" style="width: 100%; border: 1px solid #546085" onKeypress="textsearch_onKeyPress(this, event)" value="<?php if($_SESSION['searchmode']){ echo $_SESSION['textsearch']; } ?>">
					  <BR>&nbsp;
						<SCRIPT language="javascript" type="text/javascript">
						function textsearch_onKeyPress(oObject, eEvent){
							if(eEvent.keyCode == 13){
								sendsearch(document.getElementById('textsearch').value);
							}
						}
						</SCRIPT>
					</TD> 
				</TR> 
				<TR> 
					<TD height="25" align="right" valign="top" style="padding: 0px">
						<TABLE border="0" cellspacing="0" cellpadding="0">
            	<TR>
            		<TD><IMG src="../images/tabs/tab_between_on_off.jpg" width="15" height="15"></TD>
            		<TD bgcolor="#848894" class="whiteText11px">&nbsp;&nbsp;<B><A href="#" onClick="sendsearch(document.getElementById('textsearch').value)">Rechercher</A></B>&nbsp;&nbsp;</TD>
           		</TR>
           	</TABLE> 
					</TD>
				</TR> 
			</TABLE> 
		</TD> 
	</TR>
	<TR> 
		<TD bgcolor="ffffff"> 
			<TABLE width="100%"  border="0" cellpadding="5" cellspacing="0" class="blueText11px"> 
				<TR> 
					<TD><B>Navigation manuelle </B></TD> 
				</TR> 
				<TR> 
					<TD align="left" valign="top">
							<TABLE border="0" cellspacing="0" cellpadding="5">
              	<TR align="center" valign="middle">
              		<TD><A href="#" onClick="sendlettersearch('A');" class="lnkBase11px">&nbsp;A&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('B');" class="lnkBase11px">&nbsp;B&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('C');" class="lnkBase11px">&nbsp;C&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('D');" class="lnkBase11px">&nbsp;D&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('E');" class="lnkBase11px">&nbsp;E&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('F');" class="lnkBase11px">&nbsp;F&nbsp;</A></TD>
             		</TR>
              	<TR align="center" valign="middle">
              		<TD><A href="#" onClick="sendlettersearch('G');" class="lnkBase11px">&nbsp;G&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('H');" class="lnkBase11px">&nbsp;H&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('I');" class="lnkBase11px">&nbsp;I&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('J');" class="lnkBase11px">&nbsp;J&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('K');" class="lnkBase11px">&nbsp;K&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('L');" class="lnkBase11px">&nbsp;L&nbsp;</A></TD>
             		</TR>
              	<TR align="center" valign="middle">
              		<TD><A href="#" onClick="sendlettersearch('M');" class="lnkBase11px">&nbsp;M&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('N');" class="lnkBase11px">&nbsp;N&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('O');" class="lnkBase11px">&nbsp;O&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('P');" class="lnkBase11px">&nbsp;P&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('Q');" class="lnkBase11px">&nbsp;Q&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('R');" class="lnkBase11px">&nbsp;R&nbsp;</A></TD>
             		</TR>
              	<TR align="center" valign="middle">
              		<TD><A href="#" onClick="sendlettersearch('S');" class="lnkBase11px">&nbsp;S&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('T');" class="lnkBase11px">&nbsp;T&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('U');" class="lnkBase11px">&nbsp;U&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('V');" class="lnkBase11px">&nbsp;V&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('W');" class="lnkBase11px">&nbsp;W&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('X');" class="lnkBase11px">&nbsp;X&nbsp;</A></TD>
             		</TR>
              	<TR align="center" valign="middle">
              		<TD><A href="#" onClick="sendlettersearch('Y');" class="lnkBase11px">&nbsp;Y&nbsp;</A></TD>
              		<TD><A href="#" onClick="sendlettersearch('Z');" class="lnkBase11px">&nbsp;Z&nbsp;</A></TD>
              		<TD>&nbsp;</TD>
              		<TD>&nbsp;</TD>
              		<TD>&nbsp;</TD>
              		<TD>&nbsp;</TD>
             		</TR>
              	</TABLE>
						  <P>&nbsp;</P>
					</TD> 
				</TR> 
			</TABLE> 
		</TD> 
	</TR> 
	<TR> 
		<TD bgcolor="#546085"><IMG src="../images/spacer" width="1" height="2"></TD> 
	</TR> 
	<TR> 
		<TD bgcolor="ffffff">
			<TABLE width="100%"  border="0" cellpadding="5" cellspacing="0" class="blueText11px">
      	<TR>
      		<TD><B>Options de recherche </B></TD>
     		</TR>
      	<TR>
      		<TD>
      			<P>
      				<INPUT name="showdisabled" type="checkbox" id="showdisabled" value="true"<?php if($_SESSION['showdisabled'] == 'true'){ echo ' checked'; } ?>>
      			Afficher les items d&eacute;sactiv&eacute;s
      			<BR>
      			<INPUT name="showarchived" type="checkbox" id="showarchived" value="true"<?php if($_SESSION['showarchived'] == 'true'){ echo ' checked'; } ?>>
      			Afficher les items archiv&eacute;s
</P>
      			<P>&nbsp;      		  </P>
      		</TD>
     		</TR>
      	</TABLE>
		</TD>
	</TR> 
</TABLE>
<SCRIPT language="javascript" type="text/javascript">
	//Function that sends a standard text search used by manual search or alphabetical search
	function sendsearch(value){
		window.location = '?ltab=search&rtab=results&textsearch='+escape(value)+'&showdisabled='+document.getElementById('showdisabled').checked+'&showarchived='+document.getElementById('showarchived').checked;
	}
	function sendlettersearch(value){
		window.location = '?ltab=search&rtab=results&lettersearch='+escape(value)+'&showdisabled='+document.getElementById('showdisabled').checked+'&showarchived='+document.getElementById('showarchived').checked;
	}
	//Check the appropriate boxes
	<?php if(isset($_GET['textsearch'])){echo 'document.getElementById("textsearch").value = "'.$_SESSION['textsearch'].'";';} ?>
	<?php if($_GET['showdisabled'] == 'true'){echo 'document.getElementById("showdisabled").checked = true;';} ?>
	<?php if($_GET['showarchived'] == 'true'){echo 'document.getElementById("showarchived").checked = true;';} ?>
</SCRIPT>