Skip to content
Snippets Groups Projects
Commit 6f9b08be authored by Muhammad Rafli Fadillah's avatar Muhammad Rafli Fadillah
Browse files

Rating display in profile

parent cbbd0bcd
No related merge requests found
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
$jumlah_order = $result_array['jumlah_order']; $jumlah_order = $result_array['jumlah_order'];
if($count != 0) { if($count != 0) {
if ($result_array['driver'] == 1) { if ($result_array['driver'] == 1) {
echo "Driver | <i class=\"fa fa-star\" aria-hidden=\"true\" style=\"color: #ffa500;\"><strong>&nbsp;" . $rating . "</strong></i> (" . $jumlah_order . " votes)"; echo "Driver | <i class=\"fa fa-star\" aria-hidden=\"true\" style=\"color: #ffa500;\"><strong>&nbsp;" . $rating . "</strong></i> (" . $jumlah_order . " votes )";
} }
else { else {
echo "Non-Driver"; echo "Non-Driver";
......
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