#
if( data === undefined )
data = {};
var atts = ( data.atts !== undefined ) ? data.atts : {},
layout = ( atts['layout'] !== undefined ) ? atts['layout'] : '1',
title = ( atts['title'] !== undefined && atts['title'] !== '__empty__' ) ? atts['title'] : '',
desc = ( atts['desc'] !== undefined && atts['desc'] !== '__empty__' ) ? kc.tools.base64.decode( atts['desc']) : '',
image = ( atts['image'] !== undefined ) ? atts['image'] : '',
img_size = ( atts['img_size'] !== undefined ) ? atts['img_size'] : 'full',
position = ( atts['position'] !== undefined && atts['position'] !== '__empty__' ) ? atts['position'] : '',
custom_class = ( atts['custom_class'] !== undefined ) ? atts['custom_class'] : '',
data_title = '',
data_desc = '',
data_img = '',
data_position = '',
wrap_class = [];
wrap_class = kc.front.el_class( atts );
wrap_class.push( 'kc-testimo kc-testi-layout-' + layout );
if ( custom_class !=='' ) {
wrap_class.push( custom_class );
}
if ( image !='' ) {
//image = image.replace( /[^\d]/, '' );
if ( img_size !== 'full' ) {
img_link = ajaxurl + '?action=kc_get_thumbn_size&id=' + image + '&size=' + img_size ;
} else {
img_link = ajaxurl + '?action=kc_get_thumbn&size=' + img_size + '&id=' + image;
}
data_img += '';
data_img += '