$acces_m = 0;
            }
        } else {
            $acces_m = 0;
        }
    }
}
if ($acces_m == 0) {
    if (!$bul_id) {
        error_message('', htmlentities($dom_1->getComment('mod_seri_error'), ENT_QUOTES, $charset), 1, '');
    } else {
        error_message('', htmlentities($dom_1->getComment('mod_bull_error'), ENT_QUOTES, $charset), 1, '');
    }
} else {
    // affichage d'un form pour création, modification d'un périodique
    // pas d'id, c'est une création
    if (!$bul_id) {
        echo str_replace('!!page_title!!', $msg[4000] . $msg[1003] . $msg[4005], $serial_header);
    } else {
        echo str_replace('!!page_title!!', $msg[4000] . $msg[1003] . $msg[4006], $serial_header);
    }
    // affichage de la notice chapeau
    // on instancie le bulletinage
    $myBulletinage = new bulletinage($bul_id, $serial_id);
    $perio = new serial_display($myBulletinage->serial_id, 1);
    $perio_header = $perio->header;
    // titre général du périodique
    print pmb_bidi("<div class='notice-perio'>\n\t\t<div class='row'>\n\t\t\t<h2>{$perio_header}</h2>\n\t\t\t</div>\n\t\t<div class='row'>\n\t\t\t{$perio->isbd}\n\t\t\t</div>\n\t\t</div>");
    // affichage du form
    print "<div class=\"row\">" . $myBulletinage->do_form() . '</div>';
}