| Server IP : 213.186.33.2 / Your IP : 216.73.216.39 Web Server : Apache System : Linux webm005.cluster102.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : symetry ( 21728) PHP Version : 8.2.31 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/symetry/www/ARCHIVES/web/wp-content/themes/symetry-theme/ |
Upload File : |
<?php get_header(); ?>
<div id="texte">
<h1><?php the_title(); ?></h1>
<h2><?php the_field('projet-nature'); ?></h2>
<?php the_field('projet-description'); ?>
<p class="projet-infos"><?php the_field('projet-infos'); ?></p>
</div><!-- fin #texte -->
<div id="galerie">
<div id="featured">
<?php if(get_field('je_veux_afficher')==('video')){
if(get_field('projet-video')){
the_field('projet-video');
}
}
elseif(get_field('je_veux_afficher')==('image')){
if(get_field('projet-image')){ ?>
<?php $gimage = get_field('projet-image'); ?>
<a class="lightbox" href="<?php echo $gimage['sizes']['large']; ?>">
<img class="grande-image" src="<?php echo $gimage['sizes']['grande-image']; ?>" alt="<?php echo $gimage['alt']; ?>" />
</a>
<?php }}
?>
</div><!-- fin #featured -->
<div id="miniatures">
<?php $images = get_field('projet-galerie');
if( $images ): ?>
<?php foreach( $images as $image ): ?>
<a class="lightbox" href="<?php echo $image['sizes']['large']; ?>">
<img src="<?php echo $image['sizes']['image-rect-paysage-moyenne']; ?>" alt="<?php echo $image['alt']; ?>" />
</a>
<?php endforeach; ?>
<?php endif; ?>
</div><!-- fin #miniatures -->
</div><!-- fin #galerie -->
<?php get_footer(); ?>