<div class="crumb">
    <ul>
        <li>
            <a href="theme/">themes</a>
        </li>
    </ul>
</div>
<?php foreach ($themes as $theme) : ?>
    <div class="icon<?php if ($current['id'] == $theme['id']): ?> featured<?php endif; ?>">
            <div class="content">
                <a href="theme/view/<?php echo htmlspecialchars($theme['id']); ?>">
                    <?php if (isset($theme['thumbnail'])) : ?>
                        <img src="extend/theme/<?php echo htmlspecialchars($theme['id']); ?>/<?php echo htmlspecialchars($theme['thumbnail']); ?>" />
                    <?php else : ?>
                        <img src="admin/skin/icon/box1.png" />
                    <?php endif; ?>
                    <br />
                    <?php echo htmlspecialchars(ucfirst($theme['id'])); ?>
                </a>
            </div>
            <div class="action">
                <a href="theme/view/<?php echo htmlspecialchars($theme['id']); ?>">View</a>
                <a href="theme/apply/<?php echo htmlspecialchars($theme['id']); ?>">Apply</a>
            </div>
        </div>
<?php endforeach; ?>
