:::

7-3 /templates/blocks/list_signup.tpl

<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}>

 


:::

書籍目錄

展開 | 闔起

快速登入


http%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D932%26tbsn%3D31

計數器

今天: 3239323932393239
昨天: 8046804680468046
總計: 8041892804189280418928041892804189280418928041892