線上書籍

Home

1041 XOOPS模組開發

<{$toolbar}> <{if $op=="show_all"}> <ul> <{foreach from=$all_ebook item=ebook}> <li> <span class="label label-info"><{$ebook.ebook_publish_date}></span> <a href="index.php?ebook_sn=<{$ebook.ebook_sn}>"><{$ebook.ebook_title}></a> </li> <{/foreach}> </ul> <{/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}>