Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.145.101.81
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/admission3.php
<?php
session_start();
include("dbconnection.php");
require_once('../DBManager.php');
require_once('../patientmanager.php');
if(isset($_POST[drnote]))
{
 PatientManager::potential2("$_GET[prescriptionid]","$_GET[patientid]","$_POST[Potential_side_effect]","$_POST[Mode_Treatment]","$_POST[follow_up]","$_POST[treatment_Facility]","$_POST[transfer_IPD]","$_POST[Second_Opinious]","$_POST[Referral_Higher_Center]","$_POST[nameofhospital]","$_POST[Name_Consultant]","$_POST[entered_by]");	
}
		
?>

<script>
function myFunction102() {
  var checkBox = document.getElementById("myCheck102");
  var text = document.getElementById("text102");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}
function myFunction103() {
  var checkBox = document.getElementById("myCheck103");
  var text = document.getElementById("text103");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}
</script>
  <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
    <link rel="stylesheet" href="new2.css">
        <form name="drnote" method="post">
           
                      <table id="example2" class="table table-bordered table-hover"> 
                      
 <?php
session_start();
require_once('../LoginManager.php');
require_once('../DBManager.php');
$sql ="SELECT * FROM addaspatient WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		if($rs = mysqli_fetch_array($qsql))
		{
if(Pregnancy==$rs[casetype])
{
?> <div id="mmenu">
  <div class="checkbox">
          <input type="checkbox" name="Safe_childbirth_checklist" id="myCheck102" onclick="myFunction102()"><span>Safe Childbirth Checklist </span>
          </div>
          <div id="text102" style="display:none" >
              <div class="checkbox">
             <h3 align="center">Safe Childbirth Checklist </h3>
    <p>
       <h4>Does mother need referral</h4>

    <p><input type="radio" value= "noo" name="mother_need_referral"><span>No </span></P>
      <p><input type="radio" value= "yes" name="mother_need_referral"><span>Yes, organized </span></P>
      </div>
      <div class="checkbox">
       <h4>Partograph started? </h4>

    <p><input type="radio" value= "No will start when greater than 4cm" name="Partograph_started"><span>No, will start when ≥4cm </span></P>
      <p><input type="radio" value= "yes" name="Partograph_started"><span>Yes</span></P>
</div>
 <div class="checkbox">
       <h4>Does mother need to start:
Antibiotics?  </h4>
 <p><input type="radio" value= "No" name="start_Antibiotics"><span>No</span></P>
      <p><input type="radio" value= "Yes given" name="start_Antibiotics"><span>Yes Given</span></P>
</div>
<div class="checkbox">
       <h4>Magnesium sulfate and 
antihypertensive treatment?</h4>
 <p><input type="checkbox" value= "No" name="antihypertensive_treatment"><span>No</span></P>
      <p><input type="checkbox" value="Yes, magnesium sulfate given" name="antihypertensive_treatment"><span>Yes, magnesium sulfate given</span></P>
        <p><input type="checkbox" value="Yes, antihypertensive medication given" name="antihypertensive_treatment"><span>Yes, antihypertensive medication given</span></P>
</div>
<div class="checkbox">
       <h4>Confirm supplies are available to 
clean hands and wear gloves for each 
vaginal exam </h4>
 <p><input type="checkbox" value= "Available" name="vaginal_exam"><span>Available </span></P>
 <p><input type="checkbox" value= "Unavailable" name="vaginal_exam"><span>Unavailable  </span></P>
   </div>
   <div class="checkbox">
       <h4>Encourage birth companion to be present
at birth</h4>
 <p><input type="radio" value= "Yes" name="present_at_birth"><span>Yes</span></P>
 <p><input type="radio" value= "Unavailable" name="present_at_birth"><span>No </span></P>
   </div>
      <div class="checkbox">
       <h4>Encourage birth companion to be present
at birth</h4>
 <p><input type="radio" value= "Yes" name="present_at_birth"><span>Yes</span></P>
 <p><input type="radio" value= "No" name="present_at_birth"><span>No </span></P>
   </div>
       <div class="checkbox">
       <h4>Confirm that mother or companion will call 
for help during labour if needed </h4>
 <p><input type="radio" value= "Yes" name="labour_needed"><span>Yes</span></P>
 <p><input type="radio" value= "No" name="labour_needed"><span>No </span></P>
   </div>
</div>
    </div>
    <?php
}
}
?>

                  
                      <tr><td>
            <span style="font-size: 20px">Alternative Mode of Treatment</span></h3></td><td>
                <select name="Mode_Treatment">
    
     <option value="" disabled selected>Alternative Mode of Treatment</option>
  <option value="Not Required">Not Required</option>
  <option value="Explained Accepted to Continue">Explained Accepted to Continue</option>
  <option value="Explained & Denied">Explained & Denied </option>
</select>
</td>
</tr>
 
<tr><td>
            <span style="font-size: 20px">Available Treatment Facility Options</span></h3></td><td>
                <select name="treatment_Facility">
    
     <option value="" disabled selected>Available Treatment Facility Options</option>
  <option value="Explained">Explained</option>
  <option value="Agreed To Continue">Agreed To Continue</option>
  <option value="Disagree To Continue">Disagree To Continue </option>
