Összegzés"; $activeHead = 3; $action = "kosar/megrendeles"; $order["payment"] = $_POST["payment"]; $order["shipping"] = $_POST["shipping"]; if($order["payment"] == "" || $order["shipping"] == "") { header("location: " . $settings["href"] . "kosar"); } else { } } else { $nav[1] = "Kosár"; $activeHead = 1; $action = "kosar/adatok-megadasa"; } include("frame-header.php"); include("includes/checkout-head.php"); $sumKupon = 0; $sql = "SELECT COUNT(*) AS mennyi FROM coupon"; $mysql_query = mysql_query($sql); while($line = mysql_fetch_array($mysql_query)) { $sumKupon = $line["mennyi"]; } if($sumKupon > 0) { $kupon = $_GET["kupon"]; $valueKupon = 0; $sql = "SELECT COUNT(*) AS mennyi, percent FROM coupon WHERE name = '" . $kupon . "'"; $mysql_query = mysql_query($sql); while($line = mysql_fetch_array($mysql_query)) { $issetKupon = $line["mennyi"]; $valueKupon = $line["percent"]; } } if($_GET["kupon-hiba"] == 1) { ?>
Ez a kupon hibás, érvénytelen vagy lejárt.
A kosarad üres.
$value) { ?>
Termék Termék Mennyiség Egységár Összesen