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
/
reports
/
View File Name :
user_1.php
<?php $combx1 = ""; if(!empty($idRoles)){ $combx1 .= " AND idRoles = '{$idRoles}' "; $param_data['p1'] = $idRoles; }else{ $combx1 .= " AND idRoles != '5' "; $param_data = array(); } $sqly = " SELECT * FROM user_roles WHERE 1=1 {$combx1} "; $result3 = mysqli_prepare_all($sqly,$param_type = "auto",$param_data); $y=1; while($bb = $result3->fetch_assoc()){ if($y!=1) echo "<hr>"; $param_data2 = array( "idRoles" => $bb['idRoles'] ); if(!empty($uname)){ $combx2 .= " AND a.nameUser LIKE ? "; $param_data2['p2'] = "%{$uname}%"; } // print_r($param_data2); $sqlx = " SELECT a.*, b.nama AS nama_syarikat FROM user_list a LEFT JOIN kod_syarikat b ON b.idSyarikat = a.idSyarikat WHERE 1=1 AND a.idRoles = ? {$combx2} ORDER BY a.nameUser ASC "; $result2 = mysqli_prepare_all($sqlx,$param_type = "auto",$param_data2); echo "<h3 style='color:#454e'><strong><i class='gi gi-user'></i> <span style='border-bottom:5px double #ccc'>".strtoupper($bb['nama'])."</span></strong></h3>"; ?> <!-- <h4><b><?php echo $y.". ".strtoupper($bb['nama']);?></b></h4> --> <!-- <hr> --> <table id="" class="table table-striped table-bordered table-condensed table-vcenter table-hover no_add_delete example-datatable"> <thead> <tr> <th class="text-center no_sorting" style="width: 40px;width: 5%">No.</th> <th class="text-left" style="width: 30%">Name</th> <th class="text-left" style="width: 300px !important;width: 25%">Company</th> <th class="text-left" style="width: 150px !important;width: 25%">Email</th> <th class="text-left" style="width: 150px !important;width: 15%">Phone No.</th> </tr> </thead> <tbody> <?php $i=1; while($aa = $result2->fetch_assoc()){ ?> <tr class="<?php echo $tr_class;?>"> <td class="align-top text-right"><?php echo $i++; ?>.</td> <td class="align-top text-left"><?php echo strtoupper($aa['nameUser']);?></td> <td class="align-top text-left"><?php echo strtoupper($aa['nama_syarikat']);?></td> <td class="align-top text-left"><?php echo strtoupper($aa['emailUser']);?></td> <td class="align-top text-left"><?php echo strtoupper($aa['mobileNo']);?></td> </tr> <?php } ?> </tbody> </table> <?php $y++;} ?>