01,151 views
By @PJsacdalan351 year ago
Description
Price:₱11,763,102
Size:176 sqm
Bed:4
Bath:3
Year Built:2021
Location:Silang Cavite
cavite
Silang, Cavite,Philippines 4107
“Fall in Love with Life” Your love story with the good life begins at Verona in Silang-Sta. Rosa. Inspired by its namesake, the Italian city of Verona, your Suntrust community is filled with beauty and romance. Your 63-hectare enclave, made up of three residential phases, showcases a variety of single-detached and duplex homes-all exquisitely designed and embraced by lush nature spaces. At Verona, enjoy soothing views from the home of your choice. Indulge in all kinds of fun recreation in an exclusive playground. And have the most important destinations in the South just a short drive away. Project Details Location: Brgy. Hoyo, Silang Cavite Product Offerings: Amenities and Features: MICAELA MODEL Single Detached 4bedrooms, TCP=11,763,102.00 Res fee=50,000 20% down payment 80% Bank Loan or In-house financing loan 10% discount for spot cash 20% down payment for Bank and inhouse financing 80% Loanable thru bank and in-house financing We assist client until house turn over we assist you in bank application MICAELA MODEL Lot area=176sqm 4bedrooms TCP=11,763,102.00 Res fee=50,000
Your location away from the urban hustle and bustle means you enjoy a more relaxed pace. Now, every day is a good day to play. Head out with your family to Verona’s very own playground nearby. And with you home only 15 minutes away from Tagaytay, enjoy cool, refreshing weather as you bond outdoors
Total Area: 62 hectares
Concept: Italian
Lot area=176sqm
F.A=178.70 sqm
3toilet & Bath
with carport&terrace
Living
Kitchen
Dining
10% discount for spot cash client with in 30days
7% discount for spot down payment with in 30days
F.A=178.70 sqm
3toilet & Bath
with carport,terrace
Living
Kitchen
Dining
Veranda
Family Room
2 storey Single Detached
20% down payment
80% Bank Loan or In-house financing loan
Cora Sacdalan PRC Registered SP #006493-Valid until June 30, 2023
HLURB/DHSUD#00851 Until-December 31, 2022
+639175017471 Globe/ Viber/whatsapp
▸ All House for Sale in Silang, Cavite.
▸ All House for Sale in Cavite.
Browse Region
Location Map
Video
@PJsacdalan35 | |
Inquiries
Other Real Estate Posts You Might Like
₱10,829,329 7 months ago · 0 like · 509 views246sqm House and Lot Package in Suntrust Verona Luciana Model For Spot Cash Client Discounted Price Unit Still for Construction
Verona House and lot for sale Silang Cavite Near Tagaytay City Near Nuvali Luciana House and lot for sale Near Nuvali Near Tagaytay City Very good ambiance Exclusive Subdivision
₱12,109,174 7 months ago · 0 like · 640 viewsReady For Occupancy House and Lot Package in Suntrust Verona, Corner Lot RFO Rush Rush for Sale First Come First Serve
Amenities and Features Sales Office Casa di Giullieta Italian themed nature park Italian bridgeways Clock tower Clubhouse Swimming Pool Basketball Court Hiking Trail Shop houses
₱10,254,534 7 months ago · 0 like · 672 viewsOrabella House for Sale in Verona Silang, Beautiful House, Elegant but Affordable and Easy to Own, Near Tagaytay City
ORABELLA HOUSE FOR SALE IN VERONA SILANG NEAR TAGAYTAY CITY ORABELLA HOUSE FOR SALE IN VERONA SILANG NEAR TAGAYTAY CITY Amenities and Features Sales Office Casa di Giullieta
₱4,700,000 updated 3 weeks ago · 0 like · 1,212 viewsPre-selling House and Lot for Sale in Cavite Imus
Pre selling house and lot for sale in cavite imus Cozy Spacious Comfortable and Secured Get your 20K Cash Gift from me 1 month after move in Complete Finish house and lot for
₱3,280,000 updated 3 weeks ago · 0 like · 3,521 views3 Bedroom House for Sale in Elliston Place Cavite Near The District Mall Imus
3 bedroom house for sale in elliston place cavite near The District Mall Imus. An exclusive flood free residential community that offers Modern inspired theme of cavite townhouse
₱3,280,000 updated 3 weeks ago · 0 like · 2,560 views3-bedroom House for Sale Cavite
ELLISTON PLACE 3 bedroom house for sale cavite Townhouse Located in Pasong Camachile Gen.Trias Cavite Accessible Via Cavitex Daanghari Extension Road Malagasang Imus Mia house
More House for Sale in these Cavite Cities
▸ Alfonso, Cavite |
▸ Amadeo, Cavite |
▸ Bacoor, Cavite |
▸ Carmona, Cavite |
▸ Cavite City, Cavite |
▸ Dasmarinas, Cavite |
▸ Gen. Mariano Alvarez, Cavite |
▸ Gen. Emilio Aguinaldo, Cavite |
▸ Gen. Trias, Cavite |
▸ Imus, Cavite |
▸ Indang, Cavite |
▸ Kawit, Cavite |
▸ Magallanes, Cavite |
▸ Maragondon, Cavite |
▸ Mendez (Mendez-Nunez), Cavite |
▸ Naic, Cavite |
▸ Noveleta, Cavite |
▸ Rosario, Cavite |
▸ Silang, Cavite |
▸ Tagaytay City, Cavite |
▸ Tanza, Cavite |
▸ Ternate, Cavite |
▸ Trece Martires City, Cavite |
Latest Posts
· 10 hours ago
· 13 hours ago
· 13 hours ago
· 15 hours ago
· 15 hours ago
Female Massage Therapists 24hrs Massage Service · 15 hours ago
· 16 hours ago
· 16 hours ago
· 16 hours ago
· 3 days ago
Select Image
Upload
';}jQuery(function($) {jQuery.ajax({url:'/map/getmap',type:'post',dataType:'json',data:{"item_id":"29920","cat_parent_name":"Real Estate","cat_name":"House for Sale","country_code":"PH","state_id":"25","state":"Cavite","city_id":"446","city":"Silang","lat":"14.214175","lon":"120.968736","limit":20,"hasLatLon":1},success:function(o) {if (o.out==0) {$("#mapSpot").html(o.html);}else {showAlert(o.msg);}},error:function(x, t, m) { console.log(x);showAlert('HTTP ERROR: '+x.status); },});$(document).bind('drop dragover', function (e) { e.preventDefault();});jQuery('body').on('click','#dropzone',function(){ initializeUpload();$('#fileupload').trigger('click');});$('#fileupload').on('click', function(e) {$('#progress .bar').css('width','0%');});$(document).ready(function(){initializeUpload();});function initializeUpload() {if ( $.isFunction($.fn.fileupload) ) {$('#fileupload').fileupload({url: '/file/upload',type:'post',dataType:'json',autoUpload:false,formData: {user_id:''},add: function(e, data, textStatus){var allowed_type = ['image/jpeg','image/gif','image/png'];if( $.inArray(data.files[0].type, allowed_type) == -1 ) {showAlert('Only JPG, GIF, and PNG image formats are allowed.');return false;}var jqXHR = data.submit() .success(function (result, textStatus, jqXHR) {}) .error(function (jqXHR, textStatus, errorThrown) {}) .complete(function (result, textStatus, jqXHR) {});}, progress: function (e, data, jqXHR) { $.each(data.files, function (index, file) { var progress = parseInt(data.loaded / data.total * 100, 10); $('#progress .bar').css('width',progress + '%'); }); }, beforeSend: function() { $('#progress .bar').css('width','0%'); }, done: function (e, data) {$.each(data.result.files, function (index, file) {if ($.inArray(parseInt($('#item_type').val()),[2,4])>=0) {getParsedImage(file.thumbnail_url, file.name);$('#item_img_thumb').val(file.name);} else {if (typeof file.error === 'undefined') {if ($('#formname').val()=='comment') {appendCommentImages(file.url, file.name, '');} else {appendImages(file.url, file.name, '');}} else { $('#progress .bar').css('width','0%');console.log(file.error);showAlert(file.error);}}}); },});}}jQuery(document).on('click','.parse-item a.close',function(){$(this).parent().remove();$('#ItemForm_item_img_thumb').val('');$('#progress .bar').css('width','0%');});function appendImages(src, filename, caption) {$('#parse').append('
'+'
'+'
'+''+ 'Set Primary Remove'+'
'+'
'); if ($('#formname').val()=='comment') {$('.btnSetPrimary').remove();}}jQuery('body').on('click','.parse-item .btnSetPrimary',function(){ var primaryImg = $(this).closest('.parse-item').find('img').attr('data-filename');$('#ItemForm_item_img_thumb').val(primaryImg);$('#item_img_thumb').val(primaryImg);$('.btnSetPrimary').removeClass('btn-success');$(this).addClass('btn-success');});jQuery('body').on('click','.parse-item .btnRemove',function(){if ($(this).closest('.parse-item').find('.btnSetPrimary').hasClass('btn-success')) {$('#ItemForm_item_img_thumb').val('');$('#item_img_thumb').val('');}$(this).closest('.parse-item').remove();$('#progress .bar').css('width','0%');});jQuery('body').on('click','#parseImageUrl',function() {if (!validURL($('#ItemForm_image_url').val())) {showAlert('Invalid image link');return false;}$(this).button('loading');jQuery.ajax({ url:'/ajax/parseurl', cache:false,live:false,type:'post',dataType:'json', timeout:60000,data:{'url':$('#ItemForm_image_url').val()},beforeSend:function(){},success:function(o) {if (o.out==0) {if (o.image==true) {if ($.inArray(parseInt($('#item_type').val()),[2,4])>=0) {getParsedImage(o.images, o.images);$('#item_img_thumb').val(o.images);} else {if ($('#formname').val()=='comment') {appendCommentImages(o.images, o.images, '');} else {appendImages(o.images, o.images, '');}}$('#fileupload').val('');} else {showAlert('Invalid image link');$('#parseImageUrl').button('reset');return false;}}$('#ItemForm_image_url').removeAttr('value'); $('#parseImageUrl').button('reset'); }, error:function(x, t, m) {$('#spinner').removeClass('loading'); if(t==='timeout') {showAlert('Unable to parse link.'); } $('#parseImageUrl').button('reset'); } });});jQuery(document).on('click','#btnParseImageLink',function(e) { var url = $(this).parent().find('input').val(); if (!validURL(url)) { showAlert('Invalid image link'); return false; } $(this).button('loading'); jQuery.ajax({ url:'/ajax/parseurl', cache:false,live:false,type:'post',dataType:'json', timeout:60000, data:{'url':url}, beforeSend:function(){ }, success:function(o) { if (o.out==0) { if (o.image==true) { $('#parse').find('img').attr('src', o.images); $('#parse').find('img').attr('data-filename', o.images); $('#selectImage .modal-body .images').html(showImage(o.images)); $('#ItemForm_item_img_thumb').val(o.images); } else { showAlert('Invalid image link'); } } $('#parseImageUrl').button('reset'); }, error:function(x, t, m) { $('#spinner').removeClass('loading'); if(t==='timeout') { showAlert('Unable to parse link.'); } $('#parseImageUrl').button('reset'); } }); $(this).button('reset'); }); $('#btnUploadImage').live('click', function(e) { $('#btnUploadImage').fileupload({ url:'/file/upload', type:'post',dataType:'json',autoUpload:false, formData: {user_id:''}, add: function(e, data, textStatus){ var allowed_type = ['image/jpeg','image/gif','image/png']; if( $.inArray(data.files[0].type, allowed_type) == -1 ) { $('#alert').text('Only JPG, GIF, and PNG image formats are allowed.'); $('#alert').show(); return false; } var jqXHR = data.submit() .success(function (result, textStatus, jqXHR) { }) .error(function (jqXHR, textStatus, errorThrown) { }) .complete(function (result, textStatus, jqXHR) { }); }, progress: function (e, data, jqXHR) { $.each(data.files, function (index, file) { var progress = parseInt(data.loaded / data.total * 100, 10); $('#progress .bar').css('width',progress + '%'); }); }, done: function (e, data) { $.each(data.result.files, function (index, file) { $.each(data.result.files, function (index, file) { if (typeof file.error === 'undefined') { $('#parse').find('img').attr('src', file.url); $('#parse').find('img').attr('data-filename', file.name); $('#selectImage .modal-body .images').html(showImage(file.url)); $('#ItemForm_item_img_thumb').val(file.name); } else { $('#progress .bar').css('width','0%'); $('#alert').text(file.error); $('#alert').show(); } }); }); }, }); }); jQuery(document).on('click','#btnSelectImage',function(){ $('#selectImage').modal('show') }); jQuery(document).on('click','a.thumbnail',function(){ var tmp = $(this).find('img').attr('src'); $('#parse').find('img').attr('src', tmp); $('#parse').find('img').attr('data-filename', tmp); $('#selectImage').modal('hide'); $('#ItemForm_item_img_thumb').val(tmp); }); function appendParsedLink(image, title, url) { $('#parse').html(''+ ''+ 'change/upload image'+ ''+ 'Link: '+url+''); $('#ItemForm_item_img_thumb').val(image); return false; }//set section active$("#main-category li a[href='"+$("#cat_parent_href").attr("href")+"']").closest("li").addClass("active");jQuery('body').on('click','#submit_comment',function(){if(typeof CKEDITOR.instances['ic_comment'] != 'undefined') {ic_comment = CKEDITOR.instances['ic_comment'].getData();} else {ic_comment = $('#ic_comment').val();}jsonMedia = [];$(".parse-item").each(function() { item = {};item["name"] = $(this).find('img').attr('data-filename');item["caption"] = $(this).find('.caption').val();jsonMedia.push(item);});jsonComment = {};jsonComment["type"] = 1;jsonComment["title"] = $('#ic_title').val();jsonComment["comment"] = ic_comment;jsonComment["media"] = jsonMedia;jsonData = {};jsonData["parent_id"] = parent_id;jsonData["item_id"] = item_id;jsonData["item_title"] = 'Micaela House for sale in verona For Sale Near Tagaytay City, Very good location and good ambiance';jsonData["user_id"] = 23816;jsonData["user_name"] = 'PJsacdalan35';jsonData["user_email"] = 'aW5ldF9icmFuY2hAeWFob28uY29t';jsonData["comment_parent"] = $('#'+ic_id).attr('data-comment');jsonData["cat_name"] = 'House for Sale';jsonData["ic_comment"] = jsonComment;jQuery.ajax({url:'/ajax/comment',type:'post',dataType:'json',beforeSend:function(){$('#submit_comment').button('loading'); },data:{ data:JSON.stringify(jsonData) },success:function(o) {if (o.out==0) {$('#commentForm').after(o.new_comment);$('#commentForm').remove();$('#comments_total').text(parseInt($('#comments_total').text())+1);}else {showAlert(o.msg);$('#submit_comment').button('reset');} }, error:function(x, t, m) { console.log(x); showAlert('HTTP ERROR: '+x.status);$('#submit_comment').button('reset'); }, });return true;});var i = 0; //prevent double excutionvar ic_comment = "";jQuery('body').on('keyup','#embedlink',function(e) {var url = $(this).val();if (i++==0) {if (validURL(url) && $('#parse').text().length==0) { //add #parse length to prevent link parsing if embed alteady done.jQuery.ajax({ url:'/ajax/parseurl', cache:false,live:false,type:'post',dataType:'json', timeout:60000,data:{'url':url},beforeSend:function(){$('#submit_comment_link').button('loading'); },success:function(o) {if (o.out==0) {$('#parse').html('\
\
\
\
select thumb
\
\
\
\
');$('.parse-item img').attr('src',o.images[0]);$('.parse-item img').attr('data-filename',o.images[0]);$('.parse-item #parse-url').text(o.url);$('#selectImage .modal-header h3').html('Upload or Select Image');$('#selectImage .modal-body .images').html(showImages(o.images));}$('#ic_title').val(o.title);$('#submit_comment_link').button('reset'); $("#embedlink").hide(); }, error:function(x, t, m) {$('#submit_comment_link').button('reset'); if(t==="timeout") { showAlert('Unable to parse link.') } } });} else {if ($('#parse').text().length==0) {$('#parse').html(''+''+''+''+'');CKEDITOR.replace( 'ic_comment', { height: '100px',customConfig: 'comment_config.js?v=001' });}$('.parse-item').append($('#embedlink').val());ic_comment += $('#embedlink').val();$('#embedlink').removeAttr('value');}} else {i = 0; //reset keyup counter}});jQuery('body').on('click','#submit_comment_link',function(){ //$('#embedlink').trigger('keyup');if ($('#parse').text().length==0 && ic_comment.length==0) {showAlert('Enter link or embed code.')return false; }if(typeof CKEDITOR.instances['ic_comment'] != 'undefined') {ic_comment = CKEDITOR.instances['ic_comment'].getData() + ic_comment;} else {ic_comment = $('#ic_comment').val() + ic_comment;}jsonMedia = []; item = {};item["name"] = $('.parse-item').find('img').attr('data-filename');item["caption"] = "";jsonMedia.push(item);jsonComment = {};jsonComment["type"] = 2;jsonComment["title"] = $('#ic_title').val();jsonComment["link"] = $('.parse-item #parse-url').text();jsonComment["comment"] = ic_comment;jsonComment["media"] = jsonMedia;jsonData = {};jsonData["parent_id"] = parent_id;jsonData["item_id"] = item_id;jsonData["item_title"] = 'Micaela House for sale in verona For Sale Near Tagaytay City, Very good location and good ambiance';jsonData["user_id"] = 23816;jsonData["user_name"] = 'PJsacdalan35';jsonData["user_email"] = 'aW5ldF9icmFuY2hAeWFob28uY29t';jsonData["comment_parent"] = $('#'+ic_id).attr('data-comment');jsonData["cat_name"] = 'House for Sale';jsonData["ic_comment"] = jsonComment;jQuery.ajax({url:'/ajax/comment',cache:false,live:false,type:'post',dataType:'json',beforeSend:function(){$('#submit_comment_link').button('loading'); },data:{ data:JSON.stringify(jsonData) },success:function(o) {if (o.out==0) {$('#commentForm').after(o.new_comment);$('#commentForm').remove();$('#comments_total').text(parseInt($('#comments_total').text())+1);}else {showAlert(o.msg);$('#submit_comment_link').button('reset');} }, error:function(x, t, m) { showAlert('HTTP ERROR: '+x.status);$('#submit_comment_link').button('reset'); }, });return false;});jQuery('body').on('click','.reset-comment', function(){$("#commentForm").remove(); return true;});jQuery('body').on('click','#loadcomments a', function(){sort = $(this).attr('data-sort');if (sort != prev_sort) {prev_sort = sort;page = 1;if ($('#getcomments').is(':disabled')) {$('#getcomments').removeAttr('disabled');}}$('.reset-comment').trigger('click');$('#getcomments').trigger('click'); return true;});jQuery('body').on('click','#getcomments', function(){btn = $(this);jQuery.ajax({ url:'/ajax/getcomments', cache:false,live:false,type:'post',dataType:'json',data:{'item_id':item_id,'sort':sort,'page':page},beforeSend:function() { btn.button('loading'); },success:function(o) {if (page==1) {$('#comments-list').html(o.html);} else {$('#comments-list').append(o.html);}page++;var comment_left = parseInt(o.comment_count) - parseInt(o.total);if (comment_left > 0) {btn.button('reset');btn.html('Show '+(comment_left>i?i:comment_left)+' of '+comment_left+' more...');}else {btn.html('End of comments...');btn.attr('disabled', 'disabled');} }, }); return true;});jQuery('body').on('click','button#commentNewReply, button#commentReply, a[data-action="comment-reply"]', function(){ic_comment = "";$('#commentForm').remove(); if ($(this).attr('id')=='commentNewReply') { $('#comments-list').prepend('
'); } else { $(this).closest('.comment').after('
'); } $('#commentForm').append('\Post using your account from
Facebook, Google, or Yahoo:\
\ ');initializeUpload(); return true;});jQuery('body').on('click','button#commentReplyLink', function(){window.location.href = '/site/login'; return true;});jQuery('body').on('click','a[data-action="comment-delete"]', function(){if (!confirm('Delete?')) {return false;}var item = $(this).closest('.comment');ic_id = $(this).attr('data-ic_id');jQuery.ajax({ url:'/ajax/deletecomment', cache:false,live:false,type:'post',dataType:'json',data:{comment:$('#'+ic_id).attr('data-comment'),item_id:item_id},success:function(o) {if (o.out==0) {item.fadeOut('slow');$('#comments_total').text(parseInt($('#comments_total').text())-1);} else {showAlert(o.msg);} }, error:function(x, t, m) { showAlert('HTTP ERROR: '+x.status+' ('+m+')'); }, }); return true;});jQuery('body').on('click','a#item-edit', function(e){e.preventDefault();$('.hide-on-edit').hide();f = $('#item-edit-area');f.html(''+'
');//auto fieldsf.append('');f.append('');f.append('');f.append('');f.append('');getAddressFields(f,'PH',25,446);$("#item_address1").val("Silang Cavite");$("#item_address2").val("cavite");$("#item_post_code").val("4107");$("#item_latitude").val("14.214175");$("#item_longitude").val("120.968736");$("#map_canvas_edit").css({width:"100%",height:"300px",margin:"0 0 15px 0"});mapInitialize('map_canvas_edit',14.214175,120.968736,17);f.append('');$('.item-details').remove();CKEDITOR.replace('editor1',{customConfig:'config.js?v=001'});CKEDITOR.instances['editor1'].setData($('#item_body').html());f.append('
Click or drag and drop your image files here to upload.
Select Photo/Video
Get photo/video from web link or click upload:
Upload
Retrieving photos and videos from url...
');f.append('
');//hiddenf.append(''+''+''+''+''+'');//show gallery images (article, images, questions) $('.item_images').each(function() { appendImages($(this).attr('data-filesrc'), $(this).attr('data-filename'), $(this).attr('data-caption')); }); //show thumb (link, video) $('.item_image').each(function() { getParsedImage($(this).attr('src'), $(this).attr('data-filename')); });//set checked main image (article, images, questions) $("input[name=primary-image]").each(function() { if($(this).attr('data-filename')==$('#item_img_thumb').val()) { $(this).attr('checked',true); } }); //show buttonsf.append(' '+'');initializeUpload();return true;});jQuery('body').on('click','#item-edit-cancel', function(){location.reload();});jQuery('body').on('click','#parse .parse-item a.close',function(){$(this).parent().remove();$('#ItemForm_item_img_thumb').val('');});jQuery('body').on('click','#item-edit-save', function(e){e.preventDefault();//put images on single jsonjsonImages = [];$('.parse-item').each(function() {item = {};item['name'] = $(this).find('img').attr('data-filename');item['caption'] = $(this).find('.caption').val();jsonImages.push(item);});//set new main imageif (typeof $("[name='primary-image']:checked").val() !== 'undefined') {$("#item_img_thumb").val($("[name='primary-image']:checked").val());}//save$("#item_images").val(JSON.stringify(jsonImages));$("#editor1").val(CKEDITOR.instances['editor1'].getData());jQuery.ajax({ url:'/ajax/edititem', cache:false,live:false,type:'post',dataType:'json',data:$("form").serialize(),beforeSend:function(){$('#item-edit-save').button('loading');},success:function(o) {if (o.out==0) {location.reload();} else {showAlert(o.msg);$('#item-edit-save').button('reset');} }, error:function(x, t, m) { console.log(x);showAlert("HTTP ERROR: "+x.status);$('#item-edit-save').button('reset');} }); return true;});jQuery('body').on('click','a#item-expose', function(){if (!confirm("This will update your post date. Continue?")) {return;}jQuery.ajax({ url:'/ajax/exposeitem', type:'post',dataType:'json',data:{'item':$(this).attr('data-item')},success:function(o) {if (o.out==0) {showAlert('Post is now exposed.');}else {showAlert(o.msg);} },error:function(x, t, m) {showAlert("HTTP ERROR: "+x.status);} }); return true;});jQuery('body').on('click','a#item-update', function(){var msg = $(this).attr('data-message');if (!confirm("Set this item to "+msg+"?")) {return;}jQuery.ajax({ url:'/ajax/updateitem', type:'post',dataType:'json',data:{'status':$(this).attr('data-status'),'item':$(this).attr('data-item')},success:function(o) {if (o.out==0) {showAlert('Post is now set to '+msg);}else {showAlert(o.msg);} },error:function(x, t, m) {showAlert("HTTP ERROR: "+x.status);} }); return true;});jQuery('body').on('click','a#item-delete', function(){if (!confirm("Delete this post?")) {return;}jQuery.ajax({ url:'/ajax/deleteitem', cache:false,live:false,type:'post',dataType:'json',data:{'item':$(this).attr('data-item')},success:function(o) {if (o.out==0) {$('#content').html('');$('#content').html(sendAlert('Item was successfully deleted!'));}else {showAlert(o.msg);} },error:function(x, t, m) {showAlert("HTTP ERROR: "+x.status);} }); return true;});jQuery('body').on('click','a#item-admin', function(){if (!confirm("Delete this post?")) {return;}jQuery.ajax({ url:'/ajax/deleteitem',type:'post',dataType:'json',data:{rule:$(this).attr('data-rule'),item:$(this).attr('data-item')},success:function(o) {if (o.out==0) {$('#content-white').html('');$('#content-white').html(sendAlert('Item was successfully deleted!'));}else {showAlert(o.msg);} },error:function(x, t, m) {showAlert("HTTP ERROR: "+x.status);} }); return true;});jQuery('body').on('click','a[data-action="vote-comment"]', function(){jQuery.ajax({ url:'/ajax/votecomment', cache:false,live:false,type:'post',dataType:'json',data:{'id':$(this).attr('data-id'),'vote':$(this).attr('data-vote')},success:function(o) {if (o.out==1) {$('#commentPoint'+o.ic_id).text(parseInt($('#commentPoint'+o.ic_id).text())+o.points);} else if (o.out==2) {alert('You can no longer change your vote.');} else {alert('Please login.');} }, }); return true;});$('.imgPop').magnificPopup({ delegate: 'a', type: 'image', tLoading: 'Loading image #%curr%...', mainClass: 'mfp-img-mobile', gallery: { enabled: true, navigateByImgClick: true, preload: [0,1] // Will preload 0 - before current, and 1 after the current image }, image: { tError: 'The image #%curr% could not be loaded.', titleSrc: function(item) { return item.el.attr('title'); } }});$('#imgGallery').magnificPopup({ items: [ { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-148422956998-1081176-1554073204842585-4690536287227762557-n.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-148422957025-1082606-1554072798175959-4124481066768838162-n.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-148422957075-13494848-292961904378078-6302113780799844925-n.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-148422957428-081176-1554073204842585-4690536287227762557-n1.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-148422958382-20161007-112049.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464143414-snapshot-70.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-1633846415415-snapshot-87.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464157712-snapshot-64.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464160174-snapshot-85.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464165975-snapshot-58.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464165966-snapshot-59.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464173116-snapshot-76.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464174769-snapshot-75.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464174744-snapshot-90.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464182019-snapshot-81.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464183565-snapshot-82.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464191026-snapshot-79.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464192771-snapshot-89.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464195194-snapshot-94.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464195171-snapshot-92.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464202264-snapshot-86.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464269087-snapshot-65.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464279946-snapshot-71.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464283768-snapshot-83.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464289755-snapshot-93.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464306117-snapshot-74.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464306708-snapshot-88.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464309135-snapshot-63.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464321578-snapshot-61.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464322992-snapshot-91.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-1633846432304-snapshot-77.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464332506-snapshot-78.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464333338-snapshot-60.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464335626-snapshot-80.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464338088-snapshot-72.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-1633846434274-snapshot-69.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464342728-snapshot-73.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464344228-snapshot-84.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464346647-snapshot-67.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464355903-snapshot-66.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-16338464359288-snapshot-62.jpg', title: '' }, { src: 'https://www.pinoyprofessionals.com/upload/img/orig/23816-1633846436946-snapshot-68.jpg', title: '' }, ], gallery: { enabled: true }, type: 'image' });$('#comments .gallery a').magnificPopup({type: 'image',closeBtnInside: false, closeOnContentClick: true, image: {verticalFit: true,titleSrc: function(item) {return item.el.attr('title');}}});//share$("#share-button").html("" +""+""+""+""+"");$(document).on("change","select[name=item_auto_make_id]", function(e){$("#item_auto_make").val($("#item_auto_make_id option:selected").text());if ($(this).val()=="49") {$("#carmakes").html(' brands ');} });});function getParsedImage(src, filename) {$('#parse').html(''+'×'+'');}function appendCommentImages(src, filename, caption) {$('#parse').append('
'+'
'+'
'+''+ 'Remove'+'
'+'
');}function getCarMakes(id) {make = $('.item_auto_make').text();jQuery.ajax({ url:'/ajax/GetCarMakes', type:'get',dataType:'json',success:function(o) {if (o.out==0) {if (id==0||id=="") {$("#carmakes").html(' brands ');} else {$("#carmakes").html(o.html);$("#item_auto_make_id").val(id);$("#carmakes").append('');$("#item_auto_make").val($("#item_auto_make_id option:selected").text());}} }, error:function(x, t, m) {showAlert("HTTP ERROR: "+x.status);} });}var map = null;var geocoder;var marker = null;function mapInitialize(id,lat,lng,zoom) {$('#map_button').html('\Zoom To Address Location * Click on the map and pin the exact location of your listing.');geocoder = new google.maps.Geocoder(); var latlng = new google.maps.LatLng(lat, lng); var settings = { zoom: zoom, center: latlng, mapTypeControl: false, scaleControl: true, zoomControlOptions: { position: google.maps.ControlPosition.TOP_LEFT}, navigationControl: true, navigationControlOptions: { style: google.maps.NavigationControlStyle.DEFAULT }, mapTypeId: google.maps.MapTypeId.ROADMAP, backgroundColor: 'white' }; map = new google.maps.Map(document.getElementById(id), settings); google.maps.event.addListener(map, 'click', function(event){ $('#item_latitude').val(event.latLng.lat()); $('#item_longitude').val(event.latLng.lng()); if (marker) { marker.setPosition(event.latLng); } else { marker = new google.maps.Marker({ map: map, position: event.latLng }); }});marker = new google.maps.Marker({map: map, position: latlng});}jQuery('body').on('click','#mapZoomToAddress',function(){var address1 = $('#item_address1').val()!='' ? $('#item_address1').val() + ', ' : '';var address2 = $('#item_address2').val()!='' ? $('#item_address2').val() + ', ' : '';var city = $('#item_city_id').find("option:selected").val()!='0' ? $('#item_city_id').find("option:selected").text() + ', ' : '';var post_address = address1+address2+city+$('#item_state_prov_id').find("option:selected").text()+', Philippines '+$('#item_post_code').val();geocoder.geocode( { 'address': post_address}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) { $('#item_latitude').val(results[0].geometry.location.lat()); $('#item_longitude').val(results[0].geometry.location.lng());map.setCenter(results[0].geometry.location);map.setZoom(17);if (marker) {marker.setPosition(results[0].geometry.location);} else {marker = new google.maps.Marker({map: map, position: results[0].geometry.location});}} else {showAlert('Unable to find address on map. Please find it manually.');}});});function zoomToRegion(zoom) {var city = $('#item_city_id').find("option:selected").val()!='0' ? $('#item_city_id').find("option:selected").text() + ', ' : '';var post_address = city+$('#item_state_prov_id').find("option:selected").text()+', Philippines '+$('#item_post_code').val();geocoder.geocode( { 'address': post_address}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) { $('#item_latitude').val(results[0].geometry.location.lat()); $('#item_longitude').val(results[0].geometry.location.lng());map.setCenter(results[0].geometry.location);map.setZoom(zoom);if (marker) {marker.setPosition(results[0].geometry.location);} else {marker = new google.maps.Marker({map: map, position: results[0].geometry.location});}} else {showAlert('Unable to find address on map. Please find it manually.');}});}jQuery('body').on('change','#item_state_prov_id',function(){$('#item_city_id').find("option:selected").val('0');zoomToRegion(13);});jQuery('body').on('change','#item_city_id',function(){zoomToRegion(15);});function showImage(src) {var tmp = ''+'
'+''+ ''+ ''+ '
';return tmp;}function showImages(src) {var tmp = '';var i = 0;var col = 4;while (i < src.length) {tmp += (i%col==0?'
':'');tmp += ''+ ''+ ''+ ''+'';tmp += ((i+1)%col==0 || i+1==src.length?'
':'');i++;}return tmp;}function validYoutube(url) { var p = /^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/; return (url.match(p)) ? RegExp.$1 : false;}function validURL(myVariable) {return (/^([a-z]([a-z]|\d|\+|-|\.)*):(\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'\(\)\*\+,;=]|:)*@)?((\[(|(v[\da-f]{1,}\.(([a-z]|\d|-|\.|_|~)|[!$&'\(\)\*\+,;=]|:)+))\])|((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'\(\)\*\+,;=])*)(:\d*)?)(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'\(\)\*\+,;=]|:|@)*)*|(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'\(\)\*\+,;=]|:|@)*)*)?)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'\(\)\*\+,;=]|:|@)*)*)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'\(\)\*\+,;=]|:|@)){0})(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(myVariable));}