| 1 |
<?php if ($__tagembed__chat_script): ?> |
| 2 |
<!--Start-- Tagembed Chat Script --> |
| 3 |
<script type="text/javascript">window.$crisp = []; |
| 4 |
window.CRISP_WEBSITE_ID = "c5d42bf5-f615-4318-930c-e61c35e565c1"; |
| 5 |
(function () { |
| 6 |
d = document; |
| 7 |
s = d.createElement("script"); |
| 8 |
s.src = "https://client.crisp.chat/l.js"; |
| 9 |
s.async = 1; |
| 10 |
d.getElementsByTagName("head")[0].appendChild(s); |
| 11 |
})(); |
| 12 |
</script> |
| 13 |
<!--End-- Tagembed Chat Script --> |
| 14 |
<?php endif; ?> |
| 15 |
</div> |
| 16 |
</div> |
| 17 |
<!--Start-- Manage Next And Back Button On All Pages --> |
| 18 |
<div id="__tagembed__next_and_back_link_main_section"></div> |
| 19 |
<!--End-- Manage Next And Back Button On All Pages --> |
| 20 |
</div> |
| 21 |
</div> |
| 22 |
<!-- Other Default WordPress Css --> |
| 23 |
<style> #footer-thankyou {font-style: normal !important;}</style> |
| 24 |
<?php if ($__tagembed__active_menue_id != 4): ?> |
| 25 |
<style> body{min-height: auto!important;} </style> |
| 26 |
<?php endif; ?> |
| 27 |
<?php if ($__tagembed__active_menue_id == 6): ?> |
| 28 |
<script> |
| 29 |
/*--Start-- Manage Embed Accordion Section*/ |
| 30 |
let __tagembed__accordionItem = document.getElementsByClassName('__tagembed__accordionItem'); |
| 31 |
let __tagembed__accordionItemHeading = document.getElementsByClassName('__tagembed__accordionItemHeading'); |
| 32 |
for (i = 0; i < __tagembed__accordionItemHeading.length; i++) |
| 33 |
__tagembed__accordionItemHeading[i].addEventListener('click', __tagembed__toggleAccodionSection, false); |
| 34 |
function __tagembed__toggleAccodionSection() { |
| 35 |
let __tagembed__accordionSectionClass = this.parentNode.className; |
| 36 |
for (i = 0; i < __tagembed__accordionItem.length; i++) |
| 37 |
__tagembed__accordionItem[i].className = '__tagembed__accordionItem __tagembed__close'; |
| 38 |
if (__tagembed__accordionSectionClass == '__tagembed__accordionItem __tagembed__close') |
| 39 |
this.parentNode.className = '__tagembed__accordionItem __tagembed__open'; |
| 40 |
} |
| 41 |
/*--End-- Manage Embed Accordion Section*/ |
| 42 |
</script> |
| 43 |
<?php endif; ?> |
| 44 |
<script> |
| 45 |
/*--Start-- Manage And Generate Next And Back Link In Footer*/ |
| 46 |
function __tagembed__manageNextAndBackButon() { |
| 47 |
let __tagembed__nextLink = null; |
| 48 |
let __tagembed__backLink = null; |
| 49 |
let __tagembed__nextAndBackLinkHtml = ""; |
| 50 |
let __tagembed__next_and_back_link_main_section = document.querySelector("#__tagembed__next_and_back_link_main_section"); |
| 51 |
__tagembed__next_and_back_link_main_section.innerHTML = ""; |
| 52 |
let __tagembed__nextAndBackLinkSectionStyle = "block"; |
| 53 |
let __tagembed__widgets_count = "<?php echo esc_html($__tagembed__widgets_count); ?>"; |
| 54 |
let __tagembed__active_menue_id = "<?php echo esc_html($__tagembed__active_menue_id); ?>"; |
| 55 |
if (__tagembed__widgets_count == 0) { |
| 56 |
__tagembed__nextAndBackLinkSectionStyle = "none"; |
| 57 |
} |
| 58 |
switch (__tagembed__active_menue_id) { |
| 59 |
case "1" : |
| 60 |
__tagembed__nextLink = "2"; |
| 61 |
__tagembed__backLink = null; |
| 62 |
break; |
| 63 |
case "2" : |
| 64 |
__tagembed__nextLink = "3"; |
| 65 |
__tagembed__backLink = "1"; |
| 66 |
__tagembed__nextAndBackLinkSectionStyle = "none"; /* Show In tagembed.feed.script.js */ |
| 67 |
break; |
| 68 |
case "3" : |
| 69 |
__tagembed__nextLink = "4"; |
| 70 |
__tagembed__backLink = "2"; |
| 71 |
break; |
| 72 |
case "4" : |
| 73 |
__tagembed__nextLink = "5"; |
| 74 |
__tagembed__backLink = "3"; |
| 75 |
break; |
| 76 |
case "5" : |
| 77 |
__tagembed__nextLink = "6"; |
| 78 |
__tagembed__backLink = "4"; |
| 79 |
break; |
| 80 |
case "6" : |
| 81 |
__tagembed__nextLink = null; |
| 82 |
__tagembed__backLink = "5"; |
| 83 |
break; |
| 84 |
} |
| 85 |
/* Manage Next And Back */ |
| 86 |
if (__tagembed__nextLink != null || __tagembed__backLink != null) { |
| 87 |
__tagembed__nextAndBackLinkHtml = `${__tagembed__nextAndBackLinkHtml}<div class="__tagembed__foot_nextprevious" id="__tagembed__next_and_back_link_section" style="display:${__tagembed__nextAndBackLinkSectionStyle}">`; |
| 88 |
__tagembed__nextAndBackLinkHtml = `${__tagembed__nextAndBackLinkHtml}<div class="__tagembed__footnp_inn">`; |
| 89 |
if (__tagembed__backLink != null) { |
| 90 |
__tagembed__nextAndBackLinkHtml = `${__tagembed__nextAndBackLinkHtml}<button class="__tagembed__btn __tagembed__backbtn" onclick="__tagembed__menus(${__tagembed__backLink});"> <i class="fas fa-angle-left"></i> Back </button>`; |
| 91 |
} |
| 92 |
if (__tagembed__nextLink != null) { |
| 93 |
__tagembed__nextAndBackLinkHtml = `${__tagembed__nextAndBackLinkHtml}<button class="__tagembed__btn" onclick="__tagembed__menus(${__tagembed__nextLink});">Next <i class="fas fa-angle-right"></i> </button>`; |
| 94 |
} |
| 95 |
__tagembed__nextAndBackLinkHtml = `${__tagembed__nextAndBackLinkHtml}</div></div>`; |
| 96 |
__tagembed__next_and_back_link_main_section.innerHTML = __tagembed__nextAndBackLinkHtml; |
| 97 |
} |
| 98 |
} |
| 99 |
window.onload = __tagembed__manageNextAndBackButon(); |
| 100 |
/*--End-- Manage And Generate Next And Back Link In Footer*/ |
| 101 |
</script> |
| 102 |
|