csrtechnew.ohctech.in/pdf_ohc_header.php

55 lines
1.8 KiB
PHP
Raw Normal View History

2025-04-14 13:28:09 +05:30
<?php
include_once('includes/config/config.php');
include_once('includes/functions.php');
ini_set('pcre.backtrack_limit', 10000000);
ini_set('memory_limit', '-1');
$query_for_company = "select company_name, company_logo,right_com_logo, image_type,address from company_profile ";
//echo $query_for_company;
$result_for_company = @mysqli_query($conn, $query_for_company);
if ($row_for_company = @mysqli_fetch_array($result_for_company)) {
@extract($row_for_company);
}
?>
<table cellspacing="0" width="100%">
<tr>
<td rowspan="4">
<center><img src="data:image/jpeg;base64,<?php echo base64_encode($row_for_company['company_logo']) ?>"
style="width: 100px; height: 100px; border-radius: 10px;" /></center>
</td>
<td width="90%" align="center"><b style="font-size:20px;font-weight: 800;">
<?php echo $row_for_company['company_name'] ?>
</b></td>
<?php if(isset($row_for_company['right_com_logo']) && $row_for_company['right_com_logo']!=null){?>
<td rowspan="4">
<center><img src="data:image/jpeg;base64,<?php echo base64_encode($row_for_company['right_com_logo']) ?>"
style="width: 100px; height: 100px;border-radius: 10px;" /></center>
</td>
<?php } ?>
</tr>
<tr>
<td align="center"><b style="font-weight: 900;">
<?php echo $row_for_company['address'] ?>
</b></td>
</tr>
</table>
<br>
<table cellspacing="0" width="100%">
<tr>
<td width="25%" align="left"> Run Date : <?php echo date("d-M-Y");
?>
<td width="75%" align="right">
<!-- User : <?php echo $username
?> -->
</td>
</tr>
</table>
<br>