????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.107 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/www.astacus.eu/wp-content/themes/Avada/ |
Upload File : |
<?php
// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
exit( 'Direct script access denied.' );
}
?>
<?php get_header(); ?>
<div id="content" <?php Avada()->layout->add_class( 'content_class' ); ?> <?php Avada()->layout->add_style( 'content_style' ); ?>>
<?php
$paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
query_posts( $query_string . '&paged=' . $paged );
$portfolio_id = ( isset( $_GET['portfolioID'] ) ) ? $_GET['portfolioID'] : '';
$category_id = ( isset( $_GET['categoryID'] ) ) ? $_GET['categoryID'] : '';
$page_categories = get_post_meta( $portfolio_id, 'pyre_portfolio_category', true );
$nav_categories = ( $page_categories && is_array( $page_categories ) && '0' !== $page_categories[0] ) ? implode( ',', $page_categories ) : '';
$nav_categories = ( $category_id ) ? $category_id : $nav_categories;
?>
<?php if ( ( Avada()->settings->get( 'portfolio_pn_nav' ) && 'no' != get_post_meta( $post->ID, 'pyre_post_pagination', true ) ) || ( ! Avada()->settings->get( 'portfolio_pn_nav' ) && 'yes' == get_post_meta( $post->ID, 'pyre_post_pagination', true ) ) ) : ?>
<div class="single-navigation clearfix">
<?php
if ( $portfolio_id || $category_id ) {
$previous_post_link = fusion_previous_post_link_plus( array(
'format' => '%link',
'link' => esc_html__( 'Previous', 'Avada' ),
'in_same_tax' => 'portfolio_category',
'in_cats' => $nav_categories,
'return' => 'href',
) );
} else {
$previous_post_link = fusion_previous_post_link_plus( array(
'format' => '%link',
'link' => esc_html__( 'Previous', 'Avada' ),
'return' => 'href',
) );
}
?>
<?php if ( $previous_post_link ) : ?>
<?php if ( $portfolio_id ) : ?>
<?php $previous_post_link = fusion_add_url_parameter( $previous_post_link, 'portfolioID', $portfolio_id ); ?>
<?php elseif ( $category_id ) : ?>
<?php $previous_post_link = fusion_add_url_parameter( $previous_post_link, 'categoryID', $category_id ); ?>
<?php endif; ?>
<a href="<?php echo $previous_post_link; ?>" rel="prev"><?php esc_html_e( 'Previous', 'Avada' ); ?></a>
<?php endif; ?>
<?php
if ( $portfolio_id || $category_id ) {
$next_post_link = fusion_next_post_link_plus( array(
'format' => '%link',
'link' => esc_html__( 'Next', 'Avada' ),
'in_same_tax' => 'portfolio_category',
'in_cats' => $nav_categories,
'return' => 'href',
) );
} else {
$next_post_link = fusion_next_post_link_plus( array(
'format' => '%link',
'link' => esc_html__( 'Next', 'Avada' ),
'return' => 'href',
) );
}
?>
<?php if ( $next_post_link ) : ?>
<?php if ( $portfolio_id ) : ?>
<?php $next_post_link = fusion_add_url_parameter( $next_post_link, 'portfolioID', $portfolio_id ); ?>
<?php elseif ( $category_id ) : ?>
<?php $next_post_link = fusion_add_url_parameter( $next_post_link, 'categoryID', $category_id ); ?>
<?php endif; ?>
<a href="<?php echo $next_post_link; ?>" rel="next"><?php esc_html_e( 'Next', 'Avada' ); ?></a>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php $full_image = ''; ?>
<?php if ( ! post_password_required( $post->ID ) ) : ?>
<?php if ( Avada()->settings->get( 'portfolio_featured_images' ) ) : ?>
<?php if ( 0 < avada_number_of_featured_images() || get_post_meta( $post->ID, 'pyre_video', true ) ) : ?>
<div class="fusion-flexslider flexslider fusion-post-slideshow post-slideshow fusion-flexslider-loading">
<ul class="slides">
<?php if ( get_post_meta( $post->ID, 'pyre_video', true ) ) : ?>
<li>
<div class="full-video">
<?php echo get_post_meta( $post->ID, 'pyre_video', true ); ?>
</div>
</li>
<?php endif; ?>
<?php if ( has_post_thumbnail() && ( ! fusion_get_mismatch_option( 'portfolio_disable_first_featured_image', 'show_first_featured_image', $post->ID ) || 'no' == fusion_get_mismatch_option( 'portfolio_disable_first_featured_image', 'show_first_featured_image', $post->ID ) ) ) : ?>
<?php $attachment_image = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full' ); ?>
<?php $full_image = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full' ); ?>
<?php $attachment_data = wp_get_attachment_metadata( get_post_thumbnail_id() ); ?>
<li>
<?php if ( Avada()->settings->get( 'status_lightbox' ) && Avada()->settings->get( 'status_lightbox_single' ) ) : ?>
<a href="<?php echo $full_image[0]; ?>" data-rel="iLightbox[gallery<?php the_ID(); ?>]" title="<?php echo get_post_field( 'post_excerpt', get_post_thumbnail_id() ); ?>" data-title="<?php echo get_post_field( 'post_title', get_post_thumbnail_id() ); ?>" data-caption="<?php echo get_post_field( 'post_excerpt', get_post_thumbnail_id() ); ?>">
<img src="<?php echo $attachment_image[0]; ?>" alt="<?php echo get_post_meta( get_post_thumbnail_id(), '_wp_attachment_image_alt', true ); ?>" role="presentation" />
</a>
<?php else : ?>
<img src="<?php echo $attachment_image[0]; ?>" alt="<?php echo get_post_meta( get_post_thumbnail_id(), '_wp_attachment_image_alt', true ); ?>" role="presentation" />
<?php endif; ?>
</li>
<?php endif; ?>
<?php $i = 2; ?>
<?php while ( $i <= Avada()->settings->get( 'posts_slideshow_number' ) ) : ?>
<?php $attachment_new_id = kd_mfi_get_featured_image_id( 'featured-image-' . $i, 'avada_portfolio' ); ?>
<?php if ( $attachment_new_id ) : ?>
<?php $attachment_image = wp_get_attachment_image_src( $attachment_new_id, 'full' ); ?>
<?php $full_image = wp_get_attachment_image_src( $attachment_new_id, 'full' ); ?>
<?php $attachment_data = wp_get_attachment_metadata( $attachment_new_id ); ?>
<li>
<?php if ( Avada()->settings->get( 'status_lightbox' ) && Avada()->settings->get( 'status_lightbox_single' ) ) : ?>
<a href="<?php echo $full_image[0]; ?>" data-rel="iLightbox[gallery<?php the_ID(); ?>]" title="<?php echo get_post_field( 'post_excerpt', $attachment_new_id ); ?>" data-title="<?php echo get_post_field( 'post_title', $attachment_new_id ); ?>" data-caption="<?php echo get_post_field( 'post_excerpt', $attachment_new_id ); ?>">
<img src="<?php echo $attachment_image[0]; ?>" alt="<?php echo get_post_meta( $attachment_new_id, '_wp_attachment_image_alt', true ); ?>" role="presentation" />
</a>
<?php else : ?>
<img src="<?php echo $attachment_image[0]; ?>" alt="<?php echo get_post_meta( $attachment_new_id, '_wp_attachment_image_alt', true ); ?>" role="presentation" />
<?php endif; ?>
</li>
<?php endif; ?>
<?php $i++; ?>
<?php endwhile; ?>
</ul>
</div>
<?php endif; ?>
<?php endif; // Portfolio single image theme option check. ?>
<?php endif; // Password check. ?>
<?php
$portfolio_width = ( fusion_get_option( 'portfolio_featured_image_width', 'width', $post->ID ) == 'half' ) ? 'half' : 'full';
$portfolio_width = ( ! Avada()->settings->get( 'portfolio_featured_images' ) && 'half' == $portfolio_width ) ? 'full' : $portfolio_width;
$project_desc_title_style = ( ! fusion_get_option( 'portfolio_project_desc_title', 'project_desc_title', $post->ID ) || 'no' == fusion_get_option( 'portfolio_project_desc_title', 'project_desc_title', $post->ID ) ) ? 'display:none;' : '';
$project_desc_width_style = ( 'full' == $portfolio_width && ( ! fusion_get_option( 'portfolio_project_details', 'project_details', $post->ID ) || 'no' == fusion_get_option( 'portfolio_project_details', 'project_details', $post->ID ) ) ) ? ' width:100%;' : '';
$project_details = ( in_array( fusion_get_option( 'portfolio_project_details', 'project_details', $post->ID ), array( 'yes', '1', 1 ) ) ) ? true : false;
?>
<div class="project-content clearfix">
<?php echo avada_render_rich_snippets_for_pages(); ?>
<div class="project-description post-content<?php echo ( $project_details ) ? ' fusion-project-description-details' : ''; ?>" style="<?php echo $project_desc_width_style; ?>">
<?php if ( ! post_password_required( $post->ID ) ) : ?>
<h3 style="<?php echo $project_desc_title_style; ?>"><?php esc_html_e( 'Project Description', 'Avada' ) ?></h3>
<?php endif; ?>
<?php the_content(); ?>
</div>
<?php if ( ! post_password_required( $post->ID ) && $project_details ) : ?>
<div class="project-info">
<h3><?php esc_html_e( 'Project Details', 'Avada' ); ?></h3>
<?php if ( get_the_term_list( $post->ID, 'portfolio_skills', '', '<br />', '' ) ) : ?>
<div class="project-info-box">
<h4><?php esc_html_e( 'Skills Needed:', 'Avada' ) ?></h4>
<div class="project-terms">
<?php echo get_the_term_list( $post->ID, 'portfolio_skills', '', '<br />', '' ); ?>
</div>
</div>
<?php endif; ?>
<?php if ( get_the_term_list( $post->ID, 'portfolio_category', '', '<br />', '' ) ) : ?>
<div class="project-info-box">
<h4><?php esc_html_e( 'Categories:', 'Avada' ) ?></h4>
<div class="project-terms">
<?php echo get_the_term_list( $post->ID, 'portfolio_category', '', '<br />', '' ); ?>
</div>
</div>
<?php endif; ?>
<?php if ( get_the_term_list( $post->ID, 'portfolio_tags', '', '<br />', '' ) ) : ?>
<div class="project-info-box">
<h4><?php esc_html_e( 'Tags:', 'Avada' ) ?></h4>
<div class="project-terms">
<?php echo get_the_term_list( $post->ID, 'portfolio_tags', '', '<br />', '' ); ?>
</div>
</div>
<?php endif; ?>
<?php if ( get_post_meta( $post->ID, 'pyre_project_url', true ) && get_post_meta( $post->ID, 'pyre_project_url_text', true ) ) : ?>
<?php $link_target = ( in_array( fusion_get_option( 'portfolio_link_icon_target', 'link_icon_target', $post->ID ), array( '1', 1, 'yes' ) ) ) ? ' target="_blank" rel="noopener noreferrer"' : ''; ?>
<div class="project-info-box">
<h4><?php esc_html_e( 'Project URL:', 'Avada' ) ?></h4>
<span><a href="<?php echo get_post_meta( $post->ID, 'pyre_project_url', true ); ?>"<?php echo $link_target; ?>><?php echo get_post_meta( $post->ID, 'pyre_project_url_text', true ); ?></a></span>
</div>
<?php endif; ?>
<?php if ( get_post_meta( $post->ID, 'pyre_copy_url', true ) && get_post_meta( $post->ID, 'pyre_copy_url_text', true ) ) : ?>
<?php $link_target = ( in_array( fusion_get_option( 'portfolio_link_icon_target', 'link_icon_target', $post->ID ), array( '1', 1, 'yes' ) ) ) ? ' target="_blank" rel="noopener noreferrer"' : ''; ?>
<div class="project-info-box">
<h4><?php esc_html_e( 'Copyright:', 'Avada' ); ?></h4>
<span><a href="<?php echo get_post_meta( $post->ID, 'pyre_copy_url', true ); ?>"<?php echo $link_target; ?>><?php echo get_post_meta( $post->ID, 'pyre_copy_url_text', true ); ?></a></span>
</div>
<?php endif; ?>
<?php if ( Avada()->settings->get( 'portfolio_author' ) ) : ?>
<div class="project-info-box<?php echo ( Avada()->settings->get( 'disable_date_rich_snippet_pages' ) ) ? ' vcard' : ''; ?>">
<h4><?php esc_html_e( 'By:', 'Avada' ); ?></h4>
<span<?php echo ( Avada()->settings->get( 'disable_date_rich_snippet_pages' ) )? ' class="fn"' : ''; ?>><?php the_author_posts_link(); ?></span>
</div>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
<div class="portfolio-sep"></div>
<?php if ( ! post_password_required( $post->ID ) ) : ?>
<?php avada_render_social_sharing( 'portfolio' ); ?>
<?php echo avada_render_related_posts( 'avada_portfolio' ); // Render Related Posts. ?>
<?php if ( Avada()->settings->get( 'portfolio_comments' ) ) : ?>
<?php wp_reset_query(); ?>
<?php comments_template(); ?>
<?php endif; ?>
<?php endif; ?>
</article>
<?php endif; ?>
</div>
<?php do_action( 'avada_after_content' ); ?>
<?php get_footer();
/* Omit closing PHP tag to avoid "Headers already sent" issues. */