59 lines
1.7 KiB
PHP
59 lines
1.7 KiB
PHP
<?php include('pdf_header_reverse.php');
|
|
//include('pop_up_top.php');
|
|
?>
|
|
<link href="includes/css-js/admin.css" rel="stylesheet" type="text/css" />
|
|
<body>
|
|
<table width="100%" >
|
|
<tr><div style="font-size:12px">
|
|
<td width="25%" align="left"> Run Date : <?php echo date("d-M-Y"); ?></td>
|
|
<td width="50%" align="center" style="font-size:40px"><strong>Refferal point</strong></td>
|
|
<td width="25%" align="left"> User : <?php echo $username ?></td>
|
|
</div></tr>
|
|
</table>
|
|
<table border="1" width="100%">
|
|
<?php
|
|
|
|
//$sql_waste="SELECT c.ohc_type_name,a.waste_category_name,b.* FROM `waste_category` a inner join bio_medical_waste b on a.waste_category_id=b.waste_category inner join ohc_type c on c.ohc_type_id=b.ohc_type_id where b.ohc_type_id='".$_SESSION['current_ohcttype']."' ";
|
|
//$results_issue_items = mysqli_query($conn,$sql_issue_items);
|
|
//$sql=base64_decode($filterkey);
|
|
|
|
//$results= mysqli_query($conn,$sql_waste);
|
|
$sql=base64_decode($filterkey);
|
|
|
|
$result = mysqli_query($conn,$sql);
|
|
|
|
?>
|
|
<strong><tr bgcolor="#eeeeee"><td align="left" width="2%" >Sr.</td><td align="left" width="10%">Refferal Point name.</td><td align="left" width="10%">Specialist</td><td align="left" width="10%">Hospital Name</td><td align="left" width="8%">Address</td><td valign="top" width="8%" align="left">Contact details</td></tr>
|
|
|
|
<?php
|
|
$count=1;
|
|
while ($row1= mysqli_fetch_assoc($result)){
|
|
extract($row1);
|
|
?>
|
|
|
|
<tr>
|
|
<td><?php echo $count?></td>
|
|
|
|
<td><?php echo $row1['referral_point_name']?></td>
|
|
<td><?php echo $row1['city']?></td>
|
|
<td><?php echo $row1['hospital_name']?></td>
|
|
|
|
<td><?php echo $row1['address']?></td>
|
|
<td><?php echo $row1['contact_detail']?></td>
|
|
|
|
|
|
|
|
</tr>
|
|
<?php
|
|
$count++;
|
|
}
|
|
?>
|
|
</table>
|
|
</body>
|
|
|
|
<?php
|
|
include('pdf_footer.php');
|
|
?>
|
|
|
|
|