if($_SESSION['SESAMATH_ID']==ID_DEMO) {exit('Action désactivée pour la démo...');} $top_depart = microtime(TRUE); $action = (isset($_POST['f_action'])) ? Clean::texte($_POST['f_action']) : ''; // //////////////////////////////////////////////////////////////////////////////////////////////////// // Recherche et correction de numérotations anormales // //////////////////////////////////////////////////////////////////////////////////////////////////// if($action=='numeroter') { // Bloquer l'application LockAcces::bloquer_application('automate',$_SESSION['BASE'],'Recherche et correction de numérotations anormales en cours.'); // Rechercher et corriger les anomalies $tab_bilan = DB_STRUCTURE_ADMINISTRATEUR::DB_corriger_numerotations(); // Débloquer l'application LockAcces::debloquer_application('automate',$_SESSION['BASE']); // Afficher le retour echo'<li>'.implode('</li>'.NL.'<li>',$tab_bilan).'</li>'.NL; $top_arrivee = microtime(TRUE); $duree = number_format($top_arrivee - $top_depart,2,',',''); echo'<li><label class="valide">Recherche et correction de numérotations anormales réalisée en '.$duree.'s.</label></li>'.NL; exit(); } // //////////////////////////////////////////////////////////////////////////////////////////////////// // Recherche et suppression de correspondances anormales // //////////////////////////////////////////////////////////////////////////////////////////////////// if($action=='nettoyer')