Guest User

Untitled

a guest
Jan 19th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.63 KB | None | 0 0
  1. if (isset($_GET["register"]) || isset($_POST["register"]))
  2. $register = isset($_GET["register"]) ? $_GET["register"] : $_POST["register"];
  3. if (isset($_GET["update_details"]) || isset($_POST["update_details"]))
  4. $update_details = isset($_GET["update_details"]) ? $_GET["update_details"] : $_POST["update_details"];
  5. if (isset($_GET["order"]) || isset($_POST["order"]))
  6. $order = isset($_GET["order"]) ? $_GET["order"] : $_POST["order"];
  7. if (isset($_GET["order_without_billing_address"]) || isset($_POST["order_without_billing_address"]))
  8. $order_without_billing_address = isset($_GET["order_without_billing_address"])?
  9. $_GET["order_without_billing_address"]:$_POST["order_without_billing_address"];
  10. if (isset($_GET["check_order"]) || isset($_POST["check_order"]))
  11. $check_order = isset($_GET["check_order"]) ? $_GET["check_order"] : $_POST["check_order"];
  12. if (isset($_GET["proceed_ordering"]) || isset($_POST["proceed_ordering"]))
  13. $proceed_ordering = isset($_GET["proceed_ordering"]) ? $_GET["proceed_ordering"] : $_POST["proceed_ordering"];
  14. if ( isset($_GET["update_customer_info"]) || isset($_POST["update_customer_info"]) )
  15. $update_customer_info = isset($_GET["update_customer_info"]) ? $_GET["update_customer_info"] : $_POST["update_customer_info"];
  16. if ( isset($_GET["show_aux_page"]) || isset($_POST["show_aux_page"]) )
  17. $show_aux_page = isset($_GET["show_aux_page"]) ? $_GET["show_aux_page"] : $_POST["show_aux_page"];
  18. if ( isset($_GET["visit_history"]) || isset($_POST["visit_history"]) )
  19. $visit_history = 1;
  20. if ( isset($_GET["order_history"]) || isset($_POST["order_history"]) )
  21. $order_history = 1;
  22. if ( isset($_GET["address_book"]) || isset($_POST["address_book"]) )
  23. $address_book = 1;
  24. if ( isset($_GET["address_editor"]) || isset($_POST["address_editor"]) )
  25. $address_editor = isset($_GET["address_editor"]) ? $_GET["address_editor"] : $_POST["address_editor"];
  26. if ( isset($_GET["add_new_address"]) || isset($_POST["add_new_address"]) )
  27. $add_new_address = isset($_GET["add_new_address"]) ? $_GET["add_new_address"] : $_POST["add_new_address"];
  28. if ( isset($_GET["contact_info"]) || isset($_POST["contact_info"]) )
  29. $contact_info = isset($_GET["contact_info"]) ? $_GET["contact_info"] : $_POST["contact_info"];
  30. if ( isset($_GET["comparison_products"]) || isset($_POST["comparison_products"]) )
  31. $comparison_products = 1;
  32. if ( isset($_GET["register_authorization"]) || isset($_POST["register_authorization"]) )
  33. $register_authorization = 1;
  34. if ( isset($_GET["page_not_found"]) || isset($_POST["page_not_found"]) )
  35. $page_not_found = 1;
  36. if ( isset($_GET["news"]) || isset($_GET["news"]) )
  37. $news = 1;
  38. if ( isset($_GET["quick_register"]) )
  39. $quick_register = 1;
  40. if ( isset($_GET["order2_shipping_quick"]) )
  41. $order2_shipping_quick = 1;
  42. if ( isset($_GET["order3_billing_quick"]) )
  43. $order3_billing_quick = 1;
  44. if ( isset($_GET["order2_shipping"]) || isset($_POST["order2_shipping"]) )
  45. $order2_shipping = 1;
  46. if ( isset($_GET["order3_billing"]) || isset($_POST["order3_billing"]) )
  47. $order3_billing = 1;
  48. if ( isset($_GET["change_address"]) || isset($_POST["change_address"]) )
  49. $change_address = 1;
  50. if ( isset($_GET["order4_confirmation"]) || isset($_POST["order4_confirmation"]) )
  51. $order4_confirmation = 1;
  52. if ( isset($_GET["order4_confirmation_quick"]) || isset($_POST["order4_confirmation_quick"]) )
  53. $order4_confirmation_quick = 1;
  54. if ( isset($_GET["order_detailed"]) || isset($_POST["order_detailed"]) )
  55. $order_detailed = isset($_GET["order_detailed"])?$_GET["order_detailed"]:$_POST["order_detailed"];
  56. if (!isset($_SESSION["vote_completed"])) $_SESSION["vote_completed"] = array();
Add Comment
Please, Sign In to add comment