<footer id="footer" role="contentinfo" class="row1 w100 p2 automobile">
   <div id="decofoot">
      <div class="grid w25 p2 automobile notablet">blocID(L2)</div>
      <div class="grid w25 p2 automobile">blocID(R5)</div>
      <div class="grid w25 p2 automobile">blocID(L10)</div>
      <div class="grid w25 p2 automobile">
         <h5 class="footitle">BLOC MEMBRE</h5>
<?php
   global $cookie, $anonymous, $NPDS_Prefix;
   $username = $cookie[1];
   if (autorisation(-1)) {
      echo "!nb_online! - <a href=\"user.php\">Se connecter</a>";
   } elseif (autorisation(1)) {
      echo "Bonjour $username&nbsp;-&nbsp;<a href=\"user.php\">Votre profil</a>&nbsp;-&nbsp;";
      settype($cookie[0], 'integer');
      list($nbmes)=sql_fetch_row(sql_query("SELECT count(*) FROM ".$NPDS_Prefix."priv_msgs WHERE to_userid='".$cookie[0]."' AND read_msg='0'"));
      if ($nbmes>0)
         echo "<a href=\"viewpmsg.php\" class=\"newmsg\">".$nbmes." nouveau".(($nbmes>1)?'x':'')." message".(($nbmes>1)?'s':'')."</a>";
      else
         echo "<a href=\"viewpmsg.php\">Aucun nouveau message</a>";
      echo "<br />!nb_online! - <a href=\"user.php?op=logout\">Se d&eacute;connecter</a>";
   }
?>
         <p class="p2"> <img src="themes/Rev2016/images/logohead2.png" > </p>
      </div>
      <p class="aligncenter"> !msg_foot! !sc_infos! !sc_infos_else!   </p>
   </div><!-- #decofoot -->
</footer>
<script type="text/javascript" src="themes/Rev2016/cssmenu/script.js"></script>
<script type="text/javascript" src="themes/Rev2016/responsivetab/js/easyResponsiveTabs.js"></script>
<script type="text/javascript" src="themes/Rev2016/js/responsiveslides.min.js"></script>
<script type="text/javascript">
    $(document).ready(function() {
        //Horizontal Tab
        $('#parentHorizontalTab').easyResponsiveTabs({
            type: 'default', //Types: default, vertical, accordion
            width: 'auto', //auto or any width like 600px
            fit: true, // 100% fit in a container
            tabidentify: 'hor_1', // The tab groups identifier
            activate: function(event) { // Callback function if tab is switched
                var $tab = $(this);
                var $info = $('#nested-tabInfo');
                var $name = $('span', $info);
                $name.text($tab.text());
                $info.show();
            }
        });

        // Child Tab
        $('#ChildVerticalTab_1').easyResponsiveTabs({
            type: 'vertical',
            width: 'auto',
            fit: true,
            tabidentify: 'ver_1', // The tab groups identifier
            activetab_bg: '#fff', // background color for active tabs in this group
            inactive_bg: '#F5F5F5', // background color for inactive tabs in this group
            active_border_color: '#c1c1c1', // border color for active tabs heads in this group
            active_content_border_color: '#6f8343' // border color for active tabs contect in this group so that it matches the tab head border
        });

        //Vertical Tab
        $('#parentVerticalTab').easyResponsiveTabs({
            type: 'vertical', //Types: default, vertical, accordion
            width: 'auto', //auto or any width like 600px
            fit: true, // 100% fit in a container
            closed: 'accordion', // Start closed if in accordion view
            tabidentify: 'hor_1', // The tab groups identifier
            activate: function(event) { // Callback function if tab is switched
                var $tab = $(this);
                var $info = $('#nested-tabInfo2');
                var $name = $('span', $info);
                $name.text($tab.text());
                $info.show();
            }
        });
    });
   </script>
<script type="text/javascript">
   jQuery(function($) {
      // Slideshow 1
      $("#slider1").responsiveSlides({
        maxwidth: 400,
        speed: 800
      });
   });
  </script>