${msg[938]}"; // affichage des notices print "
"; // javascript gestion de liste print $begin_result_liste; if (!isset($last_records)) $last_records=$pmb_nb_lastnotices; if (!isset($plus)) $plus = 0; if ($plus) $last_records = $last_records + $plus; //gestion des acces en lecture $acces_j=''; if ($gestion_acces_active==1 && $gestion_acces_user_notice==1) { require_once("$class_path/acces.class.php"); $ac= new acces(); $dom_1= $ac->setDomain(1); $acces_j = $dom_1->getJoin($PMBuserid,4,'notice_id'); } if (!$pmb_latest_order) $pmb_latest_order="create_date desc, notice_id desc"; $requete = "SELECT * FROM notices "; $requete.= $acces_j; $requete.= "ORDER BY $pmb_latest_order LIMIT $last_records"; $result = pmb_mysql_query($requete, $dbh); if (pmb_mysql_num_rows($result)) { $records = array(); while(($notice = pmb_mysql_fetch_object($result))) { $records[] = $notice->notice_id; } $elements_records_list_ui = new elements_records_list_ui($records, count($records), false); print $elements_records_list_ui->get_elements_list(); $plus = $plus + $pmb_nb_lastnotices; print "..."; } else { print $msg[939]; } print $end_result_list; print "
";