%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 122.154.253.140 / Your IP : 216.73.216.116 Web Server : Microsoft-IIS/7.5 System : Windows NT SERVER02 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.6.31 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/ |
Upload File : |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>โรงเรียนโกวิทธำรงเชียงใหม่</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom fonts for this template -->
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'>
<!-- Plugin CSS -->
<link href="vendor/magnific-popup/magnific-popup.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/creative.min.css" rel="stylesheet">
<!-- fonts -->
<link href="https://fonts.googleapis.com/css?family=Kanit" rel="stylesheet">
<style>
body {
font-family: 'Kanit', serif;
font-size: 18px;
}
#bgTop {
border: 0px solid black;
padding: 25px;
background : #3498DB;
background-repeat: no-repeat;
background-size: auto;
height: 110;
}
</style>
</head>
<body id="page-top">
<?PHP include "menu.php"; ?>
<?php
include "conf.php";
if($_GET['Level']=="0")
$type="2";
else if($_GET['Level']=="1")
$type="3";
else if($_GET['Level']=="2")
$type="4";
$sql = "select * from news where NewsType='".$type."' order by IDRun desc";
echo $sql;
$result = $conn->query($sql) or die("Cant' query");
?>
<div id="bgTop"></div>
<P></P>
<div class="container">
<div class="jumbotron text-center">
<?PHP
$TitleClass="";
if($_GET['Level']==0)
$TitleClass="ชั้นอนุบาล";
else if($_GET['Level']==1)
$TitleClass="ชั้นประถมศึกษา";
else if($_GET['Level']==2)
$TitleClass="ระดับชั้นมัธยมศึกษา";
?>
<h1>ข่าวสารสำหรับนักเรียน</h1>
<p><h3><?PHP echo $TitleClass; ?></h3></p>
</div>
<div class='row'>
<div class="container">
<?PHP
while($row = $result->fetch_assoc()) {
echo "หัวข้อข่าวสาร : ".$row['Title']." , วันที่ประกาศข่าวสาร : ".$row['DateNews']."<BR>";
echo "รายละเอียดข่าวสาร : ".$row['Detail'];
echo "<hr>";
}
?>
</div>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Plugin JavaScript -->
<script src="vendor/jquery-easing/jquery.easing.min.js"></script>
<script src="vendor/scrollreveal/scrollreveal.min.js"></script>
<script src="vendor/magnific-popup/jquery.magnific-popup.min.js"></script>
<!-- Custom scripts for this template -->
<script src="js/creative.min.js"></script>
</body>
</html>