Location: PHPKode > projects > SiteX > includes/session_keepalive.php
<?PHP
ob_start();
session_start();

if(isset($interval) == TRUE)
$GetInterval = $interval;
else
$GetInterval = 60;

if(isset($bgcolor) == TRUE)
$GetColor = urldecode($bgcolor);
else
$GetColor = "#FFFFFF";

$urlRefresh = "session_keepalive.php";
// refresh time set from $sxThemeConfig['AdminKeepAlive'] in theme config
header("Refresh: ".$GetInterval."; URL=\"" . $urlRefresh . "\""); 

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>

<head>
<!-- <meta http-equiv="refresh" content="<?PHP echo $GetInterval; ?>"> -->
	<title></title>
</head>

<body style="color: <?PHP echo $GetColor; ?>; background: <?PHP echo $GetColor; ?>;">
You shouldn't be seeing this text<br/>
background colour: <?PHP echo $GetColor; ?><br/>
refresh rate: <?PHP echo $GetInterval; ?> seconds
</body>
</html>

<?PHP
ob_end_flush();
?>
Return current item: SiteX