csrtechnew.ohctech.in/list_pdf_header.php

48 lines
1.3 KiB
PHP
Raw Permalink Normal View History

2025-04-14 13:28:09 +05:30
<?php
$queryc = "select * from company_profile ";
$resultc = mysqli_query($conn, $queryc);
$row_company = mysqli_fetch_array($resultc);
@extract($row_company);
?>
<br>
<table width="100%" cellspacing="0">
<tr>
<td width="20%">
<?php if (isset($row_company['company_logo']) && $row_company['company_logo'] != null) { ?>
<img src="data:<?php echo $row_company['image_type'] ?>;base64,<?php echo base64_encode($row_company['company_logo']) ?>" style="width: 100px; height: 60px; margin: 0px; padding: 0px;">
<?php } ?>
</td>
<td width="60%" align="center">
<div style="margin-left: 20px; margin-top: 5px; line-height: 1;">
<center style="font-size: 18px ; text-transform: capitalize;"><b>
<?php echo $row_company['company_name'] ?>
<br>
<br> <span style="font-size: 12px;"><?php echo $row_company['address'] ?></span>
<br><br> <span style="font-size: 12px;">Center : <?php echo getFieldFromTable('ohc_type_name','ohc_type','ohc_type_id',$_SESSION['current_ohcttype']) ?></span>
</b>
</center>
</div>
</td>
<td width="20%" align="right">
</td>
</tr>
</table>