<?php if (!empty($books)):?>
	<?php foreach ($books as $book):?>
		<li> <a title="<?php echo $book->bookname;?>" href="<?php echo $this->getController()->createUrl('book/show',array('id'=>$book->bookid));?>" class="limit" limit="20"><?php echo $book->bookname;?></a> </li>
	<?php endforeach;?>
<?php endif;?>