<?php
$title = $d_title = $btn_text = $link = $description =  $active = $location = $date ='';

$atts = vc_map_get_attributes( $this->getShortcode(), $atts );
extract( $atts );

?>


<div class="accrodion <?php if($active == 'yes'){ print ('active'); } ?>">
	<div class="accrodion-title">
		<?php if(!empty($title)) { ?>
		<h4><span><?php print esc_html($title); ?></span> <span><?php print esc_html($location); ?></span> <span><?php esc_html_e( 'End Date:', 'logiscargo' ); ?> <?php print esc_html($date); ?></span></h4>
		<?php  } ?>
	</div>
	<div class="accrodion-content">
		<?php print do_shortcode($content); ?>
		<div class="download-app-box clearfix">
			<div class="text-box pull-left">
				<?php if(!empty($d_title)) { ?>
				<h3><?php print esc_html($d_title); ?></h3>
				<?php  } ?>
				<?php if(!empty($description)) { ?>
				<p><?php print do_shortcode($description); ?></p>
				<?php  } ?>
			</div>
			<?php if(!empty($btn_text)) { ?>
			<div class="btn-box pull-right">
				<a href="<?php print esc_html($link); ?>" class="thm-btn"><?php print esc_html($btn_text); ?> <i class="fa fa-download"></i></a>
			</div>
			<?php  } ?>
		</div>
	</div>
</div>
