%PDF- %PDF-
Direktori : /var/www/cwg/wp-content/themes/cwg/ |
Current File : //var/www/cwg/wp-content/themes/cwg/footer.php |
</div> <?php $bg_color = isUserB2B() ? 'bg-green-primary' : 'bg-white'; ?> <?php include(locate_template('template-parts/popups/bag-modal.php')); ?> <footer class=""> <div class="footer-top"> <?php $locations = get_field('locations', 297777);//297777 footer postID if ($locations) { ?> <div class="locations"> <?php foreach ($locations as $i => $location) { ?> <div class="location"> <a class="location-name" href="<?= get_permalink(259785); ?>#<?php echo $location['loc_name'];?>"><h6><?php echo $location['loc_name'];?></h6></a> <div class="address"><?php echo $location['loc_address'];?></div> <div class="location-details"> <div class="opening"><?php echo $location['loc_working_time'];?></div> <a class="phone" href="tel:"><?php echo $location['loc_phone'];?></a> <a class="email" href="mailto:<?php echo $location['loc_email'];?>">Email <span style=" text-transform: capitalize"><?php echo $location['loc_name'];?></span> Gallery</a> </div> <div class="location-toggle"></div> </div> <?php } ?> </div> <?php } ?> </div> <div class="footer-middle"> <div class="padding-container"> <div class="form-message-container"> <p class="">SIGN UP FOR <span>NEWS AND EVENTS</span></p> <div class="form-container"> <form class="js-newsletterForm footer-form" action="" method="post"> <div class="form-inner"> <input required type="email" name="email" value="" placeholder="Email" class="email-input"> <select name="country" name="country" class="select-input"> <?php include(locate_template('/template-parts/dropdowns/country.php')) ?> </select> <button type="submit" class="submit-button"> SIGN UP <div class="hidden js-newsletterLoader"> <span class=""><?php //include(locate_template('/assets/img/loader.svg')); ?></span> </div> </button> </div> <div class="js-resultNewsletterForm"></div> </form> </div> </div> <div class="footer-social-section"> <p>Follow us on social media <span>@CARPENTERSWORKSHOPGALLERY</span> </p> <div class="social-links"> <a href="https://www.instagram.com/carpentersworkshopgallery/?hl=fr" target="_blank" class=""> <img src="<?= get_template_directory_uri(); ?>/assets/img/instagram-white.svg"/> </a> <a href="https://www.instagram.com/carpentersworkshopgallery/?hl=fr" target="_blank" class=""> <img src="<?= get_template_directory_uri(); ?>/assets/img/facebook-white.svg"/> </a> <a href="https://www.instagram.com/carpentersworkshopgallery/?hl=fr" target="_blank" class=""> <img src="<?= get_template_directory_uri(); ?>/assets/img/pinterest-white.png"/> </a> <a href="https://www.instagram.com/carpentersworkshopgallery/?hl=fr" target="_blank" class=""> <img src="<?= get_template_directory_uri(); ?>/assets/img/linkedin-white.svg"/> </a> </div> </div> </div> </div> <div class="footer-bottom"> <div class="padding-container"> <div class="footer-bottom-links"> <a class="" href="<?= get_permalink(4886); ?>"> <h6>PRESS</h6> </a> <a class="" href="<?= get_permalink(280888); ?>"> <h6>CAREERS</h6> </a> <a href="<?= get_permalink(788); ?>"> <h6>TERMS & CONDITIONS</h6> </a> </div> <div class="back-to-top js-back-to-top">Back to Top</div> </div> </div> </footer> <script> var user_type = '<?= isUserB2B() ? 'B2B' : 'B2C'; ?>'; var pageOrigin = <?= get_the_ID() ?>; var isB2B = <?= isUserB2B() ? 1 : 0 ?>; </script> <?php wp_footer(); ?> <?php if (isset($_GET['is_redirected']) && $_GET['is_redirected']) : ?> <script> window.history.replaceState(null, '', window.location.origin + window.location.pathname); window.addEventListener("DOMContentLoaded", (event) => { openWhishlistPopup(); }); </script> <?php endif; ?> <?php if (is_order_received_page()) : global $wp; $orderId = $wp->query_vars['order-received']; $order = wc_get_order($orderId); $totalCent = floatval($order->get_total()) * 100; ?> <script type="text/javascript"> var _actGoal = { 'settings': { 'value': '/g/encrypted/goal/txSgBAH7u5l5vCnRgwHyzfhlD20AbC0l3xKQgrAygWE', 'type': 'TRANSACTION', 'goalUrl': 'https://www3.actito.com/actg', 'additionalParameters': [{ 'name': 'goalId', 'value': '2' }, { 'name': 'businessId', 'value': <?= $orderId; ?> }, { 'name': 'amountCent', 'value': <?= $totalCent; ?> }, { 'name': 'source', 'value': '' }, { 'name': 'comment', 'value': '' }] } }; (function() { var _head = document.head || document.getElementsByTagName("head")[0]; var sp = document.createElement('script'); sp.type = 'text/javascript'; sp.async = true; sp.defer = true; sp.src = ('https:' == document.location.protocol ? 'https://cdn3.actito.com' : 'http://cdn3.actito.com') + '/legacy/actito-goal/goal.js'; _head.appendChild(sp); })(); </script> <?php endif; ?> </body> </html>