BotaxWebshell
Server IP : 68.178.172.28  /  Your IP : 216.73.216.26
Web Server : Apache
System : Linux 28.172.178.68.host.secureserver.net 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64
User : kiskarnal ( 1003)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /home/kiskarnal/public_html/storage/framework/views/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/kiskarnal/public_html/storage/framework/views/676c8f7028d579e0d7dec60b0cc00b28efb0bad2.php
<?php echo $__env->make('admin.includes.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>;
  <link href="https://cdn.datatables.net/1.13.7/css/jquery.dataTables.min.css" rel="stylesheet">
    <link href="https://cdn.datatables.net/buttons/2.4.2/css/buttons.dataTables.min.css" rel="stylesheet">
<body>
    
    <main id="main" class="main">

    <div class="pagetitle">
      <h1>Leads List</h1>
      <nav>
        <ol class="breadcrumb">
          <li class="breadcrumb-item"><a href="<?php echo e(url('/')); ?>">Home</a></li>
          <li class="breadcrumb-item active">Leads List</li>
        </ol>
      </nav>
    </div><!-- End Page Title -->

    <section class="section">
      <div class="row">
        <div class="col-lg-12">

          <div class="card">
            <div class="card-body">
              <h5 class="card-title"></h5>
              <!-- Table with stripped rows -->
                <div class="table-responsive">
                   <table class="table export-datatable table-striped">
                        <thead>
                          <tr>
                            <th scope="col">#</th>
                            <th scope="col">Full name</th>
                            <th scope="col">Father name</th> 
                            <th scope="col">Phone & Email</th>

                            <th scope="col">How Reach</th>
                            <th scope="col">Payment</th>
                            <th scope="col">Date</th>
                            <th scope="col">Action</th>
                            
                          </tr>
                        </thead>
                        <tbody>
                        <?php $__currentLoopData = $leads; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>    
                          <tr>
                            <th><?php echo e($list->id); ?></th>
                            <td><?php echo e($list->full_name); ?></td>
                           
                            <td><?php echo e($list->father_name); ?></td>
                            <td>
                                <div><?php echo e($list->phone); ?></div>
                                <div><?php echo e($list->email); ?></div>
                            </td>
                            
                            <td><?php echo e($list->how_reach); ?></td>
                             <td><?php echo e($list->amount); ?></td>
                             
                             <td><?php echo e(date('d M, Y',strtotime($list->created_at))); ?></td>
                             
                            <td>
                                <div class="action-btns">
                                 
                                   <a href="#" class="btn btn-sm btn-danger delete" row-id="<?php echo e($list->id); ?>">Delete</a>
                                </div>
                            </td>
                          </tr>
                         <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> 
                        </tbody>
                      </table>
                </div>
              <!-- End Table with stripped rows -->

            </div>
          </div>

        </div>
      </div>
    </section>

  </main><!-- End #main -->
    
</body>
  <?php echo $__env->make('admin.includes.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>;
  <script src="//cdn.datatables.net/1.13.7/js/jquery.dataTables.min.js"></script>
  <script src="//cdn.datatables.net/buttons/2.4.2/js/dataTables.buttons.min.js"></script>
  <script src="//cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js"></script>
  <script src="//cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/pdfmake.min.js"></script>
  <script src="//cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/vfs_fonts.js"></script>
  <script src="//cdn.datatables.net/buttons/2.4.2/js/buttons.html5.min.js"></script>
  <script src="//cdn.datatables.net/buttons/2.4.2/js/buttons.print.min.js"></script>
  
   <script>
        $(document).ready(function(){
      // Delete 
   $('body').on('click','.delete',function(e){
        var el = this;
        // Delete id
        var deleteid = $(this).attr('row-id');
        // Confirm box
        bootbox.confirm("Do you really want to delete record?", function(result) {
            
           if(result){
             // AJAX Request
             $.ajax({
               url: $('#admin_base_url').val()+'/delete-lead/'+deleteid,
               type: 'GET',
               success: function(response){
    
                 // Removing row from HTML Table
                 if(response == 1){
                     
                		$(el).closest('tr').css('background','tomato');
                           $(el).closest('tr').fadeOut(800,function(){
                		   $(this).remove();
                		});
                		
            	     }else{
        		           bootbox.alert('Record not deleted.');
        	          }
    
               }
             });
           }
     
        });
 
  });
});

$(document).ready(function() {
    $('.export-datatable').DataTable( {
        dom: 'Bfrtip',
       "order": [[ 0, 'desc' ]],
        buttons: [
            'copy', 'csv', 'excel', 'pdf', 'print'
        ]
    } );
} );
 </script>
<?php /**PATH /home3/allindig/public_html/kiskarnal/resources/views/admin/leads.blade.php ENDPATH**/ ?>

Youez - 2016 - github.com/yon3zu
LinuXploit