Skip to content
Snippets Groups Projects
Commit cbbd0bcd authored by Muhammad Rafli Fadillah's avatar Muhammad Rafli Fadillah
Browse files
parents b8875d68 df1de8fa
Branches
No related merge requests found
......@@ -257,3 +257,13 @@ a.whitelink {
margin-left: 36px;
border: 1px solid black;
}
.errmsg {
background-color: lightgreen;
margin-top: 24px;
border-radius: 7px;
border: 3px solid green;
border-color: darkgreen;
width: 370px;
text-align: center;
}
\ No newline at end of file
......@@ -256,4 +256,14 @@ a.whitelink {
width: 120px;
margin-left: 36px;
border: 1px solid black;
}
.errmsg {
background-color: lightgreen;
margin-top: 24px;
border-radius: 7px;
border: 3px solid green;
border-color: darkgreen;
width: 370px;
text-align:center;
}
\ No newline at end of file
### YESBOSS - Website Ojek Online Clone
---
##### IF3110 Pengembangan Aplikasi Berbasis Web
---
#### Deskripsi Singkat
> Simple Clone Ojek Online App based on web.
#### Anggota Tim
1. [Robby Syaifullah]
(http://gitlab.informatika.org/robbysyaifullah) - 13515013
2. [Taufan Mahaputra]
(http://gitlab.informatika.org/taufanmahaputra) - 13515028
3. [M Rafli]
(http://gitlab.informatika.org/mraflif31) - 13515115
#### Tools
1. _Back-end :_ PHP
2. _Database :_ MySQL
3. _Front-end :_ Javascript, HTML, dan CSS
#### Pembagian Tugas
##### <p style="color:green">Tampilan</p>
| No. | Interface | NIM |
|---|---|---|
|1| Order Ojek | 13515115 |
|2| Select Driver | 13515115 |
|3| Complete Order| 13515115 |
|4| Login | 13515028, 13515115 |
|5| Register | 13515028, 13515115 |
|6| Profile | 13515028 |
|7| Edit Profile | 13515013, 13515028 |
|9| Edit Preferred Location | 13515013, 13515028 |
|9| History Penumpang | 13515013, 13515028 |
|10| History Driver | 13515013, 13515028 |
##### <p style="color:green">Fungsionalitas</p>
| No. | Functionality | NIM |
|---|---|---|
|1| Order Ojek | 13515115 |
|2| Select Driver| 13515115 |
|3| Complete Order | 13515115 |
|4| Login | 13515028 |
|5| Register | 13515028 |
|6| Profile | 13515028, 13515115 |
|7| Edit Profile | 13515028 |
|8| Edit Preferred Location | 13515028 |
|9| History Penumpang | 13515013, 13515028 |
|10| History Driver | 13515013, 13515028 |
##### Mocks
[Link] (public/mocks)
#### License
----
MIT
......@@ -20,7 +20,10 @@
$count = mysqli_num_rows($result);
$counter = 0;
if($count == 0) {
echo "Error: " . $query . "<br>" . mysqli_error($db);
echo "<div class=\"errmsg\">
<p>No Transaction Yet</p>
<p>Let's use YESBOSS now!</p>
</div>";
}
else {
while ($result_array = mysqli_fetch_array($result)) {
......
......@@ -25,7 +25,10 @@
$count = mysqli_num_rows($result);
$x=0;
if($count == 0) {
echo "Error: " . $query . "<br>" . mysqli_error($db);
echo "<div class=\"errmsg\">
<p>No Transaction Yet</p>
<p>Let's use YESBOSS now!</p>
</div>";
}
else {
while ($result_array = mysqli_fetch_array($result)) {
......
......@@ -8,12 +8,13 @@
$result = mysqli_query($db, $query);
$count = mysqli_num_rows($result);
if($count == 1) {
echo "fuck";
$_SESSION['login_user'] = $username;
header("location: ../public/profile.php?user=$username");
}
else {
echo "string";
echo "<script> alert('Email or password invalid!');
window.location = \"../public/index.php\";
</script>";
}
}
......
src/uploads/robby/8925.jpg

125 KiB

src/uploads/robby/robby.PNG

11 KiB

0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment