Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ($ambil['info'] == "1") {
- $type = "default";
- } else if ($ambil['info'] == "2") {
- $type = "primary";
- } else if ($ambil['info'] == "3") {
- $type = "primary";
- } else if ($ambil['info'] == "4") {
- $type = "danger";
- } else if ($ambil['info'] == "5") {
- $type = "success";
- } else if ($ambil['info'] == "6" and ($ambil['status'] == "di kembalikan")) {
- $type = "info";
- } else if ($ambil['info'] == "7") {
- $type = "warning";
- } ?>
- <span class="label label-table label-<?php echo $type; ?>"><?php echo $ambil['info']; ?></span></td>
- </tr>
- <? } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement