<div style="height: <{$block.height}>; over-flow: auto;"> <{foreach from=$block.all_data item=ebook}> <{if $block.show_pic=='1' and $ebook.ebook_pic}> <div class="text-center"> <a href="<{$xoops_url}>/modules/tad_ebook/index.php?ebook_sn=<{$ebook.ebook_sn}>"><img src="<{$ebook.ebook_pic}>" alt="<{$ebook.ebook_title}>" title="<{$ebook.ebook_title}>"></a> </div> <{/if}> <div <{if $block.show_pic=='1'}>class="text-center"<{/if}>> <a href="<{$xoops_url}>/modules/tad_ebook/index.php?ebook_sn=<{$ebook.ebook_sn}>"><{$ebook.ebook_title}></a> </div> <{/foreach}> </div>