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



Your IP : 18.119.117.122


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

<?php global $mysql_link; ?>

<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>Afficher les r&eacute;sultats en date du: </b></td>
				</tr>
				<tr>
					<td bgcolor="ffffff">
			<form name="sys_date_form" method="get" action="">
				<b><span class="blackText10px">
				<input value="<?= $_GET['sys_date'] ?>" name="sys_date" type="text" id="sys_date" size="15" maxlength="10" class="blackText10px" style="border: 1px solid #546085">
			  <a href="#" onClick="window.open('../regis_registre/calendar.php?formname=sys_date_form&fieldname=sys_date&fulldate='+document.sys_date_form.sys_date.value, 'calendar', 'width=400, height=400, scrollbars=yes')" class="lnkBase10px"><img src="../images/icons/calendar.jpg" width="16" height="16" align="absbottom" border="0"></a>
							</span></b>
							<span class="blackText10px">(yyyy/mm/dd)
			  <?php if (isset($errors['sys_date'])) {  echo '<font color="#ff0000"> ('.$errors['sys_date'].')</font>'; } ?>
			  <input type="hidden" name="ltab" value="<?= $_GET['ltab'] ?>">
			  <input type="hidden" name="rtab" value="<?= $_GET['rtab'] ?>">
			  <br />
			  <br />
			</span>
			</form>
		  </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="document.sys_date_form.submit();">Afficher</a></b>&nbsp;&nbsp;</td>
				</tr>
			</table></td>
				</tr>
				<tr>
					<td bgcolor="ffffff"><b>Recherche par joueur</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']; } ?>">
					  <script language="javascript" type="text/javascript">
						function textsearch_onKeyPress(oObject, eEvent) {
							if (eEvent.keyCode == 13) {
								sendsearch(document.getElementById('textsearch').value);
							}
						}
						</script>
					<br />
					<br />
					</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 par &eacute;quipe </b></td>
				</tr>
				<tr>
					<td align="left" valign="top">
						<p>Choisissez l'onglet &quot;<a href="?ltab=search&rtab=teams" class="lnkBase11px">Navigation par &eacute;quipe</a>&quot; dans le panneau de droite pour afficher la liste de toutes les ligues du syst&egrave;me ainsi que leurs &eacute;quipes &agrave; la date sp&eacute;cifi&eacute;e ci-dessus. </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&sys_date=<?= $_GET['sys_date'] ?><?php if (isset($_GET['addtoteam'])) { echo '&addtoteam='.$_GET['addtoteam']; } ?>&textsearch='+escape(value);
	}
	//Check the appropriate boxes
	<?php if (isset($_GET['textsearch'])) { echo 'document.getElementById("textsearch").value = "'.$_SESSION['textsearch'].'";'; } ?>
</script>