
@if(isset($data->original['data']) && count($data->original['data']) > 0)
    
    @for ($i = 0; $i < count($data->original['data']); $i++) 
        @php $rowData = $data->original['data'][$i]; @endphp
        
        <div class="col-sm-6 col-lg-3">
            <div class="event-grid">
                <div class="movie-thumb c-thumb">
                    <a href="{{route('front.event.detail', $rowData['event_name_slug'])}}">
                        <img src="{{asset('images/banner/'. $rowData['banner'])}}" alt="event">
                    </a>
                    <div class="event-date">
                        <h6 class="date-title">{{date("d",strtotime($rowData['start_date']))}}</h6>
                        <span>{{date("M",strtotime($rowData['start_date']))}}</span>
                    </div>
                </div>
                <div class="movie-content bg-one">
                    <h5 class="title m-0">
                        <a href="{{route('front.event.detail', $rowData['event_name_slug'])}}">{{$rowData['event_name']}}</a>
                    </h5>
                    <div class="movie-rating-percent limit-char">
                        <span>{{$rowData['address'].', '.$rowData['city_name']}}</span>
                    </div>
                </div>
            </div>
        </div>
    @endfor
@endif