".htmlentities($msg["docnum_reindexation"], ENT_QUOTES, $charset)."

"; $requete = "select explnum_id as id from explnum order by id LIMIT $start, $lot"; $res_explnum = mysql_query($requete,$dbh); if(mysql_num_rows($res_explnum)) { // définition de l'état de la jauge $state = floor($start / ($count / $jauge_size)); $state .= "px"; // mise à jour de l'affichage de la jauge print "
"; print "
"; // calcul pourcentage avancement $percent = floor(($start/$count)*100); // affichage du % d'avancement et de l'état print "
$percent%
"; while(($explnum = mysql_fetch_object($res_explnum))){ $index = new indexation_docnum($explnum->id); $index->indexer(); } $next = $start + $lot; print "
"; } else { $spec = $spec - INDEX_DOCNUM; $not = mysql_query("SELECT count(1) FROM explnum", $dbh); $compte = mysql_result($not, 0, 0); $v_state .= "
".htmlentities($msg['docnum_reindexation'], ENT_QUOTES, $charset)." : "; $v_state .= $compte." ".htmlentities($msg['docnum_reindex_expl'], ENT_QUOTES, $charset); print "
"; } ?>