PEEL Shopping
Open source ecommerce : PEEL Shopping
Functions | Variables
search.php File Reference

Go to the source code of this file.

Functions

 build_sql_content_category ($terms, $fields, $match_method)
 build_sql_content_category() More...
 
 build_sql_articles ($terms, $fields, $match_method)
 build_sql_articles() More...
 
 build_sql_marques ($terms, $fields, $match_method)
 build_sql_marques() More...
 

Variables

if(!empty($_GET['type'])&&$_GET['type']== 'error404') if(defined('PEEL_PREFETCH')) else
 
const IN_SEARCH (array('/produits/', '/'.$GLOBALS['STR_MODULE_PREMIUM_URL_ADS_BY_KEYWORD'].'-', '/supplier-research-', '/recherche-fournisseur-', '/busqueda-proveedor-') as $this_url_rewriting_main_expression) true
 
if(check_if_module_active('annonces')) $GLOBALS ['multipage_avoid_redirect_if_page_over_limit'] = true
 
if(!empty($GLOBALS['site_parameters']['twenga_ads_account_url'])) $output = ''
 
 $output_result = ''
 
 $match = vb($_GET['match'])
 
 $search = vb($_GET['search'])
 
 $real_search = ''
 
 $GLOBALS ['meta_title'] = ''
 
 $GLOBALS ['meta_description'] = ''
 
 $GLOBALS ['meta_keywords'] = ''
 
 $terms = build_search_terms($real_search, $match)
 
if(!empty($_GET['country'])) $search_attribute_tab
 
 $i = 1
 
 $resultat_produit = true
 
 $found_words_array = array()
 
 $taille_texte_affiche = 400
 
 $tpl_r = $GLOBALS['tplEngine']->createTemplate('search_result.tpl')
 
if(check_if_module_active('sauvegarde_recherche')) if(!check_if_module_active('annonces')||(check_if_module_active('annonces')&&!empty($GLOBALS['site_parameters']['search_in_product_and_ads']))) if(!empty($launch_product_search)) if(check_if_module_active('annonces')) if(vn($_GET['page'])<=1 &&count($terms) > 0) $result = $tpl_r->fetch()
 
 $tpl = $GLOBALS['tplEngine']->createTemplate('search.tpl')
 

Function Documentation

build_sql_articles (   $terms,
  $fields,
  $match_method 
)

build_sql_articles()

Parameters
mixed$terms
mixed$fields
mixed$match_method
Returns

Definition at line 498 of file search.php.

build_sql_content_category (   $terms,
  $fields,
  $match_method 
)

build_sql_content_category()

Parameters
mixed$terms
mixed$fields
mixed$match_method
Returns

Definition at line 476 of file search.php.

build_sql_marques (   $terms,
  $fields,
  $match_method 
)

build_sql_marques()

Parameters
mixed$terms
mixed$fields
mixed$match_method
Returns

Definition at line 523 of file search.php.

Variable Documentation

$found_words_array = array()

Definition at line 147 of file search.php.

if (check_if_module_active('annonces')) $GLOBALS['multipage_avoid_redirect_if_page_over_limit'] = true

Definition at line 79 of file search.php.

$GLOBALS['meta_title'] = ''

Definition at line 89 of file search.php.

$GLOBALS['meta_description'] = ''

Definition at line 90 of file search.php.

$GLOBALS['meta_keywords'] = ''

Definition at line 91 of file search.php.

$i = 1

Definition at line 145 of file search.php.

$match = vb($_GET['match'])

Definition at line 86 of file search.php.

$output = ''

Definition at line 84 of file search.php.

$output_result = ''

Definition at line 85 of file search.php.

if ($search==$GLOBALS['STR_ENTER_KEY']) $real_search = ''

Definition at line 88 of file search.php.

if (check_if_module_active('sauvegarde_recherche')) if (!check_if_module_active('annonces')||(check_if_module_active('annonces')&&!empty($GLOBALS['site_parameters']['search_in_product_and_ads']))) if (!empty($launch_product_search)) if (check_if_module_active('annonces')) if (vn($_GET['page'])<=1 &&count($terms) > 0) $result = $tpl_r->fetch()

Definition at line 442 of file search.php.

$resultat_produit = true

Definition at line 146 of file search.php.

$search = vb($_GET['search'])

Definition at line 87 of file search.php.

if (!empty($_GET['country'])) $search_attribute_tab
Initial value:
= array('marque' => array('table' => 'marques', 'join' => 'produits', 'join_id' => 'id_marque', 'label' => $GLOBALS['STR_BRAND_LB']),
'couleur' => array('table' => 'couleurs', 'join' => 'produits_couleurs', 'join_id' => 'couleur_id', 'label' => $GLOBALS['STR_COLOR_LB']),
'taille' => array('table' => 'tailles', 'join' => 'produits_tailles', 'join_id' => 'taille_id', 'label' => $GLOBALS['STR_TALL_LB'])
)
if(check_if_module_active('annonces')) $GLOBALS['multipage_avoid_redirect_if_page_over_limit']
Definition: search.php:79

Definition at line 133 of file search.php.

$taille_texte_affiche = 400

Definition at line 148 of file search.php.

$terms = build_search_terms($real_search, $match)

Definition at line 125 of file search.php.

$tpl = $GLOBALS['tplEngine']->createTemplate('search.tpl')

Definition at line 443 of file search.php.

$tpl_r = $GLOBALS['tplEngine']->createTemplate('search_result.tpl')

Definition at line 150 of file search.php.

if (empty($GLOBALS['site_parameters']['disable_search_form_on_search_page'])) else
Initial value:
{
include("configuration.inc.php")

Definition at line 31 of file search.php.

const IN_SEARCH(array('/produits/', '/'.$GLOBALS['STR_MODULE_PREMIUM_URL_ADS_BY_KEYWORD'].'-', '/supplier-research-', '/recherche-fournisseur-', '/busqueda-proveedor-') as $this_url_rewriting_main_expression) true

Definition at line 69 of file search.php.


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