Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.144.30.236
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/frequency.php
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
<table id="example2" class="table table-bordered table-hover">
                  <thead>
         
						<tr>
						    <th>Shift</th>
							<th>Drug</th>
</tr>
<?php
require_once('dbconnection.php');
session_start();
include('menu.php');
require_once('../LoginManager.php');
require_once('../DBManager.php');

$sql ="SELECT * FROM medicinede WHERE patientid='12704' AND prescriptionid='233' AND status='Active'";
$qsql = mysqli_query($con,$sql);
while($rs = mysqli_fetch_array($qsql))
				{
		    
		 switch ($rs[Frequency]) {
  case 'OD (Once Daily)':
    echo "    <tr>     <td>Morning</td>
                     <td>&nbsp;$rs[DRUGS]</td> </tr>  
         ";
    break;
    case 'BID/b.i.d. (twice a day)':
    echo " <tr>     <td>Morning</td>
                     <td>&nbsp;$rs[DRUGS]</td>
                     </tr><tr>
                     <td>Evening</td>
                     <td>&nbsp;$rs[DRUGS]</td></tr>";
    break;
  case 'TID/t.id. (three times a day)':
    echo "<tr>     <td>Morning</td>
                     <td>&nbsp;$rs[DRUGS]</td>
                     </tr><tr>
                     <td>Afternoon</td>
                     <td>&nbsp;$rs[DRUGS]</td></tr><tr>
                     <td>Evening</td>
                     <td>&nbsp;$rs[DRUGS]</td></tr>";
    break;
  case 'QID/q.i.d. (four times a day)':
    echo "<tr>     <td>Morning</td>
                     <td>&nbsp;$rs[DRUGS]</td>
                     </tr><tr>
                     <td>Afternoon</td>
                     <td>&nbsp;$rs[DRUGS]</td></tr>
                     <tr>
                     <td>Evening</td>
                     <td>&nbsp;$rs[DRUGS]</td></tr>
                     <tr>
                      <td>Night</td>
                     <td>&nbsp;$rs[DRUGS]</td></tr>";
    break;
      case 'Lab':
    echo "<script>window.location='lapprofile.php';</script>";
    break;
       case 'Account':
    echo "<script>window.location='Accountprofile.php';</script>";
    break;
   case 'pharma':
    echo "<script>window.location='pharmaprofile.php';</script>";
    break; 
     case 'Diagnostic':
    echo "<script>window.location='diagnosticprofile.php';</script>";
    break; 
       case 'HR':
    echo "<script>window.location='hrprofile.php';</script>";
    break; 
      case 'Nurse':
    echo "<script>window.location='Nurseprofile.php';</script>";
    break; 
        case 'OT':
    echo "<script>window.location='otprofile.php';</script>";
    break;
       case 'Super_Admin':
    echo "<script>window.location='http://easenup.healthcare/s2admin/index.php';</script>";
       case 'Family':
    echo "<script>window.location='http://easenup.healthcare/online/page.php';</script>";
    break; 
    default:
    echo 'Something Went Wrong';
}
	

	  	}
		?>

Anon7 - 2022
AnonSec Team