98 lines
3.6 KiB
PHP
98 lines
3.6 KiB
PHP
<?php include ("header.php"); ?>
|
|
|
|
<div id="main">
|
|
|
|
<div class="center_albums">
|
|
<div id="info">
|
|
<!--div id="search"-->
|
|
<?php //printSearchForm("","search","",gettext("Search gallery")); ?>
|
|
<?php printSearchForm( '','searchform','',gettext('Search'),"$_zp_themeroot/images/drop.gif",null,null,"$_zp_themeroot/images/reset.gif" ); ?>
|
|
<!--/div-->
|
|
<ul>
|
|
<li><a href="?p=pages&title=a-propos" title="<?php echo gettext('About'); ?>"><?php echo gettext('About'); ?></a></li>
|
|
<li><a href="?p=archive" title="<?php echo gettext('Archive'); ?>"><?php echo gettext('Archive'); ?></a></li>
|
|
<li><a href="../wordpress/contact/" title="<?php echo gettext('Contact'); ?>"><?php echo gettext('Contact'); ?></a></li>
|
|
<li><a href="?p=pages&title=materiels" title="<?php echo gettext('Materiels'); ?>"><?php echo gettext('Materiels'); ?></a></li>
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
<div id="txt">
|
|
<a href="?p=archive&option=latest-mtime"><?php echo gettext('Latest images...'); ?></a>
|
|
</div>
|
|
|
|
<div id="latest">
|
|
<!--h2><?php echo ucfirst(gettext('latest')); ?> images:</h2>
|
|
<br clear="all" /-->
|
|
<?php //printLatestImagesByDateMod(4,'',false,false,false,40,'',180,180,false,false); ?>
|
|
|
|
<?php /*$images = getImageStatistic(8, 'latest');
|
|
foreach ($images as $image) { ?>
|
|
<div class="album">
|
|
<div class="thumb">
|
|
<a class="wraptocenter" href="<?php echo html_encode($image->getCustomImage(null,412,$minigalimageheight,412,$minigalimageheight,null,null,true)); ?>" title="<?php echo html_encode($image->getTitle()); ?>">
|
|
<img src="<?php echo html_encode($image->getCustomImage(null,65,65,65,65,null,null,true)); ?>" alt="<?php echo html_encode($image->getTitle()); ?>" />
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<?php }*/ ?>
|
|
|
|
<div id="random-wrap">
|
|
<?php
|
|
if ((in_context(ZP_ALBUM)) || (in_context(ZP_IMAGE))) {
|
|
printRandomImagesCustom(5,'','album','',300,300,true);
|
|
} else {
|
|
//printLatestImagesCustom(5,'','latest',300,200,true);
|
|
printHDLatestImagesCustom(5,'','latest',300,200,true);
|
|
} ?>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<p style="clear: both; "></p>
|
|
|
|
<div id="albums">
|
|
<?php while (next_album()): ?>
|
|
<div class="album">
|
|
<div class="thumb">
|
|
<a class="wraptocenter" href="<?php /*echo html_encode(getAlbumLinkURL());*/echo html_encode(getAlbumURL()); ?>" title="<?php echo gettext('View album:'); ?> <?php echo getAnnotatedAlbumTitle();?>">
|
|
<?php //printAlbumThumbImage(getAnnotatedAlbumTitle()); ?>
|
|
<?php //printAlbumHDThumbImage(true, NULL, NULL, NULL); // moi ?>
|
|
<?php printHDAlbumThumbImage(true, NULL, NULL, NULL, NULL); ?>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="albumdesc">
|
|
<span class="nom_albumdesc"><a href="<?php /*echo html_encode(getAlbumLinkURL());*/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>
|
|
|
|
<p class="clear" />
|
|
|
|
<div id="tag_cloud">
|
|
<?php //printAllTagsAs('cloud','csstag','results',true,true,$maxfontsize = 2,$maxcount = 50, $mincount = 2,$limit = NULL, $minfontsize = 0.8);
|
|
printAllTagsAs('cloud', 'hor-list', 'abc', false, true, 1.6, 20, 5, 40, 0.6);
|
|
?>
|
|
</div>
|
|
|
|
<div class="paging">
|
|
<?php if ( (getPrevPageURL()) || (getNextPageURL()) ) { ?>
|
|
<?php printPageListWithNav("« " . gettext("prev"), 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"); ?>
|