<div class="container-fluid">
    <div class="page-title">
        <div class="row">
            <div class="col-md-6 col-sm-12">
                <h3 class="fw-bolder">Published Articles</h3>
            </div>
        </div>
    </div>
</div>
<!-- Container-fluid starts-->
<div class="container-fluid">
    <div class="row">
        <div class="col-sm-12">
            <div class="card">
                <div class="card-body">
                    <div class="table-responsive">
                        <table class="display" id="basic-1">
                            <thead>
                                <tr>
                                    <th>S.#</th>
                                    <th>Institute/Society Name</th>
                                    <th>City</th>
                                    <th>State</th>
                                    <th>Country</th>
                                    <th>Published Content</th>
                                </tr>
                            </thead>
                            <tbody>
                                @php $a=1; @endphp
                                @foreach($member_publish_manuscript as $key => $value)
                                <tr>
                                    <td>{{ $a }}</td>
                                    <td>{{ $value->name }}</td>
                                    <td>{{ $value->city }}</td>
                                    <td>{{ $value->state }}</td>
                                    <td>{{ $value->country }}</td>
                                    <td>
                                        @if($value->total == 0)
                                        {{$value->total}}
                                        @elseif(!empty($param['institution_associations']))
                                        <a class="text-dark" href="/member/manuscript-list/{{Crypt::encrypt($value->institution_id)}}"> <b>({{$value->total}})</b><i class="fa-solid fa-eye ml-1 text-info"></i></a>
                                        @else
                                        <a class="text-dark" href="/member/society-manuscript-list/{{$value->society_id}}"><b>({{$value->total}})</b><i class="fa-solid fa-eye ml-1 text-info"></i></a>
                                        @endif
                                    </td>
                                </tr>
                                @php $a++ @endphp
                                @endforeach
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>