'; // Align photos $output .= '
'; $shadow = ($options['style_shadow']?'APTFPINbyTAP-img-shadow':'APTFPINbyTAP-img-noshadow'); $border = ($options['style_border']?'APTFPINbyTAP-img-border':'APTFPINbyTAP-img-noborder'); $curves = ($options['style_curve_corners']?'APTFPINbyTAP-img-corners':'APTFPINbyTAP-img-nocorners'); $highlight = ($options['style_highlight']?'APTFPINbyTAP-img-highlight':'APTFPINbyTAP-img-nohighlight'); for($i = 0;$i<$options['pinterest_photo_number'];$i++){ $output .= '
'; if( $options['pinterest_image_link'] ){ $output .= ''; } $output .= '."
'; } $output .= '
'; } $APTFPINbyTAP_by_link = ''; if( !$options['widget_disable_credit_link'] ){ $output .= $APTFPINbyTAP_by_link; } // Close vertical-parent $output .= '
'; if($APTFPINbyTAP_user_link){ $output .= ''; // Only breakline if floating } // Close container $output .= ''; $output .= '
'; $highlight = APTFPINbyTAP_get_option("general_highlight_color"); $highlight = ($highlight?$highlight:'#64a2d8'); if( $options['style_shadow'] || $options['style_border'] || $options['style_highlight'] ){ $output .= ''; } return $output; } function APTFPINbyTAP_display_cascade($id, $options, $source_results){ $APTFPINbyTAP_linkurl = $source_results['image_perms']; $APTFPINbyTAP_photocap = $source_results['image_captions']; $APTFPINbyTAP_photourl = $source_results['image_urls']; $APTFPINbyTAP_user_link = $source_results['user_link']; $APTFPINbyTAP_originalurl = $source_results['image_originals']; ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////// Check Content ///////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// if($options['pinterest_photo_number'] != count($APTFPINbyTAP_linkurl)){$options['pinterest_photo_number']=count($APTFPINbyTAP_linkurl);} for($i = 0;$i'; // Align photos $output .= '
'; $shadow = ($options['style_shadow']?'APTFPINbyTAP-img-shadow':'APTFPINbyTAP-img-noshadow'); $border = ($options['style_border']?'APTFPINbyTAP-img-border':'APTFPINbyTAP-img-noborder'); $curves = ($options['style_curve_corners']?'APTFPINbyTAP-img-corners':'APTFPINbyTAP-img-nocorners'); $highlight = ($options['style_highlight']?'APTFPINbyTAP-img-highlight':'APTFPINbyTAP-img-nohighlight'); for($col = 0; $col<$options['style_column_number'];$col++){ $output .= '
'; for($i = $col;$i<$options['pinterest_photo_number'];$i+=$options['style_column_number']){ $output .= '
'; if( $options['pinterest_image_link'] ){ $output .= ''; } $output .= '."
'; } if( $options['pinterest_image_link'] ){ $output .= ''; } $output .= '
'; } $output .= '
'; } $output .= '
'; $APTFPINbyTAP_by_link = ''; if( !$options['widget_disable_credit_link'] ){ $output .= $APTFPINbyTAP_by_link; } // Close cascade-parent $output .= '
'; $output .= '
'; if($APTFPINbyTAP_user_link){ if($options['widget_alignment'] == 'center'){ // Optional: Set text alignment (left/right) or center $output .= ''; $output .= '
'; $highlight = APTFPINbyTAP_get_option("general_highlight_color"); $highlight = ($highlight?$highlight:'#64a2d8'); if( $options['style_shadow'] || $options['style_border'] || $options['style_highlight'] ){ $output .= ''; } return $output; } function APTFPINbyTAP_display_hidden($id, $options, $source_results){ $APTFPINbyTAP_linkurl = $source_results['image_perms']; $APTFPINbyTAP_photocap = $source_results['image_captions']; $APTFPINbyTAP_photourl = $source_results['image_urls']; $APTFPINbyTAP_user_link = $source_results['user_link']; $APTFPINbyTAP_originalurl = $source_results['image_originals']; ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////// Check Content ///////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// if($options['pinterest_photo_number'] != count($APTFPINbyTAP_linkurl)){$options['pinterest_photo_number']=count($APTFPINbyTAP_linkurl);} for($i = 0;$i'; // Align photos $output .= '
'; $output .= ''; $APTFPINbyTAP_by_link = ''; if( !$options['widget_disable_credit_link'] ){ $output .= $APTFPINbyTAP_by_link; } // Close vertical-parent $output .= '
'; if($APTFPINbyTAP_user_link){ if($options['widget_alignment'] == 'center'){ // Optional: Set text alignment (left/right) or center $output .= ''; $disable = APTFPINbyTAP_get_option('general_loader'); $highlight = APTFPINbyTAP_get_option("general_highlight_color"); $highlight = ($highlight?$highlight:'#64a2d8'); $output .= ''; return $output; } ?>