Server IP : 82.112.239.40 / Your IP : 3.22.77.196 Web Server : LiteSpeed System : Linux in-mum-web1676.main-hosting.eu 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64 User : u641149403 ( 641149403) PHP Version : 7.4.33 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0755) : /home/u641149403/domains/cabz4you.com/public_html/admin/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php require_once 'header.php'; require_once 'navbar.php'; $sql="select c.*,vendor.full_name,vendor.company_name,v.contact,v.email from commission_log as c,vendor_profile as vendor,vendor_login as v where c.vendor_id=v.id and v.id=vendor.vendor_id order by time desc"; $result = $conn->query($sql); if ($result->num_rows > 0) { while($row = $result->fetch_assoc()) { $table_data[]=$row; } } ?> <head> <meta charset="utf-8"> <meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport"> <meta content="Fully Responsive Bootstrap 4 Admin Dashboard Template" name="description"> <meta content="Spruko" name="author"> <!-- Title --> <title> Ats trip admin</title> <!-- Favicon --> <link href="assets/img/brand/favicon.png" rel="icon" type="image/png"> <!-- Fonts --> <link href="https://fonts.googleapis.com/css?family=Nunito:300,400,600,700,800" rel="stylesheet"> <!-- Icons --> <link href="assets/css/icons.css" rel="stylesheet"> <!--Bootstrap.min css--> <link rel="stylesheet" href="assets/plugins/bootstrap/css/bootstrap.min.css"> <!-- Adon CSS --> <link href="assets/css/dashboard.css" rel="stylesheet" type="text/css"> <!-- Data table css --> <link href="assets/plugins/datatable/dataTables.bootstrap4.min.css" rel="stylesheet" /> <link href="assets/plugins/datatable/responsivebootstrap4.min.css" rel="stylesheet" /> <link href="assets/plugins/customscroll/jquery.mCustomScrollbar.css" rel="stylesheet" /> <!-- Sidemenu Css --> <link href="assets/plugins/toggle-sidebar/css/sidemenu.css" rel="stylesheet"> <style> .bg-success{ background-color: #28a745!important; } </style> </head> <!-- Page content --> <div class="container-fluid pt-8"> <div class="card shadow"> <div class="card-header"> <h2 class="mb-0">Transaction Records</h2> </div> <div class="card-body"> <?php if(isset($table_data)) { ?> <div class="table-responsive"> <table id="example" class="table table-striped table-bordered text-nowrap" > <thead> <tr> <th class="wd-15p">S.No</th> <!-- <th class="wd-15p">Booking ID</th> --> <th class="wd-15p">Name</th> <th class="wd-10p">Contact</th> <th class="wd-10p">Amount</th> <th class="wd-10p">Type</th> <th class="wd-10p">Action</th> <th class="wd-10p">Date Time</th> </tr> </thead> <tbody> <?php $x=1; foreach($table_data as $hh) { if ($hh['txn_type']=='Credit') { $bg_color="bg-success text-white"; }else{ $bg_color="bg-danger text-white"; } ?> <tr class="<?=$bg_color?>"> <td><?=$x;?></td> <!-- <td>JUSTGO<?=$hh['booking_id'];?></td> --> <td><a href="edit_vendor?token=<?=$hh['vendor_id'];?>" class="text-white font-weight-bold"><?=$hh['full_name']?></a></td> <td><?=$hh['contact'];?></td> <td><?=$hh['amount'];?></td> <td><?=$hh['txn_type'];?></td> <td><?=$hh['action'];?></td> <td><?=$hh['time'];?></td> </tr> <?php $x++; } ?> </tbody> </table> </div> <?php }else{ echo "<h2>No Record Found.</h2>"; } ?> </div> </div> </div> </div> <?php require_once 'footer.php'; ?> <!-- Adon Scripts --> <!-- Core --> <script src="assets/plugins/jquery/dist/jquery.min.js"></script> <script src="assets/js/popper.js"></script> <script src="assets/plugins/bootstrap/js/bootstrap.min.js"></script> <!-- Optional JS --> <script src="assets/plugins/chart.js/dist/Chart.min.js"></script> <script src="assets/plugins/chart.js/dist/Chart.extension.js"></script> <!-- Data tables --> <script src="assets/plugins/datatable/jquery.dataTables.min.js"></script> <script src="assets/plugins/datatable/dataTables.bootstrap4.min.js"></script> <script src="assets/plugins/datatable/dataTables.responsive.min.js"></script> <script src="assets/plugins/datatable/responsive.bootstrap4.min.js"></script> <!-- Fullside-menu Js--> <script src="assets/plugins/toggle-sidebar/js/sidemenu.js"></script> <!-- Custom scroll bar Js--> <script src="assets/plugins/customscroll/jquery.mCustomScrollbar.concat.min.js"></script> <?php include('datatable.php');?> <script src="assets/js/custom.js"></script> <script src="assets/js/datatable.js"></script>