Know the Benefits of CBD Tea Drinks –
- Home
- Blog
- Know the Benefits of CBD Tea Drinks
Login or Create an account
= 0){ var splitResult = response[key][‘value’].split(‘-/-‘); response[key][‘value’] = splitResult[0]; } } ); } else { response = {error: “null”}; } return response; } } }); var member_searchDataSrc = member_searchEngine.initialize(); member_searchDataSrc .done(function() { /*console.log(‘Autosuggestions engine initialized.’); */}) .fail(function() { /*console.log(‘err, something went wrong while initializing autosuggestions engine:(‘);*/}) $(‘.member_search’).typeahead({ minLength: 1, highlight: true, hint: false }, { display: ‘value’, source: member_searchEngine.ttAdapter(), limit: 10, templates: { empty: [ ”, ‘Result not found’, ” ].join(” “), notFound: [ ”, ‘Result not found’, ” ].join(” “), suggestion: function(data) { if (data == “null”) { strTemplate = ‘Result not found’; } else { strTemplate = ‘
‘ + data.value + ‘
‘ + data.comes_f + ‘
‘ + data.location + ‘ ‘; if ((data.link == undefined) || (data.link == “”) || (data.link == “novalue”)) { strTemplate = strTemplate.replace(/href=”.*?”/, “href=’#'”); } if ((data.photo == undefined) || (data.photo == “”) || (data.photo == “novalue”)) { strTemplate = strTemplate.replace(//, “”); } } return strTemplate; } }, }).on(‘typeahead:selected’, function (obj, datum) { /* console.log(obj); console.log(datum); */ }); $(‘.member_search’).each(function() { var inputWidth = $(this).outerWidth(); $(this).siblings(‘.tt-dropdown-menu’).css(‘width’,inputWidth+’px’); }); }); ]]>
= 0){ var splitResult = response[key][‘value’].split(‘-/-‘); response[key][‘value’] = splitResult[0]; } } ); } else { response = {error: “null”}; } return response; } } }); var global_searchDataSrc = global_searchEngine.initialize(); global_searchDataSrc .done(function() { /*console.log(‘Autosuggestions engine initialized.’); */}) .fail(function() { /*console.log(‘err, something went wrong while initializing autosuggestions engine:(‘);*/}) $(‘.global_search’).typeahead({ minLength: 3, highlight: true, hint: false }, { display: ‘value’, source: global_searchEngine.ttAdapter(), limit: 3, templates: { empty: [ ”, ‘Result not found’, ” ].join(” “), notFound: [ ”, ‘Result not found’, ” ].join(” “), suggestion: function(data) { if (data == “null”) { strTemplate = ‘Result not found’; } else { strTemplate = ‘
‘ + data.value + ‘
‘ + data.comes_f + ‘
‘ + data.location + ‘ ‘; if ((data.link == undefined) || (data.link == “”) || (data.link == “novalue”)) { strTemplate = strTemplate.replace(/href=”.*?”/, “href=’#'”); } if ((data.photo == undefined) || (data.photo == “”) || (data.photo == “novalue”)) { strTemplate = strTemplate.replace(//, “”); } } return strTemplate; } }, }).on(‘typeahead:selected’, function (obj, datum) { /* console.log(obj); console.log(datum); */ }); $(‘.global_search’).each(function() { var inputWidth = $(this).outerWidth(); $(this).siblings(‘.tt-dropdown-menu’).css(‘width’,inputWidth+’px’); }); }); ]]>
‘); } } if(thisObj.hasClass(‘googleSuggest’) && thisObj.val().length == 0){ thisObj.parent().append(‘‘); } if (thisObj.val() == “” && thisObj.parent().find(‘.clear_content’).length){ thisObj.parent().find(‘.clear_content’).remove(); } } $(‘.sm-autosuggest input, .googleSuggest, .large-autosuggest input, .md-autosuggest input, .normal-autosuggest input, .google-writen-location’).keyup(function(){ clearContent($(this)); }); $(document).ready(function(){ $(‘.sm-autosuggest input, input.googleSuggest, .large-autosuggest input, .md-autosuggest input, .normal-autosuggest input, .google-writen-location’).each(function(){ clearContent($(this)); }) }) $(document).on(‘click’, ‘.clear_content’, function(){ $(this).parent().find(‘input’).val(”); clearContent($(this).parent().find(‘input’)); $(this).remove(); }); ]]> 600) { $(‘.scrollup’).fadeIn(); } else { $(‘.scrollup’).fadeOut(); } }); $(‘.scrollup’).click(function(){ $(“html, body”).animate({ scrollTop: 0 }, 600); return false; }); $(‘#cropButton’).click(function(){ var iframe = $(“#cropiFrame”); iframe.attr(“src”, iframe.data(“src”)); }); }); ]]> 0) { $(this).val(formattedAddress.join(‘, ‘)); clearContent($(this)); } } }); } else { $(‘.googleSuggest’).each(function () { $(this).val(”); }); } }); } }; var vlon = ”; var vlat = ”; function showError(error) { switch (error.code) { case error.PERMISSION_DENIED: $(‘.fill_location.clicked’).popover({ content: ‘Your Local browser settings have prevented location targeting’, container: ‘body’}); $(‘.fill_location.clicked’).popover(‘toggle’); setTimeout(function(){ $(‘.fill_location.clicked’).popover(‘hide’); $(‘.fill_location.clicked’).removeClass(‘clicked’); }, 2000); break; case error.POSITION_UNAVAILABLE: console.log(“Location information is unavailable.”); break; case error.TIMEOUT: console.log(“The request to get user location timed out.”); break; case error.UNKNOWN_ERROR: console.log(“An unknown error occurred.”); break; } } if (navigator.geolocation) { if($(“.googleSuggest”)[0]){ $(document).on(‘click’, ‘.fill_location’, function(){ $(this).addClass(‘clicked’); var startPos; navigator.geolocation.getCurrentPosition(function (position) { startPos = position; vlat = startPos.coords.latitude; vlon = startPos.coords.longitude; $.get(“/api/data/html/get/data_widgets/widget_name”, { “vlat”: vlat, “vlon”: vlon, “name”: “Website – Save Coordinates Session” }).done(function (data) { }); populateSearchFields(); }, showError); }) window.onload = function () { }; } } else { console.log(‘Geolocation is not supported for this Browser/OS version yet.’); } ]]> 0){ $(this).prepend(‘‘); $(this).find(‘a’).after(”); $(this).find(‘span’).after(”); } $(this).append(”); }); $(‘.mobile-main-menu .sidebar-nav li i’).click(function(){ if ($(this).parent().children(‘ul’).length > 0){ $(this).parent().toggleClass(‘sub_open’); } if ($(this).hasClass(‘fa-plus’)){ $(this).switchClass(‘fa-plus’,’fa-minus’); } else { $(this).switchClass(‘fa-minus’,’fa-plus’); } }); }) if ($(window).width() > 740 && $(window).width() 0){ $(this).prepend(‘‘); $(this).find(‘a’).after(”); var this_link = $(this).children(‘a’).text().replace(/[^x00-x7F]/g, “”);; $(this).children(‘a’).html(this_link); $(this).find(‘span’).after(”); } $(this).append(”); }); $(‘.tablet-menu .tablet-menu-ul li i’).click(function(){ if ($(this).parent().children(‘ul’).length > 0){ $(this).parent().toggleClass(‘sub_open’); if ($(this).siblings( “ul” ).hasClass(‘tablet-block’)){ $(this).siblings( “ul” ).switchClass(‘tablet-block’, ‘tablet-none’); } else { $(this).siblings( “ul” ).addClass( “tablet-block” ); if ($(this).siblings( “ul” ).hasClass(‘tablet-none’)){ $(this).siblings( “ul” ).removeClass(‘tablet-none’) } if ($(this).parent().siblings().children(‘ul’).hasClass(‘tablet-block’)) { $(this).parent().siblings().children(‘ul’).switchClass(‘tablet-block’, ‘tablet-none’); $(this).parent().siblings().children(‘i’).switchClass(‘fa-minus’,’fa-plus’); } if ($(this).parent().siblings().children(‘ul’).children().children(‘ul’).hasClass(‘tablet-block’)) { $(this).parent().siblings().children(‘ul’).children().children(‘ul’).switchClass(‘tablet-block’, ‘tablet-none’); $(this).parent().siblings().children(‘ul’).children().children(‘i’).switchClass(‘fa-minus’,’fa-plus’); } if ($(this).siblings(‘ul’).children(‘ul’).children().children(‘ul’).hasClass(‘tablet-block’)) { $(this).siblings(‘ul’).children(‘ul’).children().children(‘ul’).switchClass(‘tablet-block’, ‘tablet-none’); $(this).siblings(‘ul’).children(‘ul’).children().children(‘i’).switchClass(‘fa-minus’,’fa-plus’); } } } if ($(this).hasClass(‘fa-plus’)){ $(this).switchClass(‘fa-plus’,’fa-minus’); } else { $(this).switchClass(‘fa-minus’,’fa-plus’); } }); }) } ]]> 0) { $(‘#’ + targetSelect).select2(“open”); } } }, 400); } }); const topRequired = document.querySelector(‘label[for=”top-id-select”] span.required’); const subRequired = document.querySelector(‘label[for=”sub-id-select”] span.required’); const subSubRequired = document.querySelector(‘label[for=”sub-sub-id-select”] span.required’); //code to check that the categories have been submitted if the settings are enabled $(‘#myform’).submit(function (e) { let topRequiredVal = document.getElementById(‘top-id-select’); let subRequiredVal = document.getElementById(‘sub-id-select’); let subSubRequiredVal = document.getElementById(‘sub-sub-id-select’); if ((topRequired !== null && topRequiredVal !== null && topRequiredVal.value == ”) || (subRequired !== null && subRequiredVal !== null && subRequiredVal.value == ”) || (subSubRequired !== null && subSubRequiredVal !== null && subSubRequiredVal.value == ”)) { e.preventDefault(); e.stopPropagation(); e.stopImmediatePropagation(); swal(“Whoops!”, “Please select a category to submit this request”, “error”); } }); ]]>= 0) { notification.html(`Processing Request…`).addClass(“alert-warning”); setTimeout(function(){ fv.defaultSubmit(); }, 100); } else { notification.html(`Processing Request…`).addClass(“alert-warning”); if(counterSubmit == 0) { counterSubmit++; $.ajax({ url: action, type: method, data: values, dataType: return_data_type, success: function (data) { if (return_data_type == “html”) { var result = ‘success’; if (!data != “”) { var result_widget = data[‘result_widget’]; } } else { if (!data[‘result’]) { var result = ‘error’; } else { var result = data[‘result’]; } if (!data[‘result_widget’]) { var result_widget = ”; } else { var result_widget = data[‘result_widget’]; } } if (result == “success”) { if (!data[‘message’]) { var message = `Your information has submitted successfully!`; } else { var message = data[‘message’]; } if (!data[‘redirect_url’]) { var redirect_url = ”; } else { var redirect_url = data[‘redirect_url’]; } if (form_action_type == “notification”) { notification.html(message) .addClass(“alert-success”) .removeClass(“alert-danger”) .removeClass(“alert-warning”) .delay(2000).slideUp(); if(notification.parents(‘.modal’).length && ‘myform’ == ‘whmcs_billing_address’){ setTimeout(function(){ notification.parents(‘.modal’).modal(‘hide’); }, 1000); } } else if (form_action_type == “widget”) { if (result_widget != ”) { setTimeout(function(){ if(form_action_div != ‘.newsletter_modal_form_container’){ $(“html, body”).animate({ scrollTop: 0 }, 600); } $(form_action_div).html(decodeHtml(result_widget)).text(); }, 1000); } } else if (form_action_type == “redirect”) { if (redirect_url == “”) { redirect_url = decodeURIComponent(“”); } if (redirect_url.substring(0, 1) != “/” && redirect_url.substring(0, 1) != “h”) { redirect_url = “/” + redirect_url; } current_location = “/blog/know-the-benefits-of-cbd-tea-drinks”; refresh_pages_string = “/login”; refresh_pages_string = refresh_pages_string.replace(/ /g,”); refresh_pages_array = refresh_pages_string.split(‘,’); notification.html(message) .addClass(“alert-success”) .removeClass(“alert-danger”) .removeClass(“alert-warning”) .delay(2000).slideUp(); if(action == “/api/widget/json/get/Bootstrap%20Theme%20-%20Member%20Login%20Page” && current_location.indexOf(“/login”) == -1 && refresh_pages_string != ” && (!refresh_pages_array.includes(current_location) || refresh_pages_string == “/login” )){ window.location.href = window.location.href+’?logged’; } else { window.location.href = redirect_url; } fv.resetForm(true); } if(form_action_div != ‘.newsletter_modal_form_container’ && ‘myform’ != ‘whmcs_billing_address’){ $(‘.modal-backdrop’).hide(); } } else { if(typeof grecaptcha !== “undefined”){ grecaptcha.reset(); } if (!data[‘message’]) { var message = `You entered invalid data. Please try to save again.`; } else { var message = data[‘message’]; } notification.html(message) .addClass(“alert-danger”) .removeClass(“alert-success”) .removeClass(“alert-warning”) .fadeIn(); fv.disableSubmitButtons(false); } }, error: function (e) { if(typeof grecaptcha !== “undefined”){ grecaptcha.reset(); notification.html(`Recaptcha Error`); } else { notification.html(`A connection error occurred while saving. Please try to save again.`); } notification.addClass(“alert-warning”) .removeClass(“alert-success”) .removeClass(“alert-warning”) .fadeIn(); } });/// End Ajax counterSubmit = 0; } }//END else }).bind(‘keydown’, function(event) { if (event.ctrlKey || event.metaKey) { switch (String.fromCharCode(event.which).toLowerCase()) { case ‘s’: $(this).submit(); break; } } }); /// This will turn any select2 that are required in the form builder to being required elements. $(‘#myform select’).each(function (i, obj) { setTimeout(function(){ if ($(obj).prop(“required”) && $(obj).attr(“style”) == “display: none;”) { $(obj).css(“z-index”,”-999″); $(obj).css(“height”,”0″); $(obj).css(“width”,”0″); $(obj).css(“display”,”block”); $(obj).css(“position”,”absolute”); } }, 3000); }); });//END $(‘# echo $_SERVER[form_element_id]; ‘).formValidation( ]]> .gdpr_consent_email”).show(); }); $(‘#newsletter_signup_footer input[name=”email”]’).on(‘keypress’, function() { $(“#newsletter_signup_footer > .gdpr_consent_email”).show(); }); ]]> 0) { $(this).find(‘input[type=”submit”]’).before(”); } else { $(this).prepend(”); } var notification = $(“#newsletter-notification”); if ((form_action_type == “” || form_action_type == “default”) && action.indexOf(“account”) >= 0) { notification.html(`Processing Request…`).addClass(“alert-warning”); setTimeout(function(){ fv.defaultSubmit(); }, 100); } else { notification.html(`Processing Request…`).addClass(“alert-warning”); if(counterSubmit == 0) { counterSubmit++; $.ajax({ url: action, type: method, data: values, dataType: return_data_type, success: function (data) { if (return_data_type == “html”) { var result = ‘success’; if (!data != “”) { var result_widget = data[‘result_widget’]; } } else { if (!data[‘result’]) { var result = ‘error’; } else { var result = data[‘result’]; } if (!data[‘result_widget’]) { var result_widget = ”; } else { var result_widget = data[‘result_widget’]; } } if (result == “success”) { if (!data[‘message’]) { var message = `Your information has submitted successfully!`; } else { var message = data[‘message’]; } if (!data[‘redirect_url’]) { var redirect_url = ”; } else { var redirect_url = data[‘redirect_url’]; } if (form_action_type == “notification”) { notification.html(message) .addClass(“alert-success”) .removeClass(“alert-danger”) .removeClass(“alert-warning”) .delay(2000).slideUp(); if(notification.parents(‘.modal’).length && ‘newsletter’ == ‘whmcs_billing_address’){ setTimeout(function(){ notification.parents(‘.modal’).modal(‘hide’); }, 1000); } } else if (form_action_type == “widget”) { if (result_widget != ”) { setTimeout(function(){ if(form_action_div != ‘.newsletter_modal_form_container’){ $(“html, body”).animate({ scrollTop: 0 }, 600); } $(form_action_div).html(decodeHtml(result_widget)).text(); }, 1000); } } else if (form_action_type == “redirect”) { if (redirect_url == “”) { redirect_url = decodeURIComponent(“”); } if (redirect_url.substring(0, 1) != “/” && redirect_url.substring(0, 1) != “h”) { redirect_url = “/” + redirect_url; } current_location = “/blog/know-the-benefits-of-cbd-tea-drinks”; refresh_pages_string = “/login”; refresh_pages_string = refresh_pages_string.replace(/ /g,”); refresh_pages_array = refresh_pages_string.split(‘,’); notification.html(message) .addClass(“alert-success”) .removeClass(“alert-danger”) .removeClass(“alert-warning”) .delay(2000).slideUp(); if(action == “/api/widget/json/get/Bootstrap%20Theme%20-%20Member%20Login%20Page” && current_location.indexOf(“/login”) == -1 && refresh_pages_string != ” && (!refresh_pages_array.includes(current_location) || refresh_pages_string == “/login” )){ window.location.href = window.location.href+’?logged’; } else { window.location.href = redirect_url; } fv.resetForm(true); } if(form_action_div != ‘.newsletter_modal_form_container’ && ‘newsletter’ != ‘whmcs_billing_address’){ $(‘.modal-backdrop’).hide(); } } else { if(typeof grecaptcha !== “undefined”){ grecaptcha.reset(); } if (!data[‘message’]) { var message = `You entered invalid data. Please try to save again.`; } else { var message = data[‘message’]; } notification.html(message) .addClass(“alert-danger”) .removeClass(“alert-success”) .removeClass(“alert-warning”) .fadeIn(); fv.disableSubmitButtons(false); } }, error: function (e) { if(typeof grecaptcha !== “undefined”){ grecaptcha.reset(); notification.html(`Recaptcha Error`); } else { notification.html(`A connection error occurred while saving. Please try to save again.`); } notification.addClass(“alert-warning”) .removeClass(“alert-success”) .removeClass(“alert-warning”) .fadeIn(); } });/// End Ajax counterSubmit = 0; } }//END else }).bind(‘keydown’, function(event) { if (event.ctrlKey || event.metaKey) { switch (String.fromCharCode(event.which).toLowerCase()) { case ‘s’: $(this).submit(); break; } } }); /// This will turn any select2 that are required in the form builder to being required elements. $(‘#newsletter select’).each(function (i, obj) { setTimeout(function(){ if ($(obj).prop(“required”) && $(obj).attr(“style”) == “display: none;”) { $(obj).css(“z-index”,”-999″); $(obj).css(“height”,”0″); $(obj).css(“width”,”0″); $(obj).css(“display”,”block”); $(obj).css(“position”,”absolute”); } }, 3000); }); });//END $(‘# echo $_SERVER[form_element_id]; ‘).formValidation( ]]>
Join our Mailing List to Receive Marketing Tips
0) { $(this).find(‘input[type=”submit”]’).before(”); } else { $(this).prepend(”); } var notification = $(“#newsletter3-notification”); if ((form_action_type == “” || form_action_type == “default”) && action.indexOf(“account”) >= 0) { notification.html(`Processing Request…`).addClass(“alert-warning”); setTimeout(function(){ fv.defaultSubmit(); }, 100); } else { notification.html(`Processing Request…`).addClass(“alert-warning”); if(counterSubmit == 0) { counterSubmit++; $.ajax({ url: action, type: method, data: values, dataType: return_data_type, success: function (data) { if (return_data_type == “html”) { var result = ‘success’; if (!data != “”) { var result_widget = data[‘result_widget’]; } } else { if (!data[‘result’]) { var result = ‘error’; } else { var result = data[‘result’]; } if (!data[‘result_widget’]) { var result_widget = ”; } else { var result_widget = data[‘result_widget’]; } } if (result == “success”) { if (!data[‘message’]) { var message = `Your information has submitted successfully!`; } else { var message = data[‘message’]; } if (!data[‘redirect_url’]) { var redirect_url = ”; } else { var redirect_url = data[‘redirect_url’]; } if (form_action_type == “notification”) { notification.html(message) .addClass(“alert-success”) .removeClass(“alert-danger”) .removeClass(“alert-warning”) .delay(2000).slideUp(); if(notification.parents(‘.modal’).length && ‘newsletter3’ == ‘whmcs_billing_address’){ setTimeout(function(){ notification.parents(‘.modal’).modal(‘hide’); }, 1000); } } else if (form_action_type == “widget”) { if (result_widget != ”) { setTimeout(function(){ if(form_action_div != ‘.newsletter_modal_form_container’){ $(“html, body”).animate({ scrollTop: 0 }, 600); } $(form_action_div).html(decodeHtml(result_widget)).text(); }, 1000); } } else if (form_action_type == “redirect”) { if (redirect_url == “”) { redirect_url = decodeURIComponent(“”); } if (redirect_url.substring(0, 1) != “/” && redirect_url.substring(0, 1) != “h”) { redirect_url = “/” + redirect_url; } current_location = “/blog/know-the-benefits-of-cbd-tea-drinks”; refresh_pages_string = “/login”; refresh_pages_string = refresh_pages_string.replace(/ /g,”); refresh_pages_array = refresh_pages_string.split(‘,’); notification.html(message) .addClass(“alert-success”) .removeClass(“alert-danger”) .removeClass(“alert-warning”) .delay(2000).slideUp(); if(action == “/api/widget/json/get/Bootstrap%20Theme%20-%20Member%20Login%20Page” && current_location.indexOf(“/login”) == -1 && refresh_pages_string != ” && (!refresh_pages_array.includes(current_location) || refresh_pages_string == “/login” )){ window.location.href = window.location.href+’?logged’; } else { window.location.href = redirect_url; } fv.resetForm(true); } if(form_action_div != ‘.newsletter_modal_form_container’ && ‘newsletter3’ != ‘whmcs_billing_address’){ $(‘.modal-backdrop’).hide(); } } else { if(typeof grecaptcha !== “undefined”){ grecaptcha.reset(); } if (!data[‘message’]) { var message = `You entered invalid data. Please try to save again.`; } else { var message = data[‘message’]; } notification.html(message) .addClass(“alert-danger”) .removeClass(“alert-success”) .removeClass(“alert-warning”) .fadeIn(); fv.disableSubmitButtons(false); } }, error: function (e) { if(typeof grecaptcha !== “undefined”){ grecaptcha.reset(); notification.html(`Recaptcha Error`); } else { notification.html(`A connection error occurred while saving. Please try to save again.`); } notification.addClass(“alert-warning”) .removeClass(“alert-success”) .removeClass(“alert-warning”) .fadeIn(); } });/// End Ajax counterSubmit = 0; } }//END else }).bind(‘keydown’, function(event) { if (event.ctrlKey || event.metaKey) { switch (String.fromCharCode(event.which).toLowerCase()) { case ‘s’: $(this).submit(); break; } } }); /// This will turn any select2 that are required in the form builder to being required elements. $(‘#newsletter3 select’).each(function (i, obj) { setTimeout(function(){ if ($(obj).prop(“required”) && $(obj).attr(“style”) == “display: none;”) { $(obj).css(“z-index”,”-999″); $(obj).css(“height”,”0″); $(obj).css(“width”,”0″); $(obj).css(“display”,”block”); $(obj).css(“position”,”absolute”); } }, 3000); }); });//END $(‘# echo $_SERVER[form_element_id]; ‘).formValidation( ]]> Please log in to access this website.’; var errorMsg = ‘ The email address or password is not valid.’; var passErrorMsg = ‘
Source