Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/storage/framework/views/8a49d5d6e98dc2da9dd318086414bc61.php
Назад
<?php $__env->startSection('title'); ?> <title><?php echo e($seoSetting->seo_title); ?></title> <?php $__env->stopSection(); ?> <?php $__env->startSection('meta'); ?> <meta name="description" content="<?php echo e($seoSetting->seo_description); ?>"> <?php $__env->stopSection(); ?> <?php $__env->startSection('frontend-content'); ?> <!--===BREADCRUMB PART START====--> <section class="wsus__breadcrumb" style="background: url(<?php echo e($setting->breadcrumb_image ? asset($setting->breadcrumb_image) : ''); ?>);"> <div class="wsus_bread_overlay"> <div class="container"> <div class="row"> <div class="col-12 text-center"> <h4><?php echo e(__('Our Property')); ?></h4> <nav style="--bs-breadcrumb-divider: '-';" aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="<?php echo e(route('home')); ?>"><?php echo e(__('Home')); ?></a></li> <li class="breadcrumb-item active" aria-current="page"><?php echo e(__('Our Property')); ?></li> </ol> </nav> </div> </div> </div> </div> </section> <!--===BREADCRUMB PART END====--> <?php $search_url = request()->fullUrl(); $get_url = substr($search_url, strpos($search_url, "?") + 1); $grid_url=''; $list_url=''; $isSortingId=0; $page_type=request()->get('page_type') ; if($page_type=='list_view'){ $grid_url=str_replace('page_type=list_view','page_type=grid_view',$search_url); $list_url=str_replace('page_type=list_view','page_type=list_view',$search_url); }else if($page_type=='grid_view'){ $grid_url=str_replace('page_type=grid_view','page_type=grid_view',$search_url); $list_url=str_replace('page_type=grid_view','page_type=list_view',$search_url); } if(request()->has('sorting_id')){ $isSortingId=1; } ?> <!--=====PROPERTY PAGE START=====--> <section class="wsus__property_page mt_45 mb_45"> <div class="container"> <div class="row"> <div class="col-xl-8"> <div class="row"> <div class="col-12"> <div class="wsus__property_topbar d-flex justify-content-between mb-4"> <ul class="nav nav-pills" id="pills-tab" role="tablist"> <li class="nav-item" role="presentation"> <button class="nav-link active" id="pills-home-tab" data-bs-toggle="pill" data-bs-target="#pills-home" type="button" role="tab" aria-controls="pills-home" aria-selected="true"> <i class="fas fa-th-large"></i> </button> </li> <li class="nav-item" role="presentation"> <button class="nav-link" id="pills-profile-tab" data-bs-toggle="pill" data-bs-target="#pills-profile" type="button" role="tab" aria-controls="pills-profile" aria-selected="false"> <i class="far fa-stream"></i> </button> </li> </ul> <div class="wsus__property_top_select"> <?php if($isSortingId==1): ?> <select class="select_2" id="sortingId"> <option <?php echo e(request()->get('sorting_id')==1 ? 'selected' : ''); ?> value="1"><?php echo e(__('Default Order')); ?></option> <option <?php echo e(request()->get('sorting_id')==2 ? 'selected' : ''); ?> value="2"><?php echo e(__('Most Views')); ?></option> <option <?php echo e(request()->get('sorting_id')==3 ? 'selected' : ''); ?> value="3"><?php echo e(__('Featured')); ?></option> <option <?php echo e(request()->get('sorting_id')==4 ? 'selected' : ''); ?> value="4"><?php echo e(__('Top')); ?></option> <option <?php echo e(request()->get('sorting_id')==5 ? 'selected' : ''); ?> value="5"><?php echo e(__('New')); ?></option> <option <?php echo e(request()->get('sorting_id')==6 ? 'selected' : ''); ?> value="6"><?php echo e(__('Urgent')); ?></option> <option <?php echo e(request()->get('sorting_id')==7 ? 'selected' : ''); ?> value="7"><?php echo e(__('Oldest')); ?></option> </select> <?php else: ?> <select class="select_2" id="sortingId"> <option value="1"><?php echo e(__('Default Order')); ?></option> <option value="2"><?php echo e(__('Most Views')); ?></option> <option value="3"><?php echo e(__('Featured')); ?></option> <option value="4"><?php echo e(__('Top')); ?></option> <option value="5"><?php echo e(__('New')); ?></option> <option value="6"><?php echo e(__('Urgent')); ?></option> <option value="7"><?php echo e(__('Oldest')); ?></option> </select> <?php endif; ?> </div> </div> </div> <?php $isActivePropertyQty=0; foreach ($properties as $value) { if($value->expired_date >= date('Y-m-d')){ $isActivePropertyQty +=1; } } ?> <div class="col-12"> <div class="tab-content" id="pills-tabContent"> <div class="tab-pane fade show active" id="pills-home" role="tabpanel" aria-labelledby="pills-home-tab"> <div class="row"> <?php if($isActivePropertyQty > 0): ?> <?php $__currentLoopData = $properties; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $property): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-xl-6 col-md-6"> <div class="wsus__single_property"> <div class="wsus__single_property_img"> <img src="<?php echo e(asset($property->thumbnail_image)); ?>" alt="properties" class="img-fluid w-100" loading="lazy"> <?php if($property->property_purpose_id==1): ?> <span class="sale"><?php echo e($property->propertyPurpose->translation?->title); ?></span> <?php elseif($property->property_purpose_id==2): ?> <span class="sale"><?php echo e($property->propertyPurpose->translation?->title); ?></span> <?php endif; ?> <?php if($property->urgent_property==1): ?> <span class="rent"><?php echo e(__('Urgent')); ?></span> <?php endif; ?> </div> <div class="wsus__single_property_text"> <?php if($property->property_purpose_id==1): ?> <span class="tk"><?php echo e(currency($property->price)); ?></span> <?php elseif($property->property_purpose_id==2): ?> <span class="tk"><?php echo e(currency($property->price)); ?> / <?php if($property->period=='Daily'): ?> <span><?php echo e(__('Daily')); ?></span> <?php elseif($property->period=='Monthly'): ?> <span><?php echo e(__('Monthly')); ?></span> <?php elseif($property->period=='Yearly'): ?> <span><?php echo e(__('Yearly')); ?></span> <?php endif; ?> </span> <?php endif; ?> <a href="<?php echo e(route('property.details',$property->slug)); ?>" class="title w-100"><?php echo e($property->translation->title); ?></a> <ul class="d-flex flex-wrap justify-content-between"> <li><i class="fal fa-bed"></i> <?php echo e($property->number_of_bedroom); ?> <?php echo e(__('Bed')); ?></li> <li><i class="fal fa-shower"></i> <?php echo e($property->number_of_bathroom); ?> <?php echo e(__('Bath')); ?></li> <li><i class="fal fa-draw-square"></i> <?php echo e($property->area); ?> <?php echo e(__('Sqft')); ?></li> </ul> <div class="wsus__single_property_footer d-flex justify-content-between align-items-center"> <a href="<?php echo e(route('search-property',['page_type' => 'list_view','property_type' => $property->propertyType->id])); ?>" class="category"><?php echo e($property->propertyType->translation?->title); ?></a> <?php $total_review=$property->reviews->where('status',1)->count(); if($total_review > 0){ $avg_sum=$property->reviews->where('status',1)->sum('avarage_rating'); $avg=$avg_sum/$total_review; $intAvg=intval($avg); $nextVal=$intAvg+1; $reviewPoint=$intAvg; $halfReview=false; if($intAvg < $avg && $avg < $nextVal){ $reviewPoint= $intAvg + 0.5; $halfReview=true; } } ?> <?php if($total_review > 0): ?> <span class="rating"><?php echo e(sprintf("%.1f", $reviewPoint)); ?> <?php for($i = 1; $i <=5; $i++): ?> <?php if($i <= $reviewPoint): ?> <i class="fas fa-star"></i> <?php elseif($i> $reviewPoint ): ?> <?php if($halfReview==true): ?> <i class="fas fa-star-half-alt"></i> <?php $halfReview=false ?> <?php else: ?> <i class="fal fa-star"></i> <?php endif; ?> <?php endif; ?> <?php endfor; ?> </span> <?php else: ?> <span class="rating">0.0 <?php for($i = 1; $i <=5; $i++): ?> <i class="fal fa-star"></i> <?php endfor; ?> </span> <?php endif; ?> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <div class="col-12 text-center"> <h3 class="text-danger"><?php echo e(__('Property Not Found')); ?></h3> </div> <?php endif; ?> </div> </div> <div class="tab-pane fade" id="pills-profile" role="tabpanel" aria-labelledby="pills-profile-tab"> <div class="row list_view"> <?php if($isActivePropertyQty > 0): ?> <?php $__currentLoopData = $properties; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $property): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-12"> <div class="wsus__single_property"> <div class="wsus__single_property_img"> <img src="<?php echo e(asset($property->thumbnail_image)); ?>" alt="properties" class="img-fluid w-100" loading="lazy"> </div> <div class="wsus__single_property_text"> <?php if($property->property_purpose_id==1): ?> <span class="sale"><?php echo e($property->propertyPurpose->translation?->title); ?></span> <?php elseif($property->property_purpose_id==2): ?> <span class="sale"><?php echo e($property->propertyPurpose->translation?->title); ?></span> <?php endif; ?> <?php if($property->urgent_property==1): ?> <span class="rent"><?php echo e(__('Urgent')); ?></span> <?php endif; ?> <?php if($property->property_purpose_id==1): ?> <span class="tk"><?php echo e(currency($property->price )); ?></span> <?php elseif($property->property_purpose_id==2): ?> <span class="tk"><?php echo e(currency($property->price )); ?> / <?php if($property->period=='Daily'): ?> <span><?php echo e(__('Daily')); ?></span> <?php elseif($property->period=='Monthly'): ?> <span><?php echo e(__('Monthly')); ?></span> <?php elseif($property->period=='Yearly'): ?> <span><?php echo e(__('Yearly')); ?></span> <?php endif; ?> </span> <?php endif; ?> <a href="<?php echo e(route('property.details',$property->slug)); ?>" class="title w-100"><?php echo e($property->translation->title); ?></a> <ul class="d-flex flex-wrap justify-content-between"> <li><i class="fal fa-bed"></i> <?php echo e($property->number_of_bedroom); ?> <?php echo e(__('Bed')); ?></li> <li><i class="fal fa-shower"></i> <?php echo e($property->number_of_bathroom); ?> <?php echo e(__('Bath')); ?></li> <li><i class="fal fa-draw-square"></i> <?php echo e($property->area); ?> <?php echo e(__('Sqft')); ?></li> </ul> <div class="wsus__single_property_footer d-flex justify-content-between align-items-center"> <a href="<?php echo e(route('search-property',['page_type' => 'list_view','property_type' => $property->propertyType->id])); ?>" class="category"><?php echo e($property->propertyType->translation?->title); ?></a> <?php $total_review=$property->reviews->where('status',1)->count(); if($total_review > 0){ $avg_sum=$property->reviews->where('status',1)->sum('avarage_rating'); $avg=$avg_sum/$total_review; $intAvg=intval($avg); $nextVal=$intAvg+1; $reviewPoint=$intAvg; $halfReview=false; if($intAvg < $avg && $avg < $nextVal){ $reviewPoint= $intAvg + 0.5; $halfReview=true; } } ?> <?php if($total_review > 0): ?> <span class="rating"><?php echo e(sprintf("%.1f", $reviewPoint)); ?> <?php for($i = 1; $i <=5; $i++): ?> <?php if($i <= $reviewPoint): ?> <i class="fas fa-star"></i> <?php elseif($i> $reviewPoint ): ?> <?php if($halfReview==true): ?> <i class="fas fa-star-half-alt"></i> <?php $halfReview=false ?> <?php else: ?> <i class="fal fa-star"></i> <?php endif; ?> <?php endif; ?> <?php endfor; ?> </span> <?php else: ?> <span class="rating">0.0 <?php for($i = 1; $i <=5; $i++): ?> <i class="fal fa-star"></i> <?php endfor; ?> </span> <?php endif; ?> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <div class="col-12 text-center"> <h3 class="text-danger"><?php echo e(__('Property Not Found')); ?></h3> </div> <?php endif; ?> </div> </div> </div> </div> <?php if($isActivePropertyQty > 0): ?> <div class="col-12"> <?php echo e($properties->links('custom_paginator')); ?> </div> <?php endif; ?> </div> </div> <div class="col-xl-4"> <div class="wsus__search_property" id="sticky_sidebar"> <h3><?php echo e(__('Find Your Property')); ?> </h3> <form method="GET" action="<?php echo e(route('search-property')); ?>"> <div class="wsus__single_property_search"> <label><?php echo e(__('Keyword')); ?></label> <input type="text" name="search" value="<?php echo e(request()->has('search') ? request()->get('search') : ''); ?>"> </div> <input type="hidden" name="page_type" value="<?php echo e($page_type); ?>"> <div class="wsus__single_property_search"> <label><?php echo e(__('Location')); ?></label> <select class="select_2" name="city_id"> <option value=""><?php echo e(__('Location')); ?></option> <?php $__currentLoopData = $cities; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $city): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if(request()->has('city_id')): ?> <option <?php echo e(request()->get('city_id') == $city->id ? 'selected' : ''); ?> value="<?php echo e($city->id); ?>"><?php echo e($city->title); ?></option> <?php else: ?> <option value="<?php echo e($city->id); ?>"><?php echo e($city->title); ?></option> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="wsus__single_property_search"> <label><?php echo e(__('Property Type')); ?></label> <select class="select_2" name="property_type"> <option value=""><?php echo e(__('Property Type')); ?></option> <?php $__currentLoopData = $propertyTypes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $propertyType): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if(request()->has('property_type')): ?> <option <?php echo e(request()->get('property_type') == $propertyType->id ? 'selected' : ''); ?> value="<?php echo e($propertyType->id); ?>"><?php echo e($propertyType->translation?->title); ?></option> <?php else: ?> <option value="<?php echo e($propertyType->id); ?>"><?php echo e($propertyType->translation?->title); ?></option> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="wsus__single_property_search"> <label><?php echo e(__('Property Purpose')); ?></label> <select class="select_2" name="purpose_type"> <?php if(request()->has('purpose_type')): ?> <option value=""><?php echo e(__('Any')); ?></option> <option <?php echo e(request()->get('purpose_type') == 1 ? 'selected' : ''); ?> value="1"><?php echo e(__('Sell')); ?></option> <option <?php echo e(request()->get('purpose_type') == 2 ? 'selected' : ''); ?> value="2"><?php echo e(__('Rent')); ?></option> <?php else: ?> <option value=""><?php echo e(__('Any')); ?></option> <option value="1"><?php echo e(__('Sell')); ?></option> <option value="2"><?php echo e(__('Rent')); ?></option> <?php endif; ?> </select> </div> <div class="wsus__single_property_search"> <label><?php echo e(__('Price Range')); ?></label> <select class="select_2" name="price_range"> <option value=""><?php echo e(__('Price Range')); ?></option> <?php $min_price = $minimum_price; ?> <?php for($i = 1; $i <= 10; $i++): ?> <?php if(request()->has('price_range')): ?> <?php $max_price = $minimum_price + ($price_step * $i); $value = $min_price.':'.$max_price; ?> <option <?php echo e($value == request()->get('price_range') ? 'selected' : ''); ?> value="<?php echo e($value); ?>"><?php echo e(currency($min_price)); ?> - <?php echo e(currency($max_price)); ?></option> <?php $min_price = $max_price + 1; ?> <?php else: ?> <?php $max_price = $minimum_price + ($price_step * $i); $value = $min_price.':'.$max_price; ?> <option value="<?php echo e($value); ?>"><?php echo e(currency($min_price)); ?> - <?php echo e(currency($max_price)); ?></option> <?php $min_price = $max_price + 1; ?> <?php endif; ?> <?php endfor; ?> </select> </div> <div class="wsus__single_property_search"> <label><?php echo e(__('Number Of Rooms')); ?></label> <select class="select_2" name="number_of_room"> <option value=""><?php echo e(__('Number Of Rooms')); ?></option> <?php for($i = 1; $i <= $max_number_of_room; $i++): ?> <?php if(request()->has('number_of_room')): ?> <option <?php echo e(request()->get('number_of_room') == $i ? 'selected' : ''); ?> value="<?php echo e($i); ?>"><?php echo e($i); ?> <?php echo e(__('Rooms or less')); ?></option> <?php else: ?> <option value="<?php echo e($i); ?>"><?php echo e($i); ?> <?php echo e(__('Rooms or less')); ?></option> <?php endif; ?> <?php endfor; ?> </select> </div> <div class="wsus__single_property_search"> <label><?php echo e(__('Property Id')); ?></label> <input type="text" name="property_id" value="<?php echo e(request()->has('property_id') ? request()->get('property_id') : ''); ?>"> </div> <?php $searhAminities=request()->get('aminity') ; $isCollapse=false; if(request()->has('aminity')){ $isCollapse=true; } ?> <div class="wsus__single_property_search_check"> <div class="accordion" id="accordionExample"> <div class="accordion-item"> <h2 class="accordion-header" id="headingThree"> <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree"> <?php echo e(__('Amenities')); ?> </button> </h2> <div id="collapseThree" class="accordion-collapse collapse <?php echo e($isCollapse ? 'show' : ''); ?>" aria-labelledby="headingThree" data-bs-parent="#accordionExample"> <div class="accordion-body"> <?php if(request()->has('aminity')): ?> <?php $__currentLoopData = $aminities; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $aminity): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $isChecked=false; ?> <?php $__currentLoopData = $searhAminities; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $searhAminity): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($searhAminity==$aminity->id): ?> <?php $isChecked=true; ?> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <div class="form-check"> <input <?php echo e($isChecked ? 'checked' : ''); ?> name="aminity[]" class="form-check-input" type="checkbox" value="<?php echo e($aminity->id); ?>" id="flexCheckDefault-<?php echo e($aminity->id); ?>"> <label class="form-check-label" for="flexCheckDefault-<?php echo e($aminity->id); ?>"> <?php echo e($aminity->translation?->title); ?> </label> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <?php $__currentLoopData = $aminities; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $aminity): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="form-check"> <input name="aminity[]" class="form-check-input" type="checkbox" value="<?php echo e($aminity->id); ?>" id="flexCheckDefault-<?php echo e($aminity->id); ?>"> <label class="form-check-label" for="flexCheckDefault-<?php echo e($aminity->id); ?>"> <?php echo e($aminity->translation?->title); ?> </label> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </div> </div> </div> </div> </div> <button type="submit" class="common_btn2"><?php echo e(__('Search')); ?></button> </form> </div> </div> </div> </div> </section> <!--=====PROPERTY PAGE END=====--> <?php $__env->stopSection(); ?> <?php $__env->startPush('js'); ?> <script> (function($) { "use strict"; $(document).ready(function () { $("#sortingId").on("change",function(){ var id=$(this).val(); var isSortingId='<?php echo $isSortingId; ?>' var query_url='<?php echo $search_url; ?>'; if(isSortingId==0){ var sorting_id="&sorting_id="+id; query_url += sorting_id; }else{ var href = new URL(query_url); href.searchParams.set('sorting_id', id); query_url=href.toString() } window.location.href = query_url; }) }); })(jQuery); </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layout1', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/lekhnath/silverray.com.au/resources/views/property.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0.03 |
proxy
|
phpinfo
|
Настройка