File: /datos/www/www.colombia.co/public_html/wp-content/themes/colombia2016/footer.php
<?php
$locale = get_locale();
if($locale == "es_CO"){
$tc_link = '/terminos-y-condiciones/';
$privacy_link = '/politica-de-tratamiento-y-privacidad/';
$image_footer = 'footer_pco_logo_58.png';
$image_marca = 'nuevo_icono_marca_pais.png';
}
else if($locale == "en_US"){
$tc_link = '/en/terms-and-conditions/';
$privacy_link = '/en/treatment-and-privacy-policy/';
$image_footer = 'imgfooterlogo.png';
$image_marca = 'nuevo_logo_marca_ingles.png';
}else if($locale == "fr_FR"){
$image_footer = 'PRO_FRA_PRINCIPAL_HORZ_PNG.png';
$image_marca = 'nuevo_logo_marca_ingles.png';
}
?>
<footer id="footer" role="contentinfo">
<div class="pre-footer">
<div class="l-container">
<div class="l-flex">
<div class="sites"><!-- l-flex -->
<div class="footer-logo-wrap">
<div class="container justify-content-between align-items-center d-flex">
<div id="div_logo_svg_footer1"><svg height="45" id="logo_svg_footer" viewbox="0 0 329 58" xmlns="http://www.w3.org/2000/svg">
<defs>
<style type="text/css">
#div_logo_svg_footer1 {
width: 75%;
float: left;
}
#div_logo_svg_footer2 {
float: right;
}
#logo_svg_footer {
background-image: url(<?php bloginfo('template_directory'); ?>/img/<?php echo $image_footer ?>);
background-repeat: no-repeat;
background-size: 100%;
}
#div_logo_svg_footer1 rect {
fill: transparent;
cursor: pointer;
transition: fill .2s
}</style>
</defs> <g><a href="https://procolombia.co" target="_blank"> <rect height="58" style="fill: transparent;" width="329"></rect> </a></g> </svg> <svg height="35" id="logo_svg_footer1" viewbox="0 0 348 58" xmlns="http://www.w3.org/2000/svg"> <defs>
<style type="text/css">
#logo_svg_footer1 {
background-image: url(<?php bloginfo('template_directory'); ?>/img/<?php echo $image_marca ?>);
background-size: 100%;
background-repeat: no-repeat;
position: relative;
left: 20px;
}</style>
</defs> <g><a href="https://old.colombia.co" target="_blank"> <rect height="58" width="348"></rect> </a></g> </svg></div><div id="div_logo_svg_footer2"><svg height="45" id="logo_svg_footer2" viewbox="0 0 268 58" xmlns="http://www.w3.org/2000/svg"> <defs>
<style type="text/css">
#logo_svg_footer2 {
background-image: url(<?php bloginfo('template_directory'); ?>/img/colombia_goverment.png);
background-repeat: no-repeat;
background-size: 100%;
}
#div_logo_svg_footer2 rect {
fill: transparent;
cursor: pointer;
transition: fill .2s
}</style>
</defs> <g><a target="_blank" xlink:href="https://www.mincit.gov.co"> <rect height="58" width="268"></rect> </a></g> </svg>
</div>
</div>
</div>
<!-- <map name="logos-map">
<area target="_blank" alt="" title="" href="https://id.presidencia.gov.co/" coords="0,29,116,0" shape="rect">
<area target="_blank" alt="" title="" href="http://www.mincit.gov.co/index.php" coords="219,0,119,29" shape="rect">
<area target="_blank" alt="" title="" href="http://www.procolombia.co/" coords="224,0,339,29" shape="rect">
</map> -->
<!--
<a href="https://id.presidencia.gov.co/" target="_blank"><img src="<?php bloginfo('template_directory'); ?>/img/logos/gobierno.png" alt=""></a>
<a href="http://www.mincit.gov.co/index.php" target="_blank"><img src="<?php bloginfo('template_directory'); ?>/img/logos/mincit.png" alt=""></a>
<a href="http://www.procolombia.co/" target="_blank"><img src="<?php bloginfo('template_directory'); ?>/img/logos/procolombia.png" alt=""></a>
-->
</div>
</div>
</div>
</div>
<div class="footer">
<div class="l-container">
<div class="social-networks l-flex">
<!-- <span><?php _e('Síguenos', 'colombia'); ?></span> -->
<?php wp_nav_menu(array('container' => false, 'theme_location' => 'social')); ?>
</div>
<figure class="footer-logo">
<a href="<?php echo home_url(); ?>/" rel="home">
<img src="<?php bloginfo('template_directory'); ?>/img/logo-footer.svg" alt="colombia.co" alt="Logo Marca Colombia">
</a>
</figure>
<?php wp_nav_menu(array('container' => false, 'theme_location' => 'footer')); ?>
</div>
</div>
<div class="footer footer-dark">
<div class="l-container">
<?php if($locale == "es_CO" || $locale == "en_US"):?>
<div class="tyc">
<span><a href="<?php echo $tc_link; ?>"><?php _e('Términos y condiciones', 'colombia'); ?></a><span class="separator"></span><?php _e('Lee sobre los cambios en nuestra', 'colombia'); ?> <a href="<?php echo $privacy_link; ?>"><?php _e('Política de Tratamiento y Privacidad', 'colombia'); ?></a></span>
</div>
<?php endif; ?>
<div class="credits">
<span class="credits-text"><?php _e('Diseñado y desarrollado por:', 'colombia') ?></span>
<figure class="credits-logo">
<a href="http://activamc.com" target="_blank">
<img src="<?php bloginfo('template_directory'); ?>/img/logo-activa.svg" alt="Logo Activa MC">
</a>
</figure>
</div>
</div>
</div>
</footer>
<?php
if($locale == "es_CO"){
$content_post_id = '36923';
}
else if($locale == "en_US"){
$content_post_id = '34425';
}
else if ($locale == "fr_FR") {
$content_post_id = '34324';
}
$one_text = get_field( "menu_one_title",$content_post_id);
$one_url = get_field( "menu_one_url",$content_post_id);
$one_image = get_field( "menu_one_image",$content_post_id);
$two_text = get_field( "menu_two_title",$content_post_id);
$two_url = get_field( "menu_two_url",$content_post_id);
$two_image = get_field( "menu_two_image",$content_post_id);
$three_text = get_field( "menu_three_title",$content_post_id);
$three_url = get_field( "menu_three_url",$content_post_id);
$three_image = get_field( "menu_three_image",$content_post_id);
?>
<div id="footer_fix_menu">
<div class="footer_fix_menu_item">
<a href="<?php echo $one_url; ?>">
<div>
<img src="<?php bloginfo('template_directory'); ?>/img/footer/ft_colombia.png" class="footer_fix_menu_item_img">
</div>
<div><?php echo $one_text; ?></div>
</a>
</div>
<div class="footer_fix_menu_item">
<a href="<?php echo $two_url; ?>" >
<div >
<img src="<?php bloginfo('template_directory'); ?>/img/footer/ft_tourism.png" class="footer_fix_menu_item_img">
</div>
<div><?php echo $two_text; ?></div>
</a>
</div>
<div class="footer_fix_menu_item">
<a href="<?php echo $three_url; ?>">
<div>
<img src="<?php bloginfo('template_directory'); ?>/img/footer/ft_culture.png" class="footer_fix_menu_item_img">
</div>
<div><?php echo $three_text ; ?></div>
</a>
</div>
</div>
<?php wp_footer(); ?>
<script src="<?php bloginfo('template_directory'); ?>/js/jquery.mCustomScrollbar.concat.min.js"></script>
<script src="<?php bloginfo('template_directory'); ?>/js/slider.js"></script>
<script src="<?php bloginfo('template_directory'); ?>/js/owl.carousel.min.js"></script>
<!-- <script src="<?php bloginfo('template_directory'); ?>/js/homeslider.js"></script> -->
<script>
(function($){
$(window).on("load",function(){
$.mCustomScrollbar.defaults.theme="dark"; //set "light-2" as the default theme
$(".scroll-list").mCustomScrollbar();
$(".scrollTo a").click(function(e){
e.preventDefault();
var $this=$(this),
rel=$this.attr("rel"),
el=rel==="content-y" ? ".demo-y" : rel==="content-x" ? ".demo-x" : ".demo-yx",
data=$this.data("scroll-to"),
href=$this.attr("href").split(/#(.+)/)[1],
to=data ? $(el).find(".mCSB_container").find(data) : el===".demo-yx" ? eval("("+href+")") : href,
output=$("#info > p code"),
outputTXTdata=el===".demo-yx" ? data : "'"+data+"'",
outputTXThref=el===".demo-yx" ? href : "'"+href+"'",
outputTXT=data ? "$('"+el+"').find('.mCSB_container').find("+outputTXTdata+")" : outputTXThref;
$(el).mCustomScrollbar("scrollTo",to);
output.text("$('"+el+"').mCustomScrollbar('scrollTo',"+outputTXT+");");
});
});
})(jQuery);
/*
var history_item = 0;
var total_history_item = $('.timeline__item').length;
$(document).on("click", ".timeline > .timeline-nav-button--next", function(){
$('.timeline__item').removeClass('active');
history_item++;
if(history_item >= total_history_item){
history_item = total_history_item;
}
$('#historyitem'+history_item).addClass('active');
});
$(document).on("click", ".timeline > .timeline-nav-button--prev", function(){
$('.timeline__item').removeClass('active');
history_item--;
if(history_item <= 0){
history_item = 0;
}
$('#historyitem'+history_item).addClass('active');
});
*/
$("#play-click").click(function(ev){
$("#iframe-play")[0].src += "&autoplay=1";
$('.iframe').addClass('hide-button');
ev.preventDefault();
});
$(document).ready(function(){
$(".tooltip").click(function(){
$(".tooltip").removeClass('active');
$(this).addClass('active');
});
})
</script>
</body>
</html>