<table class="table table-bordered table-hover"> <tr class="info"> <th>姓名</th> <th>Email</th> </tr> <{foreach from=$block.users item=user}> <tr> <td><{$user.name}></td> <td><{$user.email}></td> </tr> <{/foreach}> </table> <{if $block.show_button==1}> <{if $xoops_isuser}> <{if $block.action_id|in_array:$smarty.session.uid_signup}> <a href="javascript:delete_signup(<{$block.action_id}>)" class="btn btn-danger btn-block">取消報名</a> <{else}> <a href="<{$xoops_url}>/modules/tad_signup/index.php?action_id=<{$block.action_id}>&op=signup" class="btn btn-success btn-block">我要報名</a> <{/if}> <{/if}> <{/if}>