@if($nm->count()) <table class="table monotable"> <thead> <tr> <th colspan="4">Netmails</th> </tr> <tr> <th>From</th> <th>To</th> <th>MSGID</th> <th>Date</th> </tr> </thead> <tbody> @foreach ($nm as $oo) <tr> <td>{{ $oo->fftn->ftn }}</td> <td>{{ $oo->tftn->ftn }}</td> <td> @if ($oo->msgid) {{ $oo->msgid }} @else <small>[{{ $oo->id }}]</small> @endif </td> <td>{{ $oo->datetime }}</td> </tr> @endforeach </tbody> </table> @endif @if($em->count()) <table class="table monotable"> <thead> <tr> <th colspan="4">Echomails</th> </tr> <tr> <th>From</th> <th>MSGID</th> <th>Echoarea</th> <th>Date</th> </tr> </thead> <tbody> @foreach ($em as $oo) <tr> <td>{{ $oo->fftn->ftn }}</td> <td>{{ $oo->msgid }}</td> <td>{{ $oo->echoarea->name }}</td> <td>{{ $oo->datetime }}</td> </tr> @endforeach </tbody> </table> @endif