HEX
Server: Apache
System: Linux webm006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: slyfwmm (169339)
PHP: 8.1.34
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/slyfwmm/foar/wp-content/themes/flexfit/single-project.php
<?php get_header(); ?>
	
<div id="page" class="border-top clearfix">

	<div class="color-hr2"></div>

	<div id="subtitle">
		
		<h1><?php the_title(); ?></h1>
		
		<div class="posts-nav">
			<?php previous_post_link('<div class="posts-next">%link</div>', 'Next in category'); ?>
			<?php next_post_link('<div class="posts-prev">%link</div>', 'Prev in category'); ?>  
		</div>
		
		<div class="hr4"><span class="seperator"></span><span class="lightborder"></span></div>
	
	</div>
	
	<div id="content-full" class="single-project clearfix">
	
	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
				
				
				
				
				
				<div class="work-detail-description">
					
					<h5><?php _e('Project Description', 'framework'); ?></h5>
					
					<?php the_content(); ?>
					
				</div>
				
				<div class="work-detail-link">
					<h5><?php _e('Project Details', 'framework'); ?></h5>
						<strong><?php _e('Date', 'framework'); ?></strong><?php /*the_time('F jS, Y')*/ the_date() ?>
					<div class="hr"></div>
						<strong><?php _e('Tags', 'framework'); ?></strong><?php $taxonomy = strip_tags( get_the_term_list($post->ID, 'filters', '', ', ', '') ); echo $taxonomy; ?>
					<?php if( get_post_meta( get_the_ID(), 'minti_link', true ) != "") { ?>
						<div class="hr"></div>
						<strong><?php _e('Web', 'framework'); ?></strong><a href="<?php echo get_post_meta( get_the_ID(), 'minti_link', true ); ?>" target="_blank"><?php _e('Visit Website', 'framework'); ?></a>
					<?php } ?>
					
				</div>
				
				<div class="clear"></div>
                <?php if( get_post_meta( get_the_ID(), 'minti_embed', true ) == "" ){ ?>
				
				<div id="work-slider" class="flexslider2">
	    			<ul class="slides">
					<?php global $wpdb, $post;
				    $meta = get_post_meta( get_the_ID( ), 'minti_screenshot', false );
				    if ( !is_array( $meta ) )
				    	$meta = ( array ) $meta;
				    if ( !empty( $meta ) ) {
				    	$meta = implode( ',', $meta );
				    	$images = $wpdb->get_col( "
				    	SELECT ID FROM $wpdb->posts
				    	WHERE post_type = 'attachment'
				    	AND ID IN ( $meta )
				    	ORDER BY menu_order ASC
				    	" );
				    	foreach ( $images as $att ) {
				    		// Get image's source based on size, can be 'thumbnail', 'medium', 'large', 'full' or registed post thumbnails sizes
				    		$src = wp_get_attachment_image_src( $att, 'work-detail' );
				    		$src2= wp_get_attachment_image_src( $att, '');
				    		$src = $src[0];
				    		$src2 = $src2[0];
				    		// Show image
				    		echo "<li><a href='". $src2 . "'><img src='{$src}' /></a></li>";
				    	}
				    } ?>
			    	</ul>
			    </div>
			    
			    <?php } else { ?>
			    
			    <?php  
			    if (get_post_meta( get_the_ID(), 'minti_source', true ) == 'vimeo') {  
			        echo '<iframe src="http://player.vimeo.com/video/'.get_post_meta( get_the_ID(), 'minti_embed', true ).'?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff" width="920" height="518" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>';  
			    }  
			    else if (get_post_meta( get_the_ID(), 'minti_source', true ) == 'youtube') {  
			        echo '<iframe width="920" height="518" src="http://www.youtube.com/embed/'.get_post_meta( get_the_ID(), 'minti_embed', true ).'?rel=0&showinfo=0&modestbranding=1&hd=1&autohide=1&color=white" frameborder="0" allowfullscreen></iframe>';  
			    }  
			    else {  
			        echo get_post_meta( get_the_ID(), 'minti_embed', true ); 
			    }  
			    ?>
			    
			    <?php } ?>
	
	<?php comments_template(); ?>

	<?php endwhile; endif; ?>
	
	
	</div>
	

</div>

<?php get_footer(); ?>