線上書籍

Home

1041 XOOPS模組開發

<{$toolbar}> <{if $op=="show_all"}> <{foreach from=$all_ebook item=ebook}> <div class="row-fluid"> <div class="span2"> <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> <div class="span10"> <h3> <span class="label label-info"><{$ebook.ebook_publish_date}></span> <a href="index.php?ebook_sn=<{$ebook.ebook_sn}>"><{$ebook.ebook_title}></a> </h3> <div><{$ebook.ebook_content}></div> </div> </div> <{/foreach}> <{/if}> <{if $op=="show_ebook"}> <ul> <{foreach from=$all_page item=page}> <li> <span class="label label-info"><{$page.page_tag}></span> <a href="index.php?page_sn=<{$page.page_sn}>"><{$page.page_title}></a> </li> <{/foreach}> </ul> <{/if}> <{if $op=="show_page"}> <h1><{$page.page_title}></h1> <{$page.page_content}> <{/if}>