Viewing file: home.php (3.66 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
* Copyright 2008 Grestul Group
* Powered by Grestul
**/
?>
<?php session_start();
require ('inc/config.php');
/* include ('inc/checkversion.php'); */
if(!isset($_SESSION['loggedin'])) {
header('Location: index.php?error=1');
exit();
}
$timeg = microtime();
$timeg = explode(' ', $timeg);
$timeg = $timeg[1] + $timeg[0];
$start = $timeg;
?>
<!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">
Welcome to the Grestul Administration Panel! Use the tabs above to switch between controls.
Here on the homepage, you'll find information about the system, credits, and the current released version.
</div>
</div>
<div class="btite">
Grestul System Overview
</div>
<div class="smalltite">
<?php include "inc/version.php"; ?> <a href="checkversion.php" class="check">Check for updates.</a>
</div>
<div class="bodycontent">
<fieldset>
<legend>System Information</legend>
<?php
// Get total Number of Comments
$version = phpversion();
$count_sql = 'SELECT * FROM comments';
$count_result = mysql_query($count_sql);
$count = mysql_num_rows($count_result);
echo "[Total comments on record: <b><a href='manage.php' class='credits'>$count</a></b>]";
echo ' <br /><br />';
echo "[Installed php version: <b>$version</b>]";
echo ' <br />';
echo ' <br />';
$t=mysql_query("select version() as ve");
echo mysql_error();
$r=mysql_fetch_object($t);
echo "[Mysql Version: <b>$r->ve</b>]";
// lets see how long it took
$timeg = microtime();
$timeg = explode(' ', $timeg);
$timeg = $timeg[1] + $timeg[0];
$finish = $timeg;
$total_time = round(($finish - $start), 4);
echo '<br /><br />[Page load <b>- '.$total_time.' seconds</b>]'."\n\n";
?>
</fieldset>
</div>
<div class="btite">
Credits
</div>
<div class="smalltite">
Head Developers & Team Leaders
</div>
<div class="bodycontent">
<a href="http://rc-palace.com" class="credits" target="_blank">Imad Jomaa</a>
</div>
<div class="smalltite">
Developers
</div>
<div class="bodycontent">
<a href="http://www.rc-palace.com" class="credits" target="_blank">Imad Jomaa</a>
</div>
<div class="smalltite">
Graphics & stylsheet developer
</div>
<div class="bodycontent">
<a href="http://rc-palace.com" class="credits" target="_blank">Imad Jomaa</a>
</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 © 2008 <a href="http://grestul.com" target="_blank">Grestul Group.</a>
</div>
</body>
</html>
|