<?php
/*
 * Templatation.com
 *
 * Title with separator shortcode for VC
 *
 */
$link = $active_item =  $title = '';

$atts = vc_map_get_attributes( $this->getShortcode(), $atts );
extract( $atts );
$img = (is_numeric($image) && !empty($image)) ? wp_get_attachment_url($image) : '';

?>

<div class="dwnld-broucher">
    <img src="<?php print esc_html($img); ?>" alt="">
    <?php if(!empty($title)) { ?>
    <a href="<?php print esc_html($link); ?>" target="_blank"><?php print esc_html($title); ?><i class="fa fa-long-arrow-right"></i></a>
    <?php } ?>
</div>
