sorry, I did not quite understand what you told me (I started in php and it is a bit complicated)
if I put this (without php endif)
<div id="albums">
<?php $count=''; ?>
<?php while (next_album()): ?>
<?php if(($count==2) ): ?>
<p>mon code asdense </p>
<div class="album">
<div class="thumb">
<a>" title="<?php echo gettext('View album:'); ?> <?php getBareAlbumTitle();?>"><?php printCustomAlbumThumbImage(getBareAlbumTitle(), NULL, 95, 95, 95, 95); ?></a>
</div>
<div class="albumdesc">
<h3><a>" title="<?php echo gettext('View album:'); ?> <?php echo getBareAlbumTitle();?>"><?php printAlbumTitle(); ?></a></h3>
<?php printAlbumDate(""); ?>
<div><?php echo shortenContent(getAlbumDesc(), 45,'...'); ?></div>
</div>
<p style="clear: both; "></p>
</div>
<?php endwhile; ?>
</div>
it gives me an error unexpected $end