| Server IP : 172.67.187.206 / Your IP : 172.71.28.155 Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30 System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586 User : SYSTEM ( 0) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : E:/Inetpub/www/news/edu2018/student/ |
Upload File : |
<?php
session_start();
require '../config.php';
?>
<!DOCTYPE html>
<html lang="en">
<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>Student : <?=$_SESSION['fullname'];?></title>
<link href="../bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="../bootstrap/css/style.css" rel="stylesheet" >
<script src="../bootstrap/js/jquery.min.js"></script>
<script src="../bootstrap/js/bootstrap.min.js"></script>
<script src="../bootstrap/js/prettify.js"></script>
<script src="../bootstrap/js/script.js"></script>
<script>
$(function(){
window.prettyPrint && prettyPrint();
});
</script>
<style type="text/css">
.myContiner {
max-width: 98%;
margin-left: 25px;
margin-right: 25px;
}
<!--
.navbar-custom {
color: #FFFFFF;
background-color: #3b5998;
}
footer {
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 80px;
margin-bottom: -20px;
background-color: #f5f5f5;
}
-->
</style>
</head>
<body>
<!-- เริ่มตรวจสอบการเข้าระบบ -->
<?php
if ( !isset($_SESSION['user_login']) ||
( isset($_SESSION['user_login']) && $_SESSION['user_login'] != 'student' ) ) {
header('location:./../login.php');
exit();
}
?> <!-- จบการตรวจสอบการเข้าระบบ -->
<div class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<a href="index.php" class="navbar-brand"><span class="fa fa-home"></span> หน้าหลัก</a>
</div>
<ul class="nav navbar-nav">
<li class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" href="#"><span class="glyphicon glyphicon-cog"></span> ตั้งค่าระบบ <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="ict1.php"><span class='glyphicon glyphicon-book'></span> ปีการศึกษา</a></li>
<li><a href="ict3.php"><span class='glyphicon glyphicon-book'></span> ระดับชั้นเรียน</a></li>
</ul>
</li>
</ul>
<ul class="nav navbar-nav">
<li class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" href="#"><span class="glyphicon glyphicon-th-list"></span> ผู้ใช้งานระบบ <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="ict1.php"><span class='glyphicon glyphicon-book'></span> ผู้ดูแลระบบ</a></li>
<li><a href="ict1.php"><span class='glyphicon glyphicon-book'></span> ครู</a></li>
<li><a href="ict1.php"><span class='glyphicon glyphicon-book'></span> นักเรียน</a></li>
</ul>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
<span class="glyphicon glyphicon-user"></span>
<?=$_SESSION['fullname'];?>
<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#myModal1" data-toggle="modal"><span class="glyphicon glyphicon-edit"></span> เปลี่ยนรหัสผ่าน</a></li>
<li><a href="#myModal2" data-toggle="modal"><span class="glyphicon glyphicon-log-out"></span> ออกจากระบบ</a></li>
</ul>
</li>
</ul>
</div><!-- /.nav-collapse -->
</div>
</div>