whoami7 - Manager
:
/
home
/
gracious
/
mail
/
ledgerless.graciousphils.com
/
Upload File:
files >> /home/gracious/mail/ledgerless.graciousphils.com/forEncode.php
<!doctype html> <?php include 'connection.php'; if(isset($_SESSION['user']) && $_SESSION['position'] == 2){ ?> <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>PAL+</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 = 'For Encode' ORDER BY dateRequested ASC"); $st->execute(); ?> <br> <div class="container-fluid"> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-12"> <table id="example" class="table table-bordered display compact" style="width: 100%;"> <thead> <tr class="text-center table-dark"> <th>Client ID</th> <th>Client Name</th> <th>Sales Office</th> <th>Transaction Type</th> <th>Transaction Details</th> <th>Cashout</th> <th>Mode of Transfer</th> <th>Call Representative</th> <th>Date Requested</th> <th>Remarks</th> <th>Actions</th> </tr> </thead> <tbody> <?php while ($data = $st->fetch()) { ?> <tr class="text-center"> <td><?php echo $data['clientNumber'];?></td> <td><?php echo $data['clientName'];?></td> <td><?php echo $data['salesOffice'];?></td> <td><?php echo $data['transactionType'];?></td> <td><?php echo $data['transactionDetails'];?></td> <td><?php echo $data['transactionCashout'];?></td> <td><?php echo $data['modeTransfer'];?></td> <td><?php echo $data['requestedBy'];?></td> <td><?php echo $data['dateRequested'];?></td> <form action="forEncodeAction.php" method="post"> <td><textarea name="remarks" style="resize: none;"></textarea></td> <td class="text-left"> <input type="hidden" value="<?php echo $data['request_id']?>" name="requestId"> <input type="hidden" value="<?php echo $data['clientName']?>" name="clientName"> <input type="hidden" value="<?php echo $data['clientType']?>" name="clientType"> <input type="hidden" value="<?php echo $data['modeTransfer']?>" name="modeTransfer"> <input type="hidden" value="<?php echo $data['agentName']?>" name="agentName"> <input type="hidden" value="<?php echo $data['dateEncoded']?>" name="dateEncoded"> <button type="submit" name="btnOk" style="background-color: transparent;border-color: transparent;"> <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor" class="bi bi-check-square-fill" viewBox="0 0 16 16"> <path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm10.03 4.97a.75.75 0 0 1 .011 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.75.75 0 0 1 1.08-.022z"/> </svg> </button> <br> <button type="submit" name="btnCancel" style="background-color: transparent;border-color: transparent;"> <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor" class="bi bi-x-square-fill" viewBox="0 0 16 16"> <path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm3.354 4.646L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 1 1 .708-.708"/> </svg> </button> <br> <button type="submit" name="btnHold" style="background-color: transparent;border-color: transparent;"> <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor" class="bi bi-h-square-fill" viewBox="0 0 16 16"> <path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm9 4.002V12H9.67V8.455H6.33V12H5V4.002h1.33v3.322h3.34V4.002z"/> </svg> </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, }); } ); </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 } else{ header("location:index.php"); session_destroy(); } ?>
Copyright ©2021 || Defacer Indonesia