$("#someSwitchOptionPrimary1").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary1").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif1"); tr_a_modif.className = "success"; document.getElementById("id_reponse1").innerHTML = "Validation admin"; document.getElementById("id_statu1").innerHTML = "Traité"; document.getElementById("id_date1").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary1").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif1"); tr_a_modif.className = "danger"; document.getElementById("id_reponse1").innerHTML = "En attente"; document.getElementById("id_statu1").innerHTML = "En attente"; document.getElementById("id_date1").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary2").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary2").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif2"); tr_a_modif.className = "success"; document.getElementById("id_reponse2").innerHTML = "Validation admin"; document.getElementById("id_statu2").innerHTML = "Traité"; document.getElementById("id_date2").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary2").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif2"); tr_a_modif.className = "danger"; document.getElementById("id_reponse2").innerHTML = "En attente"; document.getElementById("id_statu2").innerHTML = "En attente"; document.getElementById("id_date2").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary3").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary3").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif3"); tr_a_modif.className = "success"; document.getElementById("id_reponse3").innerHTML = "Validation admin"; document.getElementById("id_statu3").innerHTML = "Traité"; document.getElementById("id_date3").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary3").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif3"); tr_a_modif.className = "danger"; document.getElementById("id_reponse3").innerHTML = "En attente"; document.getElementById("id_statu3").innerHTML = "En attente"; document.getElementById("id_date3").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary4").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary4").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif4"); tr_a_modif.className = "success"; document.getElementById("id_reponse4").innerHTML = "Validation admin"; document.getElementById("id_statu4").innerHTML = "Traité"; document.getElementById("id_date4").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary4").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif4"); tr_a_modif.className = "danger"; document.getElementById("id_reponse4").innerHTML = "En attente"; document.getElementById("id_statu4").innerHTML = "En attente"; document.getElementById("id_date4").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary5").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary5").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif5"); tr_a_modif.className = "success"; document.getElementById("id_reponse5").innerHTML = "Validation admin"; document.getElementById("id_statu5").innerHTML = "Traité"; document.getElementById("id_date5").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary5").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif5"); tr_a_modif.className = "danger"; document.getElementById("id_reponse5").innerHTML = "En attente"; document.getElementById("id_statu5").innerHTML = "En attente"; document.getElementById("id_date5").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary6").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary6").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif6"); tr_a_modif.className = "success"; document.getElementById("id_reponse6").innerHTML = "Validation admin"; document.getElementById("id_statu6").innerHTML = "Traité"; document.getElementById("id_date6").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary6").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif6"); tr_a_modif.className = "danger"; document.getElementById("id_reponse6").innerHTML = "En attente"; document.getElementById("id_statu6").innerHTML = "En attente"; document.getElementById("id_date6").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary7").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary7").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif7"); tr_a_modif.className = "success"; document.getElementById("id_reponse7").innerHTML = "Validation admin"; document.getElementById("id_statu7").innerHTML = "Traité"; document.getElementById("id_date7").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary7").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif7"); tr_a_modif.className = "danger"; document.getElementById("id_reponse7").innerHTML = "En attente"; document.getElementById("id_statu7").innerHTML = "En attente"; document.getElementById("id_date7").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary8").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary8").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif8"); tr_a_modif.className = "success"; document.getElementById("id_reponse8").innerHTML = "Validation admin"; document.getElementById("id_statu8").innerHTML = "Traité"; document.getElementById("id_date8").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary8").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif8"); tr_a_modif.className = "danger"; document.getElementById("id_reponse8").innerHTML = "En attente"; document.getElementById("id_statu8").innerHTML = "En attente"; document.getElementById("id_date8").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary9").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary9").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif9"); tr_a_modif.className = "success"; document.getElementById("id_reponse9").innerHTML = "Validation admin"; document.getElementById("id_statu9").innerHTML = "Traité"; document.getElementById("id_date9").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary9").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif9"); tr_a_modif.className = "danger"; document.getElementById("id_reponse9").innerHTML = "En attente"; document.getElementById("id_statu9").innerHTML = "En attente"; document.getElementById("id_date9").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary10").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary10").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif10"); tr_a_modif.className = "success"; document.getElementById("id_reponse10").innerHTML = "Validation admin"; document.getElementById("id_statu10").innerHTML = "Traité"; document.getElementById("id_date10").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary10").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif10"); tr_a_modif.className = "danger"; document.getElementById("id_reponse10").innerHTML = "En attente"; document.getElementById("id_statu10").innerHTML = "En attente"; document.getElementById("id_date10").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary11").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary11").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif11"); tr_a_modif.className = "success"; document.getElementById("id_reponse11").innerHTML = "Validation admin"; document.getElementById("id_statu11").innerHTML = "Traité"; document.getElementById("id_date11").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary11").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif11"); tr_a_modif.className = "danger"; document.getElementById("id_reponse11").innerHTML = "En attente"; document.getElementById("id_statu11").innerHTML = "En attente"; document.getElementById("id_date11").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary12").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary12").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif12"); tr_a_modif.className = "success"; document.getElementById("id_reponse12").innerHTML = "Validation admin"; document.getElementById("id_statu12").innerHTML = "Traité"; document.getElementById("id_date12").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary12").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif12"); tr_a_modif.className = "danger"; document.getElementById("id_reponse12").innerHTML = "En attente"; document.getElementById("id_statu12").innerHTML = "En attente"; document.getElementById("id_date12").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary13").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary13").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif13"); tr_a_modif.className = "success"; document.getElementById("id_reponse13").innerHTML = "Validation admin"; document.getElementById("id_statu13").innerHTML = "Traité"; document.getElementById("id_date13").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary13").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif13"); tr_a_modif.className = "danger"; document.getElementById("id_reponse13").innerHTML = "En attente"; document.getElementById("id_statu13").innerHTML = "En attente"; document.getElementById("id_date13").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary14").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary14").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif14"); tr_a_modif.className = "success"; document.getElementById("id_reponse14").innerHTML = "Validation admin"; document.getElementById("id_statu14").innerHTML = "Traité"; document.getElementById("id_date14").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary14").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif14"); tr_a_modif.className = "danger"; document.getElementById("id_reponse14").innerHTML = "En attente"; document.getElementById("id_statu14").innerHTML = "En attente"; document.getElementById("id_date14").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary15").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary15").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif15"); tr_a_modif.className = "success"; document.getElementById("id_reponse15").innerHTML = "Validation admin"; document.getElementById("id_statu15").innerHTML = "Traité"; document.getElementById("id_date15").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary15").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif15"); tr_a_modif.className = "danger"; document.getElementById("id_reponse15").innerHTML = "En attente"; document.getElementById("id_statu15").innerHTML = "En attente"; document.getElementById("id_date15").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary16").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary16").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif16"); tr_a_modif.className = "success"; document.getElementById("id_reponse16").innerHTML = "Validation admin"; document.getElementById("id_statu16").innerHTML = "Traité"; document.getElementById("id_date16").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary16").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif16"); tr_a_modif.className = "danger"; document.getElementById("id_reponse16").innerHTML = "En attente"; document.getElementById("id_statu16").innerHTML = "En attente"; document.getElementById("id_date16").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary17").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary17").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif17"); tr_a_modif.className = "success"; document.getElementById("id_reponse17").innerHTML = "Validation admin"; document.getElementById("id_statu17").innerHTML = "Traité"; document.getElementById("id_date17").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary17").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif17"); tr_a_modif.className = "danger"; document.getElementById("id_reponse17").innerHTML = "En attente"; document.getElementById("id_statu17").innerHTML = "En attente"; document.getElementById("id_date17").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary18").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary18").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif18"); tr_a_modif.className = "success"; document.getElementById("id_reponse18").innerHTML = "Validation admin"; document.getElementById("id_statu18").innerHTML = "Traité"; document.getElementById("id_date18").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary18").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif18"); tr_a_modif.className = "danger"; document.getElementById("id_reponse18").innerHTML = "En attente"; document.getElementById("id_statu18").innerHTML = "En attente"; document.getElementById("id_date18").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary19").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary19").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif19"); tr_a_modif.className = "success"; document.getElementById("id_reponse19").innerHTML = "Validation admin"; document.getElementById("id_statu19").innerHTML = "Traité"; document.getElementById("id_date19").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary19").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif19"); tr_a_modif.className = "danger"; document.getElementById("id_reponse19").innerHTML = "En attente"; document.getElementById("id_statu19").innerHTML = "En attente"; document.getElementById("id_date19").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary20").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary20").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif20"); tr_a_modif.className = "success"; document.getElementById("id_reponse20").innerHTML = "Validation admin"; document.getElementById("id_statu20").innerHTML = "Traité"; document.getElementById("id_date20").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary20").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif20"); tr_a_modif.className = "danger"; document.getElementById("id_reponse20").innerHTML = "En attente"; document.getElementById("id_statu20").innerHTML = "En attente"; document.getElementById("id_date20").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary21").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary21").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif21"); tr_a_modif.className = "success"; document.getElementById("id_reponse21").innerHTML = "Validation admin"; document.getElementById("id_statu21").innerHTML = "Traité"; document.getElementById("id_date21").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary21").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif21"); tr_a_modif.className = "danger"; document.getElementById("id_reponse21").innerHTML = "En attente"; document.getElementById("id_statu21").innerHTML = "En attente"; document.getElementById("id_date21").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary22").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary22").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif22"); tr_a_modif.className = "success"; document.getElementById("id_reponse22").innerHTML = "Validation admin"; document.getElementById("id_statu22").innerHTML = "Traité"; document.getElementById("id_date22").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary22").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif22"); tr_a_modif.className = "danger"; document.getElementById("id_reponse22").innerHTML = "En attente"; document.getElementById("id_statu22").innerHTML = "En attente"; document.getElementById("id_date22").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary23").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary23").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif23"); tr_a_modif.className = "success"; document.getElementById("id_reponse23").innerHTML = "Validation admin"; document.getElementById("id_statu23").innerHTML = "Traité"; document.getElementById("id_date23").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary23").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif23"); tr_a_modif.className = "danger"; document.getElementById("id_reponse23").innerHTML = "En attente"; document.getElementById("id_statu23").innerHTML = "En attente"; document.getElementById("id_date23").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary24").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary24").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif24"); tr_a_modif.className = "success"; document.getElementById("id_reponse24").innerHTML = "Validation admin"; document.getElementById("id_statu24").innerHTML = "Traité"; document.getElementById("id_date24").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary24").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif24"); tr_a_modif.className = "danger"; document.getElementById("id_reponse24").innerHTML = "En attente"; document.getElementById("id_statu24").innerHTML = "En attente"; document.getElementById("id_date24").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary25").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary25").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif25"); tr_a_modif.className = "success"; document.getElementById("id_reponse25").innerHTML = "Validation admin"; document.getElementById("id_statu25").innerHTML = "Traité"; document.getElementById("id_date25").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary25").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif25"); tr_a_modif.className = "danger"; document.getElementById("id_reponse25").innerHTML = "En attente"; document.getElementById("id_statu25").innerHTML = "En attente"; document.getElementById("id_date25").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary26").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary26").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif26"); tr_a_modif.className = "success"; document.getElementById("id_reponse26").innerHTML = "Validation admin"; document.getElementById("id_statu26").innerHTML = "Traité"; document.getElementById("id_date26").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary26").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif26"); tr_a_modif.className = "danger"; document.getElementById("id_reponse26").innerHTML = "En attente"; document.getElementById("id_statu26").innerHTML = "En attente"; document.getElementById("id_date26").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary27").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary27").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif27"); tr_a_modif.className = "success"; document.getElementById("id_reponse27").innerHTML = "Validation admin"; document.getElementById("id_statu27").innerHTML = "Traité"; document.getElementById("id_date27").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary27").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif27"); tr_a_modif.className = "danger"; document.getElementById("id_reponse27").innerHTML = "En attente"; document.getElementById("id_statu27").innerHTML = "En attente"; document.getElementById("id_date27").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary28").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary28").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif28"); tr_a_modif.className = "success"; document.getElementById("id_reponse28").innerHTML = "Validation admin"; document.getElementById("id_statu28").innerHTML = "Traité"; document.getElementById("id_date28").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary28").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif28"); tr_a_modif.className = "danger"; document.getElementById("id_reponse28").innerHTML = "En attente"; document.getElementById("id_statu28").innerHTML = "En attente"; document.getElementById("id_date28").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary29").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary29").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif29"); tr_a_modif.className = "success"; document.getElementById("id_reponse29").innerHTML = "Validation admin"; document.getElementById("id_statu29").innerHTML = "Traité"; document.getElementById("id_date29").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary29").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif29"); tr_a_modif.className = "danger"; document.getElementById("id_reponse29").innerHTML = "En attente"; document.getElementById("id_statu29").innerHTML = "En attente"; document.getElementById("id_date29").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary30").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary30").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif30"); tr_a_modif.className = "success"; document.getElementById("id_reponse30").innerHTML = "Validation admin"; document.getElementById("id_statu30").innerHTML = "Traité"; document.getElementById("id_date30").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary30").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif30"); tr_a_modif.className = "danger"; document.getElementById("id_reponse30").innerHTML = "En attente"; document.getElementById("id_statu30").innerHTML = "En attente"; document.getElementById("id_date30").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary31").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary31").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif31"); tr_a_modif.className = "success"; document.getElementById("id_reponse31").innerHTML = "Validation admin"; document.getElementById("id_statu31").innerHTML = "Traité"; document.getElementById("id_date31").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary31").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif31"); tr_a_modif.className = "danger"; document.getElementById("id_reponse31").innerHTML = "En attente"; document.getElementById("id_statu31").innerHTML = "En attente"; document.getElementById("id_date31").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary32").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary32").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif32"); tr_a_modif.className = "success"; document.getElementById("id_reponse32").innerHTML = "Validation admin"; document.getElementById("id_statu32").innerHTML = "Traité"; document.getElementById("id_date32").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary32").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif32"); tr_a_modif.className = "danger"; document.getElementById("id_reponse32").innerHTML = "En attente"; document.getElementById("id_statu32").innerHTML = "En attente"; document.getElementById("id_date32").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary33").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary33").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif33"); tr_a_modif.className = "success"; document.getElementById("id_reponse33").innerHTML = "Validation admin"; document.getElementById("id_statu33").innerHTML = "Traité"; document.getElementById("id_date33").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary33").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif33"); tr_a_modif.className = "danger"; document.getElementById("id_reponse33").innerHTML = "En attente"; document.getElementById("id_statu33").innerHTML = "En attente"; document.getElementById("id_date33").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary34").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary34").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif34"); tr_a_modif.className = "success"; document.getElementById("id_reponse34").innerHTML = "Validation admin"; document.getElementById("id_statu34").innerHTML = "Traité"; document.getElementById("id_date34").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary34").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif34"); tr_a_modif.className = "danger"; document.getElementById("id_reponse34").innerHTML = "En attente"; document.getElementById("id_statu34").innerHTML = "En attente"; document.getElementById("id_date34").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary35").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary35").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif35"); tr_a_modif.className = "success"; document.getElementById("id_reponse35").innerHTML = "Validation admin"; document.getElementById("id_statu35").innerHTML = "Traité"; document.getElementById("id_date35").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary35").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif35"); tr_a_modif.className = "danger"; document.getElementById("id_reponse35").innerHTML = "En attente"; document.getElementById("id_statu35").innerHTML = "En attente"; document.getElementById("id_date35").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary36").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary36").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif36"); tr_a_modif.className = "success"; document.getElementById("id_reponse36").innerHTML = "Validation admin"; document.getElementById("id_statu36").innerHTML = "Traité"; document.getElementById("id_date36").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary36").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif36"); tr_a_modif.className = "danger"; document.getElementById("id_reponse36").innerHTML = "En attente"; document.getElementById("id_statu36").innerHTML = "En attente"; document.getElementById("id_date36").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary37").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary37").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif37"); tr_a_modif.className = "success"; document.getElementById("id_reponse37").innerHTML = "Validation admin"; document.getElementById("id_statu37").innerHTML = "Traité"; document.getElementById("id_date37").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary37").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif37"); tr_a_modif.className = "danger"; document.getElementById("id_reponse37").innerHTML = "En attente"; document.getElementById("id_statu37").innerHTML = "En attente"; document.getElementById("id_date37").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary38").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary38").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif38"); tr_a_modif.className = "success"; document.getElementById("id_reponse38").innerHTML = "Validation admin"; document.getElementById("id_statu38").innerHTML = "Traité"; document.getElementById("id_date38").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary38").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif38"); tr_a_modif.className = "danger"; document.getElementById("id_reponse38").innerHTML = "En attente"; document.getElementById("id_statu38").innerHTML = "En attente"; document.getElementById("id_date38").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary39").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary39").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif39"); tr_a_modif.className = "success"; document.getElementById("id_reponse39").innerHTML = "Validation admin"; document.getElementById("id_statu39").innerHTML = "Traité"; document.getElementById("id_date39").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary39").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif39"); tr_a_modif.className = "danger"; document.getElementById("id_reponse39").innerHTML = "En attente"; document.getElementById("id_statu39").innerHTML = "En attente"; document.getElementById("id_date39").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary40").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary40").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif40"); tr_a_modif.className = "success"; document.getElementById("id_reponse40").innerHTML = "Validation admin"; document.getElementById("id_statu40").innerHTML = "Traité"; document.getElementById("id_date40").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary40").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif40"); tr_a_modif.className = "danger"; document.getElementById("id_reponse40").innerHTML = "En attente"; document.getElementById("id_statu40").innerHTML = "En attente"; document.getElementById("id_date40").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary41").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary41").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif41"); tr_a_modif.className = "success"; document.getElementById("id_reponse41").innerHTML = "Validation admin"; document.getElementById("id_statu41").innerHTML = "Traité"; document.getElementById("id_date41").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary41").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif41"); tr_a_modif.className = "danger"; document.getElementById("id_reponse41").innerHTML = "En attente"; document.getElementById("id_statu41").innerHTML = "En attente"; document.getElementById("id_date41").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary42").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary42").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif42"); tr_a_modif.className = "success"; document.getElementById("id_reponse42").innerHTML = "Validation admin"; document.getElementById("id_statu42").innerHTML = "Traité"; document.getElementById("id_date42").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary42").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif42"); tr_a_modif.className = "danger"; document.getElementById("id_reponse42").innerHTML = "En attente"; document.getElementById("id_statu42").innerHTML = "En attente"; document.getElementById("id_date42").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary43").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary43").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif43"); tr_a_modif.className = "success"; document.getElementById("id_reponse43").innerHTML = "Validation admin"; document.getElementById("id_statu43").innerHTML = "Traité"; document.getElementById("id_date43").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary43").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif43"); tr_a_modif.className = "danger"; document.getElementById("id_reponse43").innerHTML = "En attente"; document.getElementById("id_statu43").innerHTML = "En attente"; document.getElementById("id_date43").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary44").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary44").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif44"); tr_a_modif.className = "success"; document.getElementById("id_reponse44").innerHTML = "Validation admin"; document.getElementById("id_statu44").innerHTML = "Traité"; document.getElementById("id_date44").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary44").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif44"); tr_a_modif.className = "danger"; document.getElementById("id_reponse44").innerHTML = "En attente"; document.getElementById("id_statu44").innerHTML = "En attente"; document.getElementById("id_date44").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary45").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary45").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif45"); tr_a_modif.className = "success"; document.getElementById("id_reponse45").innerHTML = "Validation admin"; document.getElementById("id_statu45").innerHTML = "Traité"; document.getElementById("id_date45").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary45").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif45"); tr_a_modif.className = "danger"; document.getElementById("id_reponse45").innerHTML = "En attente"; document.getElementById("id_statu45").innerHTML = "En attente"; document.getElementById("id_date45").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary46").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary46").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif46"); tr_a_modif.className = "success"; document.getElementById("id_reponse46").innerHTML = "Validation admin"; document.getElementById("id_statu46").innerHTML = "Traité"; document.getElementById("id_date46").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary46").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif46"); tr_a_modif.className = "danger"; document.getElementById("id_reponse46").innerHTML = "En attente"; document.getElementById("id_statu46").innerHTML = "En attente"; document.getElementById("id_date46").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary47").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary47").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif47"); tr_a_modif.className = "success"; document.getElementById("id_reponse47").innerHTML = "Validation admin"; document.getElementById("id_statu47").innerHTML = "Traité"; document.getElementById("id_date47").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary47").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif47"); tr_a_modif.className = "danger"; document.getElementById("id_reponse47").innerHTML = "En attente"; document.getElementById("id_statu47").innerHTML = "En attente"; document.getElementById("id_date47").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary48").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary48").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif48"); tr_a_modif.className = "success"; document.getElementById("id_reponse48").innerHTML = "Validation admin"; document.getElementById("id_statu48").innerHTML = "Traité"; document.getElementById("id_date48").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary48").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif48"); tr_a_modif.className = "danger"; document.getElementById("id_reponse48").innerHTML = "En attente"; document.getElementById("id_statu48").innerHTML = "En attente"; document.getElementById("id_date48").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary49").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary49").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif49"); tr_a_modif.className = "success"; document.getElementById("id_reponse49").innerHTML = "Validation admin"; document.getElementById("id_statu49").innerHTML = "Traité"; document.getElementById("id_date49").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary49").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif49"); tr_a_modif.className = "danger"; document.getElementById("id_reponse49").innerHTML = "En attente"; document.getElementById("id_statu49").innerHTML = "En attente"; document.getElementById("id_date49").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary50").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary50").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif50"); tr_a_modif.className = "success"; document.getElementById("id_reponse50").innerHTML = "Validation admin"; document.getElementById("id_statu50").innerHTML = "Traité"; document.getElementById("id_date50").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary50").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif50"); tr_a_modif.className = "danger"; document.getElementById("id_reponse50").innerHTML = "En attente"; document.getElementById("id_statu50").innerHTML = "En attente"; document.getElementById("id_date50").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary51").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary51").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif51"); tr_a_modif.className = "success"; document.getElementById("id_reponse51").innerHTML = "Validation admin"; document.getElementById("id_statu51").innerHTML = "Traité"; document.getElementById("id_date51").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary51").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif51"); tr_a_modif.className = "danger"; document.getElementById("id_reponse51").innerHTML = "En attente"; document.getElementById("id_statu51").innerHTML = "En attente"; document.getElementById("id_date51").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary52").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary52").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif52"); tr_a_modif.className = "success"; document.getElementById("id_reponse52").innerHTML = "Validation admin"; document.getElementById("id_statu52").innerHTML = "Traité"; document.getElementById("id_date52").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary52").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif52"); tr_a_modif.className = "danger"; document.getElementById("id_reponse52").innerHTML = "En attente"; document.getElementById("id_statu52").innerHTML = "En attente"; document.getElementById("id_date52").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary53").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary53").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif53"); tr_a_modif.className = "success"; document.getElementById("id_reponse53").innerHTML = "Validation admin"; document.getElementById("id_statu53").innerHTML = "Traité"; document.getElementById("id_date53").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary53").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif53"); tr_a_modif.className = "danger"; document.getElementById("id_reponse53").innerHTML = "En attente"; document.getElementById("id_statu53").innerHTML = "En attente"; document.getElementById("id_date53").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary54").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary54").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif54"); tr_a_modif.className = "success"; document.getElementById("id_reponse54").innerHTML = "Validation admin"; document.getElementById("id_statu54").innerHTML = "Traité"; document.getElementById("id_date54").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary54").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif54"); tr_a_modif.className = "danger"; document.getElementById("id_reponse54").innerHTML = "En attente"; document.getElementById("id_statu54").innerHTML = "En attente"; document.getElementById("id_date54").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary55").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary55").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif55"); tr_a_modif.className = "success"; document.getElementById("id_reponse55").innerHTML = "Validation admin"; document.getElementById("id_statu55").innerHTML = "Traité"; document.getElementById("id_date55").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary55").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif55"); tr_a_modif.className = "danger"; document.getElementById("id_reponse55").innerHTML = "En attente"; document.getElementById("id_statu55").innerHTML = "En attente"; document.getElementById("id_date55").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary56").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary56").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif56"); tr_a_modif.className = "success"; document.getElementById("id_reponse56").innerHTML = "Validation admin"; document.getElementById("id_statu56").innerHTML = "Traité"; document.getElementById("id_date56").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary56").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif56"); tr_a_modif.className = "danger"; document.getElementById("id_reponse56").innerHTML = "En attente"; document.getElementById("id_statu56").innerHTML = "En attente"; document.getElementById("id_date56").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary57").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary57").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif57"); tr_a_modif.className = "success"; document.getElementById("id_reponse57").innerHTML = "Validation admin"; document.getElementById("id_statu57").innerHTML = "Traité"; document.getElementById("id_date57").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary57").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif57"); tr_a_modif.className = "danger"; document.getElementById("id_reponse57").innerHTML = "En attente"; document.getElementById("id_statu57").innerHTML = "En attente"; document.getElementById("id_date57").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary58").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary58").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif58"); tr_a_modif.className = "success"; document.getElementById("id_reponse58").innerHTML = "Validation admin"; document.getElementById("id_statu58").innerHTML = "Traité"; document.getElementById("id_date58").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary58").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif58"); tr_a_modif.className = "danger"; document.getElementById("id_reponse58").innerHTML = "En attente"; document.getElementById("id_statu58").innerHTML = "En attente"; document.getElementById("id_date58").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary59").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary59").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif59"); tr_a_modif.className = "success"; document.getElementById("id_reponse59").innerHTML = "Validation admin"; document.getElementById("id_statu59").innerHTML = "Traité"; document.getElementById("id_date59").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary59").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif59"); tr_a_modif.className = "danger"; document.getElementById("id_reponse59").innerHTML = "En attente"; document.getElementById("id_statu59").innerHTML = "En attente"; document.getElementById("id_date59").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary60").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary60").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif60"); tr_a_modif.className = "success"; document.getElementById("id_reponse60").innerHTML = "Validation admin"; document.getElementById("id_statu60").innerHTML = "Traité"; document.getElementById("id_date60").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary60").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif60"); tr_a_modif.className = "danger"; document.getElementById("id_reponse60").innerHTML = "En attente"; document.getElementById("id_statu60").innerHTML = "En attente"; document.getElementById("id_date60").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary61").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary61").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif61"); tr_a_modif.className = "success"; document.getElementById("id_reponse61").innerHTML = "Validation admin"; document.getElementById("id_statu61").innerHTML = "Traité"; document.getElementById("id_date61").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary61").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif61"); tr_a_modif.className = "danger"; document.getElementById("id_reponse61").innerHTML = "En attente"; document.getElementById("id_statu61").innerHTML = "En attente"; document.getElementById("id_date61").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary62").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary62").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif62"); tr_a_modif.className = "success"; document.getElementById("id_reponse62").innerHTML = "Validation admin"; document.getElementById("id_statu62").innerHTML = "Traité"; document.getElementById("id_date62").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary62").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif62"); tr_a_modif.className = "danger"; document.getElementById("id_reponse62").innerHTML = "En attente"; document.getElementById("id_statu62").innerHTML = "En attente"; document.getElementById("id_date62").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary63").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary63").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif63"); tr_a_modif.className = "success"; document.getElementById("id_reponse63").innerHTML = "Validation admin"; document.getElementById("id_statu63").innerHTML = "Traité"; document.getElementById("id_date63").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary63").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif63"); tr_a_modif.className = "danger"; document.getElementById("id_reponse63").innerHTML = "En attente"; document.getElementById("id_statu63").innerHTML = "En attente"; document.getElementById("id_date63").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary64").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary64").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif64"); tr_a_modif.className = "success"; document.getElementById("id_reponse64").innerHTML = "Validation admin"; document.getElementById("id_statu64").innerHTML = "Traité"; document.getElementById("id_date64").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary64").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif64"); tr_a_modif.className = "danger"; document.getElementById("id_reponse64").innerHTML = "En attente"; document.getElementById("id_statu64").innerHTML = "En attente"; document.getElementById("id_date64").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary65").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary65").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif65"); tr_a_modif.className = "success"; document.getElementById("id_reponse65").innerHTML = "Validation admin"; document.getElementById("id_statu65").innerHTML = "Traité"; document.getElementById("id_date65").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary65").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif65"); tr_a_modif.className = "danger"; document.getElementById("id_reponse65").innerHTML = "En attente"; document.getElementById("id_statu65").innerHTML = "En attente"; document.getElementById("id_date65").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary66").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary66").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif66"); tr_a_modif.className = "success"; document.getElementById("id_reponse66").innerHTML = "Validation admin"; document.getElementById("id_statu66").innerHTML = "Traité"; document.getElementById("id_date66").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary66").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif66"); tr_a_modif.className = "danger"; document.getElementById("id_reponse66").innerHTML = "En attente"; document.getElementById("id_statu66").innerHTML = "En attente"; document.getElementById("id_date66").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary67").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary67").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif67"); tr_a_modif.className = "success"; document.getElementById("id_reponse67").innerHTML = "Validation admin"; document.getElementById("id_statu67").innerHTML = "Traité"; document.getElementById("id_date67").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary67").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif67"); tr_a_modif.className = "danger"; document.getElementById("id_reponse67").innerHTML = "En attente"; document.getElementById("id_statu67").innerHTML = "En attente"; document.getElementById("id_date67").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary68").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary68").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif68"); tr_a_modif.className = "success"; document.getElementById("id_reponse68").innerHTML = "Validation admin"; document.getElementById("id_statu68").innerHTML = "Traité"; document.getElementById("id_date68").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary68").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif68"); tr_a_modif.className = "danger"; document.getElementById("id_reponse68").innerHTML = "En attente"; document.getElementById("id_statu68").innerHTML = "En attente"; document.getElementById("id_date68").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary69").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary69").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif69"); tr_a_modif.className = "success"; document.getElementById("id_reponse69").innerHTML = "Validation admin"; document.getElementById("id_statu69").innerHTML = "Traité"; document.getElementById("id_date69").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary69").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif69"); tr_a_modif.className = "danger"; document.getElementById("id_reponse69").innerHTML = "En attente"; document.getElementById("id_statu69").innerHTML = "En attente"; document.getElementById("id_date69").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary70").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary70").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif70"); tr_a_modif.className = "success"; document.getElementById("id_reponse70").innerHTML = "Validation admin"; document.getElementById("id_statu70").innerHTML = "Traité"; document.getElementById("id_date70").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary70").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif70"); tr_a_modif.className = "danger"; document.getElementById("id_reponse70").innerHTML = "En attente"; document.getElementById("id_statu70").innerHTML = "En attente"; document.getElementById("id_date70").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary71").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary71").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif71"); tr_a_modif.className = "success"; document.getElementById("id_reponse71").innerHTML = "Validation admin"; document.getElementById("id_statu71").innerHTML = "Traité"; document.getElementById("id_date71").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary71").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif71"); tr_a_modif.className = "danger"; document.getElementById("id_reponse71").innerHTML = "En attente"; document.getElementById("id_statu71").innerHTML = "En attente"; document.getElementById("id_date71").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary72").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary72").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif72"); tr_a_modif.className = "success"; document.getElementById("id_reponse72").innerHTML = "Validation admin"; document.getElementById("id_statu72").innerHTML = "Traité"; document.getElementById("id_date72").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary72").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif72"); tr_a_modif.className = "danger"; document.getElementById("id_reponse72").innerHTML = "En attente"; document.getElementById("id_statu72").innerHTML = "En attente"; document.getElementById("id_date72").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary73").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary73").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif73"); tr_a_modif.className = "success"; document.getElementById("id_reponse73").innerHTML = "Validation admin"; document.getElementById("id_statu73").innerHTML = "Traité"; document.getElementById("id_date73").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary73").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif73"); tr_a_modif.className = "danger"; document.getElementById("id_reponse73").innerHTML = "En attente"; document.getElementById("id_statu73").innerHTML = "En attente"; document.getElementById("id_date73").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary74").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary74").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif74"); tr_a_modif.className = "success"; document.getElementById("id_reponse74").innerHTML = "Validation admin"; document.getElementById("id_statu74").innerHTML = "Traité"; document.getElementById("id_date74").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary74").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif74"); tr_a_modif.className = "danger"; document.getElementById("id_reponse74").innerHTML = "En attente"; document.getElementById("id_statu74").innerHTML = "En attente"; document.getElementById("id_date74").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary75").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary75").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif75"); tr_a_modif.className = "success"; document.getElementById("id_reponse75").innerHTML = "Validation admin"; document.getElementById("id_statu75").innerHTML = "Traité"; document.getElementById("id_date75").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary75").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif75"); tr_a_modif.className = "danger"; document.getElementById("id_reponse75").innerHTML = "En attente"; document.getElementById("id_statu75").innerHTML = "En attente"; document.getElementById("id_date75").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary76").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary76").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif76"); tr_a_modif.className = "success"; document.getElementById("id_reponse76").innerHTML = "Validation admin"; document.getElementById("id_statu76").innerHTML = "Traité"; document.getElementById("id_date76").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary76").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif76"); tr_a_modif.className = "danger"; document.getElementById("id_reponse76").innerHTML = "En attente"; document.getElementById("id_statu76").innerHTML = "En attente"; document.getElementById("id_date76").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary77").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary77").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif77"); tr_a_modif.className = "success"; document.getElementById("id_reponse77").innerHTML = "Validation admin"; document.getElementById("id_statu77").innerHTML = "Traité"; document.getElementById("id_date77").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary77").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif77"); tr_a_modif.className = "danger"; document.getElementById("id_reponse77").innerHTML = "En attente"; document.getElementById("id_statu77").innerHTML = "En attente"; document.getElementById("id_date77").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary78").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary78").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif78"); tr_a_modif.className = "success"; document.getElementById("id_reponse78").innerHTML = "Validation admin"; document.getElementById("id_statu78").innerHTML = "Traité"; document.getElementById("id_date78").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary78").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif78"); tr_a_modif.className = "danger"; document.getElementById("id_reponse78").innerHTML = "En attente"; document.getElementById("id_statu78").innerHTML = "En attente"; document.getElementById("id_date78").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary79").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary79").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif79"); tr_a_modif.className = "success"; document.getElementById("id_reponse79").innerHTML = "Validation admin"; document.getElementById("id_statu79").innerHTML = "Traité"; document.getElementById("id_date79").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary79").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif79"); tr_a_modif.className = "danger"; document.getElementById("id_reponse79").innerHTML = "En attente"; document.getElementById("id_statu79").innerHTML = "En attente"; document.getElementById("id_date79").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary80").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary80").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif80"); tr_a_modif.className = "success"; document.getElementById("id_reponse80").innerHTML = "Validation admin"; document.getElementById("id_statu80").innerHTML = "Traité"; document.getElementById("id_date80").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary80").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif80"); tr_a_modif.className = "danger"; document.getElementById("id_reponse80").innerHTML = "En attente"; document.getElementById("id_statu80").innerHTML = "En attente"; document.getElementById("id_date80").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary81").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary81").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif81"); tr_a_modif.className = "success"; document.getElementById("id_reponse81").innerHTML = "Validation admin"; document.getElementById("id_statu81").innerHTML = "Traité"; document.getElementById("id_date81").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary81").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif81"); tr_a_modif.className = "danger"; document.getElementById("id_reponse81").innerHTML = "En attente"; document.getElementById("id_statu81").innerHTML = "En attente"; document.getElementById("id_date81").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary82").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary82").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif82"); tr_a_modif.className = "success"; document.getElementById("id_reponse82").innerHTML = "Validation admin"; document.getElementById("id_statu82").innerHTML = "Traité"; document.getElementById("id_date82").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary82").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif82"); tr_a_modif.className = "danger"; document.getElementById("id_reponse82").innerHTML = "En attente"; document.getElementById("id_statu82").innerHTML = "En attente"; document.getElementById("id_date82").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary83").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary83").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif83"); tr_a_modif.className = "success"; document.getElementById("id_reponse83").innerHTML = "Validation admin"; document.getElementById("id_statu83").innerHTML = "Traité"; document.getElementById("id_date83").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary83").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif83"); tr_a_modif.className = "danger"; document.getElementById("id_reponse83").innerHTML = "En attente"; document.getElementById("id_statu83").innerHTML = "En attente"; document.getElementById("id_date83").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary84").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary84").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif84"); tr_a_modif.className = "success"; document.getElementById("id_reponse84").innerHTML = "Validation admin"; document.getElementById("id_statu84").innerHTML = "Traité"; document.getElementById("id_date84").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary84").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif84"); tr_a_modif.className = "danger"; document.getElementById("id_reponse84").innerHTML = "En attente"; document.getElementById("id_statu84").innerHTML = "En attente"; document.getElementById("id_date84").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary85").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary85").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif85"); tr_a_modif.className = "success"; document.getElementById("id_reponse85").innerHTML = "Validation admin"; document.getElementById("id_statu85").innerHTML = "Traité"; document.getElementById("id_date85").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary85").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif85"); tr_a_modif.className = "danger"; document.getElementById("id_reponse85").innerHTML = "En attente"; document.getElementById("id_statu85").innerHTML = "En attente"; document.getElementById("id_date85").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary86").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary86").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif86"); tr_a_modif.className = "success"; document.getElementById("id_reponse86").innerHTML = "Validation admin"; document.getElementById("id_statu86").innerHTML = "Traité"; document.getElementById("id_date86").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary86").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif86"); tr_a_modif.className = "danger"; document.getElementById("id_reponse86").innerHTML = "En attente"; document.getElementById("id_statu86").innerHTML = "En attente"; document.getElementById("id_date86").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary87").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary87").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif87"); tr_a_modif.className = "success"; document.getElementById("id_reponse87").innerHTML = "Validation admin"; document.getElementById("id_statu87").innerHTML = "Traité"; document.getElementById("id_date87").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary87").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif87"); tr_a_modif.className = "danger"; document.getElementById("id_reponse87").innerHTML = "En attente"; document.getElementById("id_statu87").innerHTML = "En attente"; document.getElementById("id_date87").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary88").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary88").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif88"); tr_a_modif.className = "success"; document.getElementById("id_reponse88").innerHTML = "Validation admin"; document.getElementById("id_statu88").innerHTML = "Traité"; document.getElementById("id_date88").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary88").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif88"); tr_a_modif.className = "danger"; document.getElementById("id_reponse88").innerHTML = "En attente"; document.getElementById("id_statu88").innerHTML = "En attente"; document.getElementById("id_date88").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary89").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary89").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif89"); tr_a_modif.className = "success"; document.getElementById("id_reponse89").innerHTML = "Validation admin"; document.getElementById("id_statu89").innerHTML = "Traité"; document.getElementById("id_date89").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary89").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif89"); tr_a_modif.className = "danger"; document.getElementById("id_reponse89").innerHTML = "En attente"; document.getElementById("id_statu89").innerHTML = "En attente"; document.getElementById("id_date89").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary90").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary90").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif90"); tr_a_modif.className = "success"; document.getElementById("id_reponse90").innerHTML = "Validation admin"; document.getElementById("id_statu90").innerHTML = "Traité"; document.getElementById("id_date90").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary90").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif90"); tr_a_modif.className = "danger"; document.getElementById("id_reponse90").innerHTML = "En attente"; document.getElementById("id_statu90").innerHTML = "En attente"; document.getElementById("id_date90").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary91").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary91").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif91"); tr_a_modif.className = "success"; document.getElementById("id_reponse91").innerHTML = "Validation admin"; document.getElementById("id_statu91").innerHTML = "Traité"; document.getElementById("id_date91").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary91").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif91"); tr_a_modif.className = "danger"; document.getElementById("id_reponse91").innerHTML = "En attente"; document.getElementById("id_statu91").innerHTML = "En attente"; document.getElementById("id_date91").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary92").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary92").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif92"); tr_a_modif.className = "success"; document.getElementById("id_reponse92").innerHTML = "Validation admin"; document.getElementById("id_statu92").innerHTML = "Traité"; document.getElementById("id_date92").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary92").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif92"); tr_a_modif.className = "danger"; document.getElementById("id_reponse92").innerHTML = "En attente"; document.getElementById("id_statu92").innerHTML = "En attente"; document.getElementById("id_date92").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary93").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary93").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif93"); tr_a_modif.className = "success"; document.getElementById("id_reponse93").innerHTML = "Validation admin"; document.getElementById("id_statu93").innerHTML = "Traité"; document.getElementById("id_date93").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary93").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif93"); tr_a_modif.className = "danger"; document.getElementById("id_reponse93").innerHTML = "En attente"; document.getElementById("id_statu93").innerHTML = "En attente"; document.getElementById("id_date93").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary94").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary94").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif94"); tr_a_modif.className = "success"; document.getElementById("id_reponse94").innerHTML = "Validation admin"; document.getElementById("id_statu94").innerHTML = "Traité"; document.getElementById("id_date94").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary94").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif94"); tr_a_modif.className = "danger"; document.getElementById("id_reponse94").innerHTML = "En attente"; document.getElementById("id_statu94").innerHTML = "En attente"; document.getElementById("id_date94").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary95").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary95").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif95"); tr_a_modif.className = "success"; document.getElementById("id_reponse95").innerHTML = "Validation admin"; document.getElementById("id_statu95").innerHTML = "Traité"; document.getElementById("id_date95").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary95").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif95"); tr_a_modif.className = "danger"; document.getElementById("id_reponse95").innerHTML = "En attente"; document.getElementById("id_statu95").innerHTML = "En attente"; document.getElementById("id_date95").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary96").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary96").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif96"); tr_a_modif.className = "success"; document.getElementById("id_reponse96").innerHTML = "Validation admin"; document.getElementById("id_statu96").innerHTML = "Traité"; document.getElementById("id_date96").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary96").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif96"); tr_a_modif.className = "danger"; document.getElementById("id_reponse96").innerHTML = "En attente"; document.getElementById("id_statu96").innerHTML = "En attente"; document.getElementById("id_date96").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary97").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary97").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif97"); tr_a_modif.className = "success"; document.getElementById("id_reponse97").innerHTML = "Validation admin"; document.getElementById("id_statu97").innerHTML = "Traité"; document.getElementById("id_date97").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary97").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif97"); tr_a_modif.className = "danger"; document.getElementById("id_reponse97").innerHTML = "En attente"; document.getElementById("id_statu97").innerHTML = "En attente"; document.getElementById("id_date97").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary98").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary98").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif98"); tr_a_modif.className = "success"; document.getElementById("id_reponse98").innerHTML = "Validation admin"; document.getElementById("id_statu98").innerHTML = "Traité"; document.getElementById("id_date98").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary98").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif98"); tr_a_modif.className = "danger"; document.getElementById("id_reponse98").innerHTML = "En attente"; document.getElementById("id_statu98").innerHTML = "En attente"; document.getElementById("id_date98").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary99").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary99").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif99"); tr_a_modif.className = "success"; document.getElementById("id_reponse99").innerHTML = "Validation admin"; document.getElementById("id_statu99").innerHTML = "Traité"; document.getElementById("id_date99").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary99").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif99"); tr_a_modif.className = "danger"; document.getElementById("id_reponse99").innerHTML = "En attente"; document.getElementById("id_statu99").innerHTML = "En attente"; document.getElementById("id_date99").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary100").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary100").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif100"); tr_a_modif.className = "success"; document.getElementById("id_reponse100").innerHTML = "Validation admin"; document.getElementById("id_statu100").innerHTML = "Traité"; document.getElementById("id_date100").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary100").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif100"); tr_a_modif.className = "danger"; document.getElementById("id_reponse100").innerHTML = "En attente"; document.getElementById("id_statu100").innerHTML = "En attente"; document.getElementById("id_date100").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary101").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary101").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif101"); tr_a_modif.className = "success"; document.getElementById("id_reponse101").innerHTML = "Validation admin"; document.getElementById("id_statu101").innerHTML = "Traité"; document.getElementById("id_date101").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary101").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif101"); tr_a_modif.className = "danger"; document.getElementById("id_reponse101").innerHTML = "En attente"; document.getElementById("id_statu101").innerHTML = "En attente"; document.getElementById("id_date101").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary102").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary102").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif102"); tr_a_modif.className = "success"; document.getElementById("id_reponse102").innerHTML = "Validation admin"; document.getElementById("id_statu102").innerHTML = "Traité"; document.getElementById("id_date102").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary102").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif102"); tr_a_modif.className = "danger"; document.getElementById("id_reponse102").innerHTML = "En attente"; document.getElementById("id_statu102").innerHTML = "En attente"; document.getElementById("id_date102").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary103").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary103").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif103"); tr_a_modif.className = "success"; document.getElementById("id_reponse103").innerHTML = "Validation admin"; document.getElementById("id_statu103").innerHTML = "Traité"; document.getElementById("id_date103").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary103").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif103"); tr_a_modif.className = "danger"; document.getElementById("id_reponse103").innerHTML = "En attente"; document.getElementById("id_statu103").innerHTML = "En attente"; document.getElementById("id_date103").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary104").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary104").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif104"); tr_a_modif.className = "success"; document.getElementById("id_reponse104").innerHTML = "Validation admin"; document.getElementById("id_statu104").innerHTML = "Traité"; document.getElementById("id_date104").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary104").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif104"); tr_a_modif.className = "danger"; document.getElementById("id_reponse104").innerHTML = "En attente"; document.getElementById("id_statu104").innerHTML = "En attente"; document.getElementById("id_date104").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary105").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary105").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif105"); tr_a_modif.className = "success"; document.getElementById("id_reponse105").innerHTML = "Validation admin"; document.getElementById("id_statu105").innerHTML = "Traité"; document.getElementById("id_date105").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary105").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif105"); tr_a_modif.className = "danger"; document.getElementById("id_reponse105").innerHTML = "En attente"; document.getElementById("id_statu105").innerHTML = "En attente"; document.getElementById("id_date105").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary106").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary106").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif106"); tr_a_modif.className = "success"; document.getElementById("id_reponse106").innerHTML = "Validation admin"; document.getElementById("id_statu106").innerHTML = "Traité"; document.getElementById("id_date106").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary106").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif106"); tr_a_modif.className = "danger"; document.getElementById("id_reponse106").innerHTML = "En attente"; document.getElementById("id_statu106").innerHTML = "En attente"; document.getElementById("id_date106").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary107").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary107").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif107"); tr_a_modif.className = "success"; document.getElementById("id_reponse107").innerHTML = "Validation admin"; document.getElementById("id_statu107").innerHTML = "Traité"; document.getElementById("id_date107").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary107").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif107"); tr_a_modif.className = "danger"; document.getElementById("id_reponse107").innerHTML = "En attente"; document.getElementById("id_statu107").innerHTML = "En attente"; document.getElementById("id_date107").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary108").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary108").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif108"); tr_a_modif.className = "success"; document.getElementById("id_reponse108").innerHTML = "Validation admin"; document.getElementById("id_statu108").innerHTML = "Traité"; document.getElementById("id_date108").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary108").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif108"); tr_a_modif.className = "danger"; document.getElementById("id_reponse108").innerHTML = "En attente"; document.getElementById("id_statu108").innerHTML = "En attente"; document.getElementById("id_date108").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary109").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary109").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif109"); tr_a_modif.className = "success"; document.getElementById("id_reponse109").innerHTML = "Validation admin"; document.getElementById("id_statu109").innerHTML = "Traité"; document.getElementById("id_date109").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary109").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif109"); tr_a_modif.className = "danger"; document.getElementById("id_reponse109").innerHTML = "En attente"; document.getElementById("id_statu109").innerHTML = "En attente"; document.getElementById("id_date109").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary110").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary110").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif110"); tr_a_modif.className = "success"; document.getElementById("id_reponse110").innerHTML = "Validation admin"; document.getElementById("id_statu110").innerHTML = "Traité"; document.getElementById("id_date110").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary110").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif110"); tr_a_modif.className = "danger"; document.getElementById("id_reponse110").innerHTML = "En attente"; document.getElementById("id_statu110").innerHTML = "En attente"; document.getElementById("id_date110").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary111").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary111").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif111"); tr_a_modif.className = "success"; document.getElementById("id_reponse111").innerHTML = "Validation admin"; document.getElementById("id_statu111").innerHTML = "Traité"; document.getElementById("id_date111").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary111").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif111"); tr_a_modif.className = "danger"; document.getElementById("id_reponse111").innerHTML = "En attente"; document.getElementById("id_statu111").innerHTML = "En attente"; document.getElementById("id_date111").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary112").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary112").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif112"); tr_a_modif.className = "success"; document.getElementById("id_reponse112").innerHTML = "Validation admin"; document.getElementById("id_statu112").innerHTML = "Traité"; document.getElementById("id_date112").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary112").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif112"); tr_a_modif.className = "danger"; document.getElementById("id_reponse112").innerHTML = "En attente"; document.getElementById("id_statu112").innerHTML = "En attente"; document.getElementById("id_date112").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary113").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary113").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif113"); tr_a_modif.className = "success"; document.getElementById("id_reponse113").innerHTML = "Validation admin"; document.getElementById("id_statu113").innerHTML = "Traité"; document.getElementById("id_date113").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary113").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif113"); tr_a_modif.className = "danger"; document.getElementById("id_reponse113").innerHTML = "En attente"; document.getElementById("id_statu113").innerHTML = "En attente"; document.getElementById("id_date113").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary114").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary114").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif114"); tr_a_modif.className = "success"; document.getElementById("id_reponse114").innerHTML = "Validation admin"; document.getElementById("id_statu114").innerHTML = "Traité"; document.getElementById("id_date114").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary114").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif114"); tr_a_modif.className = "danger"; document.getElementById("id_reponse114").innerHTML = "En attente"; document.getElementById("id_statu114").innerHTML = "En attente"; document.getElementById("id_date114").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary115").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary115").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif115"); tr_a_modif.className = "success"; document.getElementById("id_reponse115").innerHTML = "Validation admin"; document.getElementById("id_statu115").innerHTML = "Traité"; document.getElementById("id_date115").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary115").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif115"); tr_a_modif.className = "danger"; document.getElementById("id_reponse115").innerHTML = "En attente"; document.getElementById("id_statu115").innerHTML = "En attente"; document.getElementById("id_date115").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary116").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary116").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif116"); tr_a_modif.className = "success"; document.getElementById("id_reponse116").innerHTML = "Validation admin"; document.getElementById("id_statu116").innerHTML = "Traité"; document.getElementById("id_date116").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary116").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif116"); tr_a_modif.className = "danger"; document.getElementById("id_reponse116").innerHTML = "En attente"; document.getElementById("id_statu116").innerHTML = "En attente"; document.getElementById("id_date116").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary117").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary117").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif117"); tr_a_modif.className = "success"; document.getElementById("id_reponse117").innerHTML = "Validation admin"; document.getElementById("id_statu117").innerHTML = "Traité"; document.getElementById("id_date117").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary117").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif117"); tr_a_modif.className = "danger"; document.getElementById("id_reponse117").innerHTML = "En attente"; document.getElementById("id_statu117").innerHTML = "En attente"; document.getElementById("id_date117").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary118").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary118").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif118"); tr_a_modif.className = "success"; document.getElementById("id_reponse118").innerHTML = "Validation admin"; document.getElementById("id_statu118").innerHTML = "Traité"; document.getElementById("id_date118").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary118").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif118"); tr_a_modif.className = "danger"; document.getElementById("id_reponse118").innerHTML = "En attente"; document.getElementById("id_statu118").innerHTML = "En attente"; document.getElementById("id_date118").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary119").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary119").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif119"); tr_a_modif.className = "success"; document.getElementById("id_reponse119").innerHTML = "Validation admin"; document.getElementById("id_statu119").innerHTML = "Traité"; document.getElementById("id_date119").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary119").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif119"); tr_a_modif.className = "danger"; document.getElementById("id_reponse119").innerHTML = "En attente"; document.getElementById("id_statu119").innerHTML = "En attente"; document.getElementById("id_date119").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary120").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary120").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif120"); tr_a_modif.className = "success"; document.getElementById("id_reponse120").innerHTML = "Validation admin"; document.getElementById("id_statu120").innerHTML = "Traité"; document.getElementById("id_date120").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary120").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif120"); tr_a_modif.className = "danger"; document.getElementById("id_reponse120").innerHTML = "En attente"; document.getElementById("id_statu120").innerHTML = "En attente"; document.getElementById("id_date120").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary121").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary121").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif121"); tr_a_modif.className = "success"; document.getElementById("id_reponse121").innerHTML = "Validation admin"; document.getElementById("id_statu121").innerHTML = "Traité"; document.getElementById("id_date121").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary121").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif121"); tr_a_modif.className = "danger"; document.getElementById("id_reponse121").innerHTML = "En attente"; document.getElementById("id_statu121").innerHTML = "En attente"; document.getElementById("id_date121").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary122").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary122").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif122"); tr_a_modif.className = "success"; document.getElementById("id_reponse122").innerHTML = "Validation admin"; document.getElementById("id_statu122").innerHTML = "Traité"; document.getElementById("id_date122").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary122").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif122"); tr_a_modif.className = "danger"; document.getElementById("id_reponse122").innerHTML = "En attente"; document.getElementById("id_statu122").innerHTML = "En attente"; document.getElementById("id_date122").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary123").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary123").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif123"); tr_a_modif.className = "success"; document.getElementById("id_reponse123").innerHTML = "Validation admin"; document.getElementById("id_statu123").innerHTML = "Traité"; document.getElementById("id_date123").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary123").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif123"); tr_a_modif.className = "danger"; document.getElementById("id_reponse123").innerHTML = "En attente"; document.getElementById("id_statu123").innerHTML = "En attente"; document.getElementById("id_date123").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary124").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary124").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif124"); tr_a_modif.className = "success"; document.getElementById("id_reponse124").innerHTML = "Validation admin"; document.getElementById("id_statu124").innerHTML = "Traité"; document.getElementById("id_date124").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary124").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif124"); tr_a_modif.className = "danger"; document.getElementById("id_reponse124").innerHTML = "En attente"; document.getElementById("id_statu124").innerHTML = "En attente"; document.getElementById("id_date124").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary125").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary125").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif125"); tr_a_modif.className = "success"; document.getElementById("id_reponse125").innerHTML = "Validation admin"; document.getElementById("id_statu125").innerHTML = "Traité"; document.getElementById("id_date125").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary125").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif125"); tr_a_modif.className = "danger"; document.getElementById("id_reponse125").innerHTML = "En attente"; document.getElementById("id_statu125").innerHTML = "En attente"; document.getElementById("id_date125").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary126").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary126").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif126"); tr_a_modif.className = "success"; document.getElementById("id_reponse126").innerHTML = "Validation admin"; document.getElementById("id_statu126").innerHTML = "Traité"; document.getElementById("id_date126").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary126").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif126"); tr_a_modif.className = "danger"; document.getElementById("id_reponse126").innerHTML = "En attente"; document.getElementById("id_statu126").innerHTML = "En attente"; document.getElementById("id_date126").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary127").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary127").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif127"); tr_a_modif.className = "success"; document.getElementById("id_reponse127").innerHTML = "Validation admin"; document.getElementById("id_statu127").innerHTML = "Traité"; document.getElementById("id_date127").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary127").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif127"); tr_a_modif.className = "danger"; document.getElementById("id_reponse127").innerHTML = "En attente"; document.getElementById("id_statu127").innerHTML = "En attente"; document.getElementById("id_date127").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary128").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary128").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif128"); tr_a_modif.className = "success"; document.getElementById("id_reponse128").innerHTML = "Validation admin"; document.getElementById("id_statu128").innerHTML = "Traité"; document.getElementById("id_date128").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary128").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif128"); tr_a_modif.className = "danger"; document.getElementById("id_reponse128").innerHTML = "En attente"; document.getElementById("id_statu128").innerHTML = "En attente"; document.getElementById("id_date128").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary129").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary129").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif129"); tr_a_modif.className = "success"; document.getElementById("id_reponse129").innerHTML = "Validation admin"; document.getElementById("id_statu129").innerHTML = "Traité"; document.getElementById("id_date129").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary129").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif129"); tr_a_modif.className = "danger"; document.getElementById("id_reponse129").innerHTML = "En attente"; document.getElementById("id_statu129").innerHTML = "En attente"; document.getElementById("id_date129").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary130").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary130").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif130"); tr_a_modif.className = "success"; document.getElementById("id_reponse130").innerHTML = "Validation admin"; document.getElementById("id_statu130").innerHTML = "Traité"; document.getElementById("id_date130").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary130").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif130"); tr_a_modif.className = "danger"; document.getElementById("id_reponse130").innerHTML = "En attente"; document.getElementById("id_statu130").innerHTML = "En attente"; document.getElementById("id_date130").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary131").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary131").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif131"); tr_a_modif.className = "success"; document.getElementById("id_reponse131").innerHTML = "Validation admin"; document.getElementById("id_statu131").innerHTML = "Traité"; document.getElementById("id_date131").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary131").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif131"); tr_a_modif.className = "danger"; document.getElementById("id_reponse131").innerHTML = "En attente"; document.getElementById("id_statu131").innerHTML = "En attente"; document.getElementById("id_date131").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary132").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary132").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif132"); tr_a_modif.className = "success"; document.getElementById("id_reponse132").innerHTML = "Validation admin"; document.getElementById("id_statu132").innerHTML = "Traité"; document.getElementById("id_date132").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary132").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif132"); tr_a_modif.className = "danger"; document.getElementById("id_reponse132").innerHTML = "En attente"; document.getElementById("id_statu132").innerHTML = "En attente"; document.getElementById("id_date132").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary133").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary133").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif133"); tr_a_modif.className = "success"; document.getElementById("id_reponse133").innerHTML = "Validation admin"; document.getElementById("id_statu133").innerHTML = "Traité"; document.getElementById("id_date133").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary133").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif133"); tr_a_modif.className = "danger"; document.getElementById("id_reponse133").innerHTML = "En attente"; document.getElementById("id_statu133").innerHTML = "En attente"; document.getElementById("id_date133").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary134").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary134").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif134"); tr_a_modif.className = "success"; document.getElementById("id_reponse134").innerHTML = "Validation admin"; document.getElementById("id_statu134").innerHTML = "Traité"; document.getElementById("id_date134").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary134").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif134"); tr_a_modif.className = "danger"; document.getElementById("id_reponse134").innerHTML = "En attente"; document.getElementById("id_statu134").innerHTML = "En attente"; document.getElementById("id_date134").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary135").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary135").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif135"); tr_a_modif.className = "success"; document.getElementById("id_reponse135").innerHTML = "Validation admin"; document.getElementById("id_statu135").innerHTML = "Traité"; document.getElementById("id_date135").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary135").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif135"); tr_a_modif.className = "danger"; document.getElementById("id_reponse135").innerHTML = "En attente"; document.getElementById("id_statu135").innerHTML = "En attente"; document.getElementById("id_date135").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary136").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary136").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif136"); tr_a_modif.className = "success"; document.getElementById("id_reponse136").innerHTML = "Validation admin"; document.getElementById("id_statu136").innerHTML = "Traité"; document.getElementById("id_date136").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary136").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif136"); tr_a_modif.className = "danger"; document.getElementById("id_reponse136").innerHTML = "En attente"; document.getElementById("id_statu136").innerHTML = "En attente"; document.getElementById("id_date136").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary137").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary137").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif137"); tr_a_modif.className = "success"; document.getElementById("id_reponse137").innerHTML = "Validation admin"; document.getElementById("id_statu137").innerHTML = "Traité"; document.getElementById("id_date137").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary137").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif137"); tr_a_modif.className = "danger"; document.getElementById("id_reponse137").innerHTML = "En attente"; document.getElementById("id_statu137").innerHTML = "En attente"; document.getElementById("id_date137").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary138").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary138").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif138"); tr_a_modif.className = "success"; document.getElementById("id_reponse138").innerHTML = "Validation admin"; document.getElementById("id_statu138").innerHTML = "Traité"; document.getElementById("id_date138").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary138").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif138"); tr_a_modif.className = "danger"; document.getElementById("id_reponse138").innerHTML = "En attente"; document.getElementById("id_statu138").innerHTML = "En attente"; document.getElementById("id_date138").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary139").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary139").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif139"); tr_a_modif.className = "success"; document.getElementById("id_reponse139").innerHTML = "Validation admin"; document.getElementById("id_statu139").innerHTML = "Traité"; document.getElementById("id_date139").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary139").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif139"); tr_a_modif.className = "danger"; document.getElementById("id_reponse139").innerHTML = "En attente"; document.getElementById("id_statu139").innerHTML = "En attente"; document.getElementById("id_date139").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary140").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary140").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif140"); tr_a_modif.className = "success"; document.getElementById("id_reponse140").innerHTML = "Validation admin"; document.getElementById("id_statu140").innerHTML = "Traité"; document.getElementById("id_date140").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary140").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif140"); tr_a_modif.className = "danger"; document.getElementById("id_reponse140").innerHTML = "En attente"; document.getElementById("id_statu140").innerHTML = "En attente"; document.getElementById("id_date140").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary141").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary141").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif141"); tr_a_modif.className = "success"; document.getElementById("id_reponse141").innerHTML = "Validation admin"; document.getElementById("id_statu141").innerHTML = "Traité"; document.getElementById("id_date141").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary141").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif141"); tr_a_modif.className = "danger"; document.getElementById("id_reponse141").innerHTML = "En attente"; document.getElementById("id_statu141").innerHTML = "En attente"; document.getElementById("id_date141").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary142").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary142").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif142"); tr_a_modif.className = "success"; document.getElementById("id_reponse142").innerHTML = "Validation admin"; document.getElementById("id_statu142").innerHTML = "Traité"; document.getElementById("id_date142").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary142").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif142"); tr_a_modif.className = "danger"; document.getElementById("id_reponse142").innerHTML = "En attente"; document.getElementById("id_statu142").innerHTML = "En attente"; document.getElementById("id_date142").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary143").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary143").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif143"); tr_a_modif.className = "success"; document.getElementById("id_reponse143").innerHTML = "Validation admin"; document.getElementById("id_statu143").innerHTML = "Traité"; document.getElementById("id_date143").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary143").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif143"); tr_a_modif.className = "danger"; document.getElementById("id_reponse143").innerHTML = "En attente"; document.getElementById("id_statu143").innerHTML = "En attente"; document.getElementById("id_date143").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary144").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary144").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif144"); tr_a_modif.className = "success"; document.getElementById("id_reponse144").innerHTML = "Validation admin"; document.getElementById("id_statu144").innerHTML = "Traité"; document.getElementById("id_date144").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary144").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif144"); tr_a_modif.className = "danger"; document.getElementById("id_reponse144").innerHTML = "En attente"; document.getElementById("id_statu144").innerHTML = "En attente"; document.getElementById("id_date144").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary145").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary145").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif145"); tr_a_modif.className = "success"; document.getElementById("id_reponse145").innerHTML = "Validation admin"; document.getElementById("id_statu145").innerHTML = "Traité"; document.getElementById("id_date145").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary145").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif145"); tr_a_modif.className = "danger"; document.getElementById("id_reponse145").innerHTML = "En attente"; document.getElementById("id_statu145").innerHTML = "En attente"; document.getElementById("id_date145").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary146").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary146").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif146"); tr_a_modif.className = "success"; document.getElementById("id_reponse146").innerHTML = "Validation admin"; document.getElementById("id_statu146").innerHTML = "Traité"; document.getElementById("id_date146").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary146").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif146"); tr_a_modif.className = "danger"; document.getElementById("id_reponse146").innerHTML = "En attente"; document.getElementById("id_statu146").innerHTML = "En attente"; document.getElementById("id_date146").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary147").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary147").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif147"); tr_a_modif.className = "success"; document.getElementById("id_reponse147").innerHTML = "Validation admin"; document.getElementById("id_statu147").innerHTML = "Traité"; document.getElementById("id_date147").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary147").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif147"); tr_a_modif.className = "danger"; document.getElementById("id_reponse147").innerHTML = "En attente"; document.getElementById("id_statu147").innerHTML = "En attente"; document.getElementById("id_date147").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary148").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary148").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif148"); tr_a_modif.className = "success"; document.getElementById("id_reponse148").innerHTML = "Validation admin"; document.getElementById("id_statu148").innerHTML = "Traité"; document.getElementById("id_date148").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary148").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif148"); tr_a_modif.className = "danger"; document.getElementById("id_reponse148").innerHTML = "En attente"; document.getElementById("id_statu148").innerHTML = "En attente"; document.getElementById("id_date148").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary149").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary149").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif149"); tr_a_modif.className = "success"; document.getElementById("id_reponse149").innerHTML = "Validation admin"; document.getElementById("id_statu149").innerHTML = "Traité"; document.getElementById("id_date149").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary149").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif149"); tr_a_modif.className = "danger"; document.getElementById("id_reponse149").innerHTML = "En attente"; document.getElementById("id_statu149").innerHTML = "En attente"; document.getElementById("id_date149").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary150").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary150").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif150"); tr_a_modif.className = "success"; document.getElementById("id_reponse150").innerHTML = "Validation admin"; document.getElementById("id_statu150").innerHTML = "Traité"; document.getElementById("id_date150").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary150").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif150"); tr_a_modif.className = "danger"; document.getElementById("id_reponse150").innerHTML = "En attente"; document.getElementById("id_statu150").innerHTML = "En attente"; document.getElementById("id_date150").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary151").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary151").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif151"); tr_a_modif.className = "success"; document.getElementById("id_reponse151").innerHTML = "Validation admin"; document.getElementById("id_statu151").innerHTML = "Traité"; document.getElementById("id_date151").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary151").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif151"); tr_a_modif.className = "danger"; document.getElementById("id_reponse151").innerHTML = "En attente"; document.getElementById("id_statu151").innerHTML = "En attente"; document.getElementById("id_date151").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary152").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary152").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif152"); tr_a_modif.className = "success"; document.getElementById("id_reponse152").innerHTML = "Validation admin"; document.getElementById("id_statu152").innerHTML = "Traité"; document.getElementById("id_date152").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary152").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif152"); tr_a_modif.className = "danger"; document.getElementById("id_reponse152").innerHTML = "En attente"; document.getElementById("id_statu152").innerHTML = "En attente"; document.getElementById("id_date152").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary153").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary153").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif153"); tr_a_modif.className = "success"; document.getElementById("id_reponse153").innerHTML = "Validation admin"; document.getElementById("id_statu153").innerHTML = "Traité"; document.getElementById("id_date153").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary153").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif153"); tr_a_modif.className = "danger"; document.getElementById("id_reponse153").innerHTML = "En attente"; document.getElementById("id_statu153").innerHTML = "En attente"; document.getElementById("id_date153").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary154").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary154").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif154"); tr_a_modif.className = "success"; document.getElementById("id_reponse154").innerHTML = "Validation admin"; document.getElementById("id_statu154").innerHTML = "Traité"; document.getElementById("id_date154").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary154").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif154"); tr_a_modif.className = "danger"; document.getElementById("id_reponse154").innerHTML = "En attente"; document.getElementById("id_statu154").innerHTML = "En attente"; document.getElementById("id_date154").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary155").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary155").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif155"); tr_a_modif.className = "success"; document.getElementById("id_reponse155").innerHTML = "Validation admin"; document.getElementById("id_statu155").innerHTML = "Traité"; document.getElementById("id_date155").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary155").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif155"); tr_a_modif.className = "danger"; document.getElementById("id_reponse155").innerHTML = "En attente"; document.getElementById("id_statu155").innerHTML = "En attente"; document.getElementById("id_date155").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary156").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary156").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif156"); tr_a_modif.className = "success"; document.getElementById("id_reponse156").innerHTML = "Validation admin"; document.getElementById("id_statu156").innerHTML = "Traité"; document.getElementById("id_date156").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary156").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif156"); tr_a_modif.className = "danger"; document.getElementById("id_reponse156").innerHTML = "En attente"; document.getElementById("id_statu156").innerHTML = "En attente"; document.getElementById("id_date156").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary157").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary157").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif157"); tr_a_modif.className = "success"; document.getElementById("id_reponse157").innerHTML = "Validation admin"; document.getElementById("id_statu157").innerHTML = "Traité"; document.getElementById("id_date157").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary157").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif157"); tr_a_modif.className = "danger"; document.getElementById("id_reponse157").innerHTML = "En attente"; document.getElementById("id_statu157").innerHTML = "En attente"; document.getElementById("id_date157").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary158").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary158").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif158"); tr_a_modif.className = "success"; document.getElementById("id_reponse158").innerHTML = "Validation admin"; document.getElementById("id_statu158").innerHTML = "Traité"; document.getElementById("id_date158").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary158").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif158"); tr_a_modif.className = "danger"; document.getElementById("id_reponse158").innerHTML = "En attente"; document.getElementById("id_statu158").innerHTML = "En attente"; document.getElementById("id_date158").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary159").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary159").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif159"); tr_a_modif.className = "success"; document.getElementById("id_reponse159").innerHTML = "Validation admin"; document.getElementById("id_statu159").innerHTML = "Traité"; document.getElementById("id_date159").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary159").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif159"); tr_a_modif.className = "danger"; document.getElementById("id_reponse159").innerHTML = "En attente"; document.getElementById("id_statu159").innerHTML = "En attente"; document.getElementById("id_date159").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary160").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary160").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif160"); tr_a_modif.className = "success"; document.getElementById("id_reponse160").innerHTML = "Validation admin"; document.getElementById("id_statu160").innerHTML = "Traité"; document.getElementById("id_date160").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary160").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif160"); tr_a_modif.className = "danger"; document.getElementById("id_reponse160").innerHTML = "En attente"; document.getElementById("id_statu160").innerHTML = "En attente"; document.getElementById("id_date160").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary161").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary161").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif161"); tr_a_modif.className = "success"; document.getElementById("id_reponse161").innerHTML = "Validation admin"; document.getElementById("id_statu161").innerHTML = "Traité"; document.getElementById("id_date161").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary161").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif161"); tr_a_modif.className = "danger"; document.getElementById("id_reponse161").innerHTML = "En attente"; document.getElementById("id_statu161").innerHTML = "En attente"; document.getElementById("id_date161").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary162").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary162").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif162"); tr_a_modif.className = "success"; document.getElementById("id_reponse162").innerHTML = "Validation admin"; document.getElementById("id_statu162").innerHTML = "Traité"; document.getElementById("id_date162").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary162").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif162"); tr_a_modif.className = "danger"; document.getElementById("id_reponse162").innerHTML = "En attente"; document.getElementById("id_statu162").innerHTML = "En attente"; document.getElementById("id_date162").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary163").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary163").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif163"); tr_a_modif.className = "success"; document.getElementById("id_reponse163").innerHTML = "Validation admin"; document.getElementById("id_statu163").innerHTML = "Traité"; document.getElementById("id_date163").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary163").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif163"); tr_a_modif.className = "danger"; document.getElementById("id_reponse163").innerHTML = "En attente"; document.getElementById("id_statu163").innerHTML = "En attente"; document.getElementById("id_date163").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary164").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary164").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif164"); tr_a_modif.className = "success"; document.getElementById("id_reponse164").innerHTML = "Validation admin"; document.getElementById("id_statu164").innerHTML = "Traité"; document.getElementById("id_date164").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary164").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif164"); tr_a_modif.className = "danger"; document.getElementById("id_reponse164").innerHTML = "En attente"; document.getElementById("id_statu164").innerHTML = "En attente"; document.getElementById("id_date164").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary165").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary165").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif165"); tr_a_modif.className = "success"; document.getElementById("id_reponse165").innerHTML = "Validation admin"; document.getElementById("id_statu165").innerHTML = "Traité"; document.getElementById("id_date165").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary165").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif165"); tr_a_modif.className = "danger"; document.getElementById("id_reponse165").innerHTML = "En attente"; document.getElementById("id_statu165").innerHTML = "En attente"; document.getElementById("id_date165").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary166").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary166").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif166"); tr_a_modif.className = "success"; document.getElementById("id_reponse166").innerHTML = "Validation admin"; document.getElementById("id_statu166").innerHTML = "Traité"; document.getElementById("id_date166").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary166").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif166"); tr_a_modif.className = "danger"; document.getElementById("id_reponse166").innerHTML = "En attente"; document.getElementById("id_statu166").innerHTML = "En attente"; document.getElementById("id_date166").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary167").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary167").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif167"); tr_a_modif.className = "success"; document.getElementById("id_reponse167").innerHTML = "Validation admin"; document.getElementById("id_statu167").innerHTML = "Traité"; document.getElementById("id_date167").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary167").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif167"); tr_a_modif.className = "danger"; document.getElementById("id_reponse167").innerHTML = "En attente"; document.getElementById("id_statu167").innerHTML = "En attente"; document.getElementById("id_date167").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary168").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary168").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif168"); tr_a_modif.className = "success"; document.getElementById("id_reponse168").innerHTML = "Validation admin"; document.getElementById("id_statu168").innerHTML = "Traité"; document.getElementById("id_date168").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary168").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif168"); tr_a_modif.className = "danger"; document.getElementById("id_reponse168").innerHTML = "En attente"; document.getElementById("id_statu168").innerHTML = "En attente"; document.getElementById("id_date168").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary169").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary169").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif169"); tr_a_modif.className = "success"; document.getElementById("id_reponse169").innerHTML = "Validation admin"; document.getElementById("id_statu169").innerHTML = "Traité"; document.getElementById("id_date169").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary169").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif169"); tr_a_modif.className = "danger"; document.getElementById("id_reponse169").innerHTML = "En attente"; document.getElementById("id_statu169").innerHTML = "En attente"; document.getElementById("id_date169").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary170").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary170").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif170"); tr_a_modif.className = "success"; document.getElementById("id_reponse170").innerHTML = "Validation admin"; document.getElementById("id_statu170").innerHTML = "Traité"; document.getElementById("id_date170").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary170").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif170"); tr_a_modif.className = "danger"; document.getElementById("id_reponse170").innerHTML = "En attente"; document.getElementById("id_statu170").innerHTML = "En attente"; document.getElementById("id_date170").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary171").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary171").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif171"); tr_a_modif.className = "success"; document.getElementById("id_reponse171").innerHTML = "Validation admin"; document.getElementById("id_statu171").innerHTML = "Traité"; document.getElementById("id_date171").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary171").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif171"); tr_a_modif.className = "danger"; document.getElementById("id_reponse171").innerHTML = "En attente"; document.getElementById("id_statu171").innerHTML = "En attente"; document.getElementById("id_date171").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary172").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary172").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif172"); tr_a_modif.className = "success"; document.getElementById("id_reponse172").innerHTML = "Validation admin"; document.getElementById("id_statu172").innerHTML = "Traité"; document.getElementById("id_date172").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary172").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif172"); tr_a_modif.className = "danger"; document.getElementById("id_reponse172").innerHTML = "En attente"; document.getElementById("id_statu172").innerHTML = "En attente"; document.getElementById("id_date172").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary173").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary173").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif173"); tr_a_modif.className = "success"; document.getElementById("id_reponse173").innerHTML = "Validation admin"; document.getElementById("id_statu173").innerHTML = "Traité"; document.getElementById("id_date173").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary173").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif173"); tr_a_modif.className = "danger"; document.getElementById("id_reponse173").innerHTML = "En attente"; document.getElementById("id_statu173").innerHTML = "En attente"; document.getElementById("id_date173").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary174").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary174").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif174"); tr_a_modif.className = "success"; document.getElementById("id_reponse174").innerHTML = "Validation admin"; document.getElementById("id_statu174").innerHTML = "Traité"; document.getElementById("id_date174").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary174").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif174"); tr_a_modif.className = "danger"; document.getElementById("id_reponse174").innerHTML = "En attente"; document.getElementById("id_statu174").innerHTML = "En attente"; document.getElementById("id_date174").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary175").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary175").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif175"); tr_a_modif.className = "success"; document.getElementById("id_reponse175").innerHTML = "Validation admin"; document.getElementById("id_statu175").innerHTML = "Traité"; document.getElementById("id_date175").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary175").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif175"); tr_a_modif.className = "danger"; document.getElementById("id_reponse175").innerHTML = "En attente"; document.getElementById("id_statu175").innerHTML = "En attente"; document.getElementById("id_date175").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary176").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary176").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif176"); tr_a_modif.className = "success"; document.getElementById("id_reponse176").innerHTML = "Validation admin"; document.getElementById("id_statu176").innerHTML = "Traité"; document.getElementById("id_date176").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary176").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif176"); tr_a_modif.className = "danger"; document.getElementById("id_reponse176").innerHTML = "En attente"; document.getElementById("id_statu176").innerHTML = "En attente"; document.getElementById("id_date176").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary177").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary177").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif177"); tr_a_modif.className = "success"; document.getElementById("id_reponse177").innerHTML = "Validation admin"; document.getElementById("id_statu177").innerHTML = "Traité"; document.getElementById("id_date177").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary177").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif177"); tr_a_modif.className = "danger"; document.getElementById("id_reponse177").innerHTML = "En attente"; document.getElementById("id_statu177").innerHTML = "En attente"; document.getElementById("id_date177").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary178").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary178").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif178"); tr_a_modif.className = "success"; document.getElementById("id_reponse178").innerHTML = "Validation admin"; document.getElementById("id_statu178").innerHTML = "Traité"; document.getElementById("id_date178").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary178").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif178"); tr_a_modif.className = "danger"; document.getElementById("id_reponse178").innerHTML = "En attente"; document.getElementById("id_statu178").innerHTML = "En attente"; document.getElementById("id_date178").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary179").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary179").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif179"); tr_a_modif.className = "success"; document.getElementById("id_reponse179").innerHTML = "Validation admin"; document.getElementById("id_statu179").innerHTML = "Traité"; document.getElementById("id_date179").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary179").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif179"); tr_a_modif.className = "danger"; document.getElementById("id_reponse179").innerHTML = "En attente"; document.getElementById("id_statu179").innerHTML = "En attente"; document.getElementById("id_date179").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary180").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary180").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif180"); tr_a_modif.className = "success"; document.getElementById("id_reponse180").innerHTML = "Validation admin"; document.getElementById("id_statu180").innerHTML = "Traité"; document.getElementById("id_date180").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary180").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif180"); tr_a_modif.className = "danger"; document.getElementById("id_reponse180").innerHTML = "En attente"; document.getElementById("id_statu180").innerHTML = "En attente"; document.getElementById("id_date180").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary181").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary181").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif181"); tr_a_modif.className = "success"; document.getElementById("id_reponse181").innerHTML = "Validation admin"; document.getElementById("id_statu181").innerHTML = "Traité"; document.getElementById("id_date181").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary181").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif181"); tr_a_modif.className = "danger"; document.getElementById("id_reponse181").innerHTML = "En attente"; document.getElementById("id_statu181").innerHTML = "En attente"; document.getElementById("id_date181").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary182").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary182").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif182"); tr_a_modif.className = "success"; document.getElementById("id_reponse182").innerHTML = "Validation admin"; document.getElementById("id_statu182").innerHTML = "Traité"; document.getElementById("id_date182").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary182").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif182"); tr_a_modif.className = "danger"; document.getElementById("id_reponse182").innerHTML = "En attente"; document.getElementById("id_statu182").innerHTML = "En attente"; document.getElementById("id_date182").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary183").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary183").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif183"); tr_a_modif.className = "success"; document.getElementById("id_reponse183").innerHTML = "Validation admin"; document.getElementById("id_statu183").innerHTML = "Traité"; document.getElementById("id_date183").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary183").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif183"); tr_a_modif.className = "danger"; document.getElementById("id_reponse183").innerHTML = "En attente"; document.getElementById("id_statu183").innerHTML = "En attente"; document.getElementById("id_date183").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary184").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary184").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif184"); tr_a_modif.className = "success"; document.getElementById("id_reponse184").innerHTML = "Validation admin"; document.getElementById("id_statu184").innerHTML = "Traité"; document.getElementById("id_date184").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary184").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif184"); tr_a_modif.className = "danger"; document.getElementById("id_reponse184").innerHTML = "En attente"; document.getElementById("id_statu184").innerHTML = "En attente"; document.getElementById("id_date184").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary185").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary185").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif185"); tr_a_modif.className = "success"; document.getElementById("id_reponse185").innerHTML = "Validation admin"; document.getElementById("id_statu185").innerHTML = "Traité"; document.getElementById("id_date185").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary185").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif185"); tr_a_modif.className = "danger"; document.getElementById("id_reponse185").innerHTML = "En attente"; document.getElementById("id_statu185").innerHTML = "En attente"; document.getElementById("id_date185").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary186").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary186").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif186"); tr_a_modif.className = "success"; document.getElementById("id_reponse186").innerHTML = "Validation admin"; document.getElementById("id_statu186").innerHTML = "Traité"; document.getElementById("id_date186").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary186").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif186"); tr_a_modif.className = "danger"; document.getElementById("id_reponse186").innerHTML = "En attente"; document.getElementById("id_statu186").innerHTML = "En attente"; document.getElementById("id_date186").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary187").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary187").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif187"); tr_a_modif.className = "success"; document.getElementById("id_reponse187").innerHTML = "Validation admin"; document.getElementById("id_statu187").innerHTML = "Traité"; document.getElementById("id_date187").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary187").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif187"); tr_a_modif.className = "danger"; document.getElementById("id_reponse187").innerHTML = "En attente"; document.getElementById("id_statu187").innerHTML = "En attente"; document.getElementById("id_date187").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary188").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary188").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif188"); tr_a_modif.className = "success"; document.getElementById("id_reponse188").innerHTML = "Validation admin"; document.getElementById("id_statu188").innerHTML = "Traité"; document.getElementById("id_date188").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary188").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif188"); tr_a_modif.className = "danger"; document.getElementById("id_reponse188").innerHTML = "En attente"; document.getElementById("id_statu188").innerHTML = "En attente"; document.getElementById("id_date188").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary189").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary189").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif189"); tr_a_modif.className = "success"; document.getElementById("id_reponse189").innerHTML = "Validation admin"; document.getElementById("id_statu189").innerHTML = "Traité"; document.getElementById("id_date189").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary189").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif189"); tr_a_modif.className = "danger"; document.getElementById("id_reponse189").innerHTML = "En attente"; document.getElementById("id_statu189").innerHTML = "En attente"; document.getElementById("id_date189").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary190").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary190").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif190"); tr_a_modif.className = "success"; document.getElementById("id_reponse190").innerHTML = "Validation admin"; document.getElementById("id_statu190").innerHTML = "Traité"; document.getElementById("id_date190").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary190").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif190"); tr_a_modif.className = "danger"; document.getElementById("id_reponse190").innerHTML = "En attente"; document.getElementById("id_statu190").innerHTML = "En attente"; document.getElementById("id_date190").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary191").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary191").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif191"); tr_a_modif.className = "success"; document.getElementById("id_reponse191").innerHTML = "Validation admin"; document.getElementById("id_statu191").innerHTML = "Traité"; document.getElementById("id_date191").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary191").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif191"); tr_a_modif.className = "danger"; document.getElementById("id_reponse191").innerHTML = "En attente"; document.getElementById("id_statu191").innerHTML = "En attente"; document.getElementById("id_date191").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary192").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary192").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif192"); tr_a_modif.className = "success"; document.getElementById("id_reponse192").innerHTML = "Validation admin"; document.getElementById("id_statu192").innerHTML = "Traité"; document.getElementById("id_date192").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary192").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif192"); tr_a_modif.className = "danger"; document.getElementById("id_reponse192").innerHTML = "En attente"; document.getElementById("id_statu192").innerHTML = "En attente"; document.getElementById("id_date192").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary193").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary193").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif193"); tr_a_modif.className = "success"; document.getElementById("id_reponse193").innerHTML = "Validation admin"; document.getElementById("id_statu193").innerHTML = "Traité"; document.getElementById("id_date193").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary193").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif193"); tr_a_modif.className = "danger"; document.getElementById("id_reponse193").innerHTML = "En attente"; document.getElementById("id_statu193").innerHTML = "En attente"; document.getElementById("id_date193").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary194").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary194").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif194"); tr_a_modif.className = "success"; document.getElementById("id_reponse194").innerHTML = "Validation admin"; document.getElementById("id_statu194").innerHTML = "Traité"; document.getElementById("id_date194").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary194").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif194"); tr_a_modif.className = "danger"; document.getElementById("id_reponse194").innerHTML = "En attente"; document.getElementById("id_statu194").innerHTML = "En attente"; document.getElementById("id_date194").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary195").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary195").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif195"); tr_a_modif.className = "success"; document.getElementById("id_reponse195").innerHTML = "Validation admin"; document.getElementById("id_statu195").innerHTML = "Traité"; document.getElementById("id_date195").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary195").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif195"); tr_a_modif.className = "danger"; document.getElementById("id_reponse195").innerHTML = "En attente"; document.getElementById("id_statu195").innerHTML = "En attente"; document.getElementById("id_date195").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary196").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary196").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif196"); tr_a_modif.className = "success"; document.getElementById("id_reponse196").innerHTML = "Validation admin"; document.getElementById("id_statu196").innerHTML = "Traité"; document.getElementById("id_date196").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary196").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif196"); tr_a_modif.className = "danger"; document.getElementById("id_reponse196").innerHTML = "En attente"; document.getElementById("id_statu196").innerHTML = "En attente"; document.getElementById("id_date196").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary197").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary197").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif197"); tr_a_modif.className = "success"; document.getElementById("id_reponse197").innerHTML = "Validation admin"; document.getElementById("id_statu197").innerHTML = "Traité"; document.getElementById("id_date197").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary197").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif197"); tr_a_modif.className = "danger"; document.getElementById("id_reponse197").innerHTML = "En attente"; document.getElementById("id_statu197").innerHTML = "En attente"; document.getElementById("id_date197").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary198").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary198").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif198"); tr_a_modif.className = "success"; document.getElementById("id_reponse198").innerHTML = "Validation admin"; document.getElementById("id_statu198").innerHTML = "Traité"; document.getElementById("id_date198").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary198").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif198"); tr_a_modif.className = "danger"; document.getElementById("id_reponse198").innerHTML = "En attente"; document.getElementById("id_statu198").innerHTML = "En attente"; document.getElementById("id_date198").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary199").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary199").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif199"); tr_a_modif.className = "success"; document.getElementById("id_reponse199").innerHTML = "Validation admin"; document.getElementById("id_statu199").innerHTML = "Traité"; document.getElementById("id_date199").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary199").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif199"); tr_a_modif.className = "danger"; document.getElementById("id_reponse199").innerHTML = "En attente"; document.getElementById("id_statu199").innerHTML = "En attente"; document.getElementById("id_date199").innerHTML = "En attente"; } });$("#someSwitchOptionPrimary200").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) { var idp = $("#someSwitchOptionPrimary200").val(); var check = "ON"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif200"); tr_a_modif.className = "success"; document.getElementById("id_reponse200").innerHTML = "Validation admin"; document.getElementById("id_statu200").innerHTML = "Traité"; document.getElementById("id_date200").innerHTML = "29-01-2026"; } else { var idp = $("#someSwitchOptionPrimary200").val(); var check = "OFF"; $.post("js/ajax/switch_valide.php",{check:check,id:idp}); var tr_a_modif = document.getElementById("tr_a_modif200"); tr_a_modif.className = "danger"; document.getElementById("id_reponse200").innerHTML = "En attente"; document.getElementById("id_statu200").innerHTML = "En attente"; document.getElementById("id_date200").innerHTML = "En attente"; } });