setDomain(1); if (!$art_to_show) { $acces_j = $dom_1->getJoin($PMBuserid,4,'bulletin_notice'); //lecture $q = "select count(1) from bulletins $acces_j where bulletin_id=".$bul_id; $r = pmb_mysql_query($q, $dbh); if(pmb_mysql_result($r,0,0)==0) { $acces_l=0; } } else { $acces_l = $dom_1->getRights($PMBuserid,$art_to_show,4); } } if ($acces_l==0) { if(!$art_to_show) { error_message('', htmlentities($dom_1->getComment('view_bull_error'), ENT_QUOTES, $charset), 1, ''); } else { error_message('', htmlentities($dom_1->getComment('view_depo_error'), ENT_QUOTES, $charset), 1, ''); } } else { $form = show_bulletinage_info_catalogage($bul_id); if($art_to_show) { $form.= ""; } print $form; } ?>