14 if (!defined(
'IN_PEEL')) {
19 $tpl->assign(
'MODULES_BOTTOM_MIDDLE',
get_modules(
'bottom_middle',
true, null,
vn($_GET[
'catid'])));
20 $tpl->assign(
'page_columns_count',
$GLOBALS[
'page_columns_count']);
21 if (
$GLOBALS[
'page_columns_count'] == 3) {
22 $modules_below_middle =
get_modules(
'below_middle',
true, null,
vn($_GET[
'catid']));
23 $tpl->assign(
'MODULES_BELOW_MIDDLE', $modules_below_middle);
25 if (!empty(
$GLOBALS[
'modules_right'])) {
26 $tpl->assign(
'MODULES_RIGHT',
$GLOBALS[
'modules_right']);
28 $tpl->assign(
'IN_HOME', defined(
'IN_HOME'));
29 if (defined(
'IN_HOME')) {
30 $tpl->assign(
'CONTENT_HOME_BOTTOM', affiche_contenu_html(
"home_bottom",
true));
32 $tpl->assign(
'CONTENT_FOOTER', affiche_contenu_html(
"footer",
true));
33 $tpl->assign(
'MODULES_FOOTER',
get_modules(
'footer',
true, null,
vn($_GET[
'catid'])));
35 $tpl->assign(
'FOOTER', affiche_footer(
true));
36 $tpl->assign(
'footer_columns_width_sm',
vb(
$GLOBALS[
'site_parameters'][
'footer_columns_width_sm'], 4));
37 $tpl->assign(
'footer_columns_width_md',
vb(
$GLOBALS[
'site_parameters'][
'footer_columns_width_md'], 3));
39 $tpl->assign(
'flags', affiche_flags(
true, null,
false,
$GLOBALS[
'lang_codes'],
false, 26));
44 if (!empty(
$_SESSION[
'session_display_popup'][
'error_text'])) {
46 $GLOBALS[
'js_ready_content_array'][] =
"bootbox.alert('".filtre_javascript(
$_SESSION[
'session_display_popup'][
'error_text'],
true,
true,
false,
true,
false) .
"')";
47 unset(
$_SESSION[
'session_display_popup'][
'error_text']);
50 if (!empty(
$_SESSION[
"session_display_popup"][
"no_uploaded_image"])) {
51 unset(
$_SESSION[
"session_display_popup"][
"no_uploaded_image"]);
57 if (!empty(
$GLOBALS[
'site_parameters'][
'google_premium_account_id']) && !empty(
$GLOBALS[
'integrate_javascript_google_ads']) && empty(
$GLOBALS[
'disable_google_ads']) && strpos(
$GLOBALS[
'wwwroot'],
'://localhost')===
false && strpos(
$GLOBALS[
'wwwroot'],
'://127.0.0.1')===
false &&
check_if_module_active(
'annonces')) {
58 include(
$GLOBALS[
'dirroot'] .
'/modules/annonces/fonctions_google_premium.php');
59 if (!empty(
$GLOBALS[
'integrate_afs_ads'])) {
60 $end_javascript .= get_google_afs_script(
$GLOBALS[
'afs_searched'], (isset($_GET[
'page'])?$_GET[
'page']:(isset($_GET[
'pageNum_rs1'])?$_GET[
'pageNum_rs1'] + 1:1)));
62 $end_javascript .= get_google_afc_script((isset($_GET[
'page'])?$_GET[
'page']:1));
66 include(
$GLOBALS[
'dirroot'] .
'/modules/annonces/fonctions_twenga_ads.php');
67 $end_javascript .= get_twenga_ads_script(
$GLOBALS[
'twenga_ads_searched'], (isset($_GET[
'page'])?$_GET[
'page']:1));
71 if (defined(
'PEEL_DEBUG') && PEEL_DEBUG) {
74 $tpl->assign(
'DEBUG_TEMPLATES', defined(
'DEBUG_TEMPLATES') && DEBUG_TEMPLATES);
75 $tpl->assign(
'STR_BEFORE_TWO_POINTS',
$GLOBALS[
'STR_BEFORE_TWO_POINTS']);
80 $tpl->assign(
'rss', affiche_social_icons(
true));
81 $tpl->assign(
'footer_link', affiche_contenu_html(
"footer_link",
true));
82 $tpl->assign(
'block_columns_width_sm',
vb(
$GLOBALS[
'site_parameters'][
'block_columns_width_sm'], 4));
83 $tpl->assign(
'block_columns_width_md',
vb(
$GLOBALS[
'site_parameters'][
'block_columns_width_md'], 3));
84 if(function_exists(
'get_footer_bottom')) {
85 $footer_bottom = get_footer_bottom();
87 $footer_bottom =
vb(
$GLOBALS[
'site_parameters'][
'footer_bottom']);
89 $tpl->assign(
'footer_bottom', $footer_bottom);
90 if(function_exists(
'get_footer_column')) {
91 $tpl->assign(
'footer_column', get_footer_column());
93 $tpl->assign(
'scroll_to_top',
vb(
$GLOBALS[
'site_parameters'][
'scroll_to_top'],
false));
if(!function_exists('desinscription_newsletter')) close_page_generation($html_page=true)
Fonction à appeler à la fin de la génération d'une page, afin d'exécuter certaines requêtes SQL qui n...
get_tag_analytics()
get_tag_analytics()
affiche_module_devise($return_mode=false)
affiche_module_devise()
get_javascript_output($async=false, $minify=false, $output_only_script_loading=false, $js_filenames_array=array('js_files', 'js_files_pageonly', 'js_files_nominify', 'js_files_noasync', 'js_files_nominify_noasync'))
Chargement du chargement des scripts.
get_modules($location, $return_mode=false, $technical_code=null, $id_categorie=null, $this_annonce_number=0, $return_array_with_raw_information=false, $criterias=null)
Récupère le contenu HTML des modules en fonction des contraintes données en paramètre Il est possible...
if(!defined('IN_PEEL')) $tpl
$GLOBALS['page_columns_count']
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...
if(defined('IN_PEEL_ADMIN')||IN_INSTALLATION) $_SESSION['session_langue']