KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  /var/www/_hpe.edukrypt.in/resources/views/admin/pdf-test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/_hpe.edukrypt.in/resources/views/admin/pdf-test/student-file-list.blade.php
@extends('admin.layout')
@section('content')
    <!-- begin::main content -->
    <main class="main-content">
        <div class="container">
            <!-- begin::page header -->
            <div class="page-header">
                <h3>Student's PDF List</h3>
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="{{ asset('dashboard') }}">Dashboard</a></li>
                        <li class="breadcrumb-item active" aria-current="page">Student Assignment List</li>
                    </ol>
                </nav>
            </div>
            <!-- end::page header -->

            <div class="card">
                <div class="card-header">
                    <form action="" method="GET">
                        <div class="row">
                            <div class="col-md-6">
                                <div class="form-group">
                                    <input type="text" class="form-control" name="query" placeholder="Search here....."
                                        value="{{ request()->input('query') }}">
                                    <span class="text-danger">
                                        @error('query')
                                            {{ $message }}
                                        @enderror
                                    </span>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="form-group">
                                    <a href="{{ asset('admin/student-assignment-list') }}"
                                        class="btn btn-warning pull-right text-white"><i class="fa fa-refresh"></i>&nbsp;
                                        Reset</a>
                                    <button type="submit" class="btn btn-primary pull-right m-r-10 text-white"><i
                                            class="fa fa-search"></i>&nbsp;
                                        Search</button>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="card-body">
                    @if (isset($products))
                        <div class="table-responsive">
                            <table class="table table-striped table-bordered">
                                <thead>
                                    <tr>
                                        <th>Id</th>
                                        <th>Name</th>
                                        <th>Email</th>
                                        {{-- <th>Imag</th> --}}
                                        <th>Phone</th>
                                        <th>File Url</th>
                                        <th>Created On</th>
                                        {{-- <th>Action</th> --}}
                                    </tr>
                                </thead>
                                <tbody>
                                    @if (!empty($products))
                                        @foreach ($products as $product)
                                            <tr>
                                                <td>{{ $product->id }}</td>
                                                <td>{{ $product->name }}</td>
                                                <td><a
                                                        href="{{ asset('admin/user-list?query=' . $product->email) }}">{{ $product->email }}</a>
                                                </td>
                                                <td>{{ $product->phone }}</td>
                                                <td><a href="{{ $product->image_url }}"
                                                        target="_blank">{{ $product->image_url }}</a></td>
                                                <td>{{ date('d-m-Y', strtotime($product->created_at)) }}</td>
                                                <td>
                                                    <?php
                                                    $permission = App\Helpers\PermissionActivity::getPermissionByAdminId(session('loggedIn')['id'], 4);
                                                    ?>
                                                    @if ($permission == 'read')
                                                    @endif
                                                    @if ($permission == 'write')
                                                    @endif
                                                    @if ($permission == 'delete')
                                                        <a href="{{ asset('admin/delete-student-assignment/' . $product->id) }}"
                                                            class="delete-confirm"><i
                                                                class="fa fa-trash text-danger"></i></a>
                                                    @endif
                                                </td>
                                            </tr>
                                        @endforeach
                                    @else
                                        <h1>No Record Found!!</h1>
                                    @endif
                                </tbody>
                            </table>
                        </div>
                        <div class="pagination-block">
                            @if (isset($_GET['query']))
                                {{ $products->appends(['query' => $_GET['query']])->links('admin.includes.paginationlinks') }}
                            @else
                                {{ $products->links('admin.includes.paginationlinks') }}
                            @endif
                            <label>Total Record Found- <?php echo count($products); ?></label>
                        </div>

                    @endif
                </div>
            </div>
        </div>
    </main>
    <!-- end::main content -->
@endsection
@push('footer-script')
    <!-- begin::dataTable -->
    <!-- end::dataTable -->
@endpush

Anon7 - 2021