<?php
$admin = $_SESSION["admin_" . $dbname];
$zdb = $_SESSION["zdbyear_" . $dbname];
$myyear = $_SESSION[$myyear];
mysqli_select_db($conn, $zdb);
$zroot = "apps4rea_royalseas_root";

$bseries = $_SESSION["user_series"];
//browse($zroot);
$getcompany = mysqli_query($conn, "SELECT code, name FROM $zroot.`company`  ")or die(mysqli_error($conn));
$showcompany = mysqli_fetch_array($getcompany);
$company = $showcompany[name];

$fdate = date("d-m-Y", strtotime($mfrmdate));
$tdate = date("d-m-Y", strtotime($mtodate));

$totrecod = mysqli_num_rows($getpmain);
?>

<div class="row">
    <div class="col-lg-4 col-md-4 col-sm-4 col-xs-4"></div>
    <div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 text-center">
        <label> <h3 style="color:#00AAFC"> <?php echo $company; ?></h3></label>
    </div>
    <div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 pad"></div>
</div>
<div class="row">
    <div class="col-lg-11 pad">
        <label class="label-control marg "> <?php Echo $formname  ?></label>
    </div>
    <div class="col-lg-1">
        <a onclick="window.close()" class="btn btn-primary no-print">GO Back</a>
    </div>
</div>
<div class="row">
    <div class="col-lg-11 pad">
        <label class="label-control marg "> <?php Echo "Total Number Of Records - ". $totrecod; ?></label>
    </div>
</div>
<div class="row">
    <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2 pad">
        <label>From Date - <?php echo $fdate; ?></label>
    </div>

    <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
        <label>To Date - <?php echo $tdate; ?></label>
    </div>
    <div class="col-lg-7 text-right">
        <label class="label-control marg"> Report Date - </label>
        <label class="label-control marg"><?php Echo Date("d-m-Y"); ?></label>

    </div>
</div>
<!--<div class="row">
    <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2 pad">
        <label style="color:#EF6D7D">Series - <?php // echo $bseries; ?></label>
    </div>

</div>-->





