HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ubuntu-8gb-hel1-1 6.8.0-55-generic #57-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 12 23:42:21 UTC 2025 x86_64
User: www-data (33)
PHP: 8.1.32
Disabled: NONE
Upload Files
File: /var/www/agighana.org_backup/14425b24b7a8dfc8bf7198004500888c.php
<?php
    use App\Models\NatExecutive;
?>

<?php $__env->startSection('head'); ?>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('page-title'); ?>
<h1 class="page-heading d-flex text-dark fw-bold fs-3 flex-column justify-content-center my-0">Pending Members</h1>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('body'); ?>
<div class="row">
    <div class="col-md-12">
        <button class="btn btn-primary float-end mb-7" type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#kt_modal_1">Add Member</button>
    </div>
</div>
<div class="card shadow">
    <div class="card-body">
        <div class="table-responsive">
            <table class="table table-striped">
                <thead>
                    <tr>
                        <th></th>
                        <th>Name</th>
                        <th>Position</th>
                        <th>Profile</th>
                        <th>Action</th>
                    </tr>
                </thead>
                <tbody>
                    <tbody>
                       <?php $__currentLoopData = NatExecutive::all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                           <tr>
                            <td><img class=" img-fluid" src="<?php echo e(asset('uploads/nat_executive/'.$item->img)); ?>" alt="" style="width: 100px"></td>
                            <td><?php echo e($item->name); ?></td>
                            <td><?php echo e($item->position); ?></td>
                            <td><?php echo e($item->profile); ?></td>
                            <td></td>
                           </tr>
                       <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </tbody>
                </tbody>
            </table>
        </div>
    </div>
</div>
<div class="modal fade" tabindex="-1" id="kt_modal_1" data-bs-backdrop="static" data-bs-keyboard="false">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h3 class="modal-title">Add National Executive</h3>

                <!--begin::Close-->
                <div class="btn btn-icon btn-sm btn-active-light-primary ms-2" data-bs-dismiss="modal" aria-label="Close">
                    <i class="ki-duotone ki-cross fs-1"><span class="path1"></span><span class="path2"></span></i>
                </div>
                <!--end::Close-->
            </div>

            <div class="modal-body">
                <form action="javascript:void(0)" id="create">
                    <div class="row">
                        <div class="col-md-6">
                            <label class=" form-label">Name</label>
                            <input type="text" name="name" class=" form-control form-control-solid"  id="">
                            <span class=" alert-danger name-error" id=""></span>
                        </div>
                        <div class="col-md-6">
                            <label class=" form-label">Position</label>
                            <input name="position" type="text" class=" form-control form-control-solid"  id="">
                            <span class=" alert-danger position-error" id=""></span>
                        </div>
                    </div>
                    <div class="row mt-7">
                        <div class="col-md-6">
                            <label class=" form-label">Profile</label>
                            <textarea name="profile" id="" class=" form-control form-control-solid"></textarea>
                            <span class=" alert-danger prfile-error" id=""></span>
                        </div>
                    </div>
                    <div class="row mt-7">
                        <div class="col-md-6">
                            <label class=" form-label">Profile Pic</label>
                            <input name="img" type="file" class=" form-control form-control-solid" id="">
                            <span class=" alert-danger img-error" id=""></span>
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-light" data-bs-dismiss="modal">Close</button>
                        <button type="submit" class="btn btn-primary">Save changes</button>
                    </div>
                </form>
            </div>

            
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts'); ?>
<script src="<?php echo e(asset('assets/js/self/nat_executive.js')); ?>"></script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\agi_project\admin_agi\resources\views/nat_executive/index.blade.php ENDPATH**/ ?>