| Server IP : 172.67.189.169 / Your IP : 216.73.216.59 Web Server : Apache/2 System : Linux cat167-197.static.lnwhostname.com 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 User : paphayomho ( 1042) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/paphayomho/domains/paphayomhospital.go.th/private_html/PCU2566/includes/ |
Upload File : |
<header class="main-header">
<nav class="navbar navbar-static-top">
<div class="container">
<div class="navbar-header">
<a href="#" class="navbar-brand"><b>ระบบยืม-คืนอุปกรณ์ทางการแพทย์สำหรับผู้ป่วยใช้งานที่บ้าน</a>
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
<i class="fa fa-bars"></i>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse pull-left" id="navbar-collapse">
<ul class="nav navbar-nav">
<?php
if(isset($_SESSION['student'])){
echo "
<li><a href='index.php'>HOME</a></li>
<li><a href='transaction.php'>TRANSACTION</a></li>
";
}
?>
</ul>
</div>
<!-- /.navbar-collapse -->
<!-- Navbar Right Menu -->
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<?php
if(isset($_SESSION['student'])){
$photo = (!empty($student['photo'])) ? 'images/'.$student['photo'] : 'images/profile.jpg';
echo "
<li class='user user-menu'>
<a href='#'>
<img src='".$photo."' class='user-image' alt='User Image'>
<span class='hidden-xs'>".$student['firstname'].' '.$student['lastname']."</span>
</a>
</li>
<li><a href='logout.php'><i class='fa fa-sign-out'></i> LOGOUT</a></li>
";
}
else{
echo "
<li><a href='admin/' data-toggle='modal'><i class='fa fa-sign-in'></i> เข้าสู่ระบบ(สำหรับผู้ดูแลระบบ)</a></li>
";
}
?>
</ul>
</div>
<!-- /.navbar-custom-menu -->
</div>
<!-- /.container-fluid -->
</nav>
</header>
<?php include 'includes/login_modal.php'; ?>