:::

18-6 templates/tad_honor_adm_main.html

<!--若要套用bootstrap,請載入以下這三行-->
<link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_url}>/modules/tadtools/bootstrap/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_url}>/modules/tadtools/bootstrap/css/bootstrap-responsive.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_url}>/modules/tadtools/css/xoops_adm.css" />

<h1><{$temp_title}></h1>

<{if $now_op=="honor_form"}>

  <{$honor_form}>

<{else}>

  <{$bar}>
  <table class="table table-striped table-bordered table-hover">
    <tr>
      <th>學年度</th>
      <th>得獎日期</th>
      <th>得獎者</th>
      <th>得獎事項</th>
      <th>指導老師</th>
      <th>功能</th>
    </tr>

    <{foreach from=$all_data item=all}>
    <tr>
      <td><{$all.honor_year}></td>
      <td><{$all.honor_date}></td>
      <td><{$all.honor_students}></td>
      <td><{$all.honor_descript}></td>
      <td><{$all.honor_teachers}></td>
      <td>
        <a href="main.php?op=delete_honor&honor_sn=<{$all.honor_sn}>" class="btn btn-danger btn-mini">刪除</a>
        <a href="main.php?op=honor_form&honor_sn=<{$all.honor_sn}>" class="btn btn-warning btn-mini">編輯</a>
      </td>
    </tr>
    <{/foreach}>
  </table>
  <{$bar}>

  <a href="main.php?op=honor_form" class="btn btn-info pull-right">新增榮譽榜事件</a>

<{/if}>

 


:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.net%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D965%26tbsn%3D25

書籍目錄

展開 | 闔起

線上使用者

70人線上 (16人在瀏覽線上書籍)

會員: 0

訪客: 70

更多…