PEEL Shopping
Open source ecommerce : PEEL Shopping
marque.php
Go to the documentation of this file.
1 <?php
2 // This file should be in UTF8 without BOM - Accents examples: éèê
3 // +----------------------------------------------------------------------+
4 // | Copyright (c) 2004-2015 Advisto SAS, service PEEL - contact@peel.fr |
5 // +----------------------------------------------------------------------+
6 // | This file is part of PEEL Shopping 8.0.0, which is subject to an |
7 // | opensource GPL license: you are allowed to customize the code |
8 // | for your own needs, but must keep your changes under GPL |
9 // | More information: https://www.peel.fr/lire/licence-gpl-70.html |
10 // +----------------------------------------------------------------------+
11 // | Author: Advisto SAS, RCS 479 205 452, France, https://www.peel.fr/ |
12 // +----------------------------------------------------------------------+
13 // $Id: marque.php 46935 2015-09-18 08:49:48Z gboussin $
14 define('IN_SEARCH_BRAND', true);
15 include("../configuration.inc.php");
16 
17 $GLOBALS['page_name'] = 'marque';
18 $GLOBALS['DOC_TITLE'] = $GLOBALS['STR_BRAND'];
19 
20 $id_marque = vn($_GET['id']);
21 $output = '';
22 
23 if(!empty($id_marque)) {
24  // Affichage d'une marque avec ses produits
25  $output .= get_brand_description_html($id_marque, true, false) . '<div class="clearfix"></div>' . affiche_produits($id_marque, 2, 'catalogue', $GLOBALS['site_parameters']['nb_produit_page'], 'general', true);
26 } else {
27  // Affichage de toutes les marques disponibles sur le site
28  $output .= get_brand_description_html(null, true, true);
29 }
30 include($GLOBALS['repertoire_modele'] . "/haut.php");
31 echo $output;
32 include($GLOBALS['repertoire_modele'] . "/bas.php");
33 
$output
Definition: marque.php:21
$GLOBALS['page_name']
Definition: marque.php:17
$id_marque
Definition: marque.php:20
vn(&$var, $default=0)
Variable nulle if $var n'est pas défini, retourne $default, sinon retourne $var.
Definition: format.php:110

This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:28:54 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.