Sindbad~EG File Manager

Current Path : /home/numerotech/www/mcq.urbanedge.co.in/app/storage/views/
Upload File :
Current File : //home/numerotech/www/mcq.urbanedge.co.in/app/storage/views/11f99c2a8642bad4322d6b6dd0927645

<?php $__env->startSection('content'); ?>
<!-- <h1>Home</h1> -->
<style type="text/css">
   @media  screen and (max-width: 600px) {

  .mobile-responsive table {
    border: 0;
    border-collapse: collapse;
  }

 .mobile-responsive table thead {
    display:none;
  }
  .mobile-responsive table th {
    display:none;
  }
  
  
 .mobile-responsive table tr {
    margin-bottom: 20px;
    display: block;
    border-bottom: 2px thin #faf5f5;
    box-shadow: 2px 2px 1px #dadada;
    border-collapse: collapse;

  }



 .mobile-responsive table td {
    display: block;
    text-align: right;
    font-size: 15px;
    border-collapse: collapse;
    padding: 25px;
  }

 .mobile-responsive table td:last-child {
    border-bottom: 0;
  }

 .mobile-responsive table td::before {
    content: attr(data-label);
    float: left;
    text-transform: uppercase;
    font-weight: bold;
    
  }

  /* .mobile-responsive tbody{
    line-height:0!important;
  } */
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .sidebar a {float: left;}
  div.content {margin-left: 0;}
  .sidebar a {
    text-align: center;
    float: none;
  }
}
</style>

 <div class="col-md-12 text-center">
    <h4> Results</h4>
 </div>


<table class="table table-striped  mobile-responsive"  cellpadding="6" border="3px solid black"  id="myTable">
   <thead class="thead-dark">
   <tr cellpadding="7" >
      <th>S.No</th>
      <th>Name</th>
      <th>Email</th>
      <th>Mobile</th>

      <th>Duration</th>
      
      <th>Total</th>
      <th>Total Correct</th>
      <th>Total Wrong</th>

      <th>Skipped</th>

   
   </tr>
   </thead>


  <tbody> 
       <?php if(isset($results)): ?>
            <?php $i=1;  $total_ques = 0 ;?>

            <?php foreach($results as $result): ?>
              <?php $total_ques = $total_ques + $result->totalcorrect + $result->totalwrong + $result->totalSkipped ?>
            <tr>
               <td data-label ="S.NO"> <?php echo $i; ?></td>
               <td data-label = "Name"><?php echo $result->full_name; ?></td>
               <td  data-label = "Email"><?php echo $result->email; ?></td>
               <td data-label = "Mobile"><?php echo $result->mobile; ?></td>

               <td data-label = "Duration"><?php echo $result->duration; ?></td>

               <td data-label = "Total"><?php echo $total_ques; ?></td>
               <td data-label = "Correct"><?php echo $result->totalcorrect; ?></td>
               <td data-label = "Wrong"><?php echo $result->totalwrong; ?></td>


               <td data-label = "Skipped"><?php echo $result->totalSkipped; ?></td>
       
              
            </tr>
            <?php $i = $i+1 ; $total_ques = 0 ; ?>
            <?php endforeach; ?>
       <?php else: ?>     
       <tr>
          <td colspan="8"> <span style="color: red;"> Record not found.</span></td>
       </tr>
       <?php endif; ?>
         </tbody>
   
   
</table>
<br/>


<script src="https://cdn.datatables.net/1.11.5/js/jquery.dataTables.min.js"></script>
<script> 
   $(document).ready(function()
   {
      $("#myTable").DataTable();

   });
  

</script>


<?php $__env->stopSection(); ?>

<?php echo $__env->make('layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists