107 lines
4.2 KiB
PHP
107 lines
4.2 KiB
PHP
<?php include ("header.php"); ?>
|
|
|
|
<div id="main">
|
|
|
|
<div class="center_albums">
|
|
|
|
<div id="headline">
|
|
<h3>
|
|
<!-- ZP 1.4.6: html_encode(getGalleryIndexURL()) remplace htmlspecialchars(getGalleryIndexURL(false)) -->
|
|
<a href="<?php echo html_encode(getGalleryIndexURL()); ?>" title="<?php echo gettext('Albums Index'); ?>"><?php echo getGalleryTitle(); ?></a>
|
|
<?php echo " » <em>".gettext("Search")."</em> » ";
|
|
if (($total = getNumImages() + getNumAlbums()) > 0) {
|
|
if (isset($_REQUEST['date'])){
|
|
$searchwords = getSearchDate();
|
|
}
|
|
else {
|
|
$searchwords = getSearchWords();
|
|
}
|
|
echo sprintf(gettext('Total matches for <em>%1$s</em>: %2$u'), $searchwords, $total);
|
|
}
|
|
else {
|
|
echo gettext("Sorry, no matches. Try refining your search.");
|
|
}
|
|
//Chercher » Total des résultats pour vautour fauve : 16
|
|
?>
|
|
</h3>
|
|
</div>
|
|
<?php if (getNumImages() > 0) { ?>
|
|
<div id="slideshowlink">
|
|
<?php $x=0; while (next_image(true)):
|
|
if ($x>=1) { $show=' style="display:none;"'; } else { $show='';} ?>
|
|
<?php if (!isImageVideo()) { ?>
|
|
<a class="slideshowlink"<?php echo $show; ?> rel="slideshow" href="<?php echo htmlspecialchars(getFullImageURL());?>" title="<?php echo getBareImageTitle();?>"><?php echo gettext('Play Slideshow'); ?></a>
|
|
<?php $x=$x+1; $imagepresent=true; } else { $x=$x; $videopresent=true;} ?>
|
|
<?php endwhile; ?>
|
|
</div>
|
|
<?php } ?>
|
|
</div> <!-- /center_albums -->
|
|
|
|
<p class="clear"></p>
|
|
|
|
<div class="center_search">
|
|
<div id="albums">
|
|
<?php while (next_album()): ?>
|
|
<div class="album">
|
|
<div class="thumb">
|
|
<!-- ZP 1.4.6: getAlbumURL remplace getAlbumLinkURL -->
|
|
<a class="wraptocenter" href="<?php echo html_encode(getAlbumURL());?>" title="<?php echo gettext('View album:'); ?> <?php echo getAnnotatedAlbumTitle();?>"><?php printAlbumThumbImage(getAnnotatedAlbumTitle()); ?></a>
|
|
</div>
|
|
|
|
<div class="albumdesc">
|
|
<span class="nom_albumdesc"><a href="<?php echo html_encode(getAlbumURL());?>" title="<?php echo gettext('View album:'); ?> <?php echo getAnnotatedAlbumTitle();?>"><?php printAlbumTitle(); ?></a></span>
|
|
</div>
|
|
|
|
<p style="clear: both; "></p>
|
|
</div>
|
|
<?php endwhile; ?>
|
|
</div>
|
|
|
|
<div id="albums">
|
|
<?php while (next_image()): ?>
|
|
<div class="album">
|
|
|
|
<div class="thumb">
|
|
<div class="album-tools">
|
|
<?php if (!isImageVideo()) { ?>
|
|
<a class="album-tool" rel="zoom" href="<?php echo htmlspecialchars(getFullImageURL()); ?>" title="<?php echo getBareImageTitle();?>"><img src="<?php echo $_zp_themeroot; ?>/images/search.png" alt="Zoom Image" /></a>
|
|
<?php } ?>
|
|
</div>
|
|
<!-- ZP 1.4.6 getImageURL() remplace getImageLinkURL() -->
|
|
<a class="wraptocenter" href="<?php echo htmlspecialchars(getImageURL()); ?>" title="<?php echo getBareImageTitle(); ?>"><?php printImageThumb(getAnnotatedImageTitle()); ?></a>
|
|
</div>
|
|
<div class="albumdesc">
|
|
<span class="nom_albumdesc"><!--a href="<?php echo htmlspecialchars(getImageURL());?>" title="<?php echo gettext('View image:'); ?> <?php echo getBareImageTitle(); ?>"><?php printImageTitle(); ?></a--></span>
|
|
</div>
|
|
<p style="clear: both; "></p>
|
|
</div>
|
|
<?php endwhile; ?>
|
|
</div>
|
|
</div> <!-- /center_search -->
|
|
|
|
<div id="sidebar">
|
|
<?php printSearchForm( '','searchform','',gettext('OK'),"$_zp_themeroot/images/drop.gif",null,null,"$_zp_themeroot/images/reset.gif" ); ?>
|
|
<p class="titreBar"><?php echo gettext('Gallery Archive'); ?></p>
|
|
<?php printAllDates('archive-menu','year','month','desc'); ?>
|
|
<p class="titreBar margeTop"><?php echo gettext('Popular Tags'); ?></p>
|
|
<div id="tag_cloud">
|
|
<?php printAllTagsAs('cloud','csstag','results',true,true,$maxfontsize = 2,$maxcount = 50, $mincount = 2,$limit = NULL, $minfontsize = 0.8); ?>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="paging">
|
|
<?php if ( (getPrevPageURL()) || (getNextPageURL()) ) { ?>
|
|
<?php printPageListWithNav( gettext('‹ Previous'),gettext('Next ›'),false,'true','pagelist','',true,'5' ); ?>
|
|
<?php } ?>
|
|
<?php if (function_exists('printAlbumMenu')) { ?>
|
|
<div id="albumjump">
|
|
<?php printAlbumMenu('jump',true); ?>
|
|
</div>
|
|
<?php } ?>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php include("footer.php"); ?>
|