PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/footcrew.com/ads/wp-content/themes/classipress/parts/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/footcrew.com/ads/wp-content/themes/classipress/parts/media-manager-attachment.php

<?php
/**
 * Media Manager attachment template.
 *
 * @global int  $app_attachment_id
 * @global bool $app_show_description
 * @global bool $app_show_image_thumbs
 *
 * @package ClassiPress\Templates
 */

$attachment = get_post( $app_attachment_id );
$file       = appthemes_get_attachment_meta( $app_attachment_id, $app_show_description );
$file       = array_merge( $file, array(
	'caption'     => $attachment->post_excerpt,
	'description' => $attachment->post_content,
) );

$title = $app_show_description ? $file['title'] : '';

$mime_type = explode( '/', $file['mime_type'] );

$wrapper_class = ( 'image' === $mime_type[0] && $app_show_image_thumbs ) ? '' : ' file-extension ' . appthemes_get_mime_type_icon_class( $file['mime_type'] );

?>
<div class="media-attachment<?php echo esc_attr( $wrapper_class ); ?>">
	<?php
	do_action( 'cp_before_output_attachment', $app_attachment_id );

	if ( 'image' === $mime_type[0] && $app_show_image_thumbs ) {
		?>
		<span class="media-attachment-thumb">
			<?php echo wp_get_attachment_image( $app_attachment_id, 'thumb' ); ?>
		</span>
		<?php
	}
	?>
	<span class="media-attachment-link">
		<a href="<?php echo esc_url( $file['url'] ); ?>" title="<?php echo esc_attr( $file['title'] ); ?>" alt="<?php echo esc_attr( $file['alt'] ); ?>" target="_blank"><?php echo $title; ?></a>
	</span>

	<?php
	if ( $app_show_description && $attachment ) {
		?>
		<p class="file-description"><?php echo $file['description']; ?></p>
		<?php
	}

	do_action( 'cp_after_output_attachment', $app_attachment_id );
	?>
</div>
<?php