<?php $__env->startSection('title'); ?>
Opet   dashboard
<?php $__env->stopSection(); ?>
<!-- ======= Header ======= -->

<!-- End Header -->
<?php $__env->startSection('content'); ?>
<div class="wrapper">
    <?php echo $__env->make('dashboard.layouts.nav', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php echo $__env->make('dashboard.layouts.aside', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
   
    <main role="main" class="main-content">
        <div class="container-fluid">
          <div class="row justify-content-center">
            <div class="col-12">
                <div class="row">
                    <div class="col-6">
                        <h2 class="page-title"> Counts us </h2>
                    </div>
                    <div class="col-6">
                        <div class="col-6 text-center">
                            <a href="<?php echo e(route ('Contuct_export')); ?>" class="page-title">Export </a>
                        </div>
                    </div>
                    
                </div>

                
                <div class="table-responsive">
                    <table class="table display datatables" id="ajax-data-object">
                        <thead>
                            <tr>
                                <th>#</th>
                                <th>Name</th>
                                <th>Email</th>
                                <th>Subject</th>
                                <th>Message</th>
                               

                                
                            </tr>
                        </thead>
                        <tbody>

                            <?php if(@isset($data) && !@empty($data)): ?>
                                <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $info): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        
                                    <tr>
                                        <td><?php echo e($index +1); ?></td>
                                        <td>
                                            <?php echo e($info->name); ?>

                                        </td>
                                        
                                        <td>
                                            <?php echo e($info->email); ?>

                                        </td>
                                        <td>
                                            <?php echo e($info->subject); ?>

                                        </td>
                                        <td>
                                            <?php echo e($info->message); ?>

                                        </td>
                                    </tr>
                        
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            <?php else: ?>
                                <tr>
                                    <td colspan="5" class="alert alert-danger">No Data</td>
                                </tr>

                            <?php endif; ?>
                        </tbody>
                    </table>
                </div>
          </div> <!-- .row -->
        </div> <!-- .container-fluid -->
        
        <div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
            <div class="modal-dialog">
              <div class="modal-content">
                <div class="modal-header">
                  <h5 class="modal-title" id="exampleModalLabel">New Partner</h5>
                  <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                  </button>
                </div>
                <form action="<?php echo e(route('add_partner')); ?>" method="post" enctype="multipart/form-data">
                    <?php echo csrf_field(); ?>
                    <div class="modal-body">
                        <label class="col-form-label pt-0" for="image"> Partner Image </label>
                        <input class="form-control" id="image" name="image" type="file">
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
                        <button  type="submit" class="btn btn-primary">Save </button>
                    </div>
                        
                    </form>
              </div>
            </div>
        </div>
    </main> <!-- main -->

   
<?php $__env->stopSection(); ?>
<?php echo $__env->make('dashboard.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\opet\resources\views/dashboard/pages/contuct_us.blade.php ENDPATH**/ ?>