PEEL Shopping
Open source ecommerce : PEEL Shopping
rss.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: rss.php 46935 2015-09-18 08:49:48Z gboussin $
14 include("../../configuration.inc.php");
15 
16 if (!check_if_module_active('rss')) {
17  // This module is not activated => we redirect to the homepage
18  redirect_and_die(get_url('/'));
19 }
20 if (!empty($_GET['cat'])) {
21  $category_id = intval($_GET['cat']);
22 }elseif (!empty($_GET['CatIDS'])) {
23  $category_id = intval($_GET['CatIDS']);
24 } else {
25  $category_id = null;
26 }
27 
28 echo_rss_and_die($category_id);
29 
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
if(!defined('IN_PEEL')) echo_rss_and_die($category_id=null, $seller_id=null)
echo_rss_and_die()
Definition: fonctions.php:25
if(strlen($date2)== '10') if($type== 'users-by-age'&&a_priv('admin_users', true)) elseif($type== 'forums-count'&&a_priv('admin_content', true)) elseif($type== 'forums-categories'&&a_priv('admin_content', true)) elseif($type== 'users-count'&&a_priv('admin_users', true)) elseif($type== 'product-categories'&&a_priv('admin_products', true)) elseif($type== 'users-by-sex'&&a_priv('admin_users', true)) elseif($type== 'users-by-country'&&a_priv('admin_users', true)) elseif($type== 'sales'&&a_priv('admin_sales', true))
Definition: chart-data.php:160
check_if_module_active($module_name, $specific_file_name=null)
Renvoie si un module est présent et activé ou non - Peut être appelé avant ou après le chargement d'u...

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