:::

1-1 post.php

<!DOCTYPE html>
<html lang="zh-TW">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <title>編輯新聞</title>

  <!-- Latest compiled and minified CSS -->
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">

  <!-- Optional theme -->
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">

  <!-- Latest compiled and minified JavaScript -->
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>

</head>
<body>

  <div class="container">
    <h1>編輯新聞</h1>
    <div class="row">
      <div class="col-md-9">
        <!-- 表單 action指定變數欲送至的目的地,method指定變數傳送方式 -->
        <form action="index.php" method="post" role="form">
          <div class="form-group">
            <input type="text" name="news_title" placeholder="請輸入新聞標題" class="form-control">
          </div>

          <div class="form-group">
            <textarea name="news_content" style="height:300px;" placeholder="請輸入新聞內容" class="form-control"></textarea>
          </div>

          <input type="submit" value="儲存新聞" class="btn btn-info">
        </form>
      </div>

      <div class="col-md-3">
        <a href="index.php" class="btn btn-success btn-block">新聞列表</a>
      </div>
    </div>
  </div>


</body>
</html>

 


:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.cp27.secserverpros.com%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1021%26tbsn%3D34

書籍目錄

展開 | 闔起

線上使用者

354人線上 (145人在瀏覽線上書籍)

會員: 0

訪客: 354

更多…