<?php
// INCLUDE HEADER IN PAGE
include(getcwd().'/data/templates/backend/superhero/other_header.php');
// GET CURRENT DATE AND TIME
$date = date('Y-m-d H:i:s');
?>
<div class="container">
    <div class="text-center">
      <h1><?php echo $title; ?>
      	<small>/Active is: Admin Account
			</small>
		</h1>
 	 </div>
 	 </br>
<?php
	$query = "SELECT * FROM System_Data";
	$result = mysql_query($query) or die('Error, query failed');
	while($row = mysql_fetch_array($result)){
		$system_envato_username = $row['username'];
		$system_envato_purchase = $row['purchase'];
		$system_script_version = $row['version'];
		$system_script_lastchecked = $row['lastchecked'];
		$system_script_lastversion = $row['lastversion'];
	}
?>
<div class="jumbotron">
  <h1>Shortify - v.<?php echo $system_script_version;?></h1>
  <p>Your Envato username: <?php echo $system_envato_username;?></p>
  <p>Your Envato Purchase Code: <?php echo $system_envato_purchase;?></p>
  <p>You last checked for update in: <?php echo $system_script_lastchecked;?></p>
  <p>You last checked for update in: <?php echo $system_script_lastversion;?></p>
</div>
</div>

<?php
include(getcwd().'/data/templates/backend/superhero/other_footer.php');
?>
