<?php

/*
 * Squelette : squelettes/inc/inc-header.html
 * Date :      Mon, 18 Jul 2016 07:32:52 GMT
 * Compile :   Mon, 18 Jul 2016 07:32:54 GMT
 * Boucles :   _main_menu
 */ 

function BOUCLE_main_menuhtml_0e8b0eb787a509051fce36ebb5da62a9(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	if (!isset($command['table'])) {
		$command['table'] = 'rubriques';
		$command['id'] = '_main_menu';
		$command['from'] = array('rubriques' => 'spip_rubriques');
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array("0+rubriques.id_rubrique AS num",
		"rubriques.id_rubrique",
		"rubriques.titre",
		"rubriques.lang");
		$command['orderby'] = array('num');
		$command['where'] = 
			array(
quete_condition_statut('rubriques.statut','!','publie',''), 
			array('=', 'rubriques.id_parent', 0), 
			array('NOT', 
			array('=', 'rubriques.titre', "'home'")));
		$command['join'] = array();
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	if (defined("_BOUCLE_PROFILER")) $timer = time()+microtime();
	$t0 = "";
	// REQUETE
	$iter = IterFactory::create(
		"SQL",
		$command,
		array('squelettes/inc/inc-header.html','html_0e8b0eb787a509051fce36ebb5da62a9','_main_menu',79,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	lang_select($GLOBALS['spip_lang']);
	$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']);
		$t0 .= (
'
												<li><a href="' .
vider_url(urlencode_1738(generer_url_entite($Pile[$SP]['id_rubrique'], 'rubrique', '', '', true))) .
'">' .
interdire_scripts(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect, $Pile[0])) .
'</a></li>
											');
		lang_select();
	}
	lang_select();
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_main_menu @ squelettes/inc/inc-header.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}

//
// Fonction principale du squelette squelettes/inc/inc-header.html
// Temps de compilation total: 4.578 ms
//

function html_0e8b0eb787a509051fce36ebb5da62a9($Cache, $Pile, $doublons = array(), $Numrows = array(), $SP = 0) {

	if (isset($Pile[0]["doublons"]) AND is_array($Pile[0]["doublons"]))
		$doublons = nettoyer_env_doublons($Pile[0]["doublons"]);

	$connect = '';
	$page = (
'<header class="header">
               <nav class="navbar navbar-bookshop navbar-static-top" role="navigation">
                  <div class="container">
                     <div class="row">
                        <div class="col-md-5 hidden-xs hidden-sm">
<!--                            <ul class="nav navbar-nav">
                              <li><a href="index2491.html?page=single-book">Online Store</a></li>
                              <li><a href="index171c.html?page=about">About Us</a></li>
                              <li><a href="index171c.html?page=about">Delivery</a></li>
                              <li><a href="index53a6.html?page=contact">FAQs</a></li>
                              <li><a href="index53a6.html?page=contact">Contacts</a></li>
                           </ul> -->
                           <!-- /.nav -->
                        </div>
                        <!-- /.col -->
                        <div class="col-md-3 col-xs-10 col-sm-10 navbar-left">
                           <p class=\'text-center\'><a><span class="icon glyphicon glyphicon-earphone"></span> +250783945964 / +250788354020</a></p>
                        </div>
                        <!-- /.col -->
                        <div class="col-md-4 col-sm-2">
                           <ul class="nav navbar-nav navbar-right">
                              <li class="hidden-xs hidden-sm"><a href="/webmail">Webmail</a></li>
                           </ul>
                           <!-- /.nav -->
                        </div>
                        <!-- /.col -->
                     </div>
                     <!-- /.row -->
                  </div>
                  <!-- /.container -->
               </nav>
               <!-- /.navbar -->
               
               <div class="main-header">
                  <div class="container">
                     <div class="row">
                        <div class="col-xs-12 col-sm-4 col-md-4 top-search-holder m-t-10 pull-right">
                           <!-- ============================================== SEARCH BAR ============================================== -->
                           <form class="search-form" role="search">
                              <div class="form-group">
                                 <label class="sr-only" for="page-search">Type your search here</label>
                                 <input id="page-search" class="search-input form-control" type="search" placeholder="Search product">
                              </div>
                              <button class="page-search-button">
                              <span class="fa fa-search">
                              <span class="sr-only">Search</span>
                              </span>
                              </button>
                           </form>
                           <!-- ============================================== SEARCH BAR : END ============================================== -->	
                        </div>
                        <!-- /.top-search-holder -->
                        <div class="col-xs-12 col-sm-4 col-md-4 text-center logo-holder pull-left">
                           <!-- ============================================== LOGO ============================================== -->
                           <a href="' .
spip_htmlspecialchars(sinon($GLOBALS['meta']['adresse_site'],'.')) .
'">
                              ' .

((!is_array($l = quete_logo('id_syndic', 'ON', "'0'",'', 0))) ? '':
 ("<img class=\"spip_logo spip_logos\" alt=\"\" src=\"$l[0]\"" . $l[2] .  ($l[1] ? " onmouseover=\"this.src='$l[1]'\" onmouseout=\"this.src='$l[0]'\"" : "") . ' />')) .
'
                              <!-- /.logo-subtitle -->
                           </a>
                           <!-- ============================================== LOGO : END ============================================== -->	
                        </div>
                        <!-- /.logo-holder -->
                      
                     </div>
                     <!-- /.row -->
                  </div>
                  <!-- /.container -->
               </div>
               <!-- /.main-header -->
               <!-- ============================================== NAVBAR ============================================== -->
               <div class="header-nav animate-dropdown">
                  <div class="container">
                     <div class="nav-bg-class">
                        <!-- ============================================================= NAVBAR PRIMARY ============================================================= -->
                        <nav class="yamm navbar navbar-primary animate-dropdown" role="navigation">
                           <!-- /.navbar-header -->
                           <div class="collapse navbar-collapse" id="navbar-primary-collapse">
                              <ul class="nav navbar-nav">
                                 <li class="active"><a href="' .
spip_htmlspecialchars(sinon($GLOBALS['meta']['adresse_site'],'.')) .
'">Home</a></li>
											' .
BOUCLE_main_menuhtml_0e8b0eb787a509051fce36ebb5da62a9($Cache, $Pile, $doublons, $Numrows, $SP) .
'	
                              </ul>
                              <!-- /.nav -->
                           </div>
                           <!-- /.collapse navbar-collapse -->
                        </nav>
                        <!-- /.yamm -->
                        <!-- ============================================================= NAVBAR PRIMARY : END ============================================================= -->	
                     </div>
                     <!-- /.nav-bg-class -->
                  </div>
                  <!-- /.container -->
               </div>
               <!-- /.header-nav -->
               <!-- ============================================== NAVBAR : END ============================================== -->
            </header>');

	return analyse_resultat_skel('html_0e8b0eb787a509051fce36ebb5da62a9', $Cache, $page, 'squelettes/inc/inc-header.html');
}
?>