   
<font size="1" face="Arial, Helvetica, sans-serif">&nbsp;</font>

<div align="center">
	<font size="1" face="Arial, Helvetica, sans-serif">&nbsp;</font>
	<table width="<?php echo($tables_width); ?>" border="2" cellspacing="2" cellpadding="2" bordercolor="#999999" bgcolor="#000033">	
		
		<?php
			include('../M0/titre_jaune.php');
			$sous_menu_titre = "- AQCM05 : inscription (serveur unique) -";
			affiche_titre_jaune_simple($sous_menu_titre);
		?>
		
	</table>
</div>

<div align="center">
						
<p>
	<table width="<?php echo($tables_width); ?>" border="2" cellspacing="2" cellpadding="2" bordercolor="#999999" bgcolor="#000033">	
		
		<form name="form1" id="cible_php" method="post" action="">
		
					
			<tr align="center" bordercolor="#666666">
				<td>

					<table width="100%" align="center">
					
						<tr>
							<td align="right" width="30%">
								<label>
								<font size="4" color="white" face="Arial, Helvetica, sans-serif">
									site :
								</font>
								</label>
							</td>
							<td align="left">
								<label>
								<font size="4" color="Lime" face="Arial, Helvetica, sans-serif">
									<?php echo( $aqcm_SITE_ID );?>
								</font>
								</label>
							</td>
						</tr>
					
						<tr>
							<td align="right">
								<label>
								<font size="4" color="white" face="Arial, Helvetica, sans-serif">
									sonde :
								</font>
								</label>
							</td>
							<td align="left" colspan="2">
								<label>
								<font size="4" color="Lime" face="Arial, Helvetica, sans-serif">
									<?php echo( $aqcm_NAME );?>
								</font>
								</label>
							</td>
						</tr>
					
						<tr>
							<td align="right">
								<label>
								<font size="4" color="white" face="Arial, Helvetica, sans-serif">
									mac :
								</font>
								</label>
							</td>
							<td align="left">
								<label>
								<font size="4" color="Lime" face="Arial, Helvetica, sans-serif">
									<?php echo( $aqcm_MAC );?>
								</font>
								</label>
							</td>
						</tr>
									
						<input type="hidden" type="text" name="aqcm_SITE_ID"	value="<?php echo($aqcm_SITE_ID);	?>" />
						<input type="hidden" type="text" name="aqcm_MAC"		value="<?php echo($aqcm_MAC); 		?>" />
						<input type="hidden" type="text" name="aqcm_NAME"		value="<?php echo($aqcm_NAME); 	?>" />

					</table>
					
					<hr>
					
					<table width="100%" align="center">
						
						<tr>
							<td align="right" width="30%" >
								<label>
								<font size="4" color="white" face="Arial, Helvetica, sans-serif">
									adresse mail :
								</font>
								</label>
							</td>
							<td align="left">
								<font size="4" color="white" face="Arial, Helvetica, sans-serif">
									<input id="aqcm_MAIL" name="aqcm_MAIL" type="text" size="40">
								</font>
							</td>
						</tr>

						<tr>
							<td align="right">
								<label>
								<font size="4" color="white" face="Arial, Helvetica, sans-serif">
									mot de passe :
								</font>
								</label>
							</td>
							<td align="left">
								<font size="4" color="white" face="Arial, Helvetica, sans-serif">
									<input type="password" name="aqcm_PASSWORD" id="aqcm_PASSWORD" size="40">
								</font>
							</td>
						</tr>

						<tr>
							<td align="right">
								<font size="4" color="white" face="Arial, Helvetica, sans-serif">
									<br>réinitialisation :
								</font>
							</td>
							<td align="left" colspan="2">
								<br><input id="aqcm_FORCE_INIT_MESURES" name="aqcm_FORCE_INIT_MESURES" type="checkbox" value="OFF" id="aqcm_FORCE_INIT_MESURES" >
								<label style="font-size:16px;color:Salmon;font-family: Arial, Helvetica, sans-serif;" >
									( NB : <u>les mesures seront détruites !!!</u> )
								</label>
							</td>
						</tr>
						
					</table>

					<br>
					<div align="center">
						<input type="submit" onclick="myFunction()" style="font-family: sans-serif; font-size: 16px; name="lancer" value="&nbsp;&nbsp;obtenir un mot de passe&nbsp;&nbsp;">
					</div>
					
					
					<font size="1" face="Arial, Helvetica, sans-serif">&nbsp;</font>
				</td>
			</tr>
			
		</form>
	</table>
</p>
				
								
</div>



<script>
function myFunction() {
	var msg="!!!  confirmez l'inscription de cette sonde  !!!\r\n\r\nNB : si la case \"réinitialisation totale\" est cochée, les anciennes mesures seront effacées...";
	var txt;
	var r = confirm(msg);
	if (r == true) {
		txt = "one_server_creation_sonde_file_hash_1.php";
	} else {
		txt = "one_server_creation_sonde_file_hash.php?aqcm_SITE_ID=<?php echo $aqcm_SITE_ID;?>&aqcm_MAC=<?php echo $aqcm_MAC;?>&aqcm_NAME=<?php echo $aqcm_NAME;?>";
	}
	document.getElementById("cible_php").action = txt;

}
</script>

