<!doctype html>
<html class="no-js" lang="fr">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title><?php echo $GLOBALS['titre']; ?></title>
        <meta name="description" content="XML collection pour <?php echo $GLOBALS['titre']; ?>">
        <meta name="generator" content="XML collection par Stéphane Noël">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <link rel="stylesheet" href="css/normalize.min.css">
        <link rel="stylesheet" href="css/main.css">
        <link rel="stylesheet" href="css/jquery.fancybox.css">
        <link rel="stylesheet" href="css/font-awesome/font-awesome.min.css" charset="utf-8">
        <link rel="stylesheet" href="css/roboto/stylesheet.css" charset="utf-8">
        <link rel="stylesheet" href="css/font-awesome/font-awesome.min.css" charset="utf-8">
        <link rel="stylesheet" href="js/jquery-ui.min.css">

        <script src="js/vendor/modernizr-2.8.3.min.js"></script>
        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
        <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.2.min.js"><\/script>')</script>
        <?php 
        // appel d'une CSS éventuelle dans le fichier config.php
        $csss = glob("custom/*.css", GLOB_BRACE);
        if(isset($csss) && is_array($csss)){
            echo "<!-- feuille de style personnalisée -->\n";
            foreach($csss as $css){
                echo "<link rel=\"stylesheet\" href=\"".$css."\">\n";
            }
        }
        ?>
        <script src="js/jquery-ui.min.js"></script>
        <script src="js/jquery.fancybox.pack.js"></script>
        <script src="js/jquery.quicksearch.js"></script>


        <!-- charger trumbowyg -->
        <script src="js/trumbowyg/trumbowyg.min.js"></script>
        <link rel="stylesheet" href="js/trumbowyg/ui/trumbowyg.min.css">

        <script src="js/sortChildren.min.js"></script>

        <script src="js/main.js"></script>
    </head>
    <body class="fullwidth">
        <!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->

        <div id="wrapper">
