線上書籍

Home

1041 XOOPS模組開發

<{$toolbar}> <{if $op=="verify_all"}> <ul> <{foreach from=$all_ebook item=ebook}> <li> <span class="label label-info"><{$ebook.ebook_publish_date}></span> <a href="verify.php?ebook_sn=<{$ebook.ebook_sn}>"><{$ebook.ebook_title}></a> </li> <{/foreach}> </ul> <{/if}> <{if $op=="verify_ebook"}> <ul> <{foreach from=$all_page item=page}> <li> <span class="label label-info"><{$page.page_tag}></span> <{if $page.page_status=='0'}> <span class="label label-important">退稿</span> <{elseif $page.page_status=='1'}> <span class="label label-success">採用</span> <{else}> <span class="label">待審核</span> <{/if}> <a href="verify.php?page_sn=<{$page.page_sn}>"><{$page.page_title}></a> </li> <{/foreach}> </ul> <{/if}> <{if $op=="verify_page"}> <h1><{$page.page_title}></h1> <{$page.page_content}> <div class="text-center"> <a href="verify.php?op=verify&status=0&page_sn=<{$page.page_sn}>&ebook_sn=<{$page.ebook_sn}>" class="btn btn-danger btn-large">退稿</a> <a href="verify.php?op=verify&status=&page_sn=<{$page.page_sn}>&ebook_sn=<{$page.ebook_sn}>" class="btn btn-large">待審</a> <a href="verify.php?op=verify&status=1&page_sn=<{$page.page_sn}>&ebook_sn=<{$page.ebook_sn}>" class="btn btn-primary btn-large">採用</a> </div> <{/if}>