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
/
View File Name :
dglist.php
<?php include 'inc/config.php'; $template['header_link'] = 'PAGES'; ?> <?php include 'inc/template_start.php'; ?> <? $x=$_GET['x']; ?> <!-- Page content --> <div id="page-content"> <div class="row"> <div class="col-sm-12"> <div class="widget-image widget-image-xs"> <img src="img/lpkmn/bg.jpg" alt="image"> <div class="widget-image-content"> <div class="pull-right text-light-op"> <strong> <div class="form-group form-actions"> <a href="login.php"><button type="button" class="btn btn-effect-ripple btn-sm btn-primary"><i class="fa fa-home"></i> Home</button></a> </div> </strong> </div> <h2 class="widget-heading text-light"><strong>eDGPENS LPKMn</strong></h2> <h3 class="widget-heading text-light-op">Lembaga Pelabuhan Kemaman</h3> </div> </div> </div> </div> <div class="row"> <div class="col-sm-12"> <BR> </div> </div> <div class="row"> <div class="col-sm-12"> <BR> </div> </div> <div class="row"> <div class="col-sm-12"> <!-- Block --> <div class="block"> <!-- Block Title --> <div class="block-title themed-background-dark-amethyst text-center"> <h2><strong class="text-light-op"><i class="fa fa-exclamation-triangle"></i> Dangerous Goods</strong></h2> </div> <!-- END Block Title --> <!-- Block Content --> <div class="row"> <!-- Get Started Block --> <div class="block full"> <!-- Get Started Title --> <div class="block-title"> <!--h2>Block Title</h2--> </div> <!-- END Get Started Title --> <!-- Get Started Content --> <div class="table-responsive"> <table id="datatable-dg<?=$x?>" class="table table-striped table-bordered table-condensed table-vcenter table-hover"> <thead> <tr> <th class="text-center" style="width: 400px;">PROPER SHIPPING NAME</th> <th class="text-center" style="width: 100px;">IMO CLASS</th> <th class="text-center" style="width: 100px;">UN NUMBER</th> <th class="text-center">PROPERTIES</th> </tr> </thead> <tbody> <?php $labels['Y']['class'] = "label-success"; $labels['Y']['text'] = "Active"; $labels['T']['class'] = "label-danger"; $labels['T']['text'] = "Inactive"; ?> <?php switch ($x) { case "1": //proper shipping name $smbg=" ORDER BY nama"; break; case "2": //imo class $smbg=" ORDER BY IMOClass"; break; case "3": //un no $smbg=" ORDER BY UNNumber"; break; default: $smbg=""; } $qKod="SELECT * FROM kod_dg $smbg"; $resKod=mysqli_query($mysqli_link, $qKod) or die(mysqli_connect_error()); while($rowKod=mysqli_fetch_array($resKod)){ ?> <tr> <td><strong><?=$rowKod['nama']?></strong></td> <td class="text-center"><?=$rowKod['IMOClass']?></td> <td class="text-center"><?=$rowKod['UNNumber']?></td> <td><?=nl2br($rowKod['properties'])?></td> </tr> <?php }mysqli_free_result($resKod); ?> </tbody> </table> </div> <!-- END Get Started Content --> </div> <!-- END Get Started Block --> </div> <!-- END Page Content --> <?php include 'inc/template_scripts.php'; ?> <script src="js/pages/uiTables.js"></script> <script>$(function(){ UiTables.init(); });</script> <!--script type="text/javascript"> $(document).ready(function() { $('#datatable-dg').DataTable( { "order": [[ 3, "desc" ]] } ); } ); </script--> <?php include 'inc/template_end.php'; ?>