[1062] PHP7入門
<!doctype html>
<html lang="zh-Hant-TW">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Title</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/my.css">
</head>
<body>
<div class="img-container">
<div class="container">
<nav class="nav">
<a href="index.php" class="nav-link text-white">首頁</a>
<a href="index.php" class="nav-link text-white">編輯精選</a>
<a href="index.php" class="nav-link text-white">街巷故事</a>
<a href="index.php" class="nav-link text-white">市井觀點</a>
<a href="index.php" class="nav-link text-white">私房知識塾</a>
<a href="admin.php" class="nav-link text-white">管理</a>
</nav>
<h1 class="pt-5">巷集談-街道新聞</h1>
<div class="row">
<div class="col-sm-6">
<p class="mt-3">以台南社大師生為主體寫作者的《巷集談-街道新聞》,秉持公民素人發聲 、開放以及非營利的宗旨,除希望培力更多公民記者、自由寫手之外,更希望以關注台南市未來城鄉永續發展過程中,保障公民參與審議的權利為精神,成為台南市公民傳播媒體的草根平台。</p>
</div>
</div>
</div>
</div>
<div class="container">
{foreach $all as $article}
<h3>{$article.title} </h3>
{foreachelse}
<h1>尚無內容</h1>
{/foreach}
</div>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script>
$(document).ready(function () {
$('.img-container').css('width', $(window).width());
$('.img-container').css('height', $(window).height());
});
$(window).resize(function () {
$('.img-container').css('width', $(window).width());
$('.img-container').css('height', $(window).height());
});
</script>
<script src="http://more.handlino.com/javascripts/moretext-1.2.js" type="text/javascript"></script>
</body>
</html>