<?php
	// Getting data of the  Facts in Digits box
	global $tm_global_ptbox_element_values;
	
	if( is_array($tm_global_ptbox_element_values) ) :	
?>


<div class="tm-ptablebox tm-ptablebox-<?php echo themetechmount_sanitize_html_classes($tm_global_ptbox_element_values['boxstyle']); ?> <?php echo themetechmount_sanitize_html_classes($tm_global_ptbox_element_values['main-class']); ?>">
	
	<div class="themetechmount-ptable-main">
		<div class="tm-ptablebox-title"><h3><?php echo esc_attr($tm_global_ptbox_element_values['heading']); ?></h3></div>
		<div class="tm-ptablebox-desc"><?php echo esc_attr($tm_global_ptbox_element_values['description']); ?></div>
	</div>

	<div class="tm-ptablebox-content">
		<div class="ttm-ptablebox-price-w">
			<?php echo themetechmount_wp_kses($tm_global_ptbox_element_values['cur_symbol_before']); ?>
			<div class="tm-ptablebox-price"><?php echo esc_attr($tm_global_ptbox_element_values['price']); ?></div>
			<?php echo themetechmount_wp_kses($tm_global_ptbox_element_values['cur_symbol_after']); ?>	
			<div class="tm-ptablebox-frequency"><?php echo esc_attr($tm_global_ptbox_element_values['price_frequency']); ?></div>			
		</div>
		<div class="tm-ptablebox-features">
			<?php echo themetechmount_wp_kses($tm_global_ptbox_element_values['lines_html']); ?>
		</div>
	</div>	
	<?php if( !empty($tm_global_ptbox_element_values['btn_title']) ){ ?>
		<?php echo do_shortcode('[tm-btn color="white" style="flat" shape="square" size="md" title="'. esc_attr($tm_global_ptbox_element_values['btn_title']).'" link="'.esc_attr($tm_global_ptbox_element_values['btn_link']).'"]'); ?>
	<?php } ?>
</div>


<?php
	endif;
	$tm_global_ptbox_element_values = '';
?>