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



<div class="container">
 <div class="col-sm-12 col-12" id="mainpage">
  <div class="row">

   <div class="col-sm-9 col-12">
    <?php if(count($data)>0): ?>

     <div class="col-sm-12 col-12 p-0"  data-aos="fade-in" data-aos-duration="2000" >
       <ul class="list-group p-0">
        <li class="list-group-item font-weight-bold bg-success text-light" id="about">

          <?php if($data[0]->type == 3): ?>
          <?php echo app('translator')->get('frontend.managing_comitte'); ?>
          <?php elseif($data[0]->type == 2): ?>
          <?php echo app('translator')->get('frontend.presidents'); ?>
          <?php elseif($data[0]->type == 1): ?>
          <?php echo app('translator')->get('frontend.principles'); ?>
          <?php elseif($data[0]->type == 4): ?>
          <?php echo app('translator')->get('frontend.donar'); ?>
          <?php else: ?>
          <?php echo app('translator')->get('frontend.ex_member'); ?>
          <?php endif; ?>

        </li>
      </ul>
      <li class="list-group-item">


       <div class="col-sm-12 col-12 p-0">
        <div class="row">

          <?php if(isset($data)): ?>
          <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $d): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

          <div class="col-sm-6 col-12 mt-3" data-aos="fade-right" data-aos-duration="2000">
            <table class="table table-bordered " id="studenttable">
              <tr>
               <td rowspan="4">
                <center><img src="<?php echo e(asset($d->image)); ?>" class="img-fluid" id="" style="max-height: 100px;"><br></center>
              </td>
              <td><?php echo app('translator')->get('frontend.name'); ?></td>
              <td><?php echo e($d->name); ?></td>
            </tr>

            <tr>
              <td><?php echo app('translator')->get('frontend.designation'); ?></td>
              <td><?php echo e($d->designation); ?></td>
            </tr>

            <tr>
              <td><?php echo app('translator')->get('frontend.mobile'); ?></td>
              <td><?php echo e($d->mobile); ?></td>
            </tr>

            <tr>
              <td><?php echo app('translator')->get('frontend.mail'); ?></td>
              <td><?php echo e($d->email); ?></td>
            </tr>

            <tr>
              <td colspan="3"><center><a href="<?php echo e(url("memberdetails",$d->id)); ?>" class="btn btn-warning text-white btn-sm float-end"><?php echo app('translator')->get('frontend.detail'); ?></a></center></td> 
            </tr>               
          </table>
        </div><!-----------End Teacher Information----------------------->


        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <?php endif; ?>

      </li>



    </div>

    <?php else: ?>
     <img src="<?php echo e(asset('frontend/empty1.png')); ?>" alt="">
    <?php endif; ?>
  </div>



  <?php echo $__env->make('frontend.sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>





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





<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/gzmcfenigov/public_html/resources/views/frontend/members.blade.php ENDPATH**/ ?>