<?php
/**
*  Copyright 2008 Grestul Group 
*  Powered by Grestul
**/
?>
<?php session_start
();
define('GRESTUL_ROOT'dirname(dirname(__FILE__))."/");
require 
"inc/config.php";
require 
GRESTUL_ROOT.'/inc/settings.php';

if(!isset(
$_SESSION['loggedin'])) {
   
header('Location: index.php?error=1');
   exit();
}
?> 




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
    <title><?php echo "$webad"?></title>
      <link href="inc/admin.css" rel="stylesheet" type="text/css" />
    <link href="inc/general.css" rel="stylesheet" type="text/css" />
</head>
<body>
<img src="inc/images/logo.png" class="logo" />
<div class="logout"><a href="close.php">Logout</a></div>
<div class="navi">
<a href="home.php"><img src="inc/images/homeon.png" class="navihon" /></a>
<a href="management.php"><img src="inc/images/manageoff.png" class="navioff" /></a>
<a href="stylehome.php"><img src="inc/images/styleoff.png" class="navioff" /></a>
</div>


        <div class="contentrep">
    <div class="infobar">
        <div class="infotext">
      Always check for updates at-least once a week. If their is a new version out it's best to upgrade at once
       to prevent security flaws and bugs.
        </div>
    </div>
        <div class="btite">
      <?php include ('inc/version.php'); ?>
        </div>
      <div class="smalltite">      
      </div>
  <div class="bodycontent">
  <?php include 'inc/checkversion.php'?>
  </div>

        </div>

<div class="footer">
<!-- DO NOT CHANGE, REMOVE, OR HINDER WITH THE COPYRIGHT OR POWERED BY LINES BELOW -->
<!-- YOU AGREED TO THE AGREEMENT WHEN YOU DOWNLOADED AND INSTALLED OUR SOFTWARE -->
<!-- REMOVING THE LINES BELOW WILL FORCE US TO TAKE LEGAL ACTION -->
<!-- BE FAIR AND KEEP THE POWERED BY AND COPYRIGHT LINES. -->
Powered By: <a href="http://grestul.com" target="_blank">Grestul,</a> Copyright &copy; 2008 <a href="http://grestul.com" target="_blank">Grestul Group.</a>
</div>
</body>
</html>