Whoops, looks like something went wrong.
1/1
ErrorException in Filesystem.php line 81:
file_put_contents(/36cd3f9eb604d803e65279948e63a9e9): failed to open stream: Permission denied
- in Filesystem.php line 81
- at HandleExceptions->handleError('2', 'file_put_contents(/36cd3f9eb604d803e65279948e63a9e9): failed to open stream: Permission denied', '/home/buydmci/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php', '81', array('path' => '/36cd3f9eb604d803e65279948e63a9e9', 'contents' => '<?php $__env->startSection('title', $countProjects." Real Estate Properties For Sale In The Philippines."); ?>
<?php $__env->startSection('meta_title', $countProjects.' Real Estate Projects for sale in the Philippines. For Price List, model house, floor plans, payment terms, CHAT LIVE with an agent 24x7'); ?>
<?php $__env->startSection('page_title'); ?>
Cities
<?php $__env->stopSection(); ?>
<?php $__env->startSection('sub_page_title'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<style type="text/css">
.ui-autocomplete i {font-size: 14px; margin-left: 5px;}
</style>
<section id="references" class="section popular">
<div class="container">
<div class="developer hlocation">
<h2>Popular locations</h2>
<div class="row">
<?php if($fLocations): ?>
<?php foreach($fLocations as $city): ?>
<?php if($city->properties > 0): ?>
<div class="col-md-3 col-sm-4 col-xs-12 cities" itemscope itemtype="https://schema.org/PostalAddress">
<div class="thumbnail">
<a itemprop="url" href="<?php echo e(action('PropertyController@propertiesByLocation', array(implode('-', explode(' ', $city->province_name)), implode('-', explode(' ', $city->city_name))) )); ?>">
<img style="width: 257px; height: 188px;" width ="257" height="188" title="Real Estate in <?php echo e($city->city_name); ?>" alt="Real Estate in <?php echo e($city->city_name); ?>" itemprop="image" src="<?php echo e(!empty($city->add_image) ? config('multisite.image_site').'/'. $city->add_image : config('multisite.image_site').'/no-image.jpg'); ?>" />
</a>
<a itemprop="url" href="<?php echo e(action('PropertyController@propertiesByLocation', array(implode('-', explode(' ', $city->province_name)), implode('-', explode(' ', $city->city_name))) )); ?>" rel="nofollow">
<div class="content-overlay">
<div class="col-md-12 city_name-location">
<span><?php echo e($city->properties); ?></span>
</div>
<div class="col-md-11 property_name" itemprop="name" >
<?php echo e($city->city_name); ?>
</div>
<span style="display:none;" itemprop="addressLocality"><?php echo e($city->city_name); ?></span>
<span style="display:none;" itemprop="addressRegion"><?php echo e($city->province_name); ?></span>
<span style="display:none;" itemprop="addressCountry">PH</span>
</div>
<div class="buttons-overlay">
</div>
</a>
</div>
</div>
<?php endif; ?>
<?php endforeach; ?>
<?php endif; ?>
</div>
</div>
<div class="line">
<img src="https://www.phrealestate.com/assets/images/phpagebreak2.jpg" height="625" alt="Real Estate For Sale In The Philippines" title="Real Estate For Sale In The Philippines" />
</div>
</div>
</section>
<!-- -->
<section id="references" class="section">
<div class="container">
<div class="developer hdeveloper">
<h2>Popular Developers</h2>
<div class="row">
<?php if($fDevelopers): ?>
<?php foreach($fDevelopers as $developer): ?>
<?php if($developer->properties > 0): ?>
<div class="col-md-3 col-sm-4 col-xs-12 developers" itemscope itemtype="https://schema.org/RealEstateAgent">
<div class="thumbnail">
<!-- <a itemprop="url" href="<?php echo e(action('ClientController@propertyByCity', array(strtolower(str_replace(' ', '-',$developer->developer_name))) )); ?>"> -->
<a itemprop="url" href="/projects/<?php echo e(implode('-', explode(' ', strtolower($developer->developer_name)))); ?>">
<img style="height: 135px; width: 245px;" height="135" width="245" title="<?php echo e($developer->developer_name); ?> Properties" alt="<?php echo e($developer->developer_name); ?> Properties" itemprop="image" src="<?php echo e(!empty($developer->add_image) ? config('multisite.image_site').'/'. $developer->add_image : config('multisite.image_site').'/no-image.jpg'); ?>" />
</a>
<div class="content-overlay">
<div class="col-md-12 property_name">
<!-- <a itemprop="url" href="<?php echo e(action('ClientController@propertyByCity', array(strtolower(str_replace(' ', '-',$developer->developer_name))) )); ?>"> -->
<a itemprop="url" href="/projects/<?php echo e(implode('-', explode(' ', strtolower($developer->developer_name)))); ?>">
<span class="pull-right"><?php echo e($developer->properties); ?> Projects</span>
<span itemprop="name" style="display:none;"><?php echo e($developer->developer_name); ?>
</span>
</a>
</div>
</div>
<!-- <a href="<?php echo e(action('ClientController@propertyByCity', array(strtolower(str_replace(' ', '-',$developer->developer_name))) )); ?>"> -->
<a itemprop="url" href="/projects/<?php echo e(implode('-', explode(' ', strtolower($developer->developer_name)))); ?>">
<div class="buttons-overlay">
</div>
</a>
</div>
</div>
<?php endif; ?>
<?php endforeach; ?>
<?php endif; ?>
</div>
</div>
<!-- -->
<div style="clear:both"></div>
</div>
</section>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('footer_script'); ?>
<script src="https://www.phrealestate.com/js/jquery-ui.min.js"></script>
<script>
$(function(){
$("#autocomplete_field").autocomplete({
delay: 10,
autoFocus: true,
source: function(request, response){
$.ajax({
/* Snip */
dataType: "json",
type : 'Get',
url: "<?php echo e(action('ClientController@fetchCities')); ?>?term="+request.term,
beforeSend: function (){
$(".fa-spin.fa-spinner").show();
$(".fa.fa-map-marker").hide();
$("#search_it").attr('disabled', true);
$("#autocomplete_field").css({"padding-left": "30px;"});
},
success: function(data) {
$(".fa-spin.fa-spinner").hide();
$(".fa.fa-map-marker").show();
$("#search_it").removeAttr('disabled');
$("#autocomplete_field").css({"padding-left": "20px;"});
response(data);
}
});
},
minLength: 2,
appendTo: ".autocomplete-container",
open: function(event, ui) {
$(".ui-autocomplete").css({
"background": "#fff none repeat scroll 0 0",
"color": "#000",
"display": "block",
"left": "15px",
"list-style": "outside none none",
"padding-left": "0",
"position": "absolute",
"top": "40px",
"width": "91%",
"z-index": "99999",
"padding": "6px 12px",
"font-size": '18px',
"font-weight": "normal",
"text-align" : "left",
"font-family" : 'inherit',
"max-height": "150px",
"overflow-y": "scroll",
"z-index": "99"
});
},
search: function( event, ui ) {
$(".fa-spin.fa-spinner").show();
$(".fa.fa-map-marker").hide();
$("#search_it").attr('disabled', true);
},
change: function( event, ui ) {
if( ui.item == null ) {
$(".autocomplete-container label.error").text('Invalid Location');
$("#search_it").removeAttr('disabled');
$("#city").val(ui.item.city_name);
$("#province").val(ui.item.province_name);
$("#area").val(ui.item.area_name);
}
},
select: function( event, ui ) {
$(".autocomplete-container label.error").text('');
$(".fa-spin.fa-spinner").hide();
$(".fa.fa-map-marker").show();
// log( ui.item ? "Selected: " + ui.item.value + " aka " + ui.item.id : "Nothing selected, input was " + this.value );
$("#search_it").removeAttr('disabled');
$("#city").val(ui.item.city_name);
$("#province").val(ui.item.province_name);
$("#area").val(ui.item.area_name);
}
}).data("ui-autocomplete")._renderItem = function (ul, item) {
return $("<li></li>")
.data("item.autocomplete", item)
.append("<a>" + item.label + " <i>("+item.sub_label+")<i></a>")
.appendTo(ul);
};
$("#province").change(function(){
$("#city").find('option:first-child').text('Processing ...');
var url = getvalidUrl('ClientController@fetchCities', $(this).val());
$.ajax({
url:url,
type: 'GET',
beforeSend: function () {
$("#city").find('option:first-child').text('Processing ...');
}
}).done(function(response) {
$("#city").find('option').remove();
$("#city").append(response);
});
});
// ---------------------
$("#search_it").on('click', function(e){
var listing = $("#listing").val();
var project = $("#project").val();
var city = $("#city").val();
var province = $("#province").val();
var area = $("#area").val();
var url = "/projects";
if(province != ''){
province = 'ph/'+province;
}
url += listing != '' ? '/'+listing.split(' ').join('-') : '';
url += project != '' ? '/'+project.split(' ').join('-') : '';
url += province != '' ? '/'+province.split(' ').join('-') : '';
url += city != '' ? '/'+city.split(' ').join('-') : '';
url += area != '' ? '/'+area.split(' ').join('-') : '';
//alert(url);
window.location =url;
//var param =[listing.split(' ').join('-'), project.split(' ').join('-'), location.split(' ').join('-')];
//console.log(param);
//var url = getvalidUrl('ClientController@propertyiesBySearch', param );
//window.location = url;
});
});
</script>
<script type="text/javascript">
function submitForm () {
if(!$("#search_it").attr('disabled')) {
$("#search_it").trigger('click');
} else {
$(".autocomplete-container label.error").text('Invalid Location');
}
return false;
}
function assignIt(id, name, location){
var data = localStorage.getItem('inquire_<?php echo e(config("multisite.site_id")); ?>');
///var data =jQuery.parseJSON(data);
console.log(jQuery.parseJSON(data));
$("span.property_name, strong.property_name").text(name);
$("span.location_name").text(location);
$('#property_id').val(id);
$.each(JSON.parse(data), function(key, value){
$("#"+key).val(value);
});
$("#is_unit").val('no');
}
$(function(){
$('#project_form').on('submit', function(event) {
event.preventDefault();
$.ajax({
type: "POST",
url: "<?php echo e(action('ClientController@sendInquiry')); ?>",
data: $("#project_form").serialize(),
beforeSend: function() {
var data = {'contact_name': $("#contact_name").val(),'contact_email': $("#contact_email").val(),'contact_no': $("#contact_no").val(),'country': $("#country").val()};
localStorage.setItem('inquire_<?php echo e(config("multisite.site_id")); ?>', JSON.stringify(data));
$(".modal-footer").find('.loading').remove();
$(".modal-footer").append('<span class="loading">Processing...</span>');
$("#project_form").find("input[type=text], textarea, input[type=submit]").attr("disable", 'disable');
}
})
.done(function( msg ) {
//check if response from server is success or not . because json object will be returned if there are validation errors.
grecaptcha.reset();
$(".modal-footer").find('.loading').remove();
$("#project_form").find("input[type=text], textarea, input[type=submit]").removeAttr("disable");
$(".modal-footer").find('span.loading').remove();
var response=jQuery.parseJSON(msg);
var alertMsg="";
if(typeof response =='object'){
$(document).find('label.error').remove();
var errors = jQuery.parseJSON(msg);
for (var key in errors) {
// alert(key+ ">>>"+ errors[key][0]);
$("#"+key).after("<label class='error'>"+errors[key][0]+"</label>");
}
} else{
$("#myModal").hide();
$(".show-message").trigger('click');
$("#project_form").find("input[type=text], textarea").val("");
$("#property_id").val("");
}
});
});
$('#myModal').on('hidden.bs.modal', function (e) {
$("#project_form")[0].reset();
});
$(".close, .close-it").click(function(){
$('body').removeClass('modal-open');
$('.modal-backdrop').remove();
});
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.home', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>', 'lock' => false))
- at file_put_contents('/36cd3f9eb604d803e65279948e63a9e9', '<?php $__env->startSection('title', $countProjects." Real Estate Properties For Sale In The Philippines."); ?>
<?php $__env->startSection('meta_title', $countProjects.' Real Estate Projects for sale in the Philippines. For Price List, model house, floor plans, payment terms, CHAT LIVE with an agent 24x7'); ?>
<?php $__env->startSection('page_title'); ?>
Cities
<?php $__env->stopSection(); ?>
<?php $__env->startSection('sub_page_title'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<style type="text/css">
.ui-autocomplete i {font-size: 14px; margin-left: 5px;}
</style>
<section id="references" class="section popular">
<div class="container">
<div class="developer hlocation">
<h2>Popular locations</h2>
<div class="row">
<?php if($fLocations): ?>
<?php foreach($fLocations as $city): ?>
<?php if($city->properties > 0): ?>
<div class="col-md-3 col-sm-4 col-xs-12 cities" itemscope itemtype="https://schema.org/PostalAddress">
<div class="thumbnail">
<a itemprop="url" href="<?php echo e(action('PropertyController@propertiesByLocation', array(implode('-', explode(' ', $city->province_name)), implode('-', explode(' ', $city->city_name))) )); ?>">
<img style="width: 257px; height: 188px;" width ="257" height="188" title="Real Estate in <?php echo e($city->city_name); ?>" alt="Real Estate in <?php echo e($city->city_name); ?>" itemprop="image" src="<?php echo e(!empty($city->add_image) ? config('multisite.image_site').'/'. $city->add_image : config('multisite.image_site').'/no-image.jpg'); ?>" />
</a>
<a itemprop="url" href="<?php echo e(action('PropertyController@propertiesByLocation', array(implode('-', explode(' ', $city->province_name)), implode('-', explode(' ', $city->city_name))) )); ?>" rel="nofollow">
<div class="content-overlay">
<div class="col-md-12 city_name-location">
<span><?php echo e($city->properties); ?></span>
</div>
<div class="col-md-11 property_name" itemprop="name" >
<?php echo e($city->city_name); ?>
</div>
<span style="display:none;" itemprop="addressLocality"><?php echo e($city->city_name); ?></span>
<span style="display:none;" itemprop="addressRegion"><?php echo e($city->province_name); ?></span>
<span style="display:none;" itemprop="addressCountry">PH</span>
</div>
<div class="buttons-overlay">
</div>
</a>
</div>
</div>
<?php endif; ?>
<?php endforeach; ?>
<?php endif; ?>
</div>
</div>
<div class="line">
<img src="https://www.phrealestate.com/assets/images/phpagebreak2.jpg" height="625" alt="Real Estate For Sale In The Philippines" title="Real Estate For Sale In The Philippines" />
</div>
</div>
</section>
<!-- -->
<section id="references" class="section">
<div class="container">
<div class="developer hdeveloper">
<h2>Popular Developers</h2>
<div class="row">
<?php if($fDevelopers): ?>
<?php foreach($fDevelopers as $developer): ?>
<?php if($developer->properties > 0): ?>
<div class="col-md-3 col-sm-4 col-xs-12 developers" itemscope itemtype="https://schema.org/RealEstateAgent">
<div class="thumbnail">
<!-- <a itemprop="url" href="<?php echo e(action('ClientController@propertyByCity', array(strtolower(str_replace(' ', '-',$developer->developer_name))) )); ?>"> -->
<a itemprop="url" href="/projects/<?php echo e(implode('-', explode(' ', strtolower($developer->developer_name)))); ?>">
<img style="height: 135px; width: 245px;" height="135" width="245" title="<?php echo e($developer->developer_name); ?> Properties" alt="<?php echo e($developer->developer_name); ?> Properties" itemprop="image" src="<?php echo e(!empty($developer->add_image) ? config('multisite.image_site').'/'. $developer->add_image : config('multisite.image_site').'/no-image.jpg'); ?>" />
</a>
<div class="content-overlay">
<div class="col-md-12 property_name">
<!-- <a itemprop="url" href="<?php echo e(action('ClientController@propertyByCity', array(strtolower(str_replace(' ', '-',$developer->developer_name))) )); ?>"> -->
<a itemprop="url" href="/projects/<?php echo e(implode('-', explode(' ', strtolower($developer->developer_name)))); ?>">
<span class="pull-right"><?php echo e($developer->properties); ?> Projects</span>
<span itemprop="name" style="display:none;"><?php echo e($developer->developer_name); ?>
</span>
</a>
</div>
</div>
<!-- <a href="<?php echo e(action('ClientController@propertyByCity', array(strtolower(str_replace(' ', '-',$developer->developer_name))) )); ?>"> -->
<a itemprop="url" href="/projects/<?php echo e(implode('-', explode(' ', strtolower($developer->developer_name)))); ?>">
<div class="buttons-overlay">
</div>
</a>
</div>
</div>
<?php endif; ?>
<?php endforeach; ?>
<?php endif; ?>
</div>
</div>
<!-- -->
<div style="clear:both"></div>
</div>
</section>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('footer_script'); ?>
<script src="https://www.phrealestate.com/js/jquery-ui.min.js"></script>
<script>
$(function(){
$("#autocomplete_field").autocomplete({
delay: 10,
autoFocus: true,
source: function(request, response){
$.ajax({
/* Snip */
dataType: "json",
type : 'Get',
url: "<?php echo e(action('ClientController@fetchCities')); ?>?term="+request.term,
beforeSend: function (){
$(".fa-spin.fa-spinner").show();
$(".fa.fa-map-marker").hide();
$("#search_it").attr('disabled', true);
$("#autocomplete_field").css({"padding-left": "30px;"});
},
success: function(data) {
$(".fa-spin.fa-spinner").hide();
$(".fa.fa-map-marker").show();
$("#search_it").removeAttr('disabled');
$("#autocomplete_field").css({"padding-left": "20px;"});
response(data);
}
});
},
minLength: 2,
appendTo: ".autocomplete-container",
open: function(event, ui) {
$(".ui-autocomplete").css({
"background": "#fff none repeat scroll 0 0",
"color": "#000",
"display": "block",
"left": "15px",
"list-style": "outside none none",
"padding-left": "0",
"position": "absolute",
"top": "40px",
"width": "91%",
"z-index": "99999",
"padding": "6px 12px",
"font-size": '18px',
"font-weight": "normal",
"text-align" : "left",
"font-family" : 'inherit',
"max-height": "150px",
"overflow-y": "scroll",
"z-index": "99"
});
},
search: function( event, ui ) {
$(".fa-spin.fa-spinner").show();
$(".fa.fa-map-marker").hide();
$("#search_it").attr('disabled', true);
},
change: function( event, ui ) {
if( ui.item == null ) {
$(".autocomplete-container label.error").text('Invalid Location');
$("#search_it").removeAttr('disabled');
$("#city").val(ui.item.city_name);
$("#province").val(ui.item.province_name);
$("#area").val(ui.item.area_name);
}
},
select: function( event, ui ) {
$(".autocomplete-container label.error").text('');
$(".fa-spin.fa-spinner").hide();
$(".fa.fa-map-marker").show();
// log( ui.item ? "Selected: " + ui.item.value + " aka " + ui.item.id : "Nothing selected, input was " + this.value );
$("#search_it").removeAttr('disabled');
$("#city").val(ui.item.city_name);
$("#province").val(ui.item.province_name);
$("#area").val(ui.item.area_name);
}
}).data("ui-autocomplete")._renderItem = function (ul, item) {
return $("<li></li>")
.data("item.autocomplete", item)
.append("<a>" + item.label + " <i>("+item.sub_label+")<i></a>")
.appendTo(ul);
};
$("#province").change(function(){
$("#city").find('option:first-child').text('Processing ...');
var url = getvalidUrl('ClientController@fetchCities', $(this).val());
$.ajax({
url:url,
type: 'GET',
beforeSend: function () {
$("#city").find('option:first-child').text('Processing ...');
}
}).done(function(response) {
$("#city").find('option').remove();
$("#city").append(response);
});
});
// ---------------------
$("#search_it").on('click', function(e){
var listing = $("#listing").val();
var project = $("#project").val();
var city = $("#city").val();
var province = $("#province").val();
var area = $("#area").val();
var url = "/projects";
if(province != ''){
province = 'ph/'+province;
}
url += listing != '' ? '/'+listing.split(' ').join('-') : '';
url += project != '' ? '/'+project.split(' ').join('-') : '';
url += province != '' ? '/'+province.split(' ').join('-') : '';
url += city != '' ? '/'+city.split(' ').join('-') : '';
url += area != '' ? '/'+area.split(' ').join('-') : '';
//alert(url);
window.location =url;
//var param =[listing.split(' ').join('-'), project.split(' ').join('-'), location.split(' ').join('-')];
//console.log(param);
//var url = getvalidUrl('ClientController@propertyiesBySearch', param );
//window.location = url;
});
});
</script>
<script type="text/javascript">
function submitForm () {
if(!$("#search_it").attr('disabled')) {
$("#search_it").trigger('click');
} else {
$(".autocomplete-container label.error").text('Invalid Location');
}
return false;
}
function assignIt(id, name, location){
var data = localStorage.getItem('inquire_<?php echo e(config("multisite.site_id")); ?>');
///var data =jQuery.parseJSON(data);
console.log(jQuery.parseJSON(data));
$("span.property_name, strong.property_name").text(name);
$("span.location_name").text(location);
$('#property_id').val(id);
$.each(JSON.parse(data), function(key, value){
$("#"+key).val(value);
});
$("#is_unit").val('no');
}
$(function(){
$('#project_form').on('submit', function(event) {
event.preventDefault();
$.ajax({
type: "POST",
url: "<?php echo e(action('ClientController@sendInquiry')); ?>",
data: $("#project_form").serialize(),
beforeSend: function() {
var data = {'contact_name': $("#contact_name").val(),'contact_email': $("#contact_email").val(),'contact_no': $("#contact_no").val(),'country': $("#country").val()};
localStorage.setItem('inquire_<?php echo e(config("multisite.site_id")); ?>', JSON.stringify(data));
$(".modal-footer").find('.loading').remove();
$(".modal-footer").append('<span class="loading">Processing...</span>');
$("#project_form").find("input[type=text], textarea, input[type=submit]").attr("disable", 'disable');
}
})
.done(function( msg ) {
//check if response from server is success or not . because json object will be returned if there are validation errors.
grecaptcha.reset();
$(".modal-footer").find('.loading').remove();
$("#project_form").find("input[type=text], textarea, input[type=submit]").removeAttr("disable");
$(".modal-footer").find('span.loading').remove();
var response=jQuery.parseJSON(msg);
var alertMsg="";
if(typeof response =='object'){
$(document).find('label.error').remove();
var errors = jQuery.parseJSON(msg);
for (var key in errors) {
// alert(key+ ">>>"+ errors[key][0]);
$("#"+key).after("<label class='error'>"+errors[key][0]+"</label>");
}
} else{
$("#myModal").hide();
$(".show-message").trigger('click');
$("#project_form").find("input[type=text], textarea").val("");
$("#property_id").val("");
}
});
});
$('#myModal').on('hidden.bs.modal', function (e) {
$("#project_form")[0].reset();
});
$(".close, .close-it").click(function(){
$('body').removeClass('modal-open');
$('.modal-backdrop').remove();
});
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.home', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>', '0') in Filesystem.php line 81
- at Filesystem->put('/36cd3f9eb604d803e65279948e63a9e9', '<?php $__env->startSection('title', $countProjects." Real Estate Properties For Sale In The Philippines."); ?>
<?php $__env->startSection('meta_title', $countProjects.' Real Estate Projects for sale in the Philippines. For Price List, model house, floor plans, payment terms, CHAT LIVE with an agent 24x7'); ?>
<?php $__env->startSection('page_title'); ?>
Cities
<?php $__env->stopSection(); ?>
<?php $__env->startSection('sub_page_title'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<style type="text/css">
.ui-autocomplete i {font-size: 14px; margin-left: 5px;}
</style>
<section id="references" class="section popular">
<div class="container">
<div class="developer hlocation">
<h2>Popular locations</h2>
<div class="row">
<?php if($fLocations): ?>
<?php foreach($fLocations as $city): ?>
<?php if($city->properties > 0): ?>
<div class="col-md-3 col-sm-4 col-xs-12 cities" itemscope itemtype="https://schema.org/PostalAddress">
<div class="thumbnail">
<a itemprop="url" href="<?php echo e(action('PropertyController@propertiesByLocation', array(implode('-', explode(' ', $city->province_name)), implode('-', explode(' ', $city->city_name))) )); ?>">
<img style="width: 257px; height: 188px;" width ="257" height="188" title="Real Estate in <?php echo e($city->city_name); ?>" alt="Real Estate in <?php echo e($city->city_name); ?>" itemprop="image" src="<?php echo e(!empty($city->add_image) ? config('multisite.image_site').'/'. $city->add_image : config('multisite.image_site').'/no-image.jpg'); ?>" />
</a>
<a itemprop="url" href="<?php echo e(action('PropertyController@propertiesByLocation', array(implode('-', explode(' ', $city->province_name)), implode('-', explode(' ', $city->city_name))) )); ?>" rel="nofollow">
<div class="content-overlay">
<div class="col-md-12 city_name-location">
<span><?php echo e($city->properties); ?></span>
</div>
<div class="col-md-11 property_name" itemprop="name" >
<?php echo e($city->city_name); ?>
</div>
<span style="display:none;" itemprop="addressLocality"><?php echo e($city->city_name); ?></span>
<span style="display:none;" itemprop="addressRegion"><?php echo e($city->province_name); ?></span>
<span style="display:none;" itemprop="addressCountry">PH</span>
</div>
<div class="buttons-overlay">
</div>
</a>
</div>
</div>
<?php endif; ?>
<?php endforeach; ?>
<?php endif; ?>
</div>
</div>
<div class="line">
<img src="https://www.phrealestate.com/assets/images/phpagebreak2.jpg" height="625" alt="Real Estate For Sale In The Philippines" title="Real Estate For Sale In The Philippines" />
</div>
</div>
</section>
<!-- -->
<section id="references" class="section">
<div class="container">
<div class="developer hdeveloper">
<h2>Popular Developers</h2>
<div class="row">
<?php if($fDevelopers): ?>
<?php foreach($fDevelopers as $developer): ?>
<?php if($developer->properties > 0): ?>
<div class="col-md-3 col-sm-4 col-xs-12 developers" itemscope itemtype="https://schema.org/RealEstateAgent">
<div class="thumbnail">
<!-- <a itemprop="url" href="<?php echo e(action('ClientController@propertyByCity', array(strtolower(str_replace(' ', '-',$developer->developer_name))) )); ?>"> -->
<a itemprop="url" href="/projects/<?php echo e(implode('-', explode(' ', strtolower($developer->developer_name)))); ?>">
<img style="height: 135px; width: 245px;" height="135" width="245" title="<?php echo e($developer->developer_name); ?> Properties" alt="<?php echo e($developer->developer_name); ?> Properties" itemprop="image" src="<?php echo e(!empty($developer->add_image) ? config('multisite.image_site').'/'. $developer->add_image : config('multisite.image_site').'/no-image.jpg'); ?>" />
</a>
<div class="content-overlay">
<div class="col-md-12 property_name">
<!-- <a itemprop="url" href="<?php echo e(action('ClientController@propertyByCity', array(strtolower(str_replace(' ', '-',$developer->developer_name))) )); ?>"> -->
<a itemprop="url" href="/projects/<?php echo e(implode('-', explode(' ', strtolower($developer->developer_name)))); ?>">
<span class="pull-right"><?php echo e($developer->properties); ?> Projects</span>
<span itemprop="name" style="display:none;"><?php echo e($developer->developer_name); ?>
</span>
</a>
</div>
</div>
<!-- <a href="<?php echo e(action('ClientController@propertyByCity', array(strtolower(str_replace(' ', '-',$developer->developer_name))) )); ?>"> -->
<a itemprop="url" href="/projects/<?php echo e(implode('-', explode(' ', strtolower($developer->developer_name)))); ?>">
<div class="buttons-overlay">
</div>
</a>
</div>
</div>
<?php endif; ?>
<?php endforeach; ?>
<?php endif; ?>
</div>
</div>
<!-- -->
<div style="clear:both"></div>
</div>
</section>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('footer_script'); ?>
<script src="https://www.phrealestate.com/js/jquery-ui.min.js"></script>
<script>
$(function(){
$("#autocomplete_field").autocomplete({
delay: 10,
autoFocus: true,
source: function(request, response){
$.ajax({
/* Snip */
dataType: "json",
type : 'Get',
url: "<?php echo e(action('ClientController@fetchCities')); ?>?term="+request.term,
beforeSend: function (){
$(".fa-spin.fa-spinner").show();
$(".fa.fa-map-marker").hide();
$("#search_it").attr('disabled', true);
$("#autocomplete_field").css({"padding-left": "30px;"});
},
success: function(data) {
$(".fa-spin.fa-spinner").hide();
$(".fa.fa-map-marker").show();
$("#search_it").removeAttr('disabled');
$("#autocomplete_field").css({"padding-left": "20px;"});
response(data);
}
});
},
minLength: 2,
appendTo: ".autocomplete-container",
open: function(event, ui) {
$(".ui-autocomplete").css({
"background": "#fff none repeat scroll 0 0",
"color": "#000",
"display": "block",
"left": "15px",
"list-style": "outside none none",
"padding-left": "0",
"position": "absolute",
"top": "40px",
"width": "91%",
"z-index": "99999",
"padding": "6px 12px",
"font-size": '18px',
"font-weight": "normal",
"text-align" : "left",
"font-family" : 'inherit',
"max-height": "150px",
"overflow-y": "scroll",
"z-index": "99"
});
},
search: function( event, ui ) {
$(".fa-spin.fa-spinner").show();
$(".fa.fa-map-marker").hide();
$("#search_it").attr('disabled', true);
},
change: function( event, ui ) {
if( ui.item == null ) {
$(".autocomplete-container label.error").text('Invalid Location');
$("#search_it").removeAttr('disabled');
$("#city").val(ui.item.city_name);
$("#province").val(ui.item.province_name);
$("#area").val(ui.item.area_name);
}
},
select: function( event, ui ) {
$(".autocomplete-container label.error").text('');
$(".fa-spin.fa-spinner").hide();
$(".fa.fa-map-marker").show();
// log( ui.item ? "Selected: " + ui.item.value + " aka " + ui.item.id : "Nothing selected, input was " + this.value );
$("#search_it").removeAttr('disabled');
$("#city").val(ui.item.city_name);
$("#province").val(ui.item.province_name);
$("#area").val(ui.item.area_name);
}
}).data("ui-autocomplete")._renderItem = function (ul, item) {
return $("<li></li>")
.data("item.autocomplete", item)
.append("<a>" + item.label + " <i>("+item.sub_label+")<i></a>")
.appendTo(ul);
};
$("#province").change(function(){
$("#city").find('option:first-child').text('Processing ...');
var url = getvalidUrl('ClientController@fetchCities', $(this).val());
$.ajax({
url:url,
type: 'GET',
beforeSend: function () {
$("#city").find('option:first-child').text('Processing ...');
}
}).done(function(response) {
$("#city").find('option').remove();
$("#city").append(response);
});
});
// ---------------------
$("#search_it").on('click', function(e){
var listing = $("#listing").val();
var project = $("#project").val();
var city = $("#city").val();
var province = $("#province").val();
var area = $("#area").val();
var url = "/projects";
if(province != ''){
province = 'ph/'+province;
}
url += listing != '' ? '/'+listing.split(' ').join('-') : '';
url += project != '' ? '/'+project.split(' ').join('-') : '';
url += province != '' ? '/'+province.split(' ').join('-') : '';
url += city != '' ? '/'+city.split(' ').join('-') : '';
url += area != '' ? '/'+area.split(' ').join('-') : '';
//alert(url);
window.location =url;
//var param =[listing.split(' ').join('-'), project.split(' ').join('-'), location.split(' ').join('-')];
//console.log(param);
//var url = getvalidUrl('ClientController@propertyiesBySearch', param );
//window.location = url;
});
});
</script>
<script type="text/javascript">
function submitForm () {
if(!$("#search_it").attr('disabled')) {
$("#search_it").trigger('click');
} else {
$(".autocomplete-container label.error").text('Invalid Location');
}
return false;
}
function assignIt(id, name, location){
var data = localStorage.getItem('inquire_<?php echo e(config("multisite.site_id")); ?>');
///var data =jQuery.parseJSON(data);
console.log(jQuery.parseJSON(data));
$("span.property_name, strong.property_name").text(name);
$("span.location_name").text(location);
$('#property_id').val(id);
$.each(JSON.parse(data), function(key, value){
$("#"+key).val(value);
});
$("#is_unit").val('no');
}
$(function(){
$('#project_form').on('submit', function(event) {
event.preventDefault();
$.ajax({
type: "POST",
url: "<?php echo e(action('ClientController@sendInquiry')); ?>",
data: $("#project_form").serialize(),
beforeSend: function() {
var data = {'contact_name': $("#contact_name").val(),'contact_email': $("#contact_email").val(),'contact_no': $("#contact_no").val(),'country': $("#country").val()};
localStorage.setItem('inquire_<?php echo e(config("multisite.site_id")); ?>', JSON.stringify(data));
$(".modal-footer").find('.loading').remove();
$(".modal-footer").append('<span class="loading">Processing...</span>');
$("#project_form").find("input[type=text], textarea, input[type=submit]").attr("disable", 'disable');
}
})
.done(function( msg ) {
//check if response from server is success or not . because json object will be returned if there are validation errors.
grecaptcha.reset();
$(".modal-footer").find('.loading').remove();
$("#project_form").find("input[type=text], textarea, input[type=submit]").removeAttr("disable");
$(".modal-footer").find('span.loading').remove();
var response=jQuery.parseJSON(msg);
var alertMsg="";
if(typeof response =='object'){
$(document).find('label.error').remove();
var errors = jQuery.parseJSON(msg);
for (var key in errors) {
// alert(key+ ">>>"+ errors[key][0]);
$("#"+key).after("<label class='error'>"+errors[key][0]+"</label>");
}
} else{
$("#myModal").hide();
$(".show-message").trigger('click');
$("#project_form").find("input[type=text], textarea").val("");
$("#property_id").val("");
}
});
});
$('#myModal').on('hidden.bs.modal', function (e) {
$("#project_form")[0].reset();
});
$(".close, .close-it").click(function(){
$('body').removeClass('modal-open');
$('.modal-backdrop').remove();
});
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.home', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>') in BladeCompiler.php line 102
- at BladeCompiler->compile('/home/buydmci/resources/views/client/home.blade.php') in CompilerEngine.php line 50
- at CompilerEngine->get('/home/buydmci/resources/views/client/home.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'countries' => array(object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass)), 'countProjects' => '61', 'fDevelopers' => array(object(stdClass)), 'fProperties' => object(LengthAwarePaginator), 'fLocations' => array(object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass)), 'listings' => object(Collection), 'provinces' => object(Collection), 'projects' => object(Collection), 'title' => 'All Properties for sale with price list', 'meta_title' => 'All Properties for sale with price list For price list, model house, floor plans, payment terms, CHAT LIVE with an agent 24x7', 'listing' => '', 'projectQ' => '', 'locationQ' => '')) in View.php line 147
- at View->getContents() in View.php line 118
- at View->renderContents() in View.php line 83
- at View->render() in Response.php line 51
- at Response->setContent(object(View)) in Response.php line 202
- at Response->__construct(object(View)) in Router.php line 1229
- at Router->prepareResponse(object(Request), object(View)) in ControllerDispatcher.php line 112
- at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in OnlyAdminAllowed.php line 100
- at OnlyAdminAllowed->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(OnlyAdminAllowed), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
- at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 114
- at ControllerDispatcher->callWithinStack(object(ClientController), object(Route), object(Request), 'index') in ControllerDispatcher.php line 68
- at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\ClientController', 'index') in Route.php line 203
- at Route->runWithCustomDispatcher(object(Request)) in Route.php line 134
- at Route->run(object(Request)) in Router.php line 708
- at Router->Illuminate\Routing\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
- at Pipeline->then(object(Closure)) in Router.php line 710
- at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 674
- at Router->dispatchToRoute(object(Request)) in Router.php line 635
- at Router->dispatch(object(Request)) in Kernel.php line 236
- at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in VerifyCsrfToken.php line 50
- at VerifyCsrfToken->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
- at ShareErrorsFromSession->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 62
- at StartSession->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
- at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 59
- at EncryptCookies->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
- at CheckForMaintenanceMode->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
- at Pipeline->then(object(Closure)) in Kernel.php line 122
- at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
- at Kernel->handle(object(Request)) in index.php line 53