/**
 * Main content template
 * 
 * @param string $class
 * 
 * @return void
 */
function __mob_template_content($class = '')
{
    ?>
<div class="<?php 
    echo $class;
    ?>
">
	<?php 
    if (have_posts()) {
        ?>
		<?php 
        if (is_search()) {
            ?>
			<header>
				<h1><?php 
            printf(__('Search Results for: %s', MOB_NS), get_search_query());
            ?>
</h1>
			</header>
		<?php 
        }
        ?>
	
		<?php 
        while (have_posts()) {
            the_post();
            ?>
			<?php 
            get_template_part('content', 'article');
            ?>
		<?php 
        }
        ?>
 
		<?php 
        if (1 || is_search()) {
            mob_page_navi();
        }
        ?>
	<?php 
    } else {
        ?>
		<article id="post-not-found">
			<header class="article">
				<h1><?php 
        _e('Oops, Post Not Found!', MOB_NS);
        ?>
</h1>
			</header>
			<section>
				<p><?php 
        _e('Uh Oh. Something is missing. Try double checking things.', MOB_NS);
        ?>
</p>
			</section>
		</article>
	<?php 
    }
    ?>
</div><?php 
}
    }
    ?>
	<?php 
    while (have_posts()) {
        the_post();
        ?>
		<?php 
        get_template_part('content', 'article');
        ?>
	<?php 
    }
    ?>
 
	<?php 
    if (1 || is_search()) {
        mob_page_navi();
    }
} elseif (is_404()) {
    ?>
	<?php 
    mob_404();
} else {
    ?>
	<article>
		<header>
			<h1><?php 
    _e('Oops, Post Not Found!', MOB_NS);
    ?>
</h1>
		</header>
		<section>