';
if ($trouvePanier==true) {
// ---------------------------------------------------
// Affichage des entetes de ligne
// ---------------------------------------------------
if ( $affMContext === true ) echo '
';
else echo '
';
echo '
';
// ---------------------------------------------------
// Image
// ---------------------------------------------------
dynamiqItemMessage(0, 1, 'libPanierCell notInResponsive', 'grid-column: 1 / span 2; grid-row:1; text-align:center; align-items:center; ', 'div', 'libPanier', '-action-', '-', '', ' ' );
// ---------------------------------------------------
// Nom
// ---------------------------------------------------
dynamiqItemMessage(0, 1, 'libPanierCell notInResponsive', 'grid-column: 1 / span 2; grid-row:1; text-align:center; align-items:center; ', 'div', 'libPanier', '-action-', 'cde', 21, '-' );
// ---------------------------------------------------
// Réduction
// ---------------------------------------------------
dynamiqItemMessage(0, 1, 'libPanierCell notInResponsive', 'grid-column: 3; grid-row:1; ', 'div', 'libPanier', '-action-', 'cde', 28, '-' );
// ---------------------------------------------------
// Prix HT --> pas de place pour responsive
// ---------------------------------------------------
dynamiqItemMessage(0, 1, 'libPanierCell notInResponsive', 'grid-column: 4; grid-row:1; ', 'div', 'libPanier', '-action-', 'cde', 25, '-' );
// ---------------------------------------------------
// Quantité
// ---------------------------------------------------
dynamiqItemMessage(0, 1, 'libPanierCell notInResponsive', 'grid-column: 4; grid-row:1; ', 'div', 'libPanier', '-action-', 'cde', 26, '-' );
// ---------------------------------------------------
// Total TTC
// ---------------------------------------------------
dynamiqItemMessage(0, 1, 'libPanierCell notInResponsive', 'grid-column: 5; grid-row:1; ', 'div', 'libPanier', '-action-', 'cde', '0', '-' );
echo '
';
// ligne de séparation
include ("_reqPanier/panier.reqSelectLignes.php");
if (!empty($idLgCdeTab)) {
if (isset($_SESSION['nbArt'])) {$nbArt=$_SESSION['nbArt']; };
include ("panier.affLignes.php");
}// panier pas vide
echo '
'; //syntheseLignes
// ---------------------------------------------------
// Bloc synthèse
// ---------------------------------------------------
include ("panier.affCde.php");
// ---------------------------------------------------
// Bloc valider
// ---------------------------------------------------
if ($nbArt!=0) {
if (isset($_SESSION['connected']) && $_SESSION['connected']=='O') {
// Saisir adresse Fact
$etape=3;
$action='adresse-fact-' .$etape. '';
}
else {
// se connecter + redirect vers appel
$etape=2;
$appel=10;
$_SESSION['appel']=$appel;
$action='connection';
}
}
echo '
';
// ---------------------------------------------------
// Btn d'autres achats
// ---------------------------------------------------
dynamiqItemImage (0, 0, 'boutons', 'div', 'onClick="window.location=\'./index.php\'; "', 'bouton', 17, 'icones', '-textClass-', 'margin:2%;');
// ---------------------------------------------------
// Btn continuer si nb art > 0
// ---------------------------------------------------
if ($nbArt!=0 ) dynamiqItemImage (0, 0, 'boutons', 'div', 'onClick="window.location=\'' .$action. '\'; "', 'bouton', 5, 'icones', '-textClass-', 'margin:2%;');
echo '
';
// ---------------------------------------------------
// Recap des etapes
// ---------------------------------------------------
$etape=1;
include ("./pages/panier/etapes.php");
}//panier existe
else {
if ( $affMContext === true ) echo '
';
else echo '
';
echo '
';
// msg ==> pas de panier // panier vide
dynamiqItemMessage(0, 1, 'msgPanier', '-styleDiv-', 'span', 'msgKo', '-action-', 'cde', 62, '-' );
// echo ' ';
// ---------------------------------------------------
// Btn d'autres achats
// ---------------------------------------------------
echo '
';
dynamiqItemImage (0, 1, 'boutons', 'div', 'onClick="window.location=\'./index.php\'; "', 'bouton', 17, 'icones', '-textClass-', '-');
echo '
';
echo '
';
echo '
';
}
echo '
'; //table panier
echo '