var breeze_prefetch = {"local_url":"https:\/\/pressreleasenetwork.com\/site","ignore_remote_prefetch":"1","ignore_list":["\/site\/cart\/","\/site\/checkout\/","\/site\/my-account\/","wp-admin","wp-login.php"]};
var wc_add_to_cart_params = {"ajax_url":"\/site\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/site\/?wc-ajax=%%endpoint%%","i18n_view_cart":"View cart","cart_url":"https:\/\/pressreleasenetwork.com\/site\/cart\/","is_cart":"","cart_redirect_after_add":"no"};
Playing its part in fighting the COVID-19 pandemic, the Hong Kong Tourism Board (HKTB) has made new arrangements for upcoming mega events: Hong Kong WinterFest, Hong Kong New Year Countdown Celebrations, and Chinese New Year Celebrations.
The Fletcher School at Tufts University, The Graduate School of Global Affairs at Tufts University, in partnership with Mastercard, today unveiled the Digital Intelligence Index, which charts the progress countries have made in advancing their [...]
The Ready to Fly portfolio of solutions offered by Thales are designed to help our airline customers restore passenger confidence in air travel during the crisis and in a post pandemic world.
With Ready to Fly, ThalesInFlyt Experience is focused [...]
Unspoilt nature and carefree enjoyment, sustainable offers and good entertainment are the cornerstones of the ‘German Summer Cities 2021’ campaign, with which the German National Tourist Board (GNTB) is promoting vacations in the urban [...]
Antoine Rozner secured his maiden European Tour title at the Golf in Dubai Championship presented by DP World after posting a superb eight under par 64 on a thrilling final day at Jumeirah Golf Estates.
Rozner started the day four shots behind leader [...]
Global Village, the UAE and wider region’s leading multicultural family destination for culture, shopping, and entertainment, hosted excited guests over the long weekend as extraordinary celebrations took place across the park to mark the 49th [...]
Growing in such a unique time, our new generation of creatives must be supported and promoted. In this spirit, Tod’s announces the collaboration, initiated last July as part of Tod’s Academy, with the prestigious Central [...]
Millennials prefer Bitcoin to gold as a safe-haven asset, a new global survey from one of the world’s largest independent financial advisory and fintech organisations has revealed.
The findings of the poll carried out by deVere Group come in the [...]
Three winners of awards that honour brave, yet often unrecognised journalists for their reporting on conflict, corruption and injustice are announced today.
Shah Meer Baloch, a journalist from Pakistan, wins the Kurt Schork Freelance [...]
Severe long-term effects of the COVID-19 pandemic could push an additional 207 million people into extreme poverty on top of the current pandemic trajectory, bringing the total to over 1 billion by 2030, according to findings released today by the [...]
var _acic={dataProvider:10};(function(){var e=document.createElement("script");e.type="text/javascript";e.async=true;e.src="https://www.acint.net/aci.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)})()
document.addEventListener( 'wpcf7mailsent', function( event ) {
var enabled_use_paypal = event.detail.apiResponse.enabled_use_paypal;
var enabled_use_stripe = event.detail.apiResponse.enabled_use_stripe;
var payment_gateway = event.detail.apiResponse.payment_gateway;
var stripe_email = event.detail.apiResponse.stripe_email;
var stripe_suc_url = event.detail.apiResponse.stripe_suc_url;
var stripe_procs_pay_txt = event.detail.apiResponse.stripe_procs_pay_txt;
var stripe_amount_text = event.detail.apiResponse.stripe_amount_text;
var stripe_pay_fail_text = event.detail.apiResponse.stripe_pay_fail_text;
var stripe_pay_amount = event.detail.apiResponse.stripe_pay_amount;
var stripe_insert_id = event.detail.apiResponse.stripe_insert_id;
if((event.detail.unitTag) ){
var cf7wpay_id_long = event.detail.unitTag;
}else{
var cf7wpay_id_long = event.detail.id;
}
console.log(cf7wpay_id_long);
var cf7wpay_id = event.detail.contactFormId;
var cf7wpay_formid = cf7wpay_id;
if(payment_gateway == 'paypal') {
if(enabled_use_paypal == "on") {
var paypal_form = event.detail.apiResponse.paypal_form;
jQuery('body').append(paypal_form);
setTimeout(function() {
jQuery( "#cf7wpay_paypal" ).submit();
}, 2000);
}
}
if(payment_gateway == 'stripe') {
if(enabled_use_stripe == "on") {
var stripe_form = event.detail.apiResponse.stripe_form;
setTimeout(function() {
jQuery('#'+cf7wpay_id_long).html(stripe_form);
if (jQuery('.cf7wpay_stripe').length ) {
var stripe = Stripe(event.detail.apiResponse.stripe_pubkey);
var elements = stripe.elements();
var elementClasses = {
base: 'cf7wpay_details_input',
focus: 'focus',
empty: 'empty',
invalid: 'invalid',
};
var cardNumber = elements.create('cardNumber', {
classes: elementClasses,
placeholder: "\u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022",
});
cardNumber.mount('#cf7wpay_stripe_credit_card_number');
var cardExpiry = elements.create('cardExpiry', {
classes: elementClasses,
placeholder: "\u2022\u2022 / \u2022\u2022",
});
cardExpiry.mount('#cf7wpay_stripe_credit_card_expiration');
var cardCvc = elements.create('cardCvc', {
classes: elementClasses,
placeholder: "\u2022\u2022\u2022",
});
cardCvc.mount('#cf7wpay_stripe_credit_card_csv');
var cardPostalCode = elements.create('postalCode', {
classes: elementClasses,
placeholder: "\u2022\u2022\u2022\u2022\u2022",
});
cardPostalCode.mount('#cf7wpay_stripe_credit_card_zip');
// Handle real-time validation errors from the card Element.
cardNumber.addEventListener('change', function(event) {
var displayError = document.getElementById('card-errors');
if (event.error) {
displayError.textContent = event.error.message;
} else {
displayError.textContent = '';
}
});
cardExpiry.addEventListener('change', function(event) {
var displayError = document.getElementById('card-errors');
if (event.error) {
displayError.textContent = event.error.message;
} else {
displayError.textContent = '';
}
});
cardCvc.addEventListener('change', function(event) {
var displayError = document.getElementById('card-errors');
if (event.error) {
displayError.textContent = event.error.message;
} else {
displayError.textContent = '';
}
});
cardPostalCode.addEventListener('change', function(event) {
var displayError = document.getElementById('card-errors');
if (event.error) {
displayError.textContent = event.error.message;
} else {
displayError.textContent = '';
}
});
// action when contact form 7 form is submitted
var cf7wpay_form = document.getElementById('cf7wpay-payment-form');
cf7wpay_form.addEventListener('submit', function(event) {
var cf7wpay_id_long = jQuery('.cf7wpay_stripe').closest('.wpcf7').attr("id");
var cf7wpay_formid = cf7wpay_id_long.split('f').pop().split('-').shift();
var cf7wpay_email = stripe_email;
var cf7wpay_stripe_return = stripe_suc_url;
jQuery('#stripe-submit').attr("disabled", "disabled");
jQuery('#stripe-submit').val(stripe_procs_pay_txt);
event.preventDefault();
stripe.createToken(cardNumber).then(function(result) {
// console.log(result);
if (result.error) {
var errorElement = document.getElementById('card-errors');
errorElement.textContent = result.error.message;
jQuery('#stripe-submit').removeAttr("disabled");
jQuery('#stripe-submit').val(stripe_amount_text);
} else {
var cf7wpay_data = {
'action': 'cf7wpay_stripe_charge',
'token': result.token,
'cf7wpay-security': '4564502814',
'id': cf7wpay_formid,
'email': cf7wpay_email,
'pay_amount': stripe_pay_amount,
'stripe_insert_id': stripe_insert_id
};
jQuery.ajax({
type: "POST",
data: cf7wpay_data,
dataType: "json",
url: 'https://pressreleasenetwork.com/site/wp-admin/admin-ajax.php',
xhrFields: {
withCredentials: true
},
success: function (result) {
if (result.response == 'completed') {
if (cf7wpay_stripe_return) {
window.location.href = cf7wpay_stripe_return;
} else {
jQuery('#'+cf7wpay_id_long).html(result.html_success);
}
} else {
jQuery('#card-errors').html(stripe_pay_fail_text);
jQuery('#stripe-submit').removeAttr("disabled");
jQuery('#stripe-submit').val(stripe_amount_text);
}
}
});
}
});
});
};
}, 1500);
}
}
}, false );
(function () {
var c = document.body.className;
c = c.replace(/woocommerce-no-js/, 'woocommerce-js');
document.body.className = c;
})();
var buttonizer_data = {"plugin":"buttonizer","status":"success","result":[{"data":{"name":"New group","show_mobile":true,"show_desktop":true,"id":"abf0ea79-2eb0-422c-9c78-8e46142a64f7","label":"Contact Us","vertical":"bottom: 10%;","horizontal":"left: 5%;"},"buttons":[{"name":"WhatsApp button","show_mobile":true,"show_desktop":true,"id":"65de0542-d2b3-4153-9481-3b4d1ef74665","type":"whatsapp","action":"+971506449103","text_body":"Hello from the Press Release Network website. I want to know more about ","label":"Let's Connect!","background_color":"rgba(173, 37, 49, 1);rgba(37, 211, 102, 1)","icon":"fab fa-whatsapp","icon_size":25,"icon_image_size":25,"label_font_size":18}]}],"warning":[],"premium":""};
var buttonizer_ajax = {"ajaxurl":"https:\/\/pressreleasenetwork.com\/site\/wp-admin\/admin-ajax.php","version":"2.5.2","buttonizer_path":"https:\/\/pressreleasenetwork.com\/site\/wp-content\/plugins\/buttonizer-multifunctional-button","buttonizer_assets":"https:\/\/pressreleasenetwork.com\/site\/wp-content\/plugins\/buttonizer-multifunctional-button\/assets\/","base_url":"https:\/\/pressreleasenetwork.com\/site","current":[],"in_preview":"","is_admin":"","cache":"1f99b303769ea6e63c3a7109946c612b","enable_ga_clicks":"1"};
var wpcf7 = {"apiSettings":{"root":"https:\/\/pressreleasenetwork.com\/site\/wp-json\/contact-form-7\/v1","namespace":"contact-form-7\/v1"},"cached":"1"};
var cf47rsVars = {"var":{"ajaxUrl":"https:\/\/pressreleasenetwork.com\/site\/wp-admin\/admin-ajax.php","themeUrl":"https:\/\/pressreleasenetwork.com\/site\/wp-content\/themes\/realtyspace","siteUrl":"https:\/\/pressreleasenetwork.com\/site","isFallback":true}};
var cf47rsVars = {"option":[],"var":{"enableAuth":false,"isLoggedIn":false,"isCustomMarker":false,"customMarkerWidth":24,"customMarkerHeight":47,"customMarkerIcon":"","autocompleteRegion":"worldwide","isPreloaderEnabled":false,"fixedMenu":false,"fixedMenuOffset":"97","isCustomizer":false,"isScrollupEnabled":true,"isRtl":false,"isInputStyleRange":true,"ajaxUrl":"https:\/\/pressreleasenetwork.com\/site\/wp-admin\/admin-ajax.php","themeUrl":"https:\/\/pressreleasenetwork.com\/site\/wp-content\/themes\/realtyspace","siteUrl":"https:\/\/pressreleasenetwork.com\/site","isFallback":false},"activeWidgets":{"search":{"search-2":[]},"cf47rs-recent-posts":{"cf47rs-recent-posts-2":{"loadMore":true,"totalPages":695,"ajaxLoad":false}},"custom_html":{"custom_html-3":[]},"archives":{"archives-2":[]},"categories":{"categories-2":[]},"meta":{"meta-2":[]}},"messages":[],"i18n":{"numberAbbr":["k","m","b","t"],"defaultError":"An error occured. Please contact website administrator","dictDefaultMessage":"Drop files here to upload","dictFallbackMessage":"Your browser does not support drag'n'drop file uploads.","dictFallbackText":"Please use the fallback form below to upload your files like in the olden days.","dictInvalidFileType":"You can't upload files of this type.","dictResponseError":"Server responded with {{statusCode}} code.","dictCancelUpload":"Cancel upload","dictCancelUploadConfirmation":"Are you sure you want to cancel this upload?","dictRemoveFile":"Remove file","dictMaxFilesExceeded":"You can not upload any more files."},"initField":[],"initModules":[],"route":{"register":"https:\/\/pressreleasenetwork.com\/site\/wp-admin\/admin-ajax.php?action=cf47rs_register&_ajax_nonce=44221f02c4","login":"https:\/\/pressreleasenetwork.com\/site\/wp-admin\/admin-ajax.php?action=cf47rs_login&_ajax_nonce=084acb54f3","switchAreaUnit":"https:\/\/pressreleasenetwork.com\/site\/wp-admin\/admin-ajax.php?action=cf47rs_switch_area_unit&_ajax_nonce=e60eadf6ea","propertyMapSearch":"https:\/\/pressreleasenetwork.com\/site\/wp-admin\/admin-ajax.php?action=cf47rs_property_map_search&_ajax_nonce=56f84a70cd"},"template":[]};
var wc_order_attribution = {"params":{"lifetime":1.0000000000000000818030539140313095458623138256371021270751953125e-5,"session":30,"base64":false,"ajaxurl":"https:\/\/pressreleasenetwork.com\/site\/wp-admin\/admin-ajax.php","prefix":"wc_order_attribution_","allowTracking":true},"fields":{"source_type":"current.typ","referrer":"current_add.rf","utm_campaign":"current.cmp","utm_source":"current.src","utm_medium":"current.mdm","utm_content":"current.cnt","utm_id":"current.id","utm_term":"current.trm","utm_source_platform":"current.plt","utm_creative_format":"current.fmt","utm_marketing_tactic":"current.tct","session_entry":"current_add.ep","session_start_time":"current_add.fd","session_pages":"session.pgs","session_count":"udata.vst","user_agent":"udata.uag"}};