線上書籍

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-danger">退稿</span> <{elseif $page.page_status=='1'}> <span class="label label-success">採用</span> <{else}> <span class="label label-dafault">待審核</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-lg">退稿</a> <a href="verify.php?op=verify&status=&page_sn=<{$page.page_sn}>&ebook_sn=<{$page.ebook_sn}>" class="btn btn-default btn-lg">待審</a> <a href="verify.php?op=verify&status=1&page_sn=<{$page.page_sn}>&ebook_sn=<{$page.ebook_sn}>" class="btn btn-primary btn-lg">採用</a> </div> <{/if}>