r";
echo "
Zuletzt in den Warenkorb gelegter Artikel:
";
echo "
".$a_name."";
echo "
Preis:
".$preis." €";
echo " ( incl. ".$mwst."% MwSt. )";
echo "
r";
echo "
Artikel im Warenkorb:
r";
echo "
";
$p_c = 1;
$gesamt = 0;
foreach($_SESSION as $wert){
if($wert!=''){
$count1 = strrpos($wert, '|');
$versand = substr($wert, $count1 + 1);
$rest1 = substr($wert, 0, $count1);
$count2 = strrpos($rest1, '|');
$a_num = substr($rest1, $count2 + 1);
$rest2 = substr($rest1, 0, $count2);
$count3 = strrpos($rest2, '|');
$mwst = substr($rest2, $count3 + 1);
$rest3 = substr($rest2, 0, $count3);
$count4 = strrpos($rest3, '|');
$preis = substr($rest3, $count4 + 1);
$rest4 = substr($rest3, 0, $count4);
$count5 = strrpos($rest4, '|');
$a_name = substr($rest4, 0);
echo "
r";
echo "Artikel ".$p_c.": - ".$a_name." ( Preis: ".$preis." € ) r";
echo " | r";
echo "entfernenr";
echo " |
r";
echo "
r";
$gesamt=$gesamt+$preis;
}
$p_c++;
}
echo "Gesamtpreis: ".$gesamt." €r";
echo "