PEEL Shopping
Open source ecommerce : PEEL Shopping
Variables
index.php File Reference

Go to the source code of this file.

Variables

const IN_HOME true
 
 $GLOBALS ['page_name'] = 'index'
 
 $output = ''
 
if(strpos($_SERVER['REQUEST_URI'], '/index.php')!==false) $rubrique_template = 'home'
 
 $tpl = $GLOBALS['tplEngine']->createTemplate('index.tpl')
 
if(!empty($GLOBALS['site_parameters']['skip_home_top_products'])) else
 
if(!empty($GLOBALS['site_parameters']['skip_home_special_products'])) else
 
if(!empty($GLOBALS['site_parameters']['skip_home_new_products'])) else
 
if(check_if_module_active('abonnement')) if(check_if_module_active('carrousel')) $output = $tpl->fetch()
 
 $GLOBALS ['page_columns_count'] = $GLOBALS['site_parameters']['site_index_page_columns_count']
 
const IN_RUBRIQUE true
 
 $rubid = intval(vn($_GET['rubid']))
 
 $sql
 
 $rub_query = query($sql)
 
if($rub=fetch_assoc($rub_query)) if(check_if_module_active('url_rewriting')) $class = ""
 

Variable Documentation

if ($rub=fetch_assoc($rub_query)) if (check_if_module_active('url_rewriting')) $class = ""

Definition at line 68 of file index.php.

$GLOBALS['page_name'] = 'index'

Definition at line 22 of file index.php.

$GLOBALS['page_columns_count'] = $GLOBALS['site_parameters']['site_index_page_columns_count']

Definition at line 108 of file index.php.

$output = ''

Definition at line 24 of file index.php.

if (check_if_module_active('abonnement')) if (check_if_module_active('carrousel')) $output = $tpl->fetch()

Definition at line 106 of file index.php.

$rub_query = query($sql)

Definition at line 35 of file index.php.

$rubid = intval(vn($_GET['rubid']))

Definition at line 29 of file index.php.

if (strpos($_SERVER['REQUEST_URI'], '/index.php')!==false) $rubrique_template = 'home'

Definition at line 29 of file index.php.

$sql
Initial value:
= "SELECT r.nom_" . $_SESSION['session_langue'] . " as nom, etat, technical_code
FROM peel_rubriques r
WHERE r.id ='" . intval($rubid) . "' AND r.technical_code NOT IN ('other', 'iphone_content') AND " . get_filter_site_cond('rubriques', 'r') . "
ORDER BY r.position " . (!empty($GLOBALS['site_parameters']['content_category_primary_order_by'])? ", r." . $GLOBALS['site_parameters']['content_category_primary_order_by'] : '') . "
"
get_filter_site_cond($table_technical_code, $table_alias=null, $use_strict_rights_if_in_admin=false, $specific_site_id=null, $exclude_public_items=false, $admin_force_multisite_if_allowed=false)
Retourne la condition SQL permettant de filtrer les données pour une table.
Definition: fonctions.php:4643
$GLOBALS['page_name']
Definition: index.php:28
$rubid
Definition: index.php:29
$_SESSION['session_install_serveur']
Definition: index.php:23

Definition at line 30 of file index.php.

if (function_exists('has_special_article')&&has_special_article($rubid)) $tpl = $GLOBALS['tplEngine']->createTemplate('index.tpl')

Definition at line 31 of file index.php.

if (defined('PEEL_PREFETCH')) else
Initial value:
{
$tpl->assign('meilleurs_ventes', affiche_produits(null, 2, "top", 10, 'home', true, null, 4, true, false))
$tpl
Definition: index.php:69

Definition at line 42 of file index.php.

if (!empty($GLOBALS['site_parameters']['skip_home_special_products'])) else
Initial value:
{
$tpl->assign('notre_selection', affiche_produits(null, 2, "special", 10, 'home', true, null, 4, true, false))
$tpl
Definition: index.php:69

Definition at line 47 of file index.php.

if (!empty($GLOBALS['site_parameters']['skip_home_new_products'])) else
Initial value:
{
$tpl->assign('nouveaute', affiche_produits(null, 2, "nouveaute", 10, 'home', true, null, 4, true, false))
$tpl
Definition: index.php:69

Definition at line 52 of file index.php.

const IN_HOME true

Definition at line 20 of file index.php.

const IN_RUBRIQUE true

Definition at line 20 of file index.php.


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