<div class="row">
    <div class="col-12">
        <div class="card mb-5">
            <div class="card-header">
                <div>
                    <span class="card-title"><i class="ri-notification-line"></i> İşlem Kayıtları</span>
                </div>
            </div>
            <div class="card-content">
                <table class="btable">
                    <thead>
                        <tr>
                            <th>Kayıt No</th>
                            <th style="width:25%">Mesaj</th>
                            <th>IP Adresi</th>
                            <th>Tarih</th>
                        </tr>
                    </thead>
                    <tbody>
                        @if($items)
                        @foreach($items as $item)
                        @php $mldata = json_decode($item['mldata'],true); @endphp
                        <tr>
                            <td>
                                <span># dPm-{{ $item['mlid'] }}</span>
                            </td>
                            <td>
                                <div>
                                    <span class="first-row">{{ $item['mlname'] }}</span>
                                    <span class="second-row">{{ $item['mldescription'] }}</span>
                                </div>
                            </td>
                            <td>
                                <span>{{ $mldata['ipaddress'] }}</span>
                            </td>
                            <td>
                                <span class="first-row">{{ beSpecialTime($item['mldateline']) }}</span>
                            </td>
                        </tr>
                        @endforeach
                        @else
                        <tr>
                            <td colspan="6">
                                <div class="my-3">Bu kısımda gösterilicek bir veri bulunamadı!</div>
                            </td>
                        </tr>
                        @endif
                    </tbody>
                </table>
            </div>
        </div>
        @if($itemcount > 15)
        <div class="card row-flex row-center">
            {{ $paganation['paganation'] }}
        </div>
        @endif
    </div>
</div>