<?php
$zroot = $_SESSION["zdir"];
$zcomp = $_SESSION["comp_" . $dbname];
$getcomp = mysqli_query($conn, "SELECT * FROM $zroot.`company`")or die(mysqli_error($conn));
$comp = mysqli_fetch_array($getcomp);
?>
<style>
    @media print {
        .noPrint {
            display:none;
        }
    }
</style>
<div class="row">
    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 ">
        <?php echo "<label style='font-size:20px;'>$comp[name]</label>" ?>
    </div>
    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 ">
        <?php echo "<label style='font-size:12px;'>$comp[add1] $comp[add2] $comp[add3]</label>" ?>
    </div>
</div>
<div class="row">
    <div class="col-lg-11 col-md-8 col-sm-8 col-xs-8">
        <label class="label-control marg"><?php Echo $formname; ?></label>
    </div>
    <div class="col-lg-1 col-md-2 col-sm-2 col-xs-2 ">
        <a onclick="window.close()" class="btn btn-primary noPrint">GO Back</a>
    </div>
</div>
<div class="row">
    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
        <?php if ($mfdt != '') { ?>
            From Date - 
            <?php Echo $mfdt; ?> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <?php } ?>
        <?php if ($mtdt != '') { ?>
            To Date - 
            <?php Echo $mtdt; ?>
        <?php } ?>

    </div>
    
</div>
