File name
Commit message
Commit date
File name
Commit message
Commit date
<!doctype html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Home Page</title>
<style>
#page {background-color: antiquewhite; width: 500px; margin: 0 auto;}
h2 {text-align: center;}
.div1 {background-color: brown}
.div2 {background-color: olive;}
.div3 {background-color: blueviolet;}
</style>
</head>
<body>
<div id="page">
<div class="div1">
<?php require_once ("header.php")?>
</div>
<div class="div2">
<?php
if($_GET["page"] == "contents"){
require_once ("contents.php");
}else if($_GET["page"] == "news"){
require_once("contents2.php");
}else{
echo "No Information";
}
?>
</div>
<div class="div3">
<?php require_once ("tail.php")?>
</div>
</div>
</body>
</html>