Samx Here
n1udSecurity


Server : Apache
System : Linux ks5.tuic.fr 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64
User : pragmatice ( 1003)
PHP Version : 8.2.24
Disable Function : NONE
Directory :  /home/pragmatice/public_html/lesite/tmp/cache/skel/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/pragmatice/public_html/lesite/tmp/cache/skel/html_16ddef446a0a7689c688fee2425f020d.php
<?php

/*
 * Squelette : ../plugins-dist/statistiques/prive/squelettes/inclure/stats-visites-jours-resume.html
 * Date :      Fri, 12 Jan 2024 10:21:16 GMT
 * Compile :   Fri, 15 Mar 2024 08:43:26 GMT
 * Boucles :   _arth, _art
 */ 

function BOUCLE_arthhtml_16ddef446a0a7689c688fee2425f020d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	$in = array();
	if (!(is_array($a = (($Pile[0]['statut'] ?? null)))))
		$in[]= $a;
	else $in = array_merge($in, $a);
	if (!isset($si_init)) { $command['si'] = array(); $si_init = true; }
	$command['si'][] = interdire_scripts((entites_html(table_valeur($Pile[0]??[], (string)'objet', null),true) == 'article'));
if (!defined('_DIR_PLUGIN_ACCESRESTREINT')) {
			$link_empty = generer_url_ecrire('admin_vider'); $link_plugin = generer_url_ecrire('admin_plugin');
			$message_fr = 'La restriction d\'acc&egrave;s a ete desactiv&eacute;e. <a href="'.$link_plugin.'">Corriger le probl&egrave;me</a> ou <a href="'.$link_empty.'">vider le cache</a> pour supprimer les restrictions.';
			$message_en = 'Acces Restriction is now unusable. <a href="'.$link_plugin.'">Correct this trouble</a> or <a href="'.generer_url_ecrire('admin_vider').'">empty the cache</a> to finish restriction removal.';
			die($message_fr.'<br />'.$message_en);
			}
	if (!isset($command['table'])) {
		$command['table'] = 'articles';
		$command['id'] = '_arth';
		$command['from'] = array('articles' => 'spip_articles');
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array("articles.id_rubrique",
		"articles.id_article",
		"articles.lang",
		"articles.titre");
		$command['orderby'] = array();
		$command['join'] = array();
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	$command['where'] = 
			array(
			array('=', 'articles.id_article', sql_quote(interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'id_objet', null),true)), '', 'bigint(21) NOT NULL AUTO_INCREMENT')), (!is_whereable(($Pile[0]['statut'] ?? null)) ? '' : ((is_array(($Pile[0]['statut'] ?? null))) ? sql_in('articles.statut', $in) : 
			array('=', 'articles.statut', sql_quote(($Pile[0]['statut'] ?? null), '','varchar(10) NOT NULL DEFAULT \'0\'')))), sql_in('articles.id_article', accesrestreint_liste_objets_exclus('articles', !test_espace_prive()), 'NOT'), sql_in('articles.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'));
	if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
	$t0 = "";
	// REQUETE
	$iter = IterFactory::create(
		"SQL",
		$command,
		array('../plugins-dist/statistiques/prive/squelettes/inclure/stats-visites-jours-resume.html','html_16ddef446a0a7689c688fee2425f020d','_arth',26,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	lang_select($GLOBALS['spip_lang']);
	$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']);
		$t0 .= (
'
				<th scope="col">' .
label_nettoyer(_T('statistiques:info_popularite_5')) .
'</th>
				<th scope="col">' .
label_nettoyer(_T('public|spip|ecrire:info_total')) .
'</th>
				<th scope="col"></th>
			');
		lang_select();
	}
	lang_select();
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_arth @ ../plugins-dist/statistiques/prive/squelettes/inclure/stats-visites-jours-resume.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}


function BOUCLE_arthtml_16ddef446a0a7689c688fee2425f020d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	$in = array();
	if (!(is_array($a = (($Pile[0]['statut'] ?? null)))))
		$in[]= $a;
	else $in = array_merge($in, $a);
	if (!isset($si_init)) { $command['si'] = array(); $si_init = true; }
	$command['si'][] = interdire_scripts((entites_html(table_valeur($Pile[0]??[], (string)'objet', null),true) == 'article'));
if (!defined('_DIR_PLUGIN_ACCESRESTREINT')) {
			$link_empty = generer_url_ecrire('admin_vider'); $link_plugin = generer_url_ecrire('admin_plugin');
			$message_fr = 'La restriction d\'acc&egrave;s a ete desactiv&eacute;e. <a href="'.$link_plugin.'">Corriger le probl&egrave;me</a> ou <a href="'.$link_empty.'">vider le cache</a> pour supprimer les restrictions.';
			$message_en = 'Acces Restriction is now unusable. <a href="'.$link_plugin.'">Correct this trouble</a> or <a href="'.generer_url_ecrire('admin_vider').'">empty the cache</a> to finish restriction removal.';
			die($message_fr.'<br />'.$message_en);
			}
	if (!isset($command['table'])) {
		$command['table'] = 'articles';
		$command['id'] = '_art';
		$command['from'] = array('articles' => 'spip_articles');
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array("articles.popularite",
		"articles.visites",
		"articles.id_article",
		"articles.id_rubrique",
		"articles.id_article",
		"articles.lang",
		"articles.titre");
		$command['orderby'] = array();
		$command['join'] = array();
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	$command['where'] = 
			array(
			array('=', 'articles.id_article', sql_quote(interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'id_objet', null),true)), '', 'bigint(21) NOT NULL AUTO_INCREMENT')), (!is_whereable(($Pile[0]['statut'] ?? null)) ? '' : ((is_array(($Pile[0]['statut'] ?? null))) ? sql_in('articles.statut', $in) : 
			array('=', 'articles.statut', sql_quote(($Pile[0]['statut'] ?? null), '','varchar(10) NOT NULL DEFAULT \'0\'')))), sql_in('articles.id_article', accesrestreint_liste_objets_exclus('articles', !test_espace_prive()), 'NOT'), sql_in('articles.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'));
	if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
	$t0 = "";
	// REQUETE
	$iter = IterFactory::create(
		"SQL",
		$command,
		array('../plugins-dist/statistiques/prive/squelettes/inclure/stats-visites-jours-resume.html','html_16ddef446a0a7689c688fee2425f020d','_art',42,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	lang_select($GLOBALS['spip_lang']);
	$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		lang_select_public($Pile[$SP]['lang'], '', $Pile[$SP]['titre']);
		$t0 .= (
'
				<td class="num" data-label="' .
attribut_html(label_nettoyer(_T('statistiques:info_popularite_5'))) .
'">' .
interdire_scripts(number_format(round($Pile[$SP]['popularite']),'0','','&nbsp;')) .
'</td>
				<td class="num" data-label="' .
attribut_html(label_nettoyer(_T('public|spip|ecrire:info_total'))) .
'">' .
interdire_scripts(number_format(round(((($a = $Pile[$SP]['visites']) OR (is_string($a) AND strlen($a))) ? $a : '0')),'0','','&nbsp;')) .
'</td>
				<td class="num" data-label="">' .
(($t1 = strval(plus(array_search($Pile[$SP]['id_article'],table_valeur($Pile["vars"]??[], (string)'c', null)),'1')))!=='' ?
		('<strong>' . $t1 . (	'</strong>' .
	singulier_ou_pluriel(count(table_valeur($Pile["vars"]??[], (string)'c', null)),'info_classement_1','info_classement_2','liste'))) :
		'') .
'</td>
			');
		lang_select();
	}
	lang_select();
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_art @ ../plugins-dist/statistiques/prive/squelettes/inclure/stats-visites-jours-resume.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}

//
// Fonction principale du squelette ../plugins-dist/statistiques/prive/squelettes/inclure/stats-visites-jours-resume.html
// Temps de compilation total: 2.718 ms
//

function html_16ddef446a0a7689c688fee2425f020d($Cache, $Pile, $doublons = array(), $Numrows = array(), $SP = 0) {

	if (isset($Pile[0]["doublons"]) AND is_array($Pile[0]["doublons"]))
		$doublons = nettoyer_env_doublons($Pile[0]["doublons"]);

	$connect = '';
	$page = (
vide($Pile['vars'][$_zzz=(string)'c'] = array()) .
(($t1 = strval(interdire_scripts(((entites_html(table_valeur($Pile[0]??[], (string)'id_objet', null),true)) ?' ' :''))))!=='' ?
		($t1 . (	' 
	' .
	vide($Pile['vars'][$_zzz=(string)'c'] = interdire_scripts(classement_populaires(entites_html(table_valeur($Pile[0]??[], (string)'objet', null),true)))))) :
		'') .
'

<table class=\'spip spip_table--responsive spip_table--statistiques spip_table--statistiques-resume\'>
	<caption>' .
_T('statistiques:resume') .
'</caption>
	<thead>
		<tr>
			<th scope="col">' .
label_nettoyer(_T('public|spip|ecrire:info_maximum')) .
'</th>
			<th scope="col">
				' .
(($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('activer_referers','oui',false):'') == 'oui')) ?' ' :''))))!=='' ?
		($t1 . (	'
				<a href="' .
	parametre_url(generer_url_ecrire('stats_referers'),'jour','jour') .
	'"
					title="' .
	attribut_html(label_nettoyer(_T('statistiques:titre_liens_entrants'))) .
	': ' .
	attribut_html(label_nettoyer(_T('public|spip|ecrire:info_aujourdhui'))) .
	'">
					' .
	label_nettoyer(_T('public|spip|ecrire:info_aujourdhui')) .
	'</a>')) :
		'') .
