One Hat Cyber Team
Your IP :
172.16.0.254
Server IP :
58.26.163.33
Server :
Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Server Software :
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
PHP Version :
7.3.25
Buat File
|
Buat Folder
Eksekusi
Dir :
C:
/
xampp7
/
htdocs
/
edgpens
/
dashboard
/
Edit File:
d1_3.php
<?php include_once "../access_inc.php"; ?> <?php $modal_name = str_replace("/", "-", $page); if($roles == 2){ $samb = " AND a.idMarineFacility='{$idPelabuhan}'"; $col = "col-md-4"; }else{ $samb = ""; $col = "col-md-4"; } $stmt = $mysqli->stmt_init(); $stmt->prepare("SELECT SUM(IF(tot_app=0,1,0)) pen, SUM(IF(tot_app=1,1,0)) ack FROM permohonan_cnt a WHERE DATEDIFF(a.ETA,NOW())>=0 {$samb}") ; $stmt->execute(); $result = $stmt->get_result(); $stmt->close(); $aa = $result->fetch_assoc(); $pen = (!empty($aa['pen'])) ? $aa['pen'] : 0 ; $ack = (!empty($aa['ack'])) ? $aa['ack'] : 0 ; if(!empty($pen)|| !empty($ack)){ ?> <div class="widget"> <div class="widget-content widget-content-mini themed-background-dark-flat"> <span class="pull-right text-light-op">Before Arrival</span> <strong class="text-light"><?php echo $dtitle; ?></strong> </div> <div class="widget-content widget-content-mini themed-background-amethyst text-left clearfix text-center"> <div class="col-md-6 "> <h3 class="widget-heading text-center"> <div class="img-circle img-thumbnail text-center themed-background-muted circle_custom1"> <i class="gi gi-alarm text-danger" style="line-height: 2"></i> </div> <br> <small class="text-light text-wrap"><b>PENDING</b></small> <br> <span class="text-light"><?php echo $pen; ?></span> </h3> </div> <div class="col-md-6 "> <h3 class="widget-heading text-center"> <div class="img-circle img-thumbnail text-center themed-background-muted circle_custom1"> <i class="fa fa-check text-success" style="line-height: 2"></i> </div> <br> <small class="text-light text-wrap"><b>ACKNOWLEDGED</b></small> <br> <span class="text-light"><?php echo $ack; ?></span> </h3> </div> </div> </div> <?php } ?>
Simpan