Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/vendor/theseer/../egulias/.././unicodeveloper/.././nunomaduro/../mews/../ramsey/.././paypal/../unicodeveloper/././../ramsey/../webklex/laravel-imap/./././examples
الملفات الموجودة في هذا الـ Path:
.
..
custom_attachment_mask.php
custom_message_mask.php
folder_structure.blade.php
message_table.blade.php

مشاهدة ملف: message_table.blade.php

<?php
/*
 * File: message_table.blade.php
 * Category: View
 * Author: M.Goldenbaum
 * Created: 15.09.18 19:53
 * Updated: -
 *
 * Description:
 *  -
 */

/**
 * @var \Webklex\PHPIMAP\Support\MessageCollection $paginator
 * @var \Webklex\PHPIMAP\Message $oMessage
 */

?>
<table>
    <thead>
    <tr>
        <th>UID</th>
        <th>Subject</th>
        <th>From</th>
        <th>Attachments</th>
    </tr>
    </thead>
    <tbody>
    @if($paginator->count() > 0)
        @foreach($paginator as $oMessage)
            <tr>
                <td>{{$oMessage->getUid()}}</td>
                <td>{{$oMessage->getSubject()}}</td>
                <td>{{$oMessage->getFrom()[0]->mail}}</td>
                <td>{{$oMessage->getAttachments()->count() > 0 ? 'yes' : 'no'}}</td>
            </tr>
        @endforeach
    @else
        <tr>
            <td colspan="4">No messages found</td>
        </tr>
    @endif
    </tbody>
</table>

{{$paginator->links()}}