⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.37
Server IP:
15.235.14.176
Server:
Linux server2.ihostph.com 4.18.0-553.30.1.el8_10.x86_64 #1 SMP Tue Nov 26 02:30:26 EST 2024 x86_64
Server Software:
Apache
PHP Version:
8.1.34
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
gracious
/
verification.graciousphils.com
/
View File Name :
v4Pending.php
<!doctype html> <?php include 'connection.php'; if(isset($_SESSION['user']) && ($_SESSION['position'] == 2 || $_SESSION['position'] == 3)){ ?> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Bootstrap CSS --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous"> <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.0.1/css/bootstrap.min.css"/> <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.25/css/jquery.dataTables.min.css"/> <link rel="stylesheet" type="text/css" href="styles.css"> <title>VERIFICATION+</title> <style type="text/css"> .dataTables_filter { margin-bottom: 5px; } </style> </head> <body> <?php include 'navBar.php'; ?> <?php $st = $pdo->prepare("select * from tblrequests where (status = 'Incomplete' AND investigationType != 'None' and v4Date IS NULL AND receiveDate is NOT NULL AND status = 'Incomplete') or v4Result = 'For Schedule' order by tblrequests.request_id ASC;"); $st->execute(); ?> <br> <div class="container"> <div class="row"> <h2 class="col-lg-8 offset-lg-2 text-center">Batman Verification</h2> </div> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <table id="example" class="table table-bordered display compact" style="width: 100%;"> <thead> <tr class="text-center table-dark"> <th>Request Type</th> <th>Pensioner's Name</th> <th>Sales Office</th> <th>Requested By</th> <th>Requested Date</th> <th>Batch</th> <th>Actions</th> </tr> </thead> <tbody> <?php while ($data = $st->fetch()) { if($data['v4Viewed'] == 0){ echo "<tr class='text-center table-primary'>"; } else{ echo "<tr class='text-center'>"; } ?> <td><?php echo $data['requestType'];?></td> <td><?php echo $data['pensionerName'];?></td> <td><?php echo $data['salesOffice'];?></td> <td><?php echo $data['requestedBy'];?></td> <td><?php echo $data['dateRequested'];?></td> <td><?php echo $data['v1Batch'];?></td> <td> <form action="verification.php" method="post"> <input type="hidden" value="<?php echo $data['request_id']?>" name="requestId"> <input type="hidden" value="4" name="verificationType"> <button type='submit' name='btnOk' class='btn btn-sm' style='background-color:#343a40;color:white;font-weight: bolder;'>View</button> </form> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> <!-- Optional JavaScript; choose one of the two! --> <!-- Option 1: Bootstrap Bundle with Popper --> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" crossorigin="anonymous"></script> <script src="https://code.jquery.com/jquery-3.5.1.js"></script> <script src="https://cdn.datatables.net/1.10.25/js/jquery.dataTables.min.js"></script> <script> $(document).ready(function() { $('#example').DataTable({ordering:false,pageLength: 100}); } ); </script> <!-- Option 2: Separate Popper and Bootstrap JS --> <!-- <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js" integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT" crossorigin="anonymous"></script> --> </body> </html> <?php } ?>