
<font size="1" >&nbsp;</font>
		
	<table align="center" width="<?php echo($tables_width_large); ?>" border="2" cellspacing="2" cellpadding="2" bordercolor="#999999" bgcolor="#000033">	

		<font size="3" color="white" face="Arial, Helvetica, sans-serif">
	
			<label>
				<input type="hidden" id="aqcm_SCHEDULER" name="aqcm_SCHEDULER"  size="50" value=""  >
			</label>

			<tr align="left" valign="middle" bordercolor="#666666"> 
				<td colspan="3">

					<script src="./jquery.min.js"></script>

					<script src="./scheduler.js"></script>

					<table id="LED_SCHEDULE"></table>
					
					<script>
					
						$('#LED_SCHEDULE').scheduler({
							disabled: false,
							data: { <?php echo $SONDE_SCHEDULER; ?>
							}
						});

						$('#LED_SCHEDULE').scheduler({
						accuracy: 6
						});

						$('#get_schedule').on('click', function () {
							var get_txt = $('#LED_SCHEDULE').scheduler('val');
							var get_txt_str = $.fn.scheduler.util.serialize(get_txt, 6);
							//document.getElementById("get_text_scheduler").innerHTML = get_txt_str;
							//$('#get_text_scheduler').html(get_txt_str);
							document.getElementById("aqcm_SCHEDULER").value = get_txt_str;
						});

					</script>

				</td>
			</tr>

			<?php
				include "./AQCM_scheduler_setup_seuils_SPL.html" ;
			?>

			<tr>
				<td align="center" colspan="3">
					<input type="submit" formaction="./refresh.php" value="rafraichir les données" class="button_A" style="width:250px;">
					&nbsp;&nbsp;
					<button type="button" onclick="SetDefaultsValues()" class="button_A" style="width:250px;">réinitialiser les valeurs</button>
				</td>
			</tr>
			<tr>
				<td align="center" colspan="3">
					<input type="submit" onclick="GetScheduleValues()" formaction="./save_sonde_scheduler_execute.php" value="enregistrer cette configuration" class="button_A" style="width:523px;" <?php if ($SUBMIT_DISABLE) echo('disabled="disabled"'); ?> >
				</td>
			</tr>
			
		</font>					
	</table>
