File: /home/panama/public_html_old/managesite/index.php
<?
session_start();
include("../include/config.php");
include("../include/opner_admin.php");
$ninty_days_ago = date("Y-m-d h:m:s", mktime(date("H"), date("i"), date("s"), date("m"), date("d") - 90, date("Y")));
$myquery = mysql_query("DELETE FROM admin_sessions WHERE session_start < '$ninty_days_ago'");
?>
<html>
<head>
<title><?=SITE_ADMIN_TITLE?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="<?=META_DESCRIPTION?>" />
<meta name="keywords" content="<?=META_KEYWORD?>" />
<link href="css.css" rel="stylesheet" type="text/css" />
<script src="js/MyFunctions.js"></script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" colspan="2"><? include("header.php")?></td>
</tr>
<tr>
<td colspan="2" valign="top">
<? include('right.php');?></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr></td>
</tr>
</table>
</body>
</head>