/**
 * Shows the loop content
 */
function interface_theloop()
{
    if (is_page()) {
        if (is_page_template('page-templates/page-template-blog-image-large.php')) {
            interface_theloop_for_template_blog_image_large();
        } elseif (is_page_template('page-templates/page-template-blog-image-medium.php')) {
            interface_theloop_for_template_blog_image_medium();
        } elseif (is_page_template('page-templates/page-template-blog-full-content.php')) {
            interface_theloop_for_template_blog_full_content();
        } else {
            interface_theloop_for_page();
        }
    } elseif (is_single()) {
        interface_theloop_for_single();
    } elseif (is_search()) {
        interface_theloop_for_search();
    } else {
        interface_theloop_for_archive();
    }
}
<?php

get_header();
?>

 <div id="primary" class="no-margin-left">
	<?php 
interface_theloop_for_single();
?>
</div><!-- #primary -->

<div id="secondary">
	<?php 
interface_display_right_sidebar();
?>
</div>

<?php 
get_footer();