'; else echo '
'; echo '

'; dynamiqItemImage (0,0,'panierTitre', 'span', '-action-','cde',82, 'icones', '-textClass-','width:97%; text-align:center; margin:auto;margin-top:0;'); echo '

'; if (isset($_SESSION['nbArt'])) {$nbArt=$_SESSION['nbArt'];}; if ($nbArt!=0 && $nbArt!='') { // nb articles dynamiqItemMessage(0, 0, '-', '-', 'div', 'itemPanier', '-action-', 'cde', 21, ' : ' .$nbArt ); // on est en kilos uniquement sur le total cde (voir panier.calculCde.php) $reqSelect="SELECT libelle FROM `unitespoids` WHERE idPoids=2 and idLg='" .$lg. "';"; if (isset($debug[2]) && $debug[2] == '1' ) { $debugMsg .= monDebug (2, ['Requête Select Poids' => $reqSelect], 'panierAffCde.php'); } $resConn=''; $resConn=$idPdo->query($reqSelect); if ($resConn) { $tabResult=$resConn->fetch(PDO::FETCH_ASSOC); if ($tabResult!='') {$unitePoidsLib=$tabResult['libelle'];} else {$unitePoidsLib='Kg';} } // --------------------------------------------------- // Poids en kilos // --------------------------------------------------- if ($poidsCde!='' && !empty(($poidsCde) ) ) {dynamiqItemMessage(0, 0, '-', '-', 'div', 'itemPanier', '-action-', 'cde', 23, ' ' .$poidsCde. ' ' .$unitePoidsLib ); } // --------------------------------------------------- // Total reduction // --------------------------------------------------- if ($reductionCde!='' && $reductionCde!=0) {dynamiqItemMessage(0, 0, '-', '-', 'div', 'itemPanier', '-action-', 'cde', 32, ' : ' .$reductionCde. ' €' ); } // --------------------------------------------------- // Total Cde // --------------------------------------------------- if ($totalTtcCde!='') {dynamiqItemMessage(0, 0, '-', '-', 'div', 'itemPanier', '-action-', 'cde', 33, ' : ' .$totalTtcCde. ' €' ); } // --------------------------------------------------- // Frais de port // --------------------------------------------------- if ($etape>=4) {dynamiqItemMessage(0, 0, '-', '-', 'div', 'itemPanier', '-action-', 'cde', 19, ' : ' .$fpCdeTTC. ' €' ); } // --------------------------------------------------- // Total général // --------------------------------------------------- if ($etape>=4) { $totalCde=$_SESSION['totalCde']; if ($totalCde!='' && $totalCde!=0 ) {dynamiqItemMessage(0, 0, '-', '-', 'div', 'itemPanier', '-action-', 'cde', 31, '  ' .$totalCde. ' €'); } } } else { // msg ==>Votre panier est vide dynamiqItemImage (0, 0, 'titresPanier', 'span', '-', 'cde', 62, '-', '-textClass-', '-'); } echo '
'; ?>