<?php
     session_cache_expire(1440);
     session_start();
     session_name("insys");

     $ssql="SELECT ftfirst_name, ftmiddle_name, ftlast_name
            FROM tluser
            WHERE  ftusername='{$_SESSION['username']}'";

    $rs=mysql_query($ssql);
    $r=mysql_fetch_assoc($rs);
    $_SESSION['fullname']=$r['ftfirst_name']." ".$r['ftmiddle_name']." ".$r['ftlast_name'];
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" xml:lang="en-gb" xmlns="http://www.w3.org/1999/xhtml" lang="en-gb"><head>


  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Dashboard</title>
  

<link rel="stylesheet" href="login/system.css" type="text/css">
<link href="login/login.css" rel="stylesheet" type="text/css">


<!--[if IE 7]>
<link href="templates/khepri/css/ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->

<!--[if lte IE 6]>
<link href="templates/khepri/css/ie6.css" rel="stylesheet" type="text/css" />
<![endif]-->

<link rel="stylesheet" type="text/css" href="login/rounded.css">

<script language="javascript" type="text/javascript">
	
</script>
</head><body onload="">
        <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                    <td valign="top" width="40%" height="100%" class="ewContentColumn">
                            <table>table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                        <td valign="top" width="40%" height="100%" class="ewContentColumn">
                                        User Name :
                                        </td>
                                        <td><?php echo $_SESSION['username']; ?> </td>
                                </tr>
                                <tr>
                                        <td valign="top" width="40%" height="100%" class="ewContentColumn">
                                        Full Name :
                                        </td>
                                        <td><?php echo $_SESSION['fullname']; ?></td>
                                </tr>
                            </table>
                    </td>
            </tr>
            <tr>
                    <td valign="top" width="60%" height="100%" class="ewContentColumn">
                            <iframe name="iframedash2" id="iframedash2" src="inventory.php?p=1"  width="100%" height="100%" ></iframe>
                    </td>
                    <td></td>
            </tr>
        </table>

</body></html>