include("_/includes/connection.php"); ?> include "_/sourcecode/header.php"; ?> if(isset($_GET['purchaseconfirm'])){ include "_/sourcecode/purchaseConfirmation.php"; } ?> if(!isset($_GET['purchase'])){ $event_uid = $_GET['event']; }else{ $purchaseid = $_GET['purchase']; $giftP = mysqli_query($con, "select * from payments where purchase_uid ='$purchaseid'"); $get_P =mysqli_fetch_array($giftP); $event_uid = $get_P['event_uid']; $_SESSION['purchaseid']=$purchaseid; } ?>
include "_/sourcecode/regnavuser.php"; include "_/sourcecode/registrypostsviewer.php"; include "_/sourcecode/registrymodalviewer.php"; if(isset($_GET['event']) & isset($_GET['generate']) & !isset($_GET['product']) & !isset($_GET['custom']) & !isset($_GET['purchase'])){ include "_/sourcecode/paymentGenerate.php"; }elseif(isset($_GET['event']) & isset($_GET['product']) & !isset($_GET['custom']) & !isset($_GET['generate']) & !isset($_GET['purchase'])){ include "_/sourcecode/paymentProduct.php"; }elseif(isset($_GET['event']) & isset($_GET['custom']) & !isset($_GET['product']) & !isset($_GET['generate']) & !isset($_GET['purchase'])){ include "_/sourcecode/paymentCustom.php"; }elseif(isset($_GET['purchase']) & !isset($_GET['custom']) & !isset($_GET['product']) & !isset($_GET['generate']) & !isset($_GET['event'])){ $giftP = mysqli_query($con, "select * from payments where purchase_uid ='$purchaseid'"); $get_P =mysqli_fetch_array($giftP); $product_title = $get_P['product_title']; $product_price = $get_P['product_price']; $buyer_name = $get_P['buyer_name']; $buyer_phone = $get_P['buyer_number']; $buyer_email = $get_P['buyer_email']; $price_total = $product_price.'00'; include "_/sourcecode/purchaseConfirm.php"; } ?>