Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64
Your IP : 3.147.205.114
<?php
global $register, $mysql_link;
if(isset($register)) {
?>
<FORM name="profileform" action="?action=formsave&formid=profile<ab=profile&rtab=profile&profile=<?php echo $_GET['profile']; ?>&id=<?php echo $_GET['id']; ?>" method="post">
<TABLE border="0" cellpadding="0" cellspacing="0">
<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 width="110%"><B>Ligue</B></TD>
</TR>
<TR>
<TD>Nom</TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD bgcolor="#546085"><IMG src="../images/spacer" width="1" height="2"></TD>
</TR>
<TR>
<TD bgcolor="#ffffff">
<TABLE border="0" cellpadding="5" cellspacing="0" class="blueText11px" DWCOPYTYPE="CopyTableRow">
<TR>
<TD colspan="3"><B>Équipe</B></TD>
</TR>
<TR>
<TD colspan="3"><INPUT name="info_datenais" type="text" class="blackText10px" id="info_datenais" style="width: 80px; border: 1px solid #546085" size="20" maxlength="10">
<A href="#" onClick="window.open('calendar.php?formname=profileform&fieldname=info_datenais&fulldate='+document.profileform.info_datenais.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> (yyyy/mm/dd)</TD>
</TR>
<TR>
<TD width="90">Ville<BR>
<INPUT name="loc_city" type="text" class="blackText10px" id="loc_city" style="width: 80px; border: 1px solid #546085" maxlength="50">
</TD>
<TD width="10"> </TD>
<TD width="110">Code postal<BR>
<INPUT name="loc_postalcode" type="text" class="blackText10px" id="loc_postalcode" style="width: 80px; border: 1px solid #546085" maxlength="10">
</TD>
</TR>
<TR>
<TD width="90">Province<BR>
<INPUT name="loc_province" type="text" class="blackText10px" id="loc_province" style="width: 80px; border: 1px solid #546085" maxlength="30">
</TD>
<TD width="10"> </TD>
<TD width="110">Pays<BR>
<INPUT name="loc_country" type="text" class="blackText10px" id="loc_country" style="width: 80px; border: 1px solid #546085" maxlength="30">
</TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD height="25" valign="top">
<TABLE border="0" align="right" cellpadding="0" cellspacing="0">
<TR>
<TD><IMG src="../images/tabs/tab_between_on_off.jpg" width="15" height="15"></TD>
<TD bgcolor="#848894"><SPAN class="whiteText11px"> <B><A href="#" onClick="document.location = '?ltab=profile&rtab=profile&ref=<?php echo rand(1,32747); ?>';">Annuler</A></B> </SPAN></TD>
<TD><IMG src="../images/tabs/tab_between_off_off.jpg" width="15" height="15"></TD>
<TD bgcolor="#848894" class="whiteText11px"> <B><A href="#" onClick="document.profileform.submit()">Sauvegarder</A></B> </TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD bgcolor="#ffffff">
<TABLE border="0" cellpadding="5" cellspacing="0" class="blueText11px">
<TR>
<TD><B>Rôle de base</B></TD>
</TR>
<TR>
<TD align="left" valign="top">
<SELECT name="info_basicrole" id="info_basicrole" style="width: 210px">
<?php $roles = mysql_query('SELECT * FROM types_personnels ORDER BY description_fr', $mysql_link);
while($role = mysql_fetch_assoc($roles)) { ?>
<OPTION id="info_basicrole_<?php echo $role['id_type_pers']; ?>" value="<?php echo $role['id_type_pers']; ?>"><?php echo $role['description_fr']; ?></OPTION>
<?php
}
?>
</SELECT>
</TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD bgcolor="#546085"><IMG src="../images/spacer" width="1" height="2"></TD>
</TR>
<TR>
<TD bgcolor="#ffffff">
<TABLE border="0" cellpadding="5" cellspacing="0" class="blueText11px">
<TR>
<TD colspan="3"><B>Status particuliers </B></TD>
</TR>
<TR>
<TD width="90" align="left" valign="top"><INPUT name="info_flagrecrue" type="checkbox" id="info_flagrecrue" value="32">Recrue</TD>
<TD width="10"> </TD>
<TD width="110" align="left" valign="top"> </TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD bgcolor="#546085"><IMG src="../images/spacer" width="1" height="2"></TD>
</TR>
<TR>
<TD bgcolor="#ffffff">
<TABLE border="0" cellpadding="5" cellspacing="0" class="blueText11px">
<TR>
<TD colspan="3"><B>Informations gouv.</B></TD>
</TR>
<TR>
<TD width="90" align="left" valign="top">NAS<BR>
<INPUT name="info_nas" type="text" class="blackText10px" id="info_nas" style="width: 80px; border: 1px solid #546085" maxlength="11">
</TD>
<TD width="10"> </TD>
<TD width="110" align="left" valign="top"># Ass Maladie<BR>
<INPUT name="info_healthins" type="text" class="blackText10px" id="info_healthins" style="width: 80px; border: 1px solid #546085" maxlength="32">
</TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD bgcolor="#546085"><IMG src="../images/spacer" width="1" height="2"></TD>
</TR>
<TR>
<TD bgcolor="#ffffff">
<TABLE border="0" cellpadding="5" cellspacing="0" class="blueText11px">
<TR>
<TD colspan="3"><B>Langues</B></TD>
</TR>
<TR>
<TD width="90" align="left" valign="top">Principale<BR>
<INPUT name="info_lang1" type="text" class="blackText10px" id="info_lang1" style="width: 80px; border: 1px solid #546085" maxlength="4">
</TD>
<TD width="10"> </TD>
<TD width="110" align="left" valign="top">Secondaire<BR>
<INPUT name="info_lang2" type="text" class="blackText10px" id="info_lang2" style="width: 80px; border: 1px solid #546085" maxlength="4">
</TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD bgcolor="#546085"><IMG src="../images/spacer" width="1" height="2"></TD>
</TR>
<TR>
<TD bgcolor="#ffffff">
<TABLE border="0" cellpadding="5" cellspacing="0" class="blueText11px">
<TR>
<TD colspan="3"><B>Contrôle et sécurité </B></TD>
</TR>
<TR>
<TD width="90" align="left" valign="top">État<BR>
<INPUT name="sys_status" type="radio" value="0"> Inactif<BR>
<INPUT name="sys_status" type="radio" value="1"> Actif<BR>
<INPUT name="sys_status" type="radio" value="2"> Archivé
</TD>
<TD width="10"> </TD>
<TD width="110" align="left" valign="top">Visibilité<BR>
<INPUT name="sys_scope" type="radio" value="0"> Public<BR>
<INPUT name="sys_scope" type="radio" value="1"> Privé<BR>
<INPUT name="sys_scope" type="radio" value="2"> Restreint<BR>
<INPUT name="sys_scope" type="radio" value="3"> Personnel </TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD bgcolor="#546085"><IMG src="../images/spacer" width="1" height="2"></TD>
</TR>
<TR>
<TD bgcolor="#ffffff">
<TABLE border="0" cellpadding="5" cellspacing="0" class="blueText11px">
<TR>
<TD colspan="3" align="left" valign="top"><IMG src="../images/icons/help.jpg" align="absmiddle" border="0"> <A href="#" onClick="window.open('security.php?object_table=register&object_id=<?php echo $_SESSION['id_register']; ?>', 'security', 'width=500, height=350')" class="lnkBase11px">Voir les informations de sécurité </A></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</FORM>
<SCRIPT language="javascript" type="text/javascript">
//Check the appropriate boxes and fill in the appropriate data
document.profileform.info_lname.value = "<?php echo mysql_escape_string($register['info_lname']); ?>";
document.profileform.info_mname.value = "<?php echo mysql_escape_string($register['info_mname']); ?>";
document.profileform.info_fname.value = "<?php echo mysql_escape_string($register['info_fname']); ?>";
document.profileform.info_datenais.value = "<?php echo mysql_escape_string($register['info_datenais']); ?>";
document.profileform.loc_city.value = "<?php echo mysql_escape_string($register['loc_city']); ?>";
document.profileform.loc_postalcode.value = "<?php echo mysql_escape_string($register['loc_postalcode']); ?>";
document.profileform.loc_province.value = "<?php echo mysql_escape_string($register['loc_province']); ?>";
document.profileform.loc_country.value = "<?php echo mysql_escape_string($register['loc_country']); ?>";
document.profileform.info_nas.value = "<?php echo mysql_escape_string($register['info_nas']); ?>";
document.profileform.info_healthins.value = "<?php echo mysql_escape_string($register['info_healthins']); ?>";
document.profileform.info_lang1.value = "<?php echo mysql_escape_string($register['info_lang1']); ?>";
document.profileform.info_lang2.value = "<?php echo mysql_escape_string($register['info_lang2']); ?>";
document.profileform.info_flagrecrue.checked = <?php if(($register['info_flags'] && 32) == 32) {echo 'true'; } else {echo 'false'; } ?>;
var rolenode = document.profileform.info_basicrole.options.namedItem("info_basicrole_<?php echo mysql_escape_string($register['info_basicrole']); ?>");
if(rolenode != null) {
document.profileform.info_basicrole.selectedIndex = rolenode.index;
}
document.profileform.sys_status[<?php echo $register['sys_status']; ?>].checked = true;
document.profileform.sys_scope[<?php echo $register['sys_scope']; ?>].checked = true;
</SCRIPT>
<?php } else { ?>
<TABLE width="100%" border="0" cellpadding="0" cellspacing="2" bgcolor="ffffff" class="blueText11px">
<TR>
<TD align="center" valign="middle">
<P> </P>
<P>
Choisissez un résultat dans <BR>
la liste de <A href="?ltab=search&rtab=results" class="lnkBase11px">recherche</A> avant <BR>
d'afficher le profil.
</P>
<P> </P>
</TD>
</TR>
</TABLE>
<?php } ?>
|