From 46e27c624d2c8a1d97453946b20f0d002f15bd65 Mon Sep 17 00:00:00 2001 From: freedomfeather <fadlurohmanakmal@rocketmail.com> Date: Sat, 30 Sep 2017 22:32:57 +0700 Subject: [PATCH] Menambahkan sistem sign up tanpa ajax --- login/sign_up.php | 8 -------- order/order.html | 31 +++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 8 deletions(-) create mode 100644 order/order.html diff --git a/login/sign_up.php b/login/sign_up.php index eb264696..9088dc25 100644 --- a/login/sign_up.php +++ b/login/sign_up.php @@ -29,14 +29,6 @@ header("Location: ../order/order.html"); } mysql_close($conn); - /*else { - include("login.html"); - echo "<script> - document.getElementById('error_credential').innerHTML = 'Invalid username or password!'; - </script>"; - header("Location: login.html"); - } - */ } } ?> diff --git a/order/order.html b/order/order.html new file mode 100644 index 00000000..fd7af2c6 --- /dev/null +++ b/order/order.html @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<html> +<head> + <title>U Wanna Call Me Beibh?</title> + <link rel="stylesheet" type="text/css" href="../css/main.css"> + <link rel="stylesheet" type="text/css" href="../css/order.css"> + <script type="text/javascript"> + function setURL(url) { + document.getElementById('content_iframe').src = url; + } + </script> +</head> +<body> +<<<<<<< HEAD + <div class="frame"> + <p>Order</p> + <div class="frame" id="container"> + <div class="button" id="first"> + <input type="button" name="select_location" onclick="setURL('select_location.html')" > + </div> + <div class="button" id="second"> + <input type="button" name="select_driver" onclick="setURL('select_driver.html')"> + </div> + <div class="button" id="third"> + <input type="button" name="complete_order" onclick="setURL('complete_order.html')"> + </div> + + <iframe id="content_iframe" src=""/> + </div> +</body> +</html> -- GitLab