:::

16-2 上課範例:templates/tad_note_index.html

<link rel='stylesheet' href='menu/menu_style.css' type='text/css' />
<ul id='menu'>
   <li><a href='index.php' target='_self' title='所有記事' <{if $mode=="list"}>class='current'<{/if}>>所有記事</a></li>
   <li><a href='index.php?op=add_form' target='_self' title='新增記事' <{if $mode=="form"}>class='current'<{/if}>>新增記事</a></li>
</ul>

<{if $mode=="list"}>

  <table>
  <{foreach item=page from=$news}>
    <tr>
      <td><{$page.note_date}></td>
      <td><a href='index.php?cate_sn=<{$page.cate_sn}>'><{$page.cate_title}></a></td>
      <td><a href='view.php?note_sn=<{$page.note_sn}>'><{$page.note_title}></a></td>
      <td><{$page.tool}></td>
    </tr>
  <{/foreach}>
  </table>

  <p align='center'><{$bar}></p>
  <{include file='db:system_notification_select.html'}>

<{else}>
  <{$content}>
<{/if}>

:::

搜尋

QR Code 區塊

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

書籍目錄

展開 | 闔起

線上使用者

38人線上 (9人在瀏覽線上書籍)

會員: 0

訪客: 38

更多…