| Server IP : 104.21.80.248 / Your IP : 172.71.28.156 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/csr/admin/ |
Upload File : |
<!-- top bar navigation -->
<div class="headerbar">
<?
$user=$_SESSION["loguser"];
$ugroup=$_SESSION["ugroup"];
if($ugroup=="obec"){
$Gtb="log_obec";
}else if($ugroup=="area"){
$Gtb="log_area";
}else if($ugroup=="school"){
$Gtb="log_school";
}else if($ugroup=="donate"){
$Gtb="log_donate";
}
$SQL1 = $mysqli->query("SELECT * FROM $Gtb WHERE `username` ='$user' ");
$Row1 = mysqli_fetch_array($SQL1);
$fullname=$Row1['fullname'];
?>
<!-- LOGO -->
<div class="headerbar-left">
<a href="account.php?page=" class="logo"><img src="<?php echo IMG_URL;?>/logo.png" /> <span><?=$ugroup;?></span></a>
</div>
<nav class="navbar-custom">
<ul class="list-inline float-right mb-0">
<li class="list-inline-item dropdown notif">
<a class="nav-link dropdown-toggle arrow-none" data-toggle="dropdown" href="#" role="button" aria-haspopup="false" aria-expanded="false">
<i class="fa fa-fw fa-envelope-o"></i><span class="notif-bullet"></span>
</a>
<div class="dropdown-menu dropdown-menu-right dropdown-arrow dropdown-lg" aria-labelledby="Preview">
<!-- item-->
<div class="dropdown-item noti-title">
<h5><small><span class="label label-danger pull-xs-right">12</span>Contact Messages</small></h5>
</div>
<!-- item-->
<a href="#" class="dropdown-item notify-item">
<p class="notify-details ml-0">
<b>Jokn Doe</b>
<span>New message received</span>
<small class="text-muted">2 minutes ago</small>
</p>
</a>
<!-- item-->
<a href="#" class="dropdown-item notify-item">
<p class="notify-details ml-0">
<b>Michael Jackson</b>
<span>New message received</span>
<small class="text-muted">15 minutes ago</small>
</p>
</a>
<!-- item-->
<a href="#" class="dropdown-item notify-item">
<p class="notify-details ml-0">
<b>Foxy Johnes</b>
<span>New message received</span>
<small class="text-muted">Yesterday, 13:30</small>
</p>
</a>
<!-- All-->
<a href="#" class="dropdown-item notify-item notify-all">
View All
</a>
</div>
</li>
<li class="list-inline-item dropdown notif">
<a class="nav-link dropdown-toggle arrow-none" data-toggle="dropdown" href="#" role="button" aria-haspopup="false" aria-expanded="false">
<i class="fa fa-fw fa-bell-o"></i><span class="notif-bullet"></span>
</a>
<div class="dropdown-menu dropdown-menu-right dropdown-arrow dropdown-lg" aria-labelledby="Preview">
<!-- item-->
<div class="dropdown-item noti-title">
<h5><small><span class="label label-danger pull-xs-right">5</span>Allerts</small></h5>
</div>
<!-- item-->
<a href="#" class="dropdown-item notify-item">
<div class="notify-icon bg-faded">
<img src="assets/images/avatars/avatar2.png" alt="img" class="rounded-circle img-fluid">
</div>
<p class="notify-details">
<b>John Doe</b>
<span>User registration</span>
<small class="text-muted">3 minutes ago</small>
</p>
</a>
<!-- item-->
<a href="#" class="dropdown-item notify-item">
<div class="notify-icon bg-faded">
<img src="assets/images/avatars/avatar3.png" alt="img" class="rounded-circle img-fluid">
</div>
<p class="notify-details">
<b>Michael Cox</b>
<span>Task 2 completed</span>
<small class="text-muted">12 minutes ago</small>
</p>
</a>
<!-- item-->
<a href="#" class="dropdown-item notify-item">
<div class="notify-icon bg-faded">
<img src="assets/images/avatars/avatar4.png" alt="img" class="rounded-circle img-fluid">
</div>
<p class="notify-details">
<b>Michelle Dolores</b>
<span>New job completed</span>
<small class="text-muted">35 minutes ago</small>
</p>
</a>
<!-- All-->
<a href="#" class="dropdown-item notify-item notify-all">
View All Allerts
</a>
</div>
</li>
<!-- /แสดงตัวอย่างหน้าเว็บ -->
<li class="list-inline-item dropdown notif">
<a class="nav-link dropdown-toggle arrow-none" data-toggle="dropdown" href="#" role="button" aria-haspopup="false" aria-expanded="false">
<i class="fa fa-globe"></i>
</a>
<div class="dropdown-menu dropdown-menu-right dropdown-arrow dropdown-lg" aria-labelledby="Preview">
<!-- item-->
<a href="<?php echo SITE_URL;?>" target="_blank" class="dropdown-item notify-item">
<div class="notify-icon bg-faded">
<img src="<?php echo IMG_URL;?>/logo.png" alt="img" class="rounded-circle img-fluid">
</div>
<p class="notify-details">
<b>แสดงตัวอย่างเว็บไซต์</b>
<span>หน้าหลักของเว็บ</span>
</p>
</a>
</div>
</li>
<!-- จบแสดงตัวอย่างหน้าเว็บ-->
<li class="list-inline-item dropdown notif">
<a class="nav-link dropdown-toggle nav-user" data-toggle="dropdown" href="#" role="button"
aria-haspopup="false" aria-expanded="false">
<img src="<?php echo IMG_URL;?>/user.jpg" alt="Profile image" class="avatar-rounded">
</a>
<div class="dropdown-menu dropdown-menu-right profile-dropdown " aria-labelledby="Preview">
<!-- item-->
<div class="dropdown-item noti-title">
<h5 class="text-overflow"><small><?php echo $fullname;?></small> </h5>
</div>
<!-- item-->
<a href="#" data-toggle="modal" data-target="#modal_ch1" class="dropdown-item notify-item">
<i class="fa fa-user"></i> <span>เปลี่ยนรหัสผ่าน </span>
</a>
<!-- item-->
<a href="logout.php" class="dropdown-item notify-item">
<i class="fa fa-power-off"></i> <span>Logout</span>
</a>
</div>
</li>
</ul>
<ul class="list-inline menu-left mb-0">
<li class="float-left">
<button class="button-menu-mobile open-left">
<i class="fa fa-fw fa-bars"></i>
</button>
</li>
</ul>
</nav>
</div>
<!-- End Navigation -->