-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgetRekening.php
25 lines (24 loc) · 911 Bytes
/
getRekening.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
include('session.php');
error_reporting(0);
$userID = $u['cuid'];
error_reporting(0);
if($_GET['id']){
$akunID = $_GET['id'];
$getRekening = mysqli_query($conn,"SELECT * FROM `tb_rekening_deposit` WHERE cuid = '$akunID'") or die(mysqli_error());
$gr = mysqli_fetch_array($getRekening);
?>
<div class="row">
<div class="col-3">
<div style="background: #fff; border-radius: 5px; padding: 2px 8px;">
<img src="<?php echo $urlweb; ?>/upload/<?php echo $gr['image']; ?>" class="img-fluid">
</div>
</div>
<div class="col-9">
<p style="font-weight: 700!important; text-transform: uppercase"><?php echo $gr['pemilik']; ?><br>
<?php echo $gr['no_rek']; ?> <span class="badge <?php if($gr['status'] == 0) { echo 'badge-danger'; } else { echo 'badge-success'; } ?>"><?php if($gr['status'] == 0) { echo 'Offline'; } else { echo 'Online'; } ?></span></p>
</div>
</div>
<?php
}
?>