silent-auction/resources/views/winningbidderlist.blade.php

38 lines
1.1 KiB
PHP
Raw Permalink Normal View History

2018-06-11 13:43:21 -04:00
@extends('layouts.wallboard')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-14">
<div class="panel panel-default">
<div class="panel-heading">
<h1>
Winning Bidders
</h1>
</div>
<div class="panel-body">
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
@php
$i = 1;
// start first row
echo "<tr>";
foreach($winnerlist_results as $winnerlist_result){
2018-12-24 13:27:49 -05:00
echo "<td><h3>" . $winnerlist_result->bidders->bidder_assigned_number . "</h3></td>";
2018-06-11 13:43:21 -04:00
// do we need a new row?
if($i % 8 === 0){
echo "</tr><tr>";
}
// increase counter
$i++;
}
// end final row
echo "</tr>";
@endphp
</table>
</div>
</div>
</div>
</div>
</div>
@endsection