<?php $__currentLoopData = $hostels; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $hostel): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div onmouseout="itemMouseOut()" onmouseover="viewMarker('<?php echo e($hostel->name); ?>')" class="single-item single-item-2" data-url="<?php echo e(url('nha-tro/'.str_slug($hostel->name).'-'.$hostel->id)); ?>" data-hostel="<?php echo e($hostel->id); ?>" data-lat="<?php echo e($hostel->lat); ?>" data-lng="<?php echo e($hostel->lng); ?>" data-title="<?php echo e($hostel->name); ?>"> <div class="item-data-col flex-item flex-item-dw"> <a href="#" class="item__data-wrapper item-map" data-lat="<?php echo e($hostel->lat); ?>" data-lng="<?php echo e($hostel->lng); ?>" data-id="<?php echo e($hostel->id); ?>"> <h3 class="item__title">Nhà trọ <?php echo e(\App\Components\Functions::generateHostelName($hostel->name)); ?></h3> <div class="item__type"><?php echo e($hostel->type_rent_text); ?> <?php if($hostel->status_confirm == 1): ?> <span style="color: green">(<?php echo e($hostel->status_confirm_text); ?>)</span> <?php else: ?> <span>(<?php echo e($hostel->status_confirm_text); ?>)</span> <?php endif; ?> </div> <div class="item__address" style="word-break: break-all"><?php echo e($hostel->address); ?></div> </a> </div> <div class="item-action-col flex-item flex-item-tw"> <div class="item__actions-wrapper"> <a href="#" class="item__single-action item__single-action--call"> <i class="action-icon ion-android-chat"></i> <span class="action-label text-uppercase">Nhắn tin</span> </a> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>