<?php /* <!-- To view the blog details -->
<h2><?php echo $post['title']; ?></h2>
<small class="post-date">Posted On: <?php echo $post['created_at']; ?></small><br>
<img src="<?php echo site_url();?>assets/images/posts/<?php echo $post['post_image']; ?> ">
<div class="post-body">
	<?php echo $post['body']; ?>
</div> */ ?>


<!-- Main content -->
    <main class="main_content">
        <!-- Hero section -->
    <?php /*<section class="hero_section article_detail">
        <div class="container">
            <div class="col-lg-12">
                <div class="wrap_heroContent">
                    <img src="<?php echo site_url();?>assets/assets/images/book-logo.png" alt="logo">
                    <!-- <h1>WELCOME TO THE DAILY</h1> -->
                    <h2>lOREM Ipsum dolor sit amet, consectetur</h2>
                    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Quis ipsum suspendisse ultrices gravida. 
                        Risus commodo viverra maecenas accumsan lacus vel facilisis. </p>

                    <div class="right_artImg">
                        <img src="<?php echo site_url();?>assets/assets/images/home_hero_img.png" alt="Art image">
                    </div>
                </div>
            </div>
        </div>
    </section> */ ?>

    <!--top Book Summary section -->
    <section class="top_book_summarySection mt-4">
        
        <div class="container mt-5">
            <div class="row">
                <div class="col-lg-10 mx-auto">
                        <div class="row">
                           <div class="col-md-6 article_detail">
                               <div class="bookImg">
                                   <div class="text-center">
                                        <img src="<?php echo site_url();?>assets/images/posts/<?php echo $post['post_image']; ?>" alt="book">
                                   </div>
                                   <br>
                                   <div class="section_heading text-center">
                                        <h2><?php echo $post['title']; ?></h2>
                                    </div>
                                    <?php echo $post['body']; ?>
                                    <!-- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit 
                                        in voluptate velit esse cillum dolore eu fugiat nulla pariatur. </p>
                                    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit 
                                        in voluptate velit esse cillum dolore eu fugiat nulla pariatur. </p>
                                    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit 
                                        in voluptate velit esse cillum dolore eu fugiat nulla pariatur. </p>
                                    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit 
                                            in voluptate velit esse cillum dolore eu fugiat nulla pariatur. </p> -->
                               </div>
                           </div>
                           <div class="col-md-1"></div>
                           <div class="col-md-4 article_bookList ">
                                <div class="bookList_detailWrapper text-center">
                                    <h2 class="text-center">Recommended books</h2>
                                    <i class="fas fa-caret-down d-block"></i>
                                    <ul class="booksListing">
                                        <?php foreach($postss as $post) : ?>
                                            <li>
                                                <a href="<?php echo site_url('/book/'.$post['slug']); ?>" title="Book name">
                                                    <img src="<?php echo site_url();?>assets/images/posts/<?php echo $post['post_image']; ?>" class="img-fluid" alt="book">
                                                </a>
                                            </li>
                                        <?php endforeach; ?>
                                        <!-- <li>
                                        <a href="#" title="Book name">
                                            <img src="<?php echo site_url();?>assets/assets/images/BOOKS/explosive1.png" class="img-fluid" alt="book">
                                        </a>
                                        </li>
                                        <li>
                                        <a href="#" title="Book name">
                                            <img src="<?php echo site_url();?>assets/assets/images/BOOKS/expert.png" class="img-fluid" alt="book">
                                        </a>
                                        </li>
                                        <li>
                                        <a href="#" title="Book name">
                                            <img src="<?php echo site_url();?>assets/assets/images/BOOKS/hard-s.png" class="img-fluid" alt="book">
                                        </a>
                                        </li>
                                        <li>
                                        <a href="#" title="Book name">
                                            <img src="<?php echo site_url();?>assets/assets/images/BOOKS/The-e-myth.png" class="img-fluid" alt="book">
                                        </a>
                                        </li>
                                        <li>
                                            <a href="#" title="Book name">
                                                <img src="<?php echo site_url();?>assets/assets/images/BOOKS/explosive1.png" class="img-fluid" alt="book">
                                            </a>
                                            </li>
                                            <li>
                                            <a href="#" title="Book name">
                                                <img src="<?php echo site_url();?>assets/assets/images/BOOKS/expert.png" class="img-fluid" alt="book">
                                            </a>
                                            </li>
                                            <li>
                                            <a href="#" title="Book name">
                                                <img src="<?php echo site_url();?>assets/assets/images/BOOKS/hard-s.png" class="img-fluid" alt="book">
                                            </a>
                                            </li>
                                            <li>
                                            <a href="#" title="Book name">
                                                <img src="<?php echo site_url();?>assets/assets/images/BOOKS/The-e-myth.png" class="img-fluid" alt="book">
                                            </a>
                                            </li>
                                            <li>
                                                <a href="#" title="Book name">
                                                    <img src="<?php echo site_url();?>assets/assets/images/BOOKS/explosive1.png" class="img-fluid" alt="book">
                                                </a>
                                                </li>
                                                <li>
                                                <a href="#" title="Book name">
                                                    <img src="<?php echo site_url();?>assets/assets/images/BOOKS/expert.png" class="img-fluid" alt="book">
                                                </a>
                                                </li>
                                                <li>
                                                <a href="#" title="Book name">
                                                    <img src="<?php echo site_url();?>assets/assets/images/BOOKS/hard-s.png" class="img-fluid" alt="book">
                                                </a>
                                                </li>
                                                <li>
                                                <a href="#" title="Book name">
                                                    <img src="<?php echo site_url();?>assets/assets/images/BOOKS/The-e-myth.png" class="img-fluid" alt="book">
                                                </a>
                                                </li> -->

                                    </ul>
                                </div>
                           </div>

                            <!-- Show more -->
                            <!-- <div class="w-100 text-center">
                                <a href="#" title="show more">Show More
                                    <i class="fas fa-caret-down d-block"></i>
                                </a>
                            </div> -->
                        </div>
                </div>
            </div>
        </div>
    </section>

    <?php /*<section class="above_footer">
        <div class="container">
            <div class="row">
                <div class="col-lg-12 text-center ab_footer_content">
                    <a href="#">reallycreativeideas.com</a>
                    <h5>Biz Summary O Day</h5>
                    <ul class="link_wrap">
                        <li><a href="#" title="Terms of use">Terms of use</a></li>
                        <li><a href="#" title="Contact Us">Contact Us</a></li>
                        <li><a href="#" title="Privacy Policy">Privacy Policy</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </section> */ ?>

    </main>
    <!-- Main content end -->
