".htmlentities($msg["docnum_reindexation"], ENT_QUOTES, $charset)."
";
$requete = "select explnum_id as id from explnum order by id LIMIT $start, $lot";
$res_explnum = pmb_mysql_query($requete,$dbh);
if(pmb_mysql_num_rows($res_explnum)) {
print netbase::get_display_progress($start, $count);
while(($explnum = pmb_mysql_fetch_object($res_explnum))){
$index = new indexation_docnum($explnum->id);
$index->indexer();
}
$next = $start + $lot;
print netbase::get_current_state_form($v_state, $spec, '', $next, $count);
} else {
$spec = $spec - INDEX_DOCNUM;
$not = pmb_mysql_query("SELECT count(1) FROM explnum", $dbh);
$compte = pmb_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 netbase::get_process_state_form($v_state, $spec);
}
?>