<?php
/**
 * @package DJ-Catalog2-Yootheme
 * @copyright Copyright (C) DJ-Extensions.com, All rights reserved.
 * @license http://www.gnu.org/licenses GNU/GPL
 * @author url: http://dj-extensions.com
 * @author email contact@dj-extensions.com
 */
defined('_JEXEC') or die;
if ($props['image']) : ?>
<img src="<?= $props['image'] ?>" alt="<?= $props['image_alt'] ?>">
<?php endif ?>

<?php if ($props['content'] && $props['link']) : ?>
<a href="<?= $props['link'] ?>"><?= $props['content'] ?></a>
<?php elseif ($props['content']) : ?>
<div><?= $props['content'] ?></div>
<?php endif ?>
