403Webshell
Server IP : 134.236.49.22  /  Your IP : 216.73.216.114
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/edit.php
<?php
	$ebits = ini_get('error_reporting');
	error_reporting($ebits ^ E_NOTICE);
	include("dbconfig.php");
	include( "function.php" );
	if (isset($_GET['RType'])) $TypeRep = $_GET['RType'];
	else  $TypeRep = 'All';
	if (isset($_GET['RDate'])) $DateRep = $_GET['RDate'];
	else  $DateRep = 'All';
	$comp = '';
	$nRecords = 0;
	$nComplete=0;
	$nPerC = 0;
	$nSum =0;
	$ThaiDow = array('จ.', 'อ.', 'พ.', 'พฤ.','ศ.','ส.','อา.');
	if ($DateRep == 'All'){   
		$dd1 = date('d',strtotime("-1 years"));
		$mm1 = date('m',strtotime("-1 years")) ;
		$yy1 = date('Y',strtotime("-1 years"))+543 ;
		
		$dd2 = date("d") ;
		$mm2 = date("m") ;
		$yy2 = date("Y")+543 ;
	} else {
		$dd1 = substr($DateRep,6,2);
		$mm1 = substr($DateRep,4,2);
		$yy1 = substr($DateRep,0,4);
		
		$dd2 = substr($DateRep,14,2);
		$mm2 = substr($DateRep,12,2);
		$yy2 = substr($DateRep,8,4);
	}
	$date_start = "$dd1/$mm1/$yy1"; 
	$date_end = "$dd2/$mm2/$yy2"; 
?>
<script type="text/javascript"> 
<!--
function getValue(vname) { 
	var n = document.getElementById(vname).value
	return n;
} 
function changeFunc() {
   	var URL;
	URL= "<?php echo $_SERVER['PHP_SELF'] ?>";
	URL+="?&RType=";
	URL+=getValue('TypeID');
	URL+="&RDate=";
	URL+=getValue('yy1');
	URL+=getValue('mm1');
	URL+=getValue('dd1');
	URL+=getValue('yy2');
	URL+=getValue('mm2');
	URL+=getValue('dd2');
	window.location=URL;
}

</SCRIPT>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>รายงาน</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874"></head>
</html>
<html>
<head>
</head>
<body>
<TABLE height=47 cellSpacing=0 cellPadding=0 width="100%" border=0>
	<TBODY>
    	<TR>
      		<TD style="BACKGROUND-COLOR: #f0f7ff" colSpan=2></TD>
    	</TR>
    	<TR bgColor=#c7d2e7>
      		<TD width="8%" height=21 bgcolor="#FFFFFF" class=thwbold><div align="center"></div></TD>
   		  <TD width="92%" height=21 align=right vAlign=center bgColor=#FFFFFF class=thsans><A href=""></A><A href=""></A> <A href=""></A>&nbsp; </TD>
		</TR>
    	<TR>
      		<TD style="BACKGROUND-COLOR: black" colSpan=2></TD>
    	</TR>
    	<TR>
      		<TD style="BACKGROUND-COLOR: #f0f8ff" colSpan=2></TD>
    	</TR>
    	<TR vAlign=center bgColor=#216289>
      		<TD height=20 colSpan=2 bgcolor="#00CCCC" class=thwbold>&nbsp;</TD>
      		</TD>
    	</TR>
    	<TR>
      		<TD style="BACKGROUND-COLOR: black; heigth: 1" colSpan=2></TD>
    	</TR>
  </TBODY>
</TABLE><br><br>
<form name="form1" method="post" action="follow.php"> <div align="center">
  <p align="center"><font size="2" face="Microsoft Sans Serif, MS Sans Serif, sans-serif">
    <input name="search_txt" type="text" id="search1"  onChange="changeFunc()"
                value="<?php echo $search1; ?>" size="30" maxlength="30"> <input type="submit" name="Submit" value="ค้นหา">
    </font>    </p>
    </div>
    <p align="center">ตารางรายชื่อผู้มีนัดวันที่</p> <p align="center"><br><label for="DateRep" >วันที่</label>
	<input name="DateRep"  id="DateRep" class="datepicker" size="8" width = "20px" data-date-format="mm/dd/yyyy" value = "<?php echo $chkDate ; ?>"  
	 onChange="changeFunc('<?php $_SERVER["PHP_SELF"];?>')"   />
  <br /><br />
	<table width="70%" border="1" align="center" bordercolor="#CC99CC">
    	<tr background="Background6.jpg"> 
		  <td width="12%" height="35" background="Background2.jpg"><div align="center"><font size="2" face="Microsoft Sans Serif, MS Sans Serif, sans-serif"></font>วันที่</div></td>
		 
			<td width="43%" background="Background2.jpg"><div align="center"><font size="2" face="Microsoft Sans Serif, MS Sans Serif, sans-serif"></font>ชื่อนามสกุล</div></td>
			<td width="25%" background="Background2.jpg"><div align="center"><font size="2" face="Microsoft Sans Serif, MS Sans Serif, sans-serif"></font>สถานะ</div></td>
 		</tr>
		
					
	
				
                <tr> 
             	<tr background="Background6.jpg"> 
		  <td width="12%" height="35" background="Background2.jpg"></td>
			
			<td width="43%" background="Background2.jpg"></td>
			<td width="25%" background="Background2.jpg"></td>
                </tr>
	</table>
</form>
 <p align="center">&nbsp;</p>
</body>
</html>


Youez - 2016 - github.com/yon3zu
LinuXploit