'
				' .
(($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('activer_referers','oui',false):'') == 'oui')) ?'' :' '))))!=='' ?
		($t1 . label_nettoyer(_T('public|spip|ecrire:info_aujourdhui'))) :
		'') .
'
			</th>
			<th scope="col">
				' .
(($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('activer_referers','oui',false):'') == 'oui')) ?' ' :''))))!=='' ?
		($t1 . (	'
				<a href="' .
	parametre_url(generer_url_ecrire('stats_referers'),'jour','veille') .
	'"
					title="' .
	attribut_html(label_nettoyer(_T('statistiques:titre_liens_entrants'))) .
	': ' .
	attribut_html(label_nettoyer(_T('public|spip|ecrire:info_hier'))) .
	'">
					' .
	label_nettoyer(_T('public|spip|ecrire:info_hier')) .
	'
				</a>')) :
		'') .
'
				' .
(($t1 = strval(interdire_scripts(((((include_spip('inc/config')?lire_config('activer_referers','oui',false):'') == 'oui')) ?'' :' '))))!=='' ?
		($t1 . label_nettoyer(_T('public|spip|ecrire:info_hier'))) :
		'') .
'
			</th>
			' .
(($t1 = BOUCLE_arthhtml_16ddef446a0a7689c688fee2425f020d($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
		$t1 :
		((	'
				<th scope="col">' .
	label_nettoyer(_T('public|spip|ecrire:info_total')) .
	'</th>
				<th scope="col">' .
	label_nettoyer(_T('statistiques:info_popularite_2')) .
	'</th>
			'))) .
'
		</tr>
	</thead>
	<tbody>
		<tr>
			' .
vide($Pile['vars'][$_zzz=(string)'stats'] = statistiques_stats_generales($Pile,null)) .
'<td class="num" data-label="' .
attribut_html(label_nettoyer(_T('public|spip|ecrire:info_maximum'))) .
'">' .
number_format(((($a = table_valeur($Pile["vars"]??[], (string)'stats/max', null)) OR (is_string($a) AND strlen($a))) ? $a : '0'),'0','','&nbsp;') .
'</td>
			<td class="num" data-label="' .
attribut_html(label_nettoyer(_T('public|spip|ecrire:info_aujourdhui'))) .
'">' .
number_format(((($a = table_valeur($Pile["vars"]??[], (string)'stats/today', null)) OR (is_string($a) AND strlen($a))) ? $a : '0'),'0','','&nbsp;') .
'</td>
			<td class="num" data-label="' .
attribut_html(label_nettoyer(_T('public|spip|ecrire:info_hier'))) .
'">' .
number_format(((($a = table_valeur($Pile["vars"]??[], (string)'stats/yesterday', null)) OR (is_string($a) AND strlen($a))) ? $a : '0'),'0','','&nbsp;') .
'</td>
			' .
(($t1 = BOUCLE_arthtml_16ddef446a0a7689c688fee2425f020d($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
		$t1 :
		((	'
				<td class="num" data-label="' .
	attribut_html(label_nettoyer(_T('public|spip|ecrire:info_total'))) .
	'">' .
	number_format(((($a = stats_total('')) OR (is_string($a) AND strlen($a))) ? $a : '0'),'0','','&nbsp;') .
	'</td>
				<td class="num" data-label="' .
	attribut_html(label_nettoyer(_T('statistiques:info_popularite_2'))) .
	'">' .
	interdire_scripts(number_format(round(((($a = (include_spip('inc/config')?lire_config('popularite_total',null,false):'')) OR (is_string($a) AND strlen($a))) ? $a : '0')),'0','','&nbsp;')) .
	'</td>
			'))) .
'
		</tr>
	</tbody>
</table>
');

	return analyse_resultat_skel('html_16ddef446a0a7689c688fee2425f020d', $Cache, $page, '../plugins-dist/statistiques/prive/squelettes/inclure/stats-visites-jours-resume.html');
}
?>

SAMX