';
echo '
' . get_the_title() . '
';
echo '';
the_content();
echo '
';
$args = array( 'post_type' => 'attachment', 'numberposts' => -1, 'post_status' => null, 'post_parent' => $post->ID );
$attachments = get_posts( $args );
if ($attachments) {
foreach ( $attachments as $attachment ) {
$img_title = $attachment->post_title;
$img_caption = $attachment->post_excerpt;
$img_description = $attachment->post_content;
if ( is_multisite() ) {
global $blog_id;
$string = '/files';
$replace = '/wp-content/blogs.dir/' . $blog_id . '/files';
$thumbnailsrc = str_replace( $string, $replace, $attachment->guid );
} else {
$thumbnailsrc = $attachment->guid;
}
$realthumb = get_template_directory_uri() . '/libs/resizurr.php?m=' . ARIXWP_POPTROX_CROP . '&a=' . ARIXWP_POPTROX_ANCHOR . '&w=' . ARIXWP_POPTROX_W . '&h=' . ARIXWP_POPTROX_H . '&q=' . ARIXWP_POPTROX_QUALITY . '&src=' . $thumbnailsrc;
echo '
' . "\n";
}
}
echo '
' . "\n";
echo '
';
?>
';
echo '
';
echo ARIXWP_LOOP_FOOTER;
}
// Do comments
comments_template( '', true );
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
get_footer();
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
?>