示例#1
0
				</div>
				<div class="searchbar">
					<form method="post" action="<?php 
echo RACINE_SITE;
?>
recherche.php" >
						<input type="search" name="requete" id="recherche" placeholder="Rechercher...">
					</form>	
				</div>
				<div id="panier">		
					<?php 
compterArticles();
if (compterArticles() < 2) {
    echo '<a href=" ' . RACINE_SITE . 'panier.php" class="nb_resa">' . compterArticles() . ' article <br/>' . virgule(montantSousTotal()) . ' €</a>';
} else {
    echo '<a href=" ' . RACINE_SITE . 'panier.php" class="nb_resa">' . compterArticles() . ' articles <br/>' . virgule(montantSousTotal()) . ' €</a>';
}
?>
				</div>				
			</div>
			<div id="livraison_gratuite">
				<div id="text_livraison">
					<img src="<?php 
echo RACINE_SITE;
?>
/photo/free_del.png" alt="" title="">
					<p>Livraison gratuite à partir de 50€ d'achat ! C'est le moment d'en profiter !<p>
				</div>
			</div>
		</header>	
		
示例#2
0




	<div class="header">
		<div class="bg">
			<!--start:header -->
			<div class="container_16">
				<!--start:header container -->
				<!--start:logo -->
				<br/><br/><br/><br/>
				<h4 align="right">
					<?php 
include_once "fonctions-panier.php";
echo "<a href=panier.php?page='panier'><font color='blue' size='2'>" . compterArticles() . "&nbsp;:Produit(s)</font></br>";
echo "<font color='yellow' size='2'>Total : " . MontantGlobal() . "dh</font></a></br>";
if (!isset($_SESSION['clientLogin'])) {
    echo '<a href="formAuthentificationclient.php"><font color="orange">se connecter</font></a>';
} else {
    echo "<font color='orange' size='3'>Bienvenu&nbsp;:&nbsp;</font><font color='black' size='3'>" . $_SESSION['clientLogin'] . "</font>";
}
?>
</h4>
				<div class="grid_5">
					<img src="images/loho.jpg" alt="DesignPlus" class="pngfix logo"/>
				</div>
				
				<!--end:logo -->
				<div class="grid_11">
					<!--start:menu grid -->