:::

7-6 /templates/tad_ebook_adm_main.html

<div class="container-fluid">

  <script>
  function del_ebook_func(sn , title){
   var sure = window.confirm('確定要刪除編號 ' + title + ' 的資料?');
   if (!sure) return;
   location.href="main.php?op=del_ebook&ebook_sn=" + sn;
  }
  </script>

  <h1>輸入表單</h1>
  <{$ebook_form}>

  <{if $all_data}>
    <table class="table table-striped table-bordered table-hover">
      <tr>
        <th>刊物流水號</th>
        <th>刊物主題</th>
        <th>投稿截止日</th>
        <th><{$smarty.const._MA_TADEBOOK_PUBLIC_DATE}></th>
        <th>功能</th>
      </tr>
      <{foreach from=$all_data item=ebook}>
        <tr>
          <td><{$ebook.ebook_sn}></td>
          <td><{$ebook.ebook_title}></td>
          <td><{$ebook.ebook_post_date}></td>
          <td><{$ebook.ebook_publish_date}></td>
          <td>
            <a href="javascript:del_ebook_func(<{$ebook.ebook_sn}>,'<{$ebook.del_title}>')" class="btn btn-danger btn-mini">刪除</a>
            <a href="main.php?op=edit_ebook&ebook_sn=<{$ebook.ebook_sn}>" class="btn btn-warning btn-mini">編輯</a>
          </td>
        </tr>
      <{/foreach}>
    </table>
  <{/if}>
</div>

 


:::

搜尋

QR Code 區塊

https%3A%2F%2Fwww.tad0616.net%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbsn%3D37%26tbdsn%3D1162

書籍目錄

展開 | 闔起

線上使用者

193人線上 (6人在瀏覽線上書籍)

會員: 0

訪客: 193

更多…