<a href="<?= $folderLink ?>">
    <span id="folderTitle"><?= $folderTitle ?></span>
    <?php if ($photos > 1): ?>
        <span id="folderPhotos"><?= $photos ?> photos</span>
    <?php elseif ($photos == 1): ?>
        <span id="folderPhotos"><?= $photos ?> photo</span>
    <?php else: ?>
        <span id="folderPhotos">vide</span>
    <?php endif; ?>

    <?php if ($albums > 1): ?>
        <span id="folderAlbums"><?= $albums ?> albums</span>
    <?php elseif ($albums == 1): ?>
        <span id="folderAlbums"><?= $albums ?> album</span>
    <?php endif; ?>
</a>


