<?php $__env->startSection('content'); ?>
<div class="page-title-container">
            <div class="container">
                <div class="page-title pull-left">
                    <h2 class="entry-title">Blog Right Sidebar</h2>
                </div>
                <ul class="breadcrumbs pull-right">
                    <li><a href="<?php echo URL('/'); ?>">HOME</a></li>
                    <li class="active">Blog</li>
                </ul>
            </div>
        </div>

        <section id="content">
            <div class="container">
                <div class="row">
                    <div id="main" class="col-sm-8 col-md-9">
                        <div class="page">
                            <span style="display: none;" class="entry-title page-title">Blog Right Sidebar</span>
                            <span style="display: none;" class="vcard"><span class="fn"><a rel="author" title="Posts by admin" href="#">admin</a></span></span>
                            <span style="display:none;" class="updated">2014-06-20T13:35:34+00:00</span>
                            <div class="post-content">
                                <div class="blog-infinite">
                                <?php foreach($posts as $post): ?>
                                    <div class="post">
                                        <div class="post-content-wrapper">
                                            <figure class="image-container">
                                                <a href="<?php echo URL(AppHelper::config('blog_route').'/'.$post->seo_slug.''); ?>" class="hover-effect"><img src="<?php echo URL('/media/uploads/images/hotel/size/1140x416/'.AppHelper::blogPostthumb($post->id).''); ?>" alt="" /></a>
                                            </figure>
                                            <div class="details">
                                                <h2 class="entry-title"><a href="<?php echo URL(AppHelper::config('blog_route').'/'.$post->seo_slug.''); ?>"><?php echo $post->seo_title; ?></a></h2>
                                                <div class="excerpt-container">
                                                    <p>
                                                        <?php echo $post->seo_description; ?>

                                                    </p>
                                                </div>
                                                <div class="post-meta">
                                                    <div class="entry-date">
                                                        <label class="date"><?php echo date('d', strtotime($post->created_at)); ?></label>
                                                        <label class="date"><?php echo date('F', strtotime($post->created_at)); ?></label>
                                                    </div>
                                                    <div class="entry-author fn">
                                                        <i class="icon soap-icon-user"></i> Posted By:
                                                        <a href="#" class="author"><?php echo AppHelper::config('site_name'); ?></a>
                                                    </div>
                                                    <div class="entry-action">
                                                        <a href="#" class="button entry-comment btn-small"><i class="soap-icon-comment"></i><span><?php echo $post->views; ?> VIEWS</span></a>
                                                        <a href="#" class="button btn-small"><i class="soap-icon-wishlist"></i><span>22 Likes</span></a>
                                                        <span class="entry-tags"><i class="soap-icon-features"></i><span>
                                                        <?php foreach($post->categories as $category): ?>
                                                        <a href="#"><?php echo $category->name; ?></a>,
                                                        <?php endforeach; ?>
                                                        </span></span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                <?php endforeach; ?>
                    
                                </div>
                                <ul class="pagination">
                                   <?php echo $posts->links(); ?>
                                </ul>


                            </div>
                        </div>
                    </div>
                    <div class="sidebar col-sm-4 col-md-3">
                        <div class="travelo-box">
                            <h5 class="box-title">Search Stories</h5>
                            <div class="with-icon full-width">
                                <input type="text" class="input-text full-width" placeholder="story name or category">
                                <button class="icon green-bg white-color"><i class="soap-icon-search"></i></button>
                            </div>
                        </div>
                        <div class="travelo-box">
                            <h5 class="box-title">About <?php echo AppHelper::config('site_name'); ?></h5>
                            <p>Phasellus vehicula justo eget  sollicitudin eu tincidu ncurabitur ele sollicitu tincidu nulla curabitur magna ined and posuere lorem sollicitudin eu tin.</p>
                        </div>
                        <div class="tab-container box">
                            <ul class="tabs full-width">
                                <li><a data-toggle="tab" href="#recent-posts">Recent</a></li>
                                <li class="active"><a data-toggle="tab" href="#popular-posts">Popular</a></li>
                               
                            </ul>
                            <div class="tab-content">
                                <div id="recent-posts" class="tab-pane fade">

                                <div class="image-box style14">
                                    <?php foreach($popular as $post): ?>
                                        <article class="box">
                                            <figure><a href="<?php echo URL(AppHelper::config('blog_route').'/'.$post->seo_slug.''); ?>" title=""><img width="63" height="59" src="<?php echo URL('/media/uploads/images/hotel/size/92x69/'.AppHelper::blogPostthumb($post->id).''); ?>" alt=""></a></figure>
                                            <div class="details">
                                                <h5 class="box-title"><a href="<?php echo URL(AppHelper::config('blog_route').'/'.$post->seo_slug.''); ?>"><?php echo $post->seo_title; ?></a></h5>
                                            </div>
                                        </article>
                                    <?php endforeach; ?>
                                 
                                    </div>

                                    
                                    
                                </div>
                                <div id="popular-posts" class="tab-pane fade in active">
                                    <div class="image-box style14">
                                    <?php foreach($popular as $post): ?>
                                        <article class="box">
                                            <figure><a href="<?php echo URL(AppHelper::config('blog_route').'/'.$post->seo_slug.''); ?>" title=""><img width="63" height="59" src="<?php echo URL('/media/uploads/images/hotel/size/92x69/'.AppHelper::blogPostthumb($post->id).''); ?>" alt=""></a></figure>
                                            <div class="details">
                                                <h5 class="box-title"><a href="<?php echo URL(AppHelper::config('blog_route').'/'.$post->seo_slug.''); ?>"><?php echo $post->seo_title; ?></a></h5>
                                            </div>
                                        </article>
                                    <?php endforeach; ?>
                                 
                                    </div>
                                </div>
                                
                            </div>
                        </div>
                        <div class="travelo-box filters-container">
                            <h4 class="box-title">All Categories</h4>
                            <ul class="check-square categories-filter filters-option">
                            <?php foreach($categories as $category): ?>
                                <li><a href="#"><?php echo $category->name; ?><small>(722)</small></a></li>
                            <?php endforeach; ?>
                            </ul>
                            <a class="button btn-mini">MORE</a>
                        </div>
                        <div class="travelo-box twitter-box">
                            <h4 class="box-title">Twitter Feeds</h4>
                            <div class="twitter-holder">
                                <ul>
                                    <li class="tweet">
                                        <p class="tweet-text">
                                            <a href="#">@Travelo</a>, Proin feugiat mattis a sed adipiscing velit sodales.
                                        </p>
                                        <a class="tweet-date" href="http://twitter.com/">25 Minutes ago</a>
                                    </li>
                                    <li class="tweet">
                                        <p class="tweet-text">
                                            Proin feugiat mattis antesmoke sed adipiscing velit sodales.
                                            <a href="#">http://travelo.com</a>
                                        </p>
                                        <a class="tweet-date" href="http://twitter.com/">25 Minutes ago</a>
                                    </li>
                                    <li class="tweet">
                                        <p class="tweet-text">
                                            <a href="#">@Travelo</a>, Proin feugiat mattis a sed adipiscing velit sodales.
                                        </p>
                                        <a class="tweet-date" href="http://twitter.com/">25 Minutes ago</a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                        <div class="travelo-box contact-box">
                            <h4 class="box-title">Need Travelo Help?</h4>
                            <p>We would be more than happy to help you. Our team advisor are 24/7 at your service to help you.</p>
                            <address class="contact-details">
                                <span class="contact-phone"><i class="soap-icon-phone"></i> 1-800-123-HELLO</span>
                                <br />
                                <a href="#" class="contact-email">help@travelo.com</a>
                            </address>
                        </div>
                    </div>
                </div>
            </div>
        </section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('front.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>