Example #1
0
        </script>
        <?php 
UserManagement::SetInactiveLogoutTime(30);
?>
      </head>
	<body>
    <div class="container">
     <div class="page-header" style="height:100px;">
			<?php 
Presentation::outputHeader();
?>
            <div id="moneyTreeImage" style="position:relative;left:520px;top:-100px;width:200px;z-index:10;">
                <img src="/Style/Images/MoneyTreeSmall.png">
            </div>
      </div>
      <button onclick="self.close();" class="btn primary">Close Window</button>
      <?php 
$DB = new Database();
$data = $DB->trackTotal_getData($_SESSION['User']->user_id);
if (count($data) <= 1) {
    print "<center><h4>Not enough data to track performance.</h4></center>";
} else {
    print '<center><div id="my_chart" style="border:0.5px; padding:10px;"></div></center><br/><br/>';
    //print('<center><div id="all" style="border:0.5px; padding:10px;"></div></center>');
}
?>
      <footer style="padding-bottom:5%;"><center>&copy; myAarth LLC 2012 | <a href='mailto:contact@myaarth.com' style="color:blue;">contact@myaarth.com</a> | <button id="logout" style="background-color:white; color:blue;">Log Out</button></center></footer>
	</div>
	</body>
    
</html>