<?php
$zroot = $_SESSION["zdir"];
$zcomp = $_SESSION["comp_" . $dbname];
$getcomp = mysqli_query($conn, "SELECT * FROM $zroot.`company` where code='$zcomp'") or die(mysqli_error($conn));
$comp = mysqli_fetch_array($getcomp);
?>
<style>
    @media print {
        .noPrint {
            display: none;
        }
    }
</style>
<!-- <div class="row">
    <img style="width: 90%;height:120px;margin: 10px 20px; " src="images/complogo.png" alt="<?= $project_title ?>">
</div> -->

<div style="display:flex; justify-content:center; align-items:center;">
    <img src="images/complogo.png" style="height:auto;width:85%;margin-bottom:10px;">
</div>
<!-- <div class="skdiv">
    <img style="height:auto;margin-bottom:5px"  src="images/complogo.png" alt="<?= $project_title ?>">
</div> -->
<!-- <center><b style="font-size: 23px;"><?= $comp['pname']; ?></b></center> -->
<center>
    <?= $comp['add1'] . " " . $comp['add2'] . " " . $comp['add3']; ?><?php echo $comp['state'] . " " . $comp['city'] . " " . $comp['pin']; ?>
</center>
<center>
    <?= "Email :" . $comp['email'] . " &nbsp " . "  Mobile :" . $comp['mobile'] . "  Website :" . $comp['website']; ?>
</center>
<br>
<center><b><?= $formname; ?></b></center>