".$msg["400"]."";
$notice = new mono_display($item,1);
print pmb_bidi(''.$notice->header.'
');
}
switch($action) {
case 'add_item':
// cas du click sur le lien du panier
if($idcaddie)$caddie[0]=$idcaddie;
// Pour tous les paniers cochés
foreach($caddie as $idcaddie) {
$myCart = new caddie($idcaddie);
if($include_child) {
$tab_list_child=notice::get_list_child($item);
if(count($tab_list_child))
foreach ($tab_list_child as $notice_id) {
$myCart->add_item($notice_id,"NOTI");
}
} else $myCart->add_item($item,"NOTI");
if($include_bulletin_notice) {
$tab_list_child=notice::get_list_bulletin_notice($item);
if(count($tab_list_child)) {
foreach ($tab_list_child as $notice_id) {
$myCart->add_item($notice_id,"NOTI");
}
}
}
if($include_analysis) {
$tab_list_child=notice::get_list_analysis($item);
if(count($tab_list_child)) {
foreach ($tab_list_child as $notice_id) {
$myCart->add_item($notice_id,"NOTI");
}
}
}
$myCart->compte_items();
}
print "";
break;
case 'new_cart':
break;
case 'del_cart':
case 'valid_new_cart':
default:
if(isset($current_print) && $current_print) {
$action="print_prepare";
require_once("./print_cart.php");
} else {
aff_paniers($item, "NOTI", "./cart.php?", "add_item", $msg["caddie_add_NOTI"], "", 0, 1, 1);
}
break;
}