Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/mcoil.corals.io/resources/views/admin/blog/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/mcoil.corals.io/resources/views/admin/blog/list.blade.php
@extends('layouts.admin.app')

@section('content')
    <!-- Main content -->
    <section class="content">

        @include('layouts.errors-and-messages')
        <!-- Default box -->
        @if($blogs)
        <div class="box">
            <div class="box-body">
                <h2>Blogs</h2>
                <table class="table">
                    <thead>
                        <tr>
                            <td class="col-md-1">SNo.</td>
                            <td class="col-md-3">Title</td>
                            <td class="col-md-3">Category</td>
                            <td class="col-md-4">Actions</td>
                        </tr>
                    </thead>
                    <tbody>
                    @foreach ($blogs as $bi => $blog)
                        <tr>
                            <td>{{ $bi+1 }}</td>
                            <td>{{ $blog->title }}</td>
                            <td>{!! $blog->category->title !!}</td>
                            <td>
                                {!! Form::open(['method' => 'DELETE', 'route' => ['admin.blog.destroy', $blog->id] ]) !!}
                                    <div class="btn-group">
                                        <a href="{{ route('admin.blog.edit', $blog->id) }}" class="btn btn-primary btn-sm"><i class="fa fa-edit"></i> Edit</a>
                                        <button onclick="return confirm('Are you sure?')" type="submit" class="btn btn-danger btn-sm"><i class="fa fa-times"></i> Delete</button>
                                    </div>
                                {!! Form::close() !!}
                            </td>
                        </tr>
                    @endforeach
                    </tbody>
                </table>
                {{ $blogs->links() }}
            </div>
            <!-- /.box-body -->
        </div>
        <!-- /.box -->
        @endif

    </section>
    <!-- /.content -->
@endsection

Spamworldpro Mini