Sindbad~EG File Manager
<?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">
<tr cellpadding="7" class="thead-dark">
<th>S.No</th>
<th>Name</th>
<th>Email</th>
<th>Mobile</th>
<th>Duration</th>
<th>Total Correct</th>
<th>Total Wrong</th>
<th>Skipped</th>
<!--<th>Pending</th>-->
</tr>
<tbody>
<?php if(isset($results)): ?>
<?php $i=1; ?>
<?php foreach($results as $result): ?>
<tr>
<td data-label ="S.NO"> <?php echo $i; ?></td>
<td data-lable = "Full Name"><?php echo $result->full_name; ?></td>
<td data-lable = "Email"><?php echo $result->email; ?></td>
<td data-lable = "Mobile"><?php echo $result->mobile; ?></td>
<td data-lable = "Full Name"><?php echo $result->duration; ?></td>
<td data-lable = "Total Correct"><?php echo $result->totalcorrect; ?></td>
<td data-lable = "Total Wrong"><?php echo $result->totalwrong; ?></td>
<td data-lable = "Skipped"><?php echo $result->totalSkipped; ?></td>
<!--<td data-lable = "Pending"><?php echo $result->totalpending; ?></td>-->
</tr>
<?php $i = $i+1 ;?>
<?php endforeach; ?>
<?php else: ?>
<tr>
<td colspan="9"> <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