Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/storage/framework/views/0354399c02b1502804d914d13e8cdb59.php
Назад
<?php $__env->startSection('title'); ?> <title><?php echo e($user->name); ?></title> <?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($user->name); ?></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($user->name); ?></li> </ol> </nav> </div> </div> </div> </div> </section> <!--===BREADCRUMB PART END====--> <!--=========AGENT PROFILE START===========--> <section class="wsus__agent_profile mt_45 mb_45"> <div class="container"> <div class="row"> <div class="col-xl-12"> <div class="wsus__main_agent"> <div class="row"> <div class="col-xl-4 col-md-6"> <div class="wsus__main_agent_img"> <img src="<?php echo e($user->image ? url($user->image) : asset($setting->default_avater)); ?>" alt="agent img" class="img-fluid w-100" loading="lazy"> </div> </div> <div class="col-xl-8 col-md-6"> <div class="wsus__main_agent_text"> <h2><?php echo e($user->name); ?></h2> <p class="agent_description"><?php echo clean($user->about); ?></p> <div class="wsus__main_agent_address"> <?php if($user->phone): ?> <a href="callto:<?php echo e($user->phone); ?>"><i class="fal fa-phone-alt"></i> <?php echo e($user->phone); ?></a> <?php endif; ?> <?php if($user->email): ?> <a href="mailto:<?php echo e($user->email); ?>"><i class="fal fa-envelope"></i> <?php echo e($user->email); ?></a> <?php endif; ?> <?php if($user->website): ?> <a href="<?php echo e($user->website); ?>"><i class="fas fa-globe" aria-hidden="true"></i> <?php echo e($user->website); ?></a> <?php endif; ?> <?php if($user->address): ?> <p><i class="fal fa-map-marker-alt"></i> <?php echo e($user->address); ?></p> <?php endif; ?> </div> <?php if($user_type==1): ?> <ul class="agent_profile_link"> <?php if($user->facebook): ?> <li><a href="<?php echo e($user->facebook); ?>"><i class="fab fa-facebook-f"></i></a></li> <?php endif; ?> <?php if($user->twitter): ?> <li><a href="<?php echo e($user->twitter); ?>"><i class="fab fa-twitter"></i></a></li> <?php endif; ?> <?php if($user->linkedin): ?> <li><a href="<?php echo e($user->linkedin); ?>"><i class="fab fa-linkedin-in"></i></a></li> <?php endif; ?> <?php if($user->whatsapp): ?> <li><a href="<?php echo e($user->whatsapp); ?>"><i class="fab fa-whatsapp"></i></a></li> <?php endif; ?> </ul> <?php else: ?> <ul class="agent_profile_link"> <?php if($user->icon_one && $user->link_one): ?> <li><a href="<?php echo e($user->link_one); ?>"><i class="<?php echo e($user->icon_one); ?>"></i></a></li> <?php endif; ?> <?php if($user->icon_two && $user->link_two): ?> <li><a href="<?php echo e($user->link_two); ?>"><i class="<?php echo e($user->icon_two); ?>"></i></a></li> <?php endif; ?> <?php if($user->icon_three && $user->link_three): ?> <li><a href="<?php echo e($user->link_three); ?>"><i class="<?php echo e($user->icon_three); ?>"></i></a></li> <?php endif; ?> <?php if($user->icon_four && $user->link_four): ?> <li><a href="<?php echo e($user->link_four); ?>"><i class="<?php echo e($user->icon_four); ?>"></i></a></li> <?php endif; ?> </ul> <?php endif; ?> </div> </div> </div> </div> </div> </div> <?php $isActivePropertyQty=0; foreach ($properties as $value) { if($value->expired_date==null){ $isActivePropertyQty +=1; }else if($value->expired_date >= date('Y-m-d')){ $isActivePropertyQty +=1; } } ?> <div class="row mt_45"> <div class="col-12"> <div class="wsus__property_topbar agent_det_topbar d-flex justify-content-between mb-4"> <h4><?php echo e(__('Properties')); ?></h4> <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> </div> <div class="col-xl-8 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; ?> <?php if($isActivePropertyQty > 0): ?> <div class="col-12"> <?php echo e($properties->links('custom_paginator')); ?> </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; ?> <?php if($isActivePropertyQty > 0): ?> <div class="col-12"> <?php echo e($properties->links('custom_paginator')); ?> </div> <?php endif; ?> </div> </div> </div> </div> <div class="col-xl-4" id="sticky_sidebar"> <form class="wsus__quick_contact" id="listingAuthContactForm"> <?php echo csrf_field(); ?> <?php echo csrf_field(); ?> <div class="row"> <div class="col-12 text-center"> <h4><?php echo e(__('Quick Contact')); ?></h4> </div> <div class="col-xl-12"> <div class="wsus__quick_con_single"> <label><?php echo e(__('Name')); ?></label> <input type="text" name="name"> </div> </div> <div class="col-xl-12"> <div class="wsus__quick_con_single"> <label><?php echo e(__('Email')); ?></label> <input type="email" name="email"> </div> </div> <div class="col-xl-12"> <div class="wsus__quick_con_single"> <label><?php echo e(__('Phone')); ?></label> <input type="text" name="phone"> </div> </div> <div class="col-xl-12"> <div class="wsus__quick_con_single"> <label><?php echo e(__('Subject')); ?></label> <input type="text" name="subject"> </div> </div> <div class="col-xl-12"> <div class="wsus__quick_con_single"> <label><?php echo e(__('Description')); ?></label> <textarea cols="3" rows="5" name="message"></textarea> <input type="hidden" name="user_type" value="<?php echo e($user_type); ?>"> <?php if($user_type==1): ?> <input type="hidden" name="admin_id" value="<?php echo e($user->id); ?>"> <?php else: ?> <input type="hidden" name="user_id" value="<?php echo e($user->id); ?>"> <?php endif; ?> <?php if($setting->recaptcha_status == 'active'): ?> <p class="g-recaptcha mb-3" data-sitekey="<?php echo e($setting->recaptcha_site_key); ?>"></p> <?php endif; ?> <button type="submit" class="common_btn" id="listingAuthorContctBtn"><i id="listcontact-spinner" class="loading-icon fa fa-spin fa-spinner d-none mr-5"></i> <?php echo e(__('Send Message')); ?></button> </div> </div> </div> </form> </div> </div> </div> </section> <!--=========AGENT PROFILE END==========--> <?php $__env->stopSection(); ?> <?php $__env->startPush('js'); ?> <script src="https://www.google.com/recaptcha/api.js" async defer></script> <script> (function($) { "use strict"; $(document).ready(function() { $("#listingAuthContactForm").on('submit', function(e) { e.preventDefault(); // project demo mode check var isDemo = "<?php echo e(env('APP_MODE') ?? 'LIVE'); ?>" var demoNotify = "<?php echo e(__('This Is Demo Version. You Can Not Change Anything')); ?>" if (isDemo == 'DEMO') { toastr.error(demoNotify); return; } // end $("#listcontact-spinner").removeClass('d-none') $("#listingAuthorContctBtn").addClass('custom-opacity') $("#listingAuthorContctBtn").attr('disabled', true); $("#listingAuthorContctBtn").removeClass('site-btn-effect') $.ajax({ url: "<?php echo e(route('send-agent-contact-message')); ?>", type: "post", data: $('#listingAuthContactForm').serialize(), success: function(response) { if (response.success) { $("#listingAuthContactForm").trigger("reset"); toastr.success(response.success) $("#listcontact-spinner").addClass('d-none') $("#listingAuthorContctBtn").removeClass('custom-opacity') $("#listingAuthorContctBtn").attr('disabled', false); $("#listingAuthorContctBtn").addClass('site-btn-effect') } if (response.error) { toastr.error(response.error) $("#listcontact-spinner").addClass('d-none') $("#listingAuthorContctBtn").removeClass('custom-opacity') $("#listingAuthorContctBtn").attr('disabled', false); $("#listingAuthorContctBtn").addClass('site-btn-effect') } }, error: function(response) { if (response.responseJSON.errors.name) { $("#listcontact-spinner").addClass('d-none') $("#listingAuthorContctBtn").removeClass('custom-opacity') $("#listingAuthorContctBtn").attr('disabled', false); $("#listingAuthorContctBtn").addClass('site-btn-effect') toastr.error(response.responseJSON.errors.name[0]) } if (response.responseJSON.errors.email) { toastr.error(response.responseJSON.errors.email[0]) $("#listcontact-spinner").addClass('d-none') $("#listingAuthorContctBtn").removeClass('custom-opacity') $("#listingAuthorContctBtn").attr('disabled', false); $("#listingAuthorContctBtn").addClass('site-btn-effect') } if (response.responseJSON.errors.phone) { toastr.error(response.responseJSON.errors.phone[0]) $("#listcontact-spinner").addClass('d-none') $("#listingAuthorContctBtn").removeClass('custom-opacity') $("#listingAuthorContctBtn").attr('disabled', false); $("#listingAuthorContctBtn").addClass('site-btn-effect') } if (response.responseJSON.errors.subject) { toastr.error(response.responseJSON.errors.subject[0]) $("#listcontact-spinner").addClass('d-none') $("#listingAuthorContctBtn").removeClass('custom-opacity') $("#listingAuthorContctBtn").attr('disabled', false); $("#listingAuthorContctBtn").addClass('site-btn-effect') } if (response.responseJSON.errors.message) { toastr.error(response.responseJSON.errors.message[0]) $("#listcontact-spinner").addClass('d-none') $("#listingAuthorContctBtn").removeClass('custom-opacity') $("#listingAuthorContctBtn").attr('disabled', false); $("#listingAuthorContctBtn").addClass('site-btn-effect') } else { toastr.error( 'Please Complete the recaptcha to submit the form') $("#listcontact-spinner").addClass('d-none') $("#listingAuthorContctBtn").removeClass('custom-opacity') $("#listingAuthorContctBtn").attr('disabled', false); $("#listingAuthorContctBtn").addClass('site-btn-effect') } if (response.responseJSON.errors.g - recaptcha) { toastr.error( 'Please Complete the recaptcha to submit the form') $("#listcontact-spinner").addClass('d-none') $("#listingAuthorContctBtn").removeClass('custom-opacity') $("#listingAuthorContctBtn").attr('disabled', false); $("#listingAuthorContctBtn").addClass('site-btn-effect') } } }); }) }); })(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/agent-details.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка