setDomain(1); $acces_j = $dom_1->getJoin($PMBuserid,8,'bulletin_notice'); $q = "select count(1) from bulletins $acces_j where bulletin_id=".$bul_id; $r = mysql_query($q, $dbh); if(mysql_result($r,0,0)==0) { $acces_m=0; } } if ($acces_m==0) { if(!$explnum_id) { error_message('', htmlentities($dom_1->getComment('mod_depo_error'), ENT_QUOTES, $charset), 1, ''); } else { error_message('', htmlentities($dom_1->getComment('mod_enum_error'), ENT_QUOTES, $charset), 1, ''); } } else { // on instancie le truc $myAnalysis = new analysis($analysis_id, $bul_id); $myBul = new bulletinage($bul_id); // lien vers la notice chapeau $link_parent = ""; $link_parent .= $msg[4010].""; $link_parent .= ""; $link_parent .= "bulletin_notice."\">".$myBul->tit1.''; $link_parent .= ""; $link_parent .= ""; if ($myBul->bulletin_numero) $link_parent .= $myBul->bulletin_numero." "; if ($myBul->mention_date) $link_parent .= " (".$myBul->mention_date.")"; $link_parent .= "[".$myBul->aff_date_date."]"; $link_parent .= " "; $link_parent .= "

".$myAnalysis->analysis_tit1."

"; print pmb_bidi("
".$link_parent."

"); // l'annulation du form renvoit à : $annuler = "./catalog.php?categ=serials&sub=bulletinage&action=view&bul_id=$bul_id"; $action = "./catalog.php?categ=serials&sub=analysis&action=explnum_update&bul_id=$bul_id"; if($explnum_id) $suppr = "./catalog.php?categ=serials&sub=bulletinage&action=explnum_delete&bul_id=$bul_id&explnum_id=$explnum_id"; $explnum = new explnum($explnum_id,$analysis_id); print $explnum->explnum_form($action,$annuler,$suppr); } ?>