03,600 views
By @mcce15 years ago
Description
Price:₱0
Location:Filinvest Dr. cor. Commerce Ave.
Muntinlupa City, Metro Manila,Philippines 1780
OFFERING A HIGH YIELDING INVESTMENT OPPORTUNITY. ACACIA GROVE HOTEL is envisioned to be the first Filipino Hotel Chain to provide full-line, personalized services to the businessmen and tourists with distinct Filipino hospitality. It is the first hotel-condominium development in the Philippine Real Estate Industry under a unique investment concept. We, at ACACIA GROVE HOTEL, aims to offer the following innovative concepts: FOR MORE INFORMATION, KINDLY CONTACT: MAC Evangelista
We will also be offering a combination of unique product features that no other form of investment can.
Given these innovative concepts and unique product features, ACACIA GROVE HOTEL, is to be considered a very enterprising opportunity for Balikbayans and offshore property investors, making this particular condominium hotel development an ideal investment.
International Network Manager
+63 2 8503333 Loc 106
+63 927 4973802
mac.evangelista@chmigroup.com
http://acaciagrovehotel.multiply.com
▸ All Apartment and Condo for Sale in Muntinlupa City, Metro Manila.
▸ All Apartment and Condo for Sale in Metro Manila.
Browse Region
Location Map
@mcce | |
Inquiries
hi..would like to inquuire more on this. How much is cost of each unit and terms...thanks...
From: jr navarro Guest /Jul 7, 2009 permalink reply (0)
Other Real Estate Posts You Might Like
₱3,000,000 9 months ago · 0 like · 344 viewsSucat 1 Bedroom W/ Balcony for Sale at Tribeca at East Bay Residences
Sucat 1 Bedroom w balcony for sale at East Bay Located along East Service Road Sucat Muntinlupa City Tribeca at East Bay Residences 1 Bedroom Unit with balcony 1 toilet and Bath
₱3,600,000 1 year ago · 0 like · 406 viewsStudio Unit for Sale in Filinvest City at Studio City Alabang
Studio unit for sale in Filinvest City at Studio City Alabang Located in West Parc Drive Filinvest City Alabang Muntinlupa City. Studio City Alabang Studio Unit 1 toilet and Bath
₱3,700,000 1 year ago · 0 like · 331 viewsStudio Unit for Sale Near Sucat SLEX Exit in Anuva Residences
Studio unit for sale near Sucat SLEX exit in Anuva Residences Located in East Service Road Buli Muntinlupa City Anuva Residences Studio Unit 1 toilet and Bath Floor area 23 sqm.
₱17,143,300 3 years ago · 0 like · 735 viewsBotanika Nature Residences I Alabang
Nestled in the most exclusive district in the Garden City of the south in Filinvest City Alabang is Filigree s most premium project thus far Botanika Nature Residences. This
₱8,600,000 4 years ago · 0 like · 2,578 viewsAffordable Condo Ready For Occupancy in Alabang Rhapsody
"ready for occupancy condo in manila" Rhapsody In Alabang Commercial Establishments Alabang Town Center (Alabang) 8 km (25 mins) Festival Supermall (Alabang) 5 km (15 mins) SM
4 years ago · 0 like · 1,114 viewsAvida Towers Ardane
Avida Towers Ardane (Pre Selling) South Park District National Road Alabang Muntinlupa City Project type High Rise Residential Condo Studio 23 sqm Jr 1 Bedroom 23 sqm 1 Bedroom
More Apartment and Condo for Sale in these Metro Manila Cities
▸ Caloocan City, Metro Manila |
▸ Las Pinas City, Metro Manila |
▸ Makati City, Metro Manila |
▸ Malabon City, Metro Manila |
▸ Mandaluyong City, Metro Manila |
▸ Manila, Metro Manila |
▸ Marikina City, Metro Manila |
▸ Muntinlupa City, Metro Manila |
▸ Navotas, Metro Manila |
▸ Paranaque City, Metro Manila |
▸ Pasay City, Metro Manila |
▸ Pasig City, Metro Manila |
▸ Pateros, Metro Manila |
▸ Quezon City, Metro Manila |
▸ San Juan, Metro Manila |
▸ Taguig City, Metro Manila |
▸ Valenzuela City, Metro Manila |
Latest Posts
Ortigas Home Hotel Condo On Call Massage Service · 1 day ago
Mandaluyong Home Hotel Condo On Call Massage Service · 1 day ago
BGC Home Hotel Condo On Call Massage Service · 1 day ago
Makati Home Hotel Condo On Call Massage Service · 1 day ago
Malate Home Hotel On Call Massage Service · 1 day ago
Pasay Home Hotel Condo On Call Massage Service · 1 day ago
Paranaque Home Hotel Condo On Call Massage Service · 1 day ago
Alabang Home Hotel Condo On Call Massage Service · 1 day ago
Las Pinas Home Hotel Condo On Call Massage Service · 1 day ago
Bacoor Home Hotel Condo On Call Massage Service · 1 day ago
Select Image
Upload
';}jQuery(function($) {jQuery.ajax({url:'/map/getmap',type:'post',dataType:'json',data:{"item_id":"1502","cat_parent_name":"Real Estate","cat_name":"Apartment and Condo for Sale","country_code":"PH","state_id":"1","state":"Metro Manila","city_id":"8","city":"Muntinlupa City","lat":"14.408133","lon":"121.041467","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"] = 'Acacia Grove Hotel: Offering a high yielding investment opportunity.';jsonData["user_id"] = 998;jsonData["user_name"] = 'mcce';jsonData["user_email"] = 'bWFjLmV2YW5nZWxpc3RhQGdtYWlsLmNvbQ==';jsonData["comment_parent"] = $('#'+ic_id).attr('data-comment');jsonData["cat_name"] = 'Apartment and Condo 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"] = 'Acacia Grove Hotel: Offering a high yielding investment opportunity.';jsonData["user_id"] = 998;jsonData["user_name"] = 'mcce';jsonData["user_email"] = 'bWFjLmV2YW5nZWxpc3RhQGdtYWlsLmNvbQ==';jsonData["comment_parent"] = $('#'+ic_id).attr('data-comment');jsonData["cat_name"] = 'Apartment and Condo 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',1,8);$("#item_address1").val("Filinvest Dr. cor. Commerce Ave.");$("#item_address2").val("");$("#item_post_code").val("1780");$("#map_canvas_edit").css({width:"100%",height:"300px",margin:"0 0 15px 0"});mapInitialize('map_canvas_edit',11.3333,123.0167,5);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/1502_u_998_1233995434_blast_jpeg_(leaves_2).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));}