New file |
0,0 → 1,117 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<title>Photographies publiques du CEL - Tela Botanica</title> |
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/> |
<meta http-equiv="Content-style-type" content="text/css" /> |
<meta http-equiv="Content-script-type" content="text/javascript" /> |
<meta http-equiv="Content-language" content="fr" /> |
|
<meta name="revisit-after" content="15 days" /> |
<meta name="robots" content="index,follow" /> |
<meta name="author" content="Jean-Pascal MILCENT, Grégoire DUCHÉ" /> |
<meta name="keywords" content="Tela Botanica, photographie, CEL" /> |
<meta name="description" content="Widget de présentation des dernières photo publiées sur le Carnet en Ligne de Tela Botanica" /> |
|
<!-- Spécial mobile --> |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> |
|
<!-- Favicones --> |
<link rel="icon" type="image/png" href="http://www.tela-botanica.org/sites/commun/generique/images/favicones/tela_botanica.png" /> |
<link rel="shortcut icon" type="image/x-icon" href="http://www.tela-botanica.org/sites/commun/generique/images/favicones/tela_botanica.ico" /> |
|
<!-- Javascript : bibliothèques --> |
<script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/1.4.4/jquery-1.4.4.min.js"></script> |
<script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/fancybox/1.3.2/jquery.fancybox-1.3.2.js"></script> |
|
<!-- Feuilles de styles --> |
<link rel="stylesheet" type="text/css" href="http://www.tela-botanica.org/commun/jquery/fancybox/1.3.2/jquery.fancybox-1.3.2.css" media="screen" /> |
<link rel="stylesheet" type="text/css" href="<?=$url_css?>photo.css" media="screen" /> |
</head> |
<body> |
<!-- WIDGET:CEL:PHOTO - DEBUT --> |
<div id="contenu"> |
<?php if (isset($erreurs) || isset($informations)) : ?> |
<h1>Erreur & informations</h1> |
<p>Impossible d'afficher le flux.</p> |
<!-- Affichage des erreurs et messages d'information : --> |
<?php if ($erreurs) : ?> |
<?php foreach ($erreurs as $erreur) : ?> |
<p class="erreur"><?=$erreur;?></p> |
<?php endforeach; ?> |
<?php endif; ?> |
|
<?php if ($informations) : ?> |
<?php foreach ($informations as $information) : ?> |
<p class="info"><?=$information;?></p> |
<?php endforeach; ?> |
<?php endif; ?> |
<?php else : ?> |
<h1> |
Dernières images du |
<a href="http://www.tela-botanica.org/appli:cel" title="Carnet en Ligne" onclick="window.open(this.href);return false;"> |
CEL |
</a> |
</h1> |
<p> |
<a href="http://www.tela-botanica.org/eflore/cel2/jrest/CelSyndicationImage/complet/atom" |
id="flux-suivre" |
title="Suivre les images" |
onclick="window.open(this.href);return false;"> |
Suivre les images |
</a> |
</p> |
<div id="galerie-photo"> |
<?php foreach ($items as $item) : ?> |
<div class="photo"> |
<a href="<?=$item['lien']?>" class="cel-img" title="<?=sprintf($item['url_tpl'], 'L')?>" rel="galerie-princ"> |
<img src="<?=sprintf($item['url_tpl'], 'M')?>" alt="<?=$item['titre']?>"/> |
</a> |
<div style="display: none;"> |
<div id="cel-obs-<?=$item['guid']?>" class="infos"> |
<a href="<?=$item['lien']?>"> |
<span class="img-titre"><?=$item['titre']?></span><br /> |
<span class="img-date">Publiée le <?=$item['date']?></span><br /> |
Cliquez pour voir le détail |
</a> |
</div> |
</div> |
</div> |
<?php endforeach; ?> |
<?php if ($extra_actif) : ?> |
<div id="photo-extra" class="photo"> |
<a href="<?=$extra['lien']?>" class="cel-img" title="<?=sprintf($extra['url_tpl'], 'L')?>" rel="galerie-princ"> |
<img src="<?=sprintf($extra['url_tpl'], 'M')?>" alt="<?=$extra['titre']?>"/> |
</a> |
<div style="display: none;"> |
<div id="cel-obs-extra" class="infos"> |
<a href="<?=$extra['lien']?>"> |
<span class="img-titre"><?=$extra['titre']?></span><br /> |
<span class="img-date">Publiée le <?=$extra['date']?></span><br /> |
Cliquez pour voir le détail |
</a> |
</div> |
</div> |
</div> |
</div> |
<?php endif ?> |
<p id="date-generation" class="discretion">Au <?=strftime('%A %d %B %Y à %H:%M:%S')?></p> |
<script type="text/Javascript"> |
//<![CDATA[ |
$(document).ready(function() { |
$("a.cel-img").fancybox({ |
transitionIn : 'elastic', |
transitionOut : 'elastic', |
speedIn : 600, |
speedOut : 200, |
overlayShow : true |
}); |
}); |
//]]> |
</script> |
<?php endif; ?> |
</div> |
<!-- WIDGET:CEL:PHOTO - FIN --> |
</body> |
</html> |