<?php
ob_start();
require("includes/check_auth_user.php");
require("includes/dbconnect.php");
include('includes/function.php');
////////////////// FB ////////////////////
$adduser = $_SESSION['username_' . $dbname];
date_default_timezone_set("Asia/Kolkata");
$adddate = date("Y-m-d");
$addtime = date("h:i:sa");
$usertype = $_SESSION["usertype"];
?>
<div class="panel-heading">
    <div class="row" style="background-color:#F5F5F5">
        <div class="col-lg-2" style="color:#64CCFC"><h4><?php Echo $formname; ?></h4></div>
        <?
        //browse($usertype);
        $date1 = $get["adddate"];
        $adddt = date("d-m-Y", strtotime($date1));
        $date2 = $get["editdate"];
        $editdt = date("d-m-Y", strtotime($date2));
        ?>
        <?php if ($usertype == 1) { ?>


            <div class="col-lg-2"><label class=" marg" style="color:green;font-size: 14px;">&nbsp;<?php Echo $get["adduser"]; ?></label><br>
                <?php if ($get["edituser"] != '') { ?>
                    <label class="marg" style="color:orange;font-size: 14px;"><?php Echo $get["edituser"]; ?></label>
                <? } ?>
            </div>
            <div class="col-lg-2"><label class=" marg" style="color:green;font-size: 14px;"><?php Echo $adddt; ?></label>
                <?php if ($get["editdate"] != '00-00-0000') { ?>
                    <label class="marg" style="color:orange;font-size: 14px;"><?php Echo $editdt; ?></label>
                <? } ?>
            </div>
            <div class="col-lg-2"><label class="marg" style="color:green;font-size: 14px;"><?php Echo $get["addtime"]; ?></label>
                <?php if ($get["edittime"] != '00:00:00') { ?>
                    <label class=" marg" style="color:orange;font-size: 14px;"><?php Echo $get["edittime"]; ?></label>
                <? } ?>
            </div>
        <? } ?>

    </div>
    <!--<h3 class="panel-title"><?php Echo $formname; ?></h3>-->
    <!--                        <div class="actions pull-right">
                                <i class="fa fa-chevron-down"></i>
                                <i class="fa fa-times"></i>
                            </div>-->
</div>