</select>
</td>
</tr>
 </table>

 <table id="example2" class="table table-bordered table-hover">
 
 
<tr><td>
            <span style="font-size: 20px">Options for Second Opinious</span></h3></td><td>
                <select name="Second_Opinious">
    
     <option value="" disabled selected>Options for Second Opinious</option>
  <option value="Given And Consented to Continue Previous">Given And Consented to Continue Previous</option>
  <option value="Given And Accepted to go for Second Opinon">Given And Accepted to go for Second Opinon</option>
  <option value="Demanded /Lama">Demanded /Lama </option>
 
</select>
</td>
</tr>
<tr><td>
            <span style="font-size: 20px">Referral to Higher Center for Better Care</span></h3></td><td>
                <select name="Referral_Higher_Center">
    
     <option value="" disabled selected>Referral to Higher Center for Better Care</option>
  <option value="Denied & Consented to Continue With Treatment">Denied & Consented to Continue With Treatment  </option>
  <option value="Accepted and Requested">Accepted and Requested</option>
  <option value="Lama">Lama </option>
 
</select>
</td>
</tr>
</table>

	 <td colspan="2" align="center"><input type="submit" name="drnote" id="drnote" value="Submit" /></td>
    </form>
    <p>&nbsp;</p>

  </div></div>
</section>
 <div class="clear"></div>
  </div>
</div>
<script type="application/javascript">
var alphaExp = /^[a-zA-Z]+$/; //Variable to validate only alphabets
var alphaspaceExp = /^[a-zA-Z\s]+$/; //Variable to validate only alphabets and space
var numericExpression = /^[0-9]+$/; //Variable to validate only numbers
var alphanumericExp = /^[0-9a-zA-Z]+$/; //Variable to validate numbers and alphabets
var emailExp = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/; //Variable to validate Email ID 

function validateform()
{
	if(document.frmpatapp.patiente.value == "")
	{
		alert("Patient name should not be empty..");
		document.frmpatapp.patiente.focus();
		return false;
	}
	else if(!document.frmpatapp.patiente.value.match(alphaspaceExp))
	{
		alert("Patient name not valid..");
		document.frmpatapp.patiente.focus();
		return false;
	}
	else if(document.frmpatapp.textarea.value == "")
	{
		alert("Address should not be empty..");
		document.frmpatapp.textarea.focus();
		return false;
	}
	else if(document.frmpatapp.city.value == "")
	{
		alert("City should not be empty..");
		document.frmpatapp.city.focus();
		return false;
	}
	else if(!document.frmpatapp.city.value.match(alphaspaceExp))
	{
		alert("City name not valid..");
		document.frmpatapp.city.focus();
		return false;
	}
	else if(document.frmpatapp.mobileno.value == "")
	{
		alert("Mobile number should not be empty..");
		document.frmpatapp.mobileno.focus();
		return false;
	}
	else if(!document.frmpatapp.mobileno.value.match(numericExpression))
	{
		alert("Mobile number not valid..");
		document.frmpatapp.mobileno.focus();
		return false;
	}
	else if(document.frmpatapp.loginid.value == "")
	{
		alert("login ID should not be empty..");
		document.frmpatapp.loginid.focus();
		return false;
	}
	else if(!document.frmpatapp.loginid.value.match(alphanumericExp))
	{
		alert("login ID not valid..");
		document.frmpatapp.loginid.focus();
		return false;
	}
	else if(document.frmpatapp.password.value == "")
	{
		alert("Password should not be empty..");
		document.frmpatapp.password.focus();
		return false;
	}
	else if(document.frmpatapp.password.value.length < 8)
	{
		alert("Password length should be more than 8 characters...");
		document.frmpatapp.password.focus();
		return false;
	}
	else if(document.frmpatapp.select6.value == "")
	{
		alert("Gender should not be empty..");
		document.frmpatapp.select6.focus();
		return false;
	}
	else if(document.frmpatapp.dob.value == "")
	{
		alert("Date Of Birth should not be empty..");
		document.frmpatapp.dob.focus();
		return false;
	}
	else if(document.frmpatapp.appointmentdate.value == "")
	{
		alert("Appointment date should not be empty..");
		document.frmpatapp.appointmentdate.focus();
		return false;
	}
	else if(document.frmpatapp.appointmenttime.value == "")
	{
		alert("Appointment time should not be empty..");
		document.frmpatapp.appointmenttime.focus();
		return false;
	}
	else
	{
		return true;
	}
}

function loaddoctor(deptid)
{
	    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("divdoc").innerHTML = this.responseText;
            }
        };
        xmlhttp.open("GET","departmentDoctor.php?deptid="+deptid,true);
        xmlhttp.send();
}
</script>
<script>
$(function () {
    $("#example1").DataTable({
      "responsive": true,
      "autoWidth": false,
    });
    $('#example2').DataTable({
      "paging": true,
      "lengthChange": false,
      "searching": false,
      "ordering": true,
      "info": true,
      "autoWidth": false,
      "responsive": true,
    });
  });
</script>

Anon7 - 2022
AnonSec Team