Corriger le problème ou vider le cache pour supprimer les restrictions.';
$message_en = 'Acces Restriction is now unusable. Correct this trouble or empty the cache to finish restriction removal.';
die($message_fr.'
'.$message_en);
}
static $table = 'documents';
static $id = '_h264';
static $from = array('documents' => 'spip_documents');
static $type = array();
static $groupby = array();
static $select = array("0+documents.titre AS num",
"documents.fichier",
"documents.id_document");
static $orderby = array('num');
$where =
array('((documents.statut = "publie"))',
array('<', 'documents.date_publication', sql_quote(quete_date_postdates())),
array('IN', 'documents.mode', '(\'image\',\'document\')'),
array('(documents.taille > 0 OR documents.distant=\'oui\')'),
array('REGEXP', 'documents.fichier', sql_quote((
'^(m4v|mp4)/' .
interdire_scripts(entites_html((@$Pile[0]['nomVideo']),true)) .
'\\.(m4v|mp4)$'))), sql_in('documents.distant',sql_quote($in)), array('OR',
array('IN','documents.id_document','(SELECT * FROM('.sql_get_select('zzzd.id_document','spip_documents_liens as zzzd',array(array('OR',array('OR',array('OR',array('OR',array('AND','zzzd.objet=\'rubrique\'',sql_in('zzzd.id_objet', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')),array('AND','zzzd.objet=\'article\'',array('NOT IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzza.id_article','spip_articles as zzza',sql_in('zzza.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),array('AND','zzzd.objet=\'breve\'',array('NOT IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzzb.id_breve','spip_breves as zzzb',sql_in('zzzb.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),array('AND','zzzd.objet=\'forum\'',array('IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzzf.id_forum','spip_forum as zzzf',array(array('OR',array('OR',sql_in('zzzf.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'),array('NOT IN','zzzf.id_article','(SELECT * FROM('.sql_get_select('zzza.id_article','spip_articles as zzza',sql_in('zzza.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)')),array('NOT IN','zzzf.id_breve','(SELECT * FROM('.sql_get_select('zzzb.id_breve','spip_breves as zzzb',sql_in('zzzb.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),'','','','',$connect).') AS subquery)'))),sql_in('zzzd.objet',"'rubrique','article','breve','forum'",'NOT',$connect))),'','','','',$connect).') AS subquery)'),
array('NOT IN','documents.id_document','(SELECT * FROM('.sql_get_select('zzzd.id_document','spip_documents_liens as zzzd','','','','','',$connect).') AS subquery)')
));
static $join = array();
static $limit = '';
static $having =
array();
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('plugins/auto/videos/noisettes/balise_video_html5.html','html_2b90bb5cf7f5bf3d9f0b31ea73dbc100','_h264',5,$GLOBALS['spip_lang']));
if ($result) {
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
$t0 .= (
'
');
}
@sql_free($result);
}
return $t0;
}
/* BOUCLE documents */
function BOUCLE_h264_distanthtml_2b90bb5cf7f5bf3d9f0b31ea73dbc100(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = '';
$in = array();
$in[]= 'mp4';
$in[]= 'm4v';
$in1 = array();
$in1[]= 'oui';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ès a ete desactivée. Corriger le problème ou vider le cache pour supprimer les restrictions.';
$message_en = 'Acces Restriction is now unusable. Correct this trouble or empty the cache to finish restriction removal.';
die($message_fr.'
'.$message_en);
}
static $table = 'documents';
static $id = '_h264_distant';
static $from = array('documents' => 'spip_documents');
static $type = array();
static $groupby = array();
static $select = array("0+documents.titre AS num",
"documents.fichier",
"documents.id_document");
static $orderby = array('num');
$where =
array('((documents.statut = "publie"))',
array('<', 'documents.date_publication', sql_quote(quete_date_postdates())),
array('IN', 'documents.mode', '(\'image\',\'document\')'),
array('(documents.taille > 0 OR documents.distant=\'oui\')'), sql_in('documents.extension',sql_quote($in)), sql_in('documents.distant',sql_quote($in1)), array('OR',
array('IN','documents.id_document','(SELECT * FROM('.sql_get_select('zzzd.id_document','spip_documents_liens as zzzd',array(array('OR',array('OR',array('OR',array('OR',array('AND','zzzd.objet=\'rubrique\'',sql_in('zzzd.id_objet', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')),array('AND','zzzd.objet=\'article\'',array('NOT IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzza.id_article','spip_articles as zzza',sql_in('zzza.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),array('AND','zzzd.objet=\'breve\'',array('NOT IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzzb.id_breve','spip_breves as zzzb',sql_in('zzzb.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),array('AND','zzzd.objet=\'forum\'',array('IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzzf.id_forum','spip_forum as zzzf',array(array('OR',array('OR',sql_in('zzzf.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'),array('NOT IN','zzzf.id_article','(SELECT * FROM('.sql_get_select('zzza.id_article','spip_articles as zzza',sql_in('zzza.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)')),array('NOT IN','zzzf.id_breve','(SELECT * FROM('.sql_get_select('zzzb.id_breve','spip_breves as zzzb',sql_in('zzzb.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),'','','','',$connect).') AS subquery)'))),sql_in('zzzd.objet',"'rubrique','article','breve','forum'",'NOT',$connect))),'','','','',$connect).') AS subquery)'),
array('NOT IN','documents.id_document','(SELECT * FROM('.sql_get_select('zzzd.id_document','spip_documents_liens as zzzd','','','','','',$connect).') AS subquery)')
));
static $join = array();
static $limit = '';
static $having =
array();
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('plugins/auto/videos/noisettes/balise_video_html5.html','html_2b90bb5cf7f5bf3d9f0b31ea73dbc100','_h264_distant',9,$GLOBALS['spip_lang']));
if ($result) {
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
$t0 .= (
'
');
}
@sql_free($result);
}
return $t0;
}
/* BOUCLE documents */
function BOUCLE_webmhtml_2b90bb5cf7f5bf3d9f0b31ea73dbc100(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = '';
$in = array();
$in[]= 'non';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ès a ete desactivée. Corriger le problème ou vider le cache pour supprimer les restrictions.';
$message_en = 'Acces Restriction is now unusable. Correct this trouble or empty the cache to finish restriction removal.';
die($message_fr.'
'.$message_en);
}
static $table = 'documents';
static $id = '_webm';
static $from = array('documents' => 'spip_documents');
static $type = array();
static $groupby = array();
static $select = array("0+documents.titre AS num",
"documents.fichier",
"documents.id_document");
static $orderby = array('num');
$where =
array('((documents.statut = "publie"))',
array('<', 'documents.date_publication', sql_quote(quete_date_postdates())),
array('IN', 'documents.mode', '(\'image\',\'document\')'),
array('(documents.taille > 0 OR documents.distant=\'oui\')'),
array('REGEXP', 'documents.fichier', sql_quote((
'^webm/' .
interdire_scripts(entites_html((@$Pile[0]['nomVideo']),true)) .
'\\.webm$'))), sql_in('documents.distant',sql_quote($in)), array('OR',
array('IN','documents.id_document','(SELECT * FROM('.sql_get_select('zzzd.id_document','spip_documents_liens as zzzd',array(array('OR',array('OR',array('OR',array('OR',array('AND','zzzd.objet=\'rubrique\'',sql_in('zzzd.id_objet', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')),array('AND','zzzd.objet=\'article\'',array('NOT IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzza.id_article','spip_articles as zzza',sql_in('zzza.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),array('AND','zzzd.objet=\'breve\'',array('NOT IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzzb.id_breve','spip_breves as zzzb',sql_in('zzzb.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),array('AND','zzzd.objet=\'forum\'',array('IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzzf.id_forum','spip_forum as zzzf',array(array('OR',array('OR',sql_in('zzzf.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'),array('NOT IN','zzzf.id_article','(SELECT * FROM('.sql_get_select('zzza.id_article','spip_articles as zzza',sql_in('zzza.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)')),array('NOT IN','zzzf.id_breve','(SELECT * FROM('.sql_get_select('zzzb.id_breve','spip_breves as zzzb',sql_in('zzzb.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),'','','','',$connect).') AS subquery)'))),sql_in('zzzd.objet',"'rubrique','article','breve','forum'",'NOT',$connect))),'','','','',$connect).') AS subquery)'),
array('NOT IN','documents.id_document','(SELECT * FROM('.sql_get_select('zzzd.id_document','spip_documents_liens as zzzd','','','','','',$connect).') AS subquery)')
));
static $join = array();
static $limit = '';
static $having =
array();
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('plugins/auto/videos/noisettes/balise_video_html5.html','html_2b90bb5cf7f5bf3d9f0b31ea73dbc100','_webm',14,$GLOBALS['spip_lang']));
if ($result) {
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
$t0 .= (
'
');
}
@sql_free($result);
}
return $t0;
}
/* BOUCLE documents */
function BOUCLE_webm_distanthtml_2b90bb5cf7f5bf3d9f0b31ea73dbc100(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = '';
$in = array();
$in[]= 'webm';
$in1 = array();
$in1[]= 'oui';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ès a ete desactivée. Corriger le problème ou vider le cache pour supprimer les restrictions.';
$message_en = 'Acces Restriction is now unusable. Correct this trouble or empty the cache to finish restriction removal.';
die($message_fr.'
'.$message_en);
}
static $table = 'documents';
static $id = '_webm_distant';
static $from = array('documents' => 'spip_documents');
static $type = array();
static $groupby = array();
static $select = array("0+documents.titre AS num",
"documents.fichier",
"documents.id_document");
static $orderby = array('num');
$where =
array('((documents.statut = "publie"))',
array('<', 'documents.date_publication', sql_quote(quete_date_postdates())),
array('IN', 'documents.mode', '(\'image\',\'document\')'),
array('(documents.taille > 0 OR documents.distant=\'oui\')'), sql_in('documents.extension',sql_quote($in)), sql_in('documents.distant',sql_quote($in1)), array('OR',
array('IN','documents.id_document','(SELECT * FROM('.sql_get_select('zzzd.id_document','spip_documents_liens as zzzd',array(array('OR',array('OR',array('OR',array('OR',array('AND','zzzd.objet=\'rubrique\'',sql_in('zzzd.id_objet', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')),array('AND','zzzd.objet=\'article\'',array('NOT IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzza.id_article','spip_articles as zzza',sql_in('zzza.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),array('AND','zzzd.objet=\'breve\'',array('NOT IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzzb.id_breve','spip_breves as zzzb',sql_in('zzzb.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),array('AND','zzzd.objet=\'forum\'',array('IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzzf.id_forum','spip_forum as zzzf',array(array('OR',array('OR',sql_in('zzzf.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'),array('NOT IN','zzzf.id_article','(SELECT * FROM('.sql_get_select('zzza.id_article','spip_articles as zzza',sql_in('zzza.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)')),array('NOT IN','zzzf.id_breve','(SELECT * FROM('.sql_get_select('zzzb.id_breve','spip_breves as zzzb',sql_in('zzzb.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),'','','','',$connect).') AS subquery)'))),sql_in('zzzd.objet',"'rubrique','article','breve','forum'",'NOT',$connect))),'','','','',$connect).') AS subquery)'),
array('NOT IN','documents.id_document','(SELECT * FROM('.sql_get_select('zzzd.id_document','spip_documents_liens as zzzd','','','','','',$connect).') AS subquery)')
));
static $join = array();
static $limit = '';
static $having =
array();
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('plugins/auto/videos/noisettes/balise_video_html5.html','html_2b90bb5cf7f5bf3d9f0b31ea73dbc100','_webm_distant',18,$GLOBALS['spip_lang']));
if ($result) {
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
$t0 .= (
'
');
}
@sql_free($result);
}
return $t0;
}
/* BOUCLE documents */
function BOUCLE_ogghtml_2b90bb5cf7f5bf3d9f0b31ea73dbc100(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = '';
$in = array();
$in[]= 'non';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ès a ete desactivée. Corriger le problème ou vider le cache pour supprimer les restrictions.';
$message_en = 'Acces Restriction is now unusable. Correct this trouble or empty the cache to finish restriction removal.';
die($message_fr.'
'.$message_en);
}
static $table = 'documents';
static $id = '_ogg';
static $from = array('documents' => 'spip_documents');
static $type = array();
static $groupby = array();
static $select = array("0+documents.titre AS num",
"documents.fichier",
"documents.id_document");
static $orderby = array('num');
$where =
array('((documents.statut = "publie"))',
array('<', 'documents.date_publication', sql_quote(quete_date_postdates())),
array('IN', 'documents.mode', '(\'image\',\'document\')'),
array('(documents.taille > 0 OR documents.distant=\'oui\')'),
array('REGEXP', 'documents.fichier', sql_quote((
'^ogv/' .
interdire_scripts(entites_html((@$Pile[0]['nomVideo']),true)) .
'\\.ogv$'))), sql_in('documents.distant',sql_quote($in)), array('OR',
array('IN','documents.id_document','(SELECT * FROM('.sql_get_select('zzzd.id_document','spip_documents_liens as zzzd',array(array('OR',array('OR',array('OR',array('OR',array('AND','zzzd.objet=\'rubrique\'',sql_in('zzzd.id_objet', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')),array('AND','zzzd.objet=\'article\'',array('NOT IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzza.id_article','spip_articles as zzza',sql_in('zzza.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),array('AND','zzzd.objet=\'breve\'',array('NOT IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzzb.id_breve','spip_breves as zzzb',sql_in('zzzb.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),array('AND','zzzd.objet=\'forum\'',array('IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzzf.id_forum','spip_forum as zzzf',array(array('OR',array('OR',sql_in('zzzf.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'),array('NOT IN','zzzf.id_article','(SELECT * FROM('.sql_get_select('zzza.id_article','spip_articles as zzza',sql_in('zzza.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)')),array('NOT IN','zzzf.id_breve','(SELECT * FROM('.sql_get_select('zzzb.id_breve','spip_breves as zzzb',sql_in('zzzb.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),'','','','',$connect).') AS subquery)'))),sql_in('zzzd.objet',"'rubrique','article','breve','forum'",'NOT',$connect))),'','','','',$connect).') AS subquery)'),
array('NOT IN','documents.id_document','(SELECT * FROM('.sql_get_select('zzzd.id_document','spip_documents_liens as zzzd','','','','','',$connect).') AS subquery)')
));
static $join = array();
static $limit = '';
static $having =
array();
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('plugins/auto/videos/noisettes/balise_video_html5.html','html_2b90bb5cf7f5bf3d9f0b31ea73dbc100','_ogg',23,$GLOBALS['spip_lang']));
if ($result) {
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
$t0 .= (
'
');
}
@sql_free($result);
}
return $t0;
}
/* BOUCLE documents */
function BOUCLE_ogg_distanthtml_2b90bb5cf7f5bf3d9f0b31ea73dbc100(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = '';
$in = array();
$in[]= 'ogg';
$in1 = array();
$in1[]= 'oui';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ès a ete desactivée. Corriger le problème ou vider le cache pour supprimer les restrictions.';
$message_en = 'Acces Restriction is now unusable. Correct this trouble or empty the cache to finish restriction removal.';
die($message_fr.'
'.$message_en);
}
static $table = 'documents';
static $id = '_ogg_distant';
static $from = array('documents' => 'spip_documents');
static $type = array();
static $groupby = array();
static $select = array("0+documents.titre AS num",
"documents.fichier",
"documents.id_document");
static $orderby = array('num');
$where =
array('((documents.statut = "publie"))',
array('<', 'documents.date_publication', sql_quote(quete_date_postdates())),
array('IN', 'documents.mode', '(\'image\',\'document\')'),
array('(documents.taille > 0 OR documents.distant=\'oui\')'), sql_in('documents.extension',sql_quote($in)), sql_in('documents.distant',sql_quote($in1)), array('OR',
array('IN','documents.id_document','(SELECT * FROM('.sql_get_select('zzzd.id_document','spip_documents_liens as zzzd',array(array('OR',array('OR',array('OR',array('OR',array('AND','zzzd.objet=\'rubrique\'',sql_in('zzzd.id_objet', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')),array('AND','zzzd.objet=\'article\'',array('NOT IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzza.id_article','spip_articles as zzza',sql_in('zzza.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),array('AND','zzzd.objet=\'breve\'',array('NOT IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzzb.id_breve','spip_breves as zzzb',sql_in('zzzb.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),array('AND','zzzd.objet=\'forum\'',array('IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzzf.id_forum','spip_forum as zzzf',array(array('OR',array('OR',sql_in('zzzf.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'),array('NOT IN','zzzf.id_article','(SELECT * FROM('.sql_get_select('zzza.id_article','spip_articles as zzza',sql_in('zzza.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)')),array('NOT IN','zzzf.id_breve','(SELECT * FROM('.sql_get_select('zzzb.id_breve','spip_breves as zzzb',sql_in('zzzb.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),'','','','',$connect).') AS subquery)'))),sql_in('zzzd.objet',"'rubrique','article','breve','forum'",'NOT',$connect))),'','','','',$connect).') AS subquery)'),
array('NOT IN','documents.id_document','(SELECT * FROM('.sql_get_select('zzzd.id_document','spip_documents_liens as zzzd','','','','','',$connect).') AS subquery)')
));
static $join = array();
static $limit = '';
static $having =
array();
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('plugins/auto/videos/noisettes/balise_video_html5.html','html_2b90bb5cf7f5bf3d9f0b31ea73dbc100','_ogg_distant',27,$GLOBALS['spip_lang']));
if ($result) {
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
$t0 .= (
'
');
}
@sql_free($result);
}
return $t0;
}
/* BOUCLE documents */
function BOUCLE_mkvhtml_2b90bb5cf7f5bf3d9f0b31ea73dbc100(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = '';
$in = array();
$in[]= 'non';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ès a ete desactivée. Corriger le problème ou vider le cache pour supprimer les restrictions.';
$message_en = 'Acces Restriction is now unusable. Correct this trouble or empty the cache to finish restriction removal.';
die($message_fr.'
'.$message_en);
}
static $table = 'documents';
static $id = '_mkv';
static $from = array('documents' => 'spip_documents');
static $type = array();
static $groupby = array();
static $select = array("0+documents.titre AS num",
"documents.fichier",
"documents.id_document");
static $orderby = array('num');
$where =
array('((documents.statut = "publie"))',
array('<', 'documents.date_publication', sql_quote(quete_date_postdates())),
array('IN', 'documents.mode', '(\'image\',\'document\')'),
array('(documents.taille > 0 OR documents.distant=\'oui\')'),
array('REGEXP', 'documents.fichier', sql_quote((
'^mkv/' .
interdire_scripts(entites_html((@$Pile[0]['nomVideo']),true)) .
'\\.mkv$'))), sql_in('documents.distant',sql_quote($in)), array('OR',
array('IN','documents.id_document','(SELECT * FROM('.sql_get_select('zzzd.id_document','spip_documents_liens as zzzd',array(array('OR',array('OR',array('OR',array('OR',array('AND','zzzd.objet=\'rubrique\'',sql_in('zzzd.id_objet', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')),array('AND','zzzd.objet=\'article\'',array('NOT IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzza.id_article','spip_articles as zzza',sql_in('zzza.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),array('AND','zzzd.objet=\'breve\'',array('NOT IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzzb.id_breve','spip_breves as zzzb',sql_in('zzzb.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),array('AND','zzzd.objet=\'forum\'',array('IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzzf.id_forum','spip_forum as zzzf',array(array('OR',array('OR',sql_in('zzzf.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'),array('NOT IN','zzzf.id_article','(SELECT * FROM('.sql_get_select('zzza.id_article','spip_articles as zzza',sql_in('zzza.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)')),array('NOT IN','zzzf.id_breve','(SELECT * FROM('.sql_get_select('zzzb.id_breve','spip_breves as zzzb',sql_in('zzzb.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),'','','','',$connect).') AS subquery)'))),sql_in('zzzd.objet',"'rubrique','article','breve','forum'",'NOT',$connect))),'','','','',$connect).') AS subquery)'),
array('NOT IN','documents.id_document','(SELECT * FROM('.sql_get_select('zzzd.id_document','spip_documents_liens as zzzd','','','','','',$connect).') AS subquery)')
));
static $join = array();
static $limit = '';
static $having =
array();
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('plugins/auto/videos/noisettes/balise_video_html5.html','html_2b90bb5cf7f5bf3d9f0b31ea73dbc100','_mkv',32,$GLOBALS['spip_lang']));
if ($result) {
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
$t0 .= (
'
');
}
@sql_free($result);
}
return $t0;
}
/* BOUCLE documents */
function BOUCLE_mkv_distanthtml_2b90bb5cf7f5bf3d9f0b31ea73dbc100(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $connect = '';
$in = array();
$in[]= 'mkv';
$in1 = array();
$in1[]= 'oui';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ès a ete desactivée. Corriger le problème ou vider le cache pour supprimer les restrictions.';
$message_en = 'Acces Restriction is now unusable. Correct this trouble or empty the cache to finish restriction removal.';
die($message_fr.'
'.$message_en);
}
static $table = 'documents';
static $id = '_mkv_distant';
static $from = array('documents' => 'spip_documents');
static $type = array();
static $groupby = array();
static $select = array("0+documents.titre AS num",
"documents.fichier",
"documents.id_document");
static $orderby = array('num');
$where =
array('((documents.statut = "publie"))',
array('<', 'documents.date_publication', sql_quote(quete_date_postdates())),
array('IN', 'documents.mode', '(\'image\',\'document\')'),
array('(documents.taille > 0 OR documents.distant=\'oui\')'), sql_in('documents.extension',sql_quote($in)), sql_in('documents.distant',sql_quote($in1)), array('OR',
array('IN','documents.id_document','(SELECT * FROM('.sql_get_select('zzzd.id_document','spip_documents_liens as zzzd',array(array('OR',array('OR',array('OR',array('OR',array('AND','zzzd.objet=\'rubrique\'',sql_in('zzzd.id_objet', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT')),array('AND','zzzd.objet=\'article\'',array('NOT IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzza.id_article','spip_articles as zzza',sql_in('zzza.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),array('AND','zzzd.objet=\'breve\'',array('NOT IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzzb.id_breve','spip_breves as zzzb',sql_in('zzzb.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),array('AND','zzzd.objet=\'forum\'',array('IN','zzzd.id_objet','(SELECT * FROM('.sql_get_select('zzzf.id_forum','spip_forum as zzzf',array(array('OR',array('OR',sql_in('zzzf.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), 'NOT'),array('NOT IN','zzzf.id_article','(SELECT * FROM('.sql_get_select('zzza.id_article','spip_articles as zzza',sql_in('zzza.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)')),array('NOT IN','zzzf.id_breve','(SELECT * FROM('.sql_get_select('zzzb.id_breve','spip_breves as zzzb',sql_in('zzzb.id_rubrique', accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ''),'','','','',$connect).') AS subquery)'))),'','','','',$connect).') AS subquery)'))),sql_in('zzzd.objet',"'rubrique','article','breve','forum'",'NOT',$connect))),'','','','',$connect).') AS subquery)'),
array('NOT IN','documents.id_document','(SELECT * FROM('.sql_get_select('zzzd.id_document','spip_documents_liens as zzzd','','','','','',$connect).') AS subquery)')
));
static $join = array();
static $limit = '';
static $having =
array();
$t0 = "";
// REQUETE
$result = calculer_select($select, $from, $type, $where, $join, $groupby, $orderby, $limit, $having, $table, $id, $connect,
array('plugins/auto/videos/noisettes/balise_video_html5.html','html_2b90bb5cf7f5bf3d9f0b31ea73dbc100','_mkv_distant',36,$GLOBALS['spip_lang']));
if ($result) {
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
$t0 .= (
'
');
}
@sql_free($result);
}
return $t0;
}
//
// Fonction principale du squelette plugins/auto/videos/noisettes/balise_video_html5.html
// Temps de compilation total: 1 258.515 ms
//
function html_2b90bb5cf7f5bf3d9f0b31ea73dbc100($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 = (
'
');
return analyse_resultat_skel('html_2b90bb5cf7f5bf3d9f0b31ea73dbc100', $Cache, $page, 'plugins/auto/videos/noisettes/balise_video_html5.html');
}
?>