include("function.inc.php"); include ('config.inc.php'); include ("connessione.php"); session_start(); $cestino=$_SESSION['cestino']; $az=$_GET['az']; $na=$_GET['na']; if ($az=="svuota") { session_destroy(); header("Location: shop2.php"); } testata($x); if ($az=="canc") { $i=($na-1)*3; $if=$i+3; while ($i!=$if) { unset($cestino[$i]); $i=$i+1; }//while foreach ($cestino as $valore) { $ncestino[]=$valore; } // print_r($ncestino); $_SESSION['cestino']=$ncestino; $cestino=$_SESSION['cestino']; // print_r($rcestino); $az="x"; }//endif cancella ------------------------------------------------------------ ?>
Totale : € '.$totalev.'
'; }//endif se ghe roba else { echo'Nessun articolo in carrello'; } ?>[ Per la merce da spedire, il minimo importo d\'acquisto al netto delle spedizioni รจ di 5 euro ]
- - -
'; } if ($totimp>=5) { echo '(*) I costi di spedizione sono gratis sopra i '.$limitess.' euro
'; } ?>