<?php
if (isset($tpl['arr']) &&
	!empty($tpl['arr']) &&
	!empty($tpl['arr']['image_thumb']) &&
	is_file($tpl['arr']['image_thumb']))
{
	?>
	<a href="#" class="crop-slide" data-id="<?php echo $tpl['arr']['id']; ?>"><img src="<?php echo PJ_INSTALL_URL . $tpl['arr']['image_thumb']; ?>?<?php echo rand(1, 999999); ?>" alt="" style="max-width: 100px; border:none; vertical-align: middle" /></a>
	<a href="#" class="pj-button delete-slide" data-id="<?php echo $tpl['arr']['id']; ?>"><?php __('lblDelete'); ?></a>
	<?php
}
?>