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 = '_LaVideo';
static $from = array('documents' => 'spip_documents');
static $type = array();
static $groupby = array();
static $select = array("documents.largeur",
"documents.hauteur",
"documents.fichier",
"documents.id_document",
"documents.extension",
"documents.titre",
"documents.descriptif",
"documents.id_document");
static $orderby = array();
$where =
array(
array('IN', 'documents.mode', '(\'image\',\'document\')'),
array('(documents.taille > 0 OR documents.distant=\'oui\')'),
array('=', 'documents.id_document', sql_quote((is_array($a = ($Pile["vars"])) ? $a['document'] : ""),'','int')), 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/modeles/video.html','html_9e1ae104a34f8d240cf53c85ac963dfb','_LaVideo',28,$GLOBALS['spip_lang']));
if ($result) {
$SP++;
// RESULTATS
while ($Pile[$SP] = @sql_fetch($result)) {
$t0 .= (
'
' .
(($t1 = strval(interdire_scripts(((($Pile[$SP]['largeur'] > '0')) ?' ' :''))))!=='' ?
($t1 . ( ' ' .
vide($Pile['vars']['larg'] = interdire_scripts($Pile[$SP]['largeur'])))) :
'') .
'
' .
vide($Pile['vars']['largeur'] = interdire_scripts(entites_html(sinon(@$Pile[0]['largeur'],interdire_scripts(entites_html(sinon(@$Pile[0]['width'],sinon(is_array($a = ($Pile["vars"])) ? $a['larg'] : "",interdire_scripts(lire_config('videos/largeur','560',false)))),true))),true))) .
(($t1 = strval(interdire_scripts(((($Pile[$SP]['hauteur'] > '0')) ?' ' :''))))!=='' ?
($t1 . ( ' ' .
vide($Pile['vars']['haut'] = interdire_scripts($Pile[$SP]['hauteur'])))) :
'') .
'
' .
vide($Pile['vars']['hauteur'] = interdire_scripts(entites_html(sinon(@$Pile[0]['hauteur'],interdire_scripts(entites_html(sinon(@$Pile[0]['height'],sinon(is_array($a = ($Pile["vars"])) ? $a['haut'] : "",interdire_scripts(lire_config('videos/hauteur','315',false)))),true))),true))) .
vide($Pile['vars']['fichier'] = interdire_scripts($Pile[$SP]['fichier'])) .
'
' .
((((is_array($a = ($Pile["vars"])) ? $a['liste_definition'] : "") == 'oui')) ?
(' ' . ( '
-
')) :
'') .
'
' .
(($t1 = strval(interdire_scripts(((($Pile[$SP]['extension'] == 'dist_daily')) ?' ' :''))))!=='' ?
($t1 . ( '
' .
vide($Pile['vars']['videosLiees'] = interdire_scripts(entites_html(sinon(@$Pile[0]['videosLiees'],interdire_scripts(lire_config('videos/videosLiees','0',false))),true))) .
'
')) :
'') .
'
' .
(($t1 = strval(interdire_scripts(((($Pile[$SP]['extension'] == 'dist_vimeo')) ?' ' :''))))!=='' ?
($t1 . ( '
')) :
'') .
'
' .
(($t1 = strval(interdire_scripts(((($Pile[$SP]['extension'] == 'dist_youtu')) ?' ' :''))))!=='' ?
($t1 . ( '
')) :
'') .
'
' .
(($t1 = strval(interdire_scripts(((in_array($Pile[$SP]['extension'],(is_array($a = ($Pile["vars"])) ? $a['lesExtensionsHtml5'] : ""))) ?' ' :''))))!=='' ?
($t1 . ( '
' .
vide($Pile['vars']['nomVideo'] = interdire_scripts(replace(basename(get_spip_doc($Pile[$SP]['fichier'])),( '\\.' .
interdire_scripts($Pile[$SP]['extension'])),''))) .
'
' .
(($t2 = strval(interdire_scripts(((table_valeur(pathinfo(basename(get_spip_doc($Pile[$SP]['fichier']))),'filename')) ?' ' :''))))!=='' ?
($t2 . ( ' ' .
vide($Pile['vars']['nomVideo'] = interdire_scripts(table_valeur(pathinfo(basename(get_spip_doc($Pile[$SP]['fichier']))),'filename'))) .
' ')) :
'') .
'
' .
'<'.'?php echo recuperer_fond( ' . argumenter_squelette('noisettes/balise_video_html5') . ', array_merge('.var_export($Pile[0],1).',array(\'nomVideo\' => ' . argumenter_squelette((is_array($a = ($Pile["vars"])) ? $a['nomVideo'] : "")) . ',
\'largeur\' => ' . argumenter_squelette((is_array($a = ($Pile["vars"])) ? $a['largeur'] : "")) . ',
\'hauteur\' => ' . argumenter_squelette((is_array($a = ($Pile["vars"])) ? $a['hauteur'] : "")) . ',
\'lang\' => ' . argumenter_squelette($GLOBALS["spip_lang"]) . ')), array("compil"=>array(\'plugins/auto/videos/modeles/video.html\',\'html_9e1ae104a34f8d240cf53c85ac963dfb\',\'\',55,$GLOBALS[\'spip_lang\'])), _request("connect"));
?'.'>
' .
((((is_array($a = ($Pile["vars"])) ? $a['titre_descriptif'] : "") == 'oui')) ?
(' ' . ( '
' .
interdire_scripts(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect)) .
'
' .
interdire_scripts(propre($Pile[$SP]['descriptif'], $connect)) .
'
')) :
'') .
'
')) :
'') .
'
' .
(($t1 = strval(interdire_scripts(((in_array($Pile[$SP]['extension'],(is_array($a = ($Pile["vars"])) ? $a['lesExtensionsHtml5'] : ""))) ?'' :' '))))!=='' ?
($t1 . ( '
' .
(($t2 = strval(interdire_scripts(((match($Pile[$SP]['extension'],'dist_')) ?'' :' '))))!=='' ?
($t2 . ( '
' .
recuperer_fond( 'prive/modeles/video' , array_merge($Pile[0],array('id' => (is_array($a = ($Pile["vars"])) ? $a['document'] : "") ,
'emb' => ' ' )), array('compil'=>array('plugins/auto/videos/modeles/video.html','html_9e1ae104a34f8d240cf53c85ac963dfb','_LaVideo',58,$GLOBALS['spip_lang'])), '') .
'
')) :
''))) :
'') .
'
' .
((((is_array($a = ($Pile["vars"])) ? $a['liste_definition'] : "") == 'oui')) ?
(' ' . ( '
' .
((((is_array($a = ($Pile["vars"])) ? $a['titre_descriptif'] : "") == 'oui')) ?
(' ' . ( '
' .
(($t3 = strval(interdire_scripts(((in_array($Pile[$SP]['extension'],(is_array($a = ($Pile["vars"])) ? $a['lesExtensionsHtml5'] : ""))) ?'' :' '))))!=='' ?
($t3 . ( '
' .
(($t4 = strval(interdire_scripts(typo(supprimer_numero($Pile[$SP]['titre']), "TYPO", $connect))))!=='' ?
('
' . $t4 . '') :
'') .
'
')) :
''))) :
'') .
'
' .
((((is_array($a = ($Pile["vars"])) ? $a['titre_descriptif'] : "") == 'oui')) ?
(' ' . ( '
' .
(($t3 = strval(interdire_scripts(((in_array($Pile[$SP]['extension'],(is_array($a = ($Pile["vars"])) ? $a['lesExtensionsHtml5'] : ""))) ?'' :' '))))!=='' ?
($t3 . ( '
' .
(($t4 = strval(interdire_scripts(PtoBR(propre($Pile[$SP]['descriptif'], $connect)))))!=='' ?
(( '- ') . $t4 . '
') :
'') .
'
')) :
''))) :
'') .
'
')) :
'') .
'
');
}
@sql_free($result);
}
return $t0;
}
//
// Fonction principale du squelette plugins/auto/videos/modeles/video.html
// Temps de compilation total: 167.310 ms
//
function html_9e1ae104a34f8d240cf53c85ac963dfb($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']['document'] = interdire_scripts(((($a = entites_html((@$Pile[0]['document']),true)) OR (!is_array($a) AND strlen($a))) ? $a : interdire_scripts(@$Pile[0]['id'])))) .
vide($Pile['vars']['titre_descriptif'] = interdire_scripts(entites_html(sinon(@$Pile[0]['titre_descriptif'],interdire_scripts(lire_config('videos/titre_descriptif','non',false))),true))) .
vide($Pile['vars']['wmode'] = interdire_scripts(entites_html(sinon(@$Pile[0]['wmode'],interdire_scripts(lire_config('videos/wmode','opaque',false))),true))) .
vide($Pile['vars']['liste_definition'] = interdire_scripts(entites_html(sinon(@$Pile[0]['liste_definition'],interdire_scripts(lire_config('videos/liste_definition','non',false))),true))) .
'
' .
vide($Pile['vars']['lesExtensions'] = array('1' => 'dist_daily', '2' => 'dist_youtu', '3' => 'dist_vimeo
')) .
'
' .
vide($Pile['vars']['lesExtensionsHtml5'] = array('1' => 'm4v', '2' => 'mp4', '3' => 'webm', '4' => 'ogv', '5' => 'mkv
')) .
'
' .
BOUCLE_LaVideohtml_9e1ae104a34f8d240cf53c85ac963dfb($Cache, $Pile, $doublons, $Numrows, $SP));
return analyse_resultat_skel('html_9e1ae104a34f8d240cf53c85ac963dfb', $Cache, $page, 'plugins/auto/videos/modeles/video.html');
}
?>