Your IP : 216.73.216.59


Current Path : /home/quelfutuu/www/lchg/tmp/cache/skel/
Upload File :
Current File : /home/quelfutuu/www/lchg/tmp/cache/skel/html_2ac91ec494d1daf9e8830a34c712f790.php

<?php

/*
 * Squelette : ../prive/objets/infos/auteur.html
 * Date :      Mon, 08 Sep 2025 10:55:56 GMT
 * Compile :   Tue, 05 May 2026 09:03:05 GMT
 * Boucles :   _arts, _publie, _auteur
 */ 

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

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';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'] = '_arts';
		$command['from'] = array('articles' => 'spip_articles','L1' => 'spip_auteurs_liens');
		$command['type'] = array();
		$command['groupby'] = array("articles.id_article");
		$command['select'] = array("articles.id_rubrique",
		"articles.id_article");
		$command['orderby'] = array();
		$command['join'] = array('L1' => array('articles','id_objet','id_article','L1.objet='.sql_quote('article')));
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	$command['where'] = 
			array('JOIN-L1' => 
			array('=', 'L1.objet', sql_quote('article')), 
			array('=', 'L1.id_auteur', sql_quote($Pile[$SP]['id_auteur'], '','bigint NOT NULL DEFAULT \'0\'')), 
			array('NOT', 
			array('=', 'articles.statut', "'poubelle'")), 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 = Spip\Compilateur\Iterateur\Factory::create(
		"SQL",
		$command,
		array('../prive/objets/infos/auteur.html','html_2ac91ec494d1daf9e8830a34c712f790','_arts',25,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	$Numrows['_arts']['command'] = $command;
	$Numrows['_arts']['total'] = @intval($iter->count());
	$SP++;
	// RESULTATS
	
	$t0 = str_repeat(' ', $Numrows['_arts']['total']);
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_arts @ ../prive/objets/infos/auteur.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}


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

	static $command = array();
	static $connect;
	$command['connect'] = $connect = '';
	if (!isset($command['table'])) {
		$command['table'] = 'auteurs';
		$command['id'] = '_publie';
		$command['from'] = array('auteurs' => 'spip_auteurs','L1' => 'spip_auteurs_liens','L2' => 'spip_articles');
		$command['type'] = array();
		$command['groupby'] = array("auteurs.id_auteur");
		$command['select'] = array("auteurs.id_auteur");
		$command['orderby'] = array();
		$command['join'] = array('L1' => array('auteurs','id_auteur'), 'L2' => array('L1','id_article','id_objet','L1.objet='.sql_quote('article')));
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	$command['where'] = 
			array(
quete_condition_statut('L2.statut','!','publie',''), 
quete_condition_postdates('L2.date',''), 
quete_condition_statut('auteurs.statut','!5poubelle','!5poubelle',''), 
			array('=', 'auteurs.id_auteur', sql_quote($Pile[$SP]['id_auteur'], '','bigint NOT NULL AUTO_INCREMENT')), 'JOIN-L2' => 
			array('=', 'L1.objet', sql_quote('article')));
	if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
	$t0 = "";
	// REQUETE
	$iter = Spip\Compilateur\Iterateur\Factory::create(
		"SQL",
		$command,
		array('../prive/objets/infos/auteur.html','html_2ac91ec494d1daf9e8830a34c712f790','_publie',41,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	
	$l1 = _T('public|spip|ecrire:icone_voir_en_ligne');$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		$t0 .= (
'
	' .
(($t1 = strval(retablir_echappements_modeles(((objet_info('auteur','page')) ?' ' :''))))!=='' ?
		($t1 . (	'
	' .
	retablir_echappements_modeles(filtre_icone_horizontale_dist(parametre_url(generer_url_action('redirect',(	'type=auteur&id=' .
		($Pile[$SP]['id_auteur']))),'var_mode','calcul'),$l1,'voir-ligne')))) :
		'') .
'
');
	}
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_publie @ ../prive/objets/infos/auteur.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}


function BOUCLE_auteurhtml_2ac91ec494d1daf9e8830a34c712f790(&$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($command['table'])) {
		$command['table'] = 'auteurs';
		$command['id'] = '_auteur';
		$command['from'] = array('auteurs' => 'spip_auteurs');
		$command['type'] = array();
		$command['groupby'] = array();
		$command['select'] = array("auteurs.id_auteur",
		"auteurs.statut",
		"auteurs.bio",
		"auteurs.email");
		$command['orderby'] = array();
		$command['join'] = array();
		$command['limit'] = '';
		$command['having'] = 
			array();
	}
	$command['where'] = 
			array(
			array('=', 'auteurs.id_auteur', sql_quote(retablir_echappements_modeles(interdire_scripts(entites_html(table_valeur($Pile[0]??[], (string)'id', null),true))), '', 'bigint NOT NULL AUTO_INCREMENT')), (!is_whereable(($Pile[0]['statut'] ?? null)) ? '' : ((is_array(($Pile[0]['statut'] ?? null))) ? sql_in('auteurs.statut', $in) : 
			array('=', 'auteurs.statut', sql_quote(($Pile[0]['statut'] ?? null), '','varchar(255) NOT NULL DEFAULT \'0\'')))));
	if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
	$t0 = "";
	// REQUETE
	$iter = Spip\Compilateur\Iterateur\Factory::create(
		"SQL",
		$command,
		array('../prive/objets/infos/auteur.html','html_2ac91ec494d1daf9e8830a34c712f790','_auteur',1,$GLOBALS['spip_lang'])
	);
	if (!$iter->err()) {
	$SP++;
	// RESULTATS
	while ($Pile[$SP]=$iter->fetch()) {

		$t0 .= (
'
<div class=\'infos\'>
<div class=\'numero\'>' .
_T('public|spip|ecrire:titre_cadre_numero_auteur') .
'<p>' .
retablir_echappements_modeles($Pile[$SP]['id_auteur']) .
'</p></div>

<div class="statut">
' .
(($t1 = strval(retablir_echappements_modeles(interdire_scripts(traduire_statut_auteur($Pile[$SP]['statut'],(interdire_scripts($Pile[$SP]['bio'])))))))!=='' ?
		((	'<p>' .
	retablir_echappements_modeles((($Pile[$SP]['id_auteur'] == (interdire_scripts(invalideur_session($Cache, table_valeur($GLOBALS["visiteur_session"]??[], (string)'id_auteur', null))))) ? _T('public|spip|ecrire:info_statut_auteur_2'):_T('public|spip|ecrire:info_statut_auteur'))) .
	' <strong>') . $t1 . '</strong></p>') :
		'') .
'
' .
(($t1 = strval(retablir_echappements_modeles('')))!=='' ?
		($t1 . ' Cette autorisation porte sur l\'auteur parcouru dans la boucle ! ') :
		'') .
'
' .
(($t1 = strval(retablir_echappements_modeles(invalideur_session($Cache, ((((function_exists("autoriser")||include_spip("inc/autoriser"))&&autoriser('webmestre', '', '0', (invalideur_session($Cache, $Pile[$SP]['id_auteur'])))?" ":"")) ?' ' :'')))))!=='' ?
		($t1 . (	'
	' .
	(($t2 = strval(retablir_echappements_modeles(interdire_scripts(invalideur_session($Cache, ((table_valeur($GLOBALS["visiteur_session"]??[], (string)'id_auteur', null) == (invalideur_session($Cache, $Pile[$SP]['id_auteur']))) ? _T('public|spip|ecrire:info_admin_je_suis_webmestre'):_T('public|spip|ecrire:info_admin_webmestre')))))))!=='' ?
			('<p>' . $t2 . '</p>') :
			'') .
	'
')) :
		'') .
'
' .
(($t1 = strval(retablir_echappements_modeles(interdire_scripts(invalideur_session($Cache, (((((((table_valeur($GLOBALS["visiteur_session"]??[], (string)'id_auteur', null) == (invalideur_session($Cache, $Pile[$SP]['id_auteur'])))) AND ((invalideur_session($Cache, ((((function_exists("autoriser")||include_spip("inc/autoriser"))&&autoriser('webmestre')?" ":"")) ?'' :' '))))) ?' ' :'')) AND ((invalideur_session($Cache, ((((function_exists("autoriser")||include_spip("inc/autoriser"))&&autoriser('etrewebmestre')?" ":"")) ?' ' :''))))) ?' ' :''))))))!=='' ?
		($t1 . (	'
	' .
	(($t2 = strval(retablir_echappements_modeles(((defined('_ID_WEBMESTRES')) ?' ' :''))))!=='' ?
			($t2 . (	'
		' .
		retablir_echappements_modeles(vide($Pile['vars'][$_zzz=(string)'options'] = (basename((defined('_FILE_OPTIONS')?constant('_FILE_OPTIONS'):''))))) .
		_T('public|spip|ecrire:info_webmestre_forces', array('file_options' => retablir_echappements_modeles(table_valeur($Pile["vars"]??[], (string)'options', null)))) .
		'
	')) :
			'') .
	'
	' .
	(($t2 = strval(retablir_echappements_modeles(((defined('_ID_WEBMESTRES')) ?'' :' '))))!=='' ?
			($t2 . (	'
		' .
		retablir_echappements_modeles(bouton_action(_T('public|spip|ecrire:info_admin_etre_webmestre'),(invalideur_session($Cache, generer_action_auteur('etre_webmestre',(interdire_scripts(invalideur_session($Cache, eval('return '.'time()'.';')))),(invalideur_session($Cache, self()))))))) .
		'
	')) :
			'') .
	'
')) :
		'') .
'
' .
(($t1 = strval(retablir_echappements_modeles(interdire_scripts(((((((((($Pile[$SP]['statut'] == 'nouveau')) AND ((interdire_scripts($Pile[$SP]['email'])))) ?' ' :'')) AND ((invalideur_session($Cache, ((function_exists("autoriser")||include_spip("inc/autoriser"))&&autoriser('relancer', 'inscription')?" ":""))))) ?' ' :'')) ?' ' :'')))))!=='' ?
		($t1 . (	'
' .
	retablir_echappements_modeles(bouton_action(_T('public|spip|ecrire:bouton_relancer_inscription'),(invalideur_session($Cache, generer_action_auteur('relancer_inscription',(invalideur_session($Cache, $Pile[$SP]['id_auteur'])),(invalideur_session($Cache, self()))))),'bloc actualiser')) .
	'
')) :
		'') .
'
' .

'<'.'?php echo recuperer_fond( ' . argumenter_squelette('prive/objets/infos/inc-auteur-rubriques') . ', array(\'id_auteur\' => ' . argumenter_squelette($Pile[$SP]['id_auteur']) . ',
	\'statut\' => ' . argumenter_squelette($Pile[$SP]['statut']) . ',
	\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . '), array("compil"=>array(\'../prive/objets/infos/auteur.html\',\'html_2ac91ec494d1daf9e8830a34c712f790\',\'\',11,$GLOBALS[\'spip_lang\'])), _request(\'connect\') ?? \'\');
?'.'>' .
'
<div class=\'nb_elements\'>
' .
(($t1 = BOUCLE_artshtml_2ac91ec494d1daf9e8830a34c712f790($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
		($t1 . (	'
' .
		(($t3 = strval(retablir_echappements_modeles(interdire_scripts((($Pile[$SP]['statut'] <> '6forum') ? ' ':'')))))!=='' ?
				($t3 . (($t4 = strval(retablir_echappements_modeles(singulier_ou_pluriel(($Numrows['_arts']['total'] ?? 0),'info_articles_un','info_articles_nb'))))!=='' ?
					('<div>' . $t4 . '</div>') :
					'')) :
				'') .
		'
')) :
		((	'
' .
	(($t2 = strval(retablir_echappements_modeles(interdire_scripts((($Pile[$SP]['statut'] <> '6forum') ? ' ':'')))))!=='' ?
			($t2 . (	'<div class="noinfo">' .
		retablir_echappements_modeles(($Numrows['_arts']['total'] ?? 0)) .
		' ' .
		_T('public|spip|ecrire:info_article') .
		'</div>')) :
			'') .
	'
'))) .
'
<!--nb_elements-->
</div>
</div>

' .
(($t1 = strval(retablir_echappements_modeles('')))!=='' ?
		($t1 . '

	Bouton voir en ligne
	
	Si l\'auteur est publié ou si on est autorisé à le prévisualiser
	Si dans la déclaration de table il y a une page de déclarée

') :
		'') .
(($t1 = BOUCLE_publiehtml_2ac91ec494d1daf9e8830a34c712f790($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
		$t1 :
		((	'
	' .
	(($t2 = strval(retablir_echappements_modeles(((objet_info('auteur','page')) ?' ' :''))))!=='' ?
			($t2 . (	'
	' .
		(($t3 = strval(retablir_echappements_modeles(invalideur_session($Cache, ((function_exists("autoriser")||include_spip("inc/autoriser"))&&autoriser('previsualiser', 'auteur', (invalideur_session($Cache, $Pile[$SP]['id_auteur'])), '', (invalideur_session($Cache, array('statut' => ''))))?" ":"")))))!=='' ?
				($t3 . (	'
		' .
			retablir_echappements_modeles(filtre_icone_horizontale_dist(parametre_url(generer_url_action('redirect',(	'type=auteur&id=' .
				($Pile[$SP]['id_auteur']))),'var_mode','preview'),_T('public|spip|ecrire:previsualiser'),'preview')) .
			'
	')) :
				''))) :
			'') .
	'
'))) .
'
');
	}
	$iter->free();
	}
	if (defined("_BOUCLE_PROFILER")
	AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
		spip_log(intval(1000*$timer)."ms BOUCLE_auteur @ ../prive/objets/infos/auteur.html","profiler"._LOG_AVERTISSEMENT);
	return $t0;
}

//
// Fonction principale du squelette ../prive/objets/infos/auteur.html
// Temps de compilation total: 3.551 ms
//

function html_2ac91ec494d1daf9e8830a34c712f790($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 = (
BOUCLE_auteurhtml_2ac91ec494d1daf9e8830a34c712f790($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');

	return analyse_resultat_skel('html_2ac91ec494d1daf9e8830a34c712f790', $Cache, $page, '../prive/objets/infos/auteur.html');
}