<?php
$zroot = $_SESSION["zdir"];
$zcomp = $_SESSION["comp_" . $dbname];
$getcomp = mysqli_query($conn, "SELECT * FROM $zroot.`company` where code='$zcomp'")or die(mysqli_error($conn));
$getcmpname = mysqli_fetch_array($getcomp);
?>
<style>
    @media print {
        .noPrint {
            display:none;
        }
    }
</style>


<!--<link href="MyStyle/rep_format.css" rel="stylesheet">-->

<!--<div class="subpage">-->
<!--   ************Header************  -->
<div style="border:solid 1px;" class="col-md-12" >
    <h3><center><? Echo $getcmpname['pname']; ?></center></h3>
    <center><?php echo $getcmpname['add1'] . " " . $getcmpname['add2'] . " " . $getcmpname['add3']; ?></center>
    <center><?php echo "Email :" . $getcmpname['email'] . " &nbsp " . "Contact No :" . $getcmpname['tel'] . "/" . $getcmpname['mobile']; ?></center>
    <h5><center><b><?php echo $formname; ?></b></center></h5>
</div>


