Set("wishlists_ids", ''); $session->Set("wishlists_qty", ''); if($_POST['insrurance'] == 1) { $session->Set("insrurance", '1'); } header("Location:?rand=".RAND(1, 10000000000)); } if($_POST['acts'] == 'recal') { update_cart_var(); header("Location:?rand=".RAND(1, 10000000000)); } if($_POST['acts'] == 'billing') { if($_POST['insrurance'] == 1) { $session = new Session(); $session->Set("insrurance", '1'); } if($_POST['code'] != '') { $session = new Session(); $session->Set("code", $_POST['code']); } header("Location:../billing/"); } } if ($_GET['id_dele'] !='') { delete_items_from_cookie(); header("Location:?rand=".RAND(1, 10000000000)); } if($_GET['act'] == 'print') { echo create_print_versions(); } if ($_GET['act'] == 'reset') { $session = new Session(); $session->Destroy(); header("Location:../products/"); } else echo $header->Render().create_cart().$footer->Render(); ?>