PEEL Shopping
Open source ecommerce : PEEL Shopping
flash.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: flash.php 46935 2015-09-18 08:49:48Z gboussin $
14 
15 include("../../configuration.inc.php");
16 
17 if (!is_flash_active_on_site()) {
18  // This module is not activated => we redirect to the homepage
19  redirect_and_die(get_url('/'));
20 }
21 
22 define("IN_FLASH", true);
23 $GLOBALS['page_name'] = 'flash';
24 $output = affiche_produits(null, 1, "flash", $GLOBALS['site_parameters']['nb_produit_page'], 'general', true);
25 
26 include($GLOBALS['repertoire_modele'] . "/haut.php");
27 
28 echo $output;
29 
30 include($GLOBALS['repertoire_modele'] . "/bas.php");
31 
redirect_and_die($url, $permanent_redirection=false, $avoid_loop=false)
Redirige vers l'URL demandée et arrête le programme.
Definition: fonctions.php:1551
$GLOBALS['page_name']
Definition: flash.php:23
$output
Definition: flash.php:24

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