Skip to content

Instantly share code, notes, and snippets.

@ahmedzahran ahmedzahran/dynamic slider
Last active May 10, 2016

Embed
What would you like to do?
<?php foreach($latestbooks as $book):?>
<div class='span4 book-holder'> <a href='book-detail.html'><img src='images/image01.jpg' alt='Book' /></a></div>
<div class='span8 book-detail'>
<h2><?php echo $book['title'];?></h2>
<strong class='title'><a href='author.html'> Shreif Ragab</a></strong> <span class='rating-bar'> <img src='images/raing-star2.png' alt='Rating Star' /> </span> <a href='book-detail.html' class='down-btn'>DOWNLOAD NOW</a>
<div class='cap-holder'>
<p><img src='images/image27.png' alt='Best Choice' align='right'/>Facebook helps you connect and share with the people in your life, It's free and always will be. ... </p>
<a href='book-detail.html'>Read More</a>
</div>
</div>
<nav class='bb-custom-nav'> <a href='#' id='bb-nav-prev' class='left-arrow'>Previous</a> <a href='' id='bb-nav-next' class='right-arrow'>Next</a> </nav>
<?php endforeach;?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.