<?php
/**
 * @package linea21\core\public
 * @author $Author$ - linea21 <info@linea21.com>
 * @version $Id$ 
 * @access public
 * @license http://opensource.org/licenses/gpl-3.0.html
 */
?>
<?php
if(MOD_DEBUG == 1) $csuffix = '?v='. time(); else $csuffix= '';
?>
<head>
<meta charset="<?php echo CHARSET; ?>" />
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
<?php if(ActiveItemKey($GLOBALS['activeitem']) == 'user-profile') { echo '<meta name="robots" content="noindex">'; } else { echo '<meta name="robots" content="index, follow" />'; }?>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<link rel="icon" type="image/gif" href="<?php echo PUBLIC_THEME_URL; ?>images/favicon.gif" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="<?php echo SITE_ROOT_URL; ?>lib/vendor/hint.css-2.7.0/hint.min.css" />
<link rel="stylesheet" href="<?php echo SITE_ROOT_URL; ?>lib/js/alertify.js/dist/css/alertify-bootstrap-min.css" />
<script src="<?php echo SITE_ROOT_URL; ?>lib/js/alertify.js/dist/js/alertify.js"></script>
<link rel="stylesheet" href="<?php echo PUBLIC_THEME_URL; ?>css/knacss/css/knacss.css" media="all">
<link rel="stylesheet" href="<?php echo PUBLIC_THEME_URL . 'css/style.css' . $csuffix; ?>" media="all" />
<?php if(file_exists(THEME_PUBLIC_PATH.'css/user.css')) { ?>
<link rel="stylesheet" href="<?php echo PUBLIC_THEME_URL . 'css/user.css' . $csuffix; ?>" media="all" />
<?php } ?>
<link rel="stylesheet" href="<?php echo PUBLIC_THEME_URL . 'css/layout.css' . $csuffix; ?>" media="all" />
<link rel="stylesheet" href="<?php echo SITE_ROOT_URL; ?>lib/vendor/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="<?php echo SITE_ROOT_URL; ?>lib/js/slick/slick/slick.css"/>
<link rel="stylesheet" href="<?php echo SITE_ROOT_URL; ?>lib/js/slick/slick/slick-theme.css"/>

<!-- @todo - Dans quelques années supprimer jquery-1.11.3.min -->
<script src="<?php echo SITE_ROOT_URL; ?>lib/js/jquery-3.6.1.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.css">
<script src="<?php echo SITE_ROOT_URL; ?>lib/js/waypoints/lib/jquery.waypoints.min.js"></script>

<script>
// from http://www.oxygenna.com/tutorials/scroll-animations-using-waypoints-js-animate-css
function onScrollInit( items, trigger ) {
  items.each( function() {
    var osElement = $(this),
        osAnimationClass = osElement.attr('data-os-animation'),
        osAnimationDelay = osElement.attr('data-os-animation-delay');
      
        osElement.css({
          '-webkit-animation-delay':  osAnimationDelay,
          '-moz-animation-delay':     osAnimationDelay,
          'animation-delay':          osAnimationDelay
        });

        var osTrigger = ( trigger ) ? trigger : osElement;
        
        osTrigger.waypoint(function() {
          osElement.addClass('animated').addClass(osAnimationClass);
          },{
              triggerOnce: true,
              offset: '90%'
        });
  });
}

$(document).ready(function() {
	onScrollInit( $('.os-animation') );
	
	$("a.toggle").click(function() {
		   var tar = $(this).data("target");
			// console.log(tar);
        $("#" + tar).fadeToggle();
			return false;
     });
});
</script>
<?php if(defined('AJAX_LOGIN') && AJAX_LOGIN == 1) echo '<script src="'.SITE_ROOT_URL.'lib/js/leanModal.v1.1/jquery.leanModal.min.js"></script>'; ?>
<script src="<?php echo SITE_ROOT_URL; ?>lib/js/functions.js"></script>
<link rel="stylesheet" href="<?php echo PUBLIC_THEME_URL; ?>css/print.css" media="print" />
<link rel="alternate" title="RSS2" href="rss2.php" />
<?php distInclude(THEME_PUBLIC_PATH.'meta_data.php', THEME_PUBLIC_DIST); ?>
<?php
IncludeColorboxJs(array("a[href$='.jpg'],a[href$='.jpeg'],a[href$='.png'],a[href$='.gif'], a[href$='.JPG'],a[href$='.JPEG'],a[href$='.PNG'],a[href$='.GIF']"));
AddDynamicHeader();
?>
<title></title>
<?php if(isset($GLOBALS['debugbar'])) echo $GLOBALS['debugbarRenderer']->renderHead(); ?>
</head>
