File "html_51616a13298fe626f17edc1e33a0e04d.php"

Full path: /home/argothem/www/SpipFactory-fichiers_de_travail/sauvegarde-depannage-1.9a3.2/1.9/CACHE/skel/html_51616a13298fe626f17edc1e33a0e04d.php
File size: 12.05 KB
MIME-type: text/x-php
Charset: utf-8

<?php
/*
 * Squelette : dist/plan.html
 * Date :      Mon, 14 May 2012 22:21:19 GMT
 * Compile :   Sun, 08 Mar 2020 17:31:13 GMT (0.15s)
 * Boucles :   _articles_racine, _articles, _sous_rubriques, _rubriques, _breves, _sites, _secteurs
 */ 
//
// <BOUCLE articles>
//
function BOUCLE_articles_racinehtml_51616a13298fe626f17edc1e33a0e04d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {

	// REQUETE
	$result = spip_optim_select(
		array("articles.id_article",
		"articles.titre",
		"articles.lang"), # SELECT
		array('articles' => 'spip_articles'), # FROM
		
			array(
			array('=', 'articles.id_rubrique', spip_abstract_quote($Pile[$SP]['id_rubrique'])), 
			array('=', 'articles.statut', '"publie"')), # WHERE
		array(), # WHERE pour jointure
		'', # GROUP
		array('articles.titre'), # ORDER
		'', # LIMIT
		'', # sous
		
			array(), # HAVING
		'articles', # table
		'_articles_racine', # boucle
		''); # serveur
	$t0 = "";
	$SP++;
	$old_lang = $GLOBALS['spip_lang'];

	// RESULTATS
	while ($Pile[$SP] = @spip_abstract_fetch($result,"")) {
		if (!$GLOBALS['forcer_lang'])
	 		$GLOBALS['spip_lang'] = ($x = $Pile[$SP]['lang']) ? $x : $old_lang;
		$t0 .= ('
						<li><a href="' .
htmlspecialchars(vider_url(generer_url_article($Pile[$SP]['id_article']))) .
'">' .
interdire_scripts(typo($Pile[$SP]['titre'])) .
'</a></li>
						');
	}

	$GLOBALS['spip_lang'] = $old_lang;
	@spip_abstract_free($result,'');
	return $t0;
}


//
// <BOUCLE articles>
//
function BOUCLE_articleshtml_51616a13298fe626f17edc1e33a0e04d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {

	// REQUETE
	$result = spip_optim_select(
		array("articles.id_article",
		"articles.titre",
		"articles.lang"), # SELECT
		array('articles' => 'spip_articles'), # FROM
		
			array(
			array('=', 'articles.id_rubrique', spip_abstract_quote($Pile[$SP]['id_rubrique'])), 
			array('=', 'articles.statut', '"publie"')), # WHERE
		array(), # WHERE pour jointure
		'', # GROUP
		array('articles.titre'), # ORDER
		'', # LIMIT
		'', # sous
		
			array(), # HAVING
		'articles', # table
		'_articles', # boucle
		''); # serveur
	$t0 = "";
	$SP++;
	$old_lang = $GLOBALS['spip_lang'];

	// RESULTATS
	while ($Pile[$SP] = @spip_abstract_fetch($result,"")) {
		if (!$GLOBALS['forcer_lang'])
	 		$GLOBALS['spip_lang'] = ($x = $Pile[$SP]['lang']) ? $x : $old_lang;
		$t0 .= ('
								<li><a href="' .
htmlspecialchars(vider_url(generer_url_article($Pile[$SP]['id_article']))) .
'">' .
interdire_scripts(typo($Pile[$SP]['titre'])) .
'</a></li>
								');
	}

	$GLOBALS['spip_lang'] = $old_lang;
	@spip_abstract_free($result,'');
	return $t0;
}


//
// <BOUCLE boucle>
//
function BOUCLE_sous_rubriqueshtml_51616a13298fe626f17edc1e33a0e04d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
	$save_numrows = ($Numrows['_rubriques']);
	$t0 = ((strval($t1 = BOUCLE_rubriqueshtml_51616a13298fe626f17edc1e33a0e04d($Cache, $Pile, $doublons, $Numrows, $SP))!='') ?
		('
					<ul>
						' . $t1 . '

					</ul>
					') :
		(''));
	$Numrows['_rubriques'] = ($save_numrows);
	return $t0;
}


//
// <BOUCLE rubriques>
//
function BOUCLE_rubriqueshtml_51616a13298fe626f17edc1e33a0e04d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {

	// REQUETE
	$result = spip_optim_select(
		array("rubriques.id_rubrique",
		"rubriques.titre",
		"rubriques.lang"), # SELECT
		array('rubriques' => 'spip_rubriques'), # FROM
		
			array(
			array('=', 'rubriques.id_parent', spip_abstract_quote($Pile[$SP]['id_rubrique'])), 
			array('=', 'rubriques.statut', '"publie"')), # WHERE
		array(), # WHERE pour jointure
		'', # GROUP
		array('rubriques.titre'), # ORDER
		'', # LIMIT
		'', # sous
		
			array(), # HAVING
		'rubriques', # table
		'_rubriques', # boucle
		''); # serveur
	$t0 = "";
	$SP++;
	$old_lang = $GLOBALS['spip_lang'];

	// RESULTATS
	while ($Pile[$SP] = @spip_abstract_fetch($result,"")) {
		if (!$GLOBALS['forcer_lang'])
	 		$GLOBALS['spip_lang'] = ($x = $Pile[$SP]['lang']) ? $x : $old_lang;
		$t0 .= ('
						<li><strong><a href="' .
htmlspecialchars(vider_url(generer_url_rubrique($Pile[$SP]['id_rubrique']))) .
'">' .
interdire_scripts(typo($Pile[$SP]['titre'])) .
'</a></strong>

							' .
((strval($t1 = BOUCLE_articleshtml_51616a13298fe626f17edc1e33a0e04d($Cache, $Pile, $doublons, $Numrows, $SP))!='') ?
		('
							<ul>
								' . $t1 . '
							</ul>
							') :
		('')) .
'

							' .
BOUCLE_sous_rubriqueshtml_51616a13298fe626f17edc1e33a0e04d($Cache, $Pile, $doublons, $Numrows, $SP) .
'

						</li>
						');
	}

	$GLOBALS['spip_lang'] = $old_lang;
	@spip_abstract_free($result,'');
	return $t0;
}


//
// <BOUCLE breves>
//
function BOUCLE_breveshtml_51616a13298fe626f17edc1e33a0e04d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {

	// REQUETE
	$result = spip_optim_select(
		array("breves.id_breve",
		"breves.titre",
		"breves.lang"), # SELECT
		array('breves' => 'spip_breves'), # FROM
		
			array(
			array('=', 'breves.id_rubrique', spip_abstract_quote($Pile[$SP]['id_secteur'])), 
			array('=', 'breves.statut', '"publie"')), # WHERE
		array(), # WHERE pour jointure
		'', # GROUP
		array('breves.date_heure' . ' DESC'), # ORDER
		'', # LIMIT
		'', # sous
		
			array(), # HAVING
		'breves', # table
		'_breves', # boucle
		''); # serveur
	$t0 = "";
	$SP++;
	$old_lang = $GLOBALS['spip_lang'];

	// RESULTATS
	while ($Pile[$SP] = @spip_abstract_fetch($result,"")) {
		if (!$GLOBALS['forcer_lang'])
	 		$GLOBALS['spip_lang'] = ($x = $Pile[$SP]['lang']) ? $x : $old_lang;
		$t0 .= ('
						<li><a href="' .
htmlspecialchars(vider_url(generer_url_breve($Pile[$SP]['id_breve']))) .
'">' .
interdire_scripts(typo($Pile[$SP]['titre'])) .
'</a></li>
						');
	}

	$GLOBALS['spip_lang'] = $old_lang;
	@spip_abstract_free($result,'');
	return $t0;
}


//
// <BOUCLE syndication>
//
function BOUCLE_siteshtml_51616a13298fe626f17edc1e33a0e04d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {

	// REQUETE
	$result = spip_optim_select(
		array("syndic.id_syndic",
		"syndic.nom_site",
		"syndic.url_site"), # SELECT
		array('syndic' => 'spip_syndic'), # FROM
		
			array(
			array('=', 'syndic.id_secteur', spip_abstract_quote($Pile[$SP]['id_secteur'])), 
			array('=', 'syndic.statut', '"publie"')), # WHERE
		array(), # WHERE pour jointure
		'', # GROUP
		array('syndic.nom_site'), # ORDER
		'', # LIMIT
		'', # sous
		
			array(), # HAVING
		'syndic', # table
		'_sites', # boucle
		''); # serveur
	$t0 = "";
	$SP++;

	// RESULTATS
	while ($Pile[$SP] = @spip_abstract_fetch($result,"")) {

		$t0 .= ('
						<li><a href="' .
generer_url_site($Pile[$SP]['id_syndic']) .
'">' .
interdire_scripts(construire_titre_lien($Pile[$SP]['nom_site'],$Pile[$SP]['url_site'])) .
'</a></li>
						');
	}

	@spip_abstract_free($result,'');
	return $t0;
}


//
// <BOUCLE rubriques>
//
function BOUCLE_secteurshtml_51616a13298fe626f17edc1e33a0e04d(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {

	// REQUETE
	$result = spip_optim_select(
		array("rubriques.id_rubrique",
		"rubriques.id_secteur",
		"rubriques.titre",
		"rubriques.lang"), # SELECT
		array('rubriques' => 'spip_rubriques'), # FROM
		
			array(
			array('=', 'rubriques.id_parent', 0), 
			array('=', 'rubriques.statut', '"publie"')), # WHERE
		array(), # WHERE pour jointure
		'', # GROUP
		array('rubriques.titre'), # ORDER
		'', # LIMIT
		'', # sous
		
			array(), # HAVING
		'rubriques', # table
		'_secteurs', # boucle
		''); # serveur
	$t0 = "";
	$SP++;
	$old_lang = $GLOBALS['spip_lang'];

	// RESULTATS
	while ($Pile[$SP] = @spip_abstract_fetch($result,"")) {
		if (!$GLOBALS['forcer_lang'])
	 		$GLOBALS['spip_lang'] = ($x = $Pile[$SP]['lang']) ? $x : $old_lang;
		$t0 .= ('

				<h2><a href="' .
htmlspecialchars(vider_url(generer_url_rubrique($Pile[$SP]['id_rubrique']))) .
'">' .
interdire_scripts(typo($Pile[$SP]['titre'])) .
'</a></h2>

				' .
'

				<div class="contre-encart">

					' .
((strval($t1 = BOUCLE_articles_racinehtml_51616a13298fe626f17edc1e33a0e04d($Cache, $Pile, $doublons, $Numrows, $SP))!='') ?
		(('
					<h3 class="invisible">' .
		_T('public/spip/ecrire:articles') .
		'</h3>
					<ul>
						') . $t1 . '
					</ul>
					') :
		('')) .
'

					' .
((strval($t1 = BOUCLE_rubriqueshtml_51616a13298fe626f17edc1e33a0e04d($Cache, $Pile, $doublons, $Numrows, $SP))!='') ?
		('
					<ul>
						' . $t1 . '

					</ul>
					') :
		('')) .
'

				</div><!-- fin contre-encart -->

				<div class="encart">

				' .
'
				' .
((strval($t1 = BOUCLE_breveshtml_51616a13298fe626f17edc1e33a0e04d($Cache, $Pile, $doublons, $Numrows, $SP))!='') ?
		(('
				<div class="breves">
					<h3 class="menu-titre">' .
		_T('public/spip/ecrire:breves') .
		'</h3>
					<ul>
						') . $t1 . '
					</ul>
				</div>
				') :
		('')) .
'

				' .
'
				' .
((strval($t1 = BOUCLE_siteshtml_51616a13298fe626f17edc1e33a0e04d($Cache, $Pile, $doublons, $Numrows, $SP))!='') ?
		(('
				<div class="syndic">
					<h3 class="menu-titre">' .
		_T('public/spip/ecrire:sites_web') .
		'</h3>
					<ul>
						') . $t1 . '
					</ul>
				</div>
				') :
		('')) .
'

				</div><!-- fin encart -->

				');
	}

	$GLOBALS['spip_lang'] = $old_lang;
	@spip_abstract_free($result,'');
	return $t0;
}



//
// Fonction principale du squelette dist/plan.html
//
function html_51616a13298fe626f17edc1e33a0e04d($Cache, $Pile, $doublons=array(), $Numrows=array(), $SP=0) {
	$page = ('<?php header("X-Spip-Cache: 7200"); ?>'.'<?php header("Cache-Control: max-age=7200"); ?>' .
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="' .
lang_dir(($Pile[0]['lang'] ? $Pile[0]['lang'] : $GLOBALS['spip_lang']),'ltr','rtl') .
'" lang="' .
htmlentities($Pile[0]['lang'] ? $Pile[0]['lang'] : $GLOBALS['spip_lang']) .
'">
<head>
	<title>' .
_T('public/spip/ecrire:plan_site') .
' - ' .
interdire_scripts(textebrut(typo($GLOBALS['meta']['nom_site']))) .
'</title>
	' .
((strval($t1 = interdire_scripts(textebrut(couper(propre($GLOBALS['meta']['descriptif_site']),'150'))))!='') ?
		('<meta name="description" content="' . $t1 . '" />') :
		('')) .
'
	' .

'<?php
	$contexte_inclus = array(\'fond\' => ' . argumenter_squelette('inc-head') . ',
	\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ');
	include(\'ecrire/public.php\');
?'.'>' .
'

	<meta name="robots" content="none" />
</head>

<body class="page_plan">
<div id="page">

	' .
'
	' .

'<?php
	$contexte_inclus = array(\'fond\' => ' . argumenter_squelette('inc-entete') . ',
	\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ');
	include(\'ecrire/public.php\');
?'.'>' .
'

	' .
'
	<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-2794408-4");
pageTracker._trackPageview();
} catch(err) {}</script>
<body class="page_sommaire">
<p class="Style123">&nbsp;</p>
<div id="page">
<div align="center">
      <script type="text/javascript"><!--
google_ad_client = "pub-9254779937919142";
/* 728x90, date de création 29/04/08 */
google_ad_slot = "1175794158";
google_ad_width = 728;
google_ad_height = 90;
//-->
      </script>
      <script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
      </script> <div id="hierarchie"><a href="' .
htmlspecialchars(sinon($GLOBALS['meta']['adresse_site'],'.')) .
'/">' .
_T('public/spip/ecrire:accueil_site') .
'</a> &gt; ' .
_T('public/spip/ecrire:plan_site') .
'</div>

	<div id="conteneur">

		' .
'

		<div id="contenu">

			<div class="cartouche">
				<h1 class="titre">' .
_T('public/spip/ecrire:plan_site') .
'</h1>
			</div>

				' .
BOUCLE_secteurshtml_51616a13298fe626f17edc1e33a0e04d($Cache, $Pile, $doublons, $Numrows, $SP) .
'

		</div><!-- fin contenu -->

		' .
'
		<div id="navigation">

			' .
'
			' .

'<?php
	$contexte_inclus = array(\'fond\' => ' . argumenter_squelette('inc-rubriques') . ',
	\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ');
	include(\'ecrire/public.php\');
?'.'>' .
'

		</div><!-- fin navigation -->

	</div><!-- fin conteneur -->

	' .
'
	' .

'<?php
	$contexte_inclus = array(\'fond\' => ' . argumenter_squelette('inc-pied') . ',
	\'skel\' => ' . argumenter_squelette('dist/plan.html') . ',
	\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ');
	include(\'ecrire/public.php\');
?'.'>' .
'

</div><!-- fin page -->
</body>
</html>');

	return analyse_resultat_skel('html_51616a13298fe626f17edc1e33a0e04d', $Cache, $page);
}

?>