';
$shadow = ($options['style_shadow']?'APTFFbyTAP-img-shadow':'APTFFbyTAP-img-noshadow');
$border = ($options['style_border']?'APTFFbyTAP-img-border':'APTFFbyTAP-img-noborder');
$curves = ($options['style_curve_corners']?'APTFFbyTAP-img-corners':'APTFFbyTAP-img-nocorners');
$highlight = ($options['style_highlight']?'APTFFbyTAP-img-highlight':'APTFFbyTAP-img-nohighlight');
for($col = 0; $col<$options['style_column_number'];$col++){
$output .= '
';
$output .= '
';
for($i = $col;$i<$options['flickr_photo_number'];$i+=$options['style_column_number']){
if( $options['flickr_image_link'] ){ $output .= '
'; }
$output .= '
TAP';
if( !$options['widget_disable_credit_link'] ){
$output .= $APTFFbyTAP_by_link;
}
// Close cascade-parent
$output .= '
';
$output .= '
';
if($APTFFbyTAP_user_link){
if($options['widget_alignment'] == 'center'){ // Optional: Set text alignment (left/right) or center
$output .= '
';
}
else{
$output .= '
'.$APTFFbyTAP_user_link.''; // Only breakline if floating
}
}
// Close container
$output .= '
';
$output .= '
';
$highlight = APTFFbyTAP_get_option("general_highlight_color");
$highlight = ($highlight?$highlight:'#64a2d8');
if( $options['style_shadow'] || $options['style_border'] || $options['style_highlight'] ){
$output .= '';
}
return $output;
}
function APTFFbyTAP_display_hidden($id, $options, $source_results){
$APTFFbyTAP_linkurl = $source_results['image_perms'];
$APTFFbyTAP_photocap = $source_results['image_captions'];
$APTFFbyTAP_photourl = $source_results['image_urls'];
$APTFFbyTAP_user_link = $source_results['user_link'];
$APTFFbyTAP_originalurl = $source_results['image_originals'];
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////// Check Content /////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
if($options['flickr_photo_number'] != count($APTFFbyTAP_linkurl)){$options['flickr_photo_number']=count($APTFFbyTAP_linkurl);}
for($i = 0;$i
';
// Align photos
$output .= '';
$output .= '
';
$shadow = ($options['style_shadow']?'APTFFbyTAP-img-shadow':'APTFFbyTAP-img-noshadow');
$border = ($options['style_border']?'APTFFbyTAP-img-border':'APTFFbyTAP-img-noborder');
$curves = ($options['style_curve_corners']?'APTFFbyTAP-img-corners':'APTFFbyTAP-img-nocorners');
for($i = 0;$i<$options['flickr_photo_number'];$i++){
if( $options['flickr_image_link'] ){ $output .= '
'; }
$output .= '
';
}
if( $options['flickr_image_link'] ){ $output .= ''; }
}
$output .= '
';
$APTFFbyTAP_by_link = '
';
if( !$options['widget_disable_credit_link'] ){
$output .= $APTFFbyTAP_by_link;
}
// Close vertical-parent
$output .= '
';
if($APTFFbyTAP_user_link){
if($options['widget_alignment'] == 'center'){ // Optional: Set text alignment (left/right) or center
$output .= '';
}
else{
$output .= '
'.$APTFFbyTAP_user_link.''; // Only breakline if floating
}
}
// Close container
$output .= '
';
$disable = APTFFbyTAP_get_option('general_loader');
$highlight = APTFFbyTAP_get_option("general_highlight_color");
$highlight = ($highlight?$highlight:'#64a2d8');
$output .= '';
return $output;
}
?>