:::

5-17 templates/op_article_form.tpl

<script src="ckeditor/ckeditor.js"></script>

<form action="admin.php" method="post">
    <div class="form-group">
        <label for="title" class="col-form-label sr-only">文章標題</label>
        <input type="text" class="form-control" name="title" id="title" placeholder="請輸入文章標題">
    </div>
    <div class="form-group">
        <label for="content" class="col-form-label sr-only">文章內容</label>
        <textarea name="content" id="content" rows="20" class="form-control" placeholder="請輸入文章內容"></textarea>
    </div>
    <div class="text-center">
        <input type="hidden" name="op" value="insert">
        <button type="submit" class="btn btn-primary">儲存</button>
    </div>
</form>

<script>
    CKEDITOR.replace('content');
</script>

 


:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.cp22.secserverpros.com%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1380%26tbsn%3D43

書籍目錄

展開 | 闔起

線上使用者

369人線上 (163人在瀏覽線上書籍)

會員: 0

訪客: 369

更多…