".htmlentities($msg["gen_signature_notice"], ENT_QUOTES, $charset)."
";
$query = pmb_mysql_query("SELECT notice_id FROM notices LIMIT $start, $lot");
if(pmb_mysql_num_rows($query)) {
print netbase::get_display_progress($start, $count);
while ($row = pmb_mysql_fetch_row($query) ) {
$val= $sign->gen_signature($row[0]);
pmb_mysql_query("update notices set signature='$val', update_date=update_date where notice_id=".$row[0], $dbh);
}
pmb_mysql_free_result($query);
$next = $start + $lot;
print netbase::get_current_state_form($v_state, $spec, '', $next, $count);
} else {
$spec = $spec - GEN_SIGNATURE_NOTICE;
$v_state .= "
".htmlentities($msg["gen_signature_notice_status"], ENT_QUOTES, $charset);
$v_state .= $count." ".htmlentities($msg["gen_signature_notice_status_end"], ENT_QUOTES, $charset);
$opt = pmb_mysql_query('OPTIMIZE TABLE notices');
// mise à jour de l'affichage de la jauge
print netbase::get_display_final_progress();
print netbase::get_process_state_form($v_state, $spec);